tar-mode buffer-read-only fix
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6f09f6ed
AH
12012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2
3 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5
c7e73d51
GM
62012-03-16 Glenn Morris <rgm@gnu.org>
7
da986230
GM
8 * view.el (view-buffer, view-buffer-other-window)
9 (view-buffer-other-frame): Doc fixes re special mode-class.
10
0835f01e
GM
11 * subr.el (eval-after-load): If named feature is provided not from
12 a file, run after-load forms. (Bug#10946)
13
c7e73d51
GM
14 * calendar/calendar.el (calendar-insert-at-column):
15 Handle non-unit-width characters a bit better. (Bug#10978)
16
3f2eafd1
CY
172012-03-15 Chong Yidong <cyd@gnu.org>
18
19 * emacs-lisp/ring.el (ring-extend): New function.
20 (ring-insert+extend): Extend the ring correctly (Bug#11019).
21
22 * comint.el (comint-read-input-ring)
23 (comint-add-to-input-history): Grow comint-input-ring lazily.
24
103af3fe
SM
252012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26
663b1677
SM
27 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
28 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
29
103af3fe
SM
30 * imenu.el: Fix multiple inheritance breakage (bug#9199).
31 (imenu-add-to-menubar): Don't add a redundant index.
32 (imenu-update-menubar): Handle a dynamically composed keymap.
33
899cb7cb
KY
342012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
35
36 * mail/sendmail.el (mail-encode-header):
37 Bind rfc2047-encode-encoded-words to nil.
38
3809f91d
GM
392012-03-13 Glenn Morris <rgm@gnu.org>
40
41 * calendar/calendar.el (calendar-string-spread):
42 Handle non-unit-width characters a bit better. (Bug#10978)
43
9e345a01
LL
442012-03-13 Leo Liu <sdl.web@gmail.com>
45
46 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
47 directory and file as argument (Bug#10822).
48
4a07df36
KS
492012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
50
51 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
52 For dynamically generated code, follow $PC.
53 (gdb-disassembly-handler-custom): Handle no function name case.
54
4aaa9356
TL
552012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
56
57 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
58 * emulation/ws-mode.el (ws-query-replace):
59 * sort.el (sort-regexp-fields):
60 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
61
225979da
SM
622012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
63
64 * dabbrev.el: Fix cycle completion order (bug#10963).
65 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
66 (dabbrev-completion): Don't use an obarray; provide
67 a cycle-sort-function.
68
e2f1fdab
LL
692012-03-12 Leo Liu <sdl.web@gmail.com>
70
71 * simple.el (kill-new): Use equal-including-properties for
72 comparison.
73 (kill-do-not-save-duplicates): Doc fix.
74
b19490ed
SM
752012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * dabbrev.el: Fix cycle completion (bug#10963).
78 Use lexical binding and wrap to 80 columns.
79 (dabbrev-completion): Delay computing the list of completions.
80
4b05d722
KH
812012-03-12 Kenichi Handa <handa@m17n.org>
82
83 * international/quail.el (quail-insert-kbd-layout): Surround each
84 row by LRO and PDF instead of inserting many LRMs. Pad the left
85 and right of each non-spacing marks. Insert invisible space
86 between lower and upper characters to prevent composition.
87
dbbc2e69
SM
882012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * minibuffer.el (minibuffer-complete): Don't get confused when the
91 function is run twice via different commands (bug#10958).
92 (complete-with-action): Fix docstring.
93
292112ed
CY
942012-03-12 Chong Yidong <cyd@gnu.org>
95
5d1ac394
CY
96 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
97 (nxml-completion-at-point-function): New function.
98 (nxml-mode): Use it.
99 (nxml-bind-meta-tab-to-complete-flag): Default to t.
100
292112ed
CY
101 * emacs-lisp/package.el (package-unpack, package-unpack-single):
102 Load generated autoloads file before byte compiling (Bug#10970).
103 (package--make-autoloads-and-compile): New helper fun.
104
4098f8f7
CS
1052012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
106
107 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
108
8f754691
MA
1092012-03-11 Michael Albinus <michael.albinus@gmx.de>
110
111 * autorevert.el (auto-revert-handler): Ensure, that
112 file-readable-p is applied only for local files or in
113 auto-revert-tail-mode.
114
e29ab36b
AS
1152012-03-11 Andreas Schwab <schwab@linux-m68k.org>
116
dbbc2e69
SM
117 * server.el (server-eval-at): Handle non-tcp connections.
118 Decode result string.
ad0bf5b6 119
e29ab36b
AS
120 * server.el (server-msg-size): New constant.
121 (server-reply-print): New function.
122 (server-eval-and-print): Use it.
123 (server-eval-at): Use server-quote-arg and server-unquote-arg.
124 Handle -print-nonl.
125
de5939ba
CS
1262012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
127
128 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
129 (Bug#10987).
130
0c93eabf
CY
1312012-03-11 Chong Yidong <cyd@gnu.org>
132
397a688f
CY
133 * simple.el (goto-line): Doc fix (Bug#9938).
134
2cc775f9
CY
135 * subr.el (save-window-excursion): Doc fix (Bug#9979).
136
0c93eabf
CY
137 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
138 when finished (Bug#10963).
139
c491fa41
MR
1402012-03-11 Martin Rudalics <rudalics@gmx.at>
141
142 * window.el (split-window-below): Fix bug in case where
143 split-window-keep-point is nil (Bug#10971).
144
300e8fa5
JL
1452012-03-11 Juri Linkov <juri@jurta.org>
146
147 * replace.el (replace-highlight): Set isearch-word to nil
148 unconditionally. (Bug#10887)
149
dbf6c5a1
EZ
1502012-03-10 Eli Zaretskii <eliz@gnu.org>
151
152 * net/mairix.el (mairix-replace-invalid-chars): Rename from
153 mairix-replace-illegal-chars; all callers changed. Don't remove
154 ^, ~, and = characters: they are meaningful in mairix search
155 specs.
156 (mairix-widget-create-query): Add usage information about mairix
157 search forms: negating words, searching for substrings, etc.
158
b9e501de
JP
1592012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
160
161 * international/fontset.el (font-encoding-alist): Add an entry for
162 ksx1001 (Bug#5667).
163
92795c91
RS
1642012-03-10 Richard Stallman <rms@gnu.org>
165
1694e6c1
RS
166 * mail/sendmail.el (mail-encode-header):
167 Set rfc2047-encode-encoded-words.
168
607e8555
RS
169 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
170
de3bc99a
RS
171 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
172 view buffer means not swapped.
173 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
174 (rmail-write-region-annotate): Error if real text has disappeared.
175
92795c91
RS
176 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
177
699bd04e
CY
1782012-03-10 Chong Yidong <cyd@gnu.org>
179
180 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
181 * emulation/cua-base.el (cua--init-keymaps):
182 Add delete-forward-char to remappings (Bug#9666).
699bd04e 183
570a1714
MR
1842012-03-10 Martin Rudalics <rudalics@gmx.at>
185
dbbc2e69
SM
186 * speedbar.el (speedbar-unhighlight-one-tag-line):
187 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 188
82dcf4e4
CY
1892012-03-10 Chong Yidong <cyd@gnu.org>
190
7a2c7ca7
CY
191 * minibuffer.el (completion-in-region, completion-help-at-point):
192 Give the completion field overlay a high priority (Bug#6830).
193
82dcf4e4
CY
194 * dired.el (dired-goto-file): Recognize absolute file name
195 listings (Bug#7126).
196 (dired-goto-file-1): New helper function.
197 (dired-toggle-read-only): Inhibit warnings.
198
052e28ac
MA
1992012-03-09 Michael Albinus <michael.albinus@gmx.de>
200
201 * net/dbus.el: (dbus-property-handler): Return empty array if
202 there are no properties.
203
95d5e396
LL
2042012-03-09 Leo Liu <sdl.web@gmail.com>
205
206 * savehist.el (savehist-printable): Stricter check for string
207 value (Bug#10937).
208
3f018d6d
EZ
2092012-03-09 Eli Zaretskii <eliz@gnu.org>
210
dbbc2e69
SM
211 * mail/smtpmail.el (smtpmail-send-it):
212 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
213 valid mbox format.
214
f7fd3d79
GM
2152012-03-09 Glenn Morris <rgm@gnu.org>
216
217 * files.el (dir-locals-find-file):
218 Don't check result is regular, readable.
219 (dir-locals-read-from-file): Demote errors.
220
6ff6e72f
EZ
2212012-03-08 Eli Zaretskii <eliz@gnu.org>
222
dbbc2e69
SM
223 * international/quail.el (quail-insert-kbd-layout):
224 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
225 layout cell, to prevent their reordering by bidi display engine.
226 For details, see the discussion in
227 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
228
9cec7834
AM
2292012-03-08 Alan Mackenzie <acm@muc.de>
230
231 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
232 the starting position; make it extend the marked region when
233 invoked repeatedly - all under appropriate circumstances.
234 Fixes bugs #5525, #10906.
235
9a40b8d4
GM
2362012-03-08 Glenn Morris <rgm@gnu.org>
237
238 * files.el (locate-dominating-file, dir-locals-find-file):
239 Undo 2012-03-06 change.
240
7a08ed35
EZ
2412012-03-07 Eli Zaretskii <eliz@gnu.org>
242
dbbc2e69
SM
243 * international/quail.el (quail-help):
244 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
245 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
246 for the reason.
247
5aca4f71 2482012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
249
250 Avoid superfluous registering of signals. (Bug#10807)
251
252 * notifications.el (notifications-on-action-object)
253 (notifications-on-close-object): New defvars.
254 (notifications-on-action-signal, notifications-on-closed-signal):
255 Unregister the signal if not needed any longer.
256 (notifications-notify): Register `notifications-action-signal' or
257 `notifications-closed-signal', if :on-action or :on-close has been
258 passed as argument.
259
78e8b10a
CY
2602012-03-07 Chong Yidong <cyd@gnu.org>
261
262 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
263 non-X platforms.
264
69481eb8
GM
2652012-03-06 Glenn Morris <rgm@gnu.org>
266
267 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
268 (x-disown-selection-internal, x-get-selection-internal):
269 Doc fix (add arglist signatures). (Bug#10783)
270
133b8e11
KS
2712012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
272
273 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
274 Handle breakpoints with no "type".
275
99a83064
GM
2762012-03-06 Glenn Morris <rgm@gnu.org>
277
278 * files.el (locate-dominating-file): Add optional predicate argument.
279 (dir-locals-find-file): Make use of above change.
280
17798e78
TTN
2812012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
282
283 * info.el (Info-insert-dir): Also try "dir.gz".
284
eb182446
GM
2852012-03-06 Glenn Morris <rgm@gnu.org>
286
8f2114ee
GM
287 * files.el (dir-locals-find-file):
288 Ignore non-readable or non-regular files. (Bug#10928)
289
eb182446
GM
290 * files.el (locate-dominating-file): Doc fix.
291
24679323
AS
2922012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
293
294 * calendar/calendar.el (calendar-set-mode-line):
295 `getenv' returns a string. (Bug#10951)
296
01d972a9
LL
2972012-03-05 Leo Liu <sdl.web@gmail.com>
298
109aa8a9
LL
299 * simple.el (backward-delete-char-untabify): Constrain point to
300 field (Bug#10939).
301
01d972a9
LL
302 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
303
10607bea
CY
3042012-03-05 Chong Yidong <cyd@gnu.org>
305
306 * simple.el (count-words): If called from Lisp, return the word
307 count, for symmetry with `count-lines'. Arglist changed.
308 (count-words--message): Args changed. Consolidate counting code
309 from count-words and count-words-region.
310 (count-words-region): Caller changed.
311 (count-lines-region): Make it an obsolete alias.
312
5dd11cfe
TH
3132012-03-04 Tassilo Horn <tassilo@member.fsf.org>
314
315 * saveplace.el (save-place-to-alist)
316 (save-place-ignore-files-regexp): Allow value nil to disable this
317 feature.
318
c349f4e6
CY
3192012-03-04 Chong Yidong <cyd@gnu.org>
320
321 * faces.el (face-spec-reset-face): For the default face, reset the
322 attributes to default values (Bug#10748).
323
e627be4c
LMI
3242012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
325
326 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
327 previous patch: Check `message-send-mail-function', and not the
328 default function (bug#10897).
329
ebeabff4
MA
3302012-03-04 Michael Albinus <michael.albinus@gmx.de>
331
a41a6cf4
MA
332 * notifications.el (notifications-on-action-signal)
333 (notifications-on-closed-signal): Check for unique service name of
334 incoming event. Fix error in removing entry.
ebeabff4 335 (top): Register for signals with wildcard service name.
a41a6cf4 336 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 337
c1ca42b4
CY
3382012-03-04 Chong Yidong <cyd@gnu.org>
339
340 * cus-start.el: Make x-select-enable-clipboard-manager
341 customizable.
342
ea16568d
GM
3432012-03-04 Glenn Morris <rgm@gnu.org>
344
345 * abbrev.el (copy-abbrev-table, abbrev-table-p)
346 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
347 (expand-abbrev, define-abbrev-table): Doc fixes.
348
fbae4637
LMI
3492012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
350
351 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
352 `message-default-send-mail-function' and not `send-mail-function'
353 when doing the prompting for `sendmail-query-once' before sending
354 in Message buffers (bug#10897).
355
a1e7225c
LMI
356 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
357 This is inconsistent with all the other stream functions, which leave
358 the setting up to the higher levels (if so wanted) (bug#10931).
359
56d093a9
AM
3602012-03-02 Alan Mackenzie <acm@muc.de>
361
362 Depessimize the handling of very large macros.
363
364 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
365 (c-macro-cache-syntactic): New variables to implement a one
366 element macro cache.
367 (c-invalidate-macro-cache): New function.
368 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
369 Adapt to use the new cache.
370 (c-state-safe-place): Use better the cache of safe positions.
371 (c-state-semi-nonlit-pos-cache)
372 (c-state-semi-nonlit-pos-cache-limit):
373 New variables for...
374 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
375 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
376 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
377 Use c-state-semi-safe-place.
56d093a9 378
dbbc2e69
SM
379 * progmodes/cc-langs.el (c-get-state-before-change-functions):
380 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 381
817e5c3d
MA
3822012-03-02 Michael Albinus <michael.albinus@gmx.de>
383
dbbc2e69
SM
384 * jka-compr.el (jka-compr-call-process):
385 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
386 not remote.
387
a032a702
MA
3882012-03-01 Michael Albinus <michael.albinus@gmx.de>
389
390 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
391 access of FILE2, if FILE1 does not exist.
392
99a54f21
MA
393 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
394 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
395
396 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
397 Add "PAGER=" to `process-environment'.
398
f6561e1f
MM
3992012-03-01 Michael R. Mauger <mmaug@yahoo.com>
400
401 * progmodes/sql.el: Bug fix
402 (sql-get-login-ext): Save login values in globals.
403 (sql-get-login): Use new version of `sql-get-login-ext'.
404 (sql-interactive-mode): Set global `sql-connection' to nil.
405 (sql-connect): Set global values for connection.
406 (sql-product-interactive): Save global values as buffer local.
407
2d44d9cc
LL
4082012-02-29 Leo Liu <sdl.web@gmail.com>
409
410 * abbrev.el (define-abbrevs): Reset sys to nil.
411
96b49301 4122012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
413
bf7f9bc5
JB
414 * files.el (file-equal-p): Rename from `files-equal-p'.
415 Return nil when one or both files don't exist.
96b49301 416 (file-subdir-of-p): Now only top directory must exists,
417 return nil if it doesn't.
bf7f9bc5
JB
418 (copy-directory): No need to test with `file-subdir-of-p' after
419 creating dir.
420 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
421 to `file-equal-p'.
96b49301 422
44e97401
GM
4232012-02-28 Glenn Morris <rgm@gnu.org>
424
425 * shell.el (shell-mode):
426 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
427 * play/landmark.el (landmark-font-lock-face-O):
428 * play/handwrite.el (handwrite):
429 * play/gomoku.el (gomoku-O):
430 * net/browse-url.el (browse-url-browser-display):
431 * international/mule.el (define-charset):
432 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
433 * filesets.el (filesets-find-file-delay):
434 * eshell/em-xtra.el (eshell-xtra):
435 * eshell/em-unix.el (eshell-grep):
436 * emulation/viper.el (viper-mode):
437 * emacs-lisp/regexp-opt.el (regexp-opt-group):
438 * emacs-lisp/easymenu.el (easy-menu-define):
439 * calendar/timeclock.el (timeclock-use-display-time):
440 * bs.el (bs-mode):
441 * bookmark.el (bookmark-save-flag):
442 Doc fix (standardize possessive apostrophe usage).
443
c98c6276
CY
4442012-02-27 Chong Yidong <cyd@gnu.org>
445
bf7f9bc5
JB
446 * emulation/viper-cmd.el (viper-intercept-ESC-key):
447 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 448
c98c6276
CY
449 * font-lock.el (font-lock-specified-p): Rename from
450 font-lock-spec-present. Callers changed.
451
9c62cd04 4522012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 453
bf7f9bc5
JB
454 * emacs-lisp/package.el (package-compute-transaction):
455 Handle holding a package version to t in package-load-list.
8ac9e529 456
530739c9
MA
4572012-02-26 Michael Albinus <michael.albinus@gmx.de>
458
459 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
460 (tramp-get-inode, tramp-get-device): Use cached values.
461
487915d7
AM
4622012-02-26 Alan Mackenzie <acm@muc.de>
463
464 Check there is a font-lock specification before doing initial
465 fontification.
466
467 * font-core.el (font-lock-mode): Move the conditional from
468 :after-hook to font-lock-initial-fontify.
469 (font-lock-default-function): Move the check for a specification
470 to font-lock-spec-present.
471
472 * font-lock.el (font-lock-initial-fontify): call ...
473 (font-lock-spec-present): New function.
474
4fd96557
JB
4752012-02-26 Jim Blandy <jimb@red-bean.com>
476
477 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
478 (gdb-send): Apply it to the operand of the '-interpreter-exec
479 console' command, so that we can pass arguments with (say) quotes
480 in them. Store exact string sent in gdb-debug-log (Bug#10765).
481
9a4888c0
CY
4822012-02-26 Chong Yidong <cyd@gnu.org>
483
07498861
CY
484 * help-fns.el (describe-function-1): Clarify description of
485 remapping (Bug#10844).
486
9a4888c0
CY
487 * files.el (files-equal-p): Doc fix.
488 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
489 and quit the loop once a mismatch is found.
490
ea8fb88d
JB
4912012-02-25 Juanma Barranquero <lekktu@gmail.com>
492
493 * bs.el (bs--show-with-configuration): Don't throw an error
494 if the window cannot be split; otherwise, subsequent calls to
495 bs-show fail, restoring a stale window config. (Bug#10882)
496
525795c1
JD
4972012-02-25 Jan Djärv <jan.h.d@swipnet.se>
498
499 * term/ns-win.el (global-map): Bind ns-drag-file to
500 ns-find-file (Bug#5855, Bug#10050).
501
f008086f
AS
5022012-02-25 Andreas Schwab <schwab@linux-m68k.org>
503
504 * calendar/parse-time.el (parse-time-string): Allow extractor to
505 return nil.
506
a3fcfa99
MA
5072012-02-25 Michael Albinus <michael.albinus@gmx.de>
508
91027d08
JB
509 * net/tramp.el (tramp-file-name-for-operation):
510 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
511
512 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
513 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
514 Add COPY-CONTENTS argument.
a3fcfa99 515
67b0de11
CY
5162012-02-25 Chong Yidong <cyd@gnu.org>
517
518 Add custom groups for VC backends, for consistency with vc-bzr.
519
520 * vc/vc-arch.el (vc-arch):
521 * vc/vc-cvs.el (vc-cvs):
522 * vc/vc-git.el (vc-git):
523 * vc/vc-hg.el (vc-hg):
524 * vc/vc-mtn.el (vc-mtn):
525 * vc/vc-rcs.el (vc-rcs):
526 * vc/vc-sccs.el (vc-sccs):
527 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
528 All relevant defcustoms reassigned.
529
3c9dfce6
CY
5302012-02-25 Chong Yidong <cyd@gnu.org>
531
1339bf43
CY
532 * newcomment.el (comment-styles): Add autoload (Bug#10868).
533
3c9dfce6
CY
534 * term/x-win.el (x-initialize-window-system): Reduce default for
535 x-selection-timeout to 5 seconds (Bug#8869).
536
53a46cd0 5372012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 538
53a46cd0 539 * files.el (file-subdir-of-p): Fix typo.
14a8a663 540
25b2e303 5412012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
542
ec70a47d
GM
543 * files.el (files-equal-p, file-subdir-of-p): New functions.
544 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 545 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
546 * dired-aux.el (dired-copy-file-recursive): Same.
547 (dired-create-files): Modify destination when source is equal to
548 dest when copying files.
53a46cd0 549 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 550
914260cd
MA
5512012-02-24 Michael Albinus <michael.albinus@gmx.de>
552
553 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
554 (Bug#10874)
555
2cb228f7
AM
5562012-02-23 Alan Mackenzie <acm@muc.de>
557
558 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
559 parameter "after-hook:" to allow the expansion to run code after
560 the execution of the mode hooks.
561
562 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 563 from font-lock-mode-internal.
2cb228f7 564
91027d08 565 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
566 :after-hook.
567
8f0fde21
SM
5682012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
569
3e88618b
SM
570 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
571 (completion--cache-all-sorted-completions): New function.
572 (completion-all-sorted-completions): Use it.
573 (completion--do-completion, minibuffer-force-complete):
574 Use it to re-instate the flush hook.
575
8f0fde21
SM
576 * icomplete.el (icomplete-completions): Replace last fix with a better
577 one (bug#10850).
578
8e911f6f
DG
5792012-02-23 Dmitry Gutov <dgutov@yandex.ru>
580
581 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
582 when it might call us back infinitely (bug#10797).
583
49fe4321
GM
5842012-02-23 Glenn Morris <rgm@gnu.org>
585
586 * minibuffer.el (completion-category-overrides): Doc fix.
587
b291b572
SM
5882012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * minibuffer.el (completion-table-with-context): Fix inf-loop.
591 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
592
31a9ef2e
GM
5932012-02-23 Glenn Morris <rgm@gnu.org>
594
5e6e6794 595 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
596 (authors-obsolete-files-regexps, authors-ignored-files)
597 (authors-ambiguous-files, authors-renamed-files-alist):
598 Add more entries.
599
0bd1e074
JL
6002012-02-23 Juri Linkov <juri@jurta.org>
601
602 * isearch.el (isearch-occur): Sync interactive spec with occur's
603 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
604
b617673c
JL
605 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
606
19e9789e
JL
6072012-02-22 Juri Linkov <juri@jurta.org>
608
609 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
610 (ucs-insert): Doc fix. Check for hex digits in the string.
611 Don't display `nil' in the error message. (Bug#10857)
612
f41ce09d
AM
6132012-02-22 Alan Mackenzie <acm@muc.de>
614
7a71b18d 615 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 616
ac2eceee
GM
6172012-02-22 Glenn Morris <rgm@gnu.org>
618
619 * ffap.el (ffap-c-path):
620 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
621
abd1f678
CY
6222012-02-22 Chong Yidong <cyd@gnu.org>
623
624 * custom.el (load-theme): Doc fix.
625
f25aef2e
GM
6262012-02-22 Glenn Morris <rgm@gnu.org>
627
628 * dired-x.el (dired-guess-shell-alist-default):
629 Remove escape sequences from nroff output. (Bug#172)
630
5f8dc2ca
GM
6312012-02-21 Glenn Morris <rgm@gnu.org>
632
6ff86ec4
GM
633 * vc/emerge.el (emerge-defvar-local):
634 Set `permanent-local' property rather than unused `preserved'.
635
be3223a3 636 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
637 (picture-mode-map): Use it. (Bug#10860)
638 (picture-mode): Doc fix.
639
3fe58f4f
JB
6402012-02-21 Juanma Barranquero <lekktu@gmail.com>
641
642 * newcomment.el (uncomment-region-default): Remove unused binding.
643
f9a998c3
GM
6442012-02-21 Glenn Morris <rgm@gnu.org>
645
646 * textmodes/picture.el (picture-motion, picture-motion-reverse)
647 (picture-self-insert, picture-tab-chars): Doc fix.
648 (picture-mode-map): Fix C-a, C-e.
649
c6029348
GM
6502012-02-20 Glenn Morris <rgm@gnu.org>
651
652 * emacs-lisp/authors.el (authors-aliases): Add another entry.
653
ab1ce9d7
LL
6542012-02-20 Leo Liu <sdl.web@gmail.com>
655
656 * icomplete.el (icomplete-completions): Check FROM arg before
657 passing to substring (Bug#10850).
658
0fd40f89
CY
6592012-02-19 Chong Yidong <cyd@gnu.org>
660
661 * comint.el: Require ansi-color.
662 (comint-output-filter-functions): Add ansi-color-process-output.
663
664 * ansi-color.el: Don't set comint-output-filter-functions; it is
665 now in the initial value defined in comint.el.
666 (ansi-color-apply-face-function): New variable.
667 (ansi-color-apply-on-region): Use it.
668 (ansi-color-apply-overlay-face): New function.
669
670 * shell.el (shell): No need to require ansi-color.
671 (shell-mode): Use ansi-color-apply-face-function to highlight
672 color escapes using font-lock-face property (Bug#10835).
673
20af2394
CY
6742012-02-19 Chong Yidong <cyd@gnu.org>
675
676 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
677 mode-line formats (Bug#10839).
678
e23a3fbe
GM
6792012-02-18 Glenn Morris <rgm@gnu.org>
680
b474519e
GM
681 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
682
683 * mail/undigest.el (unforward-rmail-message): Doc fix.
684
e23a3fbe
GM
685 * saveplace.el (save-place-ignore-files-regexp): Add :version.
686
57939ff4
EZ
6872012-02-18 Eli Zaretskii <eliz@gnu.org>
688
689 * international/characters.el (script-list): Sync with the latest
690 Unicode Character Database.
691
0c23686e
AS
6922012-02-18 Andreas Schwab <schwab@linux-m68k.org>
693
694 * international/titdic-cnv.el: Remove duplicate coding tag.
695 * language/cham.el: Likewise.
696 * language/tai-viet.el: Likewise.
697
6818b449
GM
6982012-02-18 Glenn Morris <rgm@gnu.org>
699
700 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
701 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
702 (calendar-bahai-all-holidays-flag, calendar-other-dates):
703 * calendar/diary-lib.el (diary-abbreviated-year-flag):
704 * calendar/holidays.el (holiday-bahai-holidays)
705 (calendar-holidays, list-holidays):
706 Use utf-8 Bahá'í in doc-strings, menus, etc.
707
0311a3fc
TH
7082012-02-17 Tassilo Horn <tassilo@member.fsf.org>
709
710 * saveplace.el (save-place-ignore-files-regexp): New variable
711 allowing for excluding files from saving their location of point.
712 The default value matches the temporary commit message editing
713 files from Git, SVN, Bazaar, and Mercurial.
714 (save-place-to-alist): Use it.
715
eb864a71
LM
7162012-02-17 Lawrence Mitchell <wence@gmx.li>
717 Stefan Monnier <monnier@iro.umontreal.ca>
718
719 * newcomment.el (uncomment-region-default): Don't leave extra space
720 when an arg is provided (bug#8150).
721
ee0ce425
TZ
7222012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
723
eb864a71 724 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 725
95ddf442
GM
7262012-02-17 Glenn Morris <rgm@gnu.org>
727
728 * net/socks.el: Require network-stream. (Bug#10599)
729
48dd1e39 7302012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
731
732 * international/charprop.el:
733 * international/uni-name.el:
734 * international/uni-old-name.el:
735 * international/uni-comment.el: Regenerate.
736
d68cd087
GM
7372012-02-16 Glenn Morris <rgm@gnu.org>
738
739 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
740 Interactively in calendar buffer, give an error if not on a date.
741
13932042
GM
7422012-02-15 Glenn Morris <rgm@gnu.org>
743
744 * shell.el (shell-delimiter-argument-list):
745 Revert 2011-02-17 change. (Bug#8027)
746
c3a70e2b
CY
7472012-02-15 Chong Yidong <cyd@gnu.org>
748
60236b0d
CY
749 * minibuffer.el (completion-at-point-functions): Doc fix.
750
c3a70e2b
CY
751 * custom.el (defcustom): Doc fix; note use of defvar.
752
9f26dc24
GM
7532012-02-15 Glenn Morris <rgm@gnu.org>
754
755 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
756 Doc fixes.
757
6546b134
GM
7582012-02-14 Glenn Morris <rgm@gnu.org>
759
760 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
761
d29b2b4c
LI
7622012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
763
764 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
765 way the ports list is computed.
835bdcba
LI
766 (smtpmail-query-smtp-server): Prompt the user for a port number if
767 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 768
08dcdbc9
TZ
7692012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
770
771 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
772
2605051a
GM
7732012-02-13 Glenn Morris <rgm@gnu.org>
774
775 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
776
7ee99f32
TZ
7772012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
778
779 * net/gnutls.el (gnutls-trustfiles): New variable.
780 (gnutls-negotiate): Use it.
781
5f0af64f
LI
7822012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
783
784 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
785 does its stuff if Gnus is running.
786
c14fcc95
AM
7872012-02-13 Alan Mackenzie <acm@muc.de>
788
789 Fix a loop in c-set-fl-decl-start.
790
7a71b18d 791 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
792 c-backward-syntactic-ws actually moves backwards.
793
142b4d90
LL
7942012-02-13 Leo Liu <sdl.web@gmail.com>
795
796 * net/rcirc.el (rcirc-markup-attributes): Move point to the
797 beginning so that all \C-o chars are removed.
798
fa9958a6
TZ
7992012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
800
801 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
802 tag.
803
0bc5886a
AM
8042012-02-12 Alan Mackenzie <acm@muc.de>
805
806 Fix infinite loop with long macros.
807 * cc-engine.el (c-state-safe-place): Handle macros properly.
808
d4bd55e7
CY
8092012-02-12 Chong Yidong <cyd@gnu.org>
810
811 * window.el (display-buffer): Doc fix (Bug#10785).
812
66f3fe22
GM
8132012-02-12 Glenn Morris <rgm@gnu.org>
814
bd7da63e
GM
815 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
816 (x-disown-selection-internal, x-get-selection-internal):
817 Sync docs with the xselect.c versions.
818
66f3fe22
GM
819 * allout-widgets.el: Add missing license notice.
820
3e0d2fa7
GM
8212012-02-11 Glenn Morris <rgm@gnu.org>
822
cfecdf09
GM
823 * select.el (x-get-selection-internal, x-own-selection-internal)
824 (x-disown-selection-internal):
825 * x-dnd.el (x-get-selection-internal): Update declarations.
826
6d216d7f
GM
827 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
828
2bed3f04
GM
829 * window.el (window-sides-slots):
830 * tool-bar.el (tool-bar-position):
831 * term/xterm.el (xterm-extra-capabilities):
832 * ses.el (ses-self-reference-early-detection):
833 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
834 (verilog-auto-wire-type)
835 (verilog-auto-delete-trailing-whitespace)
836 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
837 (verilog-auto-tieoff-declaration):
838 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
839 (sql-oracle-statement-starters, sql-oracle-scan-on):
840 * progmodes/prolog.el (prolog-align-comments-flag)
841 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
842 (prolog-left-indent-regexp, prolog-paren-indent-p)
843 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
844 (prolog-types, prolog-mode-specificators)
845 (prolog-determinism-specificators, prolog-directives)
846 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
847 (prolog-electric-dot-flag)
848 (prolog-electric-dot-full-predicate-template)
849 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
850 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
851 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
852 (prolog-program-switches, prolog-prompt-regexp)
853 (prolog-debug-on-string, prolog-debug-off-string)
854 (prolog-trace-on-string, prolog-trace-off-string)
855 (prolog-zip-on-string, prolog-zip-off-string)
856 (prolog-use-standard-consult-compile-method-flag)
857 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
858 (prolog-imenu-max-lines, prolog-info-predicate-index)
859 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
860 (prolog-char-quote-workaround):
861 * progmodes/cc-vars.el (c-defun-tactic):
862 * net/tramp.el (tramp-encoding-command-interactive)
863 (tramp-local-end-of-line):
864 * net/soap-client.el (soap-client):
865 * net/netrc.el (netrc-file):
866 * net/gnutls.el (gnutls):
867 * minibuffer.el (completion-category-overrides)
868 (completion-cycle-threshold)
869 (completion-pcm-complete-word-inserts-delimiters):
870 * man.el (Man-name-local-regexp):
871 * mail/feedmail.el (feedmail-display-full-frame):
872 * international/characters.el (glyphless-char-display-control):
873 * eshell/em-ls.el (eshell-ls-date-format):
874 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
875 (lisp-lambda-list-keyword-parameter-indentation)
876 (lisp-lambda-list-keyword-parameter-alignment):
877 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
878 * dired-x.el (dired-omit-verbose):
879 * cus-theme.el (custom-theme-allow-multiple-selections):
880 * calc/calc.el (calc-highlight-selections-with-faces)
881 (calc-lu-field-reference, calc-lu-power-reference)
882 (calc-note-threshold):
883 * battery.el (battery-mode-line-limit):
884 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
885 (archive-7z-update):
886 * allout.el (allout-prefixed-keybindings)
887 (allout-unprefixed-keybindings)
888 (allout-inhibit-auto-fill-on-headline)
889 (allout-flattened-numbering-abbreviation):
890 * allout-widgets.el (allout-widgets-auto-activation)
891 (allout-widgets-icons-dark-subdir)
892 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
893 (allout-widgets-theme-dark-background)
894 (allout-widgets-theme-light-background)
895 (allout-widgets-item-image-properties-emacs)
896 (allout-widgets-item-image-properties-xemacs)
897 (allout-widgets-run-unit-tests-on-load)
898 (allout-widgets-time-decoration-activity)
899 (allout-widgets-hook-error-post-time)
900 (allout-widgets-track-decoration):
901 Add missing :version tags to new defcustoms and defgroups.
902
5fec1b8e
GM
903 * progmodes/sql.el (sql-ansi-statement-starters)
904 (sql-oracle-statement-starters): Add custom type.
905
3e0d2fa7
GM
906 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
907 (prolog-system-version): Give it a type.
908
90b671e2
EZ
9092012-02-11 Eli Zaretskii <eliz@gnu.org>
910
911 * term/pc-win.el (x-select-text, x-selection-owner-p)
912 (x-own-selection-internal, x-disown-selection-internal)
913 (x-get-selection-internal): Sync doc strings and argument lists
914 with xselect.c, common-win.el and x-win.el. (Bug#10783)
915
5eac0c02
LL
9162012-02-11 Leo Liu <sdl.web@gmail.com>
917
918 * progmodes/python.el (python-end-of-statement): Fix infinite
919 loop. (Bug#10788)
920
f82cb659
GM
9212012-02-10 Glenn Morris <rgm@gnu.org>
922
923 * international/mule-cmds.el (unify-8859-on-encoding-mode)
924 (unify-8859-on-decoding-mode): Properly mark as obsolete.
925
cc26d239
LI
9262012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
927
928 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
929 about SMTP before checking the From header.
930
91027d08 931 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
932 into own function for reuse by emacsbug.el.
933
1be3ca5a
LL
9342012-02-10 Leo Liu <sdl.web@gmail.com>
935
936 * subr.el (condition-case-unless-debug): Rename from
937 condition-case-no-debug. All callers changed.
938 (with-demoted-errors): Fix caller.
939
940 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
941 * nxml/rng-valid.el (rng-do-some-validation):
942 * emacs-lisp/package.el (package-refresh-contents)
943 (package-menu-execute):
944 * desktop.el (desktop-create-buffer):
91027d08 945 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 946
b011fbfe
GM
9472012-02-10 Glenn Morris <rgm@gnu.org>
948
b2096d72
GM
949 * textmodes/bibtex.el:
950 Add missing :version tags for new/changed defcustoms.
951
b011fbfe
GM
952 * files.el (remote-file-name-inhibit-cache): Doc fixes.
953
4c7e65bf
LI
9542012-02-09 Lars Ingebrigtsen <larsi@rusty>
955
956 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
957 (smtpmail-via-smtp): Use it, or fall back on the From address.
958 (smtpmail-send-it): Ditto.
959
f3934f6f
SM
9602012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
961
962 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
963 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
964 (byte-compile-tmp-var): New const.
965 (byte-compile-defvar): Use it to minimize .elc size.
966 Just use `defvar' rather than simulate it (bug#10761).
967
a075a2c5
GM
9682012-02-09 Glenn Morris <rgm@gnu.org>
969
cf3aa21b
GM
970 * files.el (rename-uniquely): Doc fix. (Bug#3806)
971
354998cd
GM
972 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
973 Add :version tags.
974
83274125 975 * progmodes/compile.el (compilation-first-column)
34c071c6 976 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
83274125 977
dab3703d
GM
978 * vc/log-view.el (log-view-toggle-entry-display):
979 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
980
3f88cd72
GM
981 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
982 (report-emacs-bug-can-use-xdg-email):
983 (report-emacs-bug-insert-to-mailer): Doc fixes.
984 (report-emacs-bug): Message fix.
985
d95b247d
GM
986 * net/browse-url.el (browse-url-can-use-xdg-open)
987 (browse-url-xdg-open): Doc fixes.
988
a075a2c5
GM
989 * electric.el (electric-indent-mode, electric-pair-mode)
990 (electric-layout-rules, electric-layout-mode): Doc fixes.
991 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
992
ffb6157e
MR
9932012-02-08 Martin Rudalics <rudalics@gmx.at>
994
995 * server.el (server-unselect-display): Don't inadvertently kill
996 the current buffer. (Bug#10729)
997
e1ac4066
GM
9982012-02-08 Glenn Morris <rgm@gnu.org>
999
34e8a2da
GM
1000 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1001 (sql-list-table): Doc fixes.
1002
b4ac6e8c
GM
1003 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1004 Comment out (does nothing).
1005
e1ac4066
GM
1006 * completion.el (dynamic-completion-mode):
1007 * dirtrack.el (dirtrack-debug-mode):
1008 * electric.el (electric-layout-mode):
1009 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1010 * face-remap.el (text-scale-mode, buffer-face-mode):
1011 * iimage.el (iimage-mode):
1012 * image-mode.el (image-transform-mode):
1013 * minibuffer.el (completion-in-region-mode):
1014 * scroll-lock.el (scroll-lock-mode):
1015 * simple.el (next-error-follow-minor-mode):
1016 * tar-mode.el (tar-subfile-mode):
1017 * tooltip.el (tooltip-mode):
1018 * vcursor.el (vcursor-use-vcursor-map):
1019 * wid-browse.el (widget-minor-mode):
1020 * emulation/tpu-edt.el (tpu-edt-mode):
1021 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1022 * international/iso-ascii.el (iso-ascii-mode):
1023 * language/thai-util.el (thai-word-mode):
1024 * mail/supercite.el (sc-minor-mode):
1025 * net/goto-addr.el (goto-address-mode):
1026 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1027 * progmodes/cwarn.el (cwarn-mode):
1028 * progmodes/flymake.el (flymake-mode):
1029 * progmodes/glasses.el (glasses-mode):
1030 * progmodes/hideshow.el (hs-minor-mode):
1031 * progmodes/pascal.el (pascal-outline-mode):
1032 * textmodes/enriched.el (enriched-mode):
1033 * vc/smerge-mode.el (smerge-mode):
1034 Doc fixes (minor mode argument).
1035
5e0d957f
EZ
10362012-02-07 Eli Zaretskii <eliz@gnu.org>
1037
1038 * ls-lisp.el (ls-lisp-sanitize): New function.
1039 (ls-lisp-insert-directory): Use it to fix or remove any elements
1040 in file-alist with missing attributes. (Bug#4673)
1041
98d7371e
AM
10422012-02-07 Alan Mackenzie <acm@muc.de>
1043
1044 Fix spurious recognition of c-in-knr-argdecl.
1045
1046 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1047 putative K&R region.
1048
667ced3a
AM
10492012-02-07 Alan Mackenzie <acm@muc.de>
1050
eb864a71
LM
1051 * progmodes/cc-engine.el (c-forward-objc-directive):
1052 Prevent looping in "#pragma mark @implementation".
667ced3a 1053
5b77774d
MA
10542012-02-07 Michael Albinus <michael.albinus@gmx.de>
1055
1056 * notifications.el (notifications-on-closed-signal): Make `reason'
1057 optional. (Bug#10744)
1058
af008560
GM
10592012-02-07 Glenn Morris <rgm@gnu.org>
1060
60d47423
GM
1061 * emacs-lisp/easy-mmode.el (define-minor-mode):
1062 Doc fixes for the macro and the mode it defines.
1063
dd605cc4
GM
1064 * image.el (imagemagick-types-inhibit): Doc fix.
1065
af008560
GM
1066 * cus-start.el (imagemagick-render-type): Add it.
1067
5cc59a37
LI
10682012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1069
1070 * progmodes/cc-mode.el
1071 (c-standard-font-lock-fontify-region-function): Set the default at
1072 load time, too, so that `font-lock-fontify-buffer' can be called
1073 without setting up the entire mode first. This fixes a bug in
1074 `mm-inline-text' with C MIME parts.
1075
9a6dd747
CY
10762012-02-06 Chong Yidong <cyd@gnu.org>
1077
2d16b285
CY
1078 * simple.el (list-processes--refresh): Delete exited processes
1079 (Bug#8094).
1080
171e9b6e
CY
1081 * comint.el (comint-next-prompt): next-single-char-property-change
1082 and prev-single-char-property-change never return nil (Bug#8657).
1083
9a6dd747
CY
1084 * custom.el (defcustom): Doc fix (Bug#9711).
1085
aa4589a7
CY
10862012-02-05 Chong Yidong <cyd@gnu.org>
1087
5c2a252f
CY
1088 * cus-edit.el (custom-variable-reset-backup): Quote the value
1089 before storing it in the customized-value property (Bug#6712).
4aab9006 1090 (custom-display): Add a customization type tag.
983b9602 1091 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1092
aa4589a7
CY
1093 * wid-edit.el (widget-field-value-get): New optional arg to
1094 suppress trailing whitespace truncation.
1095 (character): Use it (Bug#2689).
1096
1ff980ae
AS
10972012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1098
1099 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1100 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1101
03988c98
CY
11022012-02-05 Chong Yidong <cyd@gnu.org>
1103
eeb6cc88
CY
1104 * cus-edit.el (custom-variable-value-create): For mismatched
1105 types, show the current value (Bug#7600).
1106
03988c98
CY
1107 * custom.el (defcustom): Doc fix.
1108
f8cdeef0
GM
11092012-02-05 Glenn Morris <rgm@gnu.org>
1110
1111 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1112
0696d255
JB
11132012-02-05 Juanma Barranquero <lekktu@gmail.com>
1114
1115 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1116 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1117 (pp-last-sexp): Use `looking-at-p'.
1118
34c99998
GM
11192012-02-04 Glenn Morris <rgm@gnu.org>
1120
8f05da42
GM
1121 * files.el (revert-buffer):
1122 Doc fix (mention revert-buffer-in-progress-p).
1123
f160676e
GM
1124 * emacs-lisp/ert-x.el (ert-simulate-command):
1125 Check deferred-action-list (which is obsolete) is bound.
1126
c7291ad9
GM
1127 * subr.el (with-wrapper-hook): Doc fixes.
1128
34c99998
GM
1129 * simple.el (filter-buffer-substring-functions)
1130 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1131
6283a7d3
LL
11322012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1133
1134 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1135 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1136
e96e3013
LL
11372012-02-04 Leo Liu <sdl.web@gmail.com>
1138
1139 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1140
8ded50f2
GM
11412012-02-04 Glenn Morris <rgm@gnu.org>
1142
82ff1d13
GM
1143 * image.el (image-extension-data): Add obsolete alias.
1144
987a0a16
GM
1145 * isearch.el (isearch-update): Doc fix.
1146
ea32ef46
GM
1147 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1148
8ded50f2
GM
1149 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1150
eea14f31
GM
11512012-02-03 Glenn Morris <rgm@gnu.org>
1152
1153 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1154 (image-animate-timeout): Doc fix.
1155
1156 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1157
12f381b7
GM
11582012-02-02 Glenn Morris <rgm@gnu.org>
1159
953cebf5
GM
1160 * server.el (server-auth-dir): Doc fix.
1161 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1162
12f381b7
GM
1163 * subr.el (run-mode-hooks): Doc fix.
1164
953a8c3b
JL
11652012-02-02 Juri Linkov <juri@jurta.org>
1166
1167 * image-mode.el (image-toggle-display-image): Remove tautological
1168 `major-mode' from the `derived-mode-p' test.
1169
c5d3843c
KH
11702012-02-02 Kenichi Handa <handa@m17n.org>
1171
9f6e692e 1172 * composite.el (compose-region): Cancel previous change.
c5d3843c 1173
159462d4 11742012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1175
1176 * composite.el (compose-region, compose-string): Signal error for
1177 a null string component (Bug#6988).
1178
9f562668
CY
11792012-02-01 Chong Yidong <cyd@gnu.org>
1180
e2cef717
CY
1181 * view.el (view-buffer-other-window, view-buffer-other-frame):
1182 Handle special modes like view-buffer (Bug#10650).
1183 (view-buffer): Simplify.
1184
9f562668
CY
1185 * frame.el (set-frame-font): Tweak meaning of third argument.
1186
9f6e692e
JB
1187 * dynamic-setting.el (font-setting-change-default-font):
1188 Use set-frame-font (Bug#9982).
9f562668 1189
781acb9f
GM
11902012-02-01 Glenn Morris <rgm@gnu.org>
1191
6035be52
GM
1192 * progmodes/compile.el (compilation-internal-error-properties):
1193 Respect compilation-first-column in the "*compilation*" buffer.
1194
781acb9f
GM
1195 * emacs-lisp/easy-mmode.el (define-minor-mode):
1196 Relax :variable's test for a named function.
1197
abbceb00
AM
11982012-01-31 Alan Mackenzie <acm@muc.de>
1199
1200 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1201 off by one error.
1202
fce3fdeb
CY
12032012-01-31 Chong Yidong <cyd@gnu.org>
1204
1205 * frame.el (set-frame-font): New arg ALL-FRAMES.
1206
1207 * menu-bar.el (menu-set-font): Use set-frame-font.
1208
1209 * faces.el (face-spec-reset-face): Don't apply unspecified
1210 attribute values to the default face.
1211
47893581
JB
12122012-01-31 Juanma Barranquero <lekktu@gmail.com>
1213
1214 * progmodes/cwarn.el (cwarn): Remove dead link.
1215 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1216 Remove * from defcustom docstrings.
1217 (turn-on-cwarn-mode): Make obsolete.
1218 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1219 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1220
e58e988a
GM
12212012-01-31 Glenn Morris <rgm@gnu.org>
1222
60dc2671 1223 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1224 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1225 Allow named functions to be used as the cdr of :variable.
e58e988a 1226
7a3f511d
GM
12272012-01-30 Glenn Morris <rgm@gnu.org>
1228
1229 * emacs-lisp/authors.el (authors-fixed-entries):
1230 Remove reference to deleted file rnewspost.el.
1231
cb882333
JB
12322012-01-29 Juanma Barranquero <lekktu@gmail.com>
1233
1234 * window.el (window-with-parameter): Remove unused variable `windows'.
1235 (window--side-check): Remove unused variable `code'.
1236 (window--resize-siblings): Remove unused variable `first'.
1237 (adjust-window-trailing-edge): Remove unused variable `failed'.
1238 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1239 Use `let', not `let*'.
1240 (balance-windows-2): Remove unused variable `found'.
1241 (window--state-put-2): Remove unused variable `splits'.
1242 (window-state-put): Remove unused variable `selected'.
1243 (same-window-p): Use `string-match-p'.
1244 (display-buffer-assq-regexp): Remove unused variable `value'.
1245 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1246 Mark argument ALIST as ignored.
1247 (pop-to-buffer): Remove unused variable `old-window'.
1248
907201af
EZ
12492012-01-29 Eli Zaretskii <eliz@gnu.org>
1250
1251 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1252 and .lzma compressed files.
1253
ea162670
CY
12542012-01-29 Chong Yidong <cyd@gnu.org>
1255
5b95ee8a
CY
1256 * frame.el (window-system-default-frame-alist): Doc fix.
1257
ea162670
CY
1258 * dynamic-setting.el (font-setting-change-default-font): Don't
1259 change the default face if SET-FONT argument is non-nil (Bug#9982).
1260
d6e6f4b1
SB
12612012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1262
1263 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1264
0f29fa41 12652012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1266
1267 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1268 breakpoints in files outside current directory (Bug#6098).
1269
db174434
CY
12702012-01-29 Chong Yidong <cyd@gnu.org>
1271
6b25e4e2
SE
1272 * progmodes/python.el: Require ansi-color at top-level.
1273
6df6ae42
JB
1274 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1275 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1276 (lisp-mode-abbrev-table): Add doc.
1277 (lisp-mode-variables): Don't set local-abbrev-table.
1278 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1279
e70ee681
RW
12802012-01-28 Roland Winkler <winkler@gnu.org>
1281
1282 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1283
ace88aa2
RW
12842012-01-28 Roland Winkler <winkler@gnu.org>
1285
1286 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1287 (bibtex-set-dialect): Use it. Either set global values of
1288 dialect-dependent variables or bind these variables buffer-locally
1289 (Bug#10254).
1290 (bibtex-mode): Call bibtex-set-dialect via
1291 hack-local-variables-hook.
eb864a71
LM
1292 (bibtex-dialect): Update docstring.
1293 Add safe-local-variable predicate.
ace88aa2
RW
1294 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1295 bibtex-set-dialect.
1296 (bibtex-mode-map): Define menu for each dialect.
1297 (bibtex-entry): Fix docstring.
1298
93376c5b
CY
12992012-01-28 Chong Yidong <cyd@gnu.org>
1300
1301 * eshell/esh-arg.el (eshell-quote-argument): New function.
1302
1303 * eshell/esh-ext.el (eshell-invoke-batch-file):
1304 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1305 first arg to eshell-parse-command (Bug#10523).
1306
4372494f
DA
13072012-01-28 Drew Adams <drew.adams@oracle.com>
1308
1309 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1310 `default-directory' is non-nil.
1311
4d4ec1f8
EZ
13122012-01-28 Eli Zaretskii <eliz@gnu.org>
1313
1314 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1315 line that displays system-configuration-options. (Bug#9924)
1316
7c188927
DA
13172012-01-28 Drew Adams <drew.adams@oracle.com>
1318
1319 * descr-text.el (describe-char): Show information about POS, in
1320 addition to information about the character at POS. Improve and
1321 update the doc string. Change "code point" to "code point in
1322 charset", to avoid confusion with the character's Unicode code
1323 point shown above that. (Bug#10129)
1324
e0da685a
EZ
13252012-01-28 Eli Zaretskii <eliz@gnu.org>
1326
1327 * descr-text.el (describe-char): Show the raw character, not only
1328 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1329 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1330 for the reasons.
1331
70550acf
PH
13322012-01-28 Phil Hagelberg <phil@hagelb.org>
1333
eb864a71
LM
1334 * emacs-lisp/package.el (package-install):
1335 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1336
0ce8e868
CY
13372012-01-28 Chong Yidong <cyd@gnu.org>
1338
cb882333
JB
1339 * emacs-lisp/package.el (package-maybe-load-descriptor):
1340 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1341 (package-maybe-load-descriptor): Use it.
1342 (package-download-transaction): Fully load required packages
1343 inside the loop, so that `require' calls work (Bug#10593).
1344 (package-install): No need to call package-initialize now.
1345
2e7f3bea
CY
13462012-01-28 Chong Yidong <cyd@gnu.org>
1347
6e9bad14
CY
1348 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1349
f823b8ca
CY
1350 * tooltip.el (tooltip-mode): Doc fix.
1351 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1352
2680c309
CY
1353 * frame.el (set-cursor-color): Doc fix (Bug#352).
1354
d7a9e63b
CY
1355 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1356 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1357
2e7f3bea
CY
1358 * cus-edit.el (custom-buffer-create-internal): Fix search button
1359 action (Bug#10542).
2ae01800 1360 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1361
fc4f7a23
EW
13622012-01-27 Eduard Wiebe <usenet@pusto.de>
1363
1364 * dired.el (dired-mark-files-regexp):
1365 Include any subdirectory components. (Bug#10445)
1366
7dd37071
ML
13672012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1368
1369 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1370 Handle [host]:port syntax. (Bug#10533)
1371
a268160b
AH
13722012-01-27 Alex Harsanyi <harsanyi@mac.com>
1373
1374 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1375
e43273ef
GM
13762012-01-26 Glenn Morris <rgm@gnu.org>
1377
1378 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1379 * term.el (term-raw-escape-map): Use Control-X-prefix.
1380 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1381
1edf595d
MR
13822012-01-25 Martin Rudalics <rudalics@gmx.at>
1383
1384 * window.el (window-state-get, window--state-get-1): Don't deal
1385 with fixed-sizeness of windows. Simplify code.
1386
fa8eafef
JC
13872012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1388
6df6ae42
JB
1389 * window.el (window--state-get-1, window--state-put-2):
1390 Don't save and restore the mark.
fa8eafef 1391
0b21c100
CY
13922012-01-25 Chong Yidong <cyd@gnu.org>
1393
1394 * custom.el (custom-variable-p): Doc fix.
1395
5ae1a6c8
GM
13962012-01-25 Glenn Morris <rgm@gnu.org>
1397
40047858
GM
1398 * dired.el (dired-goto-file): Handle some of the more common
1399 characters that `ls -b' escapes. (Bug#10596)
1400
5ddce96c
GM
1401 * progmodes/compile.el (compilation-next-error-function):
1402 Respect compilation-first-column in the "*compilation*" buffer.
1403 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1404
5ae1a6c8
GM
1405 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1406
b559f1a9
GM
14072012-01-24 Glenn Morris <rgm@gnu.org>
1408
1409 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1410
6725d21a
JD
14112012-01-24 Julien Danjou <julien@danjou.info>
1412
1413 * color.el (color-rgb-to-hsl): Fix value computing.
1414 (color-hue-to-rgb): New function.
1415 (color-hsl-to-rgb): New function.
1416 (color-clamp, color-saturate-hsl, color-saturate-name)
1417 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1418 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1419
70df4bbe
GM
14202012-01-24 Glenn Morris <rgm@gnu.org>
1421
1422 * vc/vc-rcs.el (vc-rcs-create-tag):
1423 * vc/vc-sccs.el (vc-sccs-create-tag):
1424 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1425
802a2ae2
ML
14262012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1427
1428 * eshell/esh-util.el (eshell-read-hosts-file):
1429 Skip comment lines. (Bug#10549)
1430
d7128bb1
ML
1431 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1432
d1a5c3b4
JB
14332012-01-23 Juanma Barranquero <lekktu@gmail.com>
1434
2724d9c7
JB
1435 * subr.el (display-delayed-warnings): Doc fix.
1436 (collapse-delayed-warnings): New function to collapse identical
1437 adjacent warnings.
1438 (delayed-warnings-hook): Add it.
d1a5c3b4 1439
a5509865
MA
14402012-01-22 Michael Albinus <michael.albinus@gmx.de>
1441
1442 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1443
1444 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1445 properties, when "login-as" is set.
1446
1447 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1448 (tramp-default-user-alist): Don't add "pscp".
1449 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1450 property "login-as", if set. (Bug#10530)
1451
cc6d5805
MA
14522012-01-21 Michael Albinus <michael.albinus@gmx.de>
1453
1454 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1455 "plink1" and "psftp". (Bug#10530)
1456
14572012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1458
1459 * international/mule-cmds.el (prefer-coding-system): Show a
1460 warning message if the default value of file-name-coding-system
1461 was not changed.
1462
f0960428
JC
14632012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1464
cb882333
JB
1465 * windmove.el (windmove-reference-loc):
1466 Fix windmove-reference-loc miscalculation.
f0960428 1467
dd6f2a63
JB
14682012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1469
1470 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1471 default unit.
1472
7b447e9b
GM
14732012-01-21 Glenn Morris <rgm@gnu.org>
1474
117a9ea1
GM
1475 * international/mule.el (auto-coding-alist): Add .tbz.
1476
7b447e9b
GM
1477 * files.el (local-enable-local-variables): Doc fix.
1478 (inhibit-local-variables-regexps): Rename from
1479 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1480 Doc fix. Add some extensions from auto-coding-alist.
1481 (inhibit-local-variables-suffixes):
1482 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1483 (inhibit-local-variables-p):
1484 New function, extracted from set-auto-mode-1.
1485 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1486 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1487 (hack-local-variables): Doc fix. Make the mode-only case
1488 respect enable-local-variables and friends.
1489 Respect inhibit-local-variables-regexps for file-locals, but
1490 not for directory-locals.
1491 (set-visited-file-name):
1492 Take account of inhibit-local-variables-regexps.
1493 Whether it applies may change as the file name is changed.
1494 * jka-cmpr-hook.el (jka-compr-install):
1495 * jka-compr.el (jka-compr-uninstall):
1496 Update for inhibit-first-line-modes-suffixes name change.
1497
dd6e3cdd
MR
14982012-01-20 Martin Rudalics <rudalics@gmx.at>
1499
1500 * help-macro.el (make-help-screen): Temporarily restore original
1501 binding for minor-mode-map-alist (Bug#10454).
1502
0d0deb38
JD
15032012-01-19 Julien Danjou <julien@danjou.info>
1504
1505 * color.el (color-name-to-rgb): Use the white color to find the max
1506 color component value and return correctly computed values.
1507 (color-name-to-rgb): Add missing float conversion for max value.
1508
34a02f46
MR
15092012-01-19 Martin Rudalics <rudalics@gmx.at>
1510
1511 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1512 special state value for window-persistent-parameters.
1513 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1514 (window--state-put-2): Reset all window parameters to nil before
1515 assigning values of persistent parameters.
1516
606c44c4
AM
15172012-01-18 Alan Mackenzie <acm@muc.de>
1518
1519 Eliminate sluggishness and hangs in fontification of "semicolon
1520 deserts".
1521
cb882333
JB
1522 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1523 Change value 10000 -> 3000.
606c44c4
AM
1524 (c-state-safe-place): Reformulate so it doesn't stack up an
1525 infinite number of wrong entries in c-state-nonlit-pos-cache.
1526 (c-determine-limit-get-base, c-determine-limit): New functions to
1527 determine backward search limits disregarding literals.
1528 (c-find-decl-spots): Amend commenting.
1529 (c-cheap-inside-bracelist-p): New function which detects "={".
1530
1531 * progmodes/cc-fonts.el
1532 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1533 backward search.
1534 (c-font-lock-declarations): Fix an occurrence of point being
1535 undefined. Check additionally for point being in a bracelist or
1536 near a macro invocation without a semicolon so as to avoid a
1537 fruitless time consuming search for a declarator. Give a more
1538 precise search limit for declarators using the new
1539 c-determine-limit.
1540
f3860cea
GM
15412012-01-18 Glenn Morris <rgm@gnu.org>
1542
1543 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1544 (set-auto-mode): Doc fixes.
1545
1db03b16
GM
15462012-01-17 Glenn Morris <rgm@gnu.org>
1547
0e6038be
GM
1548 * isearch.el (search-nonincremental-instead): Fix doc typo.
1549
1db03b16
GM
1550 * dired.el (dired-insert-directory): Handle newlines in directory name.
1551 (dired-build-subdir-alist): Unescape newlines in directory name.
1552
4cb0aa75
MA
15532012-01-17 Michael Albinus <michael.albinus@gmx.de>
1554
1555 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1556 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1557 (tramp-action-terminal): Use it. (Bug#10530)
1558
1d00653d
SM
15592012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1562
6a6ee00d
MR
15632012-01-16 Martin Rudalics <rudalics@gmx.at>
1564
1565 * window.el (window-state-ignored-parameters): Remove variable.
1566 (window--state-get-1): Rename argument MARKERS to IGNORE.
1567 Handle persistent window parameters. Make copy of clone-of
1568 parameter only if requested. (Bug#10348)
1569 (window--state-put-2): Install a window parameter only if it has
1570 a non-nil value or an existing parameter shall be overwritten.
1571
97912def
MA
15722012-01-15 Michael Albinus <michael.albinus@gmx.de>
1573
1574 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1575
688070a5
EZ
15762012-01-14 Eli Zaretskii <eliz@gnu.org>
1577
1578 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1579 don't pass the (nil) value of `upnode' to string-match.
1580
301afadc
CY
15812012-01-14 Chong Yidong <cyd@gnu.org>
1582
1583 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1584 Fix values recognized by the cursorBlink resource.
301afadc 1585
9e5788aa
PE
15862012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1587
1588 * epg.el (epg--make-temp-file): Avoid permission race condition
1589 when running on old Emacs versions (bug#10403).
1590
3cdb7f5a
GM
15912012-01-14 Glenn Morris <rgm@gnu.org>
1592
1593 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1594
8c82b1b4
AM
15952012-01-13 Alan Mackenzie <acm@muc.de>
1596
1597 Fix filling for when filladapt mode is enabled.
1598
1599 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1600 c-mask-paragraph, pass in `fill-paragraph' rather than
1601 `fill-region-as-paragraph'. (This is a reversion of a previous
1602 change.)
eb864a71
LM
1603 * progmodes/cc-mode.el (c-basic-common-init):
1604 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1605
e517eda4
GM
16062012-01-13 Glenn Morris <rgm@gnu.org>
1607
1498536e
GM
1608 * dired.el (dired-switches-escape-p): New function.
1609 (dired-insert-directory): Use dired-switches-escape-p.
1610 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1611
e517eda4
GM
1612 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1613
328f984d
GM
16142012-01-12 Glenn Morris <rgm@gnu.org>
1615
1616 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1617 changes in adaptive-fill-regexp. (Bug#10276)
1618
2cc769a8
AM
16192012-01-11 Alan Mackenzie <acm@muc.de>
1620
1621 Fix Emacs bug #10463 - put `widen's around the critical spots.
1622
1d00653d 1623 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1624 widen around each invocation of c-state-pp-to-literal. Remove an
1625 unused let variable.
1626
e52c37fa
GM
16272012-01-11 Glenn Morris <rgm@gnu.org>
1628
1629 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1630 Doc fix.
e52c37fa 1631
96f8741e
CY
16322012-01-10 Chong Yidong <cyd@gnu.org>
1633
1d00653d
SM
1634 * net/network-stream.el (network-stream-open-starttls):
1635 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1636 response to the capability command.
1637
b09a806e
GM
16382012-01-10 Glenn Morris <rgm@gnu.org>
1639
1640 * mail/unrmail.el (unrmail): Tweak previous change.
1641
7655cb66
CY
16422012-01-09 Chong Yidong <cyd@gnu.org>
1643
1644 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1645
9d5a8f0b
AM
16462012-01-08 Alan Mackenzie <acm@muc.de>
1647
1648 Optimise font locking in long enum definitions.
1649
1650 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1651 arm to a cond form to handle enums.
1652 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1653 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1654
9a0115ab 16552012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1656
1657 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1658 (Bug#10401)
6bb72cbd 1659
f186bb95
LMI
16602012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1661
29232a68
LMI
1662 * faces.el (set-face-attribute): Clarify the meaning of the nil
1663 frame (bug#10294).
1664
4e5d086d
LMI
1665 * subr.el (with-selected-frame): Mention that the selected frame
1666 is restored (bug#9980).
1667
8e66aebe
LMI
1668 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1669 (bug#9759).
1670
cd394be1 1671 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1672 (password-read): Don't autoload unused function.
1673
adf4e762
JB
16742012-01-07 Juanma Barranquero <lekktu@gmail.com>
1675
1676 * progmodes/which-func.el (which-func-mode): Turn into a
1677 non-interactive function and mark as obsolete (bug#10428).
1678
89bd9ccd
CY
16792012-01-06 Chong Yidong <cyd@gnu.org>
1680
1681 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1682 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1683 functions, along with 1 and -1.
1684
4afee9d5
EZ
16852012-01-06 Eli Zaretskii <eliz@gnu.org>
1686
1687 * time.el (display-time-load-average)
1688 (display-time-default-load-average): Doc fixes. See the thread
1689 starting at
1690 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1691 for the details.
1692
536aea70
GM
16932012-01-06 Glenn Morris <rgm@gnu.org>
1694
665ae865
GM
1695 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1696 has no messages. (Bug#10377)
1697
c869783d
GM
1698 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1699 than Info-edit. (Bug#10385)
1700
2bb4227e
GM
1701 * time.el (display-time-load-average, display-time-next-load-average):
1702 Doc fixes.
1703
7d5944b9
GM
1704 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1705 local setting of buffer-read-only to the input buffer. (Bug#10419)
1706
536aea70
GM
1707 * calendar/calendar.el (calendar-mode):
1708 Locally set scroll-margin to 0. (Bug#10379)
1709
7dccca16
UM
17102012-01-06 Ulrich Mueller <ulm@gentoo.org>
1711
1712 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1713
afbb7930
GM
17142012-01-05 Glenn Morris <rgm@gnu.org>
1715
1716 * eshell/em-unix.el (diff-no-select): Autoload it.
1717 (eshell/diff): Use diff-no-select. (Bug#10420)
1718
04482335
CY
17192012-01-05 Chong Yidong <cyd@gnu.org>
1720
7baca3bc
CY
1721 * shell.el (shell-dynamic-complete-functions): Revert last change.
1722 (shell-command-completion-function): New function.
1723 (shell-completion-vars): Use it to implement
1724 shell-completion-execonly (Bug#10417).
1725
04482335
CY
1726 * custom.el (enable-theme): Don't set custom-safe-themes.
1727
1d00653d
SM
1728 * cus-theme.el (custom-theme-merge-theme):
1729 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1730
bb5aa5d6
MM
17312012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1732
1733 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1734 first prompt in `sql-interacive-mode'.
1735 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1736 keywords.
6df6ae42 1737 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1738 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1739 context of original buffer. Invoke `sql-login-hook'.
1740
a7183d7c
EZ
17412012-01-04 Eli Zaretskii <eliz@gnu.org>
1742
1743 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1744 letters in cite-prefix.
1745
a1eacd1e
LMI
17462012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1747
1748 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1749
787cdb34
CY
17502012-01-03 Chong Yidong <cyd@gnu.org>
1751
1d00653d
SM
1752 * shell.el (shell-dynamic-complete-functions):
1753 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1754 comint-filename-completion first (Bug#10417).
1755
30710442
RS
17562012-01-02 Richard Stallman <rms@gnu.org>
1757
1758 * battery.el (battery-status-function):
1759 Detect when to use battery-yeeloong-sysfs.
1760 (battery-echo-area-format): Add string for Yeeloong.
1761 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1762 (battery-yeeloong-sysfs): New function.
1763
f75bfc33
CY
17642012-01-02 Chong Yidong <cyd@gnu.org>
1765
1766 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1767 (dirtrack): Merge code for handling relative filenames in prompt
1768 from shell-dir-cookie-watcher.
1769 (dirtrack-debug-message): New arg to avoid excess format calls.
1770
1771 * shell.el (shell-dir-cookie-re): Variable deleted.
1772 (shell-dir-cookie-watcher): Function deleted.
1773 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1774 with dirtrack-mode.
1775
651e947e
EZ
17762012-01-01 Eli Zaretskii <eliz@gnu.org>
1777
1d00653d
SM
1778 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1779 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1780 libgnutls-26.dll.
1781
94d4c7dc
AS
17822011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1783
1784 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1785
8d43f3cd
EZ
17862011-12-31 Eli Zaretskii <eliz@gnu.org>
1787
1788 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1789 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1790
98c8795a
MA
17912011-12-29 Michael Albinus <michael.albinus@gmx.de>
1792
1793 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1794 also for alternative shells.
1795 (tramp-open-connection-setup-interactive-shell): Check, whether
1796 the shell is a busybox.
1797 (tramp-send-command): Don't suppress multiple prompts for
1798 busyboxes, it hurts.
1799
51281b32
CY
18002011-12-28 Chong Yidong <cyd@gnu.org>
1801
1802 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1803 (gdb-get-source-file): Move mode line update to
1804 gdb-get-source-file (Bug#10087).
1805
2170cb53
CY
18062011-12-25 Chong Yidong <cyd@gnu.org>
1807
1808 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1809 gud-gdb-marker-filter without taking it as an argument.
1810 (gud-gdb-run-command-fetch-lines): Caller changed.
1811 (gud-gdb-completion-function): New variable.
1812 (gud-gdb-completion-at-point): Use it.
1813 (gud-gdb-completions-1): Split from gud-gdb-completions.
1814
1815 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1816 function as separate arguments.
1817 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1818 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1819 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1820 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1821 (gdb-stopped, def-gdb-auto-update-trigger)
1822 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1823 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1824 Callers changed.
2170cb53
CY
1825 (gud-gdbmi-completions): New function.
1826 (gdb): Use it for generating the completion table.
1827
be8b11bb
AM
18282011-12-24 Alan Mackenzie <acm@muc.de>
1829
1830 Introduce a mechanism to widen the region used in context font
1d00653d 1831 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1832
1d00653d
SM
1833 * progmodes/cc-langs.el (c-before-font-lock-functions):
1834 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1835 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1836 functions to be run just before context (etc.) font locking.
1837
1838 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1839 New, functionality extracted from
be8b11bb 1840 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1841 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1842 (c-after-change): Set c-in-after-change-fontification.
1843 (c-set-fl-decl-start): Rejig its interface, so it can be called
1844 from both after-change and context fontifying.
b81d40f0
JB
1845 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1846 New functions.
1847 (c-standard-font-lock-fontify-region-function): New variable.
1848 (c-font-lock-fontify-region): New function.
be8b11bb 1849
341cf6ac
JL
18502011-12-24 Juri Linkov <juri@jurta.org>
1851
1852 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1853 (Bug#10348)
1854
bffcee0a
MA
18552011-12-23 Michael Albinus <michael.albinus@gmx.de>
1856
1857 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1858 existence of source file. (Bug#10325)
1859
cb5e207c
AM
18602011-12-23 Alan Mackenzie <acm@muc.de>
1861
1862 Fix unstable fontification inside templates.
1863
b81d40f0
JB
1864 * progmodes/cc-langs.el (c-before-font-lock-functions):
1865 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1866 additionally has c-set-fl-decl-start. The other languages (apart
1867 from AWK) have that as a single entry.
1868
b81d40f0
JB
1869 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1870 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1871 c-set-fl-decl-start.
1872
b81d40f0
JB
1873 * progmodes/cc-mode.el (c-common-init, c-after-change):
1874 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1875 (c-set-fl-decl-start): New function, extracted from
1876 c-font-lock-enclosing-decls and enhanced.
1877
60ff536c
JB
18782011-12-23 Juanma Barranquero <lekktu@gmail.com>
1879
1880 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1881
1c4757d6
JL
18822011-12-22 Juri Linkov <juri@jurta.org>
1883
1884 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1885
d031f2c7
CY
18862011-12-22 Chong Yidong <cyd@gnu.org>
1887
1888 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1889
bace743a
DA
18902011-12-21 Drew Adams <drew.adams@oracle.com>
1891
1892 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1893
728a1f2b
JC
18942011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1895
1896 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1897
0d373f73
TZ
18982011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1899
fec0aaa4
TZ
1900 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1901 highlighting and support. Fix up comments for capitalization.
1902 (cfengine-mode-debug): New var.
1903 (cfengine3-mode): Change the modeline indicator to "CFE3".
1904 (cfengine3-font-lock-keywords): Improve defun highlighting.
1905 (cfengine2-actions): Rename from `cfengine-actions'.
1906 (cfengine2-font-lock-keywords): Rename from
1907 `cfengine-font-lock-keywords'.
1908 (cfengine2-imenu-expression): Rename from
1909 `cfengine-imenu-expression'.
1910 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1911 (cfengine2-beginning-of-defun): Rename from
1912 `cfengine-beginning-of-defun'.
1913 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1914 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1915 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1916 modeline indicator to "CFE2".
1917 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1918 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 1919
bc86f573
CY
19202011-12-21 Chong Yidong <cyd@gnu.org>
1921
1922 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1923 filename argument.
1924
d45ba96b
MR
19252011-12-20 Martin Rudalics <rudalics@gmx.at>
1926
1927 * window.el (window-normalize-buffer-to-display): Remove.
1928 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1929
a6198c90
CY
19302011-12-19 Chong Yidong <cyd@gnu.org>
1931
1932 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1933 Don't signal an error in a predicate function; return non-nil.
1934 (vc-dir-mark-file): Move the error here.
1935 (vc-dir-mark-unmark): If acting on the region, keep going if one
1936 of the entries cannot be marked/unmarked.
1937 (vc-dir-mark-all-files): If current entry is a directory, mark
1938 only child files, as documented.
1939
34c5fb55
VB
19402011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
1941
1942 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1943 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1944 addition.
1945
c803b2b7
JD
19462011-12-18 Jan Djärv <jan.h.d@swipnet.se>
1947
1948 * term/ns-win.el (ns-get-selection-internal)
1949 (ns-store-selection-internal): Declare.
1154d12e
JB
1950 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1951 Declare as obsolete.
1952 (ns-get-pasteboard, ns-paste-secondary):
1953 Use ns-get-selection-internal.
1954 (ns-set-pasteboard, ns-copy-including-secondary):
1955 Use ns-store-selection-internal.
c803b2b7 1956
9cff91f8 19572011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
1958
1959 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 1960 (vc-deduce-fileset): Doc fix.
99a289d9 1961
f16c898a
AS
19622011-12-16 Andreas Schwab <schwab@linux-m68k.org>
1963
1964 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1965
763237c4
SS
19662011-12-13 Sam Steingold <sds@gnu.org>
1967
1968 * man.el (Man-getpage-in-background): When running under a
1969 window-system, ignore $MANWIDTH and $COLUMNS.
1970
5fc1c122
KH
19712011-12-15 Kenichi Handa <handa@m17n.org>
1972
1973 * language/ethio-util.el: Change coding tag to utf-8-emacs.
1974 (setup-ethiopic-environment-internal): Comment out key-binding for
1975 ethio-toggle-punctuation.
1976
13d49cbb
AM
19772011-12-13 Alan Mackenzie <acm@muc.de>
1978
898169a2
AM
1979 Add the switch statement to AWK Mode.
1980
7a71b18d 1981 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
1982 "default" to the keywords regexp.
1983
7a71b18d 1984 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 1985 expression as the rest.
1d00653d
SM
1986 (c-nonlabel-token-key): Allow string literals for AWK.
1987 Refactor for the other modes.
898169a2 1988
13d49cbb 1989 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 1990 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
1991 routines. Limit backward searching in c-font-lock-enclosing.decl.
1992
1993 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1994 pp-state and literal type in addition to the limits.
1d00653d 1995 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 1996 (c-state-literal-at): Use the above new defun.
1d00653d
SM
1997 (c-slow-in-literal, c-fast-in-literal): Remove.
1998 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
1999
2000 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2001 being in a literal. Add a limit for backward searching.
2002
2003 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2004 c-slow-in-literal.
2005
15e0efc7
SM
20062011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2007
2008 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2009
454592a6
MR
20102011-12-13 Martin Rudalics <rudalics@gmx.at>
2011
2012 * window.el (delete-other-windows): Use correct frame in call to
2013 window-with-parameter.
2014
87393f26
DP
20152011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2016
2017 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2018 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2019 (makefile-gmake-statements, makefile-makepp-statements):
2020 Use it and add new makepp keywords.
2021 (makefile-makepp-font-lock-keywords): Add new patterns.
2022 (makefile-match-function-end): Match new [...] and [[...]].
2023
11636b22
JB
20242011-12-11 Juanma Barranquero <lekktu@gmail.com>
2025
2026 * ses.el (ses-call-printer-return, ses-cell-property-get)
2027 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2028 (ses-create-cell-variable, ses-reset-header-string)
2029 (ses-cell-set-formula, ses-repair-cell-reference-all)
2030 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2031 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2032 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2033 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2034 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2035 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2036 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2037 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2038 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2039 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2040 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2041 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2042
cf018193
VB
20432011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2044
2045 * ses.el: The overall change is to add cell renaming, that is
2046 setting fancy names for cell symbols other than name matching
2047 "\\`[A-Z]+[0-9]+\\'" regexp .
2048 (ses-create-cell-variable): New defun.
2049 (ses-relocate-formula): Relocate formulas only for cells the
2050 symbols of which are not renamed, i.e. symbols whose names do not
2051 match regexp "\\`[A-Z]+[0-9]+\\'".
2052 (ses-relocate-all): Relocate values only for cells the symbols of
2053 which are not renamed.
2054 (ses-load): Create cells variables as the (ses-cell ...) are read,
2055 in order to check row col consistency with cell symbol name only
2056 for cells that are not renamed.
2057 (ses-replace-name-in-formula): New defun.
2058 (ses-rename-cell): New defun.
2059
ee957461
CY
20602011-12-11 Chong Yidong <cyd@gnu.org>
2061
2062 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2063 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2064
9a9e9ef0
MR
20652011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2066
2067 * window.el (other-window): Fix docstring.
2068
92a8eba5
EZ
20692011-12-10 Eli Zaretskii <eliz@gnu.org>
2070
2071 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2072 `from' or `to' address before taking its substring.
2073 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2074 encoded name is chopped in the middle of the encoded string, and
2075 thus displayed encoded.
2076
e152e577
JB
20772011-12-10 Juanma Barranquero <lekktu@gmail.com>
2078
2079 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2080
e5d84bfe
EZ
20812011-12-10 Eli Zaretskii <eliz@gnu.org>
2082
2083 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2084 to use texinfo-update-node and commands that call it if the
2085 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2086 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2087 (texinfo-all-menus-update, texinfo-master-menu)
2088 (texinfo-update-node, texinfo-every-node-update)
2089 (texinfo-multiple-files-update): Doc fix. Warn against updating
2090 all the @node lines.
2091 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2092 argument is numeric. Explain better in the doc string what the
2093 function really does.
2094 (texinfo-insert-master-menu-list): Improve the error message
2095 displayed if there's no menu in the Top node.
2096 (Bug#2975) See also this thread:
e5d84bfe
EZ
2097 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2098
1d84e9bb
MG
20992011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2100
2101 * speedbar.el (speedbar-supported-extension-expressions):
2102 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2103
382c953b
JB
21042011-12-09 Juanma Barranquero <lekktu@gmail.com>
2105
2106 * printing.el (pr-mode-alist):
2107 * simple.el (filter-buffer-substring-functions)
2108 (completion-list-insert-choice-function):
2109 * window.el (window-with-parameter, window-atom-root)
2110 (window-sides-slots, window-size-fixed, window-min-delta)
2111 (window-max-delta, window--resize-mini-window)
2112 (window--resize-child-windows-normal, window-tree)
2113 (delete-other-windows, quit-window, split-window)
2114 (display-buffer-record-window, special-display-buffer-names)
2115 (special-display-regexps, special-display-popup-frame)
2116 (same-window-p, split-window-sensibly)
2117 (display-buffer-overriding-action, display-buffer-alist)
2118 (display-buffer-base-action, display-buffer, switch-to-buffer)
2119 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2120 (fit-window-to-buffer, recenter-positions)
2121 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2122 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2123 and remove unneeded backslashes in docstrings.
2124
39c9faef
SM
21252011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2126
98449af8
SM
2127 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2128
39c9faef
SM
2129 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2130 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2131 end in ".mk".
2132 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2133 when reading the makefile (bug#10116).
2134
86ed9fdc
SM
21352011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2136
2137 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2138 (bug#10116).
2139
5580f89d
GM
21402011-12-06 Glenn Morris <rgm@gnu.org>
2141
2142 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2143
28d3917c
CY
21442011-12-06 Chong Yidong <cyd@gnu.org>
2145
2146 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2147
a98edce9
JB
21482011-12-06 Juanma Barranquero <lekktu@gmail.com>
2149
2150 * textmodes/table.el (table-shorten-cell): Fix typo.
2151
e65adfac
CG
21522011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2153
2154 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2155
71cc0b74
EZ
21562011-12-05 Eli Zaretskii <eliz@gnu.org>
2157
2158 * descr-text.el (describe-char): Fix display of strong
2159 right-to-left characters and directional embeddings and overrides.
2160
2161 * simple.el (what-cursor-position): Fix display of codepoints of
2162 strong right-to-left characters.
2163
315bc30d
CY
21642011-12-05 Chong Yidong <cyd@gnu.org>
2165
2166 * faces.el (read-color): Doc fix.
2167
58a70b94
GM
21682011-12-05 Glenn Morris <rgm@gnu.org>
2169
2170 * align.el (align--set-marker): Add doc-string.
2171 Don't try to move something that is not a marker. (Bug#10216)
2172
5158face
GM
21732011-12-04 Glenn Morris <rgm@gnu.org>
2174
2175 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2176 overly zealous deletion of trailing whitespace.
2177
520fca41
JB
21782011-12-04 Juanma Barranquero <lekktu@gmail.com>
2179
2180 * server.el (server-delete-client): On Windows, do not try to delete
2181 the only terminal.
2182 (server-process-filter): On Windows, treat requests for a tty frame as
2183 if they were for a GUI frame if the running server is in GUI mode.
2184
5e605a2e
GM
21852011-12-03 Glenn Morris <rgm@gnu.org>
2186
2187 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2188
5c3fe83f
SM
21892011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2190
6f5e57e7
SM
2191 * electric.el: Streamline electric-indent's hook.
2192 (electric-indent-chars): Revert to simple list.
2193 (electric-indent-functions): New var.
2194 (electric-indent-post-self-insert-function): Use it.
2195
5c3fe83f
SM
2196 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2197 there's no inferior buffer (bug#10196).
2198 (prolog-consult-compile): Don't use toggle-read-only.
2199
6bdac736
MA
22002011-12-02 Michael Albinus <michael.albinus@gmx.de>
2201
2202 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2203 interrupt. (Bug#10187)
2204
6131ba7f
SM
22052011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2206
99c79fee
SM
2207 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2208 (bug#9160).
2209
6131ba7f
SM
2210 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2211 (bug#10191).
2212
cb0a02ea
JL
22132011-12-02 Juri Linkov <juri@jurta.org>
2214
2215 * info.el (Info-search): Display "end of manual" when Isearch
2216 reaches the end of single-file Info manual. (Bug#9918)
2217
66e0570c
EZ
22182011-12-02 Eli Zaretskii <eliz@gnu.org>
2219
2220 * isearch.el (isearch-message-prefix): Run the input method part
2221 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2222
02b16839
JL
22232011-12-02 Juri Linkov <juri@jurta.org>
2224
2225 * isearch.el (isearch-occur): Use `word-search-regexp' for
2226 `isearch-word'.
2227 (isearch-search-and-update): Add condition for `isearch-word' and
2228 call `word-search-regexp'. (Bug#10145)
2229
0b950688
GM
22302011-12-01 Glenn Morris <rgm@gnu.org>
2231
2232 * eshell/em-hist.el (eshell-hist-initialize):
2233 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2234 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2235
9505c3c7
SM
22362011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2237
2238 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2239
1bbe96b2 22402011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2241
a1beca85
SM
2242 * progmodes/verilog-mode.el (verilog-pretty-expr):
2243 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2244 verilog, such as += *= and the like.
2245 (verilog-assignment-operator-re): Regular expression to find the
2246 assigment operator in a verilog assignment.
2247 (verilog-assignment-operation-re): Regular expression to find an
2248 assignment statement for pretty-expr.
2249 (verilog-in-attribute-p): Query returns true if point is in an
2250 attribute context; used to skip these for expression line up from
2251 pretty-expr.
2252 (verilog-in-parameter-p): Query returns true if point is in an
2253 parameter definition context; used to skip these for expression
2254 line up from pretty-expr.
2255 (verilog-in-parenthesis-p): Query returns true if point is in a
2256 parenthetical expression, specifically ( ) but not [ ] or { };
2257 used by pretty-expr.
2258 (verilog-just-one-space): If there is no space, don't add one.
2259 (verilog-get-lineup-indent-2): Specifically skip just attribute
2260 contexts for expression lineup, rather than skipping all
2261 parenthetical expressions.
2262 (verilog-calculate-indent): Fix comment, and fix indent.
2263 (verilog-do-indent): Indent declarations in lists (suggested by
2264 Joachim Lechner).
2265 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2266 skeleton items.
2267 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2268 by Alain Mellan).
2269
1bbe96b2 22702011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2271
2272 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2273 parameters with embedded comments. Reported by Ray Stevens.
2274 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2275 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2276 Reported by Tim Holt.
2277 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2278 instantiated by upper module causing wrong expansion until AUTOed a
2279 second time. Reported by K C Buckenmaier.
2280 (verilog-diff-auto): Fix showing .* as a difference when
2281 `verilog-auto-star-save' off. Reported by Dan Dever.
2282 (verilog-auto-reset, verilog-read-always-signals)
2283 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2284 temporary signals in reset list if
2285 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2286 style to each signal's assignment type, bug381.
2287 Reported by Thomas Esposito.
6288f0ca
WS
2288 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2289 (verilog-uvm-statement-re): Support UVM indentation and
2290 highlighting, with old OVM keywords only.
a1beca85 2291 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2292 Support AUTOTIEOFF creating non-wire data types.
2293 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2294 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2295 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2296 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2297 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2298 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2299 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2300 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2301 non-numeric vector width. Reported by Alex Reed.
2302 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2303 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2304 (verilog-auto-delete-trailing-whitespace):
2305 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2306 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2307 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2308 Fix verilog-scan-cache corruption when running user AUTO expansion
2309 hooks that call indentation routines.
2310 (verilog-simplify-range-expression): Fix typo ignoring lower case
2311 identifiers.
2312 (verilog-delete-auto): Fix delete-autos to also remove user created
2313 automatics, as long as they start with AUTO.
2314 (verilog-batch-diff-auto, verilog-diff-auto)
2315 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2316 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2317 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2318 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2319 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2320 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2321 is disabled and its cache will get corrupt, causing AUTOS not to
2322 expand. Instead use only -quick functions.
2323 (verilog-scan-region): Fix scanning over escaped quotes.
2324 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2325 (verilog-re-search-backward-quick)
2326 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2327 related functions now ignore strings, to fix misparsing of strings
2328 with magic comments embedded in them.
a1beca85
SM
2329 (verilog-read-auto-template):
2330 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2331 Reported by Brad Dobbie.
2332 (verilog-read-auto-template):
2333 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2334 Reported by Brad Dobbie.
6288f0ca
WS
2335 (verilog-auto-inst, verilog-auto-inst-param)
2336 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2337 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2338 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2339 debugging templates without merge conflicts, bug357.
2340 Reported by Brad Dobbie.
2341 (verilog-read-auto-template):
2342 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2343 Reported by Brad Dobbie.
2344 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2345 abbrevs so user won't be asked to save.
2346 (verilog-read-auto-lisp-present): Fix to start at beginning of
2347 buffer in case called outside of verilog-auto.
2348 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2349 to "X-2". Reported by Matthew Myers.
2350 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2351 all inputs from module templates. Reported by Leith Johnson.
2352 (verilog-module-inside-filename-p): Fix locating programs as with
2353 modules.
2354 (verilog-auto-inst-port): Fix vl-width expressions when using
2355 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2356 (verilog-decls-get-regs, verilog-decls-get-signals,
2357 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2358 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2359 verilog-read-decls): Combine reg and wire structures into one var
2360 structure to represent SystemVerilog concepts.
2361 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2362 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2363 (verilog-auto-wire-type, verilog-insert-definition):
2364 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2365 SystemVerilog "logic" keyword instead of "wire"/"reg".
2366 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2367 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2368 ifdef or generate if so there's not a driver conflict).
2369 Reported by Matthew Myers.
2370 (verilog-auto-declare-nettype, verilog-insert-definition):
2371 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2372 `default_nettype none. Reported by Julian Gorfajn.
2373 (verilog-read-always-signals-recurse, verilog-read-decls)
2374 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2375 malformed end statement, bug325. Reported by Joshua Wise and
2376 Andrew Drake.
2377 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2378 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2379 when expanding .* in interfaces, bug320.
2380 Reported by Pierre-David Pfister.
6288f0ca 2381 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2382 name and open parenthesis, bug317.
2383 Reported by Pierre-David Pfister.
6288f0ca
WS
2384 (verilog-simplify-range-expression): Fix simplification of
2385 multiplications inside AUTOWIRE connections, bug303.
2386 (verilog-auto-inst-port): Support parameter expansion in
2387 multidimensional arrays.
2388 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2389 after "assert property". Reported by Julian Gorfajn.
2390 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2391 with multiplication, bug303.
2392 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2393 Reported by Jan Frode Lonnum.
2394
1bbe96b2
GM
23952011-11-30 Juanma Barranquero <lekktu@gmail.com>
2396
2397 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2398 (hfy-shell-file-name, hfy-shell):
2399 * international/fontset.el (x-decompose-font-name): Fix typos.
2400
24012011-11-29 Ken Brown <kbrown@cornell.edu>
2402
2403 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2404 (gdb-version): Remove defvar.
2405 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2406 (gdb-gud-context-command, gdb-non-stop-handler)
2407 (gdb-current-context-command, gdb-stopped): Use it.
2408 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2409 (gdb-non-stop-handler): Don't enable pretty-printing here.
2410 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2411 non-stop mode. Use the following.
2412 (gdb-check-target-async): New defun.
2413 (gud-watch, gdb-stopped): Fix whitespace.
2414 (gdb-get-source-file): Don't try to display the source file if
2415 `gdb-main-file' is nil.
2416
24172011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2418
2419 * align.el: Try to generate fewer markers (bug#10047).
2420 (align--set-marker): New macro.
2421 (align-region): Use it.
2422
c935221f
SM
24232011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2426
e70b5064
CY
24272011-11-29 Chong Yidong <cyd@gnu.org>
2428
2429 * indent.el (indent-for-tab-command, indent-according-to-mode):
2430 Doc fix.
2431 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2432
f3af92b7
MA
24332011-11-29 Michael Albinus <michael.albinus@gmx.de>
2434
2435 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2436 aware of remote file names. (Bug#10124)
2437
ed472be9
CY
24382011-11-29 Chong Yidong <cyd@gnu.org>
2439
2440 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2441
24510c22
SM
24422011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2443
2444 * files.el (find-file): Don't use force-same-window (bug#10144).
2445 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2446 use pop-to-buffer if the selected window can't be used.
2447 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2448
c60c3703
EZ
24492011-11-28 Eli Zaretskii <eliz@gnu.org>
2450
2451 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2452 special-mode-map.
2453
e95def75
CY
24542011-11-28 Chong Yidong <cyd@gnu.org>
2455
2456 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2457
c3f1c606
NR
24582011-11-27 Nick Roberts <nickrob@snap.net.nz>
2459
2460 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2461 gdb-get-source-file-list on gdb-create-source-file-list.
2462
00db469c
EZ
24632011-11-26 Eli Zaretskii <eliz@gnu.org>
2464
2465 * whitespace.el (whitespace-newline): Use a different foreground
2466 color for 16-color light-background displays.
2467
4ad3bc2a
CY
24682011-11-24 Chong Yidong <cyd@gnu.org>
2469
2470 * window.el (display-buffer--special-action): Doc fix.
2471
e9fce1ac
JB
24722011-11-25 Juanma Barranquero <lekktu@gmail.com>
2473
2474 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2475 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2476 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2477 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2478 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2479 (avl-tree-stack-first):
2480 * emacs-lisp/cconv.el (cconv--analyse-use):
2481 * net/gnutls.el (gnutls-negotiate): Fix typos.
2482
cb825e5d
GM
24832011-11-24 Glenn Morris <rgm@gnu.org>
2484
3adbe224
GM
2485 * lpr.el (lpr-windows-system, lpr-lp-system):
2486 * mail/binhex.el (binhex-begin-line):
2487 * progmodes/grep.el (grep-history, grep-find-history):
2488 * textmodes/flyspell.el:
2489 * vc/pcvs-defs.el (cvs-global-menu):
2490 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2491 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2492 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2493
321decc8
GM
2494 * net/tls.el: Fix case of "GnuTLS".
2495
420b63ad
GM
2496 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2497
cb825e5d
GM
2498 * version.el (emacs-build-system): Give it a doc-string.
2499
a0649f08
JL
25002011-11-24 Juri Linkov <juri@jurta.org>
2501
2502 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2503
c0bc0fd4
GM
25042011-11-24 Glenn Morris <rgm@gnu.org>
2505
2506 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2507 if called on a non-mime message just toggle the headers. (Bug#8006)
2508
20db1522
JB
25092011-11-24 Juanma Barranquero <lekktu@gmail.com>
2510
2511 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2512 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2513 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2514 (allout-rebullet-heading, allout-open-sibtopic)
2515 (allout-toggle-current-subtree-encryption)
2516 (allout-toggle-subtree-encryption, allout-encrypt-string)
2517 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2518 (allout-distinctive-bullets-string, allout-auto-activation):
2519 * window.el (window-normalize-buffer-to-display):
2520 * progmodes/verilog-mode.el (verilog-batch-indent):
2521 * textmodes/bibtex.el (bibtex-field-braces-opt)
2522 (bibtex-field-strings-opt):
2523 * vc/cvs-status.el (cvs-tree-merge):
2524 Fix typos.
2525
7262a87c
MA
25262011-11-23 Michael Albinus <michael.albinus@gmx.de>
2527
2528 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2529 `non-essential' to t, in order to avoid remote connections.
2530
283430a1
EZ
25312011-11-23 Eli Zaretskii <eliz@gnu.org>
2532
a1beca85
SM
2533 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2534 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2535 case-insensitively.
2536
d2992a38
ML
25372011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2538
2539 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2540
50419064
GM
25412011-11-23 Glenn Morris <rgm@gnu.org>
2542
da94eca1
GM
2543 * paths.el (rmail-file-name): Reformat the doc-string so that it
2544 is picked up.
2545
9aac4de2
GM
2546 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2547 (rmail-auto-file): Ignore case in the "special" field names,
2548 as mail-fetch-field does for all others.
2549
8038d2d2
GM
2550 * mail/rmail.el (rmail-forward):
2551 * mail/rmailkwd.el (rmail-set-label):
2552 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2553 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2554
f3fe222a
GM
2555 * mail/rmail.el (rmail-current-message): Doc fix.
2556
50419064
GM
2557 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2558
28109f49
SM
25592011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2560
2561 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2562
394c65f1
GM
25632011-11-22 Glenn Morris <rgm@gnu.org>
2564
2565 * mail/rmailmm.el (test-rmail-mime-handler)
2566 (test-rmail-mime-bulk-handler)
2567 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2568
f2a0aa3a
JL
25692011-11-21 Juri Linkov <juri@jurta.org>
2570
1154d12e
JB
2571 * calc/calc.el (calc-read-key-sequence):
2572 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2573
9c34a344
LMI
25742011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2575
2576 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2577 Tell the caller that the next line needs recomputation, even
2578 though it doesn't start a sexp (bug#10094).
2579
f04a3be9
SM
25802011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2583
7978747f
SM
25842011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2585
f04a3be9
SM
2586 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2587 Use force-same-window.
7978747f 2588
fe7a3057
JB
25892011-11-20 Juanma Barranquero <lekktu@gmail.com>
2590
2591 * descr-text.el (describe-char-unicode-data):
2592 * json.el (json-string-escape):
2593 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2594 (Footnote-unicode, Footnote-style-p):
2595 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2596
24901d61
CY
25972011-11-20 Chong Yidong <cyd@gnu.org>
2598
2599 * window.el (replace-buffer-in-windows): Restore interactive spec.
2600
bac7ff22
SM
26012011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2602
24f3d7b9
SM
2603 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2604
bac7ff22
SM
2605 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2606 (byte-compile-global-not-obsolete-vars): New var.
2607 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2608 Use it.
2609 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2610
cd1181db
JB
26112011-11-20 Juanma Barranquero <lekktu@gmail.com>
2612
2613 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2614 * progmodes/pascal.el (electric-pascal-equal):
2615 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2616 * xml.el (xml-substitute-special): Fix typos.
2617
7fb18e9e
GM
26182011-11-20 Glenn Morris <rgm@gnu.org>
2619
2620 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2621 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2622 Doc fixes.
2623 (rmail-decode-mime-charset): Mark as obsolete.
2624
2625 * mail/rmailsum.el (rmail-message-regexp-p-1):
2626 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2627 Before using mime functions, check they are set. (Bug#10077)
2628
d5a6b3ba
JL
26292011-11-19 Juri Linkov <juri@jurta.org>
2630
2631 * info.el (Info-finder-find-node): Use `package--builtins' instead
2632 of `package-alist'. Use node names formed by the pattern "Keyword "
2633 and the keyword name.
2634
e981b61f
AS
26352011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2636
1d00653d 2637 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2638
3ffbc301
JL
26392011-11-19 Juri Linkov <juri@jurta.org>
2640
2641 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2642 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2643 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2644 `old-history', `old-history-forward'. Add let-binding
2645 `window-selected'. Remove calls to `kill-buffer',
2646 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2647 before calling `Info-find-node', so `Info-find-node-2' will reread
2648 the Info file. Restore window positions only when `window-selected'
2649 is non-nil.
2650
30c62133
JL
26512011-11-19 Juri Linkov <juri@jurta.org>
2652
2653 * isearch.el (isearch-lazy-highlight-new-loop):
2654 Remove condition `(not isearch-error)'. (Bug#9918)
2655
2656 * misearch.el (multi-isearch-search-fun): Add condition
2657 `(not bound)' to ignore lazy-highlighting search.
2658 Add the search-failed message "end of multi" when the end of
2659 multi-sequence is reached. Uncapitalize the search-failed
2660 message "Repeat for next buffer".
2661
2662 * info.el (Info-search): Add the search-failed message
2663 "end of the manual" when the end of the manual is reached
2664 in Isearch mode.
2665
645ca9cf
JL
26662011-11-19 Juri Linkov <juri@jurta.org>
2667
2668 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2669 Use non-destructive `remove' instead of `delete' because
2670 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2671 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2672
df754f66
JL
26732011-11-19 Juri Linkov <juri@jurta.org>
2674
2675 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2676 to nil instead of binding `search-ring' and `regexp-search-ring'.
2677 (Bug#9185)
2678
0e23d96a
EZ
26792011-11-19 Eli Zaretskii <eliz@gnu.org>
2680
2681 * simple.el (line-move): Force movement by logical lines for any
2682 hscrolled window, not only when auto-hscroll-mode is on.
2683 (line-move-visual): Update doc string to that effect. (Bug#10076)
2684
8a6ccb66
AS
26852011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2686
2687 * language/european.el (macintosh): Define as alias for mac-roman.
2688
49ae5b39
EZ
26892011-11-19 Eli Zaretskii <eliz@gnu.org>
2690
2691 * mail/rmailmm.el (rmail-mime-display-header)
2692 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2693 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2694 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2695 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2696 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2697 of a raw aref.
2698 (rmail-mime-entity-segment): To get past the tagline, move forward
2699 2 more lines, to account for the 2 empty lines that precede and
2700 follow the line with the buttons.
2701 (rmail-mime-update-tagline): Move one more line, to get past the
2702 empty line that follows the buttons in the tagline. (Bug#9520)
2703
c56cad4a
MR
27042011-11-19 Martin Rudalics <rudalics@gmx.at>
2705
2706 * window.el (window-max-delta-1, window-min-delta-1)
2707 (window-min-size-1, window-state-get-1, window-state-put-1)
2708 (window-state-put-2): Use "window--" prefix.
2709
cbe71af3
SM
27102011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2711
2ad52c60
SM
2712 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2713 (smie-warning-count): New var.
2714 (smie-set-prec2tab): Use it.
2715 (smie-bnf->prec2): Improve warnings. Add docstring.
2716 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2717 (smie-bnf--set-class): New function.
2718 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2719 corner case.
2720
6944dbc1
SM
2721 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2722 (compilation-error-properties, compilation-move-to-column):
2723 Handle compilation-first-column while in the target buffer.
2724
c400c4d7
SM
2725 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2726 Don't hardcode point-min==1.
2727
6dbe3e96
SM
2728 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2729 (eshell-rewrite-for-command): Remove workaround.
2730 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2731 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2732 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2733
cbe71af3
SM
2734 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2735
a8e1496d
GM
27362011-11-17 Glenn Morris <rgm@gnu.org>
2737
2738 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2739 Ignore buffer-local generated-autoload-file if it is the same
2740 as the global value. (Bug#10049)
2741
df85d315
JB
27422011-11-17 Juanma Barranquero <lekktu@gmail.com>
2743
2744 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2745 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2746 (reftex-toc-previous-heading, reftex-toc-max-level)
2747 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2748 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2749 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2750 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2751 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2752 (reftex-toc-rename-label, reftex-toc-visit-location)
2753 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2754 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2755 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2756 leaving "*toc*" only for references to the buffer.
2757
a0c2d0ae
MR
27582011-11-17 Martin Rudalics <rudalics@gmx.at>
2759
2760 * window.el (window-resize, delete-window, split-window):
2761 Replace window-splits by window-combination-resize.
1d00653d 2762 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2763
35c0bac8
GM
27642011-11-17 Glenn Morris <rgm@gnu.org>
2765
2766 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2767 Make bash entry derive from sh entry, not shell entry.
2768
d0c8fc8a
MA
27692011-11-16 Michael Albinus <michael.albinus@gmx.de>
2770
d0c8fc8a
MA
2771 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2772 properties of linked files. (Bug#9879)
2773
7262a87c
MA
2774 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2775 local file name.
2776
7877f373
JB
27772011-11-16 Juanma Barranquero <lekktu@gmail.com>
2778
2779 * menu-bar.el (menu-bar-file-menu):
2780 * printing.el (pr-ps-utility):
2781 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2782 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2783 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2784 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2785 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2786 (icalendar--convert-cyclic-to-ical)
2787 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2788 (icalendar--convert-ical-to-diary)
2789 (icalendar--convert-recurring-to-diary)
2790 (icalendar--convert-non-recurring-all-day-to-diary)
2791 (icalendar-import-format-sample):
2792 * progmodes/idlw-shell.el (idlwave-shell-mode):
2793 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2794 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2795 (vhdl-ps-print-init): Fix typos.
2796
10649b82
KM
27972011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2798
9d0cfcd6
GM
2799 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2800 FSF and collapse date sequence, obscure author/maintainer email address
2801 better, remove extra version line, track relocation of author's webpage.
10649b82 2802
9d0cfcd6
GM
2803 * progmodes/python.el (python-pdbtrack-input-prompt)
2804 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2805 regular python pdb prompts. Adjustments shamelessly taken exactly as
2806 suggested in EmacsWiki page (tiny change):
2807 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2808
58179cce
JB
28092011-11-16 Juanma Barranquero <lekktu@gmail.com>
2810
2811 * expand.el (expand-pos, expand-index, expand-point):
2812 Remove redundant info from docstring.
2813 (expand-add-abbrevs): Doc fix.
2814 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2815 (expand-sample-perl-mode-expand-list): Fix typos.
2816
2817 * net/dbus.el (dbus-event-member-name):
2818 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2819 * term/pc-win.el (msdos-create-frame-with-faces):
2820 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2821
b6f67890
MR
28222011-11-16 Martin Rudalics <rudalics@gmx.at>
2823
2824 * window.el (split-window, window-state-get-1)
2825 (window-state-put-1, window-state-put-2): Rename occurrences of
2826 window-nest to window-combination-limit.
1d00653d 2827 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2828
ce7ddba0
CY
28292011-11-16 Chong Yidong <cyd@gnu.org>
2830
2831 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2832 regexp (Bug#10033).
2833
3ae704f4
SM
28342011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2835
2836 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2837 `completing-read' will remove *Completions* and will preserve
2838 current-buffer for us.
2839 (tmm-add-prompt): Users of *Completions* will always (re)set its
2840 major mode.
2841 (tmm-old-comp-map): Remove.
2842
6ad1cdde
GM
28432011-11-16 Glenn Morris <rgm@gnu.org>
2844
2845 * mail/rmailedit.el: Require rmailmm when compiling.
2846 (rmail-old-mime-state): New declaration.
2847 (rmail-edit-current-message): If editing a mime message,
2848 edit the "raw" message from the mbox buffer.
2849 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2850
d20faa20
GM
28512011-11-15 Glenn Morris <rgm@gnu.org>
2852
2853 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2854 which wasn't being used. Add optional arg to force given state.
2855 (rmail-mime): Add optional arg to force given state.
2856
c7015153
JB
28572011-11-15 Juanma Barranquero <lekktu@gmail.com>
2858
2859 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2860 * frame.el (display-mm-dimensions-alist):
2861 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2862 (outline-move-subtree-down):
2863 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2864 (newsticker--treeview-do-get-node):
2865 * net/quickurl.el (quickurl-list-buffer-name):
2866 * progmodes/dcl-mode.el (dcl-mode):
2867 * progmodes/gdb-mi.el (gdb-mapcar*):
2868 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2869
45261b50
GM
28702011-11-15 Glenn Morris <rgm@gnu.org>
2871
2872 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2873 in a boolean sense, so just make it a boolean, and fix the doc.
2874 (rmail-show-mime-function, rmail-mime-feature)
2875 (rmail-require-mime-maybe): Doc fixes.
2876 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2877
2878 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2879
0d26e0b6
JB
28802011-11-15 Juanma Barranquero <lekktu@gmail.com>
2881
2882 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2883 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2884 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2885 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2886
447f30f6
GM
28872011-11-15 Glenn Morris <rgm@gnu.org>
2888
672b871d
GM
2889 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2890 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2891 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2892 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2893 (rmail-mime, rmail-show-mime): Doc fixes.
2894
f6aa5bb1
GM
2895 * term/ns-win.el (mode-line-frame-identification):
2896 Leave it alone. (Bug#10051)
2897
947cd66b
GM
2898 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2899
447f30f6
GM
2900 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2901 Handle empty buffers. (Bug#9978)
2902
0b381c7e
JB
29032011-11-14 Juanma Barranquero <lekktu@gmail.com>
2904
2905 * international/mule.el (define-charset):
2906 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2907 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2908 * progmodes/verilog-mode.el (verilog-backward-token):
2909 * textmodes/ispell.el (lookup-words):
2910 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2911
71e027ac
GM
29122011-11-14 Glenn Morris <rgm@gnu.org>
2913
56632ce4
GM
2914 * progmodes/executable.el
2915 (executable-make-buffer-file-executable-if-script-p):
2916 Handle file-modes returning nil.
2917
40500957
GM
2918 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2919 message - not necessary, and causes problems. (Bug#9831)
2920
071c2340
GM
2921 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2922
d3cfca60
GM
2923 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2924
71e027ac
GM
2925 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2926 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
2927 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2928
89d61221
MR
29292011-11-12 Martin Rudalics <rudalics@gmx.at>
2930
2931 * window.el (window-resize, delete-window): Use window-splits
2932 variable instead of function.
2933 (window-state-get-1, window-state-put-2, window-state-put):
2934 Don't deal with windows' splits status.
2935
98282f6f
GM
29362011-11-12 Glenn Morris <rgm@gnu.org>
2937
2938 * apropos.el (apropos-do-all, apropos-library, apropos-value)
2939 (apropos-documentation): Doc fixes.
2940
40a8bdf6
JB
29412011-11-11 Juanma Barranquero <lekktu@gmail.com>
2942
2943 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2944 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2945
65bd19ff
SM
29462011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * electric.el (electric-indent-post-self-insert-function): Make it
2949 possible for a char to only indent in some circumstances.
2950 (electric-indent-mode): Simplify.
2951
54f9154c
MR
29522011-11-11 Martin Rudalics <rudalics@gmx.at>
2953
2954 * window.el (windows-with-parameter): Remove unused function.
2955 (windows-at-side): Rename to window-at-side-list.
2956 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
2957 (window-side-check, window-size-ignore, window-size-fixed-1)
2958 (window-in-direction-2): Prefix with "window--".
2959 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 2960
68cbc58b
GM
29612011-11-11 Glenn Morris <rgm@gnu.org>
2962
2963 * subr.el (eval-after-load): If FILE is already loaded,
2964 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
2965
b2621720
GM
29662011-11-10 Glenn Morris <rgm@gnu.org>
2967
9a4de110
GM
2968 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2969 Call svn via vc-svn-command rather than vc-do-command.
2970 (vc-svn-command): Add --non-interactive. (Bug#9993)
2971 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2972
b2621720
GM
2973 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2974 Add toggle-read-only. (Bug#7292)
2975 * files.el (toggle-read-only): Mention that it should only
2976 be used interactively. (Bug#10006)
2977
1dce7193
SM
29782011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2979
d9ac1a1e
SM
2980 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2981 Adjust regexp for OCaml warnings.
2982
0c325082
SM
2983 * electric.el (electric-pair-post-self-insert-function): Let user
2984 turn it off buffer-locally (bug#9932).
2985
90132c14
SM
2986 * progmodes/python.el (python-beginning-of-statement):
2987 Rewrite (bug#2703).
2988
1dce7193
SM
2989 * progmodes/compile.el: Better handle TABs (bug#9749).
2990 (compilation-internal-error-properties)
2991 (compilation-next-error-function): Obey the target buffer's
2992 compilation-error-screen-columns.
2993
c4e7c63a
JB
29942011-11-09 Juanma Barranquero <lekktu@gmail.com>
2995
2996 * progmodes/meta-mode.el: Remove obsolete comments.
2997 (meta-right-comment-regexp, meta-ignore-comment-regexp):
2998 Fix typos in docstrings.
2999
2cffd681
MR
30002011-11-09 Martin Rudalics <rudalics@gmx.at>
3001
3002 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3003 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3004 (window--resizable): New function. Make all callers of
3005 window-resizable call window--resizable instead.
3006 (window-resizable): Rewrite in terms of window--resizable.
3007
0edcba87
GM
30082011-11-08 Glenn Morris <rgm@gnu.org>
3009
3010 * progmodes/delphi.el (delphi-mode-syntax-table):
3011 Let define-derived-mode define a proper syntax table. (Bug#9994)
3012
4b0d61e3
SM
30132011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3014
3015 * window.el: Stay away from defsubst.
3016 (window-list-no-nils): Remove.
3017 (window-state-get-1, window-state-get): Use backquote instead.
3018
cd394be1 30192011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3020
4b0d61e3 3021 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3022 Fix incorrect use of default argument in `completing-read'.
3023
e1c2c6f2
MR
30242011-11-08 Martin Rudalics <rudalics@gmx.at>
3025
3026 * window.el (display-buffer-function, special-display-function):
3027 Mention display-buffer-record-window but do not mention
3028 help-setup parameter in doc-strings.
b3f4a882 3029 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3030
105216ed
CY
30312011-11-08 Chong Yidong <cyd@gnu.org>
3032
3033 * window.el (window-total-height, window-total-width): Doc fix.
3034 (window-body-size): Move from C.
3035 (window-body-height, window-body-width): Move to C.
3036
0a9f9ab5
SM
30372011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3038
3039 * window.el: Make special-display like display-buffer-alist (bug#9532).
3040 (display-buffer--special-action): New function, morphed
3041 from display-buffer--special.
3042 (display-buffer): Use it to handle special-display-buffers at higher
3043 priority (just after display-buffer-alist).
3044 (display-buffer-fallback-action, display-buffer--other-frame-action)
3045 (pop-to-buffer-same-window): Remove display-buffer--special.
3046
a769dd15
GM
30472011-11-07 Glenn Morris <rgm@gnu.org>
3048
3049 * calendar/cal-menu.el (cal-menu-set-date-title):
3050 Do nothing if not in a calendar. (Bug#9976)
3051
05a61ee3
SM
30522011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3053
3054 * files.el (find-file): Always use selected-window.
3055
be7f5545
MR
30562011-11-07 Martin Rudalics <rudalics@gmx.at>
3057
3058 * window.el (window-combinations): Make WINDOW argument
3059 mandatory. Rewrite doc-string.
3060 (walk-window-subtree, window-atom-check, window-min-delta)
3061 (window-max-delta, window--resize-this-window)
3062 (window--resize-root-window-vertically, window-tree)
3063 (balance-windows, window-state-put): Rewrite doc-strings as to
3064 not mention the term "subwindow".
3065 (window--resize-subwindows-skip-p): Rename to
3066 window--resize-child-windows-skip-p.
3067 (window--resize-subwindows-normal): Rename to
3068 window--resize-child-windows-normal.
3069 (window--resize-subwindows): Rename to
3070 window--resize-child-windows.
3071 (window-or-subwindow-p): Rename to window--in-subtree-p.
3072
3c6702ef
ML
30732011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3074
3075 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3076 Ensure that mbox format messages end in two newlines (Bug#9974).
3077
49745b39
CY
30782011-11-06 Chong Yidong <cyd@gnu.org>
3079
3080 * window.el (window-combination-p): Function deleted; its
3081 side-effect is not used in any existing code.
3082 (window-combinations, window-combined-p): Call window-*-child
3083 directly.
3084
24300f5f
CY
30852011-11-05 Chong Yidong <cyd@gnu.org>
3086
3087 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3088 (window-size-ignore, window-state-get): Callers changed.
3089 (window-normalize-window): Rename from window-normalize-any-window.
3090 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3091 (window-normalize-live-window): Delete.
447f16b8
CY
3092 (window-combination-p, window-combined-p, window-combinations)
3093 (walk-window-subtree, window-atom-root, window-min-size)
3094 (window-sizable, window-sizable-p, window-size-fixed-p)
3095 (window-min-delta, window-max-delta, window-resizable)
3096 (window-resizable-p, window-full-height-p, window-full-width-p)
3097 (window-current-scroll-bars, window-point-1, set-window-point-1)
3098 (window-at-side-p, window-in-direction, window-resize)
3099 (adjust-window-trailing-edge, maximize-window, minimize-window)
3100 (window-deletable-p, delete-window, delete-other-windows)
3101 (record-window-buffer, unrecord-window-buffer)
3102 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3103 (quit-window, split-window, window-state-put)
3104 (set-window-text-height, fit-window-to-buffer)
3105 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3106
89bd5ee1
EZ
31072011-11-04 Eli Zaretskii <eliz@gnu.org>
3108
53479029
EZ
3109 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3110 rfc2047-decode-string.
3111 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3112 warnings.
3113
89bd5ee1
EZ
3114 * window.el (window-body-height, window-body-width): Mention in
3115 the doc string that the return values are in frame's canonical
3116 units. (Bug#9949)
3117
bd17fdee
AM
31182011-11-03 Alan Mackenzie <acm@muc.de>
3119
3120 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3121 change in cc-engine.el.
3122
acc825c5
SM
31232011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3124
3125 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3126
1885e5b8
MR
31272011-11-02 Martin Rudalics <rudalics@gmx.at>
3128
3129 * window.el (quit-window): Call unrecord-window-buffer after
3130 showing another buffer in the window. (Bug#9937)
acc825c5 3131 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3132
ebe06da9
JB
31332011-11-02 Juanma Barranquero <lekktu@gmail.com>
3134
3135 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3136 Accept status with more than 9 shelves. (Bug#9935)
3137 Reported by Colin D Bennett <colin@gibibit.com>.
3138
4ee88440
MR
31392011-11-01 Martin Rudalics <rudalics@gmx.at>
3140
3141 * help.el (with-help-window): Don't reference
3142 temp-buffer-show-specifiers in doc-string.
3143
08e1d82c
AS
31442011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3145
3146 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3147 menu-item.
3148
84bd6e9e
VJL
31492011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3150
3151 * whitespace.el: New version 13.2.2.
3152 (whitespace-newline-mode): Disable properly. Reported by Sarah
3153 <EmacsWiki>.
3154
dba0634a
UJ
31552011-10-30 Ulf Jasper <ulf.jasper@web.de>
3156
3157 * net/newst-treeview.el: Remove "Time-stamp".
3158 (newsticker--group-manage-orphan-feeds): Do not call
3159 newsticker--treeview-tree-update.
db22a3c2
JB
3160 (newsticker-treeview-update, newsticker-treeview):
3161 Call newsticker--treeview-tree-update if necessary.
dba0634a 3162
3d8daefe
MR
31632011-10-30 Martin Rudalics <rudalics@gmx.at>
3164
3165 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3166 (window-iso-combinations): Remove "iso-" infix.
3167 Suggested by Chong Yidong.
3d8daefe
MR
3168 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3169 (window-max-delta-1, window-resize, window--resize-siblings)
3170 (window--resize-this-window, adjust-window-trailing-edge)
3171 (split-window, balance-windows-1)
3172 (shrink-window-if-larger-than-buffer):
3173 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3174 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3175
1bc4c3ae
SM
31762011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3177
3178 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3179 in place (bug#9907).
3180 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3181 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3182 (eshell-structure-basic-command, eshell-rewrite-while-command)
3183 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3184 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3185 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3186 (eshell-do-pipelines-synchronously, eshell-eval-command):
3187 Use backquotes and prefer setq to set.
3188 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3189 (eshell-macrop): Use functionp.
c1e2f5fa 3190 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3191
30b65d9c
CY
31922011-10-30 Chong Yidong <cyd@gnu.org>
3193
3194 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3195 instead of set-mark (Bug#9810).
3196
2d197ffb
CY
31972011-10-30 Chong Yidong <cyd@gnu.org>
3198
3199 * window.el (split-window-below, split-window-right): Rename from
3200 split-window-above-each-other and split-window-side-by-side
3201 respectively. All callers changed.
3202 (split-window-sensibly, split-window-sensibly): Use them.
3203 (split-window-keep-point): Doc fix.
3204
3205 * isearch.el: Add isearch-scroll property to split-window-below
3206 and split-window-right.
3207
3208 * follow.el (follow-mode):
3209 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3210 * progmodes/ada-xref.el (ada-gdb-application):
3211 * emulation/vip.el (vip-buffer-in-two-windows):
3212 * image-dired.el (image-dired-dired-with-window-configuration):
3213 * dired-x.el (dired-do-find-marked-files):
3214 * dired.el (dired-pop-to-buffer):
3215 * bs.el (bs--show-with-configuration):
3216 * vc/emerge.el (emerge-setup-windows):
3217 * textmodes/two-column.el (2C-two-columns):
3218 * textmodes/reftex-toc.el (reftex-toc):
3219 * progmodes/gdb-mi.el (gdb-setup-windows):
3220 * progmodes/fortran.el (fortran-window-create):
3221 * net/newst-treeview.el (newsticker--treeview-window-init):
3222 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3223 * emulation/tpu-edt.el (tpu-gold-map):
3224 * emulation/crisp.el (crisp-mode-map):
3225 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3226
38bb2ca8
CY
32272011-10-29 Chong Yidong <cyd@gnu.org>
3228
aa4de341
CY
3229 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3230
e1eb5385
CY
3231 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3232
5d2ece3c
CY
3233 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3234 forged Ispell output (Bug#7904).
3235
38bb2ca8
CY
3236 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3237
d0af9f77
SM
32382011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3239
3240 * doc-view.el: Avoid ugly errors about not finding nil.
3241 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3242 (doc-view-dvipdf-program, doc-view-unoconv-program)
3243 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3244 Avoid nil or absolute file name as default value.
3245 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3246
52bedd34
AM
32472011-10-28 Alan Mackenzie <acm@muc.de>
3248
db22a3c2 3249 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3250
7e43cfa5
AM
32512011-10-28 Alan Mackenzie <acm@muc.de>
3252
3253 Amend the handling of c-beginning/end-of-defun in nested declaration
3254 scopes.
3255
52bedd34
AM
3256 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3257 cc-langs.el. Change it to a defcustom.
7e43cfa5 3258
52bedd34
AM
3259 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3260 cc-vars.el.
7e43cfa5 3261
d0af9f77
SM
3262 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3263 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3264
52bedd34 3265 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3266 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3267 (c-widen-to-enclosing-decl-scope): New function.
3268 (c-while-widening-to-decl-block): New macro.
3269 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3270 outward for defun boundaries, and correspondingly change symbol
3271 `respect-enclosure' to `go-outward'.
3272 (c-declaration-limits): Change algorithm to report only the "innermost"
3273 defun's boundaries.
3274
1a2ce9ee
DD
32752011-10-28 Deniz Dogan <deniz@dogan.se>
3276
3277 * net/rcirc.el (rcirc-mode): Use hard newlines.
3278
bc97a826
AM
32792011-10-28 Alan Mackenzie <acm@muc.de>
3280
3281 Amend to indent and fontify macros "which include their own semicolon"
3282 correctly, using the "virtual semicolon" mechanism.
3283
52bedd34 3284 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3285
d0af9f77 3286 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3287 Recode to scan one line at a time rather than having \n and \r
58179cce 3288 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3289 (c-forward-label): Amend for virtual semicolons.
58179cce 3290 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3291
52bedd34
AM
3292 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3293 of the new C macros.
bc97a826 3294
52bedd34 3295 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3296 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3297 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3298 (c-opt-cpp-macro-define): Make into a full language variable.
3299 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3300 AWK Mode (including \n, \r) removed, no longer needed.
3301
d0af9f77
SM
3302 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3303 Invoke c-make-macro-with-semi-re.
bc97a826 3304
52bedd34
AM
3305 * progmodes/cc-vars.el (c-macro-with-semi-re):
3306 (c-macro-names-with-semicolon): New variables.
58179cce 3307 (c-make-macro-with-semi-re): New function.
bc97a826 3308
7a6c0941
SM
33092011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * vc/log-edit.el: Fill empty field rather than adding new one.
3312 (log-edit-add-field): New function.
3313 (log-edit-insert-changelog): Use it.
3314
b0c4cdcf
ML
33152011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3316
3317 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3318
ee1f1da9
SM
33192011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3320
3321 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3322 (gdb--check-interpreter): New function.
3323 (gdb): Use it.
3324
51bc5f8b
GM
33252011-10-27 Glenn Morris <rgm@gnu.org>
3326
416a2c45
GM
3327 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3328 (least-positive-float, least-negative-float)
3329 (least-positive-normalized-float, least-negative-normalized-float)
3330 (float-epsilon, float-negative-epsilon):
3331 Remove unnecessary declarations.
3332
3333 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3334 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3335 (least-positive-float, least-negative-float)
3336 (least-positive-normalized-float, least-negative-normalized-float)
3337 (float-epsilon, float-negative-epsilon): Add doc-strings,
3338 based on those in cl.texi.
3339
51bc5f8b
GM
3340 * files.el (set-visited-file-name): If the major-mode changed,
3341 reload the local variables. (Bug#9796)
3342
15de15c6
CY
33432011-10-27 Chong Yidong <cyd@gnu.org>
3344
3345 * subr.el (change-major-mode-after-body-hook): New hook.
3346 (run-mode-hooks): Run it.
3347
ee1f1da9
SM
3348 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3349 Use change-major-mode-before-body-hook.
15de15c6
CY
3350
3351 * simple.el (fundamental-mode):
3352 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3353 change introducing fundamental-mode-hook.
3354
5430d399
JB
33552011-10-26 Juanma Barranquero <lekktu@gmail.com>
3356
acc825c5 3357 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3358
ad74a69e
MA
33592011-10-26 Michael Albinus <michael.albinus@gmx.de>
3360
3361 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3362 tramp.el explicitly. (Bug#7583)
ad74a69e 3363
71d4c2a5
SM
33642011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3365
3366 * progmodes/octave-mod.el:
3367 * progmodes/octave-inf.el: Update maintainer.
3368
b1f6fa26
CY
33692011-10-26 Chong Yidong <cyd@gnu.org>
3370
3371 * subr.el (with-wrapper-hook): Rewrite doc.
3372
3f04efd6
MA
33732011-10-25 Michael Albinus <michael.albinus@gmx.de>
3374
3375 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3376 filenames "/method:foo:". (Bug#9793)
3f04efd6 3377
410488d3
SM
33782011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3379
3380 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3381 (bug#9865).
3382
c1ebb47e
GM
33832011-10-24 Glenn Morris <rgm@gnu.org>
3384
3385 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3386
7f5c46c7
MA
33872011-10-24 Michael Albinus <michael.albinus@gmx.de>
3388
3389 * notifications.el: Add the requirement of a running D-Bus session
3390 bus to the Commentary.
3391
db2440b6
JL
33922011-10-24 Juri Linkov <juri@jurta.org>
3393
3394 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3395 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3396 (Bug#9364)
3397
feecf435
JL
33982011-10-24 Juri Linkov <juri@jurta.org>
3399
3400 * info.el (Info-following-node-name-re): Add newline to the list
3401 of allowed characters for leading space. (Bug#9824)
3402
a3839de2
SM
34032011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3404
acc825c5
SM
3405 * progmodes/octave-inf.el (inferior-octave-mode-map):
3406 Fix C-c C-h binding.
a3839de2
SM
3407 * progmodes/octave-mod.el (octave-help): Remove.
3408
09388e76
MA
34092011-10-23 Michael Albinus <michael.albinus@gmx.de>
3410
3411 Sync with Tramp 2.2.3.
3412
3413 * net/tramp-cache.el (top): Pacify byte-compiler using
3414 `init-file-user' and `site-run-file'.
3415
3416 * net/trampver.el: Update release number.
3417
86c60681
CY
34182011-10-23 Chong Yidong <cyd@gnu.org>
3419
3420 * files.el (toggle-read-only): Remove obsolete comment about
3421 version control.
3422
3423 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3424 for toggle-read-only. Note that this hasn't called vc-next-action
3425 since 2008-05-02, though it wasn't documented at the time.
3426
a3839de2
SM
3427 * vc/ediff-init.el (ediff-toggle-read-only-function):
3428 Use toggle-read-only.
86c60681 3429
cd5495ff
AM
34302011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3431
3432 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3433 of c-parse-state.
3434
00b77525 3435 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3436 correct faulty logical expression.
cd5495ff
AM
3437 (c-parse-state-state, c-record-parse-state-state):
3438 (c-replay-parse-state-state): New defvar/defuns.
3439 (c-debug-parse-state): Use new functions.
3440
42ee24ed
MR
34412011-10-22 Martin Rudalics <rudalics@gmx.at>
3442
3443 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3444 last fix. Use window-in-direction correctly.
42ee24ed 3445
a7dee7e7
CY
34462011-10-21 Chong Yidong <cyd@gnu.org>
3447
3448 * progmodes/idlwave.el (idlwave-mode):
3449 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3450 require-final-newline; that's done in prog-mode.
3451 Suggested by Stefan Monnier.
a7dee7e7 3452
e07b9a6d
MR
34532011-10-21 Martin Rudalics <rudalics@gmx.at>
3454
3455 * mouse.el (mouse-drag-window-above)
3456 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3457 (mouse-drag-mode-line-1, mouse-drag-header-line)
3458 (mouse-drag-vertical-line-rightward-window): Remove.
3459 (mouse-drag-line): New function.
3460 (mouse-drag-mode-line, mouse-drag-header-line)
3461 (mouse-drag-vertical-line): Call mouse-drag-line.
3462 * window.el (window-at-side-p, windows-at-side): New functions.
3463
7e1361d9
UM
34642011-10-21 Ulrich Mueller <ulm@gentoo.org>
3465
3466 * tar-mode.el (tar-grind-file-mode):
3467 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3468
30fcaf3a
CY
34692011-10-21 Chong Yidong <cyd@gnu.org>
3470
3471 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3472 * progmodes/vera-mode.el (vera-mode):
3473 Use mode-require-final-newline.
30fcaf3a 3474
516eddb0
GM
34752011-10-20 Glenn Morris <rgm@gnu.org>
3476
db22a3c2 3477 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3478
10d5f513
CS
34792011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3480
3481 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3482
ac6c8639
CY
34832011-10-20 Chong Yidong <cyd@gnu.org>
3484
3485 * emulation/cua-base.el (cua-mode):
3486 * mail/footnote.el (footnote-mode):
3487 * mail/mailabbrev.el (mail-abbrevs-mode):
3488 * net/xesam.el (xesam-minor-mode):
3489 * progmodes/bug-reference.el (bug-reference-mode):
3490 * progmodes/cap-words.el (capitalized-words-mode):
3491 * progmodes/compile.el (compilation-minor-mode)
3492 (compilation-shell-minor-mode):
3493 * progmodes/gud.el (gud-tooltip-mode):
3494 * progmodes/hideif.el (hide-ifdef-mode):
3495 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3496 * progmodes/subword.el (subword-mode):
3497 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3498 * progmodes/which-func.el (which-function-mode):
3499 * term/tvi970.el (tvi970-set-keypad-mode):
3500 * term/vt100.el (vt100-wide-mode):
3501 * textmodes/flyspell.el (flyspell-mode):
3502 * textmodes/ispell.el (ispell-minor-mode):
3503 * textmodes/nroff-mode.el (nroff-electric-mode):
3504 * textmodes/paragraphs.el (use-hard-newlines):
3505 * textmodes/refill.el (refill-mode):
3506 * textmodes/reftex.el (reftex-mode):
3507 * textmodes/rst.el (rst-minor-mode):
3508 * textmodes/sgml-mode.el (html-autoview-mode)
3509 (sgml-electric-tag-pair-mode):
3510 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3511 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3512 * emulation/crisp.el (crisp-mode):
3513 * emacs-lisp/eldoc.el (eldoc-mode):
3514 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3515 minor mode behavior.
3516
aa42ab43
JL
35172011-10-19 Juri Linkov <juri@jurta.org>
3518
3519 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3520 the list of hard-coded chars with escape-glyph face.
3521
89400f1d
SM
35222011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3523
3524 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3525
305c07f6
MA
35262011-10-19 Michael Albinus <michael.albinus@gmx.de>
3527
3528 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3529 running process.
3530
13754b54
GM
35312011-10-19 Glenn Morris <rgm@gnu.org>
3532
3533 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3534 Ignore ignored files. (Bug#9726)
3535
06e21633
CY
35362011-10-19 Chong Yidong <cyd@gnu.org>
3537
3538 Doc fix for minor modes, stating that an omitted argument enables
3539 the mode unconditionally when called from Lisp.
3540
3541 * abbrev.el (abbrev-mode):
3542 * allout.el (allout-mode):
3543 * autoinsert.el (auto-insert-mode):
3544 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3545 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3546 (global-auto-revert-mode):
3547 * battery.el (display-battery-mode):
3548 * composite.el (global-auto-composition-mode)
3549 (auto-composition-mode):
3550 * delsel.el (delete-selection-mode):
3551 * desktop.el (desktop-save-mode):
3552 * dired-x.el (dired-omit-mode):
3553 * dirtrack.el (dirtrack-mode):
3554 * doc-view.el (doc-view-minor-mode):
3555 * double.el (double-mode):
3556 * electric.el (electric-indent-mode, electric-pair-mode):
3557 * emacs-lock.el (emacs-lock-mode):
3558 * epa-hook.el (auto-encryption-mode):
3559 * follow.el (follow-mode):
3560 * font-core.el (font-lock-mode):
3561 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3562 * help.el (temp-buffer-resize-mode):
3563 * hilit-chg.el (highlight-changes-mode)
3564 (highlight-changes-visible-mode):
3565 * hi-lock.el (hi-lock-mode):
3566 * hl-line.el (hl-line-mode, global-hl-line-mode):
3567 * icomplete.el (icomplete-mode):
3568 * ido.el (ido-everywhere):
3569 * image-file.el (auto-image-file-mode):
3570 * image-mode.el (image-minor-mode):
3571 * iswitchb.el (iswitchb-mode):
3572 * jka-cmpr-hook.el (auto-compression-mode):
3573 * linum.el (linum-mode):
3574 * longlines.el (longlines-mode):
3575 * master.el (master-mode):
3576 * mb-depth.el (minibuffer-depth-indicate-mode):
3577 * menu-bar.el (menu-bar-mode):
3578 * minibuf-eldef.el (minibuffer-electric-default-mode):
3579 * mouse-sel.el (mouse-sel-mode):
3580 * msb.el (msb-mode):
3581 * mwheel.el (mouse-wheel-mode):
3582 * outline.el (outline-minor-mode):
3583 * paren.el (show-paren-mode):
3584 * recentf.el (recentf-mode):
3585 * reveal.el (reveal-mode, global-reveal-mode):
3586 * rfn-eshadow.el (file-name-shadow-mode):
3587 * ruler-mode.el (ruler-mode):
3588 * savehist.el (savehist-mode):
3589 * scroll-all.el (scroll-all-mode):
3590 * scroll-bar.el (scroll-bar-mode):
3591 * server.el (server-mode):
3592 * shell.el (shell-dirtrack-mode):
3593 * simple.el (auto-fill-mode, transient-mark-mode)
3594 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3595 (line-number-mode, column-number-mode, size-indication-mode)
3596 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3597 * strokes.el (strokes-mode):
3598 * time.el (display-time-mode):
3599 * t-mouse.el (gpm-mouse-mode):
3600 * tool-bar.el (tool-bar-mode):
3601 * tooltip.el (tooltip-mode):
3602 * type-break.el (type-break-mode-line-message-mode)
3603 (type-break-query-mode):
3604 * view.el (view-mode):
3605 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3606 (global-whitespace-mode, global-whitespace-newline-mode):
3607 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3608
a3839de2
SM
3609 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3610 Fix autogenerated docstring.
06e21633 3611
5214e501
JL
36122011-10-19 Juri Linkov <juri@jurta.org>
3613
3614 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3615 by checking environment variables "DESKTOP_SESSION" and
3616 "XDG_CURRENT_DESKTOP". (Bug#9779)
3617
195f8db9
JL
36182011-10-19 Juri Linkov <juri@jurta.org>
3619
3620 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3621 (browse-url-chromium-program, browse-url-chromium-arguments):
3622 New defcustoms.
3623 (browse-url-default-browser): Check for `browse-url-chromium' and
3624 call `browse-url-chromium-program'.
3625 (browse-url-chromium): New command. (Bug#9779)
3626
343a34ff
JB
36272011-10-18 Juanma Barranquero <lekktu@gmail.com>
3628
3629 * facemenu.el (list-colors-duplicates): On Windows, detect more
3630 duplicates by assuming that only colors matching "^System" are
3631 special "system colors". (Bug#9722)
3632
6978a151
SM
36332011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3634
3635 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3636 to distinguish the author from the committer.
3637
6a80b297
MA
36382011-10-18 Michael Albinus <michael.albinus@gmx.de>
3639
3640 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3641
b31a5677
JK
36422011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3643
3644 * international/mule.el (sgml-html-meta-auto-coding-function):
3645 Add support for detecting encoding in HTML5 specified only as
3646 <meta charset="UTF-8">. Implementation just makes http-equiv and
3647 content-type parts from HTML4 encoding string optional. (Bug#9716)
3648
80c6d77f
GM
36492011-10-18 Glenn Morris <rgm@gnu.org>
3650
3651 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3652
08b0fee8
CY
36532011-10-18 Chong Yidong <cyd@gnu.org>
3654
3655 * faces.el (cursor): Doc fix.
3656
67e729a5
CY
36572011-10-17 Chong Yidong <cyd@gnu.org>
3658
3659 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3660
343a34ff 36612011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3662
3663 * dirtrack.el (dirtrack): Support shell buffers with path
3664 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3665
0bc06380
TZ
36662011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3667
3668 * json.el: Bump version to 1.3 and note change in History.
3669 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3670
8b79f3e0
SM
36712011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3672
5a7c536b
SM
3673 * comint.el (comint-insert-input, comint-send-input)
3674 (comint-get-old-input-default, comint-backward-matching-input)
3675 (comint-next-prompt): Use nil instead of `input' for field property of
3676 past user input (bug#114).
3677
96a8a0df
SM
3678 * minibuffer.el (completion--replace): Inherit surrounding properties
3679 (bug#114).
3680 (minibuffer-complete-and-exit): Use it.
3681
8b79f3e0
SM
3682 * comint.el (comint--table-subvert): Quote the all-completions output
3683 (bug#9160).
3684
b8f7ff0d
MR
36852011-10-17 Martin Rudalics <rudalics@gmx.at>
3686
8b79f3e0 3687 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3688
b8f7ff0d 3689 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3690 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3691 entries and separate them from frame entries.
3692
c235b555
GM
36932011-10-15 Glenn Morris <rgm@gnu.org>
3694
3695 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3696 Doc fixes.
3697
6bbfa6e1
CY
36982011-10-15 Chong Yidong <cyd@stupidchicken.com>
3699
8b79f3e0
SM
3700 * net/network-stream.el (network-stream-open-starttls):
3701 Improve detection of failure due to lack of TLS support.
ec5c990d 3702
6bbfa6e1
CY
3703 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3704 putting the input text in front and in bold.
3705
98488977
SM
37062011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3707
3d1337be
SM
3708 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3709
ee0b45e4
SM
3710 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3711 empty buffer.
3712
98488977
SM
3713 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3714 unread-command-events rather than pushing yet-another event.
3715
186f4720
EZ
37162011-10-14 Eli Zaretskii <eliz@gnu.org>
3717
3718 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3719 the explanation of the possible choices. Make the options passed
3720 to completing-read shorter.
3721
8b7a997c
AM
37222011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3723
3724 * textmodes/flyspell.el (flyspell-large-region): Make sure
3725 extended character mode is used if defined (Bug#1339).
3726
12587bbb
EZ
37272011-10-13 Eli Zaretskii <eliz@gnu.org>
3728
3729 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3730 character info for LRE, LRO, RLE, and RLO characters by appending
3731 an invisible PDF.
12587bbb 3732
bad41229
SM
37332011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3736 even in case of error; add debug spec; simplify data flow.
3737 (with-timeout-handler): Remove.
3738
28dbc92f
MA
37392011-10-12 Michael Albinus <michael.albinus@gmx.de>
3740
3741 Fix Bug#6019, Bug#9315.
3742
3743 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3744 complete `buffer-file-name', the local file name part could look
3745 remotely (for example on VMS).
3746
3747 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3748 `tramp-run-real-handler'.
3749 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3750 already quoted by '"'.
3751
3752 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3753 Let `file-name-handler-alist' be nil, the local file name part
3754 could look remotely (for example on VMS).
3755
e1b0b23a
SM
37562011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3757
3758 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3759 from here...
3760 (flyspell-post-command-hook): ...to here.
3761
a120bde9
SM
37622011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3763
3764 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3765 if not needed.
3766 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3767 using completion. Protect against "slow" callers.
3768 Remove the "message hack".
3769
7ce7717b
JL
37702011-10-11 Juri Linkov <juri@jurta.org>
3771
3772 * isearch.el (isearch-lazy-highlight-word): New variable.
3773 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3774 Use it. (Bug#9727)
3775
c02ee9d6
GM
37762011-10-11 Glenn Morris <rgm@gnu.org>
3777
3778 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3779 like f90-previous-statement does.
3780
93e616fd 37812011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3782
1f190e73 3783 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3784 only in interactive use, to avoid error.
3785
af7b6078
SM
37862011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3787
3788 * minibuffer.el (completion-file-name-table): Fix last change,
3789 i.e. ignore normal errors but not the other ones.
3790
0563dae9
MR
37912011-10-10 Martin Rudalics <rudalics@gmx.at>
3792
3793 * window.el (special-display-buffer-names)
3794 (special-display-regexps): Remove some remnants of earlier
3795 changes from doc-strings.
366ca7f3
MR
3796 (quit-windows-on): New function.
3797
3798 * vc/vc.el (vc-revert, vc-rollback):
3799 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3800 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3801 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3802
49677495
MR
38032011-10-09 Martin Rudalics <rudalics@gmx.at>
3804
3805 * window.el (frame-auto-hide-function): Add version tag.
3806 (Bug#9699)
3807
56f2d1e1
MA
38082011-10-09 Michael Albinus <michael.albinus@gmx.de>
3809
3810 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3811 condition.
3812
112a6592
LL
38132011-10-09 Leo Liu <sdl.web@gmail.com>
3814
3815 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3816 (Bug#9701)
3817
0812589b
GM
38182011-10-08 Glenn Morris <rgm@gnu.org>
3819
3820 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3821 before the first code statement zero indent. (Bug#9690)
3822
b2b0776e
CY
38232011-10-08 Chong Yidong <cyd@stupidchicken.com>
3824
3825 * simple.el (count-words-region): Always count in the region.
3826 Report the number of lines and characters too.
3827 (count-words): New command, which counts in the buffer if the
3828 region is inactive, as count-words-region used to.
3829 (count-words--message): New function. Handle plurals.
3830 (count-lines-region): Make it an alias for count-words-region.
3831
3832 * bindings.el (esc-map): Replace count-lines-region with
3833 count-words-region.
3834
c557cd6b
MR
38352011-10-08 Martin Rudalics <rudalics@gmx.at>
3836
3837 * window.el (window--delete): Delete dedicated frame
3838 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3839 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3840
61a57ef4 38412011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3842
3a7d293b 3843 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3844
c3833279
CY
38452011-10-07 Chong Yidong <cyd@stupidchicken.com>
3846
3847 * bindings.el ([M-left],[M-right]): Bind to left-word and
3848 right-word respectively.
3849
21ce8245
GM
38502011-10-07 Glenn Morris <rgm@gnu.org>
3851
3852 * cus-start.el (debug-on-quit): Fix custom type.
3853
6d823bb2
LMI
38542011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3855
0181e193
LMI
3856 * subr.el (define-key-after): Clarify that the function is not
3857 useful for non-menu keymaps.
3858
6d823bb2
LMI
3859 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3860
8e3459ce 38612011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3862
21ce8245 3863 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3864 in current minibuffer (Fix bug with recursive minibuffers).
3865
a1c2d21e
CY
38662011-10-06 Chong Yidong <cyd@stupidchicken.com>
3867
3868 * progmodes/gdb-mi.el (gdb): Doc fix.
3869
5a4cf282
MR
38702011-10-05 Martin Rudalics <rudalics@gmx.at>
3871
3872 * window.el (frame-auto-hide-function): New option replacing
3873 frame-auto-delete. Suggested by Stefan Monnier.
3874 (window--delete): Call frame-auto-hide-function instead of
3875 investigating frame-auto-delete.
c96111ea
MR
3876 (window-point-1, set-window-point-1): New functions.
3877 (window-in-direction, record-window-buffer, window-state-get-1)
3878 (display-buffer-record-window): Use window-point-1 instead of
3879 window-point.
3880 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3881
9854542e
SM
38822011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3883
3884 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3885
8943cfb0
GM
38862011-10-05 Glenn Morris <rgm@gnu.org>
3887
3888 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3889 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3890
647ab967
LL
38912011-10-05 Leo Liu <sdl.web@gmail.com>
3892
3893 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3894 works with buffer object.
3895
3ddfbced
SM
38962011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3897
3898 * mpc.el (mpc-tool-bar-map): Add labels.
3899
bdfa5dd2
GM
39002011-10-04 Glenn Morris <rgm@gnu.org>
3901
3902 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3903
0e2070b5
MR
39042011-10-04 Martin Rudalics <rudalics@gmx.at>
3905
3906 * window.el (window--delete): New function.
3907 (frame-auto-delete): Resuscitate option.
3908 (bury-buffer, replace-buffer-in-windows)
3909 (quit-window): Rewrite using window--delete.
3910 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3911 Pass display-buffer-mark-dedicated to window--display-buffer-2
3912 (Bug#9639).
3913
3dc61a09
SM
39142011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3915
915a9b64
SM
3916 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3917 returns a list (bug#9554). Add remote file name completion.
3918 * comint.el (comint--table-subvert): Curry and get quote&unquote
3919 functions as arguments.
3920 (comint--complete-file-name-data): Adjust call accordingly.
3921 * pcomplete.el (pcomplete--table-subvert): Remove.
3922 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3923
3dc61a09
SM
3924 * minibuffer.el (completion-table-case-fold): Use currying.
3925 (completion--styles-type, completion--cycling-threshold-type):
3926 New constants.
3927 (completion-styles, completion-category-overrides)
3928 (completion-cycle-threshold): Use them.
3929 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3930 completion-table-case-fold.
3931
8ea0a993
SB
39322011-10-03 Stephen Berman <stephen.berman@gmx.net>
3933
3934 * minibuffer.el (completion-category-overrides): Fix type of styles
3935 and add more user friendly tags (bug#9660).
3936
8c24b7f6
SM
39372011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3940 (mule-input-method-string): New widget.
3941 (default-input-method, language-info-custom-alist): Use it.
3942
428fe61a
SM
39432011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3944
32c1fffd
SM
3945 * pcomplete.el: Require comint.
3946 (pcomplete--common-suffix): Remove.
3947 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3948 (pcomplete--table-subvert): Sync with comint--table-subvert.
3949 (pcomplete--entries): Use comint-completion-file-name-table.
3950 * comint.el (comint-unquote-filename): Simplify.
3951 (comint-completion-file-name-table): New function (bug#9616).
3952 (comint--complete-file-name-data): Use it.
3953
428fe61a
SM
3954 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3955 (pcmpl-gnu-tar-buffer): Remove.
3956 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
3957 around. Make sure pcomplete-suffix-list is only changed temporarily.
3958 Don't look inside the tar's file if it's too large.
428fe61a 3959
04c52e2f
CY
39602011-10-01 Chong Yidong <cyd@stupidchicken.com>
3961
ce3cefcc
CY
3962 * cus-edit.el (custom-mode-map):
3963 * epa.el (epa-key-list-mode-map):
3964 * man.el (Man-mode-map):
3965 * startup.el (splash-screen-keymap):
3966 * simple.el (special-mode-map): Use scroll-up-command and
3967 scroll-down-command.
3968
3969 * progmodes/idlw-help.el (idlwave-help-mode-map):
3970 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3971 * net/newst-plainview.el (newsticker-mode-map):
3972 * emulation/ws-mode.el (wordstar-mode-map):
3973 * emulation/vi.el (vi-com-map):
3974 * calc/calc-graph.el (calc-graph-show-dumb):
3975 * term/sun.el (terminal-init-sun):
3976 * term/ns-win.el (global-map):
3977 * progmodes/grep.el (grep-mode-map):
3978 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3979 * mail/rmail.el (rmail-mode-map):
3980 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3981
04c52e2f
CY
3982 * custom.el (custom-safe-themes, load-theme): Treat value of t for
3983 custom-safe-themes as special.
3984
79adf8c8
JD
39852011-10-01 Julien Danjou <julien@danjou.info>
3986
3987 * notifications.el (notifications-notify): Fix docstring.
3988
63bd50d3
PS
39892011-10-01 Per Starbäck <per@starback.se>
3990
3991 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
3992
199e4c7e
MR
39932011-09-30 Martin Rudalics <rudalics@gmx.at>
3994
3995 * startup.el (command-line-1): Fix last fix by inserting
3996 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 3997 (Bug#9605) and (Bug#9636)
199e4c7e 3998
fe5f08dd
EZ
39992011-09-29 Eli Zaretskii <eliz@gnu.org>
4000
4001 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4002 window is hscrolled, move by logical lines. (Bug#9607)
4003 (line-move-visual): Update the doc string to the above effect.
4004
b5516bbd
MR
40052011-09-29 Martin Rudalics <rudalics@gmx.at>
4006
ccee00c0
MR
4007 * window.el (display-buffer-record-window): When WINDOW is the
4008 selected window use `point' instead of `window-point'. (Bug#9626)
4009
b5516bbd
MR
4010 * startup.el (command-line-1): Use insert-before-markers when
4011 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4012
b5516bbd
MR
4013 * help.el (help-window): Remove variable.
4014
52aa0014
GM
40152011-09-29 Glenn Morris <rgm@gnu.org>
4016
4017 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4018
df9a7357
JB
40192011-09-29 Juanma Barranquero <lekktu@gmail.com>
4020
4021 * descr-text.el (describe-char-categories): Accept category
4022 descriptions more than one line long.
4023
a8406c20
SM
40242011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4025
88d9610c
SM
4026 * simple.el (delete-trailing-whitespace): Fix last change.
4027
a5daf810
SM
4028 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4029 Don't confuse "y => 3" as the beginning of a `y' operation.
4030
a8406c20
SM
4031 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4032 object has more than 4 slots (bug#9613).
4033
a239d4e9
JB
40342011-09-28 Juanma Barranquero <lekktu@gmail.com>
4035
4036 * subr.el (with-output-to-temp-buffer):
4037 * net/quickurl.el (quickurl, quickurl-browse-url):
4038 Fix typos in docstrings.
4039
693fbdb6
EZ
40402011-09-27 Eli Zaretskii <eliz@gnu.org>
4041
4042 * minibuffer.el (completion-styles)
4043 (completion-category-overrides): Cross reference each other in doc
4044 strings.
4045
8b457e28
GM
40462011-09-27 Glenn Morris <rgm@gnu.org>
4047
4048 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4049 to split-string. (Bug#9606)
4050
85a16208
LMI
40512011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4052
4053 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4054 (bug#9615).
4055
502f9ebd
CY
40562011-09-27 Chong Yidong <cyd@stupidchicken.com>
4057
4058 * emacs-lisp/package.el (list-packages): Fix echo area message.
4059
7690bdea
LL
40602011-09-27 Leo Liu <sdl.web@gmail.com>
4061
4062 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4063
e2ee6f30
MA
40642011-09-25 Michael Albinus <michael.albinus@gmx.de>
4065
4066 * net/dbus.el (dbus-unregister-object): Don't release services for
4067 registered signals. (Bug#9581)
4068
f3f98342
TZ
40692011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4070
4071 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4072 function that picks between cfengine 2 and 3 support
4073 automatically. Update docs accordingly.
4074
dd7aa8dd
KH
40752011-09-22 Kenichi Handa <handa@m17n.org>
4076
4077 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4078 ZERO.
4079 (indian-itrans-v5-table-for-tamil): New variable.
4080 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4081
3f2b07f8
KM
40822011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4083
4084 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4085 that's true if the current command involved collapsing of text.
4086 It's reset to false at the beginning of the next command.
4087 (allout-post-command-business): Move the cursor to the beginning
4088 of entry if the cursor is hidden and collapsing activity just
4089 happened.
4090
371d6a61
CY
40912011-09-24 Chong Yidong <cyd@stupidchicken.com>
4092
4093 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4094 tracking (Bug#9541).
4095
2ac2721a
UJ
40962011-09-24 Ulf Jasper <ulf.jasper@web.de>
4097
4098 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4099 (newsticker-show-news): Automatically load html rendering package
4100 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4101 because w3m-fill-column is let-bound" and the error "Symbol's value
4102 as variable is void: w3m-fill-column".
2ac2721a 4103
fac7ae53
MA
41042011-09-24 Michael Albinus <michael.albinus@gmx.de>
4105
4106 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4107 Release services only if they are defined. (Bug#9581)
4108
e08b633b
RS
41092011-09-23 Richard Stallman <rms@gnu.org>
4110
e488d29c
RS
4111 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4112 distinguish start of paragraph from start of its text.
4113
19c38752
RS
4114 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4115
e08b633b
RS
4116 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4117 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4118 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4119
0a39f27e
AS
41202011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4121
4122 * international/mule-diag.el (mule-diag): Insert a newline after
4123 each fontset description.
4124
db4e950d
SM
41252011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 * simple.el (delete-trailing-whitespace):
4128 Document last change; simplify.
4129
eca3f3ea
PW
41302011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4131
d68e189a
PW
4132 * simple.el (delete-trailing-whitespace): Also delete
4133 extra newlines at the end of the buffer.
4134
eca3f3ea
PW
4135 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4136 (picture-newline): Use forward-line so as to ignore fields.
4137
01c157cc
SM
41382011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4139
4140 * subr.el (with-wrapper-hook): Fix edebug spec.
4141
022de23e
LMI
41422011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4143
4144 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4145 (bug#4538).
4146
91683089
MA
41472011-09-23 Michael Albinus <michael.albinus@gmx.de>
4148
eca3f3ea
PW
4149 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4150 Fix nasty bug using wrong cached values.
91683089 4151
5bdd6fa4
AM
41522011-09-23 Alan Mackenzie <acm@muc.de>
4153
4154 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4155
97adfb97
CY
41562011-09-23 Chong Yidong <cyd@stupidchicken.com>
4157
4158 * window.el (pop-to-buffer): Ensure right window is selected if we
4159 chose another frame.
4160
d4ef2b50
EZ
41612011-09-22 Eli Zaretskii <eliz@gnu.org>
4162
4163 * simple.el (what-cursor-position): Use get-char-property-change
4164 and next-single-char-property-change, to be able to show display
4165 properties that come from overlays as well as text properties.
4166
72258fe5
CY
41672011-09-22 Chong Yidong <cyd@stupidchicken.com>
4168
4169 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4170
4171 * cmuscheme.el (run-scheme, switch-to-scheme):
4172 * cus-edit.el (customize-group, custom-buffer-create)
4173 (customize-browse):
4174 * info.el (info):
4175 * shell.el (shell):
4176 * mail/sendmail.el (mail):
4177 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4178
8f098516
RS
41792011-09-22 Richard Stallman <rms@gnu.org>
4180
4181 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4182 move back only to line beg, don't move back over blank lines.
4183
e74f1bb6
MA
41842011-09-22 Michael Albinus <michael.albinus@gmx.de>
4185
4186 * files.el (copy-directory): Set directory attributes only in case
4187 they could be retrieved from the source directory. (Bug#9565)
4188
bfeef8b6
DK
41892011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4190
4191 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4192 (hs-find-block-beginning, hs-hide-level-recursive):
4193 Ignore strings as well as comments. (Bug#9502)
4194
7e423bb8
AS
41952011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4196
4197 * progmodes/sql.el (sql-comint-postgres):
4198 Convert port number to a string. (Bug#9566)
4199
b4d72fcf
MR
42002011-09-22 Martin Rudalics <rudalics@gmx.at>
4201
4202 * window.el (quit-window): Undedicate window when switching to
4203 previous buffer. Reported by Thierry Volpiatto
4204 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4205 (special-display-popup-frame): When popping up a new frame reset
4206 its previous buffers to nil. Simplify code.
b4d72fcf 4207
a7b88dc6
MA
42082011-09-21 Michael Albinus <michael.albinus@gmx.de>
4209
4210 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4211 and process filter, as done also in `shell-command'.
4212
cf4eacfd
MR
42132011-09-21 Martin Rudalics <rudalics@gmx.at>
4214
eca3f3ea 4215 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4216 Call set-window-start with NOFORCE argument t.
4217 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4218 (quit-window): Reword doc-string. Handle new format of
4219 quit-restore parameter. Don't delete window if it has a
4220 previous buffer we can show instead of the present one.
4221 (display-buffer-record-window): Rewrite using a new format for
4222 the quit-restore window parameter
4223 (special-display-popup-frame, display-buffer-same-window)
4224 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4225 (display-buffer-pop-up-window, display-buffer-use-some-window):
4226 Adapt symbol passed to display-buffer-record-window.
4227 * help.el (help-window-setup): Handle new format of quit-restore
4228 parameter.
4229
8d28cb95
SM
42302011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4231
94ab793f
SM
4232 * faces.el (face-list): Fix docstring (bug#9564).
4233
8d28cb95
SM
4234 * window.el (display-buffer--action-function-custom-type):
4235 Don't include internal functions in the Custom interface.
4236
3820edeb
JL
42372011-09-20 Juri Linkov <juri@jurta.org>
4238
4239 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4240 (Info-forward-node, Info-backward-node, Info-next-preorder)
4241 (Info-last-preorder): Use it. (Bug#9528)
4242
5147931d
JL
42432011-09-20 Juri Linkov <juri@jurta.org>
4244
4245 * info.el (Info-last-preorder): Visit last menu item only when
4246 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4247
cf499a1a
JD
42482011-09-20 Julien Danjou <julien@danjou.info>
4249
4250 * password-cache.el (password-cache-remove): Remove entries even if the
4251 value is nil, so that password with a nil value (negative caching) is
4252 possible to invalidate.
4253
f84e2fe2
LM
42542011-09-20 Lawrence Mitchell <wence@gmx.li>
4255
4256 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4257 all whitespace around breakpoint. (Bug#9553)
4258 (f90-find-breakpoint): Only break at whitespace inside a comment.
4259
78054a46
SM
42602011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4261
4262 * minibuffer.el (completion-file-name-table): Keep track of errors.
4263 (completion-table-with-predicate): Handle the case where pred1 is nil.
4264 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4265
345083b2
SM
42662011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4267
e24e27be
SM
4268 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4269 (debugger-return-value): Signal an error if the debugging context does
4270 not await any return value.
4271
345083b2
SM
4272 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4273 * image-mode.el (image-toggle-display-text)
4274 (image-toggle-display-image): Stay away from evil `intangible'.
4275
08d355e3
LL
42762011-09-19 Leo Liu <sdl.web@gmail.com>
4277
4278 * replace.el (occur-revert-arguments): Make it permanent-local.
4279 (occur-mode): Don't call font-lock-defontify.
4280
f01da43f
CY
42812011-09-19 Chong Yidong <cyd@stupidchicken.com>
4282
4283 * net/ldap.el (ldap-search-internal): Don't push empty search
4284 result (Bug#9508).
4285
b6072fa6
SM
42862011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4289
443d6696
MA
42902011-09-19 Michael Albinus <michael.albinus@gmx.de>
4291
4292 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4293 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4294
7cc6e154
JL
42952011-09-18 Juri Linkov <juri@jurta.org>
4296
4297 * buff-menu.el (Buffer-menu-mode-map):
4298 * dired.el (dired-mode-map):
4299 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4300 (lisp-interaction-mode-map):
4301 * emacs-lisp/package.el (package-menu-mode-map):
4302 * epa.el (epa-key-list-mode-map):
4303 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4304 (menu-bar-options-menu):
4305 * outline.el (outline-mode-menu-bar-map):
4306 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4307 * vc/vc-dir.el (vc-dir-menu-map):
4308 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4309 Capitalize non-function content words in menu item strings.
4310
4311 * dired.el (dired-mode-map): Add menu item for
4312 `image-dired-dired-toggle-marked-thumbs'.
4313
80302a81
JL
43142011-09-18 Juri Linkov <juri@jurta.org>
4315
4316 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4317 to `isearch-case-fold-search' and restore its original value
4318 after the `isearch-mode' call.
4319
46c5cf66
JL
43202011-09-18 Juri Linkov <juri@jurta.org>
4321
4322 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4323 because `zgrep' returns 1 for successful matches (bug#9226).
4324
d18b513b
JL
43252011-09-18 Juri Linkov <juri@jurta.org>
4326
4327 * info.el (Info-extract-menu-node-name): Check the second match
4328 for empty string (second test-case of bug#9528).
4329 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4330 intermediate nodes to the history (first test-case of bug#9528).
4331
72753f87
JL
43322011-09-18 Juri Linkov <juri@jurta.org>
4333
4334 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4335 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4336
c9384295
JL
43372011-09-18 Juri Linkov <juri@jurta.org>
4338
1154d12e
JB
4339 * info.el (Info-file-supports-index-cookies):
4340 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4341 outputs one more line for long file names (bug#4142).
c9384295 4342
d473dce8
CY
43432011-09-18 Chong Yidong <cyd@stupidchicken.com>
4344
4345 * newcomment.el (comment-normalize-vars): If prompting for
4346 comment-start, set comment-start-skip too (Bug#8424).
4347
2176854d
JB
43482011-09-18 Johan Bockgård <bojohan@gnu.org>
4349
4350 * icomplete.el: Fix previous fix of Bug#5849.
4351 (icomplete-mode): Don't set completion-show-inline-help.
4352 (icomplete-minibuffer-setup): Set completion-show-inline-help
4353 locally during icompletion.
4354
3aace4e4
CY
43552011-09-18 Chong Yidong <cyd@stupidchicken.com>
4356
c940224f
CY
4357 * woman.el (woman2-process-escapes): Don't delete unrecognized
4358 escapes (Bug#7843).
4359
3aace4e4
CY
4360 * files.el (inhibit-first-line-modes-regexps): Add image files.
4361 (hack-local-variables-prop-line): Return nil for malformed
4362 prop-lines (Bug#9044).
4363
710dec63
MA
43642011-09-18 Michael Albinus <michael.albinus@gmx.de>
4365
4366 * net/tramp.el (top): Don't require 'shell.
4367 (tramp-methods): Fix docstring.
4368 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4369 Return complete remote file name. Handle "smb" case.
4370 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4371 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4372
4373 * net/tramp-compat.el (top): Require 'shell.
4374
4375 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4376 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4377 `tramp-current-host'.
4378 (tramp-get-remote-tmpdir): Remove.
4379
4380 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4381 `tramp-tmpdir' entries.
4382 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4383 (tramp-smb-handle-file-attributes): Ignore errors.
4384 (tramp-smb-wait-for-output): Check also for process end.
4385
5d5ac8ec
LMI
43862011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4387
4388 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4389 when sending QUIT (bug#9312).
4390
8c0f49f0
CY
43912011-09-17 Chong Yidong <cyd@stupidchicken.com>
4392
4393 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4394 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4395 occur-mode-display-occurrence.
4396 (occur-edit-mode): Add usage message.
4397 (occur-cease-edit): New command.
4398 (occur-after-change-function): Use text properties to find the
4399 position of the prefix text.
4400 (occur-engine): Set stickiness of prefix text properties.
4401
8f1383f7
GM
44022011-09-17 Glenn Morris <rgm@gnu.org>
4403
4404 * progmodes/etags.el (complete-tag):
4405 Fix call to completion-in-region. (Bug#9526)
4406
744ba0e3
JL
44072011-09-17 Juri Linkov <juri@jurta.org>
4408
4409 * textmodes/ispell.el (ispell-word): Add to the error message
4410 the word, ispell program name and current dictionary (bug#9121).
4411 (ispell-tex-arg-end): Capitalize "error" in the error message.
4412
d9bbf400
AS
44132011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4414
4415 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4416 check. (Bug#4251)
4417
8da11505
JL
44182011-09-17 Juri Linkov <juri@jurta.org>
4419
4420 * window.el (window-safe-min-height, window-safe-min-width):
4421 Fix typos (followup to bug#9522).
4422
a91adc7e
SJ
44232011-09-17 Sven Joachim <svenjoac@gmx.de>
4424
4425 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4426
064f328a
EZ
44272011-09-16 Eli Zaretskii <eliz@gnu.org>
4428
4429 * simple.el (line-move): If goal-column is set, move by logical
4430 lines, not by display lines. (Bug#971)
4431 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4432 to reflect the above change.
4433
e69df516
SM
44342011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4435
4436 * image.el (imagemagick-register-types): Use regexp-opt.
4437
cbb0f9ab
CY
44382011-09-15 Chong Yidong <cyd@stupidchicken.com>
4439
4440 * window.el (display-buffer-base-action): Rename from
4441 display-buffer-default-action. Make default value empty.
4442 (display-buffer-overriding-action): Convert to defvar.
4443 (display-buffer-fallback-action): New var.
4444
25322144
CY
44452011-09-15 Chong Yidong <cyd@stupidchicken.com>
4446
4447 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4448 declaration.
4449 (package--add-to-archive-contents): If there is a duplicate entry
4450 with an older version, remove it.
4451 (package-menu-mark-delete, package-menu-mark-install)
4452 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4453 (package-menu-mark-obsolete-for-deletion):
4454 Use package-menu-get-status instead of a regexp search.
25322144
CY
4455 (package-menu-get-status): Use tabulated-list-entry.
4456 (package-menu-mark-upgrades): New command.
d770725a 4457 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4458 (package-menu-execute): Do installation before deletion.
4459 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4460 instead of checking major-mode.
4461 (package-menu--find-upgrades): New function.
4462
7520339c
LMI
44632011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4464
4465 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4466 passwords in the log buffer.
65a046c4
LMI
4467 (smtpmail-process-filter): Update the process marker so that the
4468 "broken by peer" status message is inserted in the right place.
7520339c 4469
d3c30954
SM
44702011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4471
3fe48822
SM
4472 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4473 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4474 bibtex-completion-at-point-function.
4475 (bibtex-completion-at-point-function): Use them.
4476
1b8b3954
SM
4477 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4478
d3c30954
SM
4479 * mpc.el (mpc-constraints-tag-lookup): New function.
4480 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4481 also to browser "album|playlist".
4482
72779976
JL
44832011-09-14 Juri Linkov <juri@jurta.org>
4484
4485 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4486 (isearch-edit-string): Use length of `isearch-string' when
4487 `isearch-fail-pos' returns nil.
4488 (isearch-message): Remove duplicate code and call
4489 `isearch-fail-pos' with arg `t'.
4490
a0bf2bcd
CY
44912011-09-14 Chong Yidong <cyd@stupidchicken.com>
4492
17bb0a2d
CY
4493 * replace.el (occur-mode-goto-occurrence): Don't force using other
4494 window (Bug#9499).
4495
a0bf2bcd
CY
4496 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4497
f678e0b6
MR
44982011-09-14 Martin Rudalics <rudalics@gmx.at>
4499
4500 * window.el (display-buffer-window): Remove.
4501 (display-buffer-record-window): Use help-setup window parameter
4502 instead of variable display-buffer-window.
4503 (display-buffer-function, special-display-buffer-names)
4504 (special-display-function): Mention help-setup parameter instead
4505 of display-buffer-window in doc-string.
d3c30954
SM
4506 * help.el (help-window-setup): New argument help-window.
4507 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4508 Reword some messages.
4509 (with-help-window): Pass window used for displaying the buffer
4510 to help-window-setup. Don't set display-buffer-window.
4511
8e39b2e8
GM
45122011-09-13 Glenn Morris <rgm@gnu.org>
4513
4514 * emacs-lisp/debug.el (debugger-make-xrefs):
4515 Preserve point. (Bug#9462)
4516
85e9c04b
CY
45172011-09-13 Chong Yidong <cyd@stupidchicken.com>
4518
4519 * window.el (window-deletable-p): Use next-frame.
4520
1b36ed6a
MR
45212011-09-13 Martin Rudalics <rudalics@gmx.at>
4522
4523 * window.el (window-auto-delete): Remove.
4524 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4525 dedication and previous buffers.
1b36ed6a
MR
4526 (switch-to-prev-buffer): Don't delete window.
4527 (delete-windows-on): Delete a window's frame if and only if the
4528 window is dedicated.
4529 (replace-buffer-in-windows): Delete buffer's window or frame if
4530 and only if window is dedicated.
4531 (quit-window): Handle quit-restore as before last change.
4d61f28d 4532 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4533
ef8ef9fb
CY
45342011-09-13 Chong Yidong <cyd@stupidchicken.com>
4535
4536 * window.el (window-deletable-p): Never delete the last frame on a
4537 given terminal.
4538
b2cba41e
GM
45392011-09-13 Glenn Morris <rgm@gnu.org>
4540
4541 * help.el (describe-key-briefly): Copy previous standard-output change.
4542
51553db6 45432011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4544
4545 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4546
b7556719
GM
45472011-09-13 Glenn Morris <rgm@gnu.org>
4548
4549 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4550 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4551
64b51947
CY
45522011-09-12 Chong Yidong <cyd@stupidchicken.com>
4553
4554 * dired-aux.el (dired-mark-read-string): Don't return default
4555 value on empty input (Bug#9361).
4556 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4557 Omit initial minibuffer contents.
4558 (dired-do-chmod): Signal an error on empty input.
4559 (dired-mark-read-string): Don't return default on empty input.
4560
4561 * files.el (file-modes-symbolic-to-number): Doc fix.
4562
393a301e
SM
45632011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * international/mule-cmds.el (ucs-completions): Remove.
4566 (read-char-by-name): Use complete-with-action instead; add metadata.
4567
fa5660f9
CY
45682011-09-11 Chong Yidong <cyd@stupidchicken.com>
4569
4570 * window.el (display-buffer--action-function-custom-type)
4571 (display-buffer--action-custom-type): New vars.
4572 (display-buffer-alist, display-buffer-default-action)
4573 (display-buffer-overriding-action): Add defcustom types.
4574
4a592f66
CY
4575 * frame.el (delete-other-frames): Doc fix (Bug#276).
4576
73d56dbd
LMI
45772011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4578
4579 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4580
37ac18a3
CY
45812011-09-11 Chong Yidong <cyd@stupidchicken.com>
4582
4583 Change modes that used same-window-* vars to use switch-to-buffer.
4584
4585 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4586 Use switch-to-buffer.
4587
4588 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4589 (customize-browse, custom-buffer-create-other-window):
4590 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4591
4592 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4593 (Info-prev, Info-up, Info-speedbar-goto-node)
4594 (info-display-manual): Use switch-to-buffer.
4595 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4596
4597 * mail/sendmail.el (mail): Use switch-to-buffer.
4598 (mail-recover): Use switch-to-buffer-other-window.
4599
4600 * cmuscheme.el (run-scheme, switch-to-scheme):
4601 * ielm.el (ielm):
4602 * shell.el (shell):
4603 * net/rlogin.el (rlogin):
4604 * net/telnet.el (telnet, rsh):
4605 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4606
10195bd6
AS
46072011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4608
4609 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4610
b322f63a
LMI
46112011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4612
39d7fed6
LMI
4613 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4614 so don't mention it (bug#9301).
ba5a81f1 4615 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4616
ee0e9f11
LMI
4617 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4618 match `x', `w32' and `ns', like the manual says (bug#9029).
4619
0b1c89c1 4620 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4621 (process-kill-buffer-query-function): Mention the buffer name in
4622 the query.
0b1c89c1 4623
77549ea8
LMI
4624 * image-mode.el (image-next-line): The line parameter is mandatory
4625 (bug#9258).
4626
803ef892
LMI
4627 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4628 which can be useful (bug#9301).
4629
12980837
LMI
4630 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4631
91054f8f
LMI
4632 * subr.el (match-string): Mention that the current buffer should
4633 be the same as the search was done in (bug#9282).
4634
b322f63a
LMI
4635 * facemenu.el: Disable the remove-* commands if the mark isn't
4636 active (bug#9162).
4637
3199b96f
CY
46382011-09-10 Chong Yidong <cyd@stupidchicken.com>
4639
4640 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4641 of display-buffer.
4642 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4643
4644 * replace.el (occur-mode-goto-occurrence)
4645 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4646 and display-buffer.
4647
4648 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4649 display-buffer.
4650
4651 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4652 special-display and same-window variables.
4653 (mail-other-window): Use switch-to-buffer-other-window.
4654 (mail-other-frame): USe switch-to-buffer-other-frame.
4655
393a301e
SM
4656 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4657 Use display-buffer-other-frame.
3199b96f
CY
4658 (gdb-display-gdb-buffer): Use pop-to-buffer.
4659
4660 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4661
4662 * progmodes/python.el: Don't set same-window-buffer-names.
4663
4664 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4665
4666 * window.el (display-buffer-alist): Add *Python*.
4667
8319e0bf
CY
46682011-09-10 Chong Yidong <cyd@stupidchicken.com>
4669
4670 * window.el (display-buffer-alist): Add entry for buffers
4671 previously handled same-window-*.
4672 (display-buffer-alist, display-buffer-default-action)
4673 (display-buffer-overriding-action): Mark as risky.
4674 (display-buffer-alist): Document action function changes.
4675 (display-buffer--same-window-action)
4676 (display-buffer--other-frame-action): New variables.
4677 (switch-to-buffer, display-buffer-other-frame): Use them.
4678 (display-buffer): Rename reuse-frame entry to reusable-frames.
4679 (display-buffer-reuse-selected-window): Function deleted.
4680 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4681 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4682 (display-buffer-special): New function.
4683 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4684 display-buffer-reuse-or-pop-window. Split off special-display
4685 part into display-buffer-special.
4686 (display-buffer-use-some-window): Don't perform any special
4687 pop-up-frames handling.
4688 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4689 (display-buffer--maybe-same-window): Rename from
0d3ff375 4690 display-buffer-maybe-same-window.
8319e0bf 4691
919a69aa
CY
4692 * info.el: Don't set same-window-regexps.
4693 (info-setup): New function.
4694 (info-other-window, info): Call it.
4695
4696 * cus-edit.el: Don't set same-window-regexps.
4697 (customize-group): New argument.
4698 (customize-group-other-window): Use it.
4699 (customize-face, customize-face-other-window): Likewise.
4700 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4701
8319e0bf
CY
4702 * net/rlogin.el:
4703 * net/telnet.el:
4704 * progmodes/gud.el: Don't set same-window-regexps.
4705
4706 * cmuscheme.el:
4707 * ielm.el:
4708 * shell.el:
4709 * mail/sendmail.el:
4710 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4711
25173000
JL
47122011-09-10 Juri Linkov <juri@jurta.org>
4713
4714 * isearch.el (isearch-edit-string): Remove obsolete mention of
4715 `C-w' (`isearch-yank-word-or-char') from docstring.
4716 (isearch-query-replace): Fix typo in docstring (bug#9466).
4717
056e44ef
JL
47182011-09-10 Juri Linkov <juri@jurta.org>
4719
4720 * paren.el (show-paren-function): Don't show escaped parens.
4721 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4722
c3760c17
EZ
47232011-09-10 Eli Zaretskii <eliz@gnu.org>
4724
4725 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4726 (mm-default-file-encoding): Remove autoload forms, they are
4727 replaced with autoload cookies in mml.el and mm-encode.el.
4728 (mail-add-attachment): New command.
4729 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4730 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4731 the doc string.
4732 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4733
fece895e
RT
47342011-09-10 Reuben Thomas <rrt@sc3d.org>
4735
e69df516
SM
4736 * simple.el (count-words-region): Use buffer if there's no region
4737 (bug#9429).
fece895e 4738
5e68ce4a
JL
47392011-09-09 Juri Linkov <juri@jurta.org>
4740
4741 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4742 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4743 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4744
0a6b9622
AM
47452011-09-09 Alan Mackenzie <acm@muc.de>
4746
4747 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4748 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4749
14a29deb
EZ
47502011-09-09 Eli Zaretskii <eliz@gnu.org>
4751
4752 Fix for Savannah bug#9392.
4753 * simple.el (mail-encode-mml): New defvar.
4754
4755 * mail/rmail.el (mail-encode-mml): Add a defvar.
4756 (rmail-enable-mime-composing): Default to t.
4757 (rmail-forward): Use MIME method of forwarding only if both
4758 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4759 Set mail-encode-mml non-nil if the MIME method was used.
4760
4761 * mail/sendmail.el (mml-to-mime): Add autoload form.
4762 (mail-encode-mml): Add a defvar.
4763 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4764 to nil.
4765 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4766 message through mml-to-mime, and reset mail-encode-mml to nil.
4767
28c45130
GM
47682011-09-09 Glenn Morris <rgm@gnu.org>
4769
4770 * woman.el (woman-if-body): When processing an .el block,
4771 do not delete the next .el block as well. (Bug#9447)
69f4b618 4772 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4773
9b1c252e
MR
47742011-09-08 Martin Rudalics <rudalics@gmx.at>
4775
4776 * window.el (window-deletable-p): Make sure window is live before
4777 invoking window-prev-buffers.
4778
567457e3
LL
47792011-09-08 Leo Liu <sdl.web@gmail.com>
4780
4781 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4782
97f05794
JL
47832011-09-08 Juri Linkov <juri@jurta.org>
4784
4785 * progmodes/compile.el (compilation-environment): Make it
4786 a defcustom (bug#8340).
4787
8b0874b5
MR
47882011-09-08 Martin Rudalics <rudalics@gmx.at>
4789
4790 * window.el (frame-auto-delete): Rename to window-auto-delete.
4791 Make it control auto-deletion of windows and/or frames.
4792 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4793 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4794 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4795 Rewrite handling of case when window/frame can be deleted.
4796 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4797 argument t. (Bug#9456)
8b0874b5 4798
4feb6e73
CY
47992011-09-07 Chong Yidong <cyd@stupidchicken.com>
4800
4801 * help-mode.el (help-mode): Restore autoload.
4802
91ab9c13
JL
48032011-09-07 Juri Linkov <juri@jurta.org>
4804
4805 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4806 `compilation-environment'. Set buffer-local
4807 `compilation-environment' to `thisenv' later after (funcall mode).
4808 (Bug#8340)
4809
4810 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4811 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4812 instead of replacing its value. (Bug#8340)
4813
0527e251
JL
48142011-09-07 Juri Linkov <juri@jurta.org>
4815
4816 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4817 based on text properties put by `grep-filter' instead of matching
4818 escape sequences.
4819 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4820 to the value of `grep-error-screen-columns' (bug#9438).
4821
249f792c
JL
48222011-09-07 Juri Linkov <juri@jurta.org>
4823
4824 * simple.el (next-error-highlight, next-error-highlight-no-select):
4825 Doc fix (bug#9432).
4826
ff7271b9
OT
48272011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4828
4829 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4830 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4831
183fc730
LL
48322011-09-07 Leo Liu <sdl.web@gmail.com>
4833
4834 * net/rcirc.el (rcirc-mode): Conditionally initialize
4835 rcirc-input-ring.
4836
77694924
SM
48372011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4838
4839 * emacs-lisp/find-func.el (find-function-C-source): Only set
4840 find-function-C-source-directory after checking that we found a source
4841 file there (bug#9440).
4842
d809b8eb
AM
48432011-09-06 Alan Mackenzie <acm@muc.de>
4844
4845 * isearch.el (isearch-other-meta-char): Wherever a key list is
4846 unread, "unread" the prefix arg, too. This fixes bug #8901.
4847
453de99f
OG
48482011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4849
4850 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4851
90439906
JL
48522011-09-05 Juri Linkov <juri@jurta.org>
4853
4854 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4855
f62bd846
JL
48562011-09-05 Juri Linkov <juri@jurta.org>
4857
4858 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4859 keeping point where processing of grep matches begins, and
4860 continue to delete remaining escape sequences from the same point.
4861 (grep-filter): Make leading zero optional in "0?1;31m" because
4862 git-grep emits "\033[1;31m" escape sequences unlike expected
4863 "\033[01;31m" as GNU Grep does (bug#9408).
4864 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4865
045820ec
JL
48662011-09-05 Juri Linkov <juri@jurta.org>
4867
4868 * subr.el (y-or-n-p): Capitalize "yes".
4869
f5e29b9b
MA
48702011-09-04 Michael Albinus <michael.albinus@gmx.de>
4871
4872 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4873 `tramp-cache-unload-hook' where appropriate.
4874 (tramp-methods): Rename `tramp-remote-sh' to
4875 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4876 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4877
4878 * net/tramp-sh.el (top): Don't require 'shell.
4879 (tramp-methods): Add `tramp-remote-shell' and
4880 `tramp-remote-shell-args' entries.
4881 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4882 (tramp-sh-handle-shell-command): Remove.
4883 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4884 Use `tramp-remote-shell'.
4885
2784c434
CY
48862011-09-03 Chong Yidong <cyd@stupidchicken.com>
4887
393a301e 4888 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4889 (sendmail-query-once): Save directly to send-mail-function.
4890 Update message-send-mail-function too.
4891
4892 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4893
464cdf56
CS
48942011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4895
4896 * progmodes/python.el (python-mode-map): Use correct function to
4897 start python interpreter from menu-bar (as reported by Geert
4898 Kloosterman).
4899 (inferior-python-mode-map): Fix typo.
393a301e 4900 (python-shell-map): Remove.
464cdf56 4901
d37e5c87
DD
49022011-09-03 Deniz Dogan <deniz@dogan.se>
4903
4904 * net/rcirc.el (rcirc-print): Simplify code for
4905 rcirc-scroll-show-maximum-output. There is no need to walk
4906 through all windows to find the right one.
4907
f3ada0ee
CS
49082011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4909
4910 * help.el (help-return-method): Doc fix.
4911
1f3c99ca
MR
49122011-09-03 Martin Rudalics <rudalics@gmx.at>
4913
4914 * window.el (window-deletable-p): Don't return a non-nil value
4915 when there's a buffer that was shown in the window before.
4916 (Bug#9419)
393a301e
SM
4917 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4918 Set window's previous buffers to nil.
1f3c99ca 4919
a3cf097f
EZ
49202011-09-03 Eli Zaretskii <eliz@gnu.org>
4921
4922 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4923 newline before and after the tag line, so it doesn't interfere
4924 with determining the paragraph direction of bidirectional text.
4925
3d03de90
LL
49262011-09-03 Leo Liu <sdl.web@gmail.com>
4927
4928 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
4929
c3313451
CY
49302011-09-02 Chong Yidong <cyd@stupidchicken.com>
4931
393a301e 4932 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
4933 (pop-to-buffer): Change interactive spec. Pass second argument
4934 directly to display-buffer.
4935 (display-buffer): Fix interactive spec. Use functionp to
4936 distinguish between a function and a list of functions.
4937
4938 * abbrev.el (edit-abbrevs):
4939 * arc-mode.el (archive-extract):
4940 * autoinsert.el (auto-insert):
4941 * bookmark.el (bookmark-bmenu-list):
4942 * files.el (find-file):
4943 * view.el (view-buffer):
4944 * progmodes/compile.el (compilation-goto-locus):
4945 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4946
89894cd8
CY
49472011-09-02 Chong Yidong <cyd@stupidchicken.com>
4948
4949 * window.el (display-buffer-alist): Doc fix.
4950 (display-buffer): Add docstring. Don't treat
4951 display-buffer-default specially.
4952 (display-buffer-reuse-selected-window)
4953 (display-buffer-same-window, display-buffer-maybe-same-window)
4954 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4955 (display-buffer-pop-up-window)
4956 (display-buffer-reuse-or-pop-window)
4957 (display-buffer-use-some-window): New functions.
4958 (display-buffer-default-action): Use them.
393a301e 4959 (display-buffer-default): Delete.
89894cd8
CY
4960 (pop-to-buffer-1): Fix choice of actions.
4961
ae0bc9fb
SM
49622011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * minibuffer.el (completion--insert-strings): Don't get confused by
4965 completion entries that end with an LF char.
4966
e9d90883
EZ
49672011-09-01 Eli Zaretskii <eliz@gnu.org>
4968
4969 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4970
437014c8
CY
49712011-09-01 Chong Yidong <cyd@stupidchicken.com>
4972
4973 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
4974 (display-buffer-same-window, display-buffer-other-window):
4975 New functions.
437014c8
CY
4976 (pop-to-buffer-1): New function. Use the above.
4977 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 4978 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
4979
4980 * view.el (view-buffer-other-window, view-buffer-other-frame):
4981 Just use pop-to-buffer.
4982
a5e063d5
TV
49832011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4984
4985 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
4986
793d32bb
WH
49872011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
4988
4989 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
4990
d65e4c15
RS
49912011-08-31 Richard Stallman <rms@gnu.org>
4992
4993 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4994 of the separation of rmail-view-buffer from rmail-buffer.
4995 If you say no to "replace original", the decrypt is in the
4996 view buffer. If you say yes, the decrypt goes into the
4997 rmail buffer also.
4998
f818cd2a
MR
49992011-08-31 Martin Rudalics <rudalics@gmx.at>
5000
5001 * window.el (display-buffer-window): Rewrite doc-string.
5002 (display-buffer-record-window): New function.
5003 (display-buffer-macro-specifiers)
5004 (display-buffer-even-window-sizes, display-buffer-set-height)
5005 (display-buffer-set-width, display-buffer-in-window)
5006 (display-buffer-reuse-window, display-buffer-split-specifiers)
5007 (display-buffer-side-specifiers, display-buffer-split-window-1)
5008 (display-buffer-split-window, display-buffer-split-atom-window)
5009 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5010 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5011 (display-buffer-other-window-means-other-frame)
5012 (display-buffer-normalize-special)
5013 (display-buffer-normalize-default)
5014 (display-buffer-normalize-argument)
5015 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5016 (display-buffer-normalize-specifiers, display-buffer-frame)
5017 (display-buffer-same-window, display-buffer-same-frame)
5018 (display-buffer-other-window)
5019 (display-buffer-same-frame-other-window)
5020 (display-buffer-other-frame, pop-to-buffer-same-window)
5021 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5022 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5023 (switch-to-buffer-same-frame)
5024 (switch-to-buffer-other-window-same-frame)
5025 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5026 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5027 (display-buffer-alist-set): Remove.
5028 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5029 (special-display-regexps, special-display-function):
5030 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5031 parameter.
5032 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5033 (special-display-frame-alist, special-display-popup-frame)
5034 (same-window-buffer-names, same-window-regexps, same-window-p)
5035 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5036 (split-window-preferred-function, split-height-threshold)
5037 (split-width-threshold, window-splittable-p)
5038 (split-window-sensibly, window--try-to-split-window)
5039 (window--frame-usable-p, even-window-heights)
5040 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5041 (window--display-buffer-2, display-buffer-other-frame):
5042 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5043 (display-buffer-default, display-buffer-assq-regexp): New functions.
5044 (display-buffer-alist): Rewrite doc-string.
5045 (display-buffer-default-action)
5046 (display-buffer-overriding-action): New variables.
5047 (display-buffer, switch-to-buffer): Rewrite.
5048 (pop-to-buffer): Restore Emacs 23 behavior but use
5049 window-normalize-buffer-to-display.
5050 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5051 Restore Emacs 23 behavior but use
5052 window-normalize-buffer-to-switch-to.
5053 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5054 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5055 Rewrite using Emacs 23 options.
f818cd2a 5056
5bc3b51d
MA
50572011-08-31 Michael Albinus <michael.albinus@gmx.de>
5058
5059 * net/tramp.el (tramp-root-regexp): Remove.
5060 (tramp-completion-file-name-regexp-unified)
5061 (tramp-completion-file-name-regexp-separate)
5062 (tramp-completion-file-name-regexp-url): Don't use leading volume
5063 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5064 (tramp-drop-volume-letter): Simplify definition.
5065 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5066
b1a4f8e1
SM
50672011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5068
5069 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5070 (bug#9356).
5071
5664fa7b
RT
50722011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5073
b1a4f8e1 5074 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5075
9a45d6c3
JL
50762011-08-29 Juri Linkov <juri@jurta.org>
5077
5078 * isearch.el (isearch-done): Don't display message "Mark saved"
5079 when arg `edit' is non-nil to prevent its flicker in the echo area.
5080
fb87e0fb
CY
50812011-08-28 Chong Yidong <cyd@stupidchicken.com>
5082
5083 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5084 obsolete packages for deletion.
5085
09ac1c2a
CS
50862011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5087
5088 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5089 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5090 view-mode from help-mode.
5091 (help-xref-override-view-map): Remove.
5092 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5093 view-mode is not used anymore.
5094
7a1ff57f
CY
50952011-08-28 Chong Yidong <cyd@stupidchicken.com>
5096
5097 * server.el (server-port): Doc fix.
5098
b9696605
CY
5099 * cus-theme.el (custom-theme-choose-mode): Inherit from
5100 special-mode (Bug#9124).
5101 (custom-theme-choose-mode-map): Add special-mode to parent.
5102
ef8cdf8c
AM
51032011-08-28 Alan Mackenzie <acm@muc.de>
5104
5105 * progmodes/cc-fonts.el
5106 (c-make-font-lock-BO-decl-search-function): New function.
5107 (c-basic-matchers-after - "Fontify the clauses after various
5108 keywords"): Extract the three keyword lists for the 3 erroneous
5109 constructs from the list of four, and use the new function above
5110 in place of an old one.
5111
27de4e20
DD
51122011-08-28 Deniz Dogan <deniz@dogan.se>
5113
5114 * net/rcirc.el (rcirc-insert-prev-input)
5115 (rcirc-insert-next-input): Remove unused argument.
5116
356a3681
SM
51172011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5118
5119 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5120
3fc9b218
AM
51212011-08-27 Alan Mackenzie <acm@muc.de>
5122
5123 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5124 handle function pointer parameters properly.
5125
538a061c
MR
51262011-08-27 Martin Rudalics <rudalics@gmx.at>
5127
5128 * window.el (display-buffer-reuse-window): Fix case where
5129 selected window was reused with non-nil OTHER-WINDOW argument.
5130 (Bug#9381)
5131
35b1c40c
DD
51322011-08-27 Deniz Dogan <deniz@dogan.se>
5133
5134 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5135 oftc's NickServ messages.
5136
2f6a3e79
GM
51372011-08-27 Glenn Morris <rgm@gnu.org>
5138
5139 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5140
7254299e
CY
51412011-08-26 Chong Yidong <cyd@stupidchicken.com>
5142
5143 * emacs-lisp/package.el (package-install): Call package-initialize
5144 if called interactively.
5145
f8ccf167
LL
51462011-08-26 Leo Liu <sdl.web@gmail.com>
5147
5148 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5149
3e8cd5ce
JL
51502011-08-25 Juri Linkov <juri@jurta.org>
5151
5152 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5153 `search-whitespace-regexp' (bug#9364).
5154
93eb7113
JL
51552011-08-25 Juri Linkov <juri@jurta.org>
5156
5157 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5158 `regexp-search-ring' to their global values to protect from
5159 updating by `read-from-minibuffer' (bug#9185).
5160
f65d1611
JL
51612011-08-25 Juri Linkov <juri@jurta.org>
5162
5163 * textmodes/ispell.el (ispell-command-loop): Add newline
5164 at the end of the "Use option `i'..." line.
5165
f1cf7a31
JL
51662011-08-25 Juri Linkov <juri@jurta.org>
5167
5168 * battery.el (display-battery-mode): If `battery-status-function'
5169 or `battery-mode-line-format' is nil, display the message and set
5170 `display-battery-mode' to nil (bug#9363).
5171
0c95fcf7
EZ
51722011-08-25 Eli Zaretskii <eliz@gnu.org>
5173
5174 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5175 bidi-string-mark-left-to-right; they are unnecessary now.
5176
a2ebe600
DD
51772011-08-25 Deniz Dogan <deniz@dogan.se>
5178
5179 * net/quickurl.el: Documentation typo fixes.
5180
e4ed06f1
CY
51812011-08-25 Chong Yidong <cyd@stupidchicken.com>
5182
5183 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5184
e5f1c99e
GM
51852011-08-25 Glenn Morris <rgm@gnu.org>
5186
b2948976
GM
5187 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5188
e5f1c99e
GM
5189 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5190 (smtpmail-via-smtp): Handle nil response from smtp.
5191
f22f4808
JL
51922011-08-24 Juri Linkov <juri@jurta.org>
5193
5194 * proced.el (proced-marked): Inherit from `error' instead of
5195 `font-lock-warning-face'.
5196
5197 * ibuffer.el (ibuffer-marked-face): Change default face from
5198 `font-lock-warning-face' to `warning'.
5199 (ibuffer-deletion-face): Change default face from
5200 `font-lock-type-face' to `error'.
5201
5202 * battery.el (battery-update): Use the face `error' instead of
5203 `font-lock-warning-face' (bug#6117).
5204
6a93965e
JL
52052011-08-24 Juri Linkov <juri@jurta.org>
5206
5207 * faces.el (success): Change face color from "Green3" to
5208 "ForestGreen" on light background (bug#9353).
5209
1ed43b09
CY
52102011-08-24 Chong Yidong <cyd@stupidchicken.com>
5211
5664fa7b
RT
5212 * window.el (quit-window): Rename from quit-restore-window.
5213 Use same arglist as old quit-window.
1ed43b09
CY
5214 (frame-auto-delete): Doc fix.
5215
5216 * view.el (view-mode-exit): Use quit-window.
5217
11dcdbb2
JL
52182011-08-24 Juri Linkov <juri@jurta.org>
5219
5220 * isearch.el (isearch-ring-adjust1): Start visiting previous
5221 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5222 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5223 for empty search string (when the last search string is reused
5224 automatically) to adjust the isearch ring to the last element and
5225 prepare the correct index for further M-p commands (bug#9185).
5226
de62b4df
KH
52272011-08-24 Kenichi Handa <handa@m17n.org>
5228
5229 * international/ucs-normalize.el: If decomposition property of
5230 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5231 nil.
5232 (nfd, nfkd): Likewise.
5233
963b492b
SM
52342011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5235
5236 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5237 from process filters aren't reliably transmitted to the surrounding
5238 accept-process-output.
5239 (mpc-proc-check): New function.
5240 (mpc-proc-sync): Use it (bug#8293)
5241
93b6b5e1
SM
52422011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5245 Add compatibility functions (bug#9313).
5246
bca633fb
EZ
52472011-08-23 Eli Zaretskii <eliz@gnu.org>
5248
b177498a
EZ
5249 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5250
6df6ae42 5251 * international/uni-bidi.el: Regenerate.
bca633fb 5252
0902a04e
KH
52532011-08-23 Kenichi Handa <handa@m17n.org>
5254
5255 * international/charprop.el:
5256 * international/uni-bidi.el:
5257 * international/uni-category.el:
5258 * international/uni-combining.el:
5259 * international/uni-comment.el:
5260 * international/uni-decimal.el:
5261 * international/uni-decomposition.el:
5262 * international/uni-digit.el:
5263 * international/uni-lowercase.el:
5264 * international/uni-mirrored.el:
5265 * international/uni-name.el:
5266 * international/uni-numeric.el:
5267 * international/uni-old-name.el:
5268 * international/uni-titlecase.el:
5269 * international/uni-uppercase.el: Regenerate.
5270
3bbf23bc
MR
52712011-08-23 Martin Rudalics <rudalics@gmx.at>
5272
5273 * help.el (help-window-setup): Fix message displayed when other
5274 window is reused. (Bug#9341)
5275
b3fd59bd
SM
52762011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5277
1802e444
SM
5278 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5279 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5280
b3fd59bd
SM
5281 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5282 Mark obsolete.
5283 * shell.el (shell-parse-pcomplete-arguments): New function.
5284 (shell-completion-vars): Use it instead (bug#9160).
5285
4eb61348
SM
52862011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5287
867cab74
SM
5288 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5289 strings and comments (bug#9333).
5290
4eb61348
SM
5291 * emacs-lisp/debug.el (debug-arglist): New function.
5292 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5293 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5294
262a1439
JL
52952011-08-22 Juri Linkov <juri@jurta.org>
5296
56ee679c
JL
5297 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5298 Revert regexp that highlights output switches to its old
5299 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5300
262a1439
JL
5301 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5302 to check for empty output (bug#9226).
5303
f13f86fb
CY
53042011-08-22 Chong Yidong <cyd@stupidchicken.com>
5305
5306 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5307 symbol-constituent as the default, as that stops font-lock from
5308 working properly (Bug#8843).
5309
c65c9622
LMI
53102011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5311
5312 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5313 `coding-system-for-*' around the process open call to avoid
5314 auth-source side effects.
e7f2c178 5315 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5316 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5317 probe hangs.
c65c9622 5318
23a8a5ab
CY
53192011-08-21 Chong Yidong <cyd@stupidchicken.com>
5320
ff98b2dd
CY
5321 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5322
23a8a5ab
CY
5323 * emacs-lisp/find-func.el (find-function-noselect): New arg
5324 lisp-only.
5325
5326 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5327 signal an error for built-in functions (Bug#6664).
5328
f5e3c598
LMI
53292011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5330
5331 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5332 (smtpmail-try-auth-methods): Use it.
5333
a3f2468a
CY
53342011-08-21 Chong Yidong <cyd@stupidchicken.com>
5335
2c34e8da
CY
5336 * font-lock.el (font-lock-fontify-region)
5337 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5338 (font-lock-default-unfontify-buffer)
5339 (font-lock-default-fontify-region)
5340 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5341
b3fd59bd
SM
5342 * progmodes/compile.el (compilation-error-properties):
5343 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5344 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5345 `ant' regexp.
ee31aabc 5346
a3f2468a
CY
5347 * net/browse-url.el (browse-url-firefox): Don't call
5348 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5349
8e999f70
GM
53502011-08-20 Glenn Morris <rgm@gnu.org>
5351
c21a496a
GM
5352 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5353
59ee0542
GM
5354 * tutorial.el (tutorial--default-keys): Update some default bindings.
5355
8e999f70
GM
5356 * files.el (hack-local-variables): Fully ignore case for "mode:".
5357
e3715033
AM
53582011-08-20 Alan Mackenzie <acm@muc.de>
5359
5360 Resolve invalid use of a regexp in regexp-opt.
5361
4d61f28d
JB
5362 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5363 detection for a java annotation.
e3715033 5364
4d61f28d 5365 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5366 detection for a java annotation.
5367
4d61f28d
JB
5368 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5369 handling for java.
e3715033
AM
5370 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5371
04ed2e9c
CY
53722011-08-20 Chong Yidong <cyd@stupidchicken.com>
5373
5374 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5375 (Bug#9274).
5376
826cee64
AM
53772011-08-20 Alan Mackenzie <acm@muc.de>
5378
58179cce 5379 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5380 such a construct. Mainly for when jit-lock etc. starts a chunk
5381 here.
5382
58179cce 5383 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5384 variable.
58179cce 5385 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5386 c-make-font-lock-search-function.
5387 (c-make-font-lock-search-function): Use the above function.
5388 (c-make-font-lock-context-search-function): New function.
5389 (c-cpp-matchers): Enhance the preprocessor expression case with
5390 the above function
5391 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5392 which takes an expression.
5393
5394 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5395
13009bd8
MR
53962011-08-20 Martin Rudalics <rudalics@gmx.at>
5397
5398 * window.el (display-buffer-reuse-window)
5399 (display-buffer-pop-up-window): Don't reuse or split a side
5400 window.
5401
9234ff7f
GM
54022011-08-19 Glenn Morris <rgm@gnu.org>
5403
5404 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5405 Downcase "Mode:". (Bug#9331)
9234ff7f 5406
f635daa1
CY
54072011-08-18 Chong Yidong <cyd@stupidchicken.com>
5408
5409 * international/characters.el: Add L and R categories.
5410
5411 * subr.el (bidi-string-mark-left-to-right): Rename from
5412 string-mark-left-to-right. Use category search.
5413
5414 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5415
bc987f8b
JL
54162011-08-18 Juri Linkov <juri@jurta.org>
5417
5418 * faces.el (error, warning, success): New faces with definitions
5419 copied from old default values of `font-lock-warning-face',
5420 `compilation-warning', `compilation-info' (bug#6117).
5421
5422 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5423
5424 * progmodes/compile.el (compilation-error): Inherit from `error'.
5425 (compilation-warning): Inherit from `warning'.
5426 (compilation-info): Inherit from `success'.
5427
5428 * dired.el (dired-marked): Inherit from `warning'.
5429 (dired-flagged): Inherit from `error'.
5430
57173b96
LMI
54312011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5432
3e79eb87
LMI
5433 * mail/smtpmail.el (auth-source): Require to avoid problems with
5434 binding variables (bug#9298). Also clean up some unused
5435 autoloads.
5436
b3fd59bd
SM
5437 * net/network-stream.el (network-stream-open-starttls):
5438 Support using starttls.el without using gnutls-cli.
57173b96 5439
02b404de
JL
54402011-08-17 Juri Linkov <juri@jurta.org>
5441
5442 * progmodes/grep.el (rgrep): Handle the case when
5443 `grep-find-command' is a cons cell (bug#9278).
5444
8c9177f2
MR
54452011-08-17 Martin Rudalics <rudalics@gmx.at>
5446
5447 * window.el (display-buffer-pop-up-frame): Run frame creation
5448 function with BUFFER current (as special-display-popup-frame
5449 does). Reported by Drew Adams.
5450
3644a0ab
DU
54512011-08-17 Daiki Ueno <ueno@unixuser.org>
5452
5453 * epa-mail.el: Simplify GnuPG group expansion using
5454 epg-expand-group.
5455 (epa-mail-group-alist, epa-mail-group-modtime)
5456 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5457 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5458 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5459 Remove.
5460
5e617bc2 54612011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5462
5463 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5464
9c4aeabf
AM
54652011-08-16 Alan Mackenzie <acm@muc.de>
5466
5467 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5468 Correct, to avoid the inside of macros.
5469
3a99bf64
RS
54702011-08-16 Richard Stallman <rms@gnu.org>
5471
04963aa8
RS
5472 * epa-mail.el: Handle GnuPG group definitions.
5473 (epa-mail-group-alist, epa-mail-group-modtime)
5474 (epa-mail-gnupg-conf-file): New variables.
5475 (epa-mail-parse-groups, epa-mail-sync-groups)
5476 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5477 (epa-mail-expand-recipients): New functions.
5478 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5479
177549d0
RS
5480 * mail/rmail.el (rmail-epa-decrypt): New command.
5481
fe38beef
RS
5482 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5483 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5484 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5485 (epa-decrypt-armor-in-region): Make error message clearer.
5486
934eacb9
SM
54872011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5488
5489 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5490 and "a2b" to "ab" for `prefix'.
5491
d024fb4e
CY
54922011-08-14 Chong Yidong <cyd@stupidchicken.com>
5493
5494 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5495 filter groups.
de148fee
CY
5496 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5497 Fourquet (Bug#8804).
d024fb4e 5498
62f1ca49
JB
54992011-08-12 Juanma Barranquero <lekktu@gmail.com>
5500
5501 * startup.el (argi): Declare as global variable (bug#9275).
5502
9ccaaa4b
CY
55032011-08-12 Chong Yidong <cyd@stupidchicken.com>
5504
5505 * subr.el (string-mark-left-to-right): Search the entire string
5506 for RTL script, not just the terminating character. Doc fix.
5507
a3dae87a
SM
55082011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5509
6cd18349
SM
5510 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5511 New function.
5512 (js--regexp-literal, js-syntax-propertize-function): Remove.
5513 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5514 (js-mode-map): Don't rebind electric keys.
5515 (js-insert-and-indent): Remove.
5516 (js-mode): Setup electric-layout and electric-indent instead.
5517
a3dae87a
SM
5518 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5519
9d5cb631
DU
55202011-08-12 Daiki Ueno <ueno@unixuser.org>
5521
5522 * epa.el (epa-progress-callback-function): Fix the logic of
5523 displaying progress.
5524 * epa-file.el (epa-file-insert-file-contents): Make progress
5525 display more user-friendly.
5526 (epa-file-write-region): Ditto.
5527
3e26a4a2
CY
55282011-08-10 Chong Yidong <cyd@stupidchicken.com>
5529
5530 * subr.el (string-mark-left-to-right): New function.
5531
5532 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5533 Use string-mark-left-to-right.
5534 (list-buffers-noselect): Caller changed.
5535
a3dae87a
SM
5536 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5537 Use string-mark-left-to-right.
3e26a4a2
CY
5538 (tabulated-list-print): Recenter after moving point.
5539
ac8cf6e6
JL
55402011-08-10 Juri Linkov <juri@jurta.org>
5541
5542 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5543 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5544 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5545
8d96c9a4
CY
55462011-08-09 Chong Yidong <cyd@stupidchicken.com>
5547
5548 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5549 (Bug#7554).
5550
7be1c708 55512011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5552
5553 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5554 character. (Bug#6594)
5555
37e11a63
CY
55562011-08-08 Chong Yidong <cyd@stupidchicken.com>
5557
839dde57
CY
5558 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5559 (image-dired--with-db-file): New macro.
5560 (image-dired-write-tags, image-dired-remove-tag)
5561 (image-dired-create-gallery-lists, image-dired-write-comments)
5562 (image-dired-get-comment, image-dired-mark-tagged-files)
5563 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5564 (image-dired-gallery-generate): Use insert-file-contents.
5565
37e11a63
CY
5566 * time.el (display-time-world-list, display-time-world-display):
5567 * time-stamp.el (time-stamp-string):
5568 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5569 set-time-zone-rule (Bug#7337).
5570
0b4946c4
DU
55712011-08-08 Daiki Ueno <ueno@unixuser.org>
5572
5573 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5574 (epg-error-to-string, epg-errors-to-string): New function.
5575 (epg-wait-for-completion): Reverse errors list.
5576 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5577 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5578 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5579 (epg-sign-keys, epg-generate-key-from-file)
5580 (epg-generate-key-from-string): Format errors by using
5581 epg-errors-to-string (bug#9255).
5582 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5583
75bfc667
JL
55842011-08-07 Juri Linkov <juri@jurta.org>
5585
5586 * faces.el (list-faces-display): Remove extra angle bracket
5587 from `help-mode-map'.
5588
5589 * info.el (Info-history-toc-nodes): Doc fix.
5590
5591 * longlines.el (longlines-mode): Doc fix.
5592
673e08bb
SM
55932011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5594
4640dd88
SM
5595 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5596 of statements and in a few more cases (bug#9183).
5597
673e08bb
SM
5598 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5599 New functions.
5600 (cl-transform-lambda): Use them (bug#9239).
5601
89b3f019
MR
56022011-08-05 Martin Rudalics <rudalics@gmx.at>
5603
5604 * window.el (display-buffer-same-window)
5605 (display-buffer-same-frame, display-buffer-other-window)
5606 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5607 (pop-to-buffer-other-window)
5608 (pop-to-buffer-same-frame-other-window)
5609 (pop-to-buffer-other-frame): Make them defuns.
5610 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5611
640c8776
SM
56122011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5613
5614 * subr.el (make-composed-keymap): Move from C. Change calling
5615 convention, and improve docstring to bring attention to a subtle point.
5616 * minibuffer.el (completing-read-default): Adjust accordingly.
5617
63648a95
MA
56182011-08-03 Michael Albinus <michael.albinus@gmx.de>
5619
5620 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5621 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5622
5623 * net/trampver.el: Update release number.
5624
b796c9b7
SM
56252011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5626
5627 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5628 "in" (bug#9190).
5629
2239d7d5
LMI
56302011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5631
e07dd7c3
LMI
5632 * mail/sendmail.el (sendmail-query-once): Restore the current
5633 buffer after querying (bug#9074).
5634
0e6a2bd7
LMI
5635 * dired.el (dired-flagged): Use different faces for marked and
5636 flagged files (bug#6117).
5637
ce887515
LMI
5638 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5639 (bug#4433).
5640
92f2affc
LMI
5641 * ido.el (ido-mode): Switch off the message if called
5642 non-interactively.
5643
57d5aff0
LMI
5644 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5645 before 587, since it appears that that's more likely to work for
5646 more people.
5647
98cd6c18 5648 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5649 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5650 exist.
5651
b96dec83
LMI
5652 * info.el: Remove the `Info-beginning-of-buffer' function
5653 (bug#8325).
5654
b796c9b7
SM
5655 * net/network-stream.el (network-stream-open-starttls):
5656 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5657
d90e2ea0
MR
56582011-08-01 Martin Rudalics <rudalics@gmx.at>
5659
5660 * window.el (display-buffer-in-window): Don't set dedicated status
5661 of window here (Bug#9215).
5662 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5663 (display-buffer-pop-up-side-window)
b796c9b7 5664 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5665
cca09170
SM
56662011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5667
5668 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5669 before binding generated-autoload-file.
5670
027b979c
DD
56712011-08-01 Deniz Dogan <deniz@dogan.se>
5672
5673 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5674
3c7ee4f3
MA
56752011-07-30 Michael Albinus <michael.albinus@gmx.de>
5676
5677 Sync with Tramp 2.2.2.
5678
5679 * net/trampver.el: Update release number.
5680
2cc8e51a
JL
56812011-07-30 Juri Linkov <juri@jurta.org>
5682
5683 * dired-aux.el (dired-touch-initial): Remove function.
5684 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5685 current time, and `default' to the last modification time of the
5686 current marked file (bug#6887).
5687
a514d856
JM
56882011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5689
5690 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5691 numeric argument to read-number (bug#9163).
a514d856 5692
8a7eddd7
MA
56932011-07-27 Michael Albinus <michael.albinus@gmx.de>
5694
5695 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5696 connection process, it could be nil.
5697
1ddd96f5
LL
56982011-07-27 Leo Liu <sdl.web@gmail.com>
5699
5700 Simplify url handling in rcirc-mode.
5701
5702 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5703 (rcirc-browse-url-at-mouse): Remove.
5704 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5705
b248a85d
AM
57062011-07-26 Alan Mackenzie <acm@muc.de>
5707
5708 Fontify bitfield declarations properly.
5709
5710 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5711 (c-symbol-chars): Now exported as a lang variable.
5712 (c-not-primitive-type-keywords): New lang variable.
5713
5714 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5715 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5716 parsed as a bitfield declaration.
b248a85d 5717
b796c9b7
SM
5718 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5719 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5720 (c-punctuation-in): New function.
5721 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5722 declarations properly.
5723
68575ab0
UJ
57242011-07-26 Ulf Jasper <ulf.jasper@web.de>
5725
5726 * calendar/icalendar.el (icalendar--all-events): Take care of
5727 multiple vcalendars in a single file.
b796c9b7 5728 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5729
0f0a88b9
DD
57302011-07-25 Deniz Dogan <deniz@dogan.se>
5731
5732 * image.el (insert-image): Clarifying docstring.
5733
0b3f36df
MA
57342011-07-24 Michael Albinus <michael.albinus@gmx.de>
5735
5736 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5737 `tramp-send-command-and-check' if there is no error.
5738 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5739
a9901f61
AM
57402011-07-22 Alan Mackenzie <acm@muc.de>
5741
5742 Prevent cc-langs.elc being loaded at run time.
5743
5744 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5745 cc-langs.
5746
4d61f28d 5747 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5748 "(require 'cc-langs)". Quote a form so it will evaluate at
5749 (cc-mode's) compilation time.
5750
11d074b2
MA
57512011-07-22 Michael Albinus <michael.albinus@gmx.de>
5752
5753 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5754 loading. (Bug#9114)
5755
938b94c8
MR
57562011-07-21 Martin Rudalics <rudalics@gmx.at>
5757
5758 * window.el (display-buffer-pop-up-window)
5759 (display-buffer-pop-up-side-window)
5760 (display-buffer-in-side-window): Call display-buffer-set-height
5761 and display-buffer-set-width after setting the new window's
b796c9b7 5762 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5763
bfa4f190
SS
57642011-07-20 Sam Steingold <sds@gnu.org>
5765
5766 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5767 (etags-tags-included-tables): Call `convert-standard-filename' on
5768 the file names contained in TAGS so that windows Emacs can handle
5769 TAGS files created by cygwin ctags.
5770
8ca42262
LMI
57712011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5772
5773 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5774 which apparently didn't work.
5775
5db2afd2 57762011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5777
5db2afd2
RW
5778 * proced.el (proced-send-signal): For *Marked Processes* buffer
5779 put point at beginning of buffer.
5780
92e15d10
SB
57812011-07-19 Stephen Berman <stephen.berman@gmx.net>
5782
5783 * proced.el (proced-format): Make header lines align with the text
5784 (bug#1779).
5785
1bfd59e5
LMI
57862011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5787
5788 * view.el (view-buffer): Allow running in `special' modes if we're
5789 visiting a file (bug#8615).
5790
f5aae37c
MR
57912011-07-19 Martin Rudalics <rudalics@gmx.at>
5792
5793 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5794 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5795 New functions.
f5aae37c
MR
5796 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5797 more accurately.
5798
bf2c1571
AM
57992011-07-18 Alan Mackenzie <acm@muc.de>
5800
5801 Fontify declarators properly when, e.g., a jit-lock chunk begins
5802 inside a declaration.
5803
5804 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5805
b796c9b7
SM
5806 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5807 New function.
bf2c1571
AM
5808 (c-complex-decl-matchers): Insert reference to
5809 c-font-lock-enclosing-decls.
5810
5811 * progmodes/cc-engine.el (c-backward-single-comment):
5812 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5813 to nil around calls to (forward-comment -1).
5814
4e190b80
LMI
58152011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5816
12dc863d
LMI
5817 * image.el (put-image): Doc typo fix.
5818
a762e966
LMI
5819 * progmodes/etags.el (tags-search): Doc typo fix.
5820
4e190b80
LMI
5821 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5822 password if we get errors 550 to 554.
5823
f019fb21
LMI
58242011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5825
b796c9b7 5826 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5827
81746738
LMI
5828 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5829 indentation character (bug#6380).
5830
3ee3a1b5
LMI
5831 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5832
c82f64de
LMI
5833 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5834 to clarify what the problem is (bug#4291).
5835
f019fb21
LMI
5836 * simple.el (current-kill): Clarify what
5837 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5838 (auto-fill-mode): Document `auto-fill-function' in relation to
5839 `auto-fill-mode' (bug#2470).
f019fb21 5840
0794775d
LM
58412011-07-16 Lawrence Mitchell <wence@gmx.li>
5842
5843 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5844 method if slot is read-only (bug#9035).
5845
be39b8cc
MR
58462011-07-16 Martin Rudalics <rudalics@gmx.at>
5847
b796c9b7 5848 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5849 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5850 selected before, see discussion of (Bug#8615), (Bug#6954).
5851 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5852
6ccf7859
GM
58532011-07-15 Glenn Morris <rgm@gnu.org>
5854
5855 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5856 Respect help-form.
6ccf7859 5857
87e86684
LM
58582011-07-09 Lawrence Mitchell <wence@gmx.li>
5859
5860 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5861 (gnutls-negotiate): Use it.
5862
d6066239
LMI
58632011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5864
b796c9b7
SM
5865 * net/gnutls.el (gnutls-negotiate):
5866 Upcase `gnutls-algorithm-priority'.
d6066239 5867
bd23ebc0
GM
58682011-07-15 Glenn Morris <rgm@gnu.org>
5869
c65bca65
GM
5870 * jka-compr.el (jka-compr-verbose): Move from here...
5871 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5872 Add missing :version tag.
5873 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5874
478615cc
LMI
58752011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5876
7b41decb
LMI
5877 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5878 (gnutls-negotiate): Use it.
5879
dbc44fcd
LMI
5880 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5881
06789f97
LMI
5882 * info.el (Info-beginning-of-buffer): New command.
5883 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5884 announcing `b' as the key (bug#8325).
ab896c37 5885 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5886
c39da690
LMI
5887 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5888
3aa5f34b
LMI
5889 * international/mule-cmds.el
5890 (describe-specified-language-support): Make the error message
5891 clearer (bug#8905).
5892
4bf0979f
LMI
5893 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5894
478615cc
LMI
5895 * isearch.el (isearch-barrier): Add a doc string, since it's
5896 mentioned in a function doc string (bug#8678).
5897
75c68aa1
MR
58982011-07-15 Martin Rudalics <rudalics@gmx.at>
5899
5900 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5901 buffer argument (Bug#9083) and self-identifying label argument.
5902
a7c33da2
GM
59032011-07-15 Glenn Morris <rgm@gnu.org>
5904
5905 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5906
2f5c6024
LMI
59072011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5908
5909 * man.el (Man-fontify-manpage): Fix message when formatting the
5910 man page (bug#7929).
5911
0bb23927 59122011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
5913
5914 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5915 argument LRM; if non-nil, append an invisible LRM character to the
5916 buffer name.
5917 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5918 last argument non-nil, when formatting buffer names.
0bb23927
EZ
5919 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5920 paragraph direction.
cce4b0a7 5921
621ef9ab
LMI
59222011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5923
d1583c48
LMI
5924 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5925 the man page name (bug#7929).
5926
6a57fb5f
LMI
5927 * image.el (put-image): Mention the `put-image' overlay property
5928 (bug#7834).
5929
d7956b14
LMI
5930 * scroll-bar.el (set-scroll-bar-mode): Mention that
5931 `scroll-bar-mode' lists the values (bug#7772).
5932
5b2d4a66
LMI
5933 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5934 command (bug#7729).
5935
7509a874
LMI
5936 * rect.el (apply-on-rectangle): Return the point after the last
5937 operation.
5938 (string-rectangle): Go to the point after the last operation
5939 (bug#7522).
5940
4fe74b19
LMI
5941 * printing.el (pr-toggle-region): Clarify the documentation
5942 slightly (bug#7493).
5943
b796c9b7
SM
5944 * time.el (display-time-update):
5945 Allow `display-time-mail-function' to return nil (bug#7158).
5946 Fix suggested by Detlev Zundel.
ab283561 5947
fc233c9d
LMI
5948 * vc/diff.el (diff): Clarify the order the file names are read
5949 (bug#7111).
5950
43f5740b
LMI
5951 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5952 the doc string (bug#7015).
5953
f2182a76
LMI
5954 * font-lock.el (font-lock-maximum-decoration): Mention what
5955 numeric levels mean (bug#6935).
5956
621ef9ab
LMI
5957 * startup.el (initial-buffer-choice): Don't mention the `none'
5958 selection, which is against policy.
5959
adc47434
MR
59602011-07-14 Martin Rudalics <rudalics@gmx.at>
5961
b796c9b7
SM
5962 * window.el (display-buffer-normalize-special):
5963 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 5964
7e5bfb8f
EZ
59652011-07-14 Eli Zaretskii <eliz@gnu.org>
5966
5967 * subr.el (version<, version<=, version=): Mention "-CVS" and
5968 "-12345" alpha version numbers.
5969
27fa387a
CY
59702011-07-14 Chong Yidong <cyd@stupidchicken.com>
5971
5972 * bindings.el: Add advertised binding for set-mark-command
5973 (Bug#5772).
5974
8bdfa064
CY
59752011-07-14 Chong Yidong <cyd@stupidchicken.com>
5976
5977 * bindings.el (mode-line-other-buffer):
5978 * bookmark.el (bookmark-bmenu-2-window):
5979 * bs.el (bs-cycle-next, bs-cycle-previous):
5980 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5981 switch-to-buffer.
5982
5983 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 5984 Delete.
8bdfa064 5985
5eba16a3
JB
59862011-07-14 Juanma Barranquero <lekktu@gmail.com>
5987
5988 * follow.el (follow-debug-message, follow-redisplay):
5989 * jka-cmpr-hook.el (with-auto-compression-mode):
5990 Fix typos in docstrings.
5991
15853710
LMI
59922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5993
a28e4607
LMI
5994 * subr.el (with-silent-modifications): Clarify somewhat what the
5995 macro inhibits (bug#6525).
5996
15853710
LMI
5997 * simple.el (eval-expression): Note what it does if called
5998 interactively (bug#6495).
5999
bee0fcef
CY
60002011-07-13 Chong Yidong <cyd@stupidchicken.com>
6001
b796c9b7
SM
6002 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6003 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6004
6005 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6006 Remove switch-to-buffer.
6007
58274504
LMI
60082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6009
bd2fcc8d
LMI
6010 * files.el (make-directory): Clarify that an error will be raised
6011 if there's an error (bug#6397).
6012
0f04b32c
LMI
6013 * startup.el (initial-buffer-choice): Add `none' as a choice
6014 (bug#6234).
6015
465c5fc8
LMI
6016 * subr.el (add-hook): Clarify section about buffer-local hooks
6017 (bug#6218).
6018
58274504
LMI
6019 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6020
bead9a43
JB
60212011-07-13 Juanma Barranquero <lekktu@gmail.com>
6022
6023 * tabify.el (untabify): Preserve the current column so that point
6024 doesn't move (bug#6032).
6025
3af98a7b
LMI
60262011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6027
b796c9b7
SM
6028 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6029 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6030
6240145a
GM
60312011-07-13 Glenn Morris <rgm@gnu.org>
6032
6033 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6034 (dired-insert-directory): Give a message the first time
6035 if ls is found not to support --dired.
6036
1d8c2ccc
LMI
60372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6038
6039 * simple.el (toggle-truncate-lines): Clarify what is toggled
6040 (bug#5580). Text by Drew Adams.
6041
5fc4038e
CY
60422011-07-13 Chong Yidong <cyd@stupidchicken.com>
6043
6044 * simple.el (blink-matching-open): Make the error message from the
6045 last change less verbose.
6046
bf6012e5
DN
60472011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6048
6049 * font-lock.el (font-lock-comment-face): Use the high contrast
6050 "yellow" color for font-lock-comment-face on low color terminals
6051 using a dark background color (bug#4221).
6052
343c3b5a
LMI
60532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6054
7e9505c5
LMI
6055 * dired.el (dired-insert-set-properties): Make the doc string
6056 reflect what it does now (bug#5325).
6057
c26fdcf5
LMI
6058 * simple.el (blink-matching-open): Say that we were unable to find
6059 the match within the limit, if we're limited (bug#5122).
6060
bb388cc5
LMI
6061 * international/mule-cmds.el (prefer-coding-system): Add an
6062 example (bug#4869).
6063
343c3b5a
LMI
6064 * progmodes/etags.el (tags-search): Document `file-list-form'
6065 (bug#4731).
6066
2a517d45
LM
60672011-07-13 Lawrence Mitchell <wence@gmx.li>
6068
6069 * net/browse-url.el (browse-url-default-browser)
6070 (browse-url-browser-function): Make the default browser choice a
6071 bit more logical (bug#4300). Also clean up the doc string.
6072
b6c78ef2
JB
60732011-07-13 Juanma Barranquero <lekktu@gmail.com>
6074
6075 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6076 binary endings (bug#4440).
6077
1c4dd947
LMI
60782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6079
a2014063
LMI
6080 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6081 which can be pretty annoying (bug#8971).
6082
9c9c2d88
LMI
6083 * jka-compr.el (jka-compr-verbose): New variable, and use
6084 throughout (bug#8971).
6085
1c4dd947
LMI
6086 * info.el (Info-find-file): Fall back on the installation
6087 directory if we can't find the info node anywhere else.
6088
a1c9f41b
SO
60892011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6090
6091 * vc/vc.el (vc-revert-file):
6092 Don't set file time-stamp in the past. (Bug#5181)
6093
536f3d36
LMI
60942011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6095
7152b011
LMI
6096 * files.el (after-find-file): Give a better error message when
6097 trying to find a symlink that points to a file that doesn't exist
6098 (bug#4398).
6099
536f3d36
LMI
6100 * progmodes/cc-vars.el: Remove (probably) misleading comment
6101 (bug#4396).
6102
460c0fba
JB
61032011-07-12 Johan Bockgård <bojohan@gnu.org>
6104
6105 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6106
7a6bda45
CY
61072011-07-12 Chong Yidong <cyd@stupidchicken.com>
6108
6109 * mouse-sel.el: Hack restoring functionality, while keeping
6110 compatibility with 2010-07-03 changes to mouse selection.
6111 (mouse-sel-primary-overlay): New var.
6112 (mouse-sel-selection-alist): Use it.
6113 (mouse-sel-mode): Doc fix; remove points that are default features
6114 of mouse.el.
6115
c79598ef
JB
61162011-07-12 Johan Bockgård <bojohan@gnu.org>
6117
6118 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6119 Fix previous fix (bug#2490).
6120
ff8be6ef
RW
61212011-07-12 Roland Winkler <winkler@gnu.org>
6122
b796c9b7
SM
6123 * textmodes/bibtex.el (bibtex-initialize):
6124 Use pop-to-buffer-same-window.
ff8be6ef
RW
6125 (bibtex-search-entries): Fix interactive call.
6126
296ba3ee
LMI
61272011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6128
f5242a02 6129 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6130 Fontise bytecomp Error lines more correctly (bug#2490).
6131 Fix suggested by Johan Bockgård.
f5242a02 6132
296ba3ee
LMI
6133 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6134
6135 * dired-x.el (dired-guess-default): Use `delete-dups'.
6136
f69fd0d2
CY
61372011-07-12 Chong Yidong <cyd@stupidchicken.com>
6138
6139 * dired.el (dired-mark-prompt):
6140 * dired-aux.el (dired-read-shell-command): Doc fix.
6141
eab5dc07
LMI
61422011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6143
b796c9b7
SM
6144 * mail/sendmail.el (sendmail-query-once):
6145 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6146 emacs -Q.
6147
6148 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6149
eab5dc07
LMI
6150 * cus-edit.el (custom-file): Take an optional no-error variable.
6151 (customize-save-variable): Set the variable, and give a warning if
6152 running under "emacs -q".
6153
a1e65d42
JB
61542011-07-11 Juanma Barranquero <lekktu@gmail.com>
6155
6156 * loadhist.el (unload-feature-special-hooks):
6157 Add `auto-coding-functions', `fill-nobreak-predicate' and
6158 `find-directory-functions' (bug#5327).
6159
1d52da10
LMI
61602011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6161
be958f1d
LMI
6162 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6163
5bedb26c
LMI
6164 * cus-edit.el (custom-guess-name-alist): -alist variables should
6165 use the `alist' type (bug#3120). Suggested by Drew Adams.
6166
1d52da10
LMI
6167 * printing.el: Add documentation to all the `pr-toggle-' commands.
6168
cd394be1 61692011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6170
6171 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6172 backends where it makes sense (bug#2623).
6173
dcc88d8a
LMI
61742011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6175
c3de9feb
LMI
6176 * dired-x.el (dired-guess-default): Remove duplicate shell command
6177 entries (bug#2028).
8a93078b 6178 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6179 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6180
dcc88d8a
LMI
6181 * subr.el (remove-duplicates): New conveniency function.
6182
505e3645
LMI
61832011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6184
6185 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6186 (bug#1526).
6187
61882011-07-10 Martin Rudalics <rudalics@gmx.at>
6189
6190 * window.el (display-buffer-normalize-default): Don't invert
6191 meaning of even-window-heights. Reported by Eli Zaretskii
6192 <eliz@gnu.org>.
6193
455e4fa1
BR
61942011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6195
6196 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6197
8e0bc3e9
CY
61982011-07-10 Chong Yidong <cyd@stupidchicken.com>
6199
6200 * window.el (display-buffer): Fix arguments to
6201 display-buffer-reuse-window in last change.
6202
fa7c3228
CY
6203 * faces.el (link): Use a less saturated blue on light backgrounds.
6204
6205 * startup.el (fancy-startup-text, fancy-about-text)
6206 (fancy-startup-tail): Use font-lock faces, for background safety.
6207
c0a7f300
BN
62082011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6209
b796c9b7
SM
6210 * emulation/viper-cmd.el (viper-change-state-to-vi):
6211 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6212
4dc2a129
MR
62132011-07-09 Martin Rudalics <rudalics@gmx.at>
6214
6215 * window.el (display-buffer-default-specifiers): Remove.
6216 (display-buffer-macro-specifiers): Remove default specifiers.
6217 (display-buffer-alist): Default to nil.
b796c9b7 6218 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6219 (display-buffer-pop-up-window): Allow splitting internal
6220 windows. Check whether a live window was created.
6221 (display-buffer-other-window-means-other-frame)
6222 (display-buffer-normalize-arguments): Rename to
6223 display-buffer-normalize-argument and rewrite. Set the
6224 other-window specifier.
6225 (display-buffer-normalize-special): New function.
6226 (display-buffer-normalize-options): Rename to
6227 display-buffer-normalize-default and rewrite.
6228 (display-buffer-normalize-options-inhibit): Remove.
6229 (display-buffer-normalize-specifiers): Rewrite.
6230 (display-buffer): Process other-window specifier and call
6231 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6232 more faithfully.
b796c9b7 6233 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6234 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6235 (display-buffer-in-window, display-buffer-alist-set):
6236 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6237 <tassilo@member.fsf.org>.
6238
2d43b8c9
LL
62392011-07-09 Leo Liu <sdl.web@gmail.com>
6240
6241 * register.el (insert-register): Restore accidental change on
6242 2011-06-26. (Bug#9028)
6243
7f9b7c53
GM
62442011-07-09 Glenn Morris <rgm@gnu.org>
6245
6246 * subr.el (remq): Handle the empty list. (Bug#9024)
6247
f042cfd8
AS
62482011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6249
6250 * mail/sendmail.el (send-mail-function): No longer delay custom
6251 initialization.
6252 * custom.el (custom-initialize-delay): Doc fix.
6253
856b2f11
SM
62542011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6255
6256 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6257
afae1d68
MA
62582011-07-08 Michael Albinus <michael.albinus@gmx.de>
6259
6260 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6261 human-friendly prompt.
6262
0757af94
SM
62632011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6264
6265 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6266 provided by a particular plugin.
6267
d760b731
LMI
62682011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6269
6270 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6271 save customizations (with "emacs -Q"), just set the variable
6272 instead of erroring out.
6273
6274 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6275
cd79ce90
JL
62762011-07-08 Juri Linkov <juri@jurta.org>
6277
6278 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6279 (archive-zip-update-case): Use 7z if found by `executable-find'.
6280 The order of searching the available programs is the same as in
6281 `archive-zip-extract' (bug#8968).
6282
14cc04aa
CY
62832011-07-07 Chong Yidong <cyd@stupidchicken.com>
6284
6285 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6286 (menu-bar-options-menu): Tweak descriptions.
6287
0a1848ec
LMI
62882011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6289
6290 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6291 menu items into verb phrases (bug#1421). Also refill to fit under
6292 80 columns.
6293
f5bd0689
CY
62942011-07-07 Chong Yidong <cyd@stupidchicken.com>
6295
538e85c6
CY
6296 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6297 (Info-read-node-name): Doc fix (Bug#1084).
6298
f5bd0689
CY
6299 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6300 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6301 (end-of-sexp, beginning-of-sexp)
6302 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6303 (forward-symbol, forward-same-syntax, word-at-point)
6304 (sentence-at-point): Doc fix (Bug#1144).
6305
56ec5115
LMI
63062011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6307
f3f8e37f
LMI
6308 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6309 should cover it (bug#1281).
6310
0757af94 6311 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6312
e9fce1ac 6313 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6314 negotiation fails, then possibly try again with a non-encrypted
6315 connection (bug#9017).
6316
56ec5115
LMI
6317 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6318 be used.
6319
c2f9aec8
RS
63202011-07-07 Richard Stallman <rms@gnu.org>
6321
6322 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6323 property, and handle its changed format.
6324 Look for the correct line number.
6325 Use file's line contents (but not past first =) to find
6326 correct line in message.
6327
ef7b981d 63282011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6329
6330 * international/characters.el (build-unicode-category-table):
6331 Delete it.
0757af94 6332 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6333
0757af94 6334 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6335 to src/chartab.c.
6336 (get-char-code-property): Call unicode-property-table-internal to
6337 load a file. Call get-unicode-property-internal where necessary.
6338 (put-char-code-property): Call unicode-property-table-internal to
6339 load a file. Call put-unicode-property-internal where necessary.
6340 put-unicode-property-internal where necessary.
0757af94
SM
6341 (char-code-property-description):
6342 Call unicode-property-table-internal to load a file.
c805dec0
KH
6343
6344 * international/charprop.el:
6345 * international/uni-bidi.el:
6346 * international/uni-category.el:
6347 * international/uni-combining.el:
6348 * international/uni-comment.el:
6349 * international/uni-decimal.el:
6350 * international/uni-decomposition.el:
6351 * international/uni-digit.el:
6352 * international/uni-lowercase.el:
6353 * international/uni-mirrored.el:
6354 * international/uni-name.el:
6355 * international/uni-numeric.el:
6356 * international/uni-old-name.el:
6357 * international/uni-titlecase.el:
6358 * international/uni-uppercase.el: Regenerate.
6359
6360 * loadup.el: Load international/charprop.el before
6361 international/characters.
6362
e14b388a
CY
63632011-07-07 Chong Yidong <cyd@stupidchicken.com>
6364
6365 * window.el (next-buffer, previous-buffer): Signal an error if
6366 called from a minibuffer window.
6367
6368 * bindings.el: Revert 2011-07-04 change.
6369
354cf0ba
RS
63702011-07-06 Richard Stallman <rms@gnu.org>
6371
6372 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6373 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6374 Treat markers like ints.
6375 (rmail-mime-entity): Doc fix.
6376
a48868a7
LMI
63772011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6378
4906cd3d
LMI
6379 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6380 defcustom again for backwards compatibility.
6381
e0457abe
LMI
6382 * simple.el (shell-command-on-region): Fill.
6383
d67f7e1f
LMI
6384 * dired-aux.el (dired-kill-line): Add a doc string.
6385
fe204702
LMI
6386 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6387 to "\\sw\\|\\s_" (bug#358).
6388
a48868a7
LMI
6389 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6390 (dired-unmark-backward): Ditto.
6391 (dired-flag-backup-files): Ditto.
6392
6393 * dired-x.el (dired-mark-sexp): Ditto.
6394
aa8a705c
RS
63952011-07-06 Richard Stallman <rms@gnu.org>
6396
6397 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6398 (rmail-mime-entity): New arg TRUNCATED.
6399 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6400 New functions.
6401 (rmail-mime-save): Warn if entity is truncated.
6402 (rmail-mime-toggle-hidden): Likewise, for showing.
6403 (rmail-mime-process-multipart): Record when an entity is truncated.
6404
a9a936b9
RS
6405 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6406 if ENTITY is a string.
6407
1f2b92cb
LMI
64082011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6409
f4f73198 6410 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6411 of faces when `M-C-x'-ing their definitions (bug#8378).
6412 Also clean up the code slightly.
f4f73198 6413
12b16734 6414 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6415 because that makes the colors go away.
12b16734 6416
f0691d22
LMI
6417 * mail/sendmail.el (send-mail-function): Change the default to
6418 `sendmail-query-once'.
9e87df06 6419 (sendmail-query-once): Add an autoload cookie.
f0691d22 6420
1f2b92cb
LMI
6421 * net/network-stream.el (network-stream-open-starttls): Try using
6422 a plain connection even if the server offered STARTTLS, and we
6423 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6424 capability. This should make smtpmail.el work in slightly more
6425 configurations.
6426
1cdd2a1b
MA
64272011-07-06 Michael Albinus <michael.albinus@gmx.de>
6428
6429 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6430 New defun.
6431 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6432
fbcc67e2
MM
64332011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6434
6435 * progmodes/sql.el: Version 3.0
0757af94 6436 (sql-product-alist): Add product :completion-object,
fbcc67e2 6437 :completion-column, and :statement attributes.
0757af94 6438 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6439 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6440 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6441 ansi keywords.
6442 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6443 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6444 (sql-oracle-show-reserved-words): New function for development.
6445 (sql-product-font-lock): Simplify for source code buffers.
6446 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6447 New functions.
6448 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6449 (sql-mode-map): Add statement movement functions.
6450 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6451 New variable.
fbcc67e2
MM
6452 (sql-statement-regexp, sql-beginning-of-statement)
6453 (sql-end-of-statement, sql-signum): New functions.
0757af94 6454 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6455 (sql-show-sqli-buffer): Bug fix.
6456 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6457 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6458 with sql-interactive-mode.
6459 (sql-save-connection): Save buffer local settings.
0757af94 6460 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6461 (sql-product-interactive): Bug fix.
6462 (sql-preoutput-hold): New variable.
6463 (sql-interactive-remove-continuation-prompt): Bug fixes.
6464 (sql-debug-redirect): New variable.
6465 (sql-str-literal): New function.
6466 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6467 Redesign.
fbcc67e2
MM
6468 (sql-oracle-save-settings, sql-oracle-restore-settings)
6469 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6470 (sql-completion-object, sql-completion-column)
6471 (sql-completion-sqlbuf): New variables.
6472 (sql-build-completions-1, sql-build-completions)
6473 (sql-try-completion): New functions.
6474 (sql-read-table-name): Use them.
6475 (sql-contains-names): New buffer local variable.
6476 (sql-list-all, sql-list-table): Use it.
6477 (sql-oracle-completion-types): New variable.
6478 (sql-oracle-completion-object, sql-sqlite-completion-object)
6479 (sql-postgres-completion-object): New functions.
6480
d4eaeab1
GM
64812011-07-06 Glenn Morris <rgm@gnu.org>
6482
6483 * window.el (pop-to-buffer): Doc fix.
6484
322b7dab 64852011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6486
6487 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6488
322b7dab 64892011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6490
322b7dab 6491 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6492
322b7dab 6493 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6494
605dd5bf
CY
64952011-07-05 Chong Yidong <cyd@stupidchicken.com>
6496
6497 * button.el (button): Inherit from link face. Suggested by Dan
6498 Nicolaescu.
6499
7dbfa719
SM
65002011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6501
3db614b0
SM
6502 * progmodes/gdb-mi.el: Fit in 80 columns.
6503 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6504 switch-to-buffer.
6505
7dbfa719
SM
6506 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6507 if imenu is simply not configured (bug#8941).
6508
919d884a
KM
65092011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6510
6511 * allout.el (allout-post-undo-hook): New allout outline-change
6512 event hook to signal undo activity.
6513 (allout-post-command-business): Run allout-post-undo-hook if an
6514 undo just occurred.
7dbfa719
SM
6515 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6516 * allout-widgets.el (allout-widgets-after-undo-function):
6517 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6518 in the vicinity of an undo.
6519 (allout-widgets-mode): Include allout-widgets-after-undo-function
6520 on the new allout-post-undo-hook.
6521
450a0f09
SM
65222011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6524 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6525 Let define-derived-mode define it.
6526 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6527 cycles of abbrev-table inheritance (bug#8998).
6528
2de69e00
RW
65292011-07-05 Roland Winkler <winkler@gnu.org>
6530
6531 * textmodes/bibtex.el: Add support for biblatex.
6532 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6533 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6534 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6535 (bibtex-entry-alist, bibtex-field-alist): New variables.
6536 (bibtex-entry-field-alist): Obsolete alias for
6537 bibtex-BibTeX-entry-alist.
6538 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6539 (bibtex-set-dialect): New command.
6540 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6541 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6542 Bind via bibtex-set-dialect.
2de69e00
RW
6543 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6544 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6545 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6546 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6547 Define via bibtex-set-dialect.
450a0f09
SM
6548 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6549 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6550 (bibtex-vec-push, bibtex-vec-incr): New functions.
6551 (bibtex-format-entry, bibtex-field-list)
6552 (bibtex-print-help-message, bibtex-validate)
6553 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6554
2dcdbdd9
SM
65552011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6556
6557 * progmodes/compile.el (compilation-goto-locus):
6558 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6559 * bs.el (bs-cycle-next, bs-cycle-previous):
6560 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6561 * bindings.el (mode-line-other-buffer):
6562 * autoinsert.el (auto-insert):
6563 * arc-mode.el (archive-extract):
6564 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6565
b27640fe
JB
65662011-07-05 Juanma Barranquero <lekktu@gmail.com>
6567
6568 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6569 Fix check of `emacs-lock-unlockable-modes'.
6570 Coerce true values of `emacs-lock--try-unlocking' to t.
6571
53bbe3ad
JB
65722011-07-05 Juanma Barranquero <lekktu@gmail.com>
6573
6574 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6575 * emacs-lock.el: New file.
6576
1d3cdbc7
JD
65772011-07-05 Julien Danjou <julien@danjou.info>
6578
6579 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6580 than `boundp' to check if face is set.
6581
9173deec
JB
65822011-07-05 Juanma Barranquero <lekktu@gmail.com>
6583
6584 * register.el (registerv-make):
6585 * window.el (window-min-height): Fix typos in docstrings.
6586
869795d6
JD
65872011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6588
9173deec 6589 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6590 Update doc string.
6591
b768cdcd
JB
65922011-07-04 Juanma Barranquero <lekktu@gmail.com>
6593
6594 * server.el (server-execute): Catch quit and call
6595 `server-return-error' to pass the error back to emacsclient and
6596 close the connection (bug#8942).
6597
13aa217b
KM
65982011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6599
6600 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6601 insecure exception for current topic. Also note that auto-saves
6602 are handled differently.
6603
6604 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6605 State variables for tracking auto-save inhibition situation.
6606
6607 (allout-write-contents-hook-handler): Rename from
6608 'allout-write-file-hook-handler', and describe how it depends on
6609 write-contents-functions sensitivity to non-nil value to prevent
6610 file write.
6611
6612 (allout-auto-save-hook-handler): Remove. auto-save does not check
6613 this in individual buffers, only in the starting buffer, so this
6614 is not the right way for us to inhibit auto-save in a buffer
6615 according to its condition.
6616
6617 (allout-mode): Use new allout-write-contents-hook-handler, and
6618 only with write-contents-functions. Remove auto-save provisions -
6619 they're implemented elsewhere.
6620
6621 (allout-before-change-handler): If undo is in progress, note that
6622 for attention of allout-post-command-business.
6623
6624 (allout-post-command-business): If the command we're following was
6625 an undo, check for change in the status of encrypted items and
6626 adjust auto-save inhibitions accordingly.
6627
6628 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6629 according to whether there are or aren't any plain-text topics
6630 pending encryption.
6631
2dcdbdd9 6632 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6633 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6634 if there are plain-text topics pending encryption.
13aa217b
KM
6635
6636 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6637 buffer-saved-size and some allout state to not inhibit auto-saves
6638 if there are no longer any plain-text topics pending encryption.
6639
0757af94
SM
6640 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6641 No longer provide for exemption of the current topic.
13aa217b 6642
ac89b32c
JL
66432011-07-04 Juri Linkov <juri@jurta.org>
6644
6645 Add 7z operations to delete and save changed members (bug#8968).
6646 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6647 New defcustoms.
6648 (archive-7z-write-file-member): New function.
6649 (archive-7z-summarize): Fix the number of dashes in the
6650 listing output.
6651
8fa39615
SM
66522011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6653
6654 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6655 (bug#8958).
6656
2f11b3f1
CY
66572011-07-04 Chong Yidong <cyd@stupidchicken.com>
6658
d66fef2b
CY
6659 * bindings.el: Ignore next-buffer and previous-buffer in
6660 minibuffer-local-map.
6661
2f11b3f1
CY
6662 * font-lock.el (font-lock-builtin-face): Change light background
6663 color to dark slate blue (Bug#6693).
6664
f932a347
WD
66652011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6666
6667 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6668
c8af70e1
SM
66692011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6670
6671 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6672 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6673 Add switch-to-buffer.
6674
f158badc
LMI
66752011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6676
6677 * isearch.el (isearch-search-fun-function): Clarify further the
6678 meaning of the function returned.
6679
6d95bd46
MA
66802011-07-04 Michael Albinus <michael.albinus@gmx.de>
6681
6682 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6683
6684 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6685 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6686 Use it.
6687 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6688 `tramp-default-remote-path' does not exist.
6689 (tramp-send-command-and-read): New optional argument NOERROR.
6690 (tramp-open-connection-setup-interactive-shell)
6691 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6692 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6693 (tramp-process-sentinel): Flush also process' connection property.
6694 (tramp-sh-handle-start-file-process): Do not set process
6695 sentinel. It is done now ...
6696 (tramp-maybe-open-connection): ... here. (Bug#8929)
6697
909e6b67
MK
66982011-07-04 MON KEY <monkey@sandpframing.com>
6699
6700 * play/animate.el (animate-string): Doc fixes and allow changing
6701 the buffer name (bug#5417).
6702
67032011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6704
c8af70e1 6705 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6706
f34755dc
PE
67072011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6708
396cec72
PE
6709 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6710 This is simpler and helps future-proof the code.
6711 (timer-until): Use time-subtract and float-time.
08235028 6712 (timer--time-less-p): Use time-less-p.
f34755dc 6713
56e6cc31
JB
67142011-07-04 Juanma Barranquero <lekktu@gmail.com>
6715
3abb79e5
JB
6716 * type-break.el (timep): Use the value of `float-time' to avoid a
6717 byte-compiler warning.
6718
56e6cc31
JB
6719 * server.el (server-eval-and-print): Return any result, even nil.
6720
7b9430b4
PE
67212011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6722
6723 * type-break.el: Accept time formats that the builtins accept.
6724 (timep, type-break-time-difference): Accept any format that
6725 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6726 This is simpler and helps future-proof the code.
6727 (type-break-time-difference): Round rather than ignoring
6728 subseconds components.
6729
3034e9e7
LMI
67302011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6731
6732 * info.el (Info-apropos-matches): Make non-interactive, since it
6733 doesn't seem to do anything useful as a command (bug#8829).
6734
1485f4c0
CY
67352011-07-03 Chong Yidong <cyd@stupidchicken.com>
6736
6737 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6738 Move from faces.el.
1485f4c0
CY
6739 (frame-default-terminal-background): New function.
6740
6741 * custom.el (custom-push-theme): Don't record faces in `changed'
6742 theme; this doesn't work correctly for per-frame face settings.
6743 (disable-theme): Use face-set-after-frame-default to reset faces.
6744 (custom--frame-color-default): New function.
6745
9fa3dd45
LMI
67462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6747
c8af70e1 6748 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6749 (bug#8769).
6750
6cbbc20c
KR
67512011-03-29 Kevin Ryde <user42@zip.com.au>
6752
6753 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6754 `perl-Test2' extend to match possible "fail #N" rep count
6755 (bug#8377).
6756
c7f98048
LMI
67572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6758
65676592
LMI
6759 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6760 `smtpmail-via-smtp' now returns the error instead of nil.
6761
c7f98048
LMI
6762 * isearch.el (isearch-search-fun-function): Clarify the doc string
6763 (bug#8101).
6764
56e6cc31 67652011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6766
6767 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6768 unnecessary spaces (bug#8987).
6769
2b216704
LMI
67702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6771
6772 * net/network-stream.el (open-network-stream): Use the
6773 :end-of-capability command thoughout.
6774
67752011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6776
6777 * net/network-stream.el (open-network-stream): Add the
6778 :end-of-capability command parameter, used by pop3.el.
6779
36adf6ce
LMI
67802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6781
1ca0da0e
LMI
6782 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6783
fc00f69c
LMI
6784 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6785 for list)" (bug#6475).
6786
28fd8759 6787 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6788 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6789 an error (bug#6297).
6790
0dd8b6da
LMI
6791 * man.el (Man-reference-regexp): Allow matching possible
6792 word-wrapped references (bug#6289).
6793
ce1438d6
LMI
6794 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6795 for consistency with the other vc buffers (bug#6197).
6796 (vc-checkin): Ditto.
6797
6798 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6799
36adf6ce
LMI
6800 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6801
e83cc1f7
LMI
68022011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6803
8a20ca4c
LMI
6804 * custom.el (defcustom): Clarify that :set is only used in the
6805 Customize user interface (bug#6089).
6806
83319045
LMI
6807 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6808 associated with a file, refuse to run instead of erroring out
6809 (bug#6084).
6810
a8392169
LMI
6811 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6812 the doc string, since it appears that using `fill-column' always
6813 controls the width (bug#7845).
6814
e83cc1f7
LMI
6815 * simple.el (shell-command-on-region): Say where the error output
6816 went if `shell-command-default-error-buffer' is set (bug#6857).
6817
e47ca23b
KM
68182011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6819
6820 * allout.el (allout-yank-processing): Adjust cursor position for
6821 backwards-deleted space.
6822
6823 (allout-rebullet-heading): Register changes with
6824 allout-exposure-changed-hook, so the modified topic is properly
6825 decorated.
6826
5cf56143
LMI
68272011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6828
08549772
LMI
6829 * minibuffer.el (completion-in-region): Document PREDICATE
6830 (bug#7136).
6831
48e96771
LMI
6832 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6833 of keyword/argument pairs (bug#6904).
6834
c8af70e1
SM
6835 * replace.el (multi-occur):
6836 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6837
e17d05e2
LMI
68382011-07-02 Drew Adams <drew.adams@oracle.com>
6839
6840 * dired.el (dired-mark-if): Make the message about whether it's
6841 marking or unmarking clearer (bug#8523).
6842
063b0e45
LMI
68432011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6844
6845 * disp-table.el (display-table-print-array): New function.
6846 (describe-display-table): Use it to print the vectors more pretty
6847 (Bug#8859).
6848
28545e04
MR
68492011-07-02 Martin Rudalics <rudalics@gmx.at>
6850
6851 * window.el (window-state-get-1): Don't assign clone numbers.
6852 Add clone-of item to list of window parameters.
6853 (window-state-put-2): Don't process clone numbers.
6854 (display-buffer-alist): Fix doc-string.
6855
3349e122
SM
68562011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6857
6858 * subr.el (remq): Don't allocate if it's not needed.
6859 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6860 (keymap--merge-bindings): New functions.
6861 (keymap-canonicalize): Use them to refine the canonicalization.
6862 * minibuffer.el (minibuffer-local-completion-map)
6863 (minibuffer-local-must-match-map): Move initialization from C.
6864 (minibuffer-local-filename-completion-map): Move initialization from C;
6865 don't inherit from anything here.
6866 (minibuffer-local-filename-must-match-map): Make obsolete.
6867 (completing-read-default): Use make-composed-keymap to combine
6868 minibuffer-local-filename-completion-map with either
6869 minibuffer-local-must-match-map or
6870 minibuffer-local-filename-completion-map.
6871
d224ac83
GM
68722011-07-01 Glenn Morris <rgm@gnu.org>
6873
3de63bf8
GM
6874 * type-break.el (type-break-time-sum): Use dolist.
6875
d224ac83
GM
6876 * textmodes/flyspell.el (flyspell-word-search-backward):
6877 Replace CL function.
6878
1a1e3f32
SM
68792011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6880
fe3f64d5
SM
6881 * mouse.el (mouse--strip-first-event): New function.
6882 (function-key-map): Use it to map fringe clicks to normal clicks
6883 by default.
6884
eb604e34
SM
6885 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6886 (vc-bzr-revision-completion-table): Add support for annotate and date.
6887
1a1e3f32
SM
6888 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6889 inherit from parent.
6890
5bd35902
LMI
68912011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6892
ace6c69c 6893 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 6894 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 6895
191e2bed
LMI
6896 * dired.el (dired-mode): Fix up the doc string as suggested by
6897 Drew Adams (bug#8817).
6898
5bd35902
LMI
6899 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6900 cookie, since the manual says that it should be possible to add
6901 this function to `find-file-hook' (bug#8709).
6902
eee8207a
TZ
69032011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6904
6905 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6906 here. Noted Ted Zlatanov as the maintainer.
6907 (cfengine-common-settings, cfengine-common-syntax): New functions
6908 to set up common things between `cfengine-mode' and
6909 `cfengine3-mode'.
6910 (cfengine3-mode): New mode.
6911 (cfengine3-defuns cfengine3-defuns-regex
6912 (cfengine3-class-selector-regex cfengine3-category-regex)
6913 (cfengine3-vartypes cfengine3-font-lock-keywords)
6914 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 6915 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 6916
36b148cf
MA
69172011-07-01 Michael Albinus <michael.albinus@gmx.de>
6918
6919 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6920
6921 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6922
0bf4ba9a
MR
69232011-07-01 Martin Rudalics <rudalics@gmx.at>
6924
6925 * window.el (same-window-buffer-names, same-window-regexps)
6926 (same-window-p, special-display-frame-alist)
6927 (special-display-popup-frame, special-display-function)
6928 (special-display-buffer-names, special-display-regexps)
6929 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6930 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6931 (split-window-preferred-function, split-height-threshold)
6932 (split-width-threshold, even-window-heights)
6933 (display-buffer-mark-dedicated, window-splittable-p)
6934 (split-window-sensibly, window-safely-shrinkable-p):
6935 Un-obsolete.
6936 (display-buffer): Don't spread args with function specifier
6937 because special-display-popup-frame won't like it.
6938
35837f51
PE
69392011-07-01 Paul Eggert <eggert@cs.ucla.edu>
6940
d0672f86
PE
6941 Time-stamp simplifications and fixes.
6942 These improve accuracy slightly, and future-proof the code
6943 against some potential changes to current-time format.
6944
b9444d97
PE
6945 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6946 by using time-since and float-time.
6947
0ef923dc
PE
6948 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6949 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
6950 + NNN microseconds".
6951
2f81380d
PE
6952 * type-break.el (type-break-time-sum): Rewrite using time-add.
6953
845b5c3e
PE
6954 * play/hanoi.el (hanoi-current-time-float): Remove.
6955 All uses replaced by float-time.
6956
ee6f1be0
PE
6957 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6958 This yields a more-accurate answer.
6959 (rng-time-to-float): Remove; no longer needed.
6960
fe955043
PE
6961 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6962
5777162a
PE
6963 * calendar/timeclock.el (timeclock-seconds-to-time):
6964 Defalias to seconds-to-time, since they're the same thing.
6965
3103f8b6 6966 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 6967 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
6968 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6969
0e61a35f
SM
69702011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6971
6972 * window.el (bury-buffer): Don't iconify the only frame.
6973 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6974 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
6975
ddd63a1e
CY
69762011-07-01 Chong Yidong <cyd@stupidchicken.com>
6977
0e61a35f
SM
6978 * eshell/em-smart.el (eshell-smart-display-navigate-list):
6979 Add mouse-yank-primary.
ddd63a1e 6980
055f4923
TZ
69812011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6982
6983 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6984
6a2fb145
SM
69852011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6986
6987 * emacs-lisp/find-func.el (find-library--load-name): New fun.
6988 (find-library-name): Use it to find relative load names when provided
6989 absolute file name (bug#8803).
6990
fd4983f2
LMI
69912011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6992
887d14ad
LMI
6993 * textmodes/flyspell.el (flyspell-word): Consider words that
6994 differ only in case as potential doublons (bug#5687).
6995
c53dc7fc
LMI
6996 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
6997 Remove two rather uninteresting debugging-like messages to make
6998 debbugs.el more silent.
6999
fd4983f2
LMI
7000 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7001 a password-like phrase.
7002
7a71b18d 70032011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7004
7005 * progmodes/cc-guess.el: New file.
7006
6a2fb145 7007 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7008
7009 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7010 derived from `c-basic-common-init'.
7011
7012 * progmodes/cc-mode.el (top-level): Require cc-guess.
7013 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7014
1fa280a3
LM
70152011-06-30 Lawrence Mitchell <wence@gmx.li>
7016
7017 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7018
e6597158
AM
70192011-06-30 Alan Mackenzie <acm@muc.de>
7020
1fa280a3
LM
7021 * progmodes/cc-engine.el (c-guess-continued-construct):
7022 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7023 lock is disabled. Name this case as "CASE G".
7024
68ba37fb
KM
70252011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7026
7027 * allout.el (allout-yank-processing): Fix injection of extra space
7028 between bullet and non-whitespace character in first topic when
7029 pasting, ensuring that the actual spacing in the pasted topic
7030 following the bullet char is preserved. This extra space was
7031 causing pasted encrypted topics to get a decrypted status even
7032 when the content was actually still encrypted. Now the decryption
7033 status from before the paste is preserved.
7034
7035 (allout-flag-region): Set all allout overlays so they evaporate
7036 when reduced to zero length (evanescent), to prevent overlay
7037 leakage.
7038
887a0b34
GM
70392011-06-30 Glenn Morris <rgm@gnu.org>
7040
94b9acce
GM
7041 * w32-fns.el (w32-charset-info-alist): Declare.
7042
1d9b46d4
GM
7043 * find-dired.el (find-grep-options): Simplify.
7044
cc232200
GM
7045 * term/ns-win.el (ns-set-resource): Declare.
7046
28e77c46
GM
7047 * ses.el (row, col): Declare dynamic variables honestly.
7048
887a0b34
GM
7049 * textmodes/reftex-parse.el (index-tags): Declare.
7050
658d8eb8
CY
70512011-06-30 Chong Yidong <cyd@stupidchicken.com>
7052
7053 * cus-edit.el (customize-push-and-save): New function.
7054
7055 * files.el (hack-local-variables-confirm): Use it.
7056
1fa280a3
LM
7057 * custom.el (load-theme): New arg NO-CONFIRM.
7058 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7059 (custom-enabled-themes): Doc fix.
7060
7061 * cus-theme.el (customize-create-theme)
7062 (custom-theme-merge-theme): Callers to load-theme changed.
7063
bb617717
LMI
70642011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7065
d61bdd5d
LMI
7066 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7067 short URLs have at least one dot in them (bug #7614).
7068
bb617717
LMI
7069 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7070 nil, because using a pty is apparently too slow (bug #895).
7071
2f31f37a
LMI
70722011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7073
7074 * mail/sendmail.el (sendmail-query-once): New function.
7075 (sendmail-query-once-function): New variable.
7076
3076b24e
GM
70772011-06-29 Glenn Morris <rgm@gnu.org>
7078
faf2a174
GM
7079 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7080
3076b24e
GM
7081 * ses.el (top-level): Require cl when compiling.
7082 (ses-set-localvars): Fix error statement.
7083 Call it at compile time to silence a storm of warnings.
7084
5386012d
MR
70852011-06-29 Martin Rudalics <rudalics@gmx.at>
7086
7087 * window.el (normalize-live-buffer): Rename to
7088 window-normalize-buffer.
7089 (normalize-live-frame): Rename to window-normalize-frame.
7090 (normalize-any-window): Rename to window-normalize-any-window.
7091 (normalize-live-window): Rename to window-normalize-live-window.
7092 (make-window-atom): Rename to window-make-atom.
7093 (window-resize-reset): Rename to window--resize-reset.
7094 (window-resize-reset-1): Rename to window--resize-reset-1.
7095 (resize-mini-window): Rename to window--resize-mini-window.
7096 (resize-subwindows-skip-p): Rename to
7097 window--resize-subwindows-skip-p.
7098 (resize-subwindows-normal): Rename to
7099 window--resize-subwindows-normal.
7100 (resize-subwindows): Rename to window--resize-subwindows.
7101 (resize-other-windows): Rename to window--resize-siblings.
7102 (resize-this-window): Rename to window--resize-this-window.
7103 (resize-root-window): Rename to window--resize-root-window.
7104 (resize-root-window-vertically): Rename to
7105 window--resize-root-window-vertically.
7106 (normalize-buffer-to-display): Rename to
7107 window-normalize-buffer-to-display.
7108 (normalize-buffer-to-switch-to): Rename to
7109 window-normalize-buffer-to-switch-to.
7110 Correspondingly update all callers of the functions listed
7111 above.
7112 (display-buffer-alist, display-buffer-normalize-arguments)
7113 (display-buffer-normalize-options, display-buffer)
7114 (display-buffer-alist-set): Use "function" instead of
7115 "fun-with-args".
7116
1176868d
CY
71172011-06-28 Chong Yidong <cyd@stupidchicken.com>
7118
7119 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7120 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7121 debbugs.gnu.org. Mention acknowledgment email.
7122
20a7a65f
LMI
71232011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7124
7125 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7126 buffer multibyteness, since it shouldn't matter.
7127
5f45cca5
MR
71282011-06-28 Martin Rudalics <rudalics@gmx.at>
7129
7130 * window.el (display-buffer-in-side-window): Handle dedicated
7131 windows as in display-buffer-reuse-window.
7132 (display-buffer-normalize-alist): Use value of override
7133 specifier.
7134 (display-buffer-normalize-specifiers): Use value of
7135 other-window-means-other-frame specifier.
7136 (display-buffer-alist): Rewrite some texts in widgets.
7137 (display-buffer): Spread arguments when calling function
7138 specified by fun-with-args.
7139
ad85fe1f
DD
71402011-06-28 Deniz Dogan <deniz@dogan.se>
7141
1fa280a3
LM
7142 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7143 Unnest `let'.
da68c4c8 7144
ad85fe1f
DD
7145 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7146 selectors (Bug#5732).
ec49bd31 7147 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7148
a08cc025
JA
71492011-06-27 Jari Aalto <jari.aalto@cante.net>
7150
7151 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7152 (eshell-ls-date-format): New defcustom.
7153 (eshell-ls-file): Use it.
7154
e2b551c5
SM
71552011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7156
7157 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7158
8982b231
KY
71592011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7160
7161 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7162 (ange-ftp-make-tmp-name): New arg.
7163 (ange-ftp-file-local-copy): Use it.
7164
36c9fa27
J
71652011-06-27 Jambunathan K <kjambunathan@gmail.com>
7166
7167 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7168 no-conversion (Bug#8870).
7169
d68443dc
MR
71702011-06-27 Martin Rudalics <rudalics@gmx.at>
7171
7172 * window.el (window-right, window-left, window-child)
7173 (window-child-count, window-last-child)
7174 (window-iso-combination-p, walk-window-tree-1)
7175 (window-atom-check-1, window-tree-1, delete-window)
7176 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7177 new naming conventions - window-vchild, window-hchild,
7178 window-next and window-prev are now called window-top-child,
7179 window-left-child, window-next-sibling and window-prev-sibling
7180 respectively.
d615d6d2
MR
7181 (resize-window-reset): Rename to window-resize-reset.
7182 (resize-window-reset-1): Rename to window-resize-reset-1.
7183 (resize-window): Rename to window-resize.
7184 (window-min-height, window-min-width)
7185 (resize-mini-window, resize-this-window, resize-root-window)
7186 (resize-root-window-vertically, adjust-window-trailing-edge)
7187 (enlarge-window, shrink-window, maximize-window)
7188 (minimize-window, delete-window, quit-restore-window)
7189 (split-window, balance-windows, balance-windows-area-adjust)
7190 (balance-windows-area, window-state-put-2)
7191 (display-buffer-even-window-sizes, display-buffer-set-height)
7192 (display-buffer-set-width, set-window-text-height)
7193 (fit-window-to-buffer): Rename all "resize-window" prefixed
7194 calls to use the "window-resize" prefix convention.
7195 (display-buffer-alist): Fix symbol for label specifier.
7196 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7197 corresponding specifier.
7198 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7199
b6458526
VB
72002011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7201
7202 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7203 convention.
7204 (ses-call-printer): Does not pass an empty string to formatter when the
7205 cell is empty to keep from barking printer Calc math-format-value.
7206
d31fd9ac
RS
72072011-06-27 Richard Stallman <rms@gnu.org>
7208
43d5bf84
RS
7209 * battery.el (battery-mode-line-limit): New variable.
7210 (battery-update): Handle it.
7211
d31fd9ac
RS
7212 * mail/rmailmm.el (rmail-mime-process-multipart):
7213 Handle truncated messages.
7214
819a6054
GM
72152011-06-27 Glenn Morris <rgm@gnu.org>
7216
7217 * progmodes/flymake.el (flymake-err-line-patterns):
7218 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7219
cedc73f2
VB
72202011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7221
819a6054 7222 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7223 (ses--clean-!, ses--clean-_): New functions.
7224 (ses-range): Add configurability of readout order, and conversion
7225 to Calc vector.
7226
5e5d49b6
VB
7227 * ses.el (ses-repair-cell-reference-all): New function.
7228 (ses-cell-symbol): Set macro as safe, so that it can be used in
7229 formulas.
7230
56e6cc31 7231 * ses.el: Update cycle detection algorithm.
90ca8b49 7232 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7233 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7234 (ses-set-localvars): New function.
7235 (ses-make-cell): Add property-list as a cell element.
7236 (ses-cell-property-get-fun, ses-cell-property-get)
7237 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7238 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7239 New functions.
90ca8b49
VB
7240 (ses-cell-property-set, ses-cell-property-pop)
7241 (ses-cell-property-get-handle): New macro.
7242 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7243 New aliases, used for code readability.
7244 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7245 cycle detection.
7246 (ses-self-reference-early-detection): New defcustom.
fac916bf 7247 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7248 (ses-mode): Use ses-set-localvars.
7249 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7250 before lauching the update processing.
7251 (ses-initialize-Dijkstra-attempt): New function.
7252 (ses-recalculate-cell): Update for cycle detection based on
7253 Dijkstra algorithm.
7254
2bb63e81
VB
7255 * ses.el: Fix commenting and indenting convention.
7256
c9d29fb8
SM
72572011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * bs.el (bs-cycle-next): Complete last change.
7260
d8e4b68b
JB
72612011-06-27 Drew Adams <drew.adams@oracle.com>
7262
7263 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7264
40098786
LMI
72652011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7266
c9d29fb8
SM
7267 * net/network-stream.el (network-stream-open-starttls):
7268 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7269 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7270
40098786
LMI
7271 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7272 to binary to possibly avoid line encoding issues on Windows (among
7273 other things).
7274
468d09d4
LMI
72752011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7276
7277 * net/network-stream.el (open-network-stream): Return an :error
7278 saying what the problem was, if possible.
7279
7280 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7281 server.
7282
7283 * net/network-stream.el (network-stream-open-starttls): If we
7284 wanted to use STARTTLS, and the server offered it, but we weren't
7285 able to because we had no STARTTLS support, then close the connection.
7286 (open-network-stream): Return an :error element, if present.
7287
16f07dd7
CY
72882011-06-26 Chong Yidong <cyd@stupidchicken.com>
7289
88821ca0
CY
7290 * hl-line.el (hl-line-sticky-flag): Doc fix.
7291 (global-hl-line-sticky-flag): New option (Bug#8323).
7292 (global-hl-line-highlight): Obey it.
7293
16f07dd7
CY
7294 * vc/vc.el (vc-revert-show-diff): Default to t.
7295
6b5ccddf
KM
72962011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7297
c9d29fb8
SM
7298 * allout-widgets.el (allout-widgets-post-command-business):
7299 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7300 undecorated when an isearch is continued past, and isearch
7301 automatically collapses them. This leads to "widget leaks", where
7302 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7303 hidden widgets can slow down cursor travel, substantially.
7304 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7305 so we're doing without this nicety.
7306
7307 (allout-widgets-tally-string): Don't try to do a hash-table-count
7308 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7309 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7310 *Messages* when allout-widgets-maintain-tally is t.
7311
355f2e07
MR
73122011-06-26 Martin Rudalics <rudalics@gmx.at>
7313
7314 * window.el (display-buffer-normalize-argument): Rename to
7315 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7316 LABEL argument. Respect special-display-function when popping up
7317 a new frame. Fix code searching for a window showing the buffer
7318 on another frame.
c9d29fb8
SM
7319 (display-buffer-normalize-specifiers):
7320 Call display-buffer-normalize-arguments.
355f2e07
MR
7321 (display-buffer-in-window): Don't undedicate the window if its
7322 buffer remains the same.
7323 Reported by Drew Adams <drew.adams@oracle.com>.
7324 (display-buffer-alist): Add choice for same-window macro
7325 specfier.
7326 (display-buffer): Mention special meaning of LABEL argument in
7327 doc-string. Fix quoting. Don't pop up a new frame even as
7328 fallback.
7329
7ca8fc42
JB
73302011-06-26 Juanma Barranquero <lekktu@gmail.com>
7331
7332 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7333 avoid deleting the current window in some cases (bug#8911).
7334
bc312254
AS
73352011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7336
7337 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7338 (Bug#8934)
7339
2db18f3f
LMI
73402011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7341
c9d29fb8
SM
7342 * net/network-stream.el (network-stream-open-starttls):
7343 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7344 (network-stream-open-tls): Ditto.
7345
6302e0d3
LL
73462011-06-26 Leo Liu <sdl.web@gmail.com>
7347
7348 * register.el (registerv): New struct.
7349 (registerv-make): New function.
c9d29fb8
SM
7350 (jump-to-register, describe-register-1, insert-register):
7351 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7352 struct. (Bug#8415)
7353
5fdd4046
CY
73542011-06-26 Chong Yidong <cyd@stupidchicken.com>
7355
2afef60a
CY
7356 * vc/vc.el (vc-revert-show-diff): New defcustom.
7357 (vc-diff-internal): New arg specifying diff buffer.
7358 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7359 reuse an existing *vc-diff* buffer (Bug#8927).
7360
5fdd4046
CY
7361 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7362
e93db24a
GM
73632011-06-26 Glenn Morris <rgm@gnu.org>
7364
7365 * progmodes/f90.el (f90-critical-indent): New option.
7366 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7367 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7368 (f90-mode): Doc fix.
7369 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7370 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7371 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7372 (f90-match-end): Handle block, critical.
7373
eefff499
GM
73742011-06-25 Glenn Morris <rgm@gnu.org>
7375
f6ba4cc9
GM
7376 * calendar/diary-lib.el (diary-included-files): Doc fix.
7377 (diary-include-files): New function, extracted from
7378 diary-include-other-diary-files and diary-mark-included-diary-files.
7379 (diary-include-other-diary-files, diary-mark-included-diary-files):
7380 Just call diary-include-files.
7381 (diary-mark-entries): Reset diary-included-files on first call.
7382
16712304
GM
7383 * calendar/diary-lib.el (diary-mark-entries)
7384 (diary-mark-included-diary-files):
7385 Visit included diary-files in temp buffers.
7386
5d8e0d43
GM
7387 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7388 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7389 (f90-start-block-re, f90-imenu-generic-expression)
7390 (f90-looking-at-program-block-start, f90-no-block-limit):
7391 Add support for submodules.
7392
ccf7a5d5
GM
7393 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7394 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7395
11fdef7d 73962011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7397
7398 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7399 buffer-file-type before setting its value, to avoid disastrous
eefff499 7400 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7401
74f53697
JB
74022011-06-25 Juanma Barranquero <lekktu@gmail.com>
7403
7404 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7405
7406 * ses.el (ses-unload-function):
7407 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7408
7409 * proced.el (proced-unload-function):
7410 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7411
18a4ce5e
AR
74122011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7413
7414 * server.el (server-create-window-system-frame): Add parameters arg.
7415 (server-process-filter): Doc fix. Handle frame-parameters.
7416
519d22cc
JB
74172011-06-25 Juanma Barranquero <lekktu@gmail.com>
7418
7419 Fix bug#8730, bug#8781.
7420
7421 * loadhist.el (unload--set-major-mode): New function.
7422 (unload-feature): Use it.
7423
7424 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7425 (python-unload-function): New function.
7426
c206f5b0
SM
74272011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7428
7429 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7430
f9ad64f3
GS
74312011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7432
7433 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7434 the candidates list.
7435
7d0da90e
JB
74362011-06-24 Juanma Barranquero <lekktu@gmail.com>
7437
7438 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7439
14b4e83d
RS
74402011-06-23 Richard Stallman <rms@gnu.org>
7441
7442 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7443 (rmail-variables): Set next-error-move-function.
7444 (rmail-what-message): Take argument POS.
7445 (rmail-next-error-move): New function.
7446
273d2baf
SM
74472011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7448
7449 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7450 messages for adjacent non-terminals.
7451
56c2cc9a
RS
74522011-06-23 Richard Stallman <rms@gnu.org>
7453
7454 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7455 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7456 (rmail-start-mail): Don't specify use of rmail-mail-return;
7457 that's done by mail-bury now.
7458 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7459
d59eb518
MA
74602011-06-23 Michael Albinus <michael.albinus@gmx.de>
7461
7462 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7463 SIZE is a number.
7464
02cfc6d6
MR
74652011-06-23 Martin Rudalics <rudalics@gmx.at>
7466
7467 * window.el (get-lru-window, get-mru-window)
7468 (get-largest-window): Never return a minibuffer window.
7469 (display-buffer-pop-up-window): Fix a bug that could lead to
7470 reusing the minibuffer window.
7471 (display-buffer): Pass original specifier argument to
7472 display-buffer-function instead of the normalized one.
7473 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7474
4e323265
LL
74752011-06-22 Leo Liu <sdl.web@gmail.com>
7476
7477 * minibuffer.el (completing-read-function)
7478 (completing-read-default): Move from minibuf.c
7479
7a70468f
RS
74802011-06-22 Richard Stallman <rms@gnu.org>
7481
50718fc2
RS
7482 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7483 to Rmail even if not started by a special Rmail command.
7484
7a70468f
RS
7485 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7486 Copy the buffer currently showing just one message.
7487
297dde5a
RW
74882011-06-22 Roland Winkler <winkler@gnu.org>
7489
7490 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7491 (bibtex-clean-entry): First delete the old key so that a
7492 customized algorithm for generating the new key does not get
7493 confused by the old key.
7494 (bibtex-url): Obey regexp of first step.
7495 (bibtex-search-entries): Do not use add-to-list with local
7496 list-var.
7497
97bb1093
LMI
74982011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7499
7500 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7501 stored a user name, then query for the password first, instead of
7502 waiting for SMTP to give an error message and the trying again.
7503
1c0f1a19
JD
75042011-06-22 Lawrence Mitchell <wence@gmx.li>
7505
7506 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7507 BUFFER in call-process.
7508
396f7c9d
LMI
75092011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7510
7511 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7512 QUIT twice.
ddb7ffee
LMI
7513 (smtpmail-try-auth-methods): Require user name and password from
7514 auth-source.
396f7c9d 7515
8998d1b3
MR
75162011-06-22 Martin Rudalics <rudalics@gmx.at>
7517
7518 * window.el (display-buffer-default-specifiers)
7519 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7520 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7521 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7522
7523 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7524 (special-display-frame-alist, special-display-popup-frame):
7525 Remove duplicate declarations. These are now in window.el.
7526
4ea31e07
LMI
75272011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7528
c9d29fb8
SM
7529 * mail/smtpmail.el (smtpmail-via-smtp):
7530 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7531 server supports it. SMTP servers that support STARTTLS commonly
7532 require it.
7533
7534 * net/network-stream.el (network-stream-open-starttls): Support
7535 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7536 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7537
95f41d9a
LMI
7538 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7539 upgrades with `open-network-stream', and rely solely on
7540 auth-source for all credentials. Big changes throughout the file,
7541 but in particular:
c9d29fb8
SM
7542 (smtpmail-auth-credentials): Remove.
7543 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7544 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7545 MAIL FROM, too.
95f41d9a 7546
c9d29fb8
SM
7547 * net/network-stream.el (network-stream-open-starttls):
7548 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7549 STARTTLS.
7550 (auth-source): Require.
7551 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7552 (network-stream-certificate): Change cert-cert to cert and
7553 cert-key to key.
4ea31e07 7554
065ec2c7
MA
75552011-06-21 Michael Albinus <michael.albinus@gmx.de>
7556
7557 * net/tramp-cache.el (top): Don't load the persistency file when
7558 "emacs -Q" has been called.
7559
cd93b359
DR
75602011-06-21 Tim Harper <timcharper@gmail.com>
7561
d8e4b68b
JB
7562 * term/ns-win.el (ns-initialize-window-system):
7563 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7564 resource to NO as it is not yet supported by the NS port.
7565
ae9c0411
JB
75662011-06-21 Juanma Barranquero <lekktu@gmail.com>
7567
7568 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7569 (list-dynamic-libraries): ...not here.
7570
7f3f739f
LL
75712011-06-21 Leo Liu <sdl.web@gmail.com>
7572
7573 * subr.el (sha1): Implement sha1 using secure-hash.
7574
327c8fb1
MR
75752011-06-21 Martin Rudalics <rudalics@gmx.at>
7576
7577 * window.el (display-buffer-alist): In default value do not
7578 enforce searching a window on any but the selected frame.
7579 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7580 (display-buffer-select-window): Remove function.
7581 (display-buffer-in-window): When a window on another frame gets
7582 reused, do not select it any more but just raise its frame if
7583 necessary (Bug#8851) and (Bug#8856).
7584 (display-buffer-normalize-options): Handle pop-up-frames related
7585 options more faithfully.
7586 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7587 window if it is on another frame.
c9d29fb8
SM
7588 (display-buffer-alist, display-buffer-default-specifiers):
7589 Don't make new frame unsplittable by default.
9e9de014
MR
7590 (display-buffer-normalize-argument): Fix doc-string typo and use
7591 'same-frame-other-window instead of 'other-window when associating
7592 with display-buffer-macro-specifiers.
327c8fb1 7593
7cf3f556
VB
75942011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7595
7596 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7597 New functions.
7598 (5x5-mode-map, 5x5-mode-menu): Bind them.
7599 (5x5-draw-grid): Tweak the solver's rendering.
7600
60a406cf
SM
76012011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7602
7603 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7604 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7605
d8e4b68b 76062011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7607
7608 * menu-bar.el: Use function variable instead of switch-to-buffer.
7609 (menu-bar-select-buffer-function): New variable.
60a406cf 7610 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7611
478d6f95
SM
76122011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7615 variable's status.
7616
ca530739
JD
76172011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7618
7619 * x-dnd.el (x-dnd-version-from-flags)
7620 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7621 and long as number (Bug#8899).
7622 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7623
bcd70d97
SM
76242011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7625
60a406cf 7626 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7627 (completion-try-completion, completion-all-completions): Compute the
7628 metadata argument if it's missing; make it optional (bug#8795).
7629
60a406cf 7630 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7631 (widget-complete): Use new :completion-function property.
7632 (widget-completions-at-point): New function.
7633 (default): Use :completion-function instead of :complete.
60a406cf
SM
7634 (widget-default-completions): Rename from widget-default-complete;
7635 Rewrite.
bcd70d97
SM
7636 (widget-string-complete, widget-file-complete, widget-color-complete):
7637 Remove functions.
7638 (file, symbol, function, variable, coding-system, color):
7639 * international/mule-cmds.el (default-input-method, charset)
7640 (language-info-custom-alist):
7641 * cus-edit.el (face): Use new property :completions.
7642
7643 * progmodes/pascal.el (pascal-completions-at-point): New function.
7644 (pascal-mode): Use it.
7645 (pascal-mode-map): Use completion-at-point.
7646 (pascal-toggle-completions): Make obsolete.
7647 (pascal-complete-word, pascal-show-completions):
7648 * progmodes/octave-mod.el (octave-complete-symbol):
7649 Redefine as obsolete alias.
7650 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7651 Signal absence of completion info for old Octave,
7652 (inferior-octave-complete): Redefine as obsolete alias.
7653 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7654 (meta-completions-at-point): Rename from meta-complete-symbol and
7655 adapt it for use on completion-at-point-functions.
7656 (meta-common-mode): Use it.
7657 (meta-looking-at-backward, meta-match-buffer): Remove.
7658 (meta-complete-symbol): Redefine as obsolete alias.
7659 (meta-common-mode-map): Use completion-at-point.
7660 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7661 (makefile-mode-map): Use completion-at-point.
7662 (makefile-completions-at-point): Rename from makefile-complete and
7663 adapt it for use on completion-at-point-functions.
7664 (makefile-mode): Use it.
7665 (makefile-complete): Redefine as obsolete alias.
7666
aebf69c8
DD
76672011-06-20 Deniz Dogan <deniz@dogan.se>
7668
7669 * net/rcirc.el: Delete trailing whitespaces once and for all.
7670
bfbbb27d
DC
76712011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7672
7673 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7674
d264a46b
CY
76752011-06-19 Chong Yidong <cyd@stupidchicken.com>
7676
4ca009e5
CY
7677 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7678
d264a46b
CY
7679 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7680
fbf5b3ce
MR
76812011-06-19 Martin Rudalics <rudalics@gmx.at>
7682
7683 * window.el (display-buffer-other-window-means-other-frame):
7684 Call display-buffer-normalize-alist.
7685 (display-buffer-normalize-specifiers-1): Rename to
7686 display-buffer-normalize-argument. New argument other-frame.
7687 Rewrite.
7688 (display-buffer-normalize-specifiers-2): Rename to
7689 display-buffer-normalize-options.
7690 (display-buffer-normalize-alist-1): New function.
7691 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7692 display-buffer-normalize-alist.
7693 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7694 (display-buffer-normalize-options-inhibit): New variable.
7695 (display-buffer-normalize-specifiers): Rewrite calling
7696 display-buffer-normalize-alist,
7697 display-buffer-normalize-argument, and
7698 display-buffer-normalize-options. Don't call the latter if
7699 display-buffer-normalize-options-inhibit is non-nil.
7700 (frame-auto-delete): New option.
7701 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7702 (window-list-no-nils, window-state-ignored-parameters)
7703 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7704 (window-state-put-1, window-state-put-2, window-state-put):
7705 New functions.
9a028c23
MR
7706 (display-buffer-normalize-options): Move special-display-p group
7707 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7708
6d10d800
CY
77092011-06-18 Chong Yidong <cyd@stupidchicken.com>
7710
6420d28b
CY
7711 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7712 groups (Bug#8776).
7713 (rx-submatch-n): New function.
7714 (rx): Document it.
7715
ddb8b596
CY
7716 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7717 (Bug#8768).
7718
7719 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7720
77080289
CY
7721 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7722
61dfb316
CY
7723 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7724 anytime existing face settings are present (Bug#8889).
7725
6d10d800
CY
7726 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7727 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7728 Remove unused argument.
7729
be3fb2b8
MR
77302011-06-18 Martin Rudalics <rudalics@gmx.at>
7731
bcd70d97
SM
7732 * window.el (display-buffer-default-specifiers):
7733 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7734 pop-up-window-min-width, and another reuse-window specifier
7735 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7736 (display-buffer-normalize-specifiers-2):
7737 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7738 pop-up-windows is unset. Add a reuse-window specifier for the
7739 case popping up a new window fails.
7740 (special-display-popup-frame): Remove double quoting.
28dec25a 7741 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7742
1c6d8c76
SM
77432011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7744
7745 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7746 according to comint-completion-addsuffix.
7747
7748 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7749 (pcomplete-suffix-list): Mark as obsolete.
7750 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7751 pcomplete-seen in the closure.
7752 (pcomplete-comint-setup): Setup completion-at-point as well.
7753 (pcomplete--entries): New function.
7754 (pcomplete--env-regexp): New var.
7755 (pcomplete-entries): Rewrite to work with partial-completion and
7756 without relying on pcomplete-suffix-list.
7757 (pcomplete-pare-list): Remove, unused.
7758
25aef8b8
MR
77592011-06-17 Martin Rudalics <rudalics@gmx.at>
7760
7761 * window.el (display-buffer-alist): Set pop-up-window-min-height
7762 and pop-up-window-min-width in default value. Reported by
7763 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7764 other-window-means-other-frame.
7765 (display-buffer-macro-specifiers): Comment out entry for
7766 other-window specifier.
7767 (display-buffer-other-window-means-other-frame): New function.
7768 (display-buffer-normalize-specifiers-1): New arguments
7769 buffer-name and label. Treat other-window case specially.
7770 (display-buffer-normalize-specifiers-2): Treat other-window case
7771 specially.
7772 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7773 (display-buffer-normalize-specifiers):
7774 Call display-buffer-normalize-specifiers-3.
25aef8b8 7775
dbad4f69
MR
77762011-06-17 Martin Rudalics <rudalics@gmx.at>
7777
7778 * window.el (same-window-p): Fix two typos introduced when
7779 adding with-no-warnings.
d1067961
MR
7780 (display-buffer-normalize-specifiers-1): Don't check
7781 pop-up-frames for 'unset initialization.
7782 (display-buffer-normalize-specifiers-2): Major rewrite using
7783 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7784 (pop-up-frames, display-buffer-reuse-frames)
7785 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7786 Suggested by David Engster <deng@randomsample.de>.
7787 (even-window-heights): Initialize to 'unset.
7788 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7789 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7790 other window case.
dbad4f69 7791
9b9c9e3a
MR
77922011-06-16 Martin Rudalics <rudalics@gmx.at>
7793
bcd70d97
SM
7794 * window.el (display-buffer-normalize-specifiers-1):
7795 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7796 second argument of display-buffer (Bug#8865).
981d5c09
MR
7797 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7798 (switch-to-buffer-other-window-same-frame)
7799 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7800 Adams (Bug#8875).
9c2755e9
MR
7801 (display-buffer): Don't check noninteractive when calling
7802 display-buffer-pop-up-frame.
7803 (display-buffer-pop-up-frame): Never pop up a frame in
7804 noninteractive mode (Bug#8857).
67222e1d
MR
7805 (enlarge-window, shrink-window): Don't report an error when the
7806 window can't be resized as requested (Bug#8862).
9b9c9e3a 7807
2b75be67
SM
78082011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7809
9ffdd3ba
SM
7810 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7811
cb581a67
SM
7812 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7813
2b75be67
SM
7814 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7815
8c0e3589
AM
78162011-06-15 Alan Mackenzie <acm@muc.de>
7817
cb581a67
SM
7818 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7819 for declarators, disable knr checking to speed up for normal files.
7820 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7821
b96e6cde
LMI
78222011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7823
4bba86e6
LMI
7824 * net/network-stream.el (open-network-stream): Add the keyword
7825 :always-query-capabilities for the case where you want to force a
7826 `plain' network connection, but the protocol still requires the
7827 capabilitiy command (i.e., SMTP and EHLO).
7828
2b75be67 7829 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7830 consistency with other `-live-p' functions.
7831
efdcdbf8
SM
78322011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * window.el (same-window-buffer-names, same-window-regexps)
7835 (special-display-frame-alist, special-display-popup-frame)
7836 (special-display-function, special-display-buffer-names)
7837 (special-display-regexps, pop-up-frame-alist)
7838 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7839 (pop-up-windows, split-window-preferred-function)
7840 (split-height-threshold, split-width-threshold, even-window-heights)
7841 (display-buffer-mark-dedicated): Don't encourage the use of
7842 display-buffer-alist from Elisp code.
7843
c5cde042
DN
78442011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7845
7846 * progmodes/python.el (python-mode): Derive from prog-mode.
7847 * progmodes/ps-mode.el (ps-mode):
7848 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7849 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7850 * progmodes/ld-script.el (ld-script-mode): Likewise.
7851
baa1c9ab
MR
78522011-06-15 Martin Rudalics <rudalics@gmx.at>
7853
7854 * window.el (display-buffer-alist): Trim default value to avoid
7855 popping up a new frame (Bug#8857) or reusing an arbitrary window
7856 on another frame.
7857 (display-buffer): Do not fall back on popping up a new frame in
7858 batch mode (Bug#8857).
7859
c5dd5a51
CY
78602011-06-14 Chong Yidong <cyd@stupidchicken.com>
7861
7862 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7863 (custom-theme-summary): New function.
7864 (customize-themes): Use it.
7865
d647b7c4
GM
78662011-06-13 Glenn Morris <rgm@gnu.org>
7867
7868 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7869
9481c002
MR
78702011-06-13 Martin Rudalics <rudalics@gmx.at>
7871
357f93d2
MR
7872 * help.el (help-window): Remove variable.
7873 (help-window-point-marker, temp-buffer-max-height)
7874 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7875 (help-print-return-message): Don't set help-window.
7876 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7877 (help-window-setup-finish): Remove.
7878 (help-window-display-message, help-window-setup)
7879 (with-help-window): Major rewrite based on new
7880 display-buffer-window variable.
7881
7882 * help-mode.el (help-mode-finish): Remove help-window related
7883 code.
7884
7885 * view.el (view-exits-all-viewing-windows): Remove reference to
7886 view-return-to-alist in doc-string.
7887 (view-return-to-alist): Make obsolete.
7888 (view-buffer): Call pop-to-buffer-same-window and remove
7889 undo-window code.
7890 (view-buffer-other-window): Call pop-to-buffer-other-window and
7891 simplify code. Ignore second argument.
7892 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7893 simplify code. Ignore second argument.
7894 (view-return-to-alist-update): Make obsolete.
7895 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7896 Rewrite using quit-restore window parameters.
2b75be67
SM
7897 (view-mode-exit): Rename second argument to EXIT-ONLY.
7898 Rewrite using quit-restore-window.
357f93d2
MR
7899 (View-exit, View-exit-and-edit, View-leave, View-quit)
7900 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7901 appropriate arguments.
7902 (view-end-message): Use quit-restore window parameter.
7903
9481c002
MR
7904 * window.el (display-buffer-function): Rewrite doc-string.
7905 (display-buffer-window, display-buffer-alist): New variables.
7906 (display-buffer-split-specifiers)
7907 (display-buffer-side-specifiers)
7908 (display-buffer-macro-specifiers): New constants.
7909 (display-buffer-even-window-sizes, display-buffer-set-height)
7910 (display-buffer-set-width, display-buffer-select-window)
7911 (display-buffer-in-window, display-buffer-reuse-window)
7912 (display-buffer-split-window-1, display-buffer-split-window)
7913 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7914 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7915 (display-buffer-in-side-window, normalize-buffer-to-display)
7916 (display-buffer-normalize-specifiers-1)
7917 (display-buffer-normalize-specifiers-2)
2b75be67
SM
7918 (display-buffer-normalize-specifiers, display-buffer-frame):
7919 New functions.
9481c002
MR
7920 (display-buffer): Major rewrite.
7921 (display-buffer-other-window, display-buffer-other-frame)
7922 (pop-to-buffer, switch-to-buffer-other-window)
7923 (switch-to-buffer-other-frame): Rewrite.
7924 (display-buffer-same-window, display-buffer-same-frame)
7925 (display-buffer-same-frame-other-window)
7926 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7927 (pop-to-buffer-other-window)
7928 (pop-to-buffer-same-frame-other-window)
7929 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7930 (switch-to-buffer-other-window-same-frame): New functions.
7931 (same-window-p, special-display-p): Rewrite disabling warnings.
7932 Make obsolete.
7933 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7934 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7935 Make obsolete
7936 (same-window-buffer-names, same-window-regexps)
7937 (special-display-frame-alist, special-display-popup-frame)
7938 (special-display-function, special-display-buffer-names)
7939 (special-display-regexps, pop-up-frame-alist)
7940 (pop-up-frame-function, split-window-preferred-function)
7941 (split-height-threshold, split-width-threshold)
7942 (even-window-heights): Make obsolete.
7943
9db51aca
GM
79442011-06-12 Glenn Morris <rgm@gnu.org>
7945
7946 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 7947 Misc simplifications.
9db51aca 7948
39cffb44
MR
79492011-06-12 Martin Rudalics <rudalics@gmx.at>
7950
7951 * window.el (window-safely-shrinkable-p): Restore function which
7952 was inadvertently removed in change from 2011-06-11. Declare as
7953 obsolete.
7954
2b75be67
SM
7955 * calendar/calendar.el (calendar-generate-window):
7956 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
7957 window-safely-shrinkable-p.
7958
a8955be7
GM
79592011-06-12 Glenn Morris <rgm@gnu.org>
7960
7961 * progmodes/fortran.el (fortran-mode-syntax-table):
7962 * progmodes/f90.el (f90-mode-syntax-table):
7963 Set % to punctuation. (Bug#8820)
7964 (f90-find-tag-default): Remove, no longer needed.
7965
f0d4059d
DC
79662011-06-12 Daniel Colascione <dan.colascione@gmail.com>
7967
7968 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7969
1100a63c
CY
79702011-06-11 Chong Yidong <cyd@stupidchicken.com>
7971
7972 * image.el (image-animated-p): Return animation delay in seconds.
7973 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7974 (image-animate-timeout): Remove DELAY argument. Don't assume
7975 every subimage has the same delay; get it from image-animated-p.
7976 (image-animate): Caller changed.
7977
def722bf
MA
79782011-06-11 Michael Albinus <michael.albinus@gmx.de>
7979
7980 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7981 to ignored backtrace functions.
7982
0a2bb1a9
GM
79832011-06-11 Glenn Morris <rgm@gnu.org>
7984
7985 * calendar/appt.el (appt-disp-window-function): Doc fix.
7986 (appt-check): Handle overlapping appointments. (Bug#8337)
7987
6198ccd0
MR
79882011-06-11 Martin Rudalics <rudalics@gmx.at>
7989
7990 * window.el (window-tree-1, window-tree): New functions, moving
7991 the latter to window.el.
7992 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7993 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7994 (bw-refresh-edges): Remove.
7995 (balance-windows-1, balance-windows-2): New functions.
7996 (balance-windows): Rewrite in terms of window tree functions,
7997 balance-windows-1 and balance-windows-2.
7998 (bw-adjust-window): Remove.
7999 (balance-windows-area-adjust): New function with functionality of
8000 bw-adjust-window but using resize-window.
2b75be67
SM
8001 (set-window-text-height): Rewrite doc-string.
8002 Use normalize-live-window and resize-window.
8003 (enlarge-window-horizontally, shrink-window-horizontally):
8004 Rename argument to DELTA.
6198ccd0
MR
8005 (window-buffer-height): New function.
8006 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8007 Rewrite using new window resize routines.
2b75be67
SM
8008 (kill-buffer-and-window, mouse-autoselect-window-select):
8009 Use ignore-errors instead of condition-case.
6198ccd0
MR
8010 (quit-window): Call delete-frame instead of delete-windows-on
8011 for the only buffer on frame.
8012
9397e56f
MR
80132011-06-10 Martin Rudalics <rudalics@gmx.at>
8014
8015 * loadup.el (top-level): Load window before files for the sake
8016 of replace-buffer-in-windows.
8017
8018 * files.el (read-buffer-to-switch)
8019 (switch-to-buffer-other-window)
2b75be67
SM
8020 (switch-to-buffer-other-frame, display-buffer-other-frame):
8021 Move to window.el.
9397e56f
MR
8022
8023 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8024 (previous-buffer): Move to window.el.
8025
8026 * bindings.el (unbury-buffer): Move to window.el.
8027
8028 * window.el (delete-other-windows-vertically): Move after
8029 definition of delete-other-windows.
8030 (other-window, delete-windows-on, replace-buffer-in-windows):
8031 Move here from window.c.
8032 (record-window-buffer, unrecord-window-buffer)
8033 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8034 (switch-to-next-buffer): New functions.
8035 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8036 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8037 (previous-buffer): Move here from simple.el.
8038 Call switch-to-prev-buffer.
9397e56f
MR
8039 (bury-buffer): Move here from buffer.c. Switch to previous
8040 buffer when window cannot be deleted.
8041 (unbury-buffer): Move here from bindings.el.
8042 (ctl-x-map): Move binding for other-window from window.c to
8043 here.
8044 (read-buffer-to-switch, switch-to-buffer-other-window)
8045 (switch-to-buffer-other-frame): Move here from files.el.
8046 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8047 (switch-to-buffer): Move here from buffer.c.
8048 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8049
562dd5e9
MR
80502011-06-10 Martin Rudalics <rudalics@gmx.at>
8051
8052 * window.el (window-min-height, window-min-width): Move here
8053 from window.c. Add defcustoms and rewrite doc-strings.
8054 (resize-mini-window, resize-window): New functions.
8055 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8056 Move here from window.c.
8057 (maximize-window, minimize-window): New functions.
8058 (delete-window, delete-other-windows, split-window): Move here
8059 from window.c.
8060 (window-split-min-size): New function.
8061 (split-window-keep-point): Mention split-window-above-each-other
8062 instead of split-window-vertically.
2b75be67 8063 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8064 Rename split-window-vertically to split-window-above-each-other
8065 and provide defalias for old definition.
8066 (split-window-side-by-side, split-window-horizontally):
8067 Rename split-window-horizontally to split-window-side-by-side
8068 and provide defalias for the old definition.
562dd5e9
MR
8069 (ctl-x-map): Move bindings for delete-window,
8070 delete-other-windows and enlarge-window here from window.c.
8071 Replace bindings for split-window-vertically and
8072 split-window-horizontally by bindings for
8073 split-window-above-each-other and split-window-side-by-side.
8074
8075 * cus-start.el (all): Remove entries for window-min-height and
8076 window-min-width. Add entries for window-splits and
8077 window-nest.
8078
f0da764a
GM
80792011-06-09 Glenn Morris <rgm@gnu.org>
8080
80675c21
GM
8081 * calendar/appt.el (appt-mode-line): New function.
8082 (appt-check, appt-disp-window): Use it.
8083
f0da764a
GM
8084 * files.el (hack-one-local-variable-eval-safep):
8085 Allow minor-modes with explicit +/-1 arguments.
8086
59f623b7
TZ
80872011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8088
8089 * term/xterm.el (xterm): Add defgroup.
8090 (xterm-extra-capabilities): Add defcustom to supply known xterm
8091 capabilities, skip querying them, or query them (default).
8092 (terminal-init-xterm): Use it.
8093 (terminal-init-xterm-modify-other-keys): New function to set up
8094 modifyOtherKeys support to simplify `terminal-init-xterm'.
8095
9aab8e0d
MR
80962011-06-09 Martin Rudalics <rudalics@gmx.at>
8097
8098 * window.el (resize-window-reset, resize-window-reset-1)
8099 (resize-subwindows-skip-p, resize-subwindows-normal)
8100 (resize-subwindows, resize-other-windows, resize-this-window)
8101 (resize-root-window, resize-root-window-vertically)
8102 (window-deletable-p, window-or-subwindow-p)
8103 (frame-root-window-p): New functions.
8104
e8b08aee
GM
81052011-06-09 Glenn Morris <rgm@gnu.org>
8106
8107 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8108 (ange-ftp-get-files): Use it.
8109
254c37a5
AK
81102011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8111
8112 * mail/sendmail.el (mail-recover-1, mail-recover):
8113 * files.el (recover-file, recover-session):
8114 Handle dired-listing-switches not being just a single short option.
8115
35d7dbd3
GM
81162011-06-09 Glenn Morris <rgm@gnu.org>
8117
8118 * calendar/appt.el (appt-display-message, appt-disp-window):
8119 Handle lists of appointments.
8120
387522b2
MR
81212011-06-08 Martin Rudalics <rudalics@gmx.at>
8122
2b75be67
SM
8123 * window.el (one-window-p): Move down in code.
8124 Rewrite doc-string.
8125 (window-current-scroll-bars): Rewrite doc-string.
8126 Normalize live window argument.
387522b2
MR
8127 (walk-windows, get-window-with-predicate, count-windows):
8128 Rewrite doc-string. Use window-list-1.
8129 (window-in-direction-2, window-in-direction, get-mru-window):
8130 New functions.
8131
d8e4b68b 81322011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8133
8134 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8135 Doc fix (Bug#8713).
8136
81372011-06-08 Chong Yidong <cyd@stupidchicken.com>
8138
8139 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8140
81412011-06-08 Juanma Barranquero <lekktu@gmail.com>
8142
8143 * loadhist.el (unload-feature-special-hooks):
8144 Add `comint-output-filter-functions'.
8145
0de12c52
IK
81462011-06-08 Ivan Kanis <gnu@kanis.fr>
8147
8148 * calendar/appt.el (appt-check): Move some initializations into the let.
8149
f3d1777e
MR
81502011-06-08 Martin Rudalics <rudalics@gmx.at>
8151
8152 * window.el (window-height): Defalias to window-total-height.
8153 (window-width): Defalias to window-body-width.
8154
18af70d0
CY
81552011-06-07 Chong Yidong <cyd@stupidchicken.com>
8156
8157 * image-mode.el (image-toggle-animation): New command.
8158 (image-mode-map): Bind it to RET.
8159 (image-mode): Update message.
8160 (image-toggle-display-image): Avoid a spurious cache flush.
8161 (image-transform-rotation): Doc fix.
8162 (image-transform-properties): Return quickly in the normal case.
8163 (image-animate-loop): Rename from image-animate-max-time.
8164
2b75be67 8165 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8166 (create-animated-image): Remove unnecessary function.
8167 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8168 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8169 (image-animate-timer): Use car-safe.
8170 (image-animate-timeout): Rename argument.
8171
190b47e6
MR
81722011-06-07 Martin Rudalics <rudalics@gmx.at>
8173
8174 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8175 window.c. Rename first argument to ALL-FRAMES.
8176 Rephrase doc-strings.
8177 (get-buffer-window-list): Rewrite using window-list-1.
8178 Rephrase doc-string.
a1511caf
MR
8179 (window-safe-min-height, window-safe-min-width): New constants.
8180 (window-size-ignore, window-min-size, window-min-size-1)
8181 (window-sizable, window-sizable-p, window-size-fixed-1)
8182 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8183 (window-max-delta-1, window-max-delta, window-resizable)
8184 (window-resizable-p, window-total-height, window-total-width)
8185 (window-body-width): New functions.
8186 (window-full-height-p, window-full-width-p): Rewrite using
8187 window-total-size.
8188 (window-body-height): Rewrite using window-body-size.
190b47e6 8189
85cc1f11
MR
81902011-06-06 Martin Rudalics <rudalics@gmx.at>
8191
8192 * window.el (window-right, window-left, window-child)
8193 (window-child-count, window-last-child, window-any-p)
8194 (normalize-live-buffer, normalize-live-frame)
8195 (normalize-any-window, normalize-live-window)
8196 (window-iso-combination-p, window-iso-combined-p)
8197 (window-iso-combinations)
8198 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8199 (windows-with-parameter, window-with-parameter)
8200 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8201 (window-atom-check, window-side-check, window-check):
8202 New functions.
85cc1f11
MR
8203 (ignore-window-parameters, window-sides, window-sides-vertical)
8204 (window-sides-slots): New variables.
8205 (window-size-fixed): Move down in code. Minor doc-string fix.
8206
e7156492
AS
82072011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8208
8209 * comint.el (comint-dynamic-complete-as-filename)
8210 (comint-dynamic-complete-filename): Correctly call
8211 completion-in-region.
8212
7e821d0d
DD
82132011-06-05 Deniz Dogan <deniz@dogan.se>
8214
8215 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8216 in last change.
8217
ac09b8a1
DD
82182011-06-05 Deniz Dogan <deniz@dogan.se>
8219
8220 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8221 (rcirc): Use it to prompt for encryption.
8222
34699b85
RW
82232011-06-05 Roland Winkler <winkler@gnu.org>
8224
8225 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8226 (bibtex-search-entries): New command bound to C-c C-a.
8227 (bibtex-display-entries): New function.
8228
004dedd3
RW
82292011-06-05 Roland Winkler <winkler@gnu.org>
8230
8231 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8232 (bibtex-insert-kill): After yanking insert newline if necessary.
8233 (bibtex-initialize): Call bibtex-string-files-init only once.
8234 (bibtex-mode): Do not call easy-menu-add.
8235 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8236 (bibtex-yank): Set arg properly if nil.
8237
022fe7ce
RW
82382011-06-05 Roland Winkler <winkler@gnu.org>
8239
2b75be67
SM
8240 * textmodes/bibtex.el (bibtex-search-entry-globally):
8241 New variable.
022fe7ce
RW
8242 (bibtex-search-entry): Use it.
8243
b7c3692a
RW
82442011-06-05 Roland Winkler <winkler@gnu.org>
8245
8246 * textmodes/bibtex.el (bibtex-entry-format): New option
8247 sort-fields.
8248 (bibtex-format-entry, bibtex-reformat): Honor this option.
8249 (bibtex-parse-entry): Return fields in proper order.
8250
8eda563d
JB
82512011-06-05 Juanma Barranquero <lekktu@gmail.com>
8252
8253 * doc-view.el (doc-view-remove-if): Move computation of result out
8254 of `dolist' to silence misleading lexical-binding warning.
8255
7dbe3dbc
CY
82562011-06-04 Chong Yidong <cyd@stupidchicken.com>
8257
8258 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8259 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8260
0c33dd17
MA
82612011-06-04 Michael Albinus <michael.albinus@gmx.de>
8262
8263 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8264 "SunOS 5.10".
8265
f8f91c2b
MA
82662011-06-04 Michael Albinus <michael.albinus@gmx.de>
8267
8268 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8269 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8270 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8271 (tramp-parse-putty):
8272 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8273 (tramp-completion-function-alist-ssh)
8274 (tramp-completion-function-alist-telnet)
8275 (tramp-completion-function-alist-su)
8276 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8277 cookie.
8278
8279 * net/tramp-ftp.el:
8280 * net/tramp-sh.el:
8281 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8282 load "tramp.el" `tramp-set-completion-function'.
8283
e17d9003
SM
82842011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * shell.el: Require and use pcomplete.
8287 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8288 (shell-completion-vars): Set pcomplete-default-completion-function.
8289
6c4cab03
DD
82902011-06-04 Deniz Dogan <deniz@dogan.se>
8291
8292 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8293 `memq' (Bug#8799).
8294
ea9fafe0
SM
82952011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8296
8297 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8298
b3e945d3
JB
82992011-06-02 Juanma Barranquero <lekktu@gmail.com>
8300
8301 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8302 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8303 * vc/log-view.el (log-view-beginning-of-defun):
8304 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8305 (smerge-refine-forward, smerge-refine-chopup-region):
8306 Silence warning for unused `dotimes' counter variables.
8307
7d520089
SM
83082011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8309
8310 * net/tramp.el (tramp-with-progress-reporter): Rename from
8311 with-progress-reporter. Use `declare'.
8312 * net/tramp-smb.el:
8313 * net/tramp-sh.el:
8314 * net/tramp-gvfs.el: Update all uses.
8315
a1c2400f
JB
83162011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8317
8318 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8319 buffer isn't killed before making it current.
8320
2403c841
SM
83212011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8322
8323 Silence various byte-compiler warnings.
8324 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8325 `access-type' and new obsolescence format.
8326 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8327 new format.
8328 (byte-compile-check-variable): New `access-type' argument.
8329 Only warn if the access-type is obsolete.
8330 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8331 (byte-compile-variable-set): Adjust callers.
8332 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8333 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8334 setting it as obsolete.
8335 * simple.el (minibuffer-completing-symbol):
8336 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8337 access as obsolete.
8338 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8339 obsolete yet.
8340 * international/quail.el (quail-mouse-choose-completion): Remove unused
8341 code referring to obsolete var.
8342 (quail-choose-completion-string): Remove.
8343 * server.el (server-clients-with, server-kill-buffer-query-function)
8344 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8345 * proced.el (proced-send-signal):
8346 * emacs-lisp/lisp.el (lisp-complete-symbol):
8347 Replace completion-annotate-function with completion-extra-properties.
8348
2462470b
SM
83492011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8350
fb5b2591
SM
8351 * simple.el (goto-line): Use read-number.
8352 (overriding-map-is-bound): Remove.
8353 (saved-overriding-map): Change default.
8354 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8355 Take the map as argument.
8356 (universal-argument, negative-argument, digit-argument): Use it.
8357 (restore-overriding-map): Adjust.
8358 (do-auto-fill): Use fill-forward-paragraph.
8359 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8360
fd6fa53f
SM
8361 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8362 (minibuffer-inactive-mode): New major mode.
8363 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8364 the *Messages* buffer" hack.
8365 (mouse-popup-menubar): Don't burp if the event is a normal key.
8366
2462470b
SM
8367 Miscellaneous tweaks.
8368 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8369 lexical scoping as in subr.el's dolist and dotimes.
8370 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8371 Silence compiler warning.
8372 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8373 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8374 * international/ccl.el (ccl-compile): Trivial simplification.
8375 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8376 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8377 `printflag' argument.
8378 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8379 Purecopy the whole obsolescence data.
8380
108bf785
LL
83812011-06-01 Leo Liu <sdl.web@gmail.com>
8382
8383 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8384 improve doc-string as suggested by Marco Pessotto
8385 <melmothx@gmail.com>.
8386 (rcirc-print): Fix last change.
8387
30a23501
SM
83882011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8389
8390 * minibuffer.el (complete-with-action): Return nil for the metadata and
8391 boundaries of non-functional tables.
8392 (completion-table-dynamic): Return nil for the metadata.
8393 (completion-table-with-terminator): Add default case, using
8394 complete-with-action.
8395 (completion--metadata): New function.
8396 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8397 to try and avoid pathological performance problems.
8398 (completion--embedded-envvar-table): Return `category' metadata.
8399
bcd54f83
LMI
84002011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8401
8402 * subr.el (process-alive-p): New tiny convenience function.
8403
e227544d
SM
84042011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8405
8406 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8407 content but also its previous major mode.
8408
e8296fdc
HE
84092011-05-31 Helmut Eller <eller.helmut@gmail.com>
8410
4d61f28d 8411 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8412 *Backtrace* buffer when we exit with C-M-c.
8413
620c53a6
SM
84142011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8415
8416 * minibuffer.el: Add metadata method to completion tables.
8417 (completion-category-overrides): New defcustom.
8418 (completion-metadata, completion--field-metadata)
8419 (completion-metadata-get, completion--styles)
8420 (completion--cycle-threshold): New functions.
8421 (completion-try-completion, completion-all-completions):
8422 Add `metadata' argument to choose completion-styles.
8423 (completion--do-completion): Use metadata to choose cycling.
8424 (completion-all-sorted-completions): Use metadata for sorting.
8425 Remove :completion-cycle-penalty which is not needed any more.
8426 (completion--try-word-completion): Add `metadata' argument.
8427 (minibuffer-completion-help): Check metadata for annotation function
8428 and sorting.
8429 (completion-file-name-table): Return `category' metadata.
8430 (minibuffer-completing-file-name): Make obsolete.
8431 * simple.el (minibuffer-completing-symbol): Make obsolete.
8432 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8433 completion-try-completion.
8434
1257e755
SM
84352011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8436
8437 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8438
3767e706
LL
84392011-05-30 Leo Liu <sdl.web@gmail.com>
8440
8441 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8442 (rcirc-print): Decode all incoming messages (bug#8744).
8443 (rcirc-decode-coding-system): Allow value nil for automatic coding
8444 system detection.
3767e706 8445
d1a5d56a
GM
84462011-06-01 Glenn Morris <rgm@gnu.org>
8447
8448 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8449
e8cbec34
CY
84502011-05-29 Chong Yidong <cyd@stupidchicken.com>
8451
8452 * image.el (image-animate-max-time): Allow nil and t values.
8453 Default to nil.
8454 (create-animated-image): Doc fix.
8455 (image-animate-start): Remove second arg; just use
8456 image-animate-max-time.
8457 (image-animate-timeout): Doc fix. Args changed.
8458
8459 * image-mode.el (image-toggle-display-image): Ensure that the
8460 image spec passed to the animate timer is the same object as in
58179cce 8461 the buffer's display property (Bug#6981).
e8cbec34
CY
8462 (image-transform-properties): Doc fix.
8463
8464 * image.el (image-animate-max-time): Default to nil.
8465
159daf87
MR
84662011-05-29 Martin Rudalics <rudalics@gmx.at>
8467
8468 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8469 entire buffer list (Bug#8184).
8470
d66c4c7c
CY
84712011-05-29 Chong Yidong <cyd@stupidchicken.com>
8472
8473 * image.el (imagemagick-types-inhibit)
8474 (imagemagick-register-types): Doc fix.
8475
80aec780
DD
84762011-05-29 Deniz Dogan <deniz@dogan.se>
8477
8478 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8479 default.
8480
1dd3c2d9
CY
84812011-05-29 Chong Yidong <cyd@stupidchicken.com>
8482
8483 * select.el: Don't perform clipboard-manager saving in hooks;
8484 leave the hooks empty.
8485
60e56523
LL
84862011-05-28 Leo Liu <sdl.web@gmail.com>
8487
8488 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8489 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8490 (occur-edit-mode): New major mode (Bug#8463).
8491 (occur-after-change-function): New function.
8492 (occur-engine): Give Occur tags a read-only property.
8493
2b1e1a22
KR
84942011-05-28 Kevin Ryde <user42@zip.com.au>
8495
8496 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8497
5d344e88
CY
84982011-05-28 Chong Yidong <cyd@stupidchicken.com>
8499
8e6ca83d
CY
8500 * bindings.el (help-echo): Make the initial non-indicator dash
8501 empty on graphical terminals (Bug#7295).
8502
5d344e88
CY
8503 * files.el (auto-mode-alist): Move config rule after the
8504 in-stripping one (Bug#8547).
8505
bfbbace7
CY
8506 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8507
fbeba6e2
CY
8508 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8509 setting (Bug#8740).
8510
60ed8c72
AA
85112011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8512
4ac619f0
AA
8513 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8514 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8515 (Bug#8539).
60ed8c72 8516
23db196e
CY
85172011-05-28 Chong Yidong <cyd@stupidchicken.com>
8518
8519 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8520
5012f24c
DK
85212011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8522
8523 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8524 (hs-hide-block-at-point, hs-find-block-beginning)
8525 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8526 (Bug#8279).
8527
6a639b16
GM
85282011-05-28 Glenn Morris <rgm@gnu.org>
8529
8530 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8531
d43eaf2c
CY
85322011-05-28 Chong Yidong <cyd@stupidchicken.com>
8533
5199bde1
CY
8534 * help-fns.el (describe-function-1): If the function is a derived
8535 major mode, print the parent mode.
8536
d43eaf2c
CY
8537 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8538 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8539
423428a8
SM
85402011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8541
0ff8e1ba 8542 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8543 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8544 * progmodes/etags.el (tags-completion-at-point-function):
8545 * info-look.el (info-lookup-completions-at-point): Mark as
8546 non-exclusive.
8547 (info-complete): Adjust accordingly.
8548
423428a8
SM
8549 * info-look.el: Convert to lexical-binding and completion-at-point.
8550 (info-lookup-completions-at-point): New function.
8551 (info-complete): Use it and completion-in-region.
8552
b74aa22b
DA
85532011-05-28 Drew Adams <drew.adams@oracle.com>
8554
8555 * isearch.el: Let M-e start with point at the first mismatched char.
8556 (isearch-fail-pos): New function.
8557 (isearch-edit-string): Use it.
8558
66e2e71d
DK
85592011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8560
8561 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8562
b1890b0f 85632011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8564
8565 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8566 traversal functions for avl-trees.
8567 (avl-tree--stack): New struct.
8568 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8569 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8570 (avl-tree--do-enter): Add optional `updatefun' arg.
8571 Change return value.
eb95d01d 8572 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8573 (avl-tree--do-delete): Add `test' and `nilflag' args.
8574 Change return value.
eb95d01d
TC
8575 (avl-tree-member): Add optional `nilflag'
8576 (avl-tree-member-p): New function.
8577 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8578 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8579 (avl-tree-stack-empty-p): New functions.
8580
3769ddcf
TC
8581 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8582 avl-tree--del-balance1 and make it work both ways.
8583 (avl-tree--del-balance2): Remove.
8584 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8585 make it work both ways.
8586 (avl-tree--enter-balance2): Remove.
8587 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8588 New macros.
8589 (avl-tree--mapc, avl-tree-map): Add direction argument.
8590
eb95d01d 85912011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8592
8593 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8594
a9f737ee
CY
85952011-05-27 Chong Yidong <cyd@stupidchicken.com>
8596
8597 * select.el: Support clipboard managers with built-in function
8598 x-clipboard-manager-save, via delete-frame-functions and
8599 kill-emacs-hook.
8600 (xselect-convert-to-targets): Add MULTIPLE target to list.
8601 (xselect-convert-to-save-targets): New function.
8602
c92a1e54
KH
86032011-05-27 Kenichi Handa <handa@m17n.org>
8604
8605 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8606 let-binding rfc2047-encode-encoded-words to nil.
8607
e145f188
GM
86082011-05-27 Glenn Morris <rgm@gnu.org>
8609
5ec8a862
GM
8610 * mail/emacsbug.el: Don't require url-util.
8611
4b29d9fb
GM
8612 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8613
e145f188
GM
8614 * files.el (set-auto-mode):
8615 Also respect mode: entries at the end of the file. (Bug#8586)
8616
7d15102b
GM
86172011-05-26 Glenn Morris <rgm@gnu.org>
8618
98f593b8
GM
8619 * files.el (hack-local-variables-prop-line, hack-local-variables):
8620 Downcase mode names, as seems to be traditional.
27b48e63 8621 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8622
7d15102b
GM
8623 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8624 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8625
51d5b4ec
JD
86262011-05-25 Julien Danjou <julien@danjou.info>
8627
8628 * textmodes/rst.el (rst-define-level-faces): Do not define face
8629 symbol if it is already defined.
8630
91513f63
VB
86312011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8632
8633 * play/5x5.el (5x5-new-game, 5x5-randomize):
8634 Reset 5x5-solver-output to nil when a new grid is cast.
8635 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8636 these debugging traces, as defmacro breaks the compiled code.
8637
4d90d6d0
DK
86382011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8639
8640 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8641
e1b90ef6
LL
86422011-05-24 Leo Liu <sdl.web@gmail.com>
8643
8644 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8645 (vc-bzr-sha1): Adapt.
8646
d8e4b68b 8647 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8648
8649 * bindings.el: Provide sha1 feature.
8650
db0406bb 86512011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8652
8653 * mail/sendmail.el: Require `rfc2047'.
8654 (mail-insert-from-field): Do not perform RFC2047 encoding.
8655 (mail-encode-header): New function.
8656 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8657 buffer to the return value of select-message-coding-system.
8658 Call mail-encode-header.
b8d747b9
KH
8659
8660 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8661
db0406bb 86622011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8663
4d90d6d0
DK
8664 * mail/supercite.el (sc-default-cite-frame):
8665 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8666
eb8a5e9b
GM
86672011-05-24 Glenn Morris <rgm@gnu.org>
8668
f8630703
GM
8669 * progmodes/python.el (brm-menu): Declare.
8670
8831bbed
GM
8671 * emulation/viper.el (viper-set-hooks): Declare.
8672
eb8a5e9b
GM
8673 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8674 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8675 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8676 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8677 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8678 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8679
a2a25d24
SM
86802011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 Add an :exit-function for completion-at-point.
8683
8684 * minibuffer.el (completion--done): New fun.
8685 (completion--do-completion): Use it. New arg `expect-exact'.
8686 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8687 since completion--do-completion does it for us now.
8688 (minibuffer-force-complete): Use completion--done and
8689 completion--replace. Handle sole-completion case with more care.
8690 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8691 (completion-extra-properties): New var.
8692 (completion-annotate-function): Make obsolete.
8693 (minibuffer-completion-help): Adjust accordingly.
8694 Use completion-list-insert-choice-function.
8695 (completion-at-point, completion-help-at-point):
8696 Bind completion-extra-properties.
8697 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8698 * simple.el (completion-list-insert-choice-function): New var.
8699 (completion-setup-function): Preserve it.
8700 (choose-completion): Pay attention to it, shuffle the code a bit.
8701 (choose-completion-string): New arg `insert-function'.
8702
8703 * textmodes/bibtex.el: Convert to lexical binding.
8704 (bibtex-mode-map): Use completion-at-point.
8705 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8706 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8707 (bibtex-complete): Define as obsolete alias.
8708 (bibtex-complete-internal): Remove.
8709 (bibtex-format-entry): Remove unused sub-group in regexp.
8710 * shell.el (shell--command-completion-data)
8711 (shell-environment-variable-completion):
8712 * pcomplete.el (pcomplete-completions-at-point):
8713 * comint.el (comint--complete-file-name-data): Use :exit-function
8714 instead of completion-table-with-terminator so it also works for
8715 choose-completion.
8716
e44e373d
SM
87172011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8718
4f91a816
SM
8719 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8720
782fc819
SM
8721 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8722 (bug#8710).
8723
e44e373d
SM
8724 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8725
381987c3
KM
87262011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8727
8728 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8729 customization variable and implement: If non-nil, auto-fill will
8730 be inhibited while on topic's header line.
8731
b776bc70
VB
87322011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8733
8734 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8735 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8736 always have a solution in grid size = 5 cases.
8737 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8738 (5x5-solver-output, 5x5-log-buffer): New vars.
8739 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8740 Make these variables buffer local to achieve 5x5 multi-session-ness.
8741 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8742 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8743 (5x5-solve-suggest): New funs.
8744 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8745 randomize a grid so that we ensure that there is always a solution.
8746 (5x5-make-random-grid): Allow other movement than flipping.
8747
7de88b6e
KR
87482011-05-23 Kevin Ryde <user42@zip.com.au>
8749
8750 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8751 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8752 advice and passes PREDICATE.
8753
b1ef1257
SM
87542011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8755
bbca48fe
SM
8756 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8757 byte-compile-lambda if it's actually a lambda.
8758
b1ef1257
SM
8759 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8760 Fix function quoting. Use backquote better.
8761
92a9cc65
YS
87622011-05-22 Yuanle Song <sylecn@gmail.com>
8763
8764 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8765 matching (Bug#8516).
8766
f0fb8059
JA
87672011-01-22 Jari Aalto <jari.aalto@cante.net>
8768
8769 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8770 different face (Bug#8178).
8771
d5b44c93
CY
87722011-05-22 Chong Yidong <cyd@stupidchicken.com>
8773
8774 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8775 defface (Bug#8144).
8776
79106a44
SM
87772011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8778
9c848d8a
SM
8779 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8780 funcall as well (bug#8712). Warn when performing those conversions.
8781 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8782
79106a44
SM
8783 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8784
88dfa756
GM
87852011-05-22 Glenn Morris <rgm@gnu.org>
8786
8787 * files.el (hack-local-variables-prop-line): Small simplifications.
8788 (hack-local-variables, hack-local-variables-prop-line):
8789 If MODE-ONLY, return the mode, rather than just `t'.
8790
b7cf2c79
SM
87912011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8794
3f1a8558
GM
87952011-05-21 Glenn Morris <rgm@gnu.org>
8796
7e4ccca3
GM
8797 * files.el (hack-local-variables-prop-line, hack-local-variables):
8798 If only interested in the mode, don't bother doing the other stuff.
8799
637d46ca
GM
8800 * image-mode.el (image-after-revert-hook):
8801 Redraw all frames on which the image is visible. (Bug#8567)
8802
973d955b
GM
8803 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8804
3f1a8558
GM
8805 * wid-edit.el (widget-checklist-match-inline):
8806 Fix 2011-04-19 change. (Bug#8649)
8807
96479927
SM
88082011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8809
1dcf791f
SM
8810 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8811 Also allow singlespace after single-letter capitals followed by a dot.
8812
96479927
SM
8813 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8814 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8815
35fd0881
N
88162011-05-20 Nix <nix@esperi.org.uk>
8817
8818 * files.el (basic-save-buffer-2):
8819 Fix handling of break-hardlink-on-save with non-existent files.
8820
82745640
DD
88212011-05-19 Deniz Dogan <deniz@dogan.se>
8822
8823 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8824 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8825
4a720484
GM
88262011-05-19 Glenn Morris <rgm@gnu.org>
8827
d1f21341
GM
8828 * progmodes/f90.el (f90-type-def-re):
8829 Handle "type, bind(c)". (Bug#8691)
8830
4a720484
GM
8831 * emacs-lisp/autoload.el (batch-update-autoloads):
8832 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8833
2fb0a219
MA
88342011-05-18 Michael Albinus <michael.albinus@gmx.de>
8835
8836 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8837 property for the correct connection in case of multihops.
8838
e565dd37
GM
88392011-05-18 Glenn Morris <rgm@gnu.org>
8840
c2571358 8841 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8842 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8843
e565dd37
GM
8844 Rationalize calendar handling of day and month abbrev-arrays.
8845 * calendar/calendar.el (calendar-customized-p): New function.
8846 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8847 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8848 Add :set function.
8849 (calendar-abbrev-length, calendar-day-abbrev-array)
8850 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8851 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8852 Elements may no longer be nil.
8853 (calendar-day-name, calendar-month-name):
8854 Update for changed nature of abbrev arrays.
8855 * calendar/diary-lib.el (diary-name-pattern):
8856 Update for changed nature of abbrev arrays.
8857 (diary-mark-entries-1): Update calendar-make-alist calls.
8858 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8859 * calendar/cal-html.el (cal-html-day-abbrev-array):
8860 Simply inherit from calendar-day-abbrev-array.
8861
1d99a745
SM
88622011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8863
8864 * progmodes/grep.el (grep-mode): Disable default
8865 compilation-directory-matcher setting (bug#8684).
8866
7c1d9aa0
MA
88672011-05-17 Michael Albinus <michael.albinus@gmx.de>
8868
8869 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8870 instead of "head" and "tail". There were problems with SunOS 5.9,
8871 and it performs better.
8872
3952e9d8
GM
88732011-05-17 Glenn Morris <rgm@gnu.org>
8874
2dd12e7f
GM
8875 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8876
e4157b9c
GM
8877 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8878 Replace obsolete function.
8879
8e249bbd
GM
8880 * shell.el (pcomplete-parse-arguments-function): Declare.
8881
3952e9d8
GM
8882 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8883 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8884 (appt-check): Doc fixes.
8885 (appt-disp-window-function, appt-delete-window-function):
8886 Remove needless special case in custom :type.
8887 (appt-display-count): Default to 0, not nil.
8888 (appt-check): Reset appt-display-count to 0, not nil.
8889
c71a0d48 88902011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8891
c71a0d48
GM
8892 * progmodes/python.el (python-font-lock-keywords):
8893 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 8894
31d55be9
SM
88952011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8898
3bfacb2f
KR
88992011-05-16 Kevin Ryde <user42@zip.com.au>
8900
8901 * info-look.el (makefile-automake-mode): New setups, looking in
8902 automake manual, then makefile-mode.
8903 (makefile-mode): Remove automake manual, have it just in
8904 makefile-automake-mode since there's various things different or
8905 not relevant to plain make.
8906 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8907 believe a hypothetical automake-mode would go to makefile-mode,
8908 not the other way around.
8909
c8e83751
CY
89102011-05-15 Chong Yidong <cyd@stupidchicken.com>
8911
5e9e35cd
CY
8912 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8913 hunk-end tags (Bug#8672).
8914
c8e83751
CY
8915 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8916 vc-annotate-show-diff-revision-at-line (Bug#8671).
8917
50b23e5a
GM
89182011-05-14 Glenn Morris <rgm@gnu.org>
8919
7210a739
GM
8920 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8921 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
8922 (change-log-font-lock-keywords): Also handle multiple author lines
8923 with leading tabs. (Bug#8644)
7210a739 8924
4691905a
GM
8925 * calendar/appt.el (appt-check): Rename some local variables.
8926 Some simplification/reordering.
8927
50b23e5a
GM
8928 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
8929 (feedmail-sendmail-f-doesnt-sell-me-out)
8930 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8931 (feedmail-debug-sit-for, feedmail-queue-express-hook)
8932 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
8933 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8934 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
8935 (feedmail-binmail-gnulinuxish-template):
8936 Rename from feedmail-binmail-linuxish-template.
8937 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8938 Use insert-buffer-substring.
8939
215cda7c
BC
89402011-05-14 Bill Carpenter <bill@carpenter.org>
8941
8942 * mail/feedmail.el (feedmail-patch-level): Increase.
8943 (feedmail-debug): New custom group.
8944 (feedmail-confirm-outgoing-timeout)
8945 (feedmail-sendmail-f-doesnt-sell-me-out)
8946 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8947 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8948 (feedmail-sender-line, feedmail-from-line)
8949 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 8950 (feedmail-spray-this-address)
215cda7c
BC
8951 (feedmail-spray-address-fiddle-plex-list)
8952 (feedmail-queue-use-send-time-for-date)
8953 (feedmail-queue-use-send-time-for-message-id)
8954 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8955 (feedmail-buffer-eating-function):
8956 Doc fixes.
8957 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8958 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8959 (feedmail-message-action-scroll-down): New functions.
8960 (feedmail-queue-directory, feedmail-queue-draft-directory):
8961 Use expand-file-name.
8962 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8963 Remove C-v help entry.
8964 (feedmail-queue-buffer-file-name): New variable.
8965 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8966 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8967 (feedmail-message-action-send-strong, feedmail-message-action-edit)
8968 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8969 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8970 (feedmail-message-action-toggle-spray)
8971 (feedmail-run-the-queue-no-prompts)
8972 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8973 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8974 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8975 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8976 (feedmail-envelope-deducer, feedmail-fiddle-from)
8977 (feedmail-fiddle-sender, feedmail-default-date-generator)
8978 (feedmail-fiddle-date, feedmail-fiddle-message-id)
8979 (feedmail-fiddle-spray-address)
8980 (feedmail-fiddle-list-of-spray-fiddle-plexes)
8981 (feedmail-fiddle-list-of-fiddle-plexes)
8982 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8983 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8984 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8985 Change default. Doc fix.
8986 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8987 (feedmail-binmail-linuxish-template): New constant.
8988 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
8989 Respect feedmail-sendmail-f-doesnt-sell-me-out.
8990 (feedmail-send-it): Add debug call.
8991 Use feedmail-queue-buffer-file-name, and
8992 feedmail-send-it-immediately-wrapper.
8993 (feedmail-message-action-send): Add debug call.
8994 Use feedmail-send-it-immediately-wrapper.
8995 (feedmail-queue-express-to-queue): Add debug call.
8996 Run feedmail-queue-express-hook.
8997 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
8998 (feedmail-message-action-help-blat):
8999 Rename from feedmail-queue-send-edit-prompt-help-first.
9000 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9001 Check line-endings. Handle errors better.
9002 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9003 Doc fix. Add debug call.
9004 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9005 Use feedmail-queue-send-edit-prompt-inner.
9006 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9007 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9008 from feedmail-queue-send-edit-prompt.
9009 (feedmail-queue-send-edit-prompt-help)
9010 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9011 (feedmail-tidy-up-slug): Add debug call.
9012 Respect feedmail-queue-slug-suspect-regexp.
9013 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9014 (feedmail-dump-message-to-queue): Add debug call.
9015 Expand queue-directory.
9016 (feedmail-dump-message-to-queue): Change message slightly.
9017 Use feedmail-say-chatter.
9018 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9019 (feedmail-send-it-immediately-wrapper): New function.
9020 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9021 Insert empty string rather than newline. Handle full-frame case.
9022 Use catch/throw. Use feedmail-say-chatter.
9023 (feedmail-fiddle-from): Try mail-host-address.
9024 (feedmail-default-message-id-generator): Doc fix.
9025 Bind system-time-locale. Handle missing end.
9026 (feedmail-fiddle-x-mailer): Add debug call.
9027 Handle feedmail-x-mailer-line being nil.
9028 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9029 Add debug call. Use buffer-substring-no-properties.
9030 (feedmail-say-debug, feedmail-say-chatter): New functions.
9031 (feedmail-find-eoh): Give an explicit error.
9032
42c7e61e
UJ
90332011-05-13 Ulf Jasper <ulf.jasper@web.de>
9034
c2571358 9035 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9036 family from helvetica to sans.
c2571358 9037 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9038 etc/images/newsticker.
9039
c2571358 9040 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9041 family from helvetica to sans.
9042
9043 * net/newst-plainview.el (newsticker-new-item-face)
9044 (newsticker-old-item-face, newsticker-immortal-item-face)
9045 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9046 (newsticker-statistics-face): Change default family from
42c7e61e 9047 helvetica to sans.
c2571358 9048 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9049 etc/images/newsticker.
9050
9051 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9052 (newsticker--process-auto-mark-filter-match): : Tell user about
9053 auto-marking.
9054
8497a297
DV
90552011-05-13 Didier Verna <didier@xemacs.org>
9056
9057 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9058 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9059 TODO entries.
8497a297
DV
9060 (lisp-lambda-list-keyword-parameter-indentation)
9061 (lisp-lambda-list-keyword-parameter-alignment)
9062 (lisp-lambda-list-keyword-alignment): New customizable user options.
9063 (lisp-indent-defun-method): Improve docstring.
9064 (extended-loop-p): Fix comment.
9065 (lisp-indent-lambda-list-keywords-regexp): New variable.
9066 (lisp-indent-lambda-list): New function.
9067 (lisp-indent-259): Use it.
9068 (lisp-indent-defmethod): Support for more than one
9069 method qualifier and properly indent methods lambda-lists.
9070 (defgeneric): Provide a missing common-lisp-indent-function property.
9071
f278f87f
SM
90722011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9073
9074 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9075 bounds for the empty string (bug#8667).
9076
5233edd7
GM
90772011-05-13 Glenn Morris <rgm@gnu.org>
9078
5237a44f
GM
9079 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9080
8340026c 9081 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9082 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9083
5233edd7 9084 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9085 (appt-time-msg-list): Doc fix.
a5464014 9086 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9087
92d10796
AS
90882011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9089
9090 * progmodes/ld-script.el (ld-script-keywords)
9091 (ld-script-builtins): Update keywords list.
9092
914a0ae1
SM
90932011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9094
c89be45f
SM
9095 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9096
914a0ae1
SM
9097 * shell.el (shell-completion-vars): New function.
9098 (shell-mode):
9099 * simple.el (read-shell-command): Use it.
9100 (blink-matching-open): No need for " [...]" in minibuffer-message.
9101
98dc3df3
GM
91022011-05-12 Glenn Morris <rgm@gnu.org>
9103
9104 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9105 (appt-check): Simplify.
9106
d2fc7e3d 91072011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9108
4d61f28d 9109 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9110 literal "/dev/null".
9111
d2fc7e3d 91122011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9113
9114 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9115 Fix typo.
9116
d2fc7e3d 91172011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9118
3f254caa
SM
9119 * progmodes/which-func.el (which-function):
9120 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9121 which might not be defined (Bug#8260).
9122
d45885f7
GM
91232011-05-12 Glenn Morris <rgm@gnu.org>
9124
9125 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9126 Let byte-compile-initial-macro-environment always take precedence.
9127
488086f4
SM
91282011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * net/rcirc.el: Add support for SSL/TLS connections.
9131 (rcirc-server-alist): New field `encryption'.
9132 (rcirc): Check `encryption' settings.
9133 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9134 Merge make-local-variable into `set'.
9135 (rcirc--connection-open-p): New function.
9136 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9137 the process is not a network process (e.g. running gnutls-cli).
9138 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9139 Make rcirc-(en|de)code-coding-system local here.
9140 (rcirc-mode): Merge make-local-variable into `set'.
9141 (rcirc-parent-buffer): Make permanent buffer-local.
9142 (rcirc-multiline-minor-mode): Don't do it here.
9143 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9144 there's no server buffer.
9145
7d3b9d44
GM
91462011-05-11 Glenn Morris <rgm@gnu.org>
9147
f64049c6
GM
9148 * newcomment.el (comment-kill): Prefix "unused" local.
9149
93c9df73
GM
9150 * term/w32console.el (get-screen-color): Declare.
9151
7d3b9d44
GM
9152 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9153 Handle symbol elements of byte-compile-initial-macro-environment.
9154
9e2dd53f
LL
91552011-05-10 Leo Liu <sdl.web@gmail.com>
9156
488086f4
SM
9157 * bookmark.el (bookmark-bmenu-mode-map):
9158 Bind bookmark-bmenu-search to `/'.
8b340240 9159
9e2dd53f 9160 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9161 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9162 (Footnote-unicode): New function.
9163 (footnote-style-alist): Add unicode style to the list.
9164 (footnote-style): Doc fix.
9e2dd53f 9165
79b70037
GM
91662011-05-10 Jim Meyering <meyering@redhat.com>
9167
9168 Fix doubled-word typos.
9169 * international/quail.el (quail-insert-kbd-layout): and and -> and
9170 * kermit.el: and and -> and
9171 * net/ldap.el (ldap-search-internal): to to -> to
9172 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9173 * progmodes/js.el (js-mode): and and -> and
9174 * textmodes/artist.el (artist-move-to-xy): at at -> at
9175 (artist-draw-region-trim-line-endings): if if -> if
9176 And Safetyc -> Safety.
9177 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9178
b8f82dc1 91792011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9180 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9181
9182 * files.el (hack-one-local-variable-eval-safep):
9183 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9184
4f99f44b
GM
91852011-05-10 Glenn Morris <rgm@gnu.org>
9186
9187 * calendar/diary-lib.el (diary-list-entries-hook)
9188 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9189 (diary-nongregorian-marking-hook, diary-list-entries)
9190 (diary-include-other-diary-files, diary-mark-entries)
9191 (diary-mark-included-diary-files): Doc fixes.
9192
84f29e6b
JB
91932011-05-09 Juanma Barranquero <lekktu@gmail.com>
9194
9195 * misc.el: Require tabulated-list.el during compilation.
9196
9bedd73a
CY
91972011-05-09 Chong Yidong <cyd@stupidchicken.com>
9198
488086f4
SM
9199 * progmodes/compile.el (compilation-start):
9200 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9201 (compilation-filter-hook): Doc fix.
9202
797c735c
DD
92032011-05-09 Deniz Dogan <deniz@dogan.se>
9204
9205 * wdired.el: Remove outdated installation comment. Fix usage
9206 comment.
9207
5f4b1dfe
JB
92082011-05-09 Juanma Barranquero <lekktu@gmail.com>
9209
9210 * misc.el: Implement new command `list-dynamic-libraries'.
9211 (list-dynamic-libraries--loaded-only-p): New variable.
9212 (list-dynamic-libraries--refresh): New function.
9213 (list-dynamic-libraries): New command.
9214
4c44026c
CY
92152011-05-09 Chong Yidong <cyd@stupidchicken.com>
9216
488086f4
SM
9217 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9218 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9219 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9220 higher priority to avoid clobbering by gnu.
9221
027f966d
CY
92222011-05-08 Chong Yidong <cyd@stupidchicken.com>
9223
9224 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9225 if the face has existing theme settings (Bug#8454).
9226
085f5d7d
CY
92272011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9228
488086f4
SM
9229 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9230 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9231
2a86a00c
RS
9232 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9233 special file names `.' and `..' (Bug#8259).
9234
d9c54a06
CY
92352011-05-08 Chong Yidong <cyd@stupidchicken.com>
9236
488086f4
SM
9237 * progmodes/grep.el (grep-mode-font-lock-keywords):
9238 Remove buffer-changing entries.
d9c54a06
CY
9239 (grep-filter): New function.
9240 (grep-mode): Add it to compilation-filter-hook.
9241
9242 * progmodes/compile.el (compilation-filter-hook)
9243 (compilation-filter-start): New defvars.
9244 (compilation-filter): Call compilation-filter-hook prior to
9245 updating the process mark.
9246
c4662635
SM
92472011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9248
9249 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9250
b0512a1d
EZ
92512011-05-07 Eli Zaretskii <eliz@gnu.org>
9252
605c9376
EZ
9253 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9254 mailclient-send-it even if window-system is nil. (Bug#8595)
9255
c4662635
SM
9256 * term/w32console.el (terminal-init-w32console):
9257 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9258 background-mode. (Bug#8597)
9259
d1dc2cc2
SM
92602011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9263 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9264 New functions.
9265 (defgeneric, eieio--defmethod): Use them.
9266 (eieio-defgeneric): Remove.
9267 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9268
915d1300
GM
92692011-05-07 Glenn Morris <rgm@gnu.org>
9270
a3961c3e
GM
9271 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9272 Use let rather than let*.
9273 (timeclock-find-discrep): Remove unused local.
9274
314347b9
GM
9275 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9276
915d1300
GM
9277 * calendar/appt.el (appt-time-msg-list): Doc fix.
9278
275b59b0
NF
92792011-05-06 Noah Friedman <friedman@splode.com>
9280
9281 * apropos.el (apropos-print-doc): Only use
9282 emacs-lisp-docstring-fill-column when it is bound to an integer,
9283 per that variable's documentation.
9284
6c19f744
SM
92852011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9286
9287 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9288 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9289
60f884b2
GM
92902011-05-06 Glenn Morris <rgm@gnu.org>
9291
5006e634
GM
9292 * calendar/appt.el (appt-message-warning-time): Doc fix.
9293 (appt-warning-time-regexp): New option.
9294 (appt-make-list): Respect appt-message-warning-time.
9295
548d0a63
GM
9296 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9297 New options.
9298 (diary-add-to-list): Strip comments from the displayed string.
9299 (diary-mode): Set comment-start and comment-end.
9300
60f884b2
GM
9301 * vc/diff-mode.el (smerge-refine-subst): Declare.
9302 (diff-refine-hunk): Don't require smerge-mode when compiling.
9303
989681bb
JB
93042011-05-06 Juanma Barranquero <lekktu@gmail.com>
9305
9306 * simple.el (list-processes): Return nil as the docstring says.
9307
a6bc05e1
MA
93082011-05-05 Michael Albinus <michael.albinus@gmx.de>
9309
9310 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9311 to "".
9312 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9313 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9314 determining of binary transfer. (Bug#7383)
9315
23c22e9a
MA
93162011-05-05 Michael Albinus <michael.albinus@gmx.de>
9317
c4662635
SM
9318 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9319 Fix port computation bug. (Bug#8618)
23c22e9a 9320
0bff894f
GM
93212011-05-05 Glenn Morris <rgm@gnu.org>
9322
b8296902
GM
9323 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9324
1f522ce8
GM
9325 * simple.el (shell-dynamic-complete-functions)
9326 (comint-dynamic-complete-functions): Declare.
9327
cf5bee67
GM
9328 * net/network-stream.el (gnutls-negotiate):
9329 * simple.el (tabulated-list-print): Fix declarations.
9330
9331 * progmodes/gud.el (syntax-symbol, syntax-point):
9332 Remove unnecessary and incorrect declarations.
9333
0bff894f
GM
9334 * emacs-lisp/check-declare.el (check-declare-scan):
9335 Handle byte-compile-initial-macro-environment in bytecomp.el
9336
9869b3ae
SM
93372011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9338
9339 Fix earlier half-done eieio-defmethod change (bug#8338).
9340 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9341 Streamline and change calling convention.
9342 (defmethod): Adjust accordingly and simplify.
9343 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9344 new eieio--defmethod.
9345 (slot-boundp): Minor CSE simplification.
9346
9c1d5ac5
MZ
93472011-05-05 Milan Zamazal <pdm@zamazal.org>
9348
9349 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9350 (glasses-make-readable): Use glasses-separate-capital-groups.
9351
455c834e
JB
93522011-05-05 Juanma Barranquero <lekktu@gmail.com>
9353
9354 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9355 (warning-series): Doc fix.
9356 (display-warning): Don't try to create the buffer if we just found it.
9357
9ed7c8cb
CY
93582011-05-04 Chong Yidong <cyd@stupidchicken.com>
9359
9360 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9361 (autoload-find-generated-file): New function.
9362 (generate-file-autoloads): Bind generated-autoload-file to
9363 buffer-file-name.
9869b3ae
SM
9364 (update-file-autoloads, update-directory-autoloads):
9365 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9366 output file (Bug#7989).
9367 (batch-update-autoloads): Doc fix.
9368
0898ca10
JB
93692011-05-04 Juanma Barranquero <lekktu@gmail.com>
9370
9371 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9372
31dfb76c
GM
93732011-05-04 Glenn Morris <rgm@gnu.org>
9374
f330b642
GM
9375 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9376 function, so it follows changes in calendar-date-style.
9377 (diary-fancy-date-matcher): New function.
9378 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9379 (diary-fancy-font-lock-fontify-region-function):
9380 Use diary-fancy-date-pattern as a function.
9381
31dfb76c
GM
9382 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9383 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9384
48e79d6a
TZ
93852011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9386
9387 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9388 instead of positional arguments. Allow :keylist and :crlfiles
9389 arguments.
9390 (open-gnutls-stream): Call it.
9391
9392 * net/network-stream.el (network-stream-open-starttls): Adjust to
9393 call `gnutls-negotiate' with :process and :hostname arguments.
9394
dd5a5ee0
SM
93952011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9396
ef80fc09
SM
9397 * minibuffer.el (completion--message): New function.
9398 (completion--do-completion, minibuffer-complete)
9399 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9400 (completion--do-completion): Don't ignore completion-auto-help when in
9401 icomplete-mode.
9402
dd5a5ee0
SM
9403 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9404 internal encoding (e.g. tibetan zero is not whitespace).
9405 (global-whitespace-mode): Prefer save-current-buffer.
9406 (whitespace-trailing-regexp): Remove useless save-match-data.
9407 (whitespace-empty-at-bob-regexp): Minor simplification.
9408
b7d22a83
CY
94092011-05-03 Chong Yidong <cyd@stupidchicken.com>
9410
9411 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9412
5192af46
AM
94132011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9414
9415 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9416 Use `concat' to create string for insertion.
5192af46 9417
5767d190
SM
94182011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9419
9420 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9421 Avoid open-line which runs post-self-insert-hook.
9422 (bibtex-fill-entry): Remove unused `end' var.
9423
bf242939
AM
94242011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9425
5767d190
SM
9426 * textmodes/ispell.el (ispell-add-per-file-word-list):
9427 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9428
25666126
LL
94292011-05-03 Leo Liu <sdl.web@gmail.com>
9430
9431 * isearch.el (isearch-yank-pop): New command.
5767d190 9432 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9433 (isearch-forward): Mention it.
9434
52d3c2d0
SM
94352011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9436
1bcace58
SM
9437 * simple.el (minibuffer-complete-shell-command): Remove.
9438 (minibuffer-local-shell-command-map): Use completion-at-point.
9439 (read-shell-command): Setup completion vars here instead.
9440 (read-expression-map): Bind TAB to symbol completion.
9441
52d3c2d0
SM
9442 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9443 error directly rather via storing it into `results'.
9444
35813471
LL
94452011-05-02 Leo Liu <sdl.web@gmail.com>
9446
9447 * vc/diff.el: Fix description.
9448
e793a940
LMI
94492011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9450
9451 * server.el (server-eval-at): New function.
9452
8de66e05
LMI
94532011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9454
9455 * net/network-stream.el (open-network-stream): Take a :nowait
9456 parameter and pass it on to `make-network-process'.
9457 (network-stream-open-plain): Ditto.
9458
dcb79f20
AS
94592011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9460
9461 * faces.el (face-spec-set-match-display): Don't match toolkit
9462 options on terminal frames.
9463
14a7fbd8
SM
94642011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9465
7eabc1be
SM
9466 * progmodes/pascal.el: Use lexical binding.
9467 (pascal-mode-map): Remove author preferences.
9468
14a7fbd8
SM
9469 * pcomplete.el (pcomplete-std-complete): Don't abuse
9470 completion-at-point.
9471
50f84510
JB
94722011-04-28 Juanma Barranquero <lekktu@gmail.com>
9473
6e087a44
JB
9474 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9475 removing code that has been dead since 1991 or so.
9476
50f84510
JB
9477 * startup.el (command-line): When warning about "_emacs", use a
9478 delayed warning to allow the user to filter it out.
9479
0ba690bd
DD
94802011-04-28 Deniz Dogan <deniz@dogan.se>
9481
9482 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9483 user has not joined.
9484
08abfaad
SM
94852011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9486
9487 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9488 aren't any completions at point.
9489
638f053a
JB
94902011-04-28 Juanma Barranquero <lekktu@gmail.com>
9491
9492 * subr.el (display-delayed-warnings): New function.
9493 (delayed-warnings-hook): New variable.
9494
8fff8daa
SM
94952011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9496
08abfaad
SM
9497 * minibuffer.el (completion-at-point, completion-help-at-point):
9498 Don't presume that a given completion-at-point-function will always
9499 use the same calling convention.
9500
8fff8daa
SM
9501 * pcomplete.el (pcomplete-completions-at-point):
9502 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9503 pcomplete-seen is non-nil.
9504 (pcomplete-comint-setup): Also recognize the new comint/shell
9505 completion functions.
9506 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9507 pcomplete-seen is non-nil.
9508
841a1577 95092011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9510
841a1577 9511 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9512 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9513 the first character in the entry. This allows for code to add its
211ec907
UJ
9514 own uid to the entry.
9515 (icalendar--convert-float-to-ical): Add export of
9516 `diary-float'-entries save for those with the optional DAY
9517 argument.
9518
2a782793
DC
95192011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9520
9521 * subr.el (shell-quote-argument): Use alternate escaping strategy
9522 when we spot a variable reference in a string.
9523
0438ce91
DC
95242011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9525
9526 * cus-start.el (all): Define customization for debug-on-event.
9527
841a1577 95282011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9529
9530 * subr.el (shell-quote-argument): Escape correctly under Windows.
9531
d090ed6c
SM
95322011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9533
9534 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9535
bfd31217
MA
95362011-04-25 Michael Albinus <michael.albinus@gmx.de>
9537
d090ed6c
SM
9538 * net/tramp.el (tramp-process-actions): Add POS argument.
9539 Delete region between POS and (pos).
bfd31217 9540
d090ed6c
SM
9541 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9542 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9543 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9544
9545 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9546 position in `tramp-process-actions' call.
9547
9548 * net/trampver.el: Update release number.
9549
e92f3bd3
SM
95502011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9551
850256b5
SM
9552 * custom.el (defcustom): Obey lexical-binding.
9553
e92f3bd3
SM
9554 Fix octave-inf completion problems reported by Alexander Klimov.
9555 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9556 Inherit from octave-mode-syntax-table.
9557 (inferior-octave-mode): Set info-lookup-mode.
9558 (inferior-octave-completion-at-point): New function.
9559 (inferior-octave-complete): Use it and completion-in-region.
9560 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9561 comint-filename-completion.
9562 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9563 symbol elements which shouldn't be word elements.
9564 (octave-font-lock-keywords, octave-beginning-of-defun)
9565 (octave-function-header-regexp): Adjust regexps accordingly.
9566 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9567
cd22b309
JB
95682011-04-25 Juanma Barranquero <lekktu@gmail.com>
9569
9570 * net/gnutls.el (gnutls-errorp): Declare before first use.
9571
8b492194
TZ
95722011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9573
9574 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9575 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9576 default trustfile exists before going to use it. Add missing
5a5fa834 9577 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9578 Reported by Claudio Bley <claudio.bley@gmail.com>.
9579 (open-gnutls-stream): Add usage example.
9580
9581 * net/network-stream.el (network-stream-open-starttls): Give host
9582 parameter to `gnutls-negotiate'.
9583 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9584 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9585
841a1577 95862011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9587
cd22b309
JB
9588 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9589 Use correct match group (bug#8438).
05842630 9590
3ba7869c
CY
95912011-04-24 Chong Yidong <cyd@stupidchicken.com>
9592
512e3ae1
CY
9593 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9594 (package-menu--generate): New arg specifying packages to show.
9595 (package-menu-refresh, package-menu-execute, list-packages):
9596 Callers changed.
9597 (package-show-package-list): New function, replacing deleted
9598 package--list-packages (renamed because it is non-internal).
9599
9600 * finder.el (finder-list-matches): Use package-show-package-list
9601 instead of deleted package--list-packages.
9602
e92f3bd3
SM
9603 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9604 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9605 (vc-annotate-mode-map): Bind it to RET.
9606
7031be6d
UR
96072011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9608
9609 * progmodes/etags.el (next-file): Don't use set-buffer to change
9610 buffers (Bug#8478).
9611
4ef177aa
CY
96122011-04-24 Chong Yidong <cyd@stupidchicken.com>
9613
c8d173eb
CY
9614 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9615
4ef177aa
CY
9616 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9617 (apropos-accumulator): Doc fix.
9618 (apropos-function, apropos-macro, apropos-command)
9619 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9620 (apropos-plist): Add face property.
9621 (apropos-symbols-internal): Fix indentation.
9622 (apropos-print): Simplify help, and recognize apropos-multi-type.
9623 (apropos-print-doc): Use button-type-get to extract the button's
9624 face property. Fill docstring (Bug#8352).
9625
4ffd0d6b 96262011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9627
9628 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9629
c6c32125 9630 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9631 (mpuz-mode-map): Use mapc.
c6c32125
JB
9632 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9633 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9634 Fix typos in docstrings.
9635
58d468b4
JB
9636 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9637 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9638
6470c3c6
JB
9639 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9640
4ffd0d6b 96412011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9642
9643 * minibuffer.el (completion--do-completion): Avoid the "Next char
9644 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9645
3ad8bad0
CY
9646 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9647 mouse-2 into unread-command-events, it is interpreted correctly.
9648
71d73c9c 9649 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9650 (image-toggle-display): Doc fix.
71d73c9c 9651
841a1577 96522011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9653
4ffd0d6b
GM
9654 * textmodes/page.el (what-page): Use line-number-at-pos to
9655 calculate line number (Bug#6825).
6e1dbaa9 9656
c2fb1b60
JB
96572011-04-22 Juanma Barranquero <lekktu@gmail.com>
9658
9659 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9660 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9661 Pass argument NO-DEFAULT to `find-tag-interactive'.
9662
e02f48d7
JB
96632011-04-22 Juanma Barranquero <lekktu@gmail.com>
9664
9665 Lexical-binding cleanup.
9666
9667 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9668 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9669 * progmodes/ada-prj.el (ada-prj-initialize-values)
9670 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9671 (ada-prj-show-value):
9672 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9673 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9674 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9675 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9676 * progmodes/bug-reference.el (bug-reference-push-button):
9677 * progmodes/fortran.el (fortran-line-length):
9678 * progmodes/glasses.el (glasses-change):
9679 * progmodes/octave-mod.el (octave-fill-paragraph):
9680 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9681 (python-pdbtrack-grub-for-buffer, python-sentinel):
9682 * progmodes/sql.el (sql-save-connection):
9683 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9684 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9685 Mark unused parameters.
9686
9687 * progmodes/compile.el (compilation--flush-directory-cache)
9688 (compilation--flush-parse, compile-internal): Mark unused parameters.
9689 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9690 (compilation-next-error-function): Remove unused variable `timestamp'.
9691
9692 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9693 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9694
9695 * progmodes/dcl-mode.el (dcl-end-of-command):
9696 Remove unused variable `start'.
9697 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9698 (dcl-option-value-basic, dcl-option-value-offset)
9699 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9700 Mark unused parameters.
9701 (dcl-save-local-variable): Remove unused variable `val'.
9702 (mode): Declare.
9703
9704 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9705 Mark unused parameters.
9706 (delphi-ignore-changes): Move before first use.
9707 (delphi-charset-token-at): Remove unused variable `start'.
9708 (delphi-else-start): Remove unused variable `if-count'.
9709 (delphi-comment-block-start, delphi-comment-block-end):
9710 Remove unused variable `kind'.
9711 (delphi-indent-line): Remove unused variable `new-point'.
9712
9713 * progmodes/ebrowse.el (ebrowse-files-list)
9714 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9715 Mark unused parameters. Don't quote `lambda'.
9716 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9717 Don't quote `lambda'.
9718 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9719 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9720 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9721 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9722 Use `ignore-errors'.
9723 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9724 (ebrowse-view/find-file-and-search-pattern)
9725 (ebrowse-view/find-member-declaration/definition):
9726 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9727 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9728 Rename parameter PREFIX-ARG to PREFIX.
9729 (ebrowse-tags-read-name): Remove unused variables `start' and
9730 `member-info'.
9731 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9732 to `tags-file'.
9733
9734 * progmodes/etags.el (local-find-tag-hook): Declare.
9735 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9736 Mark unused parameters.
9737
9738 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9739 (executable-interpret): Mark unused parameter.
9740
9741 * progmodes/flymake.el (flymake-process-sentinel)
9742 (flymake-after-change-function)
9743 (flymake-create-temp-with-folder-structure)
9744 (flymake-get-include-dirs-dot): Mark unused parameters.
9745 (flymake-safe-delete-directory): Remove unused variable `err'.
9746
9747 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9748 (speedbar-timer-fn, speedbar-line-text)
9749 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9750 (speedbar-center-buffer-smartly): Declare functions.
9751 (gdb-find-watch-expression): Remove unused variable `array'.
9752 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9753 (gdb-starting): Mark unused parameters.
9754 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9755 (gdb-table-string): Remove unused variable `res'.
9756 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9757 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9758 (gdb-display-buffer): Remove unused variable `cur-size'.
9759
9760 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9761 allow lexical-binding compilation.
9762 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9763 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9764 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9765 Mark unused parameters.
9766 (gud-gdb-marker-filter): Remove unused variable `match'.
9767 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9768 lambda expressions and funcall them, instead of using `fset'.
9769
9770 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9771 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9772
9773 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9774 variable `header-beg'; use `let'.
9775
9776 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9777 `restart', `last-sexp' and `at-do'.
9778
9779 * progmodes/js.el (js--debug): Mark unused parameter.
9780 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9781 (js--splice-into-items): Remove unused variable `item'.
9782 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9783
9784 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9785 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9786 (makefile-complete): Remove unused variable `try'.
9787 (makefile-fill-paragraph, makefile-match-function-end):
9788 Mark unused parameters.
9789
9790 * progmodes/octave-inf.el (inferior-octave-complete):
9791 Remove unused variable `proc'.
9792 (inferior-octave-output-digest): Mark unused parameter.
9793
9794 * progmodes/perl-mode.el (perl-calculate-indent):
9795 Remove unused variable `err'.
9796
9797 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9798 (prolog-indent-line): Mark unused parameters.
9799 (prolog-indent-line): Remove unused variable `beg'.
9800
9801 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9802 (reporter-dont-compact-list): Declare.
9803
9804 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9805 Remove unused variable `char'.
9806 (sh-debug): Mark unused parameter.
9807 (sh-get-indent-info): Remove unused variable `start'.
9808 (sh-calculate-indent): Remove unused variable `var'.
9809
9810 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9811 (simula-electric-keyword): Remove unused variable `null'.
9812 (simula-search-backward, simula-search-forward): Remove unused
9813 variables `begin' and `end'.
9814
9815 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9816 Remove unused variable `pos'.
9817 (vera-electric-tab, vera-comment-uncomment-region):
9818 Mark unused parameters.
9819 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9820
7ede3b65
CY
98212011-04-22 Chong Yidong <cyd@stupidchicken.com>
9822
9823 * emacs-lisp/package.el (package--builtins, package-alist)
9824 (package-load-descriptor, package-built-in-p, package-activate)
9825 (define-package, package-installed-p)
9826 (package-compute-transaction, package-buffer-info)
9827 (package--push): Doc fix. Distinguish more clearly between
9828 version strings and version lists.
9829
121656e9
JB
98302011-04-21 Juanma Barranquero <lekktu@gmail.com>
9831
9832 Lexical-binding cleanup.
9833
9834 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9835 (5x5-make-mutate-best):
9836 * play/fortune.el (fortune-in-buffer):
9837 * play/gomoku.el (gomoku-init-display):
9838 * play/solitaire.el (solitaire, solitaire-do-check):
9839 * play/tetris.el (tetris-default-update-speed-function):
9840 Mark unused parameters.
9841
9842 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9843 (bubbles--shift): Remove unused variable `char-org'.
9844 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9845 (bubbles--show-images): Remove unused variable `char'.
9846
9847 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9848 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9849 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9850 (decipher-analyze-buffer): Use ?\s.
9851 (decipher-make-checkpoint): Remove unused variable `mapping'.
9852
9853 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9854
9855 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9856 Remove unused variable `result'; use `let'.
9857
9858 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9859 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9860 (gametree-children-shown-p, gametree-compute-reduced-score):
9861 Use `ignore-errors'.
9862
9863 * play/handwrite.el (ps-lpr-switches): Declare.
9864 (handwrite): Remove unused variables `pmin' and `lastp'.
9865
9866 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9867
9868 * play/landmark.el (landmark-init-display)
9869 (landmark-update-naught-weights): Mark unused parameters.
9870 (landmark-y): Remove unused variable `noise'. Simplify.
9871 (landmark-human-plays): Remove unused variable `score'.
9872
9873 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9874 (mpuz-try-proposal): Remove unused variable `game'.
9875
9876 * play/zone.el (life-patterns): Declare.
9877
80f499c7
JB
98782011-04-20 Juanma Barranquero <lekktu@gmail.com>
9879
9880 * vc/vc.el (ediff-vc-internal): Declare function.
9881
024ff170
SM
98822011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9883
c0a193ea
SM
9884 * shell.el: Use lexical-binding and std completion UI.
9885 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9886 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9887 comint-preoutput-filter-functions rather than on
9888 comint-output-filter-functions.
9889 (shell-command-completion, shell--command-completion-data)
9890 (shell-filename-completion, shell-environment-variable-completion)
9891 (shell-c-a-p-replace-by-expanded-directory): New functions.
9892 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9893 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9894 (shell-dynamic-complete-environment-variable): Use them.
9895 (shell-dynamic-complete-as-environment-variable)
9896 (shell-dynamic-complete-as-command): Remove.
9897 (shell-match-partial-variable): Match past point.
9898 * comint.el: Clean up use of completion-at-point-functions.
9899 (comint-completion-at-point): New function.
9900 (comint-mode): Use it completion-at-point-functions.
9901 (comint-dynamic-complete): Make it obsolete.
9902 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9903 (comint-c-a-p-replace-by-expanded-history): New function.
9904 (comint-dynamic-complete-functions)
9905 (comint-replace-by-expanded-history): Use it.
9906 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9907 termination strings. Try harder to avoid second try-completion.
9908 (completion-in-region-mode-map): Disable bindings that don't work yet.
9909
2dbaa080
SM
9910 * comint.el: Use lexical-binding. Require CL.
9911 (comint-dynamic-complete-functions): Use comint-filename-completion.
9912 (comint-completion-addsuffix): Tweak custom type.
9913 (comint-filename-completion, comint--common-suffix)
9914 (comint--common-quoted-suffix, comint--table-subvert)
9915 (comint--complete-file-name-data): New functions.
9916 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9917 (comint-dynamic-list-filename-completions): Use them.
9918 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 9919
2dbaa080
SM
9920 * minibuffer.el (completion-in-region-mode):
9921 Keep completion-in-region-mode--predicate global.
9922 (completion-in-region--postch):
9923 Assume completion-in-region-mode--predicate is not null.
9924
c79a6f38
SM
9925 * progmodes/flymake.el (flymake-start-syntax-check-process):
9926 Obey `dir'. Simplify.
9927
024ff170
SM
9928 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9929 we're in VC after all.
9930
1c6c854e
CS
99312011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
9932
9933 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 9934 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
9935 (vc-version-diff): Use vc-diff-build-argument-list-internal.
9936
bed7f140
SM
99372011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9938
332e62ab
SM
9939 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9940 add sanity check.
9941
bed7f140
SM
9942 * obsolete/erc-hecomplete.el: Make obsolete.
9943 * obsolete/: Standardize obsolescence info in the header.
9944
f195c582
GM
99452011-04-20 Glenn Morris <rgm@gnu.org>
9946
9947 * calendar/solar.el (solar-horizontal-coordinates):
9948 Use the longitude argument rather than `calendar-longitude'.
9949 (solar-date-next-longitude): Remove unused locals.
9950
cb79b8c0
VJL
99512011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9952
9953 * whitespace.el: New version 13.2.1.
9954
99552011-04-20 felix <EmacsWiki> (tiny change)
9956
d8e4b68b 9957 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
9958 switching between major modes on a file.
9959
602ea69d
SM
99602011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9961
9962 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9963 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9964 multi-line comments as well.
9965
06b60517
JB
99662011-04-19 Juanma Barranquero <lekktu@gmail.com>
9967
9968 Lexical-binding cleanup.
9969
9970 * arc-mode.el (archive-mode-revert):
9971 * cmuscheme.el (scheme-interactively-start-process):
9972 * custom.el (custom-initialize-delay):
9973 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9974 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9975 * emacs-lock.el (emacs-lock-clear-sentinel):
9976 * ezimage.el (defezimage):
9977 * follow.el (follow-avoid-tail-recenter):
9978 * fringe.el (set-fringe-mode-1):
9979 * generic-x.el (bat-generic-mode-compile):
9980 * help-mode.el (help-info-variable, help-do-xref)
9981 (help-mode-revert-buffer):
9982 * help.el (view-emacs-todo):
9983 * iswitchb.el (iswitchb-completion-help):
9984 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9985 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9986 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9987 * locate.el (locate-update):
9988 * longlines.el (longlines-encode-region)
9989 (longlines-after-change-function):
9990 * outline.el (outline-isearch-open-invisible):
9991 * ps-def.el (declare-function, charset-dimension, char-width)
9992 (encode-char):
9993 * ps-mule.el (ps-mule-plot-string):
9994 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9995 (recentf-edit-list-select, recentf-edit-list-validate)
9996 (recentf-open-files-action):
9997 * rect.el (delete-whitespace-rectangle-line)
9998 (rectangle-number-line-callback):
9999 * register.el (window-configuration-to-register)
10000 (frame-configuration-to-register):
10001 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10002 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10003 (xselect-convert-to-targets, xselect-convert-to-delete)
10004 (xselect-convert-to-filename, xselect-convert-to-charpos)
10005 (xselect-convert-to-lineno, xselect-convert-to-colno)
10006 (xselect-convert-to-os, xselect-convert-to-host)
10007 (xselect-convert-to-user, xselect-convert-to-class)
10008 (xselect-convert-to-name, xselect-convert-to-integer)
10009 (xselect-convert-to-atom, xselect-convert-to-identity):
10010 * subr.el (declare, ignore, process-kill-without-query)
10011 (text-clone-maintain):
10012 * terminal.el (te-get-char, te-tic-sentinel):
10013 * tool-bar.el (tool-bar-make-keymap):
10014 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10015 * type-break.el (type-break-mode, type-break-noninteractive-query):
10016 * view.el (View-back-to-mark):
10017 * wid-browse.el (widget-browse-action, widget-browse-widget)
10018 (widget-browse-widgets, widget-browse-sexp):
10019 * widget.el (define-widget-keywords):
10020 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10021 Mark unused parameters.
10022
10023 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10024 (align-areas): Remove unused variable `look'.
10025 (align-region): Remove unused variables `real-end' and `pos-list'.
10026
10027 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10028
10029 * bindings.el (mode-line-modified, mode-line-remote):
10030 Mark unused parameters.
10031 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10032
10033 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10034 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10035
10036 * comint.el (comint-history-isearch-pop-state)
10037 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10038 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10039 (comint-substitute-in-file-name): Doc fix.
10040
10041 * completion.el (cmpl-statistics-block): Mark unused parameter.
10042 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10043 (save-completions-to-file, load-completions-from-file):
10044 Remove unused local variable `e'.
10045
10046 * composite.el (compose-chars): Remove unused variable `len'.
10047 (lgstring-insert-glyph): Remove unused variable `g'.
10048 (compose-glyph-string): Remove unused variables `ascent',
10049 `descent', `lbearing' and `rbearing'.
10050 (compose-glyph-string-relative): Remove unused variables
10051 `lbearing', `rbearing' and `wadjust'.
10052 (compose-gstring-for-graphic): Remove unused variables `header',
10053 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10054 (compose-gstring-for-terminal): Remove unused variables `header'
10055 and `nchars'. Use `let', not `let*'.
10056
10057 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10058 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10059 (Custom-buffer-done, custom-buffer-create-internal)
10060 (custom-browse-visibility-action, custom-browse-group-tag-action)
10061 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10062 (widget-magic-mouse-down-action, custom-toggle-parent)
10063 (custom-add-parent-links, custom-toggle-hide-variable)
10064 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10065 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10066 (custom-face-menu-create, custom-variable-menu-create, get)
10067 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10068 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10069 (customize-apropos): Remove unused variable `tests'.
10070 (custom-group-value-create): Remove unused variable `hidden-p'.
10071 (sort-fold-case): Declare.
10072
10073 * cus-theme.el (custom-reset-standard-faces-list)
10074 (custom-reset-standard-variables-list): Declare.
10075 (customize-create-theme, custom-theme-revert, custom-theme-write)
10076 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10077 Mark unused parameters.
10078
10079 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10080
10081 * delim-col.el (delimit-columns-max): Move defvar before first use.
10082
10083 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10084 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10085
10086 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10087 (auto-insert): Declare.
10088 (desktop-restore-file-buffer): Rename desktop-* parameters;
10089 mark unused ones.
10090 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10091 (desktop-buffer): Rename desktop-* parameters.
10092
10093 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10094 (dframe-reposition-frame-xemacs, dframe-help-echo)
10095 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10096 Mark unused parameters.
10097
10098 * dired-aux.el (backup-extract-version-start, overwrite-query)
10099 (overwrite-backup-query, rename-regexp-query)
10100 (rename-non-directory-query): Declare.
10101 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10102 (dired-add-entry): Remove unused variable `orig-file-name'.
10103 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10104 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10105 `dired-copy-preserve-time' directly.
10106 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10107 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10108
10109 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10110 (dired-virtual-revert, dired-make-relative-symlink):
10111 Mark unused parameters.
10112 (manual-program): Declare.
10113 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10114 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10115 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10116
10117 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10118
10119 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10120
10121 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10122 Declare.
10123
10124 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10125
10126 * electric.el (Electric-command-loop): Rename parameter
10127 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10128
10129 * expand.el (expand-in-literal): Remove unused variable `here'.
10130
10131 * facemenu.el (facemenu-add-new-color):
10132 Remove unused variable `docstring'.
10133
10134 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10135 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10136 (face-attr-construct): Mark unused parameter. Doc fix.
10137 (read-color): Remove unused variable `hex-string'.
10138
10139 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10140 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10141 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10142 (display-buffer-other-frame): Remove unused variable `old-window'.
10143 (kill-buffer-hook): Declare.
10144 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10145 Mark unused parameters.
10146 (after-find-file): Pass 1 to `auto-save-mode', not t.
10147
10148 * files-x.el (auto-insert): Declare.
10149 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10150
10151 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10152 variable `buf'. Mark unused parameter.
06b60517
JB
10153 (find-lisp-insert-directory): Mark unused parameter.
10154
10155 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10156 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10157 (format-common-tail): Remove, unused.
10158 (format-deannotate-region): Remove unused variable `loc'.
10159 (format-annotate-region): Remove unused variable `p'.
10160 (format-annotate-single-property-change): Remove unused variables
10161 `default' and `tail'.
10162
10163 * forms.el (read-file-filter): Declare.
10164 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10165
10166 * frame.el (frame-creation-function-alist): Mark unused parameter.
10167 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10168
10169 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10170 Remove unused parameters.
10171 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10172 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10173
10174 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10175 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10176 (hfy-prepare-tag-map): Mark unused parameters.
10177 (htmlfontify-buffer): Use `called-interactively-p'.
10178
10179 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10180 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10181 (ibuffer-do-occur): Mark unused parameters.
10182 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10183 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10184
10185 * ibuffer.el: Don't quote `lambda'.
10186 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10187 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10188 Mark unused parameters.
10189
10190 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10191 (ido-completing-read): Mark unused parameters.
10192 (ido-copy-current-word): Mark unused parameters;
10193 remove unused variable `name'.
10194 (ido-sort-merged-list): Remove unused parameter `dirs'.
10195
10196 * ielm.el (ielm-input-sender): Mark unused parameter.
10197 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10198 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10199 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10200 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10201 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10202
10203 * image-dired.el (image-dired-display-thumbs): Remove unused
10204 variables `curr-file' and `count'.
10205 (image-dired-remove-tag): Remove unused variable `start'.
10206 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10207 variable `curr-file'
10208 (image-dired-rotate-original): Remove unused variable `temp-file'.
10209 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10210 Remove unused variable `file'.
10211 (image-dired-gallery-generate): Remove unused variable `curr'.
10212 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10213
10214 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10215
10216 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10217
10218 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10219
10220 * isearch.el (minibuffer-history-symbol): Declare.
10221 (isearch-edit-string): Remove unused variable `err'.
10222 (isearch-message-prefix, isearch-message-suffix):
10223 Mark unused parameters.
10224
10225 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10226
10227 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10228
10229 * makesum.el (double-column): Remove unused variable `cnt'.
10230
10231 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10232 (ido-ignore-item-temp-list): Declare.
10233
10234 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10235 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10236 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10237 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10238 `mouse-col-delta'.
10239
10240 * mouse-sel.el (mouse-extend-internal):
10241 Remove unused variable `orig-window-frame'.
10242
10243 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10244 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10245 Move declarations before first use.
10246 (pcomplete-opt): Mark unused parameters; doc fix.
10247
10248 * proced.el (proced-revert): Mark unused parameter.
10249 (proced-send-signal): Remove unused variable `err'.
10250
10251 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10252 Rename parameter PREFIX-ARG to ARG.
10253 (ps-basic-plot-string, ps-basic-plot-whitespace):
10254 Mark unused parameters.
10255
10256 * replace.el (replace-count): Define.
10257 (occur-revert-function): Mark unused parameters.
10258 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10259 (isearch-case-fold-search, isearch-string): Declare.
10260 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10261 bind `case-fold-search'. Remove unused variables `beg' and `end',
10262 and simplify.
10263 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10264 COUNT and bind `replace-count'.
10265 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10266 to COUNT.
10267
10268 * savehist.el (print-readably, print-string-length): Declare.
10269
10270 * shadowfile.el (shadow-expand-cluster-in-file-name):
10271 Remove unused variable `cluster'.
10272 (shadow-copy-file): Remove unused variable `i'.
10273 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10274 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10275 (shadow-define-literal-group, shadow-define-regexp-group)
10276 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10277
10278 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10279 (shell): Use `called-interactively-p'.
10280 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10281
10282 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10283 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10284 (delete-backward-char): Remove unused variable `ocol'.
10285 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10286 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10287 (event-apply-hyper-modifier, event-apply-shift-modifier)
10288 (event-apply-control-modifier, event-apply-meta-modifier):
10289 Mark unused parameters.
10290 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10291 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10292
10293 * speedbar.el (speedbar-ignored-directory-expressions)
10294 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10295 (speedbar-find-file, speedbar-dir-follow)
10296 (speedbar-directory-buttons-follow, speedbar-tag-find)
10297 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10298 (speedbar-buffers-line-directory, speedbar-buffer-click):
10299 Mark unused parameters.
10300 (speedbar-tag-file): Remove unused variable `mode'.
10301 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10302
10303 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10304
10305 * talk.el (talk): Remove unused variable `display'.
10306
10307 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10308 (tar-write-region-annotate): Mark unused parameter.
10309
10310 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10311 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10312 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10313 warning by another.
10314
10315 * time-stamp.el (time-stamp-string-preprocess):
10316 Remove unused variable `require-padding'.
10317
10318 * tree-widget.el (widget-glyph-enable): Declare.
10319 (tree-widget-action): Mark unused parameter.
10320
10321 * w32-fns.el (x-get-selection): Mark unused parameter.
10322 (autoload-make-program, generated-autoload-file): Declare.
10323
10324 * wdired.el (wdired-revert): Mark unused parameters.
10325 (wdired-xcase-word): Remove unused variable `err'.
10326
10327 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10328 (whitespace-help-scroll): Remove unused variable `data-help'.
10329
10330 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10331 (widget-image-insert, widget-after-change, default)
10332 (widget-default-format-handler, widget-default-notify)
10333 (widget-default-prompt-value, widget-info-link-action)
10334 (widget-url-link-action, widget-function-link-action)
10335 (widget-variable-link-action, widget-file-link-action)
10336 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10337 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10338 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10339 (widget-insert-button-action, widget-delete-button-action, visibility)
10340 (widget-documentation-link-action, widget-documentation-string-action)
10341 (widget-const-prompt-value, widget-regexp-match, symbol)
10342 (widget-coding-system-prompt-value)
10343 (widget-key-sequence-value-to-external, sexp)
10344 (widget-sexp-value-to-internal, character, vector, cons)
10345 (widget-choice-prompt-value, widget-boolean-prompt-value)
10346 (widget-color--choose-action): Mark unused parameters.
10347 (widget-item-match-inline, widget-choice-match-inline)
10348 (widget-checklist-match, widget-checklist-match-inline)
10349 (widget-group-match): Rename parameter VALUES to VALS.
10350 (widget-field-value-set): Remove unused variable `size'.
10351 (widget-color-action): Remove unused variables `value' and `start'.
10352
10353 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10354 variable `dir'. Doc fix.
06b60517
JB
10355 (windmove-find-other-window): Don't pass it.
10356
10357 * window.el (count-windows): Mark unused parameter.
10358 (bw-adjust-window): Remove unused variable `err'.
10359
10360 * woman.el (woman-file-name): Remove unused variable `default'.
10361 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10362 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10363 (global-font-lock-mode): Declare.
10364 (woman-decode-region): Mark unused parameter.
10365 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10366
10367 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10368 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10369 (x-dnd-handle-moz-url): Remove unused variable `title'.
10370 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10371
10372 * xml.el (xml-parse-tag, xml-parse-attlist):
10373 Remove unused variable `pos'.
10374
bc4f7f3d
GM
103752011-04-19 Glenn Morris <rgm@gnu.org>
10376
10377 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10378 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10379 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10380 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10381 * calendar/cal-html.el (cal-html-insert-minical):
10382 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10383 (calendar-mark-date-pattern):
10384 Prefix "unused" locals.
10385
10386 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10387 optional argument `style'.
10388
10389 * calendar/appt.el (appt-make-list):
10390 * calendar/cal-china.el (calendar-chinese-date-string):
10391 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10392 (diary-hebrew-yahrzeit):
10393 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10394 * calendar/calendar.el (calendar-generate-window):
10395 * calendar/time-date.el (time-to-days):
10396 Remove unused local variables.
10397
16a43933
CY
103982011-04-18 Chong Yidong <cyd@stupidchicken.com>
10399
10400 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10401 glyphless-char-display table.
10402 (tabulated-list-glyphless-char-display): New var.
10403
7eed1860
SS
104042011-04-18 Sam Steingold <sds@gnu.org>
10405
10406 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10407 to acknowledgments.
10408
4d2d1ccd
GM
104092011-04-17 Glenn Morris <rgm@gnu.org>
10410
10411 * calendar/diary-lib.el (diary-sexp-entry):
10412 * calendar/holidays.el (holiday-sexp):
10413 Set debug-on-error rather than the removed stack-trace-on-error.
10414
239da61d
GM
104152011-04-16 Glenn Morris <rgm@gnu.org>
10416
10417 * progmodes/f90.el: Use lexical-binding.
10418 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10419
8b05752a
SM
104202011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10421
daca8ba5
SM
10422 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10423 (mail-mode): Setup mailalias completion here instead.
10424 * mail/mailalias.el: Use lexical-binding.
10425 (pattern, mailalias-done): Declare dynamic.
10426 (mail-completion-at-point-function): New function, from mail-complete.
10427 (mail-complete): Use it.
10428 (mail-completion-expand): New function.
10429 (mail-get-names): Use it.
10430 (mail-directory, mail-directory-process, mail-directory-stream):
10431 Don't use `pattern' for lexically bound arg.
10432
6f542485
SM
10433 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10434
037e7c3f
SM
10435 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10436 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10437 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10438
8b05752a
SM
10439 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10440 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10441 (byte-interactive-p): Define them again, for use when inlining
10442 old code.
10443
49093f60
JB
104442011-04-15 Juanma Barranquero <lekktu@gmail.com>
10445
10446 * loadup.el: Use `string-to-number', not `string-to-int'.
10447
b5b8e7de
SM
104482011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10451 gud-gdb-complete-command.
10452 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10453 (gud-gdb-completion-at-point): New function.
10454 (gud-gdb-completions): Remove.
10455
f42efeb5
MA
104562011-04-14 Michael Albinus <michael.albinus@gmx.de>
10457
49093f60
JB
10458 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10459 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10460 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10461 whether `executable-find' is bound.
f42efeb5
MA
10462
10463 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10464
e240cc21
SM
104652011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10466
10467 * minibuffer.el (completion-in-region-mode-predicate)
10468 (completion-in-region-mode--predicate): New vars.
10469 (completion-in-region, completion-in-region--postch)
10470 (completion-in-region-mode): Use them.
10471 (completion--capf-wrapper): Also return the hook function.
10472 (completion-at-point, completion-help-at-point):
10473 Adjust and provide a predicate.
c2bd2ab0
SM
10474
10475 Preserve arg names for advice of subr and lexical functions (bug#8457).
10476 * help-fns.el (help-function-arglist): Consolidate the subr and
10477 new-byte-code cases. Add argument `preserve-names' to extract names
10478 from the docstring when needed.
10479 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10480 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10481 (ad-arglist): Use help-function-arglist's new arg.
10482 (ad-definition-type): Use cond.
10483
c183f693
JB
104842011-04-13 Juanma Barranquero <lekktu@gmail.com>
10485
06641a47
JB
10486 * autorevert.el (auto-revert-handler):
10487 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10488 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10489 Don't quote lambda.
10490
c183f693
JB
10491 * image-mode.el (image-transform-set-scale):
10492 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10493
1e3b6001
G
104942011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10495
10496 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10497 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10498 Upgrades via gnutls-cli are too slow to be done opportunistically.
10499
2d6af8dd
JB
105002011-04-12 Juanma Barranquero <lekktu@gmail.com>
10501
10502 * dframe.el (dframe-current-frame): Remove spurious quote.
10503
c0749a51
GM
105042011-04-12 Glenn Morris <rgm@gnu.org>
10505
088d0d61
GM
10506 * calendar/cal-tex.el (cal-tex-end-document):
10507 Try to automatically use latin1 input if needed.
10508
c0749a51
GM
10509 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10510 Don't try to cons a mark onto an empty element.
10511
5c90fde0
LL
105122011-04-11 Leo Liu <sdl.web@gmail.com>
10513
10514 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10515 buffers.
10516 (ido-kill-buffer-at-head): Support killing virtual buffers.
10517
369e974d
CY
105182011-04-10 Chong Yidong <cyd@stupidchicken.com>
10519
10520 * minibuffer.el (completion-show-inline-help): New var.
10521 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10522 (minibuffer-force-complete, minibuffer-complete-word):
10523 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10524
10525 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10526 to avoid interference from inline help (Bug#5849).
10527
37f1c930
LL
105282011-04-10 Leo Liu <sdl.web@gmail.com>
10529
099c39a4
JB
10530 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10531 Fix typo.
37f1c930 10532
a32d4040
CY
105332011-04-09 Chong Yidong <cyd@stupidchicken.com>
10534
10535 * image-mode.el (image-toggle-display-image): Signal an error if
10536 not in Image mode.
10537 (image-transform-mode, image-transform-resize)
10538 (image-transform-set-rotation): Doc fix.
daca8ba5 10539 (image-transform-set-resize): Delete.
a32d4040
CY
10540 (image-transform-set-scale, image-transform-fit-to-height)
10541 (image-transform-fit-to-width): Handle image-toggle-display-image
10542 and image-transform-resize directly.
10543
099c39a4 105442011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10545
10546 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10547 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10548 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10549 (doc-view-mode-map): Add bindings for the new functions.
10550
099c39a4 105512011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10552
4d61f28d 10553 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10554 Fix typo in docstring.
10555
3726838a
EZ
105562011-04-08 Eli Zaretskii <eliz@gnu.org>
10557
04f33f1e
EZ
10558 * files.el (file-size-human-readable): Produce one digit after
10559 decimal, like "ls -lh" does.
10560
10561 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10562 the file size representation.
10563
3726838a
EZ
10564 * simple.el (list-processes): If async subprocesses are not
10565 available, error out with a clear error message.
10566
cbb59342
CY
105672011-04-08 Chong Yidong <cyd@stupidchicken.com>
10568
10569 * help.el (help-form-show): New function, to be called from C.
10570 Put help-form output in a buffer named differently than *Help*.
10571
e3971c44
EZ
105722011-04-08 Eli Zaretskii <eliz@gnu.org>
10573
10574 * files.el (file-size-human-readable): New function.
10575
10576 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10577 computing the representation inline. Don't require `cl'.
10578
12544bbe
GM
105792011-04-08 Glenn Morris <rgm@gnu.org>
10580
a1de6c6a
GM
10581 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10582
3c4671f4
GM
10583 * net/browse-url.el (browse-url-firefox):
10584 Test system-type, not system-configuration.
10585
b605679c
GM
10586 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10587 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10588 Use log-edit-empty-buffer-p. (Bug#7598)
10589
56442f0c
GM
10590 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10591 (rlogin-mode-map): Initialize in the defvar.
10592 (rlogin): Use ignore-errors.
10593
12544bbe
GM
10594 * replace.el (occur-mode-map): Some fixes for menu items.
10595
eb237b0f
AH
105962011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10597
10598 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10599
7d668f2c
CY
106002011-04-06 Chong Yidong <cyd@stupidchicken.com>
10601
e67a13ab
CY
10602 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10603 issuing unused warnings.
10604
10605 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10606 macro directly.
10607
7d668f2c
CY
10608 * simple.el: Lisp reimplement of list-processes. Based on an
10609 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10610 (process-menu-mode): New major mode.
10611 (list-processes--refresh, list-processes):
10612 (process-menu-visit-buffer): New functions.
10613
10614 * files.el (save-buffers-kill-emacs): Don't assume any return
10615 value of list-processes, which is undocumented anyway.
10616
a83ec3c9
CY
106172011-04-06 Chong Yidong <cyd@stupidchicken.com>
10618
10619 * emacs-lisp/tabulated-list.el: New file.
10620
e91a96fe
CY
10621 * emacs-lisp/package.el: Use Tabulated List mode.
10622 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10623 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10624 table format using Tabulated List mode variables.
10625 (package--push): New macro, replacing package-list-maybe-add.
10626 (package-menu--generate): Use package--push. Renamed from
10627 package--generate-package-list.
10628 (package-menu-refresh, list-packages): Use it.
daca8ba5 10629 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10630 Return insertion data instead of inserting it directly.
099c39a4
JB
10631 (package-menu-describe-package, package-menu-execute):
10632 Use tabulated-list-get-id.
e91a96fe
CY
10633 (package-menu-mark-delete, package-menu-mark-install)
10634 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10635 (package-menu-mark-obsolete-for-deletion):
10636 Use tabulated-list-put-tag.
e91a96fe
CY
10637 (package--list-packages, package-menu-revert)
10638 (package-menu-get-package, package-menu-get-version)
10639 (package-menu-sort-by-column): Functions deleted.
10640 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10641 (package-menu--status-predicate, package-menu--version-predicate)
10642 (package-menu--name-predicate)
10643 (package-menu--description-predicate): Handle arguments in the
10644 Tabulated List format.
10645 (package-list-packages-no-fetch): Call list-packages.
10646
3e214b50
JB
106472011-04-06 Juanma Barranquero <lekktu@gmail.com>
10648
10649 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10650 (after-find-file): Don't bind it.
3e214b50
JB
10651 (revert-buffer-in-progress-p): New variable.
10652 (revert-buffer): Bind it.
10653 Pass nil for `after-find-file-from-revert-buffer'.
10654
10655 * saveplace.el (save-place-find-file-hook): Use new variable
10656 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10657
3f0f1700
GM
106582011-04-06 Glenn Morris <rgm@gnu.org>
10659
c0274801
GM
10660 * Makefile.in (AUTOGEN_VCS): New variable.
10661 (autoloads): Use $AUTOGEN_VCS.
10662
3f0f1700
GM
10663 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10664 * calendar/calendar.el (calendar-mode-map):
10665 Check for toolkit scroll bars. (Bug#8305)
10666
41ea9e48
CY
106672011-04-05 Chong Yidong <cyd@stupidchicken.com>
10668
10669 * minibuffer.el (completion-in-region--postch)
10670 (completion-in-region-mode): Remove unnecessary messages.
10671
6194c800
JB
106722011-04-05 Juanma Barranquero <lekktu@gmail.com>
10673
33256f14
JB
10674 * font-lock.el (font-lock-refresh-defaults):
10675 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10676 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10677
6194c800
JB
10678 * info.el (Info-directory-list, Info-read-node-name-2)
10679 (Info-split-parameter-string): Doc fixes.
10680 (Info-virtual-nodes): Reflow docstring.
10681 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10682 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10683 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10684 Fix typos in docstrings.
10685 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10686 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10687 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10688 (Info-restore-desktop-buffer): Mark unused parameters.
10689 (Info-directory-find-file, Info-directory-find-node)
10690 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10691 (Info-virtual-index-find-node, Info-apropos-find-file)
10692 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10693 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10694 (Info-virtual-index): Remove unused local variable `nodename'.
10695
b87a8200 106962011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10697
b87a8200
DD
10698 * net/rcirc.el: Update my e-mail address.
10699 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10700
3b2ff876
CY
107012011-04-05 Chong Yidong <cyd@stupidchicken.com>
10702
10703 * startup.el (command-line): Save the cursor's theme-face
10704 directly, instead of using face-override-spec.
10705
10706 * custom.el (load-theme): Minor optimization in assigning faces.
10707
8d17e7ca
JB
107082011-04-04 Juanma Barranquero <lekktu@gmail.com>
10709
10710 * help-fns.el (describe-variable): Complete all variables having
10711 documentation, including keywords.
10712 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10713
2fbc1934
JB
107142011-04-04 Juanma Barranquero <lekktu@gmail.com>
10715
10716 Convert to lexical-binding.
10717
10718 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10719 (bs--get-marked-string, bs--get-modified-string)
10720 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10721 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10722 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10723
10724 * ehelp.el (electric-help-execute-extended)
10725 (electric-help-ctrl-x-prefix):
10726 * hexl.el (hexl-revert-buffer-function):
10727 * linum.el (linum-after-change, linum-after-scroll):
10728 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10729
10730 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10731
74f50695
DU
107322011-04-04 Daiki Ueno <ueno@unixuser.org>
10733
10734 * epa-dired.el:
10735 * epa-mail.el:
10736 * epa-hook.el:
10737 * epa-file.el:
10738 * epa.el:
10739 * epg.el: Use lexical binding.
10740
c11325f7
CY
107412011-04-03 Chong Yidong <cyd@stupidchicken.com>
10742
0d9e9a12
CY
10743 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10744
c11325f7 10745 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10746 dictionary case for flyspell-mark-duplications-exceptions.
10747 Use regexp matching for languages.
c11325f7
CY
10748 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10749 default dictionary (Bug#7926).
10750
da91b5f2
CY
107512011-04-02 Chong Yidong <cyd@stupidchicken.com>
10752
099c39a4
JB
10753 * emacs-lisp/package.el (package--with-work-buffer):
10754 Recognize https URLs.
da91b5f2 10755
099c39a4
JB
10756 * net/network-stream.el: Move from gnus/proto-stream.el.
10757 Change prefix to network-stream throughout.
da91b5f2
CY
10758 (open-protocol-stream): Merge into open-network-stream, leaving
10759 open-protocol-stream as an alias. Handle nil BUFFER args.
10760
10761 * subr.el (open-network-stream): Move to net/network-stream.el.
10762
afa8e9f6
GM
107632011-04-02 Glenn Morris <rgm@gnu.org>
10764
1d2e369d
GM
10765 * find-dired.el (find-exec-terminator): New option.
10766 (find-ls-option): Test for -ls support.
10767 (find-ls-subdir-switches): Test for -b in find-ls-option.
10768 (find-dired, find-grep-dired): Doc fixes.
10769 (find-dired): Use find-exec-terminator.
10770
8abb7da8 10771 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10772 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10773 (find-name-arg): Remove purecopy.
8abb7da8 10774
f3ca7378
GM
10775 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10776 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10777 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10778 accordingly. Don't add the null-device if not needed.
10779
afa8e9f6
GM
10780 * files.el (save-some-buffers): Doc fix.
10781
35eae264
EZ
107822011-04-02 Eli Zaretskii <eliz@gnu.org>
10783
10784 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10785
26b51db5
JB
107862011-04-01 Juanma Barranquero <lekktu@gmail.com>
10787
10788 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10789 Use `dolist' rather than `mapcar'.
10790
7200d79c
SM
107912011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10792
03408648 10793 Add lexical binding.
7200d79c 10794
03408648
SM
10795 * subr.el (apply-partially): Use new closures rather than CL.
10796 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10797 (dolist, dotimes): Use slightly different expansion for lexical code.
10798 (functionp): Move to C.
10799 (letrec): New macro.
10800 (with-wrapper-hook): Use it and apply-partially instead of CL.
10801 (eval-after-load): Preserve lexical-binding.
10802 (save-window-excursion, with-output-to-temp-buffer): Turn them
10803 into macros.
7200d79c 10804
03408648
SM
10805 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10806
10807 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10808 than the arglist.
10809 (help-add-fundoc-usage): Don't add `Not documented'.
10810 (help-function-arglist): Handle closures, subroutines, and new
10811 byte-code-functions.
10812 (help-make-usage): Remove leading underscores.
10813 (describe-function-1): Handle closures.
10814 (describe-variable): Use special-variable-p for completion.
10815
10816 * files.el (lexical-binding): Declare safe.
f488fb65 10817
03408648
SM
10818 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10819 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10820 (pcase): Add `let' pattern.
10821 Change memoization so it actually works.
10822 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10823 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10824 <let>: New case.
f488fb65 10825
03408648
SM
10826 * emacs-lisp/macroexp.el: Use lexical binding.
10827 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10828 Don't convert ' to #' without checking that it's indeed quoting
10829 a lambda.
10830
10831 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10832 Use eval-sexp-add-defvars.
03408648
SM
10833 (eval-sexp-add-defvars): New fun.
10834
10835 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10836
10837 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10838 Don't autoload.
10839 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10840 than the internal `byte-compile-lambda'.
10841 (defmethod): Don't hide code under quotes.
10842 (eieio-defmethod): New `code' argument.
10843
10844 * emacs-lisp/eieio-comp.el: Remove.
10845
10846 * emacs-lisp/edebug.el (edebug-eval-defun)
10847 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10848 (edebug-toggle): Avoid `eval'.
10849
10850 * emacs-lisp/disass.el (disassemble-internal): Handle new
10851 `closure' objects.
10852 (disassemble-1): Handle new byte codes.
10853
10854 * emacs-lisp/cl.el (pushnew): Silence warning.
10855
10856 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10857 (cl-byte-compile-throw): Remove.
10858 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10859
10860 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10861 closures.
10862
10863 * emacs-lisp/cconv.el: New file.
10864
10865 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10866 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10867 (byte-compile-initial-macro-environment):
10868 Handle declare-function here.
10869 (byte-compile--lexical-environment): New var.
10870 (byte-stack-ref, byte-stack-set, byte-discardN)
10871 (byte-discardN-preserve-tos): New lap codes.
10872 (byte-interactive-p): Don't use any more.
10873 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10874 New macros.
10875 (byte-compile-lapcode): Use them and handle new lap codes.
10876 (byte-compile-obsolete): Remove.
10877 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10878 (byte-compile-arglist-warn): Check late def of inlinable funs.
10879 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10880 since they should have been expanded by now.
10881 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10882 (byte-compile-from-buffer): Remove unused second arg.
10883 (byte-compile-preprocess): New function.
10884 (byte-compile-toplevel-file-form): New function to distinguish
10885 file-form calls from outside from file-form calls from hunk-handlers.
10886 (byte-compile-file-form): Simplify.
10887 (byte-compile-file-form-defsubst): Remove.
10888 (byte-compile-file-form-defmumble): Simplify now that
10889 byte-compile-lambda always returns a byte-code-function.
10890 (byte-compile): Preprocess.
10891 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10892 Remove, not used any more.
10893 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10894 (byte-compile-make-args-desc): New funs.
10895 (byte-compile-lambda): Handle lexical functions. Always return
10896 a byte-code-function.
10897 (byte-compile-reserved-constants): New var, to make up room for
10898 closed-over variables.
10899 (byte-compile-constants-vector): Obey it.
10900 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10901 (byte-compile-macroexpand-declare-function): New function.
10902 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10903 byte-code-functions.
10904 (byte-compile-form): Check obsolescence here.
10905 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10906 (byte-compile-variable-ref): Remove.
10907 (byte-compile-dynamic-variable-op): New fun.
10908 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10909 (byte-compile-variable-set): New funs.
10910 (byte-compile-discard): Add 2 args.
10911 (byte-compile-stack-ref, byte-compile-stack-set)
10912 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10913 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10914 macroexpand-all instead.
10915 (byte-compile-quote-form): Remove.
10916 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10917 (byte-compile-bind, byte-compile-unbind): New funs.
10918 (byte-compile-let): Handle let* and lexical binding.
10919 (byte-compile-let*): Remove.
10920 (byte-compile-catch, byte-compile-unwind-protect)
10921 (byte-compile-track-mouse, byte-compile-condition-case):
10922 Handle a new :fun-body form, used for lexical scoping.
10923 (byte-compile-save-window-excursion)
10924 (byte-compile-with-output-to-temp-buffer): Remove.
10925 (byte-compile-defun): Simplify.
10926 (byte-compile-stack-adjustment): New fun.
10927 (byte-compile-out): Use it.
10928 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10929
10930 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10931 handler any more.
10932
10933 * emacs-lisp/byte-opt.el: Use lexical binding.
10934 (byte-inline-lapcode): Remove (to bytecomp).
10935 (byte-compile-inline-expand): Pay attention to inlining to/from
10936 lexically bound code.
10937 (byte-compile-unfold-lambda): Don't handle byte-code-functions
10938 any more.
10939 (byte-optimize-form-code-walker): Don't handle save-window-excursion
10940 any more and don't call compiler-macros.
10941 (byte-compile-splice-in-already-compiled-code): Remove.
10942 (byte-code): Don't inline any more.
10943 (disassemble-offset): Receive `bytes' as argument rather than via
10944 dynamic scoping.
10945 (byte-compile-tag-number): Declare before first use.
10946 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10947 `return' even if make-spliceable.
10948 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10949 obsolete interactive-p.
10950 (byte-optimize-lapcode): Optimize new lap-codes.
10951 Don't trip up on new form of `byte-constant' lap code.
10952
10953 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10954
10955 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10956
10957 * custom.el (custom-initialize-default, custom-declare-variable):
10958 Use `defvar'.
10959
10960 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10961 New variables.
10962 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10963 (COMPILE_FIRST): Add macroexp and cconv.
10964 * makefile.w32-in: Mirror changes in Makefile.in.
10965
10966 * vc/cvs-status.el:
10967 * vc/diff-mode.el:
10968 * vc/log-edit.el:
10969 * vc/log-view.el:
10970 * vc/smerge-mode.el:
10971 * textmodes/bibtex-style.el:
10972 * textmodes/css.el:
10973 * startup.el:
10974 * uniquify.el:
da91b5f2
CY
10975 * minibuffer.el:
10976 * newcomment.el:
10977 * reveal.el:
10978 * server.el:
10979 * mpc.el:
10980 * emacs-lisp/smie.el:
10981 * doc-view.el:
10982 * dired.el:
03408648
SM
10983 * abbrev.el: Use lexical binding.
10984
0f0c1f27
EZ
109852011-04-01 Eli Zaretskii <eliz@gnu.org>
10986
10987 * info.el (info-display-manual): New function.
10988
c82b2579
SM
109892011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10990
10991 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10992
221ddf68
TH
109932011-03-31 Tassilo Horn <tassilo@member.fsf.org>
10994
10995 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 10996 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 10997
cba6e77e
GM
109982011-03-31 Glenn Morris <rgm@gnu.org>
10999
e040639f
GM
11000 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11001
cba6e77e
GM
11002 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11003
6d0f1c9e
CS
110042011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11005
11006 * progmodes/python.el (python-default-interpreter)
11007 (python-python-command-args, python-jython-command-args)
11008 (python-which-shell, python-which-args, python-which-bufname)
11009 (python-file-queue, python-comint-output-filter-function)
11010 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11011 variables and functions.
11012
3e2d70fd
SM
110132011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11014
11015 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11016 (completion-in-region-mode): New minor mode.
11017 (completion-in-region): Use it.
11018 (completion-in-region--data, completion-in-region-mode-map): New vars.
11019 (completion-in-region--postch): New function.
11020 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11021 New vars.
11022 (completion--capf-wrapper): New function.
11023 (completion-at-point): Use it to track well-behavedness of
11024 hook functions.
11025 (completion-help-at-point): New command.
11026
f3e4086c
JM
110272011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11028
11029 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11030 syntax class to search for whitespace on a single line
11031 (Message-ID: <4D938140.4030905@redhat.com>).
11032
eb7ffc14
LL
110332011-03-30 Leo Liu <sdl.web@gmail.com>
11034
11035 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11036 New commands.
11037 (edit-abbrevs-map): Bind them here.
11038 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11039
d806ab68
KM
110402011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11041
11042 * allout.el (allout-hide-by-annotation, allout-flag-region):
11043 Reduce possibility of overlay leakage by making them volatile.
11044
11045 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11046 hash is not shared between buffers. Mode initialization is
11047 responsible for giving it a useful starting value.
11048 (allout-item-span): Reduce possibility of overlay leakage by
11049 making them volatile.
11050 (allout-widgets-count-buttons-in-region): Add diagnostic function
11051 for tracking down button overlay leaks.
11052
ea622834
LL
110532011-03-29 Leo Liu <sdl.web@gmail.com>
11054
11055 * ido.el (ido-read-internal): Use the default history var
11056 minibuffer-history if no HISTORY is specified.
11057
b62f8267
G
110582011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11059
03408648
SM
11060 * net/imap.el (imap-shell-open, imap-process-connection-type):
11061 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11062 Kerberos, SSL, other subprocesses.
11063
947b6566
LL
110642011-03-28 Leo Liu <sdl.web@gmail.com>
11065
11066 * abbrev.el (abbrev-table-empty-p): New function.
11067 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11068 nonempty ones. (Bug#5937)
11069
5ffb62aa
JD
110702011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11071
11072 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11073
7a097943
LL
110742011-03-27 Leo Liu <sdl.web@gmail.com>
11075
11076 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11077 for foreground and background colors.
11078 (ansi-color-make-color-map): Adapt.
11079
c5b40130
LL
110802011-03-25 Leo Liu <sdl.web@gmail.com>
11081
1f48f7d2
LL
11082 * midnight.el (midnight-time-float): Remove. Note it calculates
11083 the microsecond component incorrectly and seconds-to-time does the
11084 same job.
625897ec 11085 Remove redundant (require 'timer).
1f48f7d2 11086
c5b40130
LL
11087 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11088 (ido-completions): Remove unused arguments. (Bug#8329)
11089
d86d2721
SM
110902011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11091
11092 * minibuffer.el (completion--flush-all-sorted-completions):
11093 Remove itself from hook.
11094 (completion-at-point): Let the functions perform the completion
11095 immediately and return nil or t.
11096 * comint.el (comint-dynamic-complete-functions): Now identical to
11097 completion-at-point-functions.
11098 (comint-dynamic-list-input-ring): Remove unused var `index'.
11099 (comint--match-partial-filename, comint--unquote&expand-filename):
11100 New funs, split from comint-match-partial-filename.
11101 (comint-dynamic-complete): Use completion-at-point.
11102 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11103
e8974c48
DA
111042011-03-24 Drew Adams <drew.adams@oracle.com>
11105
11106 * thingatpt.el: Support `defun'.
11107
def71b5e
LL
111082011-03-23 Leo Liu <sdl.web@gmail.com>
11109
cb5af48e
LL
11110 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11111
def71b5e
LL
11112 * help-mode.el (help-mode-finish): Tweak regexp.
11113
927c53e7
GM
111142011-03-23 Glenn Morris <rgm@gnu.org>
11115
18d05bed
GM
11116 * eshell/esh-opt.el (eshell-eval-using-options):
11117 Do not bind unused local variable `eshell-option-stub'.
11118
927c53e7
GM
11119 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11120
9d0da923
JB
111212011-03-22 Juanma Barranquero <lekktu@gmail.com>
11122
11123 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11124 keymap variable in `with-no-warnings' to avoid a warning when the
11125 keymap has been already `defconst'ed.
11126
4b978a67
LL
111272011-03-22 Leo Liu <sdl.web@gmail.com>
11128
11129 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11130 encode all chars in abbrevs; otherwise use emacs-mule or
11131 utf-8-emacs. (Bug#8308)
11132
5fd62452
JB
111332011-03-22 Juanma Barranquero <lekktu@gmail.com>
11134
0b1596c6
JB
11135 * simple.el (backward-delete-char-untabify):
11136 Avoid warning about using `delete-backward-char'.
11137
5fd62452
JB
11138 * image.el (image-type-file-name-regexps): Make it variable.
11139 `imagemagick-register-types' modifies it, and the user may want
11140 to add new extensions for known image types.
11141 (imagemagick-register-types): Throw error if not using ImageMagick.
11142
0b4e93f1
LL
111432011-03-22 Leo Liu <sdl.web@gmail.com>
11144
11145 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11146 located before rcirc-prompt-end-marker.
11147 (rcirc-complete): Error if point is not after rcirc prompt.
11148 Handle the case when table is nil.
9882e214 11149 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11150
fccee4ab
CY
111512011-03-22 Chong Yidong <cyd@stupidchicken.com>
11152
11153 * custom.el (custom--inhibit-theme-enable): Make it affect only
11154 custom-theme-set-variables and custom-theme-set-faces.
11155 (provide-theme): Ignore custom--inhibit-theme-enable.
11156 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11157 (custom-enabling-themes): Delete variable.
d86d2721
SM
11158 (enable-theme): Accept only loaded themes as arguments.
11159 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11160 (custom-enabled-themes): Forbid themes from setting this.
11161 Eliminate use of custom-enabling-themes.
11162 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11163
af896da6
LL
111642011-03-21 Leo Liu <sdl.web@gmail.com>
11165
11166 * ido.el (ido-read-internal): Add ido-selected to history instead
11167 of user input.
11168
78f64af0
SM
111692011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11170
11171 * subr.el (deferred-action-list, deferred-action-function):
11172 Mark obsolete.
11173
b16ac1ec
LL
111742011-03-21 Leo Liu <sdl.web@gmail.com>
11175
810f7698
LL
11176 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11177 change on 2011-02-13 (bug#8309).
11178
b16ac1ec
LL
11179 * minibuffer.el (read-file-name-function): Change default value.
11180 (read-file-name--defaults): Rename from read-file-name-defaults.
11181 (read-file-name-default): Rename from read-file-name.
11182 (read-file-name): Call read-file-name-function.
11183
4e05e67e
GM
111842011-03-21 Glenn Morris <rgm@gnu.org>
11185
11186 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11187 Doc fixes.
11188
4359915b
CY
111892011-03-21 Chong Yidong <cyd@stupidchicken.com>
11190
11191 * cus-theme.el: Add missing provide statement.
11192 (customize-create-theme): Extract theme value correctly.
11193 (custom-theme-visit-theme): Autoload.
11194 (customize-create-theme): Prompt before inserting default faces.
11195
1fe275ee
JB
111962011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11197
11198 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11199 units and musical notes.
11200
cd394be1 112012011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11202
11203 * ido.el (ido-read-internal): Use completing-read-default.
11204 (ido-completing-read): Fix compatibility with completing-read.
11205
7d476bde
CO
112062011-03-20 Christian Ohler <ohler@gnu.org>
11207
11208 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11209 (ert-delete-all-tests): Use `called-interactively-p' rather than
11210 `interactive-p'.
11211 (ert--make-xrefs-region): Respect END.
11212
fe0fb33e
CY
112132011-03-19 Chong Yidong <cyd@stupidchicken.com>
11214
ff854b0b
CY
11215 * dired-aux.el (dired-create-directory): Signal an error if the
11216 directory already exists (Bug#8246).
11217
fe0fb33e
CY
11218 * facemenu.el (list-colors-display): Call list-faces-display
11219 inside with-help-window.
11220 (list-colors-print): Use display property to align the final
11221 column, instead of checking window-width.
11222
576bce32
EZ
112232011-03-19 Eli Zaretskii <eliz@gnu.org>
11224
4d61f28d 11225 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11226 windows-nt systems.
11227 (emerge-protect-metachars): Quote correctly for ms-dos and
11228 windows-nt systems.
11229
89c41d68 112302011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11231
11232 * info.el (info-initialize): Replace all uses of `:' with
11233 path-separator for compatibility with non-Unix systems.
11234 Cache quoting of path-separator. (Bug#8258)
11235
b14e3e21 112362011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11237
11238 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11239 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11240 (mouse-avoidance-mode): Fix typos in docstrings.
11241
4525ce3e
CY
112422011-03-19 Chong Yidong <cyd@stupidchicken.com>
11243
11244 * startup.el (package-subdirectory-regexp): Move from package.el.
11245 Omit \\` and \\', and let callers add them.
11246
11247 * emacs-lisp/package.el (package-strip-version)
11248 (package-load-all-descriptors): Add \\` and \\' to
11249 package-subdirectory-regexp before using it.
11250 (package-untar-buffer): New arg DIR; ensure that file untars only
11251 into this expected directory. Remove superfluous delete-region.
11252 (package-unpack): Caller changed.
11253 (package-tar-file-info): Use package-subdirectory-regexp.
11254
a904a09a 112552011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11256
a904a09a
SM
11257 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11258 diff-mode-shared-map (bug#8284).
11259 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11260
112612011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11262
11263 * calendar/time-date.el (format-seconds): Use assoc instead of
11264 assoc-string, since assoc-string doesn't exist in XEmacs.
11265
171fc304
JB
112662011-03-17 Juanma Barranquero <lekktu@gmail.com>
11267
11268 * custom.el (custom-known-themes): Reflow docstring.
11269 (custom-theme-load-path): Fix typo in docstring.
11270 (load-theme): Fix typo in error message.
11271 (custom-available-themes, custom-variable-theme-value):
11272 Use `let', not `let*'.
11273
d71990a1
JB
112742011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11275
11276 * calc/README: Mention inclusion of musical notes.
11277
11278 * calc/calc-units.el (calc-lu-quant): Rename from
11279 `calc-logunits-quantity'.
11280 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11281 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11282 (calc-db): Rename from `calc-dblevel'.
11283 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11284 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11285 (calc-np): Rename from `calc-nplevel'.
11286 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11287 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11288 (calc-lu-plus): Rename from `calc-logunits-add'.
11289 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11290 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11291 (calc-lu-minus): Rename from `calc-logunits-sub'.
11292 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11293 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11294 (calc-lu-times): Rename from `calc-logunits-mul'.
11295 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11296 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11297 (calc-lu-divide): Rename from `calc-logunits-div'.
11298 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11299 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11300
11301 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11302 functions being autoloaded.
11303
11304 * calc/calc.el (calc-lu-power-reference): Rename from
11305 `calc-logunits-power-reference'.
11306 (calc-lu-field-reference): Rename from
11307 `calc-logunits-field-reference'.
11308
7a71b18d
GM
11309 * calc/calc-help.el (calc-l-prefix-help):
11310 Mention musical note functions.
d71990a1 11311
40c2934b
SM
113122011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11313
11314 * minibuffer.el (completion-all-sorted-completions):
11315 Use :completion-cycle-penalty text property if present.
11316
b0911414
KM
113172011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11318
11319 * allout.el (allout-yank-processing): Adjust for new rebulleting
11320 regime so bullet being yanked is used without prompting the user
11321 for a choice.
11322
8a05b668
JB
113232011-03-16 Juanma Barranquero <lekktu@gmail.com>
11324
11325 * startup.el (command-line): Warn the user that _emacs is deprecated.
11326
5ba5fb81
JB
113272011-03-16 Juanma Barranquero <lekktu@gmail.com>
11328
11329 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11330 (delphi-verbose, delphi-comment-face, delphi-string-face)
11331 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11332 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11333 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11334 (delphi-new-comment-line, delphi-font-lock-defaults)
11335 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11336 Fix typos in docstrings.
11337
2dab465b
KM
113382011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11339
5ba5fb81 11340 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11341 Invert the roles of character and string values for INSTEAD, so a
11342 string is used for the more common case of a defaulting prompt.
11343
0adf5618
SM
113442011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11345
11346 * progmodes/ruby-mode.el (ruby-backward-sexp):
11347 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11348 * play/gamegrid.el (gamegrid-make-face):
11349 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11350 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11351 * notifications.el (notifications-notify):
11352 * net/xesam.el (xesam-search-engines):
11353 * net/quickurl.el (quickurl-list-insert):
11354 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11355
d72700e5
CY
113562011-03-15 Chong Yidong <cyd@stupidchicken.com>
11357
11358 * startup.el (command-line): Update package subdirectory regexp.
11359
49c5410a
SM
113602011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11361
c6eee9aa
SM
11362 * allout.el (allout-abbreviate-flattened-numbering)
11363 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11364
49c5410a
SM
11365 * subr.el (read-char-choice): Only show the cursor after the prompt,
11366 not after the answer.
11367
047b2bb9
KR
113682011-03-15 Kevin Ryde <user42@zip.com.au>
11369
11370 * help-fns.el (variable-at-point): Skip leading quotes, if any
11371 (bug#8253).
11372
0a57d256
SM
113732011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11374
11375 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11376 warning message.
11377
77c992bc
MA
113782011-03-14 Michael Albinus <michael.albinus@gmx.de>
11379
11380 * shell.el (shell): When called interactively, offer to change the
11381 shell file name on remote hosts.
11382
eebc475d
TZ
113832011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11384
11385 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11386 integration for LDAP parameters. The host, base, user or binddn,
11387 and secret tokens can be specified in a netrc file, for instance.
11388 This is optional because an `auth-source' parameter must be
11389 specified in the search attributes.
11390
9d05d1ba
JB
113912011-03-13 Juanma Barranquero <lekktu@gmail.com>
11392
11393 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11394
09d9db2c
GM
113952011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11396
11397 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11398 into declaration. Remove redundant and harmful binding.
11399
114002011-03-12 Eli Zaretskii <eliz@gnu.org>
11401
11402 * files.el (file-ownership-preserved-p): Pass `integer' as an
11403 explicit 2nd argument to `file-attributes'. If the file's owner
11404 is the Administrators group on Windows, and the current user is
11405 Administrator, consider that a match.
11406
11407 * server.el (server-ensure-safe-dir): Consider server directory
11408 safe on MS-Windows if its owner is the Administrators group while
11409 the current Emacs user is Administrator. Use `=' to compare
11410 numerical UIDs, since they could be integers or floats.
11411
219bd536
JB
114122011-03-12 Juanma Barranquero <lekktu@gmail.com>
11413
11414 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11415
f3afd36b
MA
114162011-03-12 Michael Albinus <michael.albinus@gmx.de>
11417
11418 Sync with Tramp 2.2.1.
11419
11420 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11421
11422 * net/trampver.el: Update release number.
11423
3aaaa6f1
SM
114242011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11425
94642599
SM
11426 * progmodes/compile.el (compilation--previous-directory): Fix up
11427 various nil/dead-marker mismatches (bug#8014).
11428 (compilation-directory-properties, compilation-error-properties):
11429 Don't call it at a position past the one we're about to change.
11430
3aaaa6f1
SM
11431 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11432 Disable obsolescence warnings in the file that declares it.
11433
14239447
KM
114342011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11435
099c39a4
JB
11436 * allout-widgets.el (allout-widgets-tally):
11437 Initialize allout-widgets-tally as a hash table rather than nil to
11438 prevent mode-line redisplay warnings. Also, clarify the module
11439 description and fix a comment typo.
14239447 11440
135e287c
JB
114412011-03-11 Juanma Barranquero <lekktu@gmail.com>
11442
11443 * help-fns.el (describe-variable): Don't complete keywords.
11444 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11445
ffbf300e
CY
114462011-03-10 Chong Yidong <cyd@stupidchicken.com>
11447
ba08b241
CY
11448 * emacs-lisp/package.el (package-version-join): Impose a standard
11449 string representation for pre/alpha/beta version lists.
11450 (package-unpack-single): Standardize the directory name by passing
11451 it through package-version-join.
11452 (package-strip-rcs-id): Accept any version string that does not
11453 signal an error in version-to-list.
ffbf300e 11454
f346fd6b
MA
114552011-03-10 Michael Albinus <michael.albinus@gmx.de>
11456
11457 * simple.el (delete-trailing-whitespace): Return nil for the
11458 benefit of `write-file-functions'.
11459
ccb55d27
GM
114602011-03-10 Glenn Morris <rgm@gnu.org>
11461
5ceaac0c
GM
11462 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11463
02da65ff
GM
11464 * vc/vc-git.el (vc-git-program): New option.
11465 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11466 (vc-git--call): Use it.
11467
b2f603cc
GM
11468 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11469
5772caab
GM
11470 * cus-edit.el (Custom-newline): If no button at point, look
11471 for a subgroup button at start-of-line. (Bug#2298)
11472
ccb55d27
GM
11473 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11474
ec6ecaed
JD
114752011-03-10 Julien Danjou <julien@danjou.info>
11476
11477 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11478 `cursor-type' is nil.
11479
9d5aa01d
JB
114802011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11481
11482 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11483
b6a5875b
KM
114842011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11485
7a71b18d 11486 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11487 preserves the existing header prefix, rebulleting it if necessary,
11488 rather than replacing it. This is necessary for proper operation
11489 of cooperative addons like allout-widgets.
1154d12e
JB
11490 (allout-make-topic-prefix, allout-rebullet-heading):
11491 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11492 value as alternate bullet to be used, instead of prompting the user
11493 for a bullet character.
b6a5875b 11494
ee545c35
MA
114952011-03-09 Michael Albinus <michael.albinus@gmx.de>
11496
d86d2721
SM
11497 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11498 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11499 `tramp-default-port'.
11500
c47971d7
DD
115012011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11502
11503 * net/rcirc.el (rcirc-handler-001): Remove useless
11504 with-rcirc-process-buffer.
11505 (rcirc-check-auth-status): Swap arguments to string-match.
11506
13522cb4
GM
115072011-03-09 Glenn Morris <rgm@gnu.org>
11508
0be6f4f1
GM
11509 * shell.el (shell-mode):
11510 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11511
13522cb4
GM
11512 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11513 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11514
515de2e3
CY
115152011-03-08 Chong Yidong <cyd@stupidchicken.com>
11516
11517 * emacs-lisp/package.el (package-refresh-contents)
11518 (package-menu-execute): Use condition-case-no-debug.
11519
b511b994
MA
115202011-03-08 Michael Albinus <michael.albinus@gmx.de>
11521
11522 * simple.el (shell-command-to-string): Use `process-file'.
11523
11524 * emacs-lisp/package.el (package-tar-file-info): Handle also
11525 remote files.
11526
d86d2721
SM
11527 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11528 Use `equal' for upload base check.
b511b994 11529
25bbfb31
AM
115302011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11531
11532 * textmodes/texinfo.el (texinfo-environments):
11533 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11534
be996521
GM
115352011-03-08 Glenn Morris <rgm@gnu.org>
11536
e9c8529f
GM
11537 * cus-start.el (cursor-in-non-selected-windows):
11538 Fix :set quoting oddness. (Bug#8192)
11539
be996521
GM
11540 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11541 in some setf expressions. (Bug#2159)
11542
2bb5649e
CY
115432011-03-08 Chong Yidong <cyd@stupidchicken.com>
11544
11545 * custom.el (custom-available-themes): Return themes in
11546 alphabetical order.
11547
33383987 11548See ChangeLog.15 for earlier changes.
e3d51b27
MR
11549
11550;; Local Variables:
11551;; coding: utf-8
e3d51b27
MR
11552;; End:
11553
acaf905b 11554 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11555
11556 This file is part of GNU Emacs.
11557
11558 GNU Emacs is free software: you can redistribute it and/or modify
11559 it under the terms of the GNU General Public License as published by
11560 the Free Software Foundation, either version 3 of the License, or
11561 (at your option) any later version.
11562
11563 GNU Emacs is distributed in the hope that it will be useful,
11564 but WITHOUT ANY WARRANTY; without even the implied warranty of
11565 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11566 GNU General Public License for more details.
11567
11568 You should have received a copy of the GNU General Public License
11569 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.