* lisp/font-lock.el (lisp-font-lock-keywords-2): Add letrec.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
50e94f0c
LL
12012-03-16 Leo Liu <sdl.web@gmail.com>
2
3 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4
6f09f6ed
AH
52012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6
7 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9
c7e73d51
GM
102012-03-16 Glenn Morris <rgm@gnu.org>
11
da986230
GM
12 * view.el (view-buffer, view-buffer-other-window)
13 (view-buffer-other-frame): Doc fixes re special mode-class.
14
0835f01e
GM
15 * subr.el (eval-after-load): If named feature is provided not from
16 a file, run after-load forms. (Bug#10946)
17
c7e73d51
GM
18 * calendar/calendar.el (calendar-insert-at-column):
19 Handle non-unit-width characters a bit better. (Bug#10978)
20
3f2eafd1
CY
212012-03-15 Chong Yidong <cyd@gnu.org>
22
23 * emacs-lisp/ring.el (ring-extend): New function.
24 (ring-insert+extend): Extend the ring correctly (Bug#11019).
25
26 * comint.el (comint-read-input-ring)
27 (comint-add-to-input-history): Grow comint-input-ring lazily.
28
103af3fe
SM
292012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
30
663b1677
SM
31 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
32 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
33
103af3fe
SM
34 * imenu.el: Fix multiple inheritance breakage (bug#9199).
35 (imenu-add-to-menubar): Don't add a redundant index.
36 (imenu-update-menubar): Handle a dynamically composed keymap.
37
899cb7cb
KY
382012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
39
40 * mail/sendmail.el (mail-encode-header):
41 Bind rfc2047-encode-encoded-words to nil.
42
3809f91d
GM
432012-03-13 Glenn Morris <rgm@gnu.org>
44
45 * calendar/calendar.el (calendar-string-spread):
46 Handle non-unit-width characters a bit better. (Bug#10978)
47
9e345a01
LL
482012-03-13 Leo Liu <sdl.web@gmail.com>
49
50 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
51 directory and file as argument (Bug#10822).
52
4a07df36
KS
532012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
54
55 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
56 For dynamically generated code, follow $PC.
57 (gdb-disassembly-handler-custom): Handle no function name case.
58
4aaa9356
TL
592012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
60
61 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
62 * emulation/ws-mode.el (ws-query-replace):
63 * sort.el (sort-regexp-fields):
64 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
65
225979da
SM
662012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 * dabbrev.el: Fix cycle completion order (bug#10963).
69 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
70 (dabbrev-completion): Don't use an obarray; provide
71 a cycle-sort-function.
72
e2f1fdab
LL
732012-03-12 Leo Liu <sdl.web@gmail.com>
74
75 * simple.el (kill-new): Use equal-including-properties for
76 comparison.
77 (kill-do-not-save-duplicates): Doc fix.
78
b19490ed
SM
792012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
80
81 * dabbrev.el: Fix cycle completion (bug#10963).
82 Use lexical binding and wrap to 80 columns.
83 (dabbrev-completion): Delay computing the list of completions.
84
4b05d722
KH
852012-03-12 Kenichi Handa <handa@m17n.org>
86
87 * international/quail.el (quail-insert-kbd-layout): Surround each
88 row by LRO and PDF instead of inserting many LRMs. Pad the left
89 and right of each non-spacing marks. Insert invisible space
90 between lower and upper characters to prevent composition.
91
dbbc2e69
SM
922012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * minibuffer.el (minibuffer-complete): Don't get confused when the
95 function is run twice via different commands (bug#10958).
96 (complete-with-action): Fix docstring.
97
292112ed
CY
982012-03-12 Chong Yidong <cyd@gnu.org>
99
5d1ac394
CY
100 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
101 (nxml-completion-at-point-function): New function.
102 (nxml-mode): Use it.
103 (nxml-bind-meta-tab-to-complete-flag): Default to t.
104
292112ed
CY
105 * emacs-lisp/package.el (package-unpack, package-unpack-single):
106 Load generated autoloads file before byte compiling (Bug#10970).
107 (package--make-autoloads-and-compile): New helper fun.
108
4098f8f7
CS
1092012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
110
111 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
112
8f754691
MA
1132012-03-11 Michael Albinus <michael.albinus@gmx.de>
114
115 * autorevert.el (auto-revert-handler): Ensure, that
116 file-readable-p is applied only for local files or in
117 auto-revert-tail-mode.
118
e29ab36b
AS
1192012-03-11 Andreas Schwab <schwab@linux-m68k.org>
120
dbbc2e69
SM
121 * server.el (server-eval-at): Handle non-tcp connections.
122 Decode result string.
ad0bf5b6 123
e29ab36b
AS
124 * server.el (server-msg-size): New constant.
125 (server-reply-print): New function.
126 (server-eval-and-print): Use it.
127 (server-eval-at): Use server-quote-arg and server-unquote-arg.
128 Handle -print-nonl.
129
de5939ba
CS
1302012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
131
132 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
133 (Bug#10987).
134
0c93eabf
CY
1352012-03-11 Chong Yidong <cyd@gnu.org>
136
397a688f
CY
137 * simple.el (goto-line): Doc fix (Bug#9938).
138
2cc775f9
CY
139 * subr.el (save-window-excursion): Doc fix (Bug#9979).
140
0c93eabf
CY
141 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
142 when finished (Bug#10963).
143
c491fa41
MR
1442012-03-11 Martin Rudalics <rudalics@gmx.at>
145
146 * window.el (split-window-below): Fix bug in case where
147 split-window-keep-point is nil (Bug#10971).
148
300e8fa5
JL
1492012-03-11 Juri Linkov <juri@jurta.org>
150
151 * replace.el (replace-highlight): Set isearch-word to nil
152 unconditionally. (Bug#10887)
153
dbf6c5a1
EZ
1542012-03-10 Eli Zaretskii <eliz@gnu.org>
155
156 * net/mairix.el (mairix-replace-invalid-chars): Rename from
157 mairix-replace-illegal-chars; all callers changed. Don't remove
158 ^, ~, and = characters: they are meaningful in mairix search
159 specs.
160 (mairix-widget-create-query): Add usage information about mairix
161 search forms: negating words, searching for substrings, etc.
162
b9e501de
JP
1632012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
164
165 * international/fontset.el (font-encoding-alist): Add an entry for
166 ksx1001 (Bug#5667).
167
92795c91
RS
1682012-03-10 Richard Stallman <rms@gnu.org>
169
1694e6c1
RS
170 * mail/sendmail.el (mail-encode-header):
171 Set rfc2047-encode-encoded-words.
172
607e8555
RS
173 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
174
de3bc99a
RS
175 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
176 view buffer means not swapped.
177 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
178 (rmail-write-region-annotate): Error if real text has disappeared.
179
92795c91
RS
180 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
181
699bd04e
CY
1822012-03-10 Chong Yidong <cyd@gnu.org>
183
184 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
185 * emulation/cua-base.el (cua--init-keymaps):
186 Add delete-forward-char to remappings (Bug#9666).
699bd04e 187
570a1714
MR
1882012-03-10 Martin Rudalics <rudalics@gmx.at>
189
dbbc2e69
SM
190 * speedbar.el (speedbar-unhighlight-one-tag-line):
191 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 192
82dcf4e4
CY
1932012-03-10 Chong Yidong <cyd@gnu.org>
194
7a2c7ca7
CY
195 * minibuffer.el (completion-in-region, completion-help-at-point):
196 Give the completion field overlay a high priority (Bug#6830).
197
82dcf4e4
CY
198 * dired.el (dired-goto-file): Recognize absolute file name
199 listings (Bug#7126).
200 (dired-goto-file-1): New helper function.
201 (dired-toggle-read-only): Inhibit warnings.
202
052e28ac
MA
2032012-03-09 Michael Albinus <michael.albinus@gmx.de>
204
205 * net/dbus.el: (dbus-property-handler): Return empty array if
206 there are no properties.
207
95d5e396
LL
2082012-03-09 Leo Liu <sdl.web@gmail.com>
209
210 * savehist.el (savehist-printable): Stricter check for string
211 value (Bug#10937).
212
3f018d6d
EZ
2132012-03-09 Eli Zaretskii <eliz@gnu.org>
214
dbbc2e69
SM
215 * mail/smtpmail.el (smtpmail-send-it):
216 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
217 valid mbox format.
218
f7fd3d79
GM
2192012-03-09 Glenn Morris <rgm@gnu.org>
220
221 * files.el (dir-locals-find-file):
222 Don't check result is regular, readable.
223 (dir-locals-read-from-file): Demote errors.
224
6ff6e72f
EZ
2252012-03-08 Eli Zaretskii <eliz@gnu.org>
226
dbbc2e69
SM
227 * international/quail.el (quail-insert-kbd-layout):
228 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
229 layout cell, to prevent their reordering by bidi display engine.
230 For details, see the discussion in
231 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
232
9cec7834
AM
2332012-03-08 Alan Mackenzie <acm@muc.de>
234
235 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
236 the starting position; make it extend the marked region when
237 invoked repeatedly - all under appropriate circumstances.
238 Fixes bugs #5525, #10906.
239
9a40b8d4
GM
2402012-03-08 Glenn Morris <rgm@gnu.org>
241
242 * files.el (locate-dominating-file, dir-locals-find-file):
243 Undo 2012-03-06 change.
244
7a08ed35
EZ
2452012-03-07 Eli Zaretskii <eliz@gnu.org>
246
dbbc2e69
SM
247 * international/quail.el (quail-help):
248 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
249 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
250 for the reason.
251
5aca4f71 2522012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
253
254 Avoid superfluous registering of signals. (Bug#10807)
255
256 * notifications.el (notifications-on-action-object)
257 (notifications-on-close-object): New defvars.
258 (notifications-on-action-signal, notifications-on-closed-signal):
259 Unregister the signal if not needed any longer.
260 (notifications-notify): Register `notifications-action-signal' or
261 `notifications-closed-signal', if :on-action or :on-close has been
262 passed as argument.
263
78e8b10a
CY
2642012-03-07 Chong Yidong <cyd@gnu.org>
265
266 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
267 non-X platforms.
268
69481eb8
GM
2692012-03-06 Glenn Morris <rgm@gnu.org>
270
271 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
272 (x-disown-selection-internal, x-get-selection-internal):
273 Doc fix (add arglist signatures). (Bug#10783)
274
133b8e11
KS
2752012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
276
277 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
278 Handle breakpoints with no "type".
279
99a83064
GM
2802012-03-06 Glenn Morris <rgm@gnu.org>
281
282 * files.el (locate-dominating-file): Add optional predicate argument.
283 (dir-locals-find-file): Make use of above change.
284
17798e78
TTN
2852012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
286
287 * info.el (Info-insert-dir): Also try "dir.gz".
288
eb182446
GM
2892012-03-06 Glenn Morris <rgm@gnu.org>
290
8f2114ee
GM
291 * files.el (dir-locals-find-file):
292 Ignore non-readable or non-regular files. (Bug#10928)
293
eb182446
GM
294 * files.el (locate-dominating-file): Doc fix.
295
24679323
AS
2962012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
297
298 * calendar/calendar.el (calendar-set-mode-line):
299 `getenv' returns a string. (Bug#10951)
300
01d972a9
LL
3012012-03-05 Leo Liu <sdl.web@gmail.com>
302
109aa8a9
LL
303 * simple.el (backward-delete-char-untabify): Constrain point to
304 field (Bug#10939).
305
01d972a9
LL
306 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
307
10607bea
CY
3082012-03-05 Chong Yidong <cyd@gnu.org>
309
310 * simple.el (count-words): If called from Lisp, return the word
311 count, for symmetry with `count-lines'. Arglist changed.
312 (count-words--message): Args changed. Consolidate counting code
313 from count-words and count-words-region.
314 (count-words-region): Caller changed.
315 (count-lines-region): Make it an obsolete alias.
316
5dd11cfe
TH
3172012-03-04 Tassilo Horn <tassilo@member.fsf.org>
318
319 * saveplace.el (save-place-to-alist)
320 (save-place-ignore-files-regexp): Allow value nil to disable this
321 feature.
322
c349f4e6
CY
3232012-03-04 Chong Yidong <cyd@gnu.org>
324
325 * faces.el (face-spec-reset-face): For the default face, reset the
326 attributes to default values (Bug#10748).
327
e627be4c
LMI
3282012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
329
330 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
331 previous patch: Check `message-send-mail-function', and not the
332 default function (bug#10897).
333
ebeabff4
MA
3342012-03-04 Michael Albinus <michael.albinus@gmx.de>
335
a41a6cf4
MA
336 * notifications.el (notifications-on-action-signal)
337 (notifications-on-closed-signal): Check for unique service name of
338 incoming event. Fix error in removing entry.
ebeabff4 339 (top): Register for signals with wildcard service name.
a41a6cf4 340 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 341
c1ca42b4
CY
3422012-03-04 Chong Yidong <cyd@gnu.org>
343
344 * cus-start.el: Make x-select-enable-clipboard-manager
345 customizable.
346
ea16568d
GM
3472012-03-04 Glenn Morris <rgm@gnu.org>
348
349 * abbrev.el (copy-abbrev-table, abbrev-table-p)
350 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
351 (expand-abbrev, define-abbrev-table): Doc fixes.
352
fbae4637
LMI
3532012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
354
355 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
356 `message-default-send-mail-function' and not `send-mail-function'
357 when doing the prompting for `sendmail-query-once' before sending
358 in Message buffers (bug#10897).
359
a1e7225c
LMI
360 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
361 This is inconsistent with all the other stream functions, which leave
362 the setting up to the higher levels (if so wanted) (bug#10931).
363
56d093a9
AM
3642012-03-02 Alan Mackenzie <acm@muc.de>
365
366 Depessimize the handling of very large macros.
367
368 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
369 (c-macro-cache-syntactic): New variables to implement a one
370 element macro cache.
371 (c-invalidate-macro-cache): New function.
372 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
373 Adapt to use the new cache.
374 (c-state-safe-place): Use better the cache of safe positions.
375 (c-state-semi-nonlit-pos-cache)
376 (c-state-semi-nonlit-pos-cache-limit):
377 New variables for...
378 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
379 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
380 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
381 Use c-state-semi-safe-place.
56d093a9 382
dbbc2e69
SM
383 * progmodes/cc-langs.el (c-get-state-before-change-functions):
384 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 385
817e5c3d
MA
3862012-03-02 Michael Albinus <michael.albinus@gmx.de>
387
dbbc2e69
SM
388 * jka-compr.el (jka-compr-call-process):
389 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
390 not remote.
391
a032a702
MA
3922012-03-01 Michael Albinus <michael.albinus@gmx.de>
393
394 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
395 access of FILE2, if FILE1 does not exist.
396
99a54f21
MA
397 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
398 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
399
400 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
401 Add "PAGER=" to `process-environment'.
402
f6561e1f
MM
4032012-03-01 Michael R. Mauger <mmaug@yahoo.com>
404
405 * progmodes/sql.el: Bug fix
406 (sql-get-login-ext): Save login values in globals.
407 (sql-get-login): Use new version of `sql-get-login-ext'.
408 (sql-interactive-mode): Set global `sql-connection' to nil.
409 (sql-connect): Set global values for connection.
410 (sql-product-interactive): Save global values as buffer local.
411
2d44d9cc
LL
4122012-02-29 Leo Liu <sdl.web@gmail.com>
413
414 * abbrev.el (define-abbrevs): Reset sys to nil.
415
96b49301 4162012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
417
bf7f9bc5
JB
418 * files.el (file-equal-p): Rename from `files-equal-p'.
419 Return nil when one or both files don't exist.
96b49301 420 (file-subdir-of-p): Now only top directory must exists,
421 return nil if it doesn't.
bf7f9bc5
JB
422 (copy-directory): No need to test with `file-subdir-of-p' after
423 creating dir.
424 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
425 to `file-equal-p'.
96b49301 426
44e97401
GM
4272012-02-28 Glenn Morris <rgm@gnu.org>
428
429 * shell.el (shell-mode):
430 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
431 * play/landmark.el (landmark-font-lock-face-O):
432 * play/handwrite.el (handwrite):
433 * play/gomoku.el (gomoku-O):
434 * net/browse-url.el (browse-url-browser-display):
435 * international/mule.el (define-charset):
436 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
437 * filesets.el (filesets-find-file-delay):
438 * eshell/em-xtra.el (eshell-xtra):
439 * eshell/em-unix.el (eshell-grep):
440 * emulation/viper.el (viper-mode):
441 * emacs-lisp/regexp-opt.el (regexp-opt-group):
442 * emacs-lisp/easymenu.el (easy-menu-define):
443 * calendar/timeclock.el (timeclock-use-display-time):
444 * bs.el (bs-mode):
445 * bookmark.el (bookmark-save-flag):
446 Doc fix (standardize possessive apostrophe usage).
447
c98c6276
CY
4482012-02-27 Chong Yidong <cyd@gnu.org>
449
bf7f9bc5
JB
450 * emulation/viper-cmd.el (viper-intercept-ESC-key):
451 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 452
c98c6276
CY
453 * font-lock.el (font-lock-specified-p): Rename from
454 font-lock-spec-present. Callers changed.
455
9c62cd04 4562012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 457
bf7f9bc5
JB
458 * emacs-lisp/package.el (package-compute-transaction):
459 Handle holding a package version to t in package-load-list.
8ac9e529 460
530739c9
MA
4612012-02-26 Michael Albinus <michael.albinus@gmx.de>
462
463 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
464 (tramp-get-inode, tramp-get-device): Use cached values.
465
487915d7
AM
4662012-02-26 Alan Mackenzie <acm@muc.de>
467
468 Check there is a font-lock specification before doing initial
469 fontification.
470
471 * font-core.el (font-lock-mode): Move the conditional from
472 :after-hook to font-lock-initial-fontify.
473 (font-lock-default-function): Move the check for a specification
474 to font-lock-spec-present.
475
476 * font-lock.el (font-lock-initial-fontify): call ...
477 (font-lock-spec-present): New function.
478
4fd96557
JB
4792012-02-26 Jim Blandy <jimb@red-bean.com>
480
481 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
482 (gdb-send): Apply it to the operand of the '-interpreter-exec
483 console' command, so that we can pass arguments with (say) quotes
484 in them. Store exact string sent in gdb-debug-log (Bug#10765).
485
9a4888c0
CY
4862012-02-26 Chong Yidong <cyd@gnu.org>
487
07498861
CY
488 * help-fns.el (describe-function-1): Clarify description of
489 remapping (Bug#10844).
490
9a4888c0
CY
491 * files.el (files-equal-p): Doc fix.
492 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
493 and quit the loop once a mismatch is found.
494
ea8fb88d
JB
4952012-02-25 Juanma Barranquero <lekktu@gmail.com>
496
497 * bs.el (bs--show-with-configuration): Don't throw an error
498 if the window cannot be split; otherwise, subsequent calls to
499 bs-show fail, restoring a stale window config. (Bug#10882)
500
525795c1
JD
5012012-02-25 Jan Djärv <jan.h.d@swipnet.se>
502
503 * term/ns-win.el (global-map): Bind ns-drag-file to
504 ns-find-file (Bug#5855, Bug#10050).
505
f008086f
AS
5062012-02-25 Andreas Schwab <schwab@linux-m68k.org>
507
508 * calendar/parse-time.el (parse-time-string): Allow extractor to
509 return nil.
510
a3fcfa99
MA
5112012-02-25 Michael Albinus <michael.albinus@gmx.de>
512
91027d08
JB
513 * net/tramp.el (tramp-file-name-for-operation):
514 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
515
516 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
517 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
518 Add COPY-CONTENTS argument.
a3fcfa99 519
67b0de11
CY
5202012-02-25 Chong Yidong <cyd@gnu.org>
521
522 Add custom groups for VC backends, for consistency with vc-bzr.
523
524 * vc/vc-arch.el (vc-arch):
525 * vc/vc-cvs.el (vc-cvs):
526 * vc/vc-git.el (vc-git):
527 * vc/vc-hg.el (vc-hg):
528 * vc/vc-mtn.el (vc-mtn):
529 * vc/vc-rcs.el (vc-rcs):
530 * vc/vc-sccs.el (vc-sccs):
531 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
532 All relevant defcustoms reassigned.
533
3c9dfce6
CY
5342012-02-25 Chong Yidong <cyd@gnu.org>
535
1339bf43
CY
536 * newcomment.el (comment-styles): Add autoload (Bug#10868).
537
3c9dfce6
CY
538 * term/x-win.el (x-initialize-window-system): Reduce default for
539 x-selection-timeout to 5 seconds (Bug#8869).
540
53a46cd0 5412012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 542
53a46cd0 543 * files.el (file-subdir-of-p): Fix typo.
14a8a663 544
25b2e303 5452012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
546
ec70a47d
GM
547 * files.el (files-equal-p, file-subdir-of-p): New functions.
548 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 549 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
550 * dired-aux.el (dired-copy-file-recursive): Same.
551 (dired-create-files): Modify destination when source is equal to
552 dest when copying files.
53a46cd0 553 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 554
914260cd
MA
5552012-02-24 Michael Albinus <michael.albinus@gmx.de>
556
557 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
558 (Bug#10874)
559
2cb228f7
AM
5602012-02-23 Alan Mackenzie <acm@muc.de>
561
562 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
563 parameter "after-hook:" to allow the expansion to run code after
564 the execution of the mode hooks.
565
566 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 567 from font-lock-mode-internal.
2cb228f7 568
91027d08 569 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
570 :after-hook.
571
8f0fde21
SM
5722012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
573
3e88618b
SM
574 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
575 (completion--cache-all-sorted-completions): New function.
576 (completion-all-sorted-completions): Use it.
577 (completion--do-completion, minibuffer-force-complete):
578 Use it to re-instate the flush hook.
579
8f0fde21
SM
580 * icomplete.el (icomplete-completions): Replace last fix with a better
581 one (bug#10850).
582
8e911f6f
DG
5832012-02-23 Dmitry Gutov <dgutov@yandex.ru>
584
585 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
586 when it might call us back infinitely (bug#10797).
587
49fe4321
GM
5882012-02-23 Glenn Morris <rgm@gnu.org>
589
590 * minibuffer.el (completion-category-overrides): Doc fix.
591
b291b572
SM
5922012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
593
594 * minibuffer.el (completion-table-with-context): Fix inf-loop.
595 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
596
31a9ef2e
GM
5972012-02-23 Glenn Morris <rgm@gnu.org>
598
5e6e6794 599 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
600 (authors-obsolete-files-regexps, authors-ignored-files)
601 (authors-ambiguous-files, authors-renamed-files-alist):
602 Add more entries.
603
0bd1e074
JL
6042012-02-23 Juri Linkov <juri@jurta.org>
605
606 * isearch.el (isearch-occur): Sync interactive spec with occur's
607 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
608
b617673c
JL
609 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
610
19e9789e
JL
6112012-02-22 Juri Linkov <juri@jurta.org>
612
613 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
614 (ucs-insert): Doc fix. Check for hex digits in the string.
615 Don't display `nil' in the error message. (Bug#10857)
616
f41ce09d
AM
6172012-02-22 Alan Mackenzie <acm@muc.de>
618
7a71b18d 619 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 620
ac2eceee
GM
6212012-02-22 Glenn Morris <rgm@gnu.org>
622
623 * ffap.el (ffap-c-path):
624 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
625
abd1f678
CY
6262012-02-22 Chong Yidong <cyd@gnu.org>
627
628 * custom.el (load-theme): Doc fix.
629
f25aef2e
GM
6302012-02-22 Glenn Morris <rgm@gnu.org>
631
632 * dired-x.el (dired-guess-shell-alist-default):
633 Remove escape sequences from nroff output. (Bug#172)
634
5f8dc2ca
GM
6352012-02-21 Glenn Morris <rgm@gnu.org>
636
6ff86ec4
GM
637 * vc/emerge.el (emerge-defvar-local):
638 Set `permanent-local' property rather than unused `preserved'.
639
be3223a3 640 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
641 (picture-mode-map): Use it. (Bug#10860)
642 (picture-mode): Doc fix.
643
3fe58f4f
JB
6442012-02-21 Juanma Barranquero <lekktu@gmail.com>
645
646 * newcomment.el (uncomment-region-default): Remove unused binding.
647
f9a998c3
GM
6482012-02-21 Glenn Morris <rgm@gnu.org>
649
650 * textmodes/picture.el (picture-motion, picture-motion-reverse)
651 (picture-self-insert, picture-tab-chars): Doc fix.
652 (picture-mode-map): Fix C-a, C-e.
653
c6029348
GM
6542012-02-20 Glenn Morris <rgm@gnu.org>
655
656 * emacs-lisp/authors.el (authors-aliases): Add another entry.
657
ab1ce9d7
LL
6582012-02-20 Leo Liu <sdl.web@gmail.com>
659
660 * icomplete.el (icomplete-completions): Check FROM arg before
661 passing to substring (Bug#10850).
662
0fd40f89
CY
6632012-02-19 Chong Yidong <cyd@gnu.org>
664
665 * comint.el: Require ansi-color.
666 (comint-output-filter-functions): Add ansi-color-process-output.
667
668 * ansi-color.el: Don't set comint-output-filter-functions; it is
669 now in the initial value defined in comint.el.
670 (ansi-color-apply-face-function): New variable.
671 (ansi-color-apply-on-region): Use it.
672 (ansi-color-apply-overlay-face): New function.
673
674 * shell.el (shell): No need to require ansi-color.
675 (shell-mode): Use ansi-color-apply-face-function to highlight
676 color escapes using font-lock-face property (Bug#10835).
677
20af2394
CY
6782012-02-19 Chong Yidong <cyd@gnu.org>
679
680 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
681 mode-line formats (Bug#10839).
682
e23a3fbe
GM
6832012-02-18 Glenn Morris <rgm@gnu.org>
684
b474519e
GM
685 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
686
687 * mail/undigest.el (unforward-rmail-message): Doc fix.
688
e23a3fbe
GM
689 * saveplace.el (save-place-ignore-files-regexp): Add :version.
690
57939ff4
EZ
6912012-02-18 Eli Zaretskii <eliz@gnu.org>
692
693 * international/characters.el (script-list): Sync with the latest
694 Unicode Character Database.
695
0c23686e
AS
6962012-02-18 Andreas Schwab <schwab@linux-m68k.org>
697
698 * international/titdic-cnv.el: Remove duplicate coding tag.
699 * language/cham.el: Likewise.
700 * language/tai-viet.el: Likewise.
701
6818b449
GM
7022012-02-18 Glenn Morris <rgm@gnu.org>
703
704 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
705 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
706 (calendar-bahai-all-holidays-flag, calendar-other-dates):
707 * calendar/diary-lib.el (diary-abbreviated-year-flag):
708 * calendar/holidays.el (holiday-bahai-holidays)
709 (calendar-holidays, list-holidays):
710 Use utf-8 Bahá'í in doc-strings, menus, etc.
711
0311a3fc
TH
7122012-02-17 Tassilo Horn <tassilo@member.fsf.org>
713
714 * saveplace.el (save-place-ignore-files-regexp): New variable
715 allowing for excluding files from saving their location of point.
716 The default value matches the temporary commit message editing
717 files from Git, SVN, Bazaar, and Mercurial.
718 (save-place-to-alist): Use it.
719
eb864a71
LM
7202012-02-17 Lawrence Mitchell <wence@gmx.li>
721 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * newcomment.el (uncomment-region-default): Don't leave extra space
724 when an arg is provided (bug#8150).
725
ee0ce425
TZ
7262012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
727
eb864a71 728 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 729
95ddf442
GM
7302012-02-17 Glenn Morris <rgm@gnu.org>
731
732 * net/socks.el: Require network-stream. (Bug#10599)
733
48dd1e39 7342012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
735
736 * international/charprop.el:
737 * international/uni-name.el:
738 * international/uni-old-name.el:
739 * international/uni-comment.el: Regenerate.
740
d68cd087
GM
7412012-02-16 Glenn Morris <rgm@gnu.org>
742
743 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
744 Interactively in calendar buffer, give an error if not on a date.
745
13932042
GM
7462012-02-15 Glenn Morris <rgm@gnu.org>
747
748 * shell.el (shell-delimiter-argument-list):
749 Revert 2011-02-17 change. (Bug#8027)
750
c3a70e2b
CY
7512012-02-15 Chong Yidong <cyd@gnu.org>
752
60236b0d
CY
753 * minibuffer.el (completion-at-point-functions): Doc fix.
754
c3a70e2b
CY
755 * custom.el (defcustom): Doc fix; note use of defvar.
756
9f26dc24
GM
7572012-02-15 Glenn Morris <rgm@gnu.org>
758
759 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
760 Doc fixes.
761
6546b134
GM
7622012-02-14 Glenn Morris <rgm@gnu.org>
763
764 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
765
d29b2b4c
LI
7662012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
767
768 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
769 way the ports list is computed.
835bdcba
LI
770 (smtpmail-query-smtp-server): Prompt the user for a port number if
771 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 772
08dcdbc9
TZ
7732012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
774
775 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
776
2605051a
GM
7772012-02-13 Glenn Morris <rgm@gnu.org>
778
779 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
780
7ee99f32
TZ
7812012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
782
783 * net/gnutls.el (gnutls-trustfiles): New variable.
784 (gnutls-negotiate): Use it.
785
5f0af64f
LI
7862012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
787
788 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
789 does its stuff if Gnus is running.
790
c14fcc95
AM
7912012-02-13 Alan Mackenzie <acm@muc.de>
792
793 Fix a loop in c-set-fl-decl-start.
794
7a71b18d 795 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
796 c-backward-syntactic-ws actually moves backwards.
797
142b4d90
LL
7982012-02-13 Leo Liu <sdl.web@gmail.com>
799
800 * net/rcirc.el (rcirc-markup-attributes): Move point to the
801 beginning so that all \C-o chars are removed.
802
fa9958a6
TZ
8032012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
804
805 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
806 tag.
807
0bc5886a
AM
8082012-02-12 Alan Mackenzie <acm@muc.de>
809
810 Fix infinite loop with long macros.
811 * cc-engine.el (c-state-safe-place): Handle macros properly.
812
d4bd55e7
CY
8132012-02-12 Chong Yidong <cyd@gnu.org>
814
815 * window.el (display-buffer): Doc fix (Bug#10785).
816
66f3fe22
GM
8172012-02-12 Glenn Morris <rgm@gnu.org>
818
bd7da63e
GM
819 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
820 (x-disown-selection-internal, x-get-selection-internal):
821 Sync docs with the xselect.c versions.
822
66f3fe22
GM
823 * allout-widgets.el: Add missing license notice.
824
3e0d2fa7
GM
8252012-02-11 Glenn Morris <rgm@gnu.org>
826
cfecdf09
GM
827 * select.el (x-get-selection-internal, x-own-selection-internal)
828 (x-disown-selection-internal):
829 * x-dnd.el (x-get-selection-internal): Update declarations.
830
6d216d7f
GM
831 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
832
2bed3f04
GM
833 * window.el (window-sides-slots):
834 * tool-bar.el (tool-bar-position):
835 * term/xterm.el (xterm-extra-capabilities):
836 * ses.el (ses-self-reference-early-detection):
837 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
838 (verilog-auto-wire-type)
839 (verilog-auto-delete-trailing-whitespace)
840 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
841 (verilog-auto-tieoff-declaration):
842 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
843 (sql-oracle-statement-starters, sql-oracle-scan-on):
844 * progmodes/prolog.el (prolog-align-comments-flag)
845 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
846 (prolog-left-indent-regexp, prolog-paren-indent-p)
847 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
848 (prolog-types, prolog-mode-specificators)
849 (prolog-determinism-specificators, prolog-directives)
850 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
851 (prolog-electric-dot-flag)
852 (prolog-electric-dot-full-predicate-template)
853 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
854 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
855 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
856 (prolog-program-switches, prolog-prompt-regexp)
857 (prolog-debug-on-string, prolog-debug-off-string)
858 (prolog-trace-on-string, prolog-trace-off-string)
859 (prolog-zip-on-string, prolog-zip-off-string)
860 (prolog-use-standard-consult-compile-method-flag)
861 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
862 (prolog-imenu-max-lines, prolog-info-predicate-index)
863 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
864 (prolog-char-quote-workaround):
865 * progmodes/cc-vars.el (c-defun-tactic):
866 * net/tramp.el (tramp-encoding-command-interactive)
867 (tramp-local-end-of-line):
868 * net/soap-client.el (soap-client):
869 * net/netrc.el (netrc-file):
870 * net/gnutls.el (gnutls):
871 * minibuffer.el (completion-category-overrides)
872 (completion-cycle-threshold)
873 (completion-pcm-complete-word-inserts-delimiters):
874 * man.el (Man-name-local-regexp):
875 * mail/feedmail.el (feedmail-display-full-frame):
876 * international/characters.el (glyphless-char-display-control):
877 * eshell/em-ls.el (eshell-ls-date-format):
878 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
879 (lisp-lambda-list-keyword-parameter-indentation)
880 (lisp-lambda-list-keyword-parameter-alignment):
881 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
882 * dired-x.el (dired-omit-verbose):
883 * cus-theme.el (custom-theme-allow-multiple-selections):
884 * calc/calc.el (calc-highlight-selections-with-faces)
885 (calc-lu-field-reference, calc-lu-power-reference)
886 (calc-note-threshold):
887 * battery.el (battery-mode-line-limit):
888 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
889 (archive-7z-update):
890 * allout.el (allout-prefixed-keybindings)
891 (allout-unprefixed-keybindings)
892 (allout-inhibit-auto-fill-on-headline)
893 (allout-flattened-numbering-abbreviation):
894 * allout-widgets.el (allout-widgets-auto-activation)
895 (allout-widgets-icons-dark-subdir)
896 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
897 (allout-widgets-theme-dark-background)
898 (allout-widgets-theme-light-background)
899 (allout-widgets-item-image-properties-emacs)
900 (allout-widgets-item-image-properties-xemacs)
901 (allout-widgets-run-unit-tests-on-load)
902 (allout-widgets-time-decoration-activity)
903 (allout-widgets-hook-error-post-time)
904 (allout-widgets-track-decoration):
905 Add missing :version tags to new defcustoms and defgroups.
906
5fec1b8e
GM
907 * progmodes/sql.el (sql-ansi-statement-starters)
908 (sql-oracle-statement-starters): Add custom type.
909
3e0d2fa7
GM
910 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
911 (prolog-system-version): Give it a type.
912
90b671e2
EZ
9132012-02-11 Eli Zaretskii <eliz@gnu.org>
914
915 * term/pc-win.el (x-select-text, x-selection-owner-p)
916 (x-own-selection-internal, x-disown-selection-internal)
917 (x-get-selection-internal): Sync doc strings and argument lists
918 with xselect.c, common-win.el and x-win.el. (Bug#10783)
919
5eac0c02
LL
9202012-02-11 Leo Liu <sdl.web@gmail.com>
921
922 * progmodes/python.el (python-end-of-statement): Fix infinite
923 loop. (Bug#10788)
924
f82cb659
GM
9252012-02-10 Glenn Morris <rgm@gnu.org>
926
927 * international/mule-cmds.el (unify-8859-on-encoding-mode)
928 (unify-8859-on-decoding-mode): Properly mark as obsolete.
929
cc26d239
LI
9302012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
931
932 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
933 about SMTP before checking the From header.
934
91027d08 935 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
936 into own function for reuse by emacsbug.el.
937
1be3ca5a
LL
9382012-02-10 Leo Liu <sdl.web@gmail.com>
939
940 * subr.el (condition-case-unless-debug): Rename from
941 condition-case-no-debug. All callers changed.
942 (with-demoted-errors): Fix caller.
943
944 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
945 * nxml/rng-valid.el (rng-do-some-validation):
946 * emacs-lisp/package.el (package-refresh-contents)
947 (package-menu-execute):
948 * desktop.el (desktop-create-buffer):
91027d08 949 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 950
b011fbfe
GM
9512012-02-10 Glenn Morris <rgm@gnu.org>
952
b2096d72
GM
953 * textmodes/bibtex.el:
954 Add missing :version tags for new/changed defcustoms.
955
b011fbfe
GM
956 * files.el (remote-file-name-inhibit-cache): Doc fixes.
957
4c7e65bf
LI
9582012-02-09 Lars Ingebrigtsen <larsi@rusty>
959
960 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
961 (smtpmail-via-smtp): Use it, or fall back on the From address.
962 (smtpmail-send-it): Ditto.
963
f3934f6f
SM
9642012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
967 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
968 (byte-compile-tmp-var): New const.
969 (byte-compile-defvar): Use it to minimize .elc size.
970 Just use `defvar' rather than simulate it (bug#10761).
971
a075a2c5
GM
9722012-02-09 Glenn Morris <rgm@gnu.org>
973
cf3aa21b
GM
974 * files.el (rename-uniquely): Doc fix. (Bug#3806)
975
354998cd
GM
976 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
977 Add :version tags.
978
83274125 979 * progmodes/compile.el (compilation-first-column)
34c071c6 980 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
83274125 981
dab3703d
GM
982 * vc/log-view.el (log-view-toggle-entry-display):
983 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
984
3f88cd72
GM
985 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
986 (report-emacs-bug-can-use-xdg-email):
987 (report-emacs-bug-insert-to-mailer): Doc fixes.
988 (report-emacs-bug): Message fix.
989
d95b247d
GM
990 * net/browse-url.el (browse-url-can-use-xdg-open)
991 (browse-url-xdg-open): Doc fixes.
992
a075a2c5
GM
993 * electric.el (electric-indent-mode, electric-pair-mode)
994 (electric-layout-rules, electric-layout-mode): Doc fixes.
995 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
996
ffb6157e
MR
9972012-02-08 Martin Rudalics <rudalics@gmx.at>
998
999 * server.el (server-unselect-display): Don't inadvertently kill
1000 the current buffer. (Bug#10729)
1001
e1ac4066
GM
10022012-02-08 Glenn Morris <rgm@gnu.org>
1003
34e8a2da
GM
1004 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1005 (sql-list-table): Doc fixes.
1006
b4ac6e8c
GM
1007 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1008 Comment out (does nothing).
1009
e1ac4066
GM
1010 * completion.el (dynamic-completion-mode):
1011 * dirtrack.el (dirtrack-debug-mode):
1012 * electric.el (electric-layout-mode):
1013 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1014 * face-remap.el (text-scale-mode, buffer-face-mode):
1015 * iimage.el (iimage-mode):
1016 * image-mode.el (image-transform-mode):
1017 * minibuffer.el (completion-in-region-mode):
1018 * scroll-lock.el (scroll-lock-mode):
1019 * simple.el (next-error-follow-minor-mode):
1020 * tar-mode.el (tar-subfile-mode):
1021 * tooltip.el (tooltip-mode):
1022 * vcursor.el (vcursor-use-vcursor-map):
1023 * wid-browse.el (widget-minor-mode):
1024 * emulation/tpu-edt.el (tpu-edt-mode):
1025 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1026 * international/iso-ascii.el (iso-ascii-mode):
1027 * language/thai-util.el (thai-word-mode):
1028 * mail/supercite.el (sc-minor-mode):
1029 * net/goto-addr.el (goto-address-mode):
1030 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1031 * progmodes/cwarn.el (cwarn-mode):
1032 * progmodes/flymake.el (flymake-mode):
1033 * progmodes/glasses.el (glasses-mode):
1034 * progmodes/hideshow.el (hs-minor-mode):
1035 * progmodes/pascal.el (pascal-outline-mode):
1036 * textmodes/enriched.el (enriched-mode):
1037 * vc/smerge-mode.el (smerge-mode):
1038 Doc fixes (minor mode argument).
1039
5e0d957f
EZ
10402012-02-07 Eli Zaretskii <eliz@gnu.org>
1041
1042 * ls-lisp.el (ls-lisp-sanitize): New function.
1043 (ls-lisp-insert-directory): Use it to fix or remove any elements
1044 in file-alist with missing attributes. (Bug#4673)
1045
98d7371e
AM
10462012-02-07 Alan Mackenzie <acm@muc.de>
1047
1048 Fix spurious recognition of c-in-knr-argdecl.
1049
1050 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1051 putative K&R region.
1052
667ced3a
AM
10532012-02-07 Alan Mackenzie <acm@muc.de>
1054
eb864a71
LM
1055 * progmodes/cc-engine.el (c-forward-objc-directive):
1056 Prevent looping in "#pragma mark @implementation".
667ced3a 1057
5b77774d
MA
10582012-02-07 Michael Albinus <michael.albinus@gmx.de>
1059
1060 * notifications.el (notifications-on-closed-signal): Make `reason'
1061 optional. (Bug#10744)
1062
af008560
GM
10632012-02-07 Glenn Morris <rgm@gnu.org>
1064
60d47423
GM
1065 * emacs-lisp/easy-mmode.el (define-minor-mode):
1066 Doc fixes for the macro and the mode it defines.
1067
dd605cc4
GM
1068 * image.el (imagemagick-types-inhibit): Doc fix.
1069
af008560
GM
1070 * cus-start.el (imagemagick-render-type): Add it.
1071
5cc59a37
LI
10722012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1073
1074 * progmodes/cc-mode.el
1075 (c-standard-font-lock-fontify-region-function): Set the default at
1076 load time, too, so that `font-lock-fontify-buffer' can be called
1077 without setting up the entire mode first. This fixes a bug in
1078 `mm-inline-text' with C MIME parts.
1079
9a6dd747
CY
10802012-02-06 Chong Yidong <cyd@gnu.org>
1081
2d16b285
CY
1082 * simple.el (list-processes--refresh): Delete exited processes
1083 (Bug#8094).
1084
171e9b6e
CY
1085 * comint.el (comint-next-prompt): next-single-char-property-change
1086 and prev-single-char-property-change never return nil (Bug#8657).
1087
9a6dd747
CY
1088 * custom.el (defcustom): Doc fix (Bug#9711).
1089
aa4589a7
CY
10902012-02-05 Chong Yidong <cyd@gnu.org>
1091
5c2a252f
CY
1092 * cus-edit.el (custom-variable-reset-backup): Quote the value
1093 before storing it in the customized-value property (Bug#6712).
4aab9006 1094 (custom-display): Add a customization type tag.
983b9602 1095 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1096
aa4589a7
CY
1097 * wid-edit.el (widget-field-value-get): New optional arg to
1098 suppress trailing whitespace truncation.
1099 (character): Use it (Bug#2689).
1100
1ff980ae
AS
11012012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1102
1103 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1104 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1105
03988c98
CY
11062012-02-05 Chong Yidong <cyd@gnu.org>
1107
eeb6cc88
CY
1108 * cus-edit.el (custom-variable-value-create): For mismatched
1109 types, show the current value (Bug#7600).
1110
03988c98
CY
1111 * custom.el (defcustom): Doc fix.
1112
f8cdeef0
GM
11132012-02-05 Glenn Morris <rgm@gnu.org>
1114
1115 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1116
0696d255
JB
11172012-02-05 Juanma Barranquero <lekktu@gmail.com>
1118
1119 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1120 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1121 (pp-last-sexp): Use `looking-at-p'.
1122
34c99998
GM
11232012-02-04 Glenn Morris <rgm@gnu.org>
1124
8f05da42
GM
1125 * files.el (revert-buffer):
1126 Doc fix (mention revert-buffer-in-progress-p).
1127
f160676e
GM
1128 * emacs-lisp/ert-x.el (ert-simulate-command):
1129 Check deferred-action-list (which is obsolete) is bound.
1130
c7291ad9
GM
1131 * subr.el (with-wrapper-hook): Doc fixes.
1132
34c99998
GM
1133 * simple.el (filter-buffer-substring-functions)
1134 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1135
6283a7d3
LL
11362012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1137
1138 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1139 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1140
e96e3013
LL
11412012-02-04 Leo Liu <sdl.web@gmail.com>
1142
1143 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1144
8ded50f2
GM
11452012-02-04 Glenn Morris <rgm@gnu.org>
1146
82ff1d13
GM
1147 * image.el (image-extension-data): Add obsolete alias.
1148
987a0a16
GM
1149 * isearch.el (isearch-update): Doc fix.
1150
ea32ef46
GM
1151 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1152
8ded50f2
GM
1153 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1154
eea14f31
GM
11552012-02-03 Glenn Morris <rgm@gnu.org>
1156
1157 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1158 (image-animate-timeout): Doc fix.
1159
1160 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1161
12f381b7
GM
11622012-02-02 Glenn Morris <rgm@gnu.org>
1163
953cebf5
GM
1164 * server.el (server-auth-dir): Doc fix.
1165 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1166
12f381b7
GM
1167 * subr.el (run-mode-hooks): Doc fix.
1168
953a8c3b
JL
11692012-02-02 Juri Linkov <juri@jurta.org>
1170
1171 * image-mode.el (image-toggle-display-image): Remove tautological
1172 `major-mode' from the `derived-mode-p' test.
1173
c5d3843c
KH
11742012-02-02 Kenichi Handa <handa@m17n.org>
1175
9f6e692e 1176 * composite.el (compose-region): Cancel previous change.
c5d3843c 1177
159462d4 11782012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1179
1180 * composite.el (compose-region, compose-string): Signal error for
1181 a null string component (Bug#6988).
1182
9f562668
CY
11832012-02-01 Chong Yidong <cyd@gnu.org>
1184
e2cef717
CY
1185 * view.el (view-buffer-other-window, view-buffer-other-frame):
1186 Handle special modes like view-buffer (Bug#10650).
1187 (view-buffer): Simplify.
1188
9f562668
CY
1189 * frame.el (set-frame-font): Tweak meaning of third argument.
1190
9f6e692e
JB
1191 * dynamic-setting.el (font-setting-change-default-font):
1192 Use set-frame-font (Bug#9982).
9f562668 1193
781acb9f
GM
11942012-02-01 Glenn Morris <rgm@gnu.org>
1195
6035be52
GM
1196 * progmodes/compile.el (compilation-internal-error-properties):
1197 Respect compilation-first-column in the "*compilation*" buffer.
1198
781acb9f
GM
1199 * emacs-lisp/easy-mmode.el (define-minor-mode):
1200 Relax :variable's test for a named function.
1201
abbceb00
AM
12022012-01-31 Alan Mackenzie <acm@muc.de>
1203
1204 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1205 off by one error.
1206
fce3fdeb
CY
12072012-01-31 Chong Yidong <cyd@gnu.org>
1208
1209 * frame.el (set-frame-font): New arg ALL-FRAMES.
1210
1211 * menu-bar.el (menu-set-font): Use set-frame-font.
1212
1213 * faces.el (face-spec-reset-face): Don't apply unspecified
1214 attribute values to the default face.
1215
47893581
JB
12162012-01-31 Juanma Barranquero <lekktu@gmail.com>
1217
1218 * progmodes/cwarn.el (cwarn): Remove dead link.
1219 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1220 Remove * from defcustom docstrings.
1221 (turn-on-cwarn-mode): Make obsolete.
1222 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1223 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1224
e58e988a
GM
12252012-01-31 Glenn Morris <rgm@gnu.org>
1226
60dc2671 1227 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1228 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1229 Allow named functions to be used as the cdr of :variable.
e58e988a 1230
7a3f511d
GM
12312012-01-30 Glenn Morris <rgm@gnu.org>
1232
1233 * emacs-lisp/authors.el (authors-fixed-entries):
1234 Remove reference to deleted file rnewspost.el.
1235
cb882333
JB
12362012-01-29 Juanma Barranquero <lekktu@gmail.com>
1237
1238 * window.el (window-with-parameter): Remove unused variable `windows'.
1239 (window--side-check): Remove unused variable `code'.
1240 (window--resize-siblings): Remove unused variable `first'.
1241 (adjust-window-trailing-edge): Remove unused variable `failed'.
1242 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1243 Use `let', not `let*'.
1244 (balance-windows-2): Remove unused variable `found'.
1245 (window--state-put-2): Remove unused variable `splits'.
1246 (window-state-put): Remove unused variable `selected'.
1247 (same-window-p): Use `string-match-p'.
1248 (display-buffer-assq-regexp): Remove unused variable `value'.
1249 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1250 Mark argument ALIST as ignored.
1251 (pop-to-buffer): Remove unused variable `old-window'.
1252
907201af
EZ
12532012-01-29 Eli Zaretskii <eliz@gnu.org>
1254
1255 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1256 and .lzma compressed files.
1257
ea162670
CY
12582012-01-29 Chong Yidong <cyd@gnu.org>
1259
5b95ee8a
CY
1260 * frame.el (window-system-default-frame-alist): Doc fix.
1261
ea162670
CY
1262 * dynamic-setting.el (font-setting-change-default-font): Don't
1263 change the default face if SET-FONT argument is non-nil (Bug#9982).
1264
d6e6f4b1
SB
12652012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1266
1267 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1268
0f29fa41 12692012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1270
1271 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1272 breakpoints in files outside current directory (Bug#6098).
1273
db174434
CY
12742012-01-29 Chong Yidong <cyd@gnu.org>
1275
6b25e4e2
SE
1276 * progmodes/python.el: Require ansi-color at top-level.
1277
6df6ae42
JB
1278 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1279 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1280 (lisp-mode-abbrev-table): Add doc.
1281 (lisp-mode-variables): Don't set local-abbrev-table.
1282 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1283
e70ee681
RW
12842012-01-28 Roland Winkler <winkler@gnu.org>
1285
1286 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1287
ace88aa2
RW
12882012-01-28 Roland Winkler <winkler@gnu.org>
1289
1290 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1291 (bibtex-set-dialect): Use it. Either set global values of
1292 dialect-dependent variables or bind these variables buffer-locally
1293 (Bug#10254).
1294 (bibtex-mode): Call bibtex-set-dialect via
1295 hack-local-variables-hook.
eb864a71
LM
1296 (bibtex-dialect): Update docstring.
1297 Add safe-local-variable predicate.
ace88aa2
RW
1298 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1299 bibtex-set-dialect.
1300 (bibtex-mode-map): Define menu for each dialect.
1301 (bibtex-entry): Fix docstring.
1302
93376c5b
CY
13032012-01-28 Chong Yidong <cyd@gnu.org>
1304
1305 * eshell/esh-arg.el (eshell-quote-argument): New function.
1306
1307 * eshell/esh-ext.el (eshell-invoke-batch-file):
1308 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1309 first arg to eshell-parse-command (Bug#10523).
1310
4372494f
DA
13112012-01-28 Drew Adams <drew.adams@oracle.com>
1312
1313 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1314 `default-directory' is non-nil.
1315
4d4ec1f8
EZ
13162012-01-28 Eli Zaretskii <eliz@gnu.org>
1317
1318 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1319 line that displays system-configuration-options. (Bug#9924)
1320
7c188927
DA
13212012-01-28 Drew Adams <drew.adams@oracle.com>
1322
1323 * descr-text.el (describe-char): Show information about POS, in
1324 addition to information about the character at POS. Improve and
1325 update the doc string. Change "code point" to "code point in
1326 charset", to avoid confusion with the character's Unicode code
1327 point shown above that. (Bug#10129)
1328
e0da685a
EZ
13292012-01-28 Eli Zaretskii <eliz@gnu.org>
1330
1331 * descr-text.el (describe-char): Show the raw character, not only
1332 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1333 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1334 for the reasons.
1335
70550acf
PH
13362012-01-28 Phil Hagelberg <phil@hagelb.org>
1337
eb864a71
LM
1338 * emacs-lisp/package.el (package-install):
1339 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1340
0ce8e868
CY
13412012-01-28 Chong Yidong <cyd@gnu.org>
1342
cb882333
JB
1343 * emacs-lisp/package.el (package-maybe-load-descriptor):
1344 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1345 (package-maybe-load-descriptor): Use it.
1346 (package-download-transaction): Fully load required packages
1347 inside the loop, so that `require' calls work (Bug#10593).
1348 (package-install): No need to call package-initialize now.
1349
2e7f3bea
CY
13502012-01-28 Chong Yidong <cyd@gnu.org>
1351
6e9bad14
CY
1352 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1353
f823b8ca
CY
1354 * tooltip.el (tooltip-mode): Doc fix.
1355 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1356
2680c309
CY
1357 * frame.el (set-cursor-color): Doc fix (Bug#352).
1358
d7a9e63b
CY
1359 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1360 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1361
2e7f3bea
CY
1362 * cus-edit.el (custom-buffer-create-internal): Fix search button
1363 action (Bug#10542).
2ae01800 1364 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1365
fc4f7a23
EW
13662012-01-27 Eduard Wiebe <usenet@pusto.de>
1367
1368 * dired.el (dired-mark-files-regexp):
1369 Include any subdirectory components. (Bug#10445)
1370
7dd37071
ML
13712012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1372
1373 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1374 Handle [host]:port syntax. (Bug#10533)
1375
a268160b
AH
13762012-01-27 Alex Harsanyi <harsanyi@mac.com>
1377
1378 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1379
e43273ef
GM
13802012-01-26 Glenn Morris <rgm@gnu.org>
1381
1382 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1383 * term.el (term-raw-escape-map): Use Control-X-prefix.
1384 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1385
1edf595d
MR
13862012-01-25 Martin Rudalics <rudalics@gmx.at>
1387
1388 * window.el (window-state-get, window--state-get-1): Don't deal
1389 with fixed-sizeness of windows. Simplify code.
1390
fa8eafef
JC
13912012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1392
6df6ae42
JB
1393 * window.el (window--state-get-1, window--state-put-2):
1394 Don't save and restore the mark.
fa8eafef 1395
0b21c100
CY
13962012-01-25 Chong Yidong <cyd@gnu.org>
1397
1398 * custom.el (custom-variable-p): Doc fix.
1399
5ae1a6c8
GM
14002012-01-25 Glenn Morris <rgm@gnu.org>
1401
40047858
GM
1402 * dired.el (dired-goto-file): Handle some of the more common
1403 characters that `ls -b' escapes. (Bug#10596)
1404
5ddce96c
GM
1405 * progmodes/compile.el (compilation-next-error-function):
1406 Respect compilation-first-column in the "*compilation*" buffer.
1407 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1408
5ae1a6c8
GM
1409 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1410
b559f1a9
GM
14112012-01-24 Glenn Morris <rgm@gnu.org>
1412
1413 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1414
6725d21a
JD
14152012-01-24 Julien Danjou <julien@danjou.info>
1416
1417 * color.el (color-rgb-to-hsl): Fix value computing.
1418 (color-hue-to-rgb): New function.
1419 (color-hsl-to-rgb): New function.
1420 (color-clamp, color-saturate-hsl, color-saturate-name)
1421 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1422 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1423
70df4bbe
GM
14242012-01-24 Glenn Morris <rgm@gnu.org>
1425
1426 * vc/vc-rcs.el (vc-rcs-create-tag):
1427 * vc/vc-sccs.el (vc-sccs-create-tag):
1428 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1429
802a2ae2
ML
14302012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1431
1432 * eshell/esh-util.el (eshell-read-hosts-file):
1433 Skip comment lines. (Bug#10549)
1434
d7128bb1
ML
1435 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1436
d1a5c3b4
JB
14372012-01-23 Juanma Barranquero <lekktu@gmail.com>
1438
2724d9c7
JB
1439 * subr.el (display-delayed-warnings): Doc fix.
1440 (collapse-delayed-warnings): New function to collapse identical
1441 adjacent warnings.
1442 (delayed-warnings-hook): Add it.
d1a5c3b4 1443
a5509865
MA
14442012-01-22 Michael Albinus <michael.albinus@gmx.de>
1445
1446 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1447
1448 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1449 properties, when "login-as" is set.
1450
1451 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1452 (tramp-default-user-alist): Don't add "pscp".
1453 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1454 property "login-as", if set. (Bug#10530)
1455
cc6d5805
MA
14562012-01-21 Michael Albinus <michael.albinus@gmx.de>
1457
1458 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1459 "plink1" and "psftp". (Bug#10530)
1460
14612012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1462
1463 * international/mule-cmds.el (prefer-coding-system): Show a
1464 warning message if the default value of file-name-coding-system
1465 was not changed.
1466
f0960428
JC
14672012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1468
cb882333
JB
1469 * windmove.el (windmove-reference-loc):
1470 Fix windmove-reference-loc miscalculation.
f0960428 1471
dd6f2a63
JB
14722012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1473
1474 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1475 default unit.
1476
7b447e9b
GM
14772012-01-21 Glenn Morris <rgm@gnu.org>
1478
117a9ea1
GM
1479 * international/mule.el (auto-coding-alist): Add .tbz.
1480
7b447e9b
GM
1481 * files.el (local-enable-local-variables): Doc fix.
1482 (inhibit-local-variables-regexps): Rename from
1483 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1484 Doc fix. Add some extensions from auto-coding-alist.
1485 (inhibit-local-variables-suffixes):
1486 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1487 (inhibit-local-variables-p):
1488 New function, extracted from set-auto-mode-1.
1489 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1490 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1491 (hack-local-variables): Doc fix. Make the mode-only case
1492 respect enable-local-variables and friends.
1493 Respect inhibit-local-variables-regexps for file-locals, but
1494 not for directory-locals.
1495 (set-visited-file-name):
1496 Take account of inhibit-local-variables-regexps.
1497 Whether it applies may change as the file name is changed.
1498 * jka-cmpr-hook.el (jka-compr-install):
1499 * jka-compr.el (jka-compr-uninstall):
1500 Update for inhibit-first-line-modes-suffixes name change.
1501
dd6e3cdd
MR
15022012-01-20 Martin Rudalics <rudalics@gmx.at>
1503
1504 * help-macro.el (make-help-screen): Temporarily restore original
1505 binding for minor-mode-map-alist (Bug#10454).
1506
0d0deb38
JD
15072012-01-19 Julien Danjou <julien@danjou.info>
1508
1509 * color.el (color-name-to-rgb): Use the white color to find the max
1510 color component value and return correctly computed values.
1511 (color-name-to-rgb): Add missing float conversion for max value.
1512
34a02f46
MR
15132012-01-19 Martin Rudalics <rudalics@gmx.at>
1514
1515 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1516 special state value for window-persistent-parameters.
1517 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1518 (window--state-put-2): Reset all window parameters to nil before
1519 assigning values of persistent parameters.
1520
606c44c4
AM
15212012-01-18 Alan Mackenzie <acm@muc.de>
1522
1523 Eliminate sluggishness and hangs in fontification of "semicolon
1524 deserts".
1525
cb882333
JB
1526 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1527 Change value 10000 -> 3000.
606c44c4
AM
1528 (c-state-safe-place): Reformulate so it doesn't stack up an
1529 infinite number of wrong entries in c-state-nonlit-pos-cache.
1530 (c-determine-limit-get-base, c-determine-limit): New functions to
1531 determine backward search limits disregarding literals.
1532 (c-find-decl-spots): Amend commenting.
1533 (c-cheap-inside-bracelist-p): New function which detects "={".
1534
1535 * progmodes/cc-fonts.el
1536 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1537 backward search.
1538 (c-font-lock-declarations): Fix an occurrence of point being
1539 undefined. Check additionally for point being in a bracelist or
1540 near a macro invocation without a semicolon so as to avoid a
1541 fruitless time consuming search for a declarator. Give a more
1542 precise search limit for declarators using the new
1543 c-determine-limit.
1544
f3860cea
GM
15452012-01-18 Glenn Morris <rgm@gnu.org>
1546
1547 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1548 (set-auto-mode): Doc fixes.
1549
1db03b16
GM
15502012-01-17 Glenn Morris <rgm@gnu.org>
1551
0e6038be
GM
1552 * isearch.el (search-nonincremental-instead): Fix doc typo.
1553
1db03b16
GM
1554 * dired.el (dired-insert-directory): Handle newlines in directory name.
1555 (dired-build-subdir-alist): Unescape newlines in directory name.
1556
4cb0aa75
MA
15572012-01-17 Michael Albinus <michael.albinus@gmx.de>
1558
1559 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1560 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1561 (tramp-action-terminal): Use it. (Bug#10530)
1562
1d00653d
SM
15632012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1564
1565 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1566
6a6ee00d
MR
15672012-01-16 Martin Rudalics <rudalics@gmx.at>
1568
1569 * window.el (window-state-ignored-parameters): Remove variable.
1570 (window--state-get-1): Rename argument MARKERS to IGNORE.
1571 Handle persistent window parameters. Make copy of clone-of
1572 parameter only if requested. (Bug#10348)
1573 (window--state-put-2): Install a window parameter only if it has
1574 a non-nil value or an existing parameter shall be overwritten.
1575
97912def
MA
15762012-01-15 Michael Albinus <michael.albinus@gmx.de>
1577
1578 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1579
688070a5
EZ
15802012-01-14 Eli Zaretskii <eliz@gnu.org>
1581
1582 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1583 don't pass the (nil) value of `upnode' to string-match.
1584
301afadc
CY
15852012-01-14 Chong Yidong <cyd@gnu.org>
1586
1587 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1588 Fix values recognized by the cursorBlink resource.
301afadc 1589
9e5788aa
PE
15902012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1591
1592 * epg.el (epg--make-temp-file): Avoid permission race condition
1593 when running on old Emacs versions (bug#10403).
1594
3cdb7f5a
GM
15952012-01-14 Glenn Morris <rgm@gnu.org>
1596
1597 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1598
8c82b1b4
AM
15992012-01-13 Alan Mackenzie <acm@muc.de>
1600
1601 Fix filling for when filladapt mode is enabled.
1602
1603 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1604 c-mask-paragraph, pass in `fill-paragraph' rather than
1605 `fill-region-as-paragraph'. (This is a reversion of a previous
1606 change.)
eb864a71
LM
1607 * progmodes/cc-mode.el (c-basic-common-init):
1608 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1609
e517eda4
GM
16102012-01-13 Glenn Morris <rgm@gnu.org>
1611
1498536e
GM
1612 * dired.el (dired-switches-escape-p): New function.
1613 (dired-insert-directory): Use dired-switches-escape-p.
1614 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1615
e517eda4
GM
1616 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1617
328f984d
GM
16182012-01-12 Glenn Morris <rgm@gnu.org>
1619
1620 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1621 changes in adaptive-fill-regexp. (Bug#10276)
1622
2cc769a8
AM
16232012-01-11 Alan Mackenzie <acm@muc.de>
1624
1625 Fix Emacs bug #10463 - put `widen's around the critical spots.
1626
1d00653d 1627 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1628 widen around each invocation of c-state-pp-to-literal. Remove an
1629 unused let variable.
1630
e52c37fa
GM
16312012-01-11 Glenn Morris <rgm@gnu.org>
1632
1633 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1634 Doc fix.
e52c37fa 1635
96f8741e
CY
16362012-01-10 Chong Yidong <cyd@gnu.org>
1637
1d00653d
SM
1638 * net/network-stream.el (network-stream-open-starttls):
1639 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1640 response to the capability command.
1641
b09a806e
GM
16422012-01-10 Glenn Morris <rgm@gnu.org>
1643
1644 * mail/unrmail.el (unrmail): Tweak previous change.
1645
7655cb66
CY
16462012-01-09 Chong Yidong <cyd@gnu.org>
1647
1648 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1649
9d5a8f0b
AM
16502012-01-08 Alan Mackenzie <acm@muc.de>
1651
1652 Optimise font locking in long enum definitions.
1653
1654 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1655 arm to a cond form to handle enums.
1656 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1657 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1658
9a0115ab 16592012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1660
1661 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1662 (Bug#10401)
6bb72cbd 1663
f186bb95
LMI
16642012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1665
29232a68
LMI
1666 * faces.el (set-face-attribute): Clarify the meaning of the nil
1667 frame (bug#10294).
1668
4e5d086d
LMI
1669 * subr.el (with-selected-frame): Mention that the selected frame
1670 is restored (bug#9980).
1671
8e66aebe
LMI
1672 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1673 (bug#9759).
1674
cd394be1 1675 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1676 (password-read): Don't autoload unused function.
1677
adf4e762
JB
16782012-01-07 Juanma Barranquero <lekktu@gmail.com>
1679
1680 * progmodes/which-func.el (which-func-mode): Turn into a
1681 non-interactive function and mark as obsolete (bug#10428).
1682
89bd9ccd
CY
16832012-01-06 Chong Yidong <cyd@gnu.org>
1684
1685 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1686 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1687 functions, along with 1 and -1.
1688
4afee9d5
EZ
16892012-01-06 Eli Zaretskii <eliz@gnu.org>
1690
1691 * time.el (display-time-load-average)
1692 (display-time-default-load-average): Doc fixes. See the thread
1693 starting at
1694 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1695 for the details.
1696
536aea70
GM
16972012-01-06 Glenn Morris <rgm@gnu.org>
1698
665ae865
GM
1699 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1700 has no messages. (Bug#10377)
1701
c869783d
GM
1702 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1703 than Info-edit. (Bug#10385)
1704
2bb4227e
GM
1705 * time.el (display-time-load-average, display-time-next-load-average):
1706 Doc fixes.
1707
7d5944b9
GM
1708 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1709 local setting of buffer-read-only to the input buffer. (Bug#10419)
1710
536aea70
GM
1711 * calendar/calendar.el (calendar-mode):
1712 Locally set scroll-margin to 0. (Bug#10379)
1713
7dccca16
UM
17142012-01-06 Ulrich Mueller <ulm@gentoo.org>
1715
1716 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1717
afbb7930
GM
17182012-01-05 Glenn Morris <rgm@gnu.org>
1719
1720 * eshell/em-unix.el (diff-no-select): Autoload it.
1721 (eshell/diff): Use diff-no-select. (Bug#10420)
1722
04482335
CY
17232012-01-05 Chong Yidong <cyd@gnu.org>
1724
7baca3bc
CY
1725 * shell.el (shell-dynamic-complete-functions): Revert last change.
1726 (shell-command-completion-function): New function.
1727 (shell-completion-vars): Use it to implement
1728 shell-completion-execonly (Bug#10417).
1729
04482335
CY
1730 * custom.el (enable-theme): Don't set custom-safe-themes.
1731
1d00653d
SM
1732 * cus-theme.el (custom-theme-merge-theme):
1733 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1734
bb5aa5d6
MM
17352012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1736
1737 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1738 first prompt in `sql-interacive-mode'.
1739 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1740 keywords.
6df6ae42 1741 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1742 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1743 context of original buffer. Invoke `sql-login-hook'.
1744
a7183d7c
EZ
17452012-01-04 Eli Zaretskii <eliz@gnu.org>
1746
1747 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1748 letters in cite-prefix.
1749
a1eacd1e
LMI
17502012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1751
1752 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1753
787cdb34
CY
17542012-01-03 Chong Yidong <cyd@gnu.org>
1755
1d00653d
SM
1756 * shell.el (shell-dynamic-complete-functions):
1757 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1758 comint-filename-completion first (Bug#10417).
1759
30710442
RS
17602012-01-02 Richard Stallman <rms@gnu.org>
1761
1762 * battery.el (battery-status-function):
1763 Detect when to use battery-yeeloong-sysfs.
1764 (battery-echo-area-format): Add string for Yeeloong.
1765 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1766 (battery-yeeloong-sysfs): New function.
1767
f75bfc33
CY
17682012-01-02 Chong Yidong <cyd@gnu.org>
1769
1770 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1771 (dirtrack): Merge code for handling relative filenames in prompt
1772 from shell-dir-cookie-watcher.
1773 (dirtrack-debug-message): New arg to avoid excess format calls.
1774
1775 * shell.el (shell-dir-cookie-re): Variable deleted.
1776 (shell-dir-cookie-watcher): Function deleted.
1777 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1778 with dirtrack-mode.
1779
651e947e
EZ
17802012-01-01 Eli Zaretskii <eliz@gnu.org>
1781
1d00653d
SM
1782 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1783 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1784 libgnutls-26.dll.
1785
94d4c7dc
AS
17862011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1787
1788 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1789
8d43f3cd
EZ
17902011-12-31 Eli Zaretskii <eliz@gnu.org>
1791
1792 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1793 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1794
98c8795a
MA
17952011-12-29 Michael Albinus <michael.albinus@gmx.de>
1796
1797 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1798 also for alternative shells.
1799 (tramp-open-connection-setup-interactive-shell): Check, whether
1800 the shell is a busybox.
1801 (tramp-send-command): Don't suppress multiple prompts for
1802 busyboxes, it hurts.
1803
51281b32
CY
18042011-12-28 Chong Yidong <cyd@gnu.org>
1805
1806 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1807 (gdb-get-source-file): Move mode line update to
1808 gdb-get-source-file (Bug#10087).
1809
2170cb53
CY
18102011-12-25 Chong Yidong <cyd@gnu.org>
1811
1812 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1813 gud-gdb-marker-filter without taking it as an argument.
1814 (gud-gdb-run-command-fetch-lines): Caller changed.
1815 (gud-gdb-completion-function): New variable.
1816 (gud-gdb-completion-at-point): Use it.
1817 (gud-gdb-completions-1): Split from gud-gdb-completions.
1818
1819 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1820 function as separate arguments.
1821 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1822 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1823 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1824 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1825 (gdb-stopped, def-gdb-auto-update-trigger)
1826 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1827 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1828 Callers changed.
2170cb53
CY
1829 (gud-gdbmi-completions): New function.
1830 (gdb): Use it for generating the completion table.
1831
be8b11bb
AM
18322011-12-24 Alan Mackenzie <acm@muc.de>
1833
1834 Introduce a mechanism to widen the region used in context font
1d00653d 1835 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1836
1d00653d
SM
1837 * progmodes/cc-langs.el (c-before-font-lock-functions):
1838 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1839 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1840 functions to be run just before context (etc.) font locking.
1841
1842 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1843 New, functionality extracted from
be8b11bb 1844 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1845 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1846 (c-after-change): Set c-in-after-change-fontification.
1847 (c-set-fl-decl-start): Rejig its interface, so it can be called
1848 from both after-change and context fontifying.
b81d40f0
JB
1849 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1850 New functions.
1851 (c-standard-font-lock-fontify-region-function): New variable.
1852 (c-font-lock-fontify-region): New function.
be8b11bb 1853
341cf6ac
JL
18542011-12-24 Juri Linkov <juri@jurta.org>
1855
1856 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1857 (Bug#10348)
1858
bffcee0a
MA
18592011-12-23 Michael Albinus <michael.albinus@gmx.de>
1860
1861 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1862 existence of source file. (Bug#10325)
1863
cb5e207c
AM
18642011-12-23 Alan Mackenzie <acm@muc.de>
1865
1866 Fix unstable fontification inside templates.
1867
b81d40f0
JB
1868 * progmodes/cc-langs.el (c-before-font-lock-functions):
1869 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1870 additionally has c-set-fl-decl-start. The other languages (apart
1871 from AWK) have that as a single entry.
1872
b81d40f0
JB
1873 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1874 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1875 c-set-fl-decl-start.
1876
b81d40f0
JB
1877 * progmodes/cc-mode.el (c-common-init, c-after-change):
1878 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1879 (c-set-fl-decl-start): New function, extracted from
1880 c-font-lock-enclosing-decls and enhanced.
1881
60ff536c
JB
18822011-12-23 Juanma Barranquero <lekktu@gmail.com>
1883
1884 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1885
1c4757d6
JL
18862011-12-22 Juri Linkov <juri@jurta.org>
1887
1888 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1889
d031f2c7
CY
18902011-12-22 Chong Yidong <cyd@gnu.org>
1891
1892 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1893
bace743a
DA
18942011-12-21 Drew Adams <drew.adams@oracle.com>
1895
1896 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1897
728a1f2b
JC
18982011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1899
1900 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1901
0d373f73
TZ
19022011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1903
fec0aaa4
TZ
1904 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1905 highlighting and support. Fix up comments for capitalization.
1906 (cfengine-mode-debug): New var.
1907 (cfengine3-mode): Change the modeline indicator to "CFE3".
1908 (cfengine3-font-lock-keywords): Improve defun highlighting.
1909 (cfengine2-actions): Rename from `cfengine-actions'.
1910 (cfengine2-font-lock-keywords): Rename from
1911 `cfengine-font-lock-keywords'.
1912 (cfengine2-imenu-expression): Rename from
1913 `cfengine-imenu-expression'.
1914 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1915 (cfengine2-beginning-of-defun): Rename from
1916 `cfengine-beginning-of-defun'.
1917 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1918 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1919 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1920 modeline indicator to "CFE2".
1921 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1922 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 1923
bc86f573
CY
19242011-12-21 Chong Yidong <cyd@gnu.org>
1925
1926 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1927 filename argument.
1928
d45ba96b
MR
19292011-12-20 Martin Rudalics <rudalics@gmx.at>
1930
1931 * window.el (window-normalize-buffer-to-display): Remove.
1932 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1933
a6198c90
CY
19342011-12-19 Chong Yidong <cyd@gnu.org>
1935
1936 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1937 Don't signal an error in a predicate function; return non-nil.
1938 (vc-dir-mark-file): Move the error here.
1939 (vc-dir-mark-unmark): If acting on the region, keep going if one
1940 of the entries cannot be marked/unmarked.
1941 (vc-dir-mark-all-files): If current entry is a directory, mark
1942 only child files, as documented.
1943
34c5fb55
VB
19442011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
1945
1946 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1947 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1948 addition.
1949
c803b2b7
JD
19502011-12-18 Jan Djärv <jan.h.d@swipnet.se>
1951
1952 * term/ns-win.el (ns-get-selection-internal)
1953 (ns-store-selection-internal): Declare.
1154d12e
JB
1954 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1955 Declare as obsolete.
1956 (ns-get-pasteboard, ns-paste-secondary):
1957 Use ns-get-selection-internal.
1958 (ns-set-pasteboard, ns-copy-including-secondary):
1959 Use ns-store-selection-internal.
c803b2b7 1960
9cff91f8 19612011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
1962
1963 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 1964 (vc-deduce-fileset): Doc fix.
99a289d9 1965
f16c898a
AS
19662011-12-16 Andreas Schwab <schwab@linux-m68k.org>
1967
1968 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1969
763237c4
SS
19702011-12-13 Sam Steingold <sds@gnu.org>
1971
1972 * man.el (Man-getpage-in-background): When running under a
1973 window-system, ignore $MANWIDTH and $COLUMNS.
1974
5fc1c122
KH
19752011-12-15 Kenichi Handa <handa@m17n.org>
1976
1977 * language/ethio-util.el: Change coding tag to utf-8-emacs.
1978 (setup-ethiopic-environment-internal): Comment out key-binding for
1979 ethio-toggle-punctuation.
1980
13d49cbb
AM
19812011-12-13 Alan Mackenzie <acm@muc.de>
1982
898169a2
AM
1983 Add the switch statement to AWK Mode.
1984
7a71b18d 1985 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
1986 "default" to the keywords regexp.
1987
7a71b18d 1988 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 1989 expression as the rest.
1d00653d
SM
1990 (c-nonlabel-token-key): Allow string literals for AWK.
1991 Refactor for the other modes.
898169a2 1992
13d49cbb 1993 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 1994 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
1995 routines. Limit backward searching in c-font-lock-enclosing.decl.
1996
1997 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1998 pp-state and literal type in addition to the limits.
1d00653d 1999 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2000 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2001 (c-slow-in-literal, c-fast-in-literal): Remove.
2002 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2003
2004 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2005 being in a literal. Add a limit for backward searching.
2006
2007 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2008 c-slow-in-literal.
2009
15e0efc7
SM
20102011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2013
454592a6
MR
20142011-12-13 Martin Rudalics <rudalics@gmx.at>
2015
2016 * window.el (delete-other-windows): Use correct frame in call to
2017 window-with-parameter.
2018
87393f26
DP
20192011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2020
2021 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2022 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2023 (makefile-gmake-statements, makefile-makepp-statements):
2024 Use it and add new makepp keywords.
2025 (makefile-makepp-font-lock-keywords): Add new patterns.
2026 (makefile-match-function-end): Match new [...] and [[...]].
2027
11636b22
JB
20282011-12-11 Juanma Barranquero <lekktu@gmail.com>
2029
2030 * ses.el (ses-call-printer-return, ses-cell-property-get)
2031 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2032 (ses-create-cell-variable, ses-reset-header-string)
2033 (ses-cell-set-formula, ses-repair-cell-reference-all)
2034 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2035 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2036 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2037 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2038 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2039 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2040 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2041 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2042 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2043 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2044 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2045 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2046
cf018193
VB
20472011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2048
2049 * ses.el: The overall change is to add cell renaming, that is
2050 setting fancy names for cell symbols other than name matching
2051 "\\`[A-Z]+[0-9]+\\'" regexp .
2052 (ses-create-cell-variable): New defun.
2053 (ses-relocate-formula): Relocate formulas only for cells the
2054 symbols of which are not renamed, i.e. symbols whose names do not
2055 match regexp "\\`[A-Z]+[0-9]+\\'".
2056 (ses-relocate-all): Relocate values only for cells the symbols of
2057 which are not renamed.
2058 (ses-load): Create cells variables as the (ses-cell ...) are read,
2059 in order to check row col consistency with cell symbol name only
2060 for cells that are not renamed.
2061 (ses-replace-name-in-formula): New defun.
2062 (ses-rename-cell): New defun.
2063
ee957461
CY
20642011-12-11 Chong Yidong <cyd@gnu.org>
2065
2066 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2067 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2068
9a9e9ef0
MR
20692011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2070
2071 * window.el (other-window): Fix docstring.
2072
92a8eba5
EZ
20732011-12-10 Eli Zaretskii <eliz@gnu.org>
2074
2075 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2076 `from' or `to' address before taking its substring.
2077 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2078 encoded name is chopped in the middle of the encoded string, and
2079 thus displayed encoded.
2080
e152e577
JB
20812011-12-10 Juanma Barranquero <lekktu@gmail.com>
2082
2083 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2084
e5d84bfe
EZ
20852011-12-10 Eli Zaretskii <eliz@gnu.org>
2086
2087 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2088 to use texinfo-update-node and commands that call it if the
2089 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2090 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2091 (texinfo-all-menus-update, texinfo-master-menu)
2092 (texinfo-update-node, texinfo-every-node-update)
2093 (texinfo-multiple-files-update): Doc fix. Warn against updating
2094 all the @node lines.
2095 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2096 argument is numeric. Explain better in the doc string what the
2097 function really does.
2098 (texinfo-insert-master-menu-list): Improve the error message
2099 displayed if there's no menu in the Top node.
2100 (Bug#2975) See also this thread:
e5d84bfe
EZ
2101 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2102
1d84e9bb
MG
21032011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2104
2105 * speedbar.el (speedbar-supported-extension-expressions):
2106 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2107
382c953b
JB
21082011-12-09 Juanma Barranquero <lekktu@gmail.com>
2109
2110 * printing.el (pr-mode-alist):
2111 * simple.el (filter-buffer-substring-functions)
2112 (completion-list-insert-choice-function):
2113 * window.el (window-with-parameter, window-atom-root)
2114 (window-sides-slots, window-size-fixed, window-min-delta)
2115 (window-max-delta, window--resize-mini-window)
2116 (window--resize-child-windows-normal, window-tree)
2117 (delete-other-windows, quit-window, split-window)
2118 (display-buffer-record-window, special-display-buffer-names)
2119 (special-display-regexps, special-display-popup-frame)
2120 (same-window-p, split-window-sensibly)
2121 (display-buffer-overriding-action, display-buffer-alist)
2122 (display-buffer-base-action, display-buffer, switch-to-buffer)
2123 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2124 (fit-window-to-buffer, recenter-positions)
2125 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2126 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2127 and remove unneeded backslashes in docstrings.
2128
39c9faef
SM
21292011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2130
98449af8
SM
2131 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2132
39c9faef
SM
2133 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2134 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2135 end in ".mk".
2136 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2137 when reading the makefile (bug#10116).
2138
86ed9fdc
SM
21392011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2142 (bug#10116).
2143
5580f89d
GM
21442011-12-06 Glenn Morris <rgm@gnu.org>
2145
2146 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2147
28d3917c
CY
21482011-12-06 Chong Yidong <cyd@gnu.org>
2149
2150 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2151
a98edce9
JB
21522011-12-06 Juanma Barranquero <lekktu@gmail.com>
2153
2154 * textmodes/table.el (table-shorten-cell): Fix typo.
2155
e65adfac
CG
21562011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2157
2158 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2159
71cc0b74
EZ
21602011-12-05 Eli Zaretskii <eliz@gnu.org>
2161
2162 * descr-text.el (describe-char): Fix display of strong
2163 right-to-left characters and directional embeddings and overrides.
2164
2165 * simple.el (what-cursor-position): Fix display of codepoints of
2166 strong right-to-left characters.
2167
315bc30d
CY
21682011-12-05 Chong Yidong <cyd@gnu.org>
2169
2170 * faces.el (read-color): Doc fix.
2171
58a70b94
GM
21722011-12-05 Glenn Morris <rgm@gnu.org>
2173
2174 * align.el (align--set-marker): Add doc-string.
2175 Don't try to move something that is not a marker. (Bug#10216)
2176
5158face
GM
21772011-12-04 Glenn Morris <rgm@gnu.org>
2178
2179 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2180 overly zealous deletion of trailing whitespace.
2181
520fca41
JB
21822011-12-04 Juanma Barranquero <lekktu@gmail.com>
2183
2184 * server.el (server-delete-client): On Windows, do not try to delete
2185 the only terminal.
2186 (server-process-filter): On Windows, treat requests for a tty frame as
2187 if they were for a GUI frame if the running server is in GUI mode.
2188
5e605a2e
GM
21892011-12-03 Glenn Morris <rgm@gnu.org>
2190
2191 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2192
5c3fe83f
SM
21932011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2194
6f5e57e7
SM
2195 * electric.el: Streamline electric-indent's hook.
2196 (electric-indent-chars): Revert to simple list.
2197 (electric-indent-functions): New var.
2198 (electric-indent-post-self-insert-function): Use it.
2199
5c3fe83f
SM
2200 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2201 there's no inferior buffer (bug#10196).
2202 (prolog-consult-compile): Don't use toggle-read-only.
2203
6bdac736
MA
22042011-12-02 Michael Albinus <michael.albinus@gmx.de>
2205
2206 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2207 interrupt. (Bug#10187)
2208
6131ba7f
SM
22092011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2210
99c79fee
SM
2211 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2212 (bug#9160).
2213
6131ba7f
SM
2214 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2215 (bug#10191).
2216
cb0a02ea
JL
22172011-12-02 Juri Linkov <juri@jurta.org>
2218
2219 * info.el (Info-search): Display "end of manual" when Isearch
2220 reaches the end of single-file Info manual. (Bug#9918)
2221
66e0570c
EZ
22222011-12-02 Eli Zaretskii <eliz@gnu.org>
2223
2224 * isearch.el (isearch-message-prefix): Run the input method part
2225 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2226
02b16839
JL
22272011-12-02 Juri Linkov <juri@jurta.org>
2228
2229 * isearch.el (isearch-occur): Use `word-search-regexp' for
2230 `isearch-word'.
2231 (isearch-search-and-update): Add condition for `isearch-word' and
2232 call `word-search-regexp'. (Bug#10145)
2233
0b950688
GM
22342011-12-01 Glenn Morris <rgm@gnu.org>
2235
2236 * eshell/em-hist.el (eshell-hist-initialize):
2237 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2238 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2239
9505c3c7
SM
22402011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2241
2242 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2243
1bbe96b2 22442011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2245
a1beca85
SM
2246 * progmodes/verilog-mode.el (verilog-pretty-expr):
2247 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2248 verilog, such as += *= and the like.
2249 (verilog-assignment-operator-re): Regular expression to find the
2250 assigment operator in a verilog assignment.
2251 (verilog-assignment-operation-re): Regular expression to find an
2252 assignment statement for pretty-expr.
2253 (verilog-in-attribute-p): Query returns true if point is in an
2254 attribute context; used to skip these for expression line up from
2255 pretty-expr.
2256 (verilog-in-parameter-p): Query returns true if point is in an
2257 parameter definition context; used to skip these for expression
2258 line up from pretty-expr.
2259 (verilog-in-parenthesis-p): Query returns true if point is in a
2260 parenthetical expression, specifically ( ) but not [ ] or { };
2261 used by pretty-expr.
2262 (verilog-just-one-space): If there is no space, don't add one.
2263 (verilog-get-lineup-indent-2): Specifically skip just attribute
2264 contexts for expression lineup, rather than skipping all
2265 parenthetical expressions.
2266 (verilog-calculate-indent): Fix comment, and fix indent.
2267 (verilog-do-indent): Indent declarations in lists (suggested by
2268 Joachim Lechner).
2269 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2270 skeleton items.
2271 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2272 by Alain Mellan).
2273
1bbe96b2 22742011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2275
2276 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2277 parameters with embedded comments. Reported by Ray Stevens.
2278 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2279 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2280 Reported by Tim Holt.
2281 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2282 instantiated by upper module causing wrong expansion until AUTOed a
2283 second time. Reported by K C Buckenmaier.
2284 (verilog-diff-auto): Fix showing .* as a difference when
2285 `verilog-auto-star-save' off. Reported by Dan Dever.
2286 (verilog-auto-reset, verilog-read-always-signals)
2287 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2288 temporary signals in reset list if
2289 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2290 style to each signal's assignment type, bug381.
2291 Reported by Thomas Esposito.
6288f0ca
WS
2292 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2293 (verilog-uvm-statement-re): Support UVM indentation and
2294 highlighting, with old OVM keywords only.
a1beca85 2295 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2296 Support AUTOTIEOFF creating non-wire data types.
2297 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2298 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2299 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2300 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2301 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2302 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2303 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2304 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2305 non-numeric vector width. Reported by Alex Reed.
2306 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2307 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2308 (verilog-auto-delete-trailing-whitespace):
2309 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2310 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2311 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2312 Fix verilog-scan-cache corruption when running user AUTO expansion
2313 hooks that call indentation routines.
2314 (verilog-simplify-range-expression): Fix typo ignoring lower case
2315 identifiers.
2316 (verilog-delete-auto): Fix delete-autos to also remove user created
2317 automatics, as long as they start with AUTO.
2318 (verilog-batch-diff-auto, verilog-diff-auto)
2319 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2320 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2321 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2322 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2323 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2324 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2325 is disabled and its cache will get corrupt, causing AUTOS not to
2326 expand. Instead use only -quick functions.
2327 (verilog-scan-region): Fix scanning over escaped quotes.
2328 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2329 (verilog-re-search-backward-quick)
2330 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2331 related functions now ignore strings, to fix misparsing of strings
2332 with magic comments embedded in them.
a1beca85
SM
2333 (verilog-read-auto-template):
2334 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2335 Reported by Brad Dobbie.
2336 (verilog-read-auto-template):
2337 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2338 Reported by Brad Dobbie.
6288f0ca
WS
2339 (verilog-auto-inst, verilog-auto-inst-param)
2340 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2341 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2342 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2343 debugging templates without merge conflicts, bug357.
2344 Reported by Brad Dobbie.
2345 (verilog-read-auto-template):
2346 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2347 Reported by Brad Dobbie.
2348 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2349 abbrevs so user won't be asked to save.
2350 (verilog-read-auto-lisp-present): Fix to start at beginning of
2351 buffer in case called outside of verilog-auto.
2352 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2353 to "X-2". Reported by Matthew Myers.
2354 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2355 all inputs from module templates. Reported by Leith Johnson.
2356 (verilog-module-inside-filename-p): Fix locating programs as with
2357 modules.
2358 (verilog-auto-inst-port): Fix vl-width expressions when using
2359 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2360 (verilog-decls-get-regs, verilog-decls-get-signals,
2361 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2362 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2363 verilog-read-decls): Combine reg and wire structures into one var
2364 structure to represent SystemVerilog concepts.
2365 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2366 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2367 (verilog-auto-wire-type, verilog-insert-definition):
2368 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2369 SystemVerilog "logic" keyword instead of "wire"/"reg".
2370 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2371 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2372 ifdef or generate if so there's not a driver conflict).
2373 Reported by Matthew Myers.
2374 (verilog-auto-declare-nettype, verilog-insert-definition):
2375 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2376 `default_nettype none. Reported by Julian Gorfajn.
2377 (verilog-read-always-signals-recurse, verilog-read-decls)
2378 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2379 malformed end statement, bug325. Reported by Joshua Wise and
2380 Andrew Drake.
2381 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2382 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2383 when expanding .* in interfaces, bug320.
2384 Reported by Pierre-David Pfister.
6288f0ca 2385 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2386 name and open parenthesis, bug317.
2387 Reported by Pierre-David Pfister.
6288f0ca
WS
2388 (verilog-simplify-range-expression): Fix simplification of
2389 multiplications inside AUTOWIRE connections, bug303.
2390 (verilog-auto-inst-port): Support parameter expansion in
2391 multidimensional arrays.
2392 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2393 after "assert property". Reported by Julian Gorfajn.
2394 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2395 with multiplication, bug303.
2396 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2397 Reported by Jan Frode Lonnum.
2398
1bbe96b2
GM
23992011-11-30 Juanma Barranquero <lekktu@gmail.com>
2400
2401 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2402 (hfy-shell-file-name, hfy-shell):
2403 * international/fontset.el (x-decompose-font-name): Fix typos.
2404
24052011-11-29 Ken Brown <kbrown@cornell.edu>
2406
2407 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2408 (gdb-version): Remove defvar.
2409 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2410 (gdb-gud-context-command, gdb-non-stop-handler)
2411 (gdb-current-context-command, gdb-stopped): Use it.
2412 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2413 (gdb-non-stop-handler): Don't enable pretty-printing here.
2414 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2415 non-stop mode. Use the following.
2416 (gdb-check-target-async): New defun.
2417 (gud-watch, gdb-stopped): Fix whitespace.
2418 (gdb-get-source-file): Don't try to display the source file if
2419 `gdb-main-file' is nil.
2420
24212011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2423 * align.el: Try to generate fewer markers (bug#10047).
2424 (align--set-marker): New macro.
2425 (align-region): Use it.
2426
c935221f
SM
24272011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2430
e70b5064
CY
24312011-11-29 Chong Yidong <cyd@gnu.org>
2432
2433 * indent.el (indent-for-tab-command, indent-according-to-mode):
2434 Doc fix.
2435 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2436
f3af92b7
MA
24372011-11-29 Michael Albinus <michael.albinus@gmx.de>
2438
2439 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2440 aware of remote file names. (Bug#10124)
2441
ed472be9
CY
24422011-11-29 Chong Yidong <cyd@gnu.org>
2443
2444 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2445
24510c22
SM
24462011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2447
2448 * files.el (find-file): Don't use force-same-window (bug#10144).
2449 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2450 use pop-to-buffer if the selected window can't be used.
2451 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2452
c60c3703
EZ
24532011-11-28 Eli Zaretskii <eliz@gnu.org>
2454
2455 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2456 special-mode-map.
2457
e95def75
CY
24582011-11-28 Chong Yidong <cyd@gnu.org>
2459
2460 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2461
c3f1c606
NR
24622011-11-27 Nick Roberts <nickrob@snap.net.nz>
2463
2464 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2465 gdb-get-source-file-list on gdb-create-source-file-list.
2466
00db469c
EZ
24672011-11-26 Eli Zaretskii <eliz@gnu.org>
2468
2469 * whitespace.el (whitespace-newline): Use a different foreground
2470 color for 16-color light-background displays.
2471
4ad3bc2a
CY
24722011-11-24 Chong Yidong <cyd@gnu.org>
2473
2474 * window.el (display-buffer--special-action): Doc fix.
2475
e9fce1ac
JB
24762011-11-25 Juanma Barranquero <lekktu@gmail.com>
2477
2478 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2479 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2480 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2481 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2482 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2483 (avl-tree-stack-first):
2484 * emacs-lisp/cconv.el (cconv--analyse-use):
2485 * net/gnutls.el (gnutls-negotiate): Fix typos.
2486
cb825e5d
GM
24872011-11-24 Glenn Morris <rgm@gnu.org>
2488
3adbe224
GM
2489 * lpr.el (lpr-windows-system, lpr-lp-system):
2490 * mail/binhex.el (binhex-begin-line):
2491 * progmodes/grep.el (grep-history, grep-find-history):
2492 * textmodes/flyspell.el:
2493 * vc/pcvs-defs.el (cvs-global-menu):
2494 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2495 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2496 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2497
321decc8
GM
2498 * net/tls.el: Fix case of "GnuTLS".
2499
420b63ad
GM
2500 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2501
cb825e5d
GM
2502 * version.el (emacs-build-system): Give it a doc-string.
2503
a0649f08
JL
25042011-11-24 Juri Linkov <juri@jurta.org>
2505
2506 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2507
c0bc0fd4
GM
25082011-11-24 Glenn Morris <rgm@gnu.org>
2509
2510 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2511 if called on a non-mime message just toggle the headers. (Bug#8006)
2512
20db1522
JB
25132011-11-24 Juanma Barranquero <lekktu@gmail.com>
2514
2515 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2516 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2517 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2518 (allout-rebullet-heading, allout-open-sibtopic)
2519 (allout-toggle-current-subtree-encryption)
2520 (allout-toggle-subtree-encryption, allout-encrypt-string)
2521 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2522 (allout-distinctive-bullets-string, allout-auto-activation):
2523 * window.el (window-normalize-buffer-to-display):
2524 * progmodes/verilog-mode.el (verilog-batch-indent):
2525 * textmodes/bibtex.el (bibtex-field-braces-opt)
2526 (bibtex-field-strings-opt):
2527 * vc/cvs-status.el (cvs-tree-merge):
2528 Fix typos.
2529
7262a87c
MA
25302011-11-23 Michael Albinus <michael.albinus@gmx.de>
2531
2532 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2533 `non-essential' to t, in order to avoid remote connections.
2534
283430a1
EZ
25352011-11-23 Eli Zaretskii <eliz@gnu.org>
2536
a1beca85
SM
2537 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2538 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2539 case-insensitively.
2540
d2992a38
ML
25412011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2542
2543 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2544
50419064
GM
25452011-11-23 Glenn Morris <rgm@gnu.org>
2546
da94eca1
GM
2547 * paths.el (rmail-file-name): Reformat the doc-string so that it
2548 is picked up.
2549
9aac4de2
GM
2550 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2551 (rmail-auto-file): Ignore case in the "special" field names,
2552 as mail-fetch-field does for all others.
2553
8038d2d2
GM
2554 * mail/rmail.el (rmail-forward):
2555 * mail/rmailkwd.el (rmail-set-label):
2556 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2557 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2558
f3fe222a
GM
2559 * mail/rmail.el (rmail-current-message): Doc fix.
2560
50419064
GM
2561 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2562
28109f49
SM
25632011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2566
394c65f1
GM
25672011-11-22 Glenn Morris <rgm@gnu.org>
2568
2569 * mail/rmailmm.el (test-rmail-mime-handler)
2570 (test-rmail-mime-bulk-handler)
2571 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2572
f2a0aa3a
JL
25732011-11-21 Juri Linkov <juri@jurta.org>
2574
1154d12e
JB
2575 * calc/calc.el (calc-read-key-sequence):
2576 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2577
9c34a344
LMI
25782011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2579
2580 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2581 Tell the caller that the next line needs recomputation, even
2582 though it doesn't start a sexp (bug#10094).
2583
f04a3be9
SM
25842011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2587
7978747f
SM
25882011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2589
f04a3be9
SM
2590 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2591 Use force-same-window.
7978747f 2592
fe7a3057
JB
25932011-11-20 Juanma Barranquero <lekktu@gmail.com>
2594
2595 * descr-text.el (describe-char-unicode-data):
2596 * json.el (json-string-escape):
2597 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2598 (Footnote-unicode, Footnote-style-p):
2599 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2600
24901d61
CY
26012011-11-20 Chong Yidong <cyd@gnu.org>
2602
2603 * window.el (replace-buffer-in-windows): Restore interactive spec.
2604
bac7ff22
SM
26052011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2606
24f3d7b9
SM
2607 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2608
bac7ff22
SM
2609 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2610 (byte-compile-global-not-obsolete-vars): New var.
2611 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2612 Use it.
2613 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2614
cd1181db
JB
26152011-11-20 Juanma Barranquero <lekktu@gmail.com>
2616
2617 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2618 * progmodes/pascal.el (electric-pascal-equal):
2619 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2620 * xml.el (xml-substitute-special): Fix typos.
2621
7fb18e9e
GM
26222011-11-20 Glenn Morris <rgm@gnu.org>
2623
2624 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2625 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2626 Doc fixes.
2627 (rmail-decode-mime-charset): Mark as obsolete.
2628
2629 * mail/rmailsum.el (rmail-message-regexp-p-1):
2630 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2631 Before using mime functions, check they are set. (Bug#10077)
2632
d5a6b3ba
JL
26332011-11-19 Juri Linkov <juri@jurta.org>
2634
2635 * info.el (Info-finder-find-node): Use `package--builtins' instead
2636 of `package-alist'. Use node names formed by the pattern "Keyword "
2637 and the keyword name.
2638
e981b61f
AS
26392011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2640
1d00653d 2641 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2642
3ffbc301
JL
26432011-11-19 Juri Linkov <juri@jurta.org>
2644
2645 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2646 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2647 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2648 `old-history', `old-history-forward'. Add let-binding
2649 `window-selected'. Remove calls to `kill-buffer',
2650 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2651 before calling `Info-find-node', so `Info-find-node-2' will reread
2652 the Info file. Restore window positions only when `window-selected'
2653 is non-nil.
2654
30c62133
JL
26552011-11-19 Juri Linkov <juri@jurta.org>
2656
2657 * isearch.el (isearch-lazy-highlight-new-loop):
2658 Remove condition `(not isearch-error)'. (Bug#9918)
2659
2660 * misearch.el (multi-isearch-search-fun): Add condition
2661 `(not bound)' to ignore lazy-highlighting search.
2662 Add the search-failed message "end of multi" when the end of
2663 multi-sequence is reached. Uncapitalize the search-failed
2664 message "Repeat for next buffer".
2665
2666 * info.el (Info-search): Add the search-failed message
2667 "end of the manual" when the end of the manual is reached
2668 in Isearch mode.
2669
645ca9cf
JL
26702011-11-19 Juri Linkov <juri@jurta.org>
2671
2672 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2673 Use non-destructive `remove' instead of `delete' because
2674 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2675 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2676
df754f66
JL
26772011-11-19 Juri Linkov <juri@jurta.org>
2678
2679 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2680 to nil instead of binding `search-ring' and `regexp-search-ring'.
2681 (Bug#9185)
2682
0e23d96a
EZ
26832011-11-19 Eli Zaretskii <eliz@gnu.org>
2684
2685 * simple.el (line-move): Force movement by logical lines for any
2686 hscrolled window, not only when auto-hscroll-mode is on.
2687 (line-move-visual): Update doc string to that effect. (Bug#10076)
2688
8a6ccb66
AS
26892011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2690
2691 * language/european.el (macintosh): Define as alias for mac-roman.
2692
49ae5b39
EZ
26932011-11-19 Eli Zaretskii <eliz@gnu.org>
2694
2695 * mail/rmailmm.el (rmail-mime-display-header)
2696 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2697 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2698 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2699 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2700 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2701 of a raw aref.
2702 (rmail-mime-entity-segment): To get past the tagline, move forward
2703 2 more lines, to account for the 2 empty lines that precede and
2704 follow the line with the buttons.
2705 (rmail-mime-update-tagline): Move one more line, to get past the
2706 empty line that follows the buttons in the tagline. (Bug#9520)
2707
c56cad4a
MR
27082011-11-19 Martin Rudalics <rudalics@gmx.at>
2709
2710 * window.el (window-max-delta-1, window-min-delta-1)
2711 (window-min-size-1, window-state-get-1, window-state-put-1)
2712 (window-state-put-2): Use "window--" prefix.
2713
cbe71af3
SM
27142011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2715
2ad52c60
SM
2716 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2717 (smie-warning-count): New var.
2718 (smie-set-prec2tab): Use it.
2719 (smie-bnf->prec2): Improve warnings. Add docstring.
2720 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2721 (smie-bnf--set-class): New function.
2722 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2723 corner case.
2724
6944dbc1
SM
2725 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2726 (compilation-error-properties, compilation-move-to-column):
2727 Handle compilation-first-column while in the target buffer.
2728
c400c4d7
SM
2729 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2730 Don't hardcode point-min==1.
2731
6dbe3e96
SM
2732 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2733 (eshell-rewrite-for-command): Remove workaround.
2734 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2735 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2736 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2737
cbe71af3
SM
2738 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2739
a8e1496d
GM
27402011-11-17 Glenn Morris <rgm@gnu.org>
2741
2742 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2743 Ignore buffer-local generated-autoload-file if it is the same
2744 as the global value. (Bug#10049)
2745
df85d315
JB
27462011-11-17 Juanma Barranquero <lekktu@gmail.com>
2747
2748 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2749 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2750 (reftex-toc-previous-heading, reftex-toc-max-level)
2751 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2752 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2753 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2754 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2755 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2756 (reftex-toc-rename-label, reftex-toc-visit-location)
2757 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2758 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2759 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2760 leaving "*toc*" only for references to the buffer.
2761
a0c2d0ae
MR
27622011-11-17 Martin Rudalics <rudalics@gmx.at>
2763
2764 * window.el (window-resize, delete-window, split-window):
2765 Replace window-splits by window-combination-resize.
1d00653d 2766 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2767
35c0bac8
GM
27682011-11-17 Glenn Morris <rgm@gnu.org>
2769
2770 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2771 Make bash entry derive from sh entry, not shell entry.
2772
d0c8fc8a
MA
27732011-11-16 Michael Albinus <michael.albinus@gmx.de>
2774
d0c8fc8a
MA
2775 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2776 properties of linked files. (Bug#9879)
2777
7262a87c
MA
2778 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2779 local file name.
2780
7877f373
JB
27812011-11-16 Juanma Barranquero <lekktu@gmail.com>
2782
2783 * menu-bar.el (menu-bar-file-menu):
2784 * printing.el (pr-ps-utility):
2785 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2786 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2787 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2788 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2789 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2790 (icalendar--convert-cyclic-to-ical)
2791 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2792 (icalendar--convert-ical-to-diary)
2793 (icalendar--convert-recurring-to-diary)
2794 (icalendar--convert-non-recurring-all-day-to-diary)
2795 (icalendar-import-format-sample):
2796 * progmodes/idlw-shell.el (idlwave-shell-mode):
2797 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2798 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2799 (vhdl-ps-print-init): Fix typos.
2800
10649b82
KM
28012011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2802
9d0cfcd6
GM
2803 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2804 FSF and collapse date sequence, obscure author/maintainer email address
2805 better, remove extra version line, track relocation of author's webpage.
10649b82 2806
9d0cfcd6
GM
2807 * progmodes/python.el (python-pdbtrack-input-prompt)
2808 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2809 regular python pdb prompts. Adjustments shamelessly taken exactly as
2810 suggested in EmacsWiki page (tiny change):
2811 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2812
58179cce
JB
28132011-11-16 Juanma Barranquero <lekktu@gmail.com>
2814
2815 * expand.el (expand-pos, expand-index, expand-point):
2816 Remove redundant info from docstring.
2817 (expand-add-abbrevs): Doc fix.
2818 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2819 (expand-sample-perl-mode-expand-list): Fix typos.
2820
2821 * net/dbus.el (dbus-event-member-name):
2822 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2823 * term/pc-win.el (msdos-create-frame-with-faces):
2824 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2825
b6f67890
MR
28262011-11-16 Martin Rudalics <rudalics@gmx.at>
2827
2828 * window.el (split-window, window-state-get-1)
2829 (window-state-put-1, window-state-put-2): Rename occurrences of
2830 window-nest to window-combination-limit.
1d00653d 2831 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2832
ce7ddba0
CY
28332011-11-16 Chong Yidong <cyd@gnu.org>
2834
2835 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2836 regexp (Bug#10033).
2837
3ae704f4
SM
28382011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2839
2840 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2841 `completing-read' will remove *Completions* and will preserve
2842 current-buffer for us.
2843 (tmm-add-prompt): Users of *Completions* will always (re)set its
2844 major mode.
2845 (tmm-old-comp-map): Remove.
2846
6ad1cdde
GM
28472011-11-16 Glenn Morris <rgm@gnu.org>
2848
2849 * mail/rmailedit.el: Require rmailmm when compiling.
2850 (rmail-old-mime-state): New declaration.
2851 (rmail-edit-current-message): If editing a mime message,
2852 edit the "raw" message from the mbox buffer.
2853 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2854
d20faa20
GM
28552011-11-15 Glenn Morris <rgm@gnu.org>
2856
2857 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2858 which wasn't being used. Add optional arg to force given state.
2859 (rmail-mime): Add optional arg to force given state.
2860
c7015153
JB
28612011-11-15 Juanma Barranquero <lekktu@gmail.com>
2862
2863 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2864 * frame.el (display-mm-dimensions-alist):
2865 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2866 (outline-move-subtree-down):
2867 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2868 (newsticker--treeview-do-get-node):
2869 * net/quickurl.el (quickurl-list-buffer-name):
2870 * progmodes/dcl-mode.el (dcl-mode):
2871 * progmodes/gdb-mi.el (gdb-mapcar*):
2872 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2873
45261b50
GM
28742011-11-15 Glenn Morris <rgm@gnu.org>
2875
2876 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2877 in a boolean sense, so just make it a boolean, and fix the doc.
2878 (rmail-show-mime-function, rmail-mime-feature)
2879 (rmail-require-mime-maybe): Doc fixes.
2880 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2881
2882 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2883
0d26e0b6
JB
28842011-11-15 Juanma Barranquero <lekktu@gmail.com>
2885
2886 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2887 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2888 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2889 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2890
447f30f6
GM
28912011-11-15 Glenn Morris <rgm@gnu.org>
2892
672b871d
GM
2893 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2894 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2895 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2896 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2897 (rmail-mime, rmail-show-mime): Doc fixes.
2898
f6aa5bb1
GM
2899 * term/ns-win.el (mode-line-frame-identification):
2900 Leave it alone. (Bug#10051)
2901
947cd66b
GM
2902 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2903
447f30f6
GM
2904 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2905 Handle empty buffers. (Bug#9978)
2906
0b381c7e
JB
29072011-11-14 Juanma Barranquero <lekktu@gmail.com>
2908
2909 * international/mule.el (define-charset):
2910 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2911 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2912 * progmodes/verilog-mode.el (verilog-backward-token):
2913 * textmodes/ispell.el (lookup-words):
2914 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2915
71e027ac
GM
29162011-11-14 Glenn Morris <rgm@gnu.org>
2917
56632ce4
GM
2918 * progmodes/executable.el
2919 (executable-make-buffer-file-executable-if-script-p):
2920 Handle file-modes returning nil.
2921
40500957
GM
2922 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2923 message - not necessary, and causes problems. (Bug#9831)
2924
071c2340
GM
2925 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2926
d3cfca60
GM
2927 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2928
71e027ac
GM
2929 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2930 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
2931 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2932
89d61221
MR
29332011-11-12 Martin Rudalics <rudalics@gmx.at>
2934
2935 * window.el (window-resize, delete-window): Use window-splits
2936 variable instead of function.
2937 (window-state-get-1, window-state-put-2, window-state-put):
2938 Don't deal with windows' splits status.
2939
98282f6f
GM
29402011-11-12 Glenn Morris <rgm@gnu.org>
2941
2942 * apropos.el (apropos-do-all, apropos-library, apropos-value)
2943 (apropos-documentation): Doc fixes.
2944
40a8bdf6
JB
29452011-11-11 Juanma Barranquero <lekktu@gmail.com>
2946
2947 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2948 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2949
65bd19ff
SM
29502011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2952 * electric.el (electric-indent-post-self-insert-function): Make it
2953 possible for a char to only indent in some circumstances.
2954 (electric-indent-mode): Simplify.
2955
54f9154c
MR
29562011-11-11 Martin Rudalics <rudalics@gmx.at>
2957
2958 * window.el (windows-with-parameter): Remove unused function.
2959 (windows-at-side): Rename to window-at-side-list.
2960 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
2961 (window-side-check, window-size-ignore, window-size-fixed-1)
2962 (window-in-direction-2): Prefix with "window--".
2963 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 2964
68cbc58b
GM
29652011-11-11 Glenn Morris <rgm@gnu.org>
2966
2967 * subr.el (eval-after-load): If FILE is already loaded,
2968 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
2969
b2621720
GM
29702011-11-10 Glenn Morris <rgm@gnu.org>
2971
9a4de110
GM
2972 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2973 Call svn via vc-svn-command rather than vc-do-command.
2974 (vc-svn-command): Add --non-interactive. (Bug#9993)
2975 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2976
b2621720
GM
2977 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2978 Add toggle-read-only. (Bug#7292)
2979 * files.el (toggle-read-only): Mention that it should only
2980 be used interactively. (Bug#10006)
2981
1dce7193
SM
29822011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2983
d9ac1a1e
SM
2984 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2985 Adjust regexp for OCaml warnings.
2986
0c325082
SM
2987 * electric.el (electric-pair-post-self-insert-function): Let user
2988 turn it off buffer-locally (bug#9932).
2989
90132c14
SM
2990 * progmodes/python.el (python-beginning-of-statement):
2991 Rewrite (bug#2703).
2992
1dce7193
SM
2993 * progmodes/compile.el: Better handle TABs (bug#9749).
2994 (compilation-internal-error-properties)
2995 (compilation-next-error-function): Obey the target buffer's
2996 compilation-error-screen-columns.
2997
c4e7c63a
JB
29982011-11-09 Juanma Barranquero <lekktu@gmail.com>
2999
3000 * progmodes/meta-mode.el: Remove obsolete comments.
3001 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3002 Fix typos in docstrings.
3003
2cffd681
MR
30042011-11-09 Martin Rudalics <rudalics@gmx.at>
3005
3006 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3007 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3008 (window--resizable): New function. Make all callers of
3009 window-resizable call window--resizable instead.
3010 (window-resizable): Rewrite in terms of window--resizable.
3011
0edcba87
GM
30122011-11-08 Glenn Morris <rgm@gnu.org>
3013
3014 * progmodes/delphi.el (delphi-mode-syntax-table):
3015 Let define-derived-mode define a proper syntax table. (Bug#9994)
3016
4b0d61e3
SM
30172011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3018
3019 * window.el: Stay away from defsubst.
3020 (window-list-no-nils): Remove.
3021 (window-state-get-1, window-state-get): Use backquote instead.
3022
cd394be1 30232011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3024
4b0d61e3 3025 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3026 Fix incorrect use of default argument in `completing-read'.
3027
e1c2c6f2
MR
30282011-11-08 Martin Rudalics <rudalics@gmx.at>
3029
3030 * window.el (display-buffer-function, special-display-function):
3031 Mention display-buffer-record-window but do not mention
3032 help-setup parameter in doc-strings.
b3f4a882 3033 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3034
105216ed
CY
30352011-11-08 Chong Yidong <cyd@gnu.org>
3036
3037 * window.el (window-total-height, window-total-width): Doc fix.
3038 (window-body-size): Move from C.
3039 (window-body-height, window-body-width): Move to C.
3040
0a9f9ab5
SM
30412011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3042
3043 * window.el: Make special-display like display-buffer-alist (bug#9532).
3044 (display-buffer--special-action): New function, morphed
3045 from display-buffer--special.
3046 (display-buffer): Use it to handle special-display-buffers at higher
3047 priority (just after display-buffer-alist).
3048 (display-buffer-fallback-action, display-buffer--other-frame-action)
3049 (pop-to-buffer-same-window): Remove display-buffer--special.
3050
a769dd15
GM
30512011-11-07 Glenn Morris <rgm@gnu.org>
3052
3053 * calendar/cal-menu.el (cal-menu-set-date-title):
3054 Do nothing if not in a calendar. (Bug#9976)
3055
05a61ee3
SM
30562011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3057
3058 * files.el (find-file): Always use selected-window.
3059
be7f5545
MR
30602011-11-07 Martin Rudalics <rudalics@gmx.at>
3061
3062 * window.el (window-combinations): Make WINDOW argument
3063 mandatory. Rewrite doc-string.
3064 (walk-window-subtree, window-atom-check, window-min-delta)
3065 (window-max-delta, window--resize-this-window)
3066 (window--resize-root-window-vertically, window-tree)
3067 (balance-windows, window-state-put): Rewrite doc-strings as to
3068 not mention the term "subwindow".
3069 (window--resize-subwindows-skip-p): Rename to
3070 window--resize-child-windows-skip-p.
3071 (window--resize-subwindows-normal): Rename to
3072 window--resize-child-windows-normal.
3073 (window--resize-subwindows): Rename to
3074 window--resize-child-windows.
3075 (window-or-subwindow-p): Rename to window--in-subtree-p.
3076
3c6702ef
ML
30772011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3078
3079 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3080 Ensure that mbox format messages end in two newlines (Bug#9974).
3081
49745b39
CY
30822011-11-06 Chong Yidong <cyd@gnu.org>
3083
3084 * window.el (window-combination-p): Function deleted; its
3085 side-effect is not used in any existing code.
3086 (window-combinations, window-combined-p): Call window-*-child
3087 directly.
3088
24300f5f
CY
30892011-11-05 Chong Yidong <cyd@gnu.org>
3090
3091 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3092 (window-size-ignore, window-state-get): Callers changed.
3093 (window-normalize-window): Rename from window-normalize-any-window.
3094 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3095 (window-normalize-live-window): Delete.
447f16b8
CY
3096 (window-combination-p, window-combined-p, window-combinations)
3097 (walk-window-subtree, window-atom-root, window-min-size)
3098 (window-sizable, window-sizable-p, window-size-fixed-p)
3099 (window-min-delta, window-max-delta, window-resizable)
3100 (window-resizable-p, window-full-height-p, window-full-width-p)
3101 (window-current-scroll-bars, window-point-1, set-window-point-1)
3102 (window-at-side-p, window-in-direction, window-resize)
3103 (adjust-window-trailing-edge, maximize-window, minimize-window)
3104 (window-deletable-p, delete-window, delete-other-windows)
3105 (record-window-buffer, unrecord-window-buffer)
3106 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3107 (quit-window, split-window, window-state-put)
3108 (set-window-text-height, fit-window-to-buffer)
3109 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3110
89bd5ee1
EZ
31112011-11-04 Eli Zaretskii <eliz@gnu.org>
3112
53479029
EZ
3113 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3114 rfc2047-decode-string.
3115 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3116 warnings.
3117
89bd5ee1
EZ
3118 * window.el (window-body-height, window-body-width): Mention in
3119 the doc string that the return values are in frame's canonical
3120 units. (Bug#9949)
3121
bd17fdee
AM
31222011-11-03 Alan Mackenzie <acm@muc.de>
3123
3124 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3125 change in cc-engine.el.
3126
acc825c5
SM
31272011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3128
3129 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3130
1885e5b8
MR
31312011-11-02 Martin Rudalics <rudalics@gmx.at>
3132
3133 * window.el (quit-window): Call unrecord-window-buffer after
3134 showing another buffer in the window. (Bug#9937)
acc825c5 3135 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3136
ebe06da9
JB
31372011-11-02 Juanma Barranquero <lekktu@gmail.com>
3138
3139 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3140 Accept status with more than 9 shelves. (Bug#9935)
3141 Reported by Colin D Bennett <colin@gibibit.com>.
3142
4ee88440
MR
31432011-11-01 Martin Rudalics <rudalics@gmx.at>
3144
3145 * help.el (with-help-window): Don't reference
3146 temp-buffer-show-specifiers in doc-string.
3147
08e1d82c
AS
31482011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3149
3150 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3151 menu-item.
3152
84bd6e9e
VJL
31532011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3154
3155 * whitespace.el: New version 13.2.2.
3156 (whitespace-newline-mode): Disable properly. Reported by Sarah
3157 <EmacsWiki>.
3158
dba0634a
UJ
31592011-10-30 Ulf Jasper <ulf.jasper@web.de>
3160
3161 * net/newst-treeview.el: Remove "Time-stamp".
3162 (newsticker--group-manage-orphan-feeds): Do not call
3163 newsticker--treeview-tree-update.
db22a3c2
JB
3164 (newsticker-treeview-update, newsticker-treeview):
3165 Call newsticker--treeview-tree-update if necessary.
dba0634a 3166
3d8daefe
MR
31672011-10-30 Martin Rudalics <rudalics@gmx.at>
3168
3169 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3170 (window-iso-combinations): Remove "iso-" infix.
3171 Suggested by Chong Yidong.
3d8daefe
MR
3172 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3173 (window-max-delta-1, window-resize, window--resize-siblings)
3174 (window--resize-this-window, adjust-window-trailing-edge)
3175 (split-window, balance-windows-1)
3176 (shrink-window-if-larger-than-buffer):
3177 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3178 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3179
1bc4c3ae
SM
31802011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3181
3182 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3183 in place (bug#9907).
3184 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3185 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3186 (eshell-structure-basic-command, eshell-rewrite-while-command)
3187 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3188 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3189 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3190 (eshell-do-pipelines-synchronously, eshell-eval-command):
3191 Use backquotes and prefer setq to set.
3192 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3193 (eshell-macrop): Use functionp.
c1e2f5fa 3194 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3195
30b65d9c
CY
31962011-10-30 Chong Yidong <cyd@gnu.org>
3197
3198 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3199 instead of set-mark (Bug#9810).
3200
2d197ffb
CY
32012011-10-30 Chong Yidong <cyd@gnu.org>
3202
3203 * window.el (split-window-below, split-window-right): Rename from
3204 split-window-above-each-other and split-window-side-by-side
3205 respectively. All callers changed.
3206 (split-window-sensibly, split-window-sensibly): Use them.
3207 (split-window-keep-point): Doc fix.
3208
3209 * isearch.el: Add isearch-scroll property to split-window-below
3210 and split-window-right.
3211
3212 * follow.el (follow-mode):
3213 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3214 * progmodes/ada-xref.el (ada-gdb-application):
3215 * emulation/vip.el (vip-buffer-in-two-windows):
3216 * image-dired.el (image-dired-dired-with-window-configuration):
3217 * dired-x.el (dired-do-find-marked-files):
3218 * dired.el (dired-pop-to-buffer):
3219 * bs.el (bs--show-with-configuration):
3220 * vc/emerge.el (emerge-setup-windows):
3221 * textmodes/two-column.el (2C-two-columns):
3222 * textmodes/reftex-toc.el (reftex-toc):
3223 * progmodes/gdb-mi.el (gdb-setup-windows):
3224 * progmodes/fortran.el (fortran-window-create):
3225 * net/newst-treeview.el (newsticker--treeview-window-init):
3226 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3227 * emulation/tpu-edt.el (tpu-gold-map):
3228 * emulation/crisp.el (crisp-mode-map):
3229 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3230
38bb2ca8
CY
32312011-10-29 Chong Yidong <cyd@gnu.org>
3232
aa4de341
CY
3233 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3234
e1eb5385
CY
3235 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3236
5d2ece3c
CY
3237 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3238 forged Ispell output (Bug#7904).
3239
38bb2ca8
CY
3240 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3241
d0af9f77
SM
32422011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3243
3244 * doc-view.el: Avoid ugly errors about not finding nil.
3245 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3246 (doc-view-dvipdf-program, doc-view-unoconv-program)
3247 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3248 Avoid nil or absolute file name as default value.
3249 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3250
52bedd34
AM
32512011-10-28 Alan Mackenzie <acm@muc.de>
3252
db22a3c2 3253 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3254
7e43cfa5
AM
32552011-10-28 Alan Mackenzie <acm@muc.de>
3256
3257 Amend the handling of c-beginning/end-of-defun in nested declaration
3258 scopes.
3259
52bedd34
AM
3260 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3261 cc-langs.el. Change it to a defcustom.
7e43cfa5 3262
52bedd34
AM
3263 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3264 cc-vars.el.
7e43cfa5 3265
d0af9f77
SM
3266 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3267 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3268
52bedd34 3269 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3270 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3271 (c-widen-to-enclosing-decl-scope): New function.
3272 (c-while-widening-to-decl-block): New macro.
3273 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3274 outward for defun boundaries, and correspondingly change symbol
3275 `respect-enclosure' to `go-outward'.
3276 (c-declaration-limits): Change algorithm to report only the "innermost"
3277 defun's boundaries.
3278
1a2ce9ee
DD
32792011-10-28 Deniz Dogan <deniz@dogan.se>
3280
3281 * net/rcirc.el (rcirc-mode): Use hard newlines.
3282
bc97a826
AM
32832011-10-28 Alan Mackenzie <acm@muc.de>
3284
3285 Amend to indent and fontify macros "which include their own semicolon"
3286 correctly, using the "virtual semicolon" mechanism.
3287
52bedd34 3288 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3289
d0af9f77 3290 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3291 Recode to scan one line at a time rather than having \n and \r
58179cce 3292 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3293 (c-forward-label): Amend for virtual semicolons.
58179cce 3294 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3295
52bedd34
AM
3296 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3297 of the new C macros.
bc97a826 3298
52bedd34 3299 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3300 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3301 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3302 (c-opt-cpp-macro-define): Make into a full language variable.
3303 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3304 AWK Mode (including \n, \r) removed, no longer needed.
3305
d0af9f77
SM
3306 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3307 Invoke c-make-macro-with-semi-re.
bc97a826 3308
52bedd34
AM
3309 * progmodes/cc-vars.el (c-macro-with-semi-re):
3310 (c-macro-names-with-semicolon): New variables.
58179cce 3311 (c-make-macro-with-semi-re): New function.
bc97a826 3312
7a6c0941
SM
33132011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3314
3315 * vc/log-edit.el: Fill empty field rather than adding new one.
3316 (log-edit-add-field): New function.
3317 (log-edit-insert-changelog): Use it.
3318
b0c4cdcf
ML
33192011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3320
3321 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3322
ee1f1da9
SM
33232011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3324
3325 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3326 (gdb--check-interpreter): New function.
3327 (gdb): Use it.
3328
51bc5f8b
GM
33292011-10-27 Glenn Morris <rgm@gnu.org>
3330
416a2c45
GM
3331 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3332 (least-positive-float, least-negative-float)
3333 (least-positive-normalized-float, least-negative-normalized-float)
3334 (float-epsilon, float-negative-epsilon):
3335 Remove unnecessary declarations.
3336
3337 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3338 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3339 (least-positive-float, least-negative-float)
3340 (least-positive-normalized-float, least-negative-normalized-float)
3341 (float-epsilon, float-negative-epsilon): Add doc-strings,
3342 based on those in cl.texi.
3343
51bc5f8b
GM
3344 * files.el (set-visited-file-name): If the major-mode changed,
3345 reload the local variables. (Bug#9796)
3346
15de15c6
CY
33472011-10-27 Chong Yidong <cyd@gnu.org>
3348
3349 * subr.el (change-major-mode-after-body-hook): New hook.
3350 (run-mode-hooks): Run it.
3351
ee1f1da9
SM
3352 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3353 Use change-major-mode-before-body-hook.
15de15c6
CY
3354
3355 * simple.el (fundamental-mode):
3356 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3357 change introducing fundamental-mode-hook.
3358
5430d399
JB
33592011-10-26 Juanma Barranquero <lekktu@gmail.com>
3360
acc825c5 3361 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3362
ad74a69e
MA
33632011-10-26 Michael Albinus <michael.albinus@gmx.de>
3364
3365 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3366 tramp.el explicitly. (Bug#7583)
ad74a69e 3367
71d4c2a5
SM
33682011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3369
3370 * progmodes/octave-mod.el:
3371 * progmodes/octave-inf.el: Update maintainer.
3372
b1f6fa26
CY
33732011-10-26 Chong Yidong <cyd@gnu.org>
3374
3375 * subr.el (with-wrapper-hook): Rewrite doc.
3376
3f04efd6
MA
33772011-10-25 Michael Albinus <michael.albinus@gmx.de>
3378
3379 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3380 filenames "/method:foo:". (Bug#9793)
3f04efd6 3381
410488d3
SM
33822011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3383
3384 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3385 (bug#9865).
3386
c1ebb47e
GM
33872011-10-24 Glenn Morris <rgm@gnu.org>
3388
3389 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3390
7f5c46c7
MA
33912011-10-24 Michael Albinus <michael.albinus@gmx.de>
3392
3393 * notifications.el: Add the requirement of a running D-Bus session
3394 bus to the Commentary.
3395
db2440b6
JL
33962011-10-24 Juri Linkov <juri@jurta.org>
3397
3398 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3399 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3400 (Bug#9364)
3401
feecf435
JL
34022011-10-24 Juri Linkov <juri@jurta.org>
3403
3404 * info.el (Info-following-node-name-re): Add newline to the list
3405 of allowed characters for leading space. (Bug#9824)
3406
a3839de2
SM
34072011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3408
acc825c5
SM
3409 * progmodes/octave-inf.el (inferior-octave-mode-map):
3410 Fix C-c C-h binding.
a3839de2
SM
3411 * progmodes/octave-mod.el (octave-help): Remove.
3412
09388e76
MA
34132011-10-23 Michael Albinus <michael.albinus@gmx.de>
3414
3415 Sync with Tramp 2.2.3.
3416
3417 * net/tramp-cache.el (top): Pacify byte-compiler using
3418 `init-file-user' and `site-run-file'.
3419
3420 * net/trampver.el: Update release number.
3421
86c60681
CY
34222011-10-23 Chong Yidong <cyd@gnu.org>
3423
3424 * files.el (toggle-read-only): Remove obsolete comment about
3425 version control.
3426
3427 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3428 for toggle-read-only. Note that this hasn't called vc-next-action
3429 since 2008-05-02, though it wasn't documented at the time.
3430
a3839de2
SM
3431 * vc/ediff-init.el (ediff-toggle-read-only-function):
3432 Use toggle-read-only.
86c60681 3433
cd5495ff
AM
34342011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3435
3436 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3437 of c-parse-state.
3438
00b77525 3439 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3440 correct faulty logical expression.
cd5495ff
AM
3441 (c-parse-state-state, c-record-parse-state-state):
3442 (c-replay-parse-state-state): New defvar/defuns.
3443 (c-debug-parse-state): Use new functions.
3444
42ee24ed
MR
34452011-10-22 Martin Rudalics <rudalics@gmx.at>
3446
3447 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3448 last fix. Use window-in-direction correctly.
42ee24ed 3449
a7dee7e7
CY
34502011-10-21 Chong Yidong <cyd@gnu.org>
3451
3452 * progmodes/idlwave.el (idlwave-mode):
3453 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3454 require-final-newline; that's done in prog-mode.
3455 Suggested by Stefan Monnier.
a7dee7e7 3456
e07b9a6d
MR
34572011-10-21 Martin Rudalics <rudalics@gmx.at>
3458
3459 * mouse.el (mouse-drag-window-above)
3460 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3461 (mouse-drag-mode-line-1, mouse-drag-header-line)
3462 (mouse-drag-vertical-line-rightward-window): Remove.
3463 (mouse-drag-line): New function.
3464 (mouse-drag-mode-line, mouse-drag-header-line)
3465 (mouse-drag-vertical-line): Call mouse-drag-line.
3466 * window.el (window-at-side-p, windows-at-side): New functions.
3467
7e1361d9
UM
34682011-10-21 Ulrich Mueller <ulm@gentoo.org>
3469
3470 * tar-mode.el (tar-grind-file-mode):
3471 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3472
30fcaf3a
CY
34732011-10-21 Chong Yidong <cyd@gnu.org>
3474
3475 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3476 * progmodes/vera-mode.el (vera-mode):
3477 Use mode-require-final-newline.
30fcaf3a 3478
516eddb0
GM
34792011-10-20 Glenn Morris <rgm@gnu.org>
3480
db22a3c2 3481 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3482
10d5f513
CS
34832011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3484
3485 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3486
ac6c8639
CY
34872011-10-20 Chong Yidong <cyd@gnu.org>
3488
3489 * emulation/cua-base.el (cua-mode):
3490 * mail/footnote.el (footnote-mode):
3491 * mail/mailabbrev.el (mail-abbrevs-mode):
3492 * net/xesam.el (xesam-minor-mode):
3493 * progmodes/bug-reference.el (bug-reference-mode):
3494 * progmodes/cap-words.el (capitalized-words-mode):
3495 * progmodes/compile.el (compilation-minor-mode)
3496 (compilation-shell-minor-mode):
3497 * progmodes/gud.el (gud-tooltip-mode):
3498 * progmodes/hideif.el (hide-ifdef-mode):
3499 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3500 * progmodes/subword.el (subword-mode):
3501 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3502 * progmodes/which-func.el (which-function-mode):
3503 * term/tvi970.el (tvi970-set-keypad-mode):
3504 * term/vt100.el (vt100-wide-mode):
3505 * textmodes/flyspell.el (flyspell-mode):
3506 * textmodes/ispell.el (ispell-minor-mode):
3507 * textmodes/nroff-mode.el (nroff-electric-mode):
3508 * textmodes/paragraphs.el (use-hard-newlines):
3509 * textmodes/refill.el (refill-mode):
3510 * textmodes/reftex.el (reftex-mode):
3511 * textmodes/rst.el (rst-minor-mode):
3512 * textmodes/sgml-mode.el (html-autoview-mode)
3513 (sgml-electric-tag-pair-mode):
3514 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3515 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3516 * emulation/crisp.el (crisp-mode):
3517 * emacs-lisp/eldoc.el (eldoc-mode):
3518 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3519 minor mode behavior.
3520
aa42ab43
JL
35212011-10-19 Juri Linkov <juri@jurta.org>
3522
3523 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3524 the list of hard-coded chars with escape-glyph face.
3525
89400f1d
SM
35262011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3529
305c07f6
MA
35302011-10-19 Michael Albinus <michael.albinus@gmx.de>
3531
3532 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3533 running process.
3534
13754b54
GM
35352011-10-19 Glenn Morris <rgm@gnu.org>
3536
3537 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3538 Ignore ignored files. (Bug#9726)
3539
06e21633
CY
35402011-10-19 Chong Yidong <cyd@gnu.org>
3541
3542 Doc fix for minor modes, stating that an omitted argument enables
3543 the mode unconditionally when called from Lisp.
3544
3545 * abbrev.el (abbrev-mode):
3546 * allout.el (allout-mode):
3547 * autoinsert.el (auto-insert-mode):
3548 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3549 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3550 (global-auto-revert-mode):
3551 * battery.el (display-battery-mode):
3552 * composite.el (global-auto-composition-mode)
3553 (auto-composition-mode):
3554 * delsel.el (delete-selection-mode):
3555 * desktop.el (desktop-save-mode):
3556 * dired-x.el (dired-omit-mode):
3557 * dirtrack.el (dirtrack-mode):
3558 * doc-view.el (doc-view-minor-mode):
3559 * double.el (double-mode):
3560 * electric.el (electric-indent-mode, electric-pair-mode):
3561 * emacs-lock.el (emacs-lock-mode):
3562 * epa-hook.el (auto-encryption-mode):
3563 * follow.el (follow-mode):
3564 * font-core.el (font-lock-mode):
3565 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3566 * help.el (temp-buffer-resize-mode):
3567 * hilit-chg.el (highlight-changes-mode)
3568 (highlight-changes-visible-mode):
3569 * hi-lock.el (hi-lock-mode):
3570 * hl-line.el (hl-line-mode, global-hl-line-mode):
3571 * icomplete.el (icomplete-mode):
3572 * ido.el (ido-everywhere):
3573 * image-file.el (auto-image-file-mode):
3574 * image-mode.el (image-minor-mode):
3575 * iswitchb.el (iswitchb-mode):
3576 * jka-cmpr-hook.el (auto-compression-mode):
3577 * linum.el (linum-mode):
3578 * longlines.el (longlines-mode):
3579 * master.el (master-mode):
3580 * mb-depth.el (minibuffer-depth-indicate-mode):
3581 * menu-bar.el (menu-bar-mode):
3582 * minibuf-eldef.el (minibuffer-electric-default-mode):
3583 * mouse-sel.el (mouse-sel-mode):
3584 * msb.el (msb-mode):
3585 * mwheel.el (mouse-wheel-mode):
3586 * outline.el (outline-minor-mode):
3587 * paren.el (show-paren-mode):
3588 * recentf.el (recentf-mode):
3589 * reveal.el (reveal-mode, global-reveal-mode):
3590 * rfn-eshadow.el (file-name-shadow-mode):
3591 * ruler-mode.el (ruler-mode):
3592 * savehist.el (savehist-mode):
3593 * scroll-all.el (scroll-all-mode):
3594 * scroll-bar.el (scroll-bar-mode):
3595 * server.el (server-mode):
3596 * shell.el (shell-dirtrack-mode):
3597 * simple.el (auto-fill-mode, transient-mark-mode)
3598 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3599 (line-number-mode, column-number-mode, size-indication-mode)
3600 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3601 * strokes.el (strokes-mode):
3602 * time.el (display-time-mode):
3603 * t-mouse.el (gpm-mouse-mode):
3604 * tool-bar.el (tool-bar-mode):
3605 * tooltip.el (tooltip-mode):
3606 * type-break.el (type-break-mode-line-message-mode)
3607 (type-break-query-mode):
3608 * view.el (view-mode):
3609 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3610 (global-whitespace-mode, global-whitespace-newline-mode):
3611 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3612
a3839de2
SM
3613 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3614 Fix autogenerated docstring.
06e21633 3615
5214e501
JL
36162011-10-19 Juri Linkov <juri@jurta.org>
3617
3618 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3619 by checking environment variables "DESKTOP_SESSION" and
3620 "XDG_CURRENT_DESKTOP". (Bug#9779)
3621
195f8db9
JL
36222011-10-19 Juri Linkov <juri@jurta.org>
3623
3624 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3625 (browse-url-chromium-program, browse-url-chromium-arguments):
3626 New defcustoms.
3627 (browse-url-default-browser): Check for `browse-url-chromium' and
3628 call `browse-url-chromium-program'.
3629 (browse-url-chromium): New command. (Bug#9779)
3630
343a34ff
JB
36312011-10-18 Juanma Barranquero <lekktu@gmail.com>
3632
3633 * facemenu.el (list-colors-duplicates): On Windows, detect more
3634 duplicates by assuming that only colors matching "^System" are
3635 special "system colors". (Bug#9722)
3636
6978a151
SM
36372011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3638
3639 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3640 to distinguish the author from the committer.
3641
6a80b297
MA
36422011-10-18 Michael Albinus <michael.albinus@gmx.de>
3643
3644 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3645
b31a5677
JK
36462011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3647
3648 * international/mule.el (sgml-html-meta-auto-coding-function):
3649 Add support for detecting encoding in HTML5 specified only as
3650 <meta charset="UTF-8">. Implementation just makes http-equiv and
3651 content-type parts from HTML4 encoding string optional. (Bug#9716)
3652
80c6d77f
GM
36532011-10-18 Glenn Morris <rgm@gnu.org>
3654
3655 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3656
08b0fee8
CY
36572011-10-18 Chong Yidong <cyd@gnu.org>
3658
3659 * faces.el (cursor): Doc fix.
3660
67e729a5
CY
36612011-10-17 Chong Yidong <cyd@gnu.org>
3662
3663 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3664
343a34ff 36652011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3666
3667 * dirtrack.el (dirtrack): Support shell buffers with path
3668 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3669
0bc06380
TZ
36702011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3671
3672 * json.el: Bump version to 1.3 and note change in History.
3673 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3674
8b79f3e0
SM
36752011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3676
5a7c536b
SM
3677 * comint.el (comint-insert-input, comint-send-input)
3678 (comint-get-old-input-default, comint-backward-matching-input)
3679 (comint-next-prompt): Use nil instead of `input' for field property of
3680 past user input (bug#114).
3681
96a8a0df
SM
3682 * minibuffer.el (completion--replace): Inherit surrounding properties
3683 (bug#114).
3684 (minibuffer-complete-and-exit): Use it.
3685
8b79f3e0
SM
3686 * comint.el (comint--table-subvert): Quote the all-completions output
3687 (bug#9160).
3688
b8f7ff0d
MR
36892011-10-17 Martin Rudalics <rudalics@gmx.at>
3690
8b79f3e0 3691 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3692
b8f7ff0d 3693 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3694 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3695 entries and separate them from frame entries.
3696
c235b555
GM
36972011-10-15 Glenn Morris <rgm@gnu.org>
3698
3699 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3700 Doc fixes.
3701
6bbfa6e1
CY
37022011-10-15 Chong Yidong <cyd@stupidchicken.com>
3703
8b79f3e0
SM
3704 * net/network-stream.el (network-stream-open-starttls):
3705 Improve detection of failure due to lack of TLS support.
ec5c990d 3706
6bbfa6e1
CY
3707 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3708 putting the input text in front and in bold.
3709
98488977
SM
37102011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3711
3d1337be
SM
3712 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3713
ee0b45e4
SM
3714 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3715 empty buffer.
3716
98488977
SM
3717 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3718 unread-command-events rather than pushing yet-another event.
3719
186f4720
EZ
37202011-10-14 Eli Zaretskii <eliz@gnu.org>
3721
3722 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3723 the explanation of the possible choices. Make the options passed
3724 to completing-read shorter.
3725
8b7a997c
AM
37262011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3727
3728 * textmodes/flyspell.el (flyspell-large-region): Make sure
3729 extended character mode is used if defined (Bug#1339).
3730
12587bbb
EZ
37312011-10-13 Eli Zaretskii <eliz@gnu.org>
3732
3733 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3734 character info for LRE, LRO, RLE, and RLO characters by appending
3735 an invisible PDF.
12587bbb 3736
bad41229
SM
37372011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3740 even in case of error; add debug spec; simplify data flow.
3741 (with-timeout-handler): Remove.
3742
28dbc92f
MA
37432011-10-12 Michael Albinus <michael.albinus@gmx.de>
3744
3745 Fix Bug#6019, Bug#9315.
3746
3747 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3748 complete `buffer-file-name', the local file name part could look
3749 remotely (for example on VMS).
3750
3751 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3752 `tramp-run-real-handler'.
3753 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3754 already quoted by '"'.
3755
3756 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3757 Let `file-name-handler-alist' be nil, the local file name part
3758 could look remotely (for example on VMS).
3759
e1b0b23a
SM
37602011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3761
3762 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3763 from here...
3764 (flyspell-post-command-hook): ...to here.
3765
a120bde9
SM
37662011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3767
3768 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3769 if not needed.
3770 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3771 using completion. Protect against "slow" callers.
3772 Remove the "message hack".
3773
7ce7717b
JL
37742011-10-11 Juri Linkov <juri@jurta.org>
3775
3776 * isearch.el (isearch-lazy-highlight-word): New variable.
3777 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3778 Use it. (Bug#9727)
3779
c02ee9d6
GM
37802011-10-11 Glenn Morris <rgm@gnu.org>
3781
3782 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3783 like f90-previous-statement does.
3784
93e616fd 37852011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3786
1f190e73 3787 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3788 only in interactive use, to avoid error.
3789
af7b6078
SM
37902011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3791
3792 * minibuffer.el (completion-file-name-table): Fix last change,
3793 i.e. ignore normal errors but not the other ones.
3794
0563dae9
MR
37952011-10-10 Martin Rudalics <rudalics@gmx.at>
3796
3797 * window.el (special-display-buffer-names)
3798 (special-display-regexps): Remove some remnants of earlier
3799 changes from doc-strings.
366ca7f3
MR
3800 (quit-windows-on): New function.
3801
3802 * vc/vc.el (vc-revert, vc-rollback):
3803 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3804 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3805 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3806
49677495
MR
38072011-10-09 Martin Rudalics <rudalics@gmx.at>
3808
3809 * window.el (frame-auto-hide-function): Add version tag.
3810 (Bug#9699)
3811
56f2d1e1
MA
38122011-10-09 Michael Albinus <michael.albinus@gmx.de>
3813
3814 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3815 condition.
3816
112a6592
LL
38172011-10-09 Leo Liu <sdl.web@gmail.com>
3818
3819 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3820 (Bug#9701)
3821
0812589b
GM
38222011-10-08 Glenn Morris <rgm@gnu.org>
3823
3824 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3825 before the first code statement zero indent. (Bug#9690)
3826
b2b0776e
CY
38272011-10-08 Chong Yidong <cyd@stupidchicken.com>
3828
3829 * simple.el (count-words-region): Always count in the region.
3830 Report the number of lines and characters too.
3831 (count-words): New command, which counts in the buffer if the
3832 region is inactive, as count-words-region used to.
3833 (count-words--message): New function. Handle plurals.
3834 (count-lines-region): Make it an alias for count-words-region.
3835
3836 * bindings.el (esc-map): Replace count-lines-region with
3837 count-words-region.
3838
c557cd6b
MR
38392011-10-08 Martin Rudalics <rudalics@gmx.at>
3840
3841 * window.el (window--delete): Delete dedicated frame
3842 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3843 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3844
61a57ef4 38452011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3846
3a7d293b 3847 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3848
c3833279
CY
38492011-10-07 Chong Yidong <cyd@stupidchicken.com>
3850
3851 * bindings.el ([M-left],[M-right]): Bind to left-word and
3852 right-word respectively.
3853
21ce8245
GM
38542011-10-07 Glenn Morris <rgm@gnu.org>
3855
3856 * cus-start.el (debug-on-quit): Fix custom type.
3857
6d823bb2
LMI
38582011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3859
0181e193
LMI
3860 * subr.el (define-key-after): Clarify that the function is not
3861 useful for non-menu keymaps.
3862
6d823bb2
LMI
3863 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3864
8e3459ce 38652011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3866
21ce8245 3867 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3868 in current minibuffer (Fix bug with recursive minibuffers).
3869
a1c2d21e
CY
38702011-10-06 Chong Yidong <cyd@stupidchicken.com>
3871
3872 * progmodes/gdb-mi.el (gdb): Doc fix.
3873
5a4cf282
MR
38742011-10-05 Martin Rudalics <rudalics@gmx.at>
3875
3876 * window.el (frame-auto-hide-function): New option replacing
3877 frame-auto-delete. Suggested by Stefan Monnier.
3878 (window--delete): Call frame-auto-hide-function instead of
3879 investigating frame-auto-delete.
c96111ea
MR
3880 (window-point-1, set-window-point-1): New functions.
3881 (window-in-direction, record-window-buffer, window-state-get-1)
3882 (display-buffer-record-window): Use window-point-1 instead of
3883 window-point.
3884 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3885
9854542e
SM
38862011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3887
3888 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3889
8943cfb0
GM
38902011-10-05 Glenn Morris <rgm@gnu.org>
3891
3892 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3893 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3894
647ab967
LL
38952011-10-05 Leo Liu <sdl.web@gmail.com>
3896
3897 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3898 works with buffer object.
3899
3ddfbced
SM
39002011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 * mpc.el (mpc-tool-bar-map): Add labels.
3903
bdfa5dd2
GM
39042011-10-04 Glenn Morris <rgm@gnu.org>
3905
3906 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3907
0e2070b5
MR
39082011-10-04 Martin Rudalics <rudalics@gmx.at>
3909
3910 * window.el (window--delete): New function.
3911 (frame-auto-delete): Resuscitate option.
3912 (bury-buffer, replace-buffer-in-windows)
3913 (quit-window): Rewrite using window--delete.
3914 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3915 Pass display-buffer-mark-dedicated to window--display-buffer-2
3916 (Bug#9639).
3917
3dc61a09
SM
39182011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3919
915a9b64
SM
3920 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3921 returns a list (bug#9554). Add remote file name completion.
3922 * comint.el (comint--table-subvert): Curry and get quote&unquote
3923 functions as arguments.
3924 (comint--complete-file-name-data): Adjust call accordingly.
3925 * pcomplete.el (pcomplete--table-subvert): Remove.
3926 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3927
3dc61a09
SM
3928 * minibuffer.el (completion-table-case-fold): Use currying.
3929 (completion--styles-type, completion--cycling-threshold-type):
3930 New constants.
3931 (completion-styles, completion-category-overrides)
3932 (completion-cycle-threshold): Use them.
3933 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3934 completion-table-case-fold.
3935
8ea0a993
SB
39362011-10-03 Stephen Berman <stephen.berman@gmx.net>
3937
3938 * minibuffer.el (completion-category-overrides): Fix type of styles
3939 and add more user friendly tags (bug#9660).
3940
8c24b7f6
SM
39412011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3942
3943 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3944 (mule-input-method-string): New widget.
3945 (default-input-method, language-info-custom-alist): Use it.
3946
428fe61a
SM
39472011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3948
32c1fffd
SM
3949 * pcomplete.el: Require comint.
3950 (pcomplete--common-suffix): Remove.
3951 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3952 (pcomplete--table-subvert): Sync with comint--table-subvert.
3953 (pcomplete--entries): Use comint-completion-file-name-table.
3954 * comint.el (comint-unquote-filename): Simplify.
3955 (comint-completion-file-name-table): New function (bug#9616).
3956 (comint--complete-file-name-data): Use it.
3957
428fe61a
SM
3958 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3959 (pcmpl-gnu-tar-buffer): Remove.
3960 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
3961 around. Make sure pcomplete-suffix-list is only changed temporarily.
3962 Don't look inside the tar's file if it's too large.
428fe61a 3963
04c52e2f
CY
39642011-10-01 Chong Yidong <cyd@stupidchicken.com>
3965
ce3cefcc
CY
3966 * cus-edit.el (custom-mode-map):
3967 * epa.el (epa-key-list-mode-map):
3968 * man.el (Man-mode-map):
3969 * startup.el (splash-screen-keymap):
3970 * simple.el (special-mode-map): Use scroll-up-command and
3971 scroll-down-command.
3972
3973 * progmodes/idlw-help.el (idlwave-help-mode-map):
3974 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3975 * net/newst-plainview.el (newsticker-mode-map):
3976 * emulation/ws-mode.el (wordstar-mode-map):
3977 * emulation/vi.el (vi-com-map):
3978 * calc/calc-graph.el (calc-graph-show-dumb):
3979 * term/sun.el (terminal-init-sun):
3980 * term/ns-win.el (global-map):
3981 * progmodes/grep.el (grep-mode-map):
3982 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3983 * mail/rmail.el (rmail-mode-map):
3984 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3985
04c52e2f
CY
3986 * custom.el (custom-safe-themes, load-theme): Treat value of t for
3987 custom-safe-themes as special.
3988
79adf8c8
JD
39892011-10-01 Julien Danjou <julien@danjou.info>
3990
3991 * notifications.el (notifications-notify): Fix docstring.
3992
63bd50d3
PS
39932011-10-01 Per Starbäck <per@starback.se>
3994
3995 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
3996
199e4c7e
MR
39972011-09-30 Martin Rudalics <rudalics@gmx.at>
3998
3999 * startup.el (command-line-1): Fix last fix by inserting
4000 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4001 (Bug#9605) and (Bug#9636)
199e4c7e 4002
fe5f08dd
EZ
40032011-09-29 Eli Zaretskii <eliz@gnu.org>
4004
4005 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4006 window is hscrolled, move by logical lines. (Bug#9607)
4007 (line-move-visual): Update the doc string to the above effect.
4008
b5516bbd
MR
40092011-09-29 Martin Rudalics <rudalics@gmx.at>
4010
ccee00c0
MR
4011 * window.el (display-buffer-record-window): When WINDOW is the
4012 selected window use `point' instead of `window-point'. (Bug#9626)
4013
b5516bbd
MR
4014 * startup.el (command-line-1): Use insert-before-markers when
4015 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4016
b5516bbd
MR
4017 * help.el (help-window): Remove variable.
4018
52aa0014
GM
40192011-09-29 Glenn Morris <rgm@gnu.org>
4020
4021 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4022
df9a7357
JB
40232011-09-29 Juanma Barranquero <lekktu@gmail.com>
4024
4025 * descr-text.el (describe-char-categories): Accept category
4026 descriptions more than one line long.
4027
a8406c20
SM
40282011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4029
88d9610c
SM
4030 * simple.el (delete-trailing-whitespace): Fix last change.
4031
a5daf810
SM
4032 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4033 Don't confuse "y => 3" as the beginning of a `y' operation.
4034
a8406c20
SM
4035 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4036 object has more than 4 slots (bug#9613).
4037
a239d4e9
JB
40382011-09-28 Juanma Barranquero <lekktu@gmail.com>
4039
4040 * subr.el (with-output-to-temp-buffer):
4041 * net/quickurl.el (quickurl, quickurl-browse-url):
4042 Fix typos in docstrings.
4043
693fbdb6
EZ
40442011-09-27 Eli Zaretskii <eliz@gnu.org>
4045
4046 * minibuffer.el (completion-styles)
4047 (completion-category-overrides): Cross reference each other in doc
4048 strings.
4049
8b457e28
GM
40502011-09-27 Glenn Morris <rgm@gnu.org>
4051
4052 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4053 to split-string. (Bug#9606)
4054
85a16208
LMI
40552011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4056
4057 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4058 (bug#9615).
4059
502f9ebd
CY
40602011-09-27 Chong Yidong <cyd@stupidchicken.com>
4061
4062 * emacs-lisp/package.el (list-packages): Fix echo area message.
4063
7690bdea
LL
40642011-09-27 Leo Liu <sdl.web@gmail.com>
4065
4066 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4067
e2ee6f30
MA
40682011-09-25 Michael Albinus <michael.albinus@gmx.de>
4069
4070 * net/dbus.el (dbus-unregister-object): Don't release services for
4071 registered signals. (Bug#9581)
4072
f3f98342
TZ
40732011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4074
4075 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4076 function that picks between cfengine 2 and 3 support
4077 automatically. Update docs accordingly.
4078
dd7aa8dd
KH
40792011-09-22 Kenichi Handa <handa@m17n.org>
4080
4081 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4082 ZERO.
4083 (indian-itrans-v5-table-for-tamil): New variable.
4084 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4085
3f2b07f8
KM
40862011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4087
4088 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4089 that's true if the current command involved collapsing of text.
4090 It's reset to false at the beginning of the next command.
4091 (allout-post-command-business): Move the cursor to the beginning
4092 of entry if the cursor is hidden and collapsing activity just
4093 happened.
4094
371d6a61
CY
40952011-09-24 Chong Yidong <cyd@stupidchicken.com>
4096
4097 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4098 tracking (Bug#9541).
4099
2ac2721a
UJ
41002011-09-24 Ulf Jasper <ulf.jasper@web.de>
4101
4102 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4103 (newsticker-show-news): Automatically load html rendering package
4104 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4105 because w3m-fill-column is let-bound" and the error "Symbol's value
4106 as variable is void: w3m-fill-column".
2ac2721a 4107
fac7ae53
MA
41082011-09-24 Michael Albinus <michael.albinus@gmx.de>
4109
4110 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4111 Release services only if they are defined. (Bug#9581)
4112
e08b633b
RS
41132011-09-23 Richard Stallman <rms@gnu.org>
4114
e488d29c
RS
4115 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4116 distinguish start of paragraph from start of its text.
4117
19c38752
RS
4118 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4119
e08b633b
RS
4120 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4121 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4122 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4123
0a39f27e
AS
41242011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4125
4126 * international/mule-diag.el (mule-diag): Insert a newline after
4127 each fontset description.
4128
db4e950d
SM
41292011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4130
4131 * simple.el (delete-trailing-whitespace):
4132 Document last change; simplify.
4133
eca3f3ea
PW
41342011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4135
d68e189a
PW
4136 * simple.el (delete-trailing-whitespace): Also delete
4137 extra newlines at the end of the buffer.
4138
eca3f3ea
PW
4139 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4140 (picture-newline): Use forward-line so as to ignore fields.
4141
01c157cc
SM
41422011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4143
4144 * subr.el (with-wrapper-hook): Fix edebug spec.
4145
022de23e
LMI
41462011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4147
4148 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4149 (bug#4538).
4150
91683089
MA
41512011-09-23 Michael Albinus <michael.albinus@gmx.de>
4152
eca3f3ea
PW
4153 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4154 Fix nasty bug using wrong cached values.
91683089 4155
5bdd6fa4
AM
41562011-09-23 Alan Mackenzie <acm@muc.de>
4157
4158 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4159
97adfb97
CY
41602011-09-23 Chong Yidong <cyd@stupidchicken.com>
4161
4162 * window.el (pop-to-buffer): Ensure right window is selected if we
4163 chose another frame.
4164
d4ef2b50
EZ
41652011-09-22 Eli Zaretskii <eliz@gnu.org>
4166
4167 * simple.el (what-cursor-position): Use get-char-property-change
4168 and next-single-char-property-change, to be able to show display
4169 properties that come from overlays as well as text properties.
4170
72258fe5
CY
41712011-09-22 Chong Yidong <cyd@stupidchicken.com>
4172
4173 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4174
4175 * cmuscheme.el (run-scheme, switch-to-scheme):
4176 * cus-edit.el (customize-group, custom-buffer-create)
4177 (customize-browse):
4178 * info.el (info):
4179 * shell.el (shell):
4180 * mail/sendmail.el (mail):
4181 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4182
8f098516
RS
41832011-09-22 Richard Stallman <rms@gnu.org>
4184
4185 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4186 move back only to line beg, don't move back over blank lines.
4187
e74f1bb6
MA
41882011-09-22 Michael Albinus <michael.albinus@gmx.de>
4189
4190 * files.el (copy-directory): Set directory attributes only in case
4191 they could be retrieved from the source directory. (Bug#9565)
4192
bfeef8b6
DK
41932011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4194
4195 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4196 (hs-find-block-beginning, hs-hide-level-recursive):
4197 Ignore strings as well as comments. (Bug#9502)
4198
7e423bb8
AS
41992011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4200
4201 * progmodes/sql.el (sql-comint-postgres):
4202 Convert port number to a string. (Bug#9566)
4203
b4d72fcf
MR
42042011-09-22 Martin Rudalics <rudalics@gmx.at>
4205
4206 * window.el (quit-window): Undedicate window when switching to
4207 previous buffer. Reported by Thierry Volpiatto
4208 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4209 (special-display-popup-frame): When popping up a new frame reset
4210 its previous buffers to nil. Simplify code.
b4d72fcf 4211
a7b88dc6
MA
42122011-09-21 Michael Albinus <michael.albinus@gmx.de>
4213
4214 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4215 and process filter, as done also in `shell-command'.
4216
cf4eacfd
MR
42172011-09-21 Martin Rudalics <rudalics@gmx.at>
4218
eca3f3ea 4219 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4220 Call set-window-start with NOFORCE argument t.
4221 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4222 (quit-window): Reword doc-string. Handle new format of
4223 quit-restore parameter. Don't delete window if it has a
4224 previous buffer we can show instead of the present one.
4225 (display-buffer-record-window): Rewrite using a new format for
4226 the quit-restore window parameter
4227 (special-display-popup-frame, display-buffer-same-window)
4228 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4229 (display-buffer-pop-up-window, display-buffer-use-some-window):
4230 Adapt symbol passed to display-buffer-record-window.
4231 * help.el (help-window-setup): Handle new format of quit-restore
4232 parameter.
4233
8d28cb95
SM
42342011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4235
94ab793f
SM
4236 * faces.el (face-list): Fix docstring (bug#9564).
4237
8d28cb95
SM
4238 * window.el (display-buffer--action-function-custom-type):
4239 Don't include internal functions in the Custom interface.
4240
3820edeb
JL
42412011-09-20 Juri Linkov <juri@jurta.org>
4242
4243 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4244 (Info-forward-node, Info-backward-node, Info-next-preorder)
4245 (Info-last-preorder): Use it. (Bug#9528)
4246
5147931d
JL
42472011-09-20 Juri Linkov <juri@jurta.org>
4248
4249 * info.el (Info-last-preorder): Visit last menu item only when
4250 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4251
cf499a1a
JD
42522011-09-20 Julien Danjou <julien@danjou.info>
4253
4254 * password-cache.el (password-cache-remove): Remove entries even if the
4255 value is nil, so that password with a nil value (negative caching) is
4256 possible to invalidate.
4257
f84e2fe2
LM
42582011-09-20 Lawrence Mitchell <wence@gmx.li>
4259
4260 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4261 all whitespace around breakpoint. (Bug#9553)
4262 (f90-find-breakpoint): Only break at whitespace inside a comment.
4263
78054a46
SM
42642011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4265
4266 * minibuffer.el (completion-file-name-table): Keep track of errors.
4267 (completion-table-with-predicate): Handle the case where pred1 is nil.
4268 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4269
345083b2
SM
42702011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4271
e24e27be
SM
4272 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4273 (debugger-return-value): Signal an error if the debugging context does
4274 not await any return value.
4275
345083b2
SM
4276 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4277 * image-mode.el (image-toggle-display-text)
4278 (image-toggle-display-image): Stay away from evil `intangible'.
4279
08d355e3
LL
42802011-09-19 Leo Liu <sdl.web@gmail.com>
4281
4282 * replace.el (occur-revert-arguments): Make it permanent-local.
4283 (occur-mode): Don't call font-lock-defontify.
4284
f01da43f
CY
42852011-09-19 Chong Yidong <cyd@stupidchicken.com>
4286
4287 * net/ldap.el (ldap-search-internal): Don't push empty search
4288 result (Bug#9508).
4289
b6072fa6
SM
42902011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4291
4292 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4293
443d6696
MA
42942011-09-19 Michael Albinus <michael.albinus@gmx.de>
4295
4296 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4297 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4298
7cc6e154
JL
42992011-09-18 Juri Linkov <juri@jurta.org>
4300
4301 * buff-menu.el (Buffer-menu-mode-map):
4302 * dired.el (dired-mode-map):
4303 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4304 (lisp-interaction-mode-map):
4305 * emacs-lisp/package.el (package-menu-mode-map):
4306 * epa.el (epa-key-list-mode-map):
4307 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4308 (menu-bar-options-menu):
4309 * outline.el (outline-mode-menu-bar-map):
4310 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4311 * vc/vc-dir.el (vc-dir-menu-map):
4312 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4313 Capitalize non-function content words in menu item strings.
4314
4315 * dired.el (dired-mode-map): Add menu item for
4316 `image-dired-dired-toggle-marked-thumbs'.
4317
80302a81
JL
43182011-09-18 Juri Linkov <juri@jurta.org>
4319
4320 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4321 to `isearch-case-fold-search' and restore its original value
4322 after the `isearch-mode' call.
4323
46c5cf66
JL
43242011-09-18 Juri Linkov <juri@jurta.org>
4325
4326 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4327 because `zgrep' returns 1 for successful matches (bug#9226).
4328
d18b513b
JL
43292011-09-18 Juri Linkov <juri@jurta.org>
4330
4331 * info.el (Info-extract-menu-node-name): Check the second match
4332 for empty string (second test-case of bug#9528).
4333 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4334 intermediate nodes to the history (first test-case of bug#9528).
4335
72753f87
JL
43362011-09-18 Juri Linkov <juri@jurta.org>
4337
4338 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4339 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4340
c9384295
JL
43412011-09-18 Juri Linkov <juri@jurta.org>
4342
1154d12e
JB
4343 * info.el (Info-file-supports-index-cookies):
4344 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4345 outputs one more line for long file names (bug#4142).
c9384295 4346
d473dce8
CY
43472011-09-18 Chong Yidong <cyd@stupidchicken.com>
4348
4349 * newcomment.el (comment-normalize-vars): If prompting for
4350 comment-start, set comment-start-skip too (Bug#8424).
4351
2176854d
JB
43522011-09-18 Johan Bockgård <bojohan@gnu.org>
4353
4354 * icomplete.el: Fix previous fix of Bug#5849.
4355 (icomplete-mode): Don't set completion-show-inline-help.
4356 (icomplete-minibuffer-setup): Set completion-show-inline-help
4357 locally during icompletion.
4358
3aace4e4
CY
43592011-09-18 Chong Yidong <cyd@stupidchicken.com>
4360
c940224f
CY
4361 * woman.el (woman2-process-escapes): Don't delete unrecognized
4362 escapes (Bug#7843).
4363
3aace4e4
CY
4364 * files.el (inhibit-first-line-modes-regexps): Add image files.
4365 (hack-local-variables-prop-line): Return nil for malformed
4366 prop-lines (Bug#9044).
4367
710dec63
MA
43682011-09-18 Michael Albinus <michael.albinus@gmx.de>
4369
4370 * net/tramp.el (top): Don't require 'shell.
4371 (tramp-methods): Fix docstring.
4372 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4373 Return complete remote file name. Handle "smb" case.
4374 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4375 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4376
4377 * net/tramp-compat.el (top): Require 'shell.
4378
4379 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4380 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4381 `tramp-current-host'.
4382 (tramp-get-remote-tmpdir): Remove.
4383
4384 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4385 `tramp-tmpdir' entries.
4386 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4387 (tramp-smb-handle-file-attributes): Ignore errors.
4388 (tramp-smb-wait-for-output): Check also for process end.
4389
5d5ac8ec
LMI
43902011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4391
4392 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4393 when sending QUIT (bug#9312).
4394
8c0f49f0
CY
43952011-09-17 Chong Yidong <cyd@stupidchicken.com>
4396
4397 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4398 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4399 occur-mode-display-occurrence.
4400 (occur-edit-mode): Add usage message.
4401 (occur-cease-edit): New command.
4402 (occur-after-change-function): Use text properties to find the
4403 position of the prefix text.
4404 (occur-engine): Set stickiness of prefix text properties.
4405
8f1383f7
GM
44062011-09-17 Glenn Morris <rgm@gnu.org>
4407
4408 * progmodes/etags.el (complete-tag):
4409 Fix call to completion-in-region. (Bug#9526)
4410
744ba0e3
JL
44112011-09-17 Juri Linkov <juri@jurta.org>
4412
4413 * textmodes/ispell.el (ispell-word): Add to the error message
4414 the word, ispell program name and current dictionary (bug#9121).
4415 (ispell-tex-arg-end): Capitalize "error" in the error message.
4416
d9bbf400
AS
44172011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4418
4419 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4420 check. (Bug#4251)
4421
8da11505
JL
44222011-09-17 Juri Linkov <juri@jurta.org>
4423
4424 * window.el (window-safe-min-height, window-safe-min-width):
4425 Fix typos (followup to bug#9522).
4426
a91adc7e
SJ
44272011-09-17 Sven Joachim <svenjoac@gmx.de>
4428
4429 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4430
064f328a
EZ
44312011-09-16 Eli Zaretskii <eliz@gnu.org>
4432
4433 * simple.el (line-move): If goal-column is set, move by logical
4434 lines, not by display lines. (Bug#971)
4435 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4436 to reflect the above change.
4437
e69df516
SM
44382011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4439
4440 * image.el (imagemagick-register-types): Use regexp-opt.
4441
cbb0f9ab
CY
44422011-09-15 Chong Yidong <cyd@stupidchicken.com>
4443
4444 * window.el (display-buffer-base-action): Rename from
4445 display-buffer-default-action. Make default value empty.
4446 (display-buffer-overriding-action): Convert to defvar.
4447 (display-buffer-fallback-action): New var.
4448
25322144
CY
44492011-09-15 Chong Yidong <cyd@stupidchicken.com>
4450
4451 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4452 declaration.
4453 (package--add-to-archive-contents): If there is a duplicate entry
4454 with an older version, remove it.
4455 (package-menu-mark-delete, package-menu-mark-install)
4456 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4457 (package-menu-mark-obsolete-for-deletion):
4458 Use package-menu-get-status instead of a regexp search.
25322144
CY
4459 (package-menu-get-status): Use tabulated-list-entry.
4460 (package-menu-mark-upgrades): New command.
d770725a 4461 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4462 (package-menu-execute): Do installation before deletion.
4463 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4464 instead of checking major-mode.
4465 (package-menu--find-upgrades): New function.
4466
7520339c
LMI
44672011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4468
4469 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4470 passwords in the log buffer.
65a046c4
LMI
4471 (smtpmail-process-filter): Update the process marker so that the
4472 "broken by peer" status message is inserted in the right place.
7520339c 4473
d3c30954
SM
44742011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4475
3fe48822
SM
4476 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4477 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4478 bibtex-completion-at-point-function.
4479 (bibtex-completion-at-point-function): Use them.
4480
1b8b3954
SM
4481 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4482
d3c30954
SM
4483 * mpc.el (mpc-constraints-tag-lookup): New function.
4484 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4485 also to browser "album|playlist".
4486
72779976
JL
44872011-09-14 Juri Linkov <juri@jurta.org>
4488
4489 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4490 (isearch-edit-string): Use length of `isearch-string' when
4491 `isearch-fail-pos' returns nil.
4492 (isearch-message): Remove duplicate code and call
4493 `isearch-fail-pos' with arg `t'.
4494
a0bf2bcd
CY
44952011-09-14 Chong Yidong <cyd@stupidchicken.com>
4496
17bb0a2d
CY
4497 * replace.el (occur-mode-goto-occurrence): Don't force using other
4498 window (Bug#9499).
4499
a0bf2bcd
CY
4500 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4501
f678e0b6
MR
45022011-09-14 Martin Rudalics <rudalics@gmx.at>
4503
4504 * window.el (display-buffer-window): Remove.
4505 (display-buffer-record-window): Use help-setup window parameter
4506 instead of variable display-buffer-window.
4507 (display-buffer-function, special-display-buffer-names)
4508 (special-display-function): Mention help-setup parameter instead
4509 of display-buffer-window in doc-string.
d3c30954
SM
4510 * help.el (help-window-setup): New argument help-window.
4511 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4512 Reword some messages.
4513 (with-help-window): Pass window used for displaying the buffer
4514 to help-window-setup. Don't set display-buffer-window.
4515
8e39b2e8
GM
45162011-09-13 Glenn Morris <rgm@gnu.org>
4517
4518 * emacs-lisp/debug.el (debugger-make-xrefs):
4519 Preserve point. (Bug#9462)
4520
85e9c04b
CY
45212011-09-13 Chong Yidong <cyd@stupidchicken.com>
4522
4523 * window.el (window-deletable-p): Use next-frame.
4524
1b36ed6a
MR
45252011-09-13 Martin Rudalics <rudalics@gmx.at>
4526
4527 * window.el (window-auto-delete): Remove.
4528 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4529 dedication and previous buffers.
1b36ed6a
MR
4530 (switch-to-prev-buffer): Don't delete window.
4531 (delete-windows-on): Delete a window's frame if and only if the
4532 window is dedicated.
4533 (replace-buffer-in-windows): Delete buffer's window or frame if
4534 and only if window is dedicated.
4535 (quit-window): Handle quit-restore as before last change.
4d61f28d 4536 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4537
ef8ef9fb
CY
45382011-09-13 Chong Yidong <cyd@stupidchicken.com>
4539
4540 * window.el (window-deletable-p): Never delete the last frame on a
4541 given terminal.
4542
b2cba41e
GM
45432011-09-13 Glenn Morris <rgm@gnu.org>
4544
4545 * help.el (describe-key-briefly): Copy previous standard-output change.
4546
51553db6 45472011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4548
4549 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4550
b7556719
GM
45512011-09-13 Glenn Morris <rgm@gnu.org>
4552
4553 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4554 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4555
64b51947
CY
45562011-09-12 Chong Yidong <cyd@stupidchicken.com>
4557
4558 * dired-aux.el (dired-mark-read-string): Don't return default
4559 value on empty input (Bug#9361).
4560 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4561 Omit initial minibuffer contents.
4562 (dired-do-chmod): Signal an error on empty input.
4563 (dired-mark-read-string): Don't return default on empty input.
4564
4565 * files.el (file-modes-symbolic-to-number): Doc fix.
4566
393a301e
SM
45672011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4568
4569 * international/mule-cmds.el (ucs-completions): Remove.
4570 (read-char-by-name): Use complete-with-action instead; add metadata.
4571
fa5660f9
CY
45722011-09-11 Chong Yidong <cyd@stupidchicken.com>
4573
4574 * window.el (display-buffer--action-function-custom-type)
4575 (display-buffer--action-custom-type): New vars.
4576 (display-buffer-alist, display-buffer-default-action)
4577 (display-buffer-overriding-action): Add defcustom types.
4578
4a592f66
CY
4579 * frame.el (delete-other-frames): Doc fix (Bug#276).
4580
73d56dbd
LMI
45812011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4582
4583 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4584
37ac18a3
CY
45852011-09-11 Chong Yidong <cyd@stupidchicken.com>
4586
4587 Change modes that used same-window-* vars to use switch-to-buffer.
4588
4589 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4590 Use switch-to-buffer.
4591
4592 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4593 (customize-browse, custom-buffer-create-other-window):
4594 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4595
4596 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4597 (Info-prev, Info-up, Info-speedbar-goto-node)
4598 (info-display-manual): Use switch-to-buffer.
4599 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4600
4601 * mail/sendmail.el (mail): Use switch-to-buffer.
4602 (mail-recover): Use switch-to-buffer-other-window.
4603
4604 * cmuscheme.el (run-scheme, switch-to-scheme):
4605 * ielm.el (ielm):
4606 * shell.el (shell):
4607 * net/rlogin.el (rlogin):
4608 * net/telnet.el (telnet, rsh):
4609 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4610
10195bd6
AS
46112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4612
4613 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4614
b322f63a
LMI
46152011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4616
39d7fed6
LMI
4617 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4618 so don't mention it (bug#9301).
ba5a81f1 4619 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4620
ee0e9f11
LMI
4621 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4622 match `x', `w32' and `ns', like the manual says (bug#9029).
4623
0b1c89c1 4624 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4625 (process-kill-buffer-query-function): Mention the buffer name in
4626 the query.
0b1c89c1 4627
77549ea8
LMI
4628 * image-mode.el (image-next-line): The line parameter is mandatory
4629 (bug#9258).
4630
803ef892
LMI
4631 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4632 which can be useful (bug#9301).
4633
12980837
LMI
4634 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4635
91054f8f
LMI
4636 * subr.el (match-string): Mention that the current buffer should
4637 be the same as the search was done in (bug#9282).
4638
b322f63a
LMI
4639 * facemenu.el: Disable the remove-* commands if the mark isn't
4640 active (bug#9162).
4641
3199b96f
CY
46422011-09-10 Chong Yidong <cyd@stupidchicken.com>
4643
4644 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4645 of display-buffer.
4646 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4647
4648 * replace.el (occur-mode-goto-occurrence)
4649 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4650 and display-buffer.
4651
4652 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4653 display-buffer.
4654
4655 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4656 special-display and same-window variables.
4657 (mail-other-window): Use switch-to-buffer-other-window.
4658 (mail-other-frame): USe switch-to-buffer-other-frame.
4659
393a301e
SM
4660 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4661 Use display-buffer-other-frame.
3199b96f
CY
4662 (gdb-display-gdb-buffer): Use pop-to-buffer.
4663
4664 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4665
4666 * progmodes/python.el: Don't set same-window-buffer-names.
4667
4668 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4669
4670 * window.el (display-buffer-alist): Add *Python*.
4671
8319e0bf
CY
46722011-09-10 Chong Yidong <cyd@stupidchicken.com>
4673
4674 * window.el (display-buffer-alist): Add entry for buffers
4675 previously handled same-window-*.
4676 (display-buffer-alist, display-buffer-default-action)
4677 (display-buffer-overriding-action): Mark as risky.
4678 (display-buffer-alist): Document action function changes.
4679 (display-buffer--same-window-action)
4680 (display-buffer--other-frame-action): New variables.
4681 (switch-to-buffer, display-buffer-other-frame): Use them.
4682 (display-buffer): Rename reuse-frame entry to reusable-frames.
4683 (display-buffer-reuse-selected-window): Function deleted.
4684 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4685 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4686 (display-buffer-special): New function.
4687 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4688 display-buffer-reuse-or-pop-window. Split off special-display
4689 part into display-buffer-special.
4690 (display-buffer-use-some-window): Don't perform any special
4691 pop-up-frames handling.
4692 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4693 (display-buffer--maybe-same-window): Rename from
0d3ff375 4694 display-buffer-maybe-same-window.
8319e0bf 4695
919a69aa
CY
4696 * info.el: Don't set same-window-regexps.
4697 (info-setup): New function.
4698 (info-other-window, info): Call it.
4699
4700 * cus-edit.el: Don't set same-window-regexps.
4701 (customize-group): New argument.
4702 (customize-group-other-window): Use it.
4703 (customize-face, customize-face-other-window): Likewise.
4704 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4705
8319e0bf
CY
4706 * net/rlogin.el:
4707 * net/telnet.el:
4708 * progmodes/gud.el: Don't set same-window-regexps.
4709
4710 * cmuscheme.el:
4711 * ielm.el:
4712 * shell.el:
4713 * mail/sendmail.el:
4714 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4715
25173000
JL
47162011-09-10 Juri Linkov <juri@jurta.org>
4717
4718 * isearch.el (isearch-edit-string): Remove obsolete mention of
4719 `C-w' (`isearch-yank-word-or-char') from docstring.
4720 (isearch-query-replace): Fix typo in docstring (bug#9466).
4721
056e44ef
JL
47222011-09-10 Juri Linkov <juri@jurta.org>
4723
4724 * paren.el (show-paren-function): Don't show escaped parens.
4725 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4726
c3760c17
EZ
47272011-09-10 Eli Zaretskii <eliz@gnu.org>
4728
4729 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4730 (mm-default-file-encoding): Remove autoload forms, they are
4731 replaced with autoload cookies in mml.el and mm-encode.el.
4732 (mail-add-attachment): New command.
4733 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4734 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4735 the doc string.
4736 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4737
fece895e
RT
47382011-09-10 Reuben Thomas <rrt@sc3d.org>
4739
e69df516
SM
4740 * simple.el (count-words-region): Use buffer if there's no region
4741 (bug#9429).
fece895e 4742
5e68ce4a
JL
47432011-09-09 Juri Linkov <juri@jurta.org>
4744
4745 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4746 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4747 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4748
0a6b9622
AM
47492011-09-09 Alan Mackenzie <acm@muc.de>
4750
4751 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4752 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4753
14a29deb
EZ
47542011-09-09 Eli Zaretskii <eliz@gnu.org>
4755
4756 Fix for Savannah bug#9392.
4757 * simple.el (mail-encode-mml): New defvar.
4758
4759 * mail/rmail.el (mail-encode-mml): Add a defvar.
4760 (rmail-enable-mime-composing): Default to t.
4761 (rmail-forward): Use MIME method of forwarding only if both
4762 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4763 Set mail-encode-mml non-nil if the MIME method was used.
4764
4765 * mail/sendmail.el (mml-to-mime): Add autoload form.
4766 (mail-encode-mml): Add a defvar.
4767 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4768 to nil.
4769 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4770 message through mml-to-mime, and reset mail-encode-mml to nil.
4771
28c45130
GM
47722011-09-09 Glenn Morris <rgm@gnu.org>
4773
4774 * woman.el (woman-if-body): When processing an .el block,
4775 do not delete the next .el block as well. (Bug#9447)
69f4b618 4776 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4777
9b1c252e
MR
47782011-09-08 Martin Rudalics <rudalics@gmx.at>
4779
4780 * window.el (window-deletable-p): Make sure window is live before
4781 invoking window-prev-buffers.
4782
567457e3
LL
47832011-09-08 Leo Liu <sdl.web@gmail.com>
4784
4785 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4786
97f05794
JL
47872011-09-08 Juri Linkov <juri@jurta.org>
4788
4789 * progmodes/compile.el (compilation-environment): Make it
4790 a defcustom (bug#8340).
4791
8b0874b5
MR
47922011-09-08 Martin Rudalics <rudalics@gmx.at>
4793
4794 * window.el (frame-auto-delete): Rename to window-auto-delete.
4795 Make it control auto-deletion of windows and/or frames.
4796 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4797 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4798 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4799 Rewrite handling of case when window/frame can be deleted.
4800 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4801 argument t. (Bug#9456)
8b0874b5 4802
4feb6e73
CY
48032011-09-07 Chong Yidong <cyd@stupidchicken.com>
4804
4805 * help-mode.el (help-mode): Restore autoload.
4806
91ab9c13
JL
48072011-09-07 Juri Linkov <juri@jurta.org>
4808
4809 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4810 `compilation-environment'. Set buffer-local
4811 `compilation-environment' to `thisenv' later after (funcall mode).
4812 (Bug#8340)
4813
4814 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4815 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4816 instead of replacing its value. (Bug#8340)
4817
0527e251
JL
48182011-09-07 Juri Linkov <juri@jurta.org>
4819
4820 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4821 based on text properties put by `grep-filter' instead of matching
4822 escape sequences.
4823 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4824 to the value of `grep-error-screen-columns' (bug#9438).
4825
249f792c
JL
48262011-09-07 Juri Linkov <juri@jurta.org>
4827
4828 * simple.el (next-error-highlight, next-error-highlight-no-select):
4829 Doc fix (bug#9432).
4830
ff7271b9
OT
48312011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4832
4833 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4834 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4835
183fc730
LL
48362011-09-07 Leo Liu <sdl.web@gmail.com>
4837
4838 * net/rcirc.el (rcirc-mode): Conditionally initialize
4839 rcirc-input-ring.
4840
77694924
SM
48412011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4842
4843 * emacs-lisp/find-func.el (find-function-C-source): Only set
4844 find-function-C-source-directory after checking that we found a source
4845 file there (bug#9440).
4846
d809b8eb
AM
48472011-09-06 Alan Mackenzie <acm@muc.de>
4848
4849 * isearch.el (isearch-other-meta-char): Wherever a key list is
4850 unread, "unread" the prefix arg, too. This fixes bug #8901.
4851
453de99f
OG
48522011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4853
4854 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4855
90439906
JL
48562011-09-05 Juri Linkov <juri@jurta.org>
4857
4858 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4859
f62bd846
JL
48602011-09-05 Juri Linkov <juri@jurta.org>
4861
4862 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4863 keeping point where processing of grep matches begins, and
4864 continue to delete remaining escape sequences from the same point.
4865 (grep-filter): Make leading zero optional in "0?1;31m" because
4866 git-grep emits "\033[1;31m" escape sequences unlike expected
4867 "\033[01;31m" as GNU Grep does (bug#9408).
4868 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4869
045820ec
JL
48702011-09-05 Juri Linkov <juri@jurta.org>
4871
4872 * subr.el (y-or-n-p): Capitalize "yes".
4873
f5e29b9b
MA
48742011-09-04 Michael Albinus <michael.albinus@gmx.de>
4875
4876 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4877 `tramp-cache-unload-hook' where appropriate.
4878 (tramp-methods): Rename `tramp-remote-sh' to
4879 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4880 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4881
4882 * net/tramp-sh.el (top): Don't require 'shell.
4883 (tramp-methods): Add `tramp-remote-shell' and
4884 `tramp-remote-shell-args' entries.
4885 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4886 (tramp-sh-handle-shell-command): Remove.
4887 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4888 Use `tramp-remote-shell'.
4889
2784c434
CY
48902011-09-03 Chong Yidong <cyd@stupidchicken.com>
4891
393a301e 4892 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4893 (sendmail-query-once): Save directly to send-mail-function.
4894 Update message-send-mail-function too.
4895
4896 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4897
464cdf56
CS
48982011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4899
4900 * progmodes/python.el (python-mode-map): Use correct function to
4901 start python interpreter from menu-bar (as reported by Geert
4902 Kloosterman).
4903 (inferior-python-mode-map): Fix typo.
393a301e 4904 (python-shell-map): Remove.
464cdf56 4905
d37e5c87
DD
49062011-09-03 Deniz Dogan <deniz@dogan.se>
4907
4908 * net/rcirc.el (rcirc-print): Simplify code for
4909 rcirc-scroll-show-maximum-output. There is no need to walk
4910 through all windows to find the right one.
4911
f3ada0ee
CS
49122011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4913
4914 * help.el (help-return-method): Doc fix.
4915
1f3c99ca
MR
49162011-09-03 Martin Rudalics <rudalics@gmx.at>
4917
4918 * window.el (window-deletable-p): Don't return a non-nil value
4919 when there's a buffer that was shown in the window before.
4920 (Bug#9419)
393a301e
SM
4921 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4922 Set window's previous buffers to nil.
1f3c99ca 4923
a3cf097f
EZ
49242011-09-03 Eli Zaretskii <eliz@gnu.org>
4925
4926 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4927 newline before and after the tag line, so it doesn't interfere
4928 with determining the paragraph direction of bidirectional text.
4929
3d03de90
LL
49302011-09-03 Leo Liu <sdl.web@gmail.com>
4931
4932 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
4933
c3313451
CY
49342011-09-02 Chong Yidong <cyd@stupidchicken.com>
4935
393a301e 4936 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
4937 (pop-to-buffer): Change interactive spec. Pass second argument
4938 directly to display-buffer.
4939 (display-buffer): Fix interactive spec. Use functionp to
4940 distinguish between a function and a list of functions.
4941
4942 * abbrev.el (edit-abbrevs):
4943 * arc-mode.el (archive-extract):
4944 * autoinsert.el (auto-insert):
4945 * bookmark.el (bookmark-bmenu-list):
4946 * files.el (find-file):
4947 * view.el (view-buffer):
4948 * progmodes/compile.el (compilation-goto-locus):
4949 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4950
89894cd8
CY
49512011-09-02 Chong Yidong <cyd@stupidchicken.com>
4952
4953 * window.el (display-buffer-alist): Doc fix.
4954 (display-buffer): Add docstring. Don't treat
4955 display-buffer-default specially.
4956 (display-buffer-reuse-selected-window)
4957 (display-buffer-same-window, display-buffer-maybe-same-window)
4958 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4959 (display-buffer-pop-up-window)
4960 (display-buffer-reuse-or-pop-window)
4961 (display-buffer-use-some-window): New functions.
4962 (display-buffer-default-action): Use them.
393a301e 4963 (display-buffer-default): Delete.
89894cd8
CY
4964 (pop-to-buffer-1): Fix choice of actions.
4965
ae0bc9fb
SM
49662011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 * minibuffer.el (completion--insert-strings): Don't get confused by
4969 completion entries that end with an LF char.
4970
e9d90883
EZ
49712011-09-01 Eli Zaretskii <eliz@gnu.org>
4972
4973 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4974
437014c8
CY
49752011-09-01 Chong Yidong <cyd@stupidchicken.com>
4976
4977 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
4978 (display-buffer-same-window, display-buffer-other-window):
4979 New functions.
437014c8
CY
4980 (pop-to-buffer-1): New function. Use the above.
4981 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 4982 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
4983
4984 * view.el (view-buffer-other-window, view-buffer-other-frame):
4985 Just use pop-to-buffer.
4986
a5e063d5
TV
49872011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4988
4989 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
4990
793d32bb
WH
49912011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
4992
4993 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
4994
d65e4c15
RS
49952011-08-31 Richard Stallman <rms@gnu.org>
4996
4997 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4998 of the separation of rmail-view-buffer from rmail-buffer.
4999 If you say no to "replace original", the decrypt is in the
5000 view buffer. If you say yes, the decrypt goes into the
5001 rmail buffer also.
5002
f818cd2a
MR
50032011-08-31 Martin Rudalics <rudalics@gmx.at>
5004
5005 * window.el (display-buffer-window): Rewrite doc-string.
5006 (display-buffer-record-window): New function.
5007 (display-buffer-macro-specifiers)
5008 (display-buffer-even-window-sizes, display-buffer-set-height)
5009 (display-buffer-set-width, display-buffer-in-window)
5010 (display-buffer-reuse-window, display-buffer-split-specifiers)
5011 (display-buffer-side-specifiers, display-buffer-split-window-1)
5012 (display-buffer-split-window, display-buffer-split-atom-window)
5013 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5014 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5015 (display-buffer-other-window-means-other-frame)
5016 (display-buffer-normalize-special)
5017 (display-buffer-normalize-default)
5018 (display-buffer-normalize-argument)
5019 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5020 (display-buffer-normalize-specifiers, display-buffer-frame)
5021 (display-buffer-same-window, display-buffer-same-frame)
5022 (display-buffer-other-window)
5023 (display-buffer-same-frame-other-window)
5024 (display-buffer-other-frame, pop-to-buffer-same-window)
5025 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5026 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5027 (switch-to-buffer-same-frame)
5028 (switch-to-buffer-other-window-same-frame)
5029 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5030 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5031 (display-buffer-alist-set): Remove.
5032 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5033 (special-display-regexps, special-display-function):
5034 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5035 parameter.
5036 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5037 (special-display-frame-alist, special-display-popup-frame)
5038 (same-window-buffer-names, same-window-regexps, same-window-p)
5039 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5040 (split-window-preferred-function, split-height-threshold)
5041 (split-width-threshold, window-splittable-p)
5042 (split-window-sensibly, window--try-to-split-window)
5043 (window--frame-usable-p, even-window-heights)
5044 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5045 (window--display-buffer-2, display-buffer-other-frame):
5046 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5047 (display-buffer-default, display-buffer-assq-regexp): New functions.
5048 (display-buffer-alist): Rewrite doc-string.
5049 (display-buffer-default-action)
5050 (display-buffer-overriding-action): New variables.
5051 (display-buffer, switch-to-buffer): Rewrite.
5052 (pop-to-buffer): Restore Emacs 23 behavior but use
5053 window-normalize-buffer-to-display.
5054 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5055 Restore Emacs 23 behavior but use
5056 window-normalize-buffer-to-switch-to.
5057 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5058 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5059 Rewrite using Emacs 23 options.
f818cd2a 5060
5bc3b51d
MA
50612011-08-31 Michael Albinus <michael.albinus@gmx.de>
5062
5063 * net/tramp.el (tramp-root-regexp): Remove.
5064 (tramp-completion-file-name-regexp-unified)
5065 (tramp-completion-file-name-regexp-separate)
5066 (tramp-completion-file-name-regexp-url): Don't use leading volume
5067 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5068 (tramp-drop-volume-letter): Simplify definition.
5069 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5070
b1a4f8e1
SM
50712011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5072
5073 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5074 (bug#9356).
5075
5664fa7b
RT
50762011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5077
b1a4f8e1 5078 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5079
9a45d6c3
JL
50802011-08-29 Juri Linkov <juri@jurta.org>
5081
5082 * isearch.el (isearch-done): Don't display message "Mark saved"
5083 when arg `edit' is non-nil to prevent its flicker in the echo area.
5084
fb87e0fb
CY
50852011-08-28 Chong Yidong <cyd@stupidchicken.com>
5086
5087 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5088 obsolete packages for deletion.
5089
09ac1c2a
CS
50902011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5091
5092 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5093 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5094 view-mode from help-mode.
5095 (help-xref-override-view-map): Remove.
5096 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5097 view-mode is not used anymore.
5098
7a1ff57f
CY
50992011-08-28 Chong Yidong <cyd@stupidchicken.com>
5100
5101 * server.el (server-port): Doc fix.
5102
b9696605
CY
5103 * cus-theme.el (custom-theme-choose-mode): Inherit from
5104 special-mode (Bug#9124).
5105 (custom-theme-choose-mode-map): Add special-mode to parent.
5106
ef8cdf8c
AM
51072011-08-28 Alan Mackenzie <acm@muc.de>
5108
5109 * progmodes/cc-fonts.el
5110 (c-make-font-lock-BO-decl-search-function): New function.
5111 (c-basic-matchers-after - "Fontify the clauses after various
5112 keywords"): Extract the three keyword lists for the 3 erroneous
5113 constructs from the list of four, and use the new function above
5114 in place of an old one.
5115
27de4e20
DD
51162011-08-28 Deniz Dogan <deniz@dogan.se>
5117
5118 * net/rcirc.el (rcirc-insert-prev-input)
5119 (rcirc-insert-next-input): Remove unused argument.
5120
356a3681
SM
51212011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5122
5123 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5124
3fc9b218
AM
51252011-08-27 Alan Mackenzie <acm@muc.de>
5126
5127 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5128 handle function pointer parameters properly.
5129
538a061c
MR
51302011-08-27 Martin Rudalics <rudalics@gmx.at>
5131
5132 * window.el (display-buffer-reuse-window): Fix case where
5133 selected window was reused with non-nil OTHER-WINDOW argument.
5134 (Bug#9381)
5135
35b1c40c
DD
51362011-08-27 Deniz Dogan <deniz@dogan.se>
5137
5138 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5139 oftc's NickServ messages.
5140
2f6a3e79
GM
51412011-08-27 Glenn Morris <rgm@gnu.org>
5142
5143 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5144
7254299e
CY
51452011-08-26 Chong Yidong <cyd@stupidchicken.com>
5146
5147 * emacs-lisp/package.el (package-install): Call package-initialize
5148 if called interactively.
5149
f8ccf167
LL
51502011-08-26 Leo Liu <sdl.web@gmail.com>
5151
5152 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5153
3e8cd5ce
JL
51542011-08-25 Juri Linkov <juri@jurta.org>
5155
5156 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5157 `search-whitespace-regexp' (bug#9364).
5158
93eb7113
JL
51592011-08-25 Juri Linkov <juri@jurta.org>
5160
5161 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5162 `regexp-search-ring' to their global values to protect from
5163 updating by `read-from-minibuffer' (bug#9185).
5164
f65d1611
JL
51652011-08-25 Juri Linkov <juri@jurta.org>
5166
5167 * textmodes/ispell.el (ispell-command-loop): Add newline
5168 at the end of the "Use option `i'..." line.
5169
f1cf7a31
JL
51702011-08-25 Juri Linkov <juri@jurta.org>
5171
5172 * battery.el (display-battery-mode): If `battery-status-function'
5173 or `battery-mode-line-format' is nil, display the message and set
5174 `display-battery-mode' to nil (bug#9363).
5175
0c95fcf7
EZ
51762011-08-25 Eli Zaretskii <eliz@gnu.org>
5177
5178 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5179 bidi-string-mark-left-to-right; they are unnecessary now.
5180
a2ebe600
DD
51812011-08-25 Deniz Dogan <deniz@dogan.se>
5182
5183 * net/quickurl.el: Documentation typo fixes.
5184
e4ed06f1
CY
51852011-08-25 Chong Yidong <cyd@stupidchicken.com>
5186
5187 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5188
e5f1c99e
GM
51892011-08-25 Glenn Morris <rgm@gnu.org>
5190
b2948976
GM
5191 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5192
e5f1c99e
GM
5193 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5194 (smtpmail-via-smtp): Handle nil response from smtp.
5195
f22f4808
JL
51962011-08-24 Juri Linkov <juri@jurta.org>
5197
5198 * proced.el (proced-marked): Inherit from `error' instead of
5199 `font-lock-warning-face'.
5200
5201 * ibuffer.el (ibuffer-marked-face): Change default face from
5202 `font-lock-warning-face' to `warning'.
5203 (ibuffer-deletion-face): Change default face from
5204 `font-lock-type-face' to `error'.
5205
5206 * battery.el (battery-update): Use the face `error' instead of
5207 `font-lock-warning-face' (bug#6117).
5208
6a93965e
JL
52092011-08-24 Juri Linkov <juri@jurta.org>
5210
5211 * faces.el (success): Change face color from "Green3" to
5212 "ForestGreen" on light background (bug#9353).
5213
1ed43b09
CY
52142011-08-24 Chong Yidong <cyd@stupidchicken.com>
5215
5664fa7b
RT
5216 * window.el (quit-window): Rename from quit-restore-window.
5217 Use same arglist as old quit-window.
1ed43b09
CY
5218 (frame-auto-delete): Doc fix.
5219
5220 * view.el (view-mode-exit): Use quit-window.
5221
11dcdbb2
JL
52222011-08-24 Juri Linkov <juri@jurta.org>
5223
5224 * isearch.el (isearch-ring-adjust1): Start visiting previous
5225 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5226 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5227 for empty search string (when the last search string is reused
5228 automatically) to adjust the isearch ring to the last element and
5229 prepare the correct index for further M-p commands (bug#9185).
5230
de62b4df
KH
52312011-08-24 Kenichi Handa <handa@m17n.org>
5232
5233 * international/ucs-normalize.el: If decomposition property of
5234 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5235 nil.
5236 (nfd, nfkd): Likewise.
5237
963b492b
SM
52382011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5239
5240 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5241 from process filters aren't reliably transmitted to the surrounding
5242 accept-process-output.
5243 (mpc-proc-check): New function.
5244 (mpc-proc-sync): Use it (bug#8293)
5245
93b6b5e1
SM
52462011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5247
5248 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5249 Add compatibility functions (bug#9313).
5250
bca633fb
EZ
52512011-08-23 Eli Zaretskii <eliz@gnu.org>
5252
b177498a
EZ
5253 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5254
6df6ae42 5255 * international/uni-bidi.el: Regenerate.
bca633fb 5256
0902a04e
KH
52572011-08-23 Kenichi Handa <handa@m17n.org>
5258
5259 * international/charprop.el:
5260 * international/uni-bidi.el:
5261 * international/uni-category.el:
5262 * international/uni-combining.el:
5263 * international/uni-comment.el:
5264 * international/uni-decimal.el:
5265 * international/uni-decomposition.el:
5266 * international/uni-digit.el:
5267 * international/uni-lowercase.el:
5268 * international/uni-mirrored.el:
5269 * international/uni-name.el:
5270 * international/uni-numeric.el:
5271 * international/uni-old-name.el:
5272 * international/uni-titlecase.el:
5273 * international/uni-uppercase.el: Regenerate.
5274
3bbf23bc
MR
52752011-08-23 Martin Rudalics <rudalics@gmx.at>
5276
5277 * help.el (help-window-setup): Fix message displayed when other
5278 window is reused. (Bug#9341)
5279
b3fd59bd
SM
52802011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5281
1802e444
SM
5282 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5283 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5284
b3fd59bd
SM
5285 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5286 Mark obsolete.
5287 * shell.el (shell-parse-pcomplete-arguments): New function.
5288 (shell-completion-vars): Use it instead (bug#9160).
5289
4eb61348
SM
52902011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5291
867cab74
SM
5292 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5293 strings and comments (bug#9333).
5294
4eb61348
SM
5295 * emacs-lisp/debug.el (debug-arglist): New function.
5296 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5297 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5298
262a1439
JL
52992011-08-22 Juri Linkov <juri@jurta.org>
5300
56ee679c
JL
5301 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5302 Revert regexp that highlights output switches to its old
5303 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5304
262a1439
JL
5305 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5306 to check for empty output (bug#9226).
5307
f13f86fb
CY
53082011-08-22 Chong Yidong <cyd@stupidchicken.com>
5309
5310 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5311 symbol-constituent as the default, as that stops font-lock from
5312 working properly (Bug#8843).
5313
c65c9622
LMI
53142011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5315
5316 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5317 `coding-system-for-*' around the process open call to avoid
5318 auth-source side effects.
e7f2c178 5319 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5320 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5321 probe hangs.
c65c9622 5322
23a8a5ab
CY
53232011-08-21 Chong Yidong <cyd@stupidchicken.com>
5324
ff98b2dd
CY
5325 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5326
23a8a5ab
CY
5327 * emacs-lisp/find-func.el (find-function-noselect): New arg
5328 lisp-only.
5329
5330 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5331 signal an error for built-in functions (Bug#6664).
5332
f5e3c598
LMI
53332011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5334
5335 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5336 (smtpmail-try-auth-methods): Use it.
5337
a3f2468a
CY
53382011-08-21 Chong Yidong <cyd@stupidchicken.com>
5339
2c34e8da
CY
5340 * font-lock.el (font-lock-fontify-region)
5341 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5342 (font-lock-default-unfontify-buffer)
5343 (font-lock-default-fontify-region)
5344 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5345
b3fd59bd
SM
5346 * progmodes/compile.el (compilation-error-properties):
5347 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5348 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5349 `ant' regexp.
ee31aabc 5350
a3f2468a
CY
5351 * net/browse-url.el (browse-url-firefox): Don't call
5352 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5353
8e999f70
GM
53542011-08-20 Glenn Morris <rgm@gnu.org>
5355
c21a496a
GM
5356 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5357
59ee0542
GM
5358 * tutorial.el (tutorial--default-keys): Update some default bindings.
5359
8e999f70
GM
5360 * files.el (hack-local-variables): Fully ignore case for "mode:".
5361
e3715033
AM
53622011-08-20 Alan Mackenzie <acm@muc.de>
5363
5364 Resolve invalid use of a regexp in regexp-opt.
5365
4d61f28d
JB
5366 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5367 detection for a java annotation.
e3715033 5368
4d61f28d 5369 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5370 detection for a java annotation.
5371
4d61f28d
JB
5372 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5373 handling for java.
e3715033
AM
5374 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5375
04ed2e9c
CY
53762011-08-20 Chong Yidong <cyd@stupidchicken.com>
5377
5378 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5379 (Bug#9274).
5380
826cee64
AM
53812011-08-20 Alan Mackenzie <acm@muc.de>
5382
58179cce 5383 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5384 such a construct. Mainly for when jit-lock etc. starts a chunk
5385 here.
5386
58179cce 5387 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5388 variable.
58179cce 5389 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5390 c-make-font-lock-search-function.
5391 (c-make-font-lock-search-function): Use the above function.
5392 (c-make-font-lock-context-search-function): New function.
5393 (c-cpp-matchers): Enhance the preprocessor expression case with
5394 the above function
5395 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5396 which takes an expression.
5397
5398 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5399
13009bd8
MR
54002011-08-20 Martin Rudalics <rudalics@gmx.at>
5401
5402 * window.el (display-buffer-reuse-window)
5403 (display-buffer-pop-up-window): Don't reuse or split a side
5404 window.
5405
9234ff7f
GM
54062011-08-19 Glenn Morris <rgm@gnu.org>
5407
5408 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5409 Downcase "Mode:". (Bug#9331)
9234ff7f 5410
f635daa1
CY
54112011-08-18 Chong Yidong <cyd@stupidchicken.com>
5412
5413 * international/characters.el: Add L and R categories.
5414
5415 * subr.el (bidi-string-mark-left-to-right): Rename from
5416 string-mark-left-to-right. Use category search.
5417
5418 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5419
bc987f8b
JL
54202011-08-18 Juri Linkov <juri@jurta.org>
5421
5422 * faces.el (error, warning, success): New faces with definitions
5423 copied from old default values of `font-lock-warning-face',
5424 `compilation-warning', `compilation-info' (bug#6117).
5425
5426 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5427
5428 * progmodes/compile.el (compilation-error): Inherit from `error'.
5429 (compilation-warning): Inherit from `warning'.
5430 (compilation-info): Inherit from `success'.
5431
5432 * dired.el (dired-marked): Inherit from `warning'.
5433 (dired-flagged): Inherit from `error'.
5434
57173b96
LMI
54352011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5436
3e79eb87
LMI
5437 * mail/smtpmail.el (auth-source): Require to avoid problems with
5438 binding variables (bug#9298). Also clean up some unused
5439 autoloads.
5440
b3fd59bd
SM
5441 * net/network-stream.el (network-stream-open-starttls):
5442 Support using starttls.el without using gnutls-cli.
57173b96 5443
02b404de
JL
54442011-08-17 Juri Linkov <juri@jurta.org>
5445
5446 * progmodes/grep.el (rgrep): Handle the case when
5447 `grep-find-command' is a cons cell (bug#9278).
5448
8c9177f2
MR
54492011-08-17 Martin Rudalics <rudalics@gmx.at>
5450
5451 * window.el (display-buffer-pop-up-frame): Run frame creation
5452 function with BUFFER current (as special-display-popup-frame
5453 does). Reported by Drew Adams.
5454
3644a0ab
DU
54552011-08-17 Daiki Ueno <ueno@unixuser.org>
5456
5457 * epa-mail.el: Simplify GnuPG group expansion using
5458 epg-expand-group.
5459 (epa-mail-group-alist, epa-mail-group-modtime)
5460 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5461 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5462 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5463 Remove.
5464
5e617bc2 54652011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5466
5467 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5468
9c4aeabf
AM
54692011-08-16 Alan Mackenzie <acm@muc.de>
5470
5471 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5472 Correct, to avoid the inside of macros.
5473
3a99bf64
RS
54742011-08-16 Richard Stallman <rms@gnu.org>
5475
04963aa8
RS
5476 * epa-mail.el: Handle GnuPG group definitions.
5477 (epa-mail-group-alist, epa-mail-group-modtime)
5478 (epa-mail-gnupg-conf-file): New variables.
5479 (epa-mail-parse-groups, epa-mail-sync-groups)
5480 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5481 (epa-mail-expand-recipients): New functions.
5482 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5483
177549d0
RS
5484 * mail/rmail.el (rmail-epa-decrypt): New command.
5485
fe38beef
RS
5486 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5487 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5488 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5489 (epa-decrypt-armor-in-region): Make error message clearer.
5490
934eacb9
SM
54912011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5492
5493 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5494 and "a2b" to "ab" for `prefix'.
5495
d024fb4e
CY
54962011-08-14 Chong Yidong <cyd@stupidchicken.com>
5497
5498 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5499 filter groups.
de148fee
CY
5500 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5501 Fourquet (Bug#8804).
d024fb4e 5502
62f1ca49
JB
55032011-08-12 Juanma Barranquero <lekktu@gmail.com>
5504
5505 * startup.el (argi): Declare as global variable (bug#9275).
5506
9ccaaa4b
CY
55072011-08-12 Chong Yidong <cyd@stupidchicken.com>
5508
5509 * subr.el (string-mark-left-to-right): Search the entire string
5510 for RTL script, not just the terminating character. Doc fix.
5511
a3dae87a
SM
55122011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5513
6cd18349
SM
5514 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5515 New function.
5516 (js--regexp-literal, js-syntax-propertize-function): Remove.
5517 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5518 (js-mode-map): Don't rebind electric keys.
5519 (js-insert-and-indent): Remove.
5520 (js-mode): Setup electric-layout and electric-indent instead.
5521
a3dae87a
SM
5522 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5523
9d5cb631
DU
55242011-08-12 Daiki Ueno <ueno@unixuser.org>
5525
5526 * epa.el (epa-progress-callback-function): Fix the logic of
5527 displaying progress.
5528 * epa-file.el (epa-file-insert-file-contents): Make progress
5529 display more user-friendly.
5530 (epa-file-write-region): Ditto.
5531
3e26a4a2
CY
55322011-08-10 Chong Yidong <cyd@stupidchicken.com>
5533
5534 * subr.el (string-mark-left-to-right): New function.
5535
5536 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5537 Use string-mark-left-to-right.
5538 (list-buffers-noselect): Caller changed.
5539
a3dae87a
SM
5540 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5541 Use string-mark-left-to-right.
3e26a4a2
CY
5542 (tabulated-list-print): Recenter after moving point.
5543
ac8cf6e6
JL
55442011-08-10 Juri Linkov <juri@jurta.org>
5545
5546 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5547 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5548 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5549
8d96c9a4
CY
55502011-08-09 Chong Yidong <cyd@stupidchicken.com>
5551
5552 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5553 (Bug#7554).
5554
7be1c708 55552011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5556
5557 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5558 character. (Bug#6594)
5559
37e11a63
CY
55602011-08-08 Chong Yidong <cyd@stupidchicken.com>
5561
839dde57
CY
5562 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5563 (image-dired--with-db-file): New macro.
5564 (image-dired-write-tags, image-dired-remove-tag)
5565 (image-dired-create-gallery-lists, image-dired-write-comments)
5566 (image-dired-get-comment, image-dired-mark-tagged-files)
5567 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5568 (image-dired-gallery-generate): Use insert-file-contents.
5569
37e11a63
CY
5570 * time.el (display-time-world-list, display-time-world-display):
5571 * time-stamp.el (time-stamp-string):
5572 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5573 set-time-zone-rule (Bug#7337).
5574
0b4946c4
DU
55752011-08-08 Daiki Ueno <ueno@unixuser.org>
5576
5577 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5578 (epg-error-to-string, epg-errors-to-string): New function.
5579 (epg-wait-for-completion): Reverse errors list.
5580 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5581 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5582 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5583 (epg-sign-keys, epg-generate-key-from-file)
5584 (epg-generate-key-from-string): Format errors by using
5585 epg-errors-to-string (bug#9255).
5586 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5587
75bfc667
JL
55882011-08-07 Juri Linkov <juri@jurta.org>
5589
5590 * faces.el (list-faces-display): Remove extra angle bracket
5591 from `help-mode-map'.
5592
5593 * info.el (Info-history-toc-nodes): Doc fix.
5594
5595 * longlines.el (longlines-mode): Doc fix.
5596
673e08bb
SM
55972011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5598
4640dd88
SM
5599 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5600 of statements and in a few more cases (bug#9183).
5601
673e08bb
SM
5602 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5603 New functions.
5604 (cl-transform-lambda): Use them (bug#9239).
5605
89b3f019
MR
56062011-08-05 Martin Rudalics <rudalics@gmx.at>
5607
5608 * window.el (display-buffer-same-window)
5609 (display-buffer-same-frame, display-buffer-other-window)
5610 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5611 (pop-to-buffer-other-window)
5612 (pop-to-buffer-same-frame-other-window)
5613 (pop-to-buffer-other-frame): Make them defuns.
5614 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5615
640c8776
SM
56162011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5617
5618 * subr.el (make-composed-keymap): Move from C. Change calling
5619 convention, and improve docstring to bring attention to a subtle point.
5620 * minibuffer.el (completing-read-default): Adjust accordingly.
5621
63648a95
MA
56222011-08-03 Michael Albinus <michael.albinus@gmx.de>
5623
5624 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5625 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5626
5627 * net/trampver.el: Update release number.
5628
b796c9b7
SM
56292011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5630
5631 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5632 "in" (bug#9190).
5633
2239d7d5
LMI
56342011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5635
e07dd7c3
LMI
5636 * mail/sendmail.el (sendmail-query-once): Restore the current
5637 buffer after querying (bug#9074).
5638
0e6a2bd7
LMI
5639 * dired.el (dired-flagged): Use different faces for marked and
5640 flagged files (bug#6117).
5641
ce887515
LMI
5642 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5643 (bug#4433).
5644
92f2affc
LMI
5645 * ido.el (ido-mode): Switch off the message if called
5646 non-interactively.
5647
57d5aff0
LMI
5648 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5649 before 587, since it appears that that's more likely to work for
5650 more people.
5651
98cd6c18 5652 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5653 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5654 exist.
5655
b96dec83
LMI
5656 * info.el: Remove the `Info-beginning-of-buffer' function
5657 (bug#8325).
5658
b796c9b7
SM
5659 * net/network-stream.el (network-stream-open-starttls):
5660 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5661
d90e2ea0
MR
56622011-08-01 Martin Rudalics <rudalics@gmx.at>
5663
5664 * window.el (display-buffer-in-window): Don't set dedicated status
5665 of window here (Bug#9215).
5666 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5667 (display-buffer-pop-up-side-window)
b796c9b7 5668 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5669
cca09170
SM
56702011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5673 before binding generated-autoload-file.
5674
027b979c
DD
56752011-08-01 Deniz Dogan <deniz@dogan.se>
5676
5677 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5678
3c7ee4f3
MA
56792011-07-30 Michael Albinus <michael.albinus@gmx.de>
5680
5681 Sync with Tramp 2.2.2.
5682
5683 * net/trampver.el: Update release number.
5684
2cc8e51a
JL
56852011-07-30 Juri Linkov <juri@jurta.org>
5686
5687 * dired-aux.el (dired-touch-initial): Remove function.
5688 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5689 current time, and `default' to the last modification time of the
5690 current marked file (bug#6887).
5691
a514d856
JM
56922011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5693
5694 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5695 numeric argument to read-number (bug#9163).
a514d856 5696
8a7eddd7
MA
56972011-07-27 Michael Albinus <michael.albinus@gmx.de>
5698
5699 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5700 connection process, it could be nil.
5701
1ddd96f5
LL
57022011-07-27 Leo Liu <sdl.web@gmail.com>
5703
5704 Simplify url handling in rcirc-mode.
5705
5706 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5707 (rcirc-browse-url-at-mouse): Remove.
5708 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5709
b248a85d
AM
57102011-07-26 Alan Mackenzie <acm@muc.de>
5711
5712 Fontify bitfield declarations properly.
5713
5714 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5715 (c-symbol-chars): Now exported as a lang variable.
5716 (c-not-primitive-type-keywords): New lang variable.
5717
5718 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5719 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5720 parsed as a bitfield declaration.
b248a85d 5721
b796c9b7
SM
5722 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5723 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5724 (c-punctuation-in): New function.
5725 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5726 declarations properly.
5727
68575ab0
UJ
57282011-07-26 Ulf Jasper <ulf.jasper@web.de>
5729
5730 * calendar/icalendar.el (icalendar--all-events): Take care of
5731 multiple vcalendars in a single file.
b796c9b7 5732 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5733
0f0a88b9
DD
57342011-07-25 Deniz Dogan <deniz@dogan.se>
5735
5736 * image.el (insert-image): Clarifying docstring.
5737
0b3f36df
MA
57382011-07-24 Michael Albinus <michael.albinus@gmx.de>
5739
5740 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5741 `tramp-send-command-and-check' if there is no error.
5742 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5743
a9901f61
AM
57442011-07-22 Alan Mackenzie <acm@muc.de>
5745
5746 Prevent cc-langs.elc being loaded at run time.
5747
5748 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5749 cc-langs.
5750
4d61f28d 5751 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5752 "(require 'cc-langs)". Quote a form so it will evaluate at
5753 (cc-mode's) compilation time.
5754
11d074b2
MA
57552011-07-22 Michael Albinus <michael.albinus@gmx.de>
5756
5757 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5758 loading. (Bug#9114)
5759
938b94c8
MR
57602011-07-21 Martin Rudalics <rudalics@gmx.at>
5761
5762 * window.el (display-buffer-pop-up-window)
5763 (display-buffer-pop-up-side-window)
5764 (display-buffer-in-side-window): Call display-buffer-set-height
5765 and display-buffer-set-width after setting the new window's
b796c9b7 5766 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5767
bfa4f190
SS
57682011-07-20 Sam Steingold <sds@gnu.org>
5769
5770 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5771 (etags-tags-included-tables): Call `convert-standard-filename' on
5772 the file names contained in TAGS so that windows Emacs can handle
5773 TAGS files created by cygwin ctags.
5774
8ca42262
LMI
57752011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5776
5777 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5778 which apparently didn't work.
5779
5db2afd2 57802011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5781
5db2afd2
RW
5782 * proced.el (proced-send-signal): For *Marked Processes* buffer
5783 put point at beginning of buffer.
5784
92e15d10
SB
57852011-07-19 Stephen Berman <stephen.berman@gmx.net>
5786
5787 * proced.el (proced-format): Make header lines align with the text
5788 (bug#1779).
5789
1bfd59e5
LMI
57902011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5791
5792 * view.el (view-buffer): Allow running in `special' modes if we're
5793 visiting a file (bug#8615).
5794
f5aae37c
MR
57952011-07-19 Martin Rudalics <rudalics@gmx.at>
5796
5797 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5798 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5799 New functions.
f5aae37c
MR
5800 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5801 more accurately.
5802
bf2c1571
AM
58032011-07-18 Alan Mackenzie <acm@muc.de>
5804
5805 Fontify declarators properly when, e.g., a jit-lock chunk begins
5806 inside a declaration.
5807
5808 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5809
b796c9b7
SM
5810 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5811 New function.
bf2c1571
AM
5812 (c-complex-decl-matchers): Insert reference to
5813 c-font-lock-enclosing-decls.
5814
5815 * progmodes/cc-engine.el (c-backward-single-comment):
5816 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5817 to nil around calls to (forward-comment -1).
5818
4e190b80
LMI
58192011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5820
12dc863d
LMI
5821 * image.el (put-image): Doc typo fix.
5822
a762e966
LMI
5823 * progmodes/etags.el (tags-search): Doc typo fix.
5824
4e190b80
LMI
5825 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5826 password if we get errors 550 to 554.
5827
f019fb21
LMI
58282011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5829
b796c9b7 5830 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5831
81746738
LMI
5832 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5833 indentation character (bug#6380).
5834
3ee3a1b5
LMI
5835 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5836
c82f64de
LMI
5837 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5838 to clarify what the problem is (bug#4291).
5839
f019fb21
LMI
5840 * simple.el (current-kill): Clarify what
5841 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5842 (auto-fill-mode): Document `auto-fill-function' in relation to
5843 `auto-fill-mode' (bug#2470).
f019fb21 5844
0794775d
LM
58452011-07-16 Lawrence Mitchell <wence@gmx.li>
5846
5847 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5848 method if slot is read-only (bug#9035).
5849
be39b8cc
MR
58502011-07-16 Martin Rudalics <rudalics@gmx.at>
5851
b796c9b7 5852 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5853 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5854 selected before, see discussion of (Bug#8615), (Bug#6954).
5855 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5856
6ccf7859
GM
58572011-07-15 Glenn Morris <rgm@gnu.org>
5858
5859 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5860 Respect help-form.
6ccf7859 5861
87e86684
LM
58622011-07-09 Lawrence Mitchell <wence@gmx.li>
5863
5864 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5865 (gnutls-negotiate): Use it.
5866
d6066239
LMI
58672011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5868
b796c9b7
SM
5869 * net/gnutls.el (gnutls-negotiate):
5870 Upcase `gnutls-algorithm-priority'.
d6066239 5871
bd23ebc0
GM
58722011-07-15 Glenn Morris <rgm@gnu.org>
5873
c65bca65
GM
5874 * jka-compr.el (jka-compr-verbose): Move from here...
5875 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5876 Add missing :version tag.
5877 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5878
478615cc
LMI
58792011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5880
7b41decb
LMI
5881 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5882 (gnutls-negotiate): Use it.
5883
dbc44fcd
LMI
5884 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5885
06789f97
LMI
5886 * info.el (Info-beginning-of-buffer): New command.
5887 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5888 announcing `b' as the key (bug#8325).
ab896c37 5889 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5890
c39da690
LMI
5891 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5892
3aa5f34b
LMI
5893 * international/mule-cmds.el
5894 (describe-specified-language-support): Make the error message
5895 clearer (bug#8905).
5896
4bf0979f
LMI
5897 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5898
478615cc
LMI
5899 * isearch.el (isearch-barrier): Add a doc string, since it's
5900 mentioned in a function doc string (bug#8678).
5901
75c68aa1
MR
59022011-07-15 Martin Rudalics <rudalics@gmx.at>
5903
5904 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5905 buffer argument (Bug#9083) and self-identifying label argument.
5906
a7c33da2
GM
59072011-07-15 Glenn Morris <rgm@gnu.org>
5908
5909 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5910
2f5c6024
LMI
59112011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5912
5913 * man.el (Man-fontify-manpage): Fix message when formatting the
5914 man page (bug#7929).
5915
0bb23927 59162011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
5917
5918 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5919 argument LRM; if non-nil, append an invisible LRM character to the
5920 buffer name.
5921 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5922 last argument non-nil, when formatting buffer names.
0bb23927
EZ
5923 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5924 paragraph direction.
cce4b0a7 5925
621ef9ab
LMI
59262011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5927
d1583c48
LMI
5928 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5929 the man page name (bug#7929).
5930
6a57fb5f
LMI
5931 * image.el (put-image): Mention the `put-image' overlay property
5932 (bug#7834).
5933
d7956b14
LMI
5934 * scroll-bar.el (set-scroll-bar-mode): Mention that
5935 `scroll-bar-mode' lists the values (bug#7772).
5936
5b2d4a66
LMI
5937 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5938 command (bug#7729).
5939
7509a874
LMI
5940 * rect.el (apply-on-rectangle): Return the point after the last
5941 operation.
5942 (string-rectangle): Go to the point after the last operation
5943 (bug#7522).
5944
4fe74b19
LMI
5945 * printing.el (pr-toggle-region): Clarify the documentation
5946 slightly (bug#7493).
5947
b796c9b7
SM
5948 * time.el (display-time-update):
5949 Allow `display-time-mail-function' to return nil (bug#7158).
5950 Fix suggested by Detlev Zundel.
ab283561 5951
fc233c9d
LMI
5952 * vc/diff.el (diff): Clarify the order the file names are read
5953 (bug#7111).
5954
43f5740b
LMI
5955 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5956 the doc string (bug#7015).
5957
f2182a76
LMI
5958 * font-lock.el (font-lock-maximum-decoration): Mention what
5959 numeric levels mean (bug#6935).
5960
621ef9ab
LMI
5961 * startup.el (initial-buffer-choice): Don't mention the `none'
5962 selection, which is against policy.
5963
adc47434
MR
59642011-07-14 Martin Rudalics <rudalics@gmx.at>
5965
b796c9b7
SM
5966 * window.el (display-buffer-normalize-special):
5967 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 5968
7e5bfb8f
EZ
59692011-07-14 Eli Zaretskii <eliz@gnu.org>
5970
5971 * subr.el (version<, version<=, version=): Mention "-CVS" and
5972 "-12345" alpha version numbers.
5973
27fa387a
CY
59742011-07-14 Chong Yidong <cyd@stupidchicken.com>
5975
5976 * bindings.el: Add advertised binding for set-mark-command
5977 (Bug#5772).
5978
8bdfa064
CY
59792011-07-14 Chong Yidong <cyd@stupidchicken.com>
5980
5981 * bindings.el (mode-line-other-buffer):
5982 * bookmark.el (bookmark-bmenu-2-window):
5983 * bs.el (bs-cycle-next, bs-cycle-previous):
5984 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5985 switch-to-buffer.
5986
5987 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 5988 Delete.
8bdfa064 5989
5eba16a3
JB
59902011-07-14 Juanma Barranquero <lekktu@gmail.com>
5991
5992 * follow.el (follow-debug-message, follow-redisplay):
5993 * jka-cmpr-hook.el (with-auto-compression-mode):
5994 Fix typos in docstrings.
5995
15853710
LMI
59962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5997
a28e4607
LMI
5998 * subr.el (with-silent-modifications): Clarify somewhat what the
5999 macro inhibits (bug#6525).
6000
15853710
LMI
6001 * simple.el (eval-expression): Note what it does if called
6002 interactively (bug#6495).
6003
bee0fcef
CY
60042011-07-13 Chong Yidong <cyd@stupidchicken.com>
6005
b796c9b7
SM
6006 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6007 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6008
6009 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6010 Remove switch-to-buffer.
6011
58274504
LMI
60122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6013
bd2fcc8d
LMI
6014 * files.el (make-directory): Clarify that an error will be raised
6015 if there's an error (bug#6397).
6016
0f04b32c
LMI
6017 * startup.el (initial-buffer-choice): Add `none' as a choice
6018 (bug#6234).
6019
465c5fc8
LMI
6020 * subr.el (add-hook): Clarify section about buffer-local hooks
6021 (bug#6218).
6022
58274504
LMI
6023 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6024
bead9a43
JB
60252011-07-13 Juanma Barranquero <lekktu@gmail.com>
6026
6027 * tabify.el (untabify): Preserve the current column so that point
6028 doesn't move (bug#6032).
6029
3af98a7b
LMI
60302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6031
b796c9b7
SM
6032 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6033 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6034
6240145a
GM
60352011-07-13 Glenn Morris <rgm@gnu.org>
6036
6037 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6038 (dired-insert-directory): Give a message the first time
6039 if ls is found not to support --dired.
6040
1d8c2ccc
LMI
60412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6042
6043 * simple.el (toggle-truncate-lines): Clarify what is toggled
6044 (bug#5580). Text by Drew Adams.
6045
5fc4038e
CY
60462011-07-13 Chong Yidong <cyd@stupidchicken.com>
6047
6048 * simple.el (blink-matching-open): Make the error message from the
6049 last change less verbose.
6050
bf6012e5
DN
60512011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6052
6053 * font-lock.el (font-lock-comment-face): Use the high contrast
6054 "yellow" color for font-lock-comment-face on low color terminals
6055 using a dark background color (bug#4221).
6056
343c3b5a
LMI
60572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6058
7e9505c5
LMI
6059 * dired.el (dired-insert-set-properties): Make the doc string
6060 reflect what it does now (bug#5325).
6061
c26fdcf5
LMI
6062 * simple.el (blink-matching-open): Say that we were unable to find
6063 the match within the limit, if we're limited (bug#5122).
6064
bb388cc5
LMI
6065 * international/mule-cmds.el (prefer-coding-system): Add an
6066 example (bug#4869).
6067
343c3b5a
LMI
6068 * progmodes/etags.el (tags-search): Document `file-list-form'
6069 (bug#4731).
6070
2a517d45
LM
60712011-07-13 Lawrence Mitchell <wence@gmx.li>
6072
6073 * net/browse-url.el (browse-url-default-browser)
6074 (browse-url-browser-function): Make the default browser choice a
6075 bit more logical (bug#4300). Also clean up the doc string.
6076
b6c78ef2
JB
60772011-07-13 Juanma Barranquero <lekktu@gmail.com>
6078
6079 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6080 binary endings (bug#4440).
6081
1c4dd947
LMI
60822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6083
a2014063
LMI
6084 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6085 which can be pretty annoying (bug#8971).
6086
9c9c2d88
LMI
6087 * jka-compr.el (jka-compr-verbose): New variable, and use
6088 throughout (bug#8971).
6089
1c4dd947
LMI
6090 * info.el (Info-find-file): Fall back on the installation
6091 directory if we can't find the info node anywhere else.
6092
a1c9f41b
SO
60932011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6094
6095 * vc/vc.el (vc-revert-file):
6096 Don't set file time-stamp in the past. (Bug#5181)
6097
536f3d36
LMI
60982011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6099
7152b011
LMI
6100 * files.el (after-find-file): Give a better error message when
6101 trying to find a symlink that points to a file that doesn't exist
6102 (bug#4398).
6103
536f3d36
LMI
6104 * progmodes/cc-vars.el: Remove (probably) misleading comment
6105 (bug#4396).
6106
460c0fba
JB
61072011-07-12 Johan Bockgård <bojohan@gnu.org>
6108
6109 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6110
7a6bda45
CY
61112011-07-12 Chong Yidong <cyd@stupidchicken.com>
6112
6113 * mouse-sel.el: Hack restoring functionality, while keeping
6114 compatibility with 2010-07-03 changes to mouse selection.
6115 (mouse-sel-primary-overlay): New var.
6116 (mouse-sel-selection-alist): Use it.
6117 (mouse-sel-mode): Doc fix; remove points that are default features
6118 of mouse.el.
6119
c79598ef
JB
61202011-07-12 Johan Bockgård <bojohan@gnu.org>
6121
6122 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6123 Fix previous fix (bug#2490).
6124
ff8be6ef
RW
61252011-07-12 Roland Winkler <winkler@gnu.org>
6126
b796c9b7
SM
6127 * textmodes/bibtex.el (bibtex-initialize):
6128 Use pop-to-buffer-same-window.
ff8be6ef
RW
6129 (bibtex-search-entries): Fix interactive call.
6130
296ba3ee
LMI
61312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6132
f5242a02 6133 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6134 Fontise bytecomp Error lines more correctly (bug#2490).
6135 Fix suggested by Johan Bockgård.
f5242a02 6136
296ba3ee
LMI
6137 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6138
6139 * dired-x.el (dired-guess-default): Use `delete-dups'.
6140
f69fd0d2
CY
61412011-07-12 Chong Yidong <cyd@stupidchicken.com>
6142
6143 * dired.el (dired-mark-prompt):
6144 * dired-aux.el (dired-read-shell-command): Doc fix.
6145
eab5dc07
LMI
61462011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6147
b796c9b7
SM
6148 * mail/sendmail.el (sendmail-query-once):
6149 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6150 emacs -Q.
6151
6152 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6153
eab5dc07
LMI
6154 * cus-edit.el (custom-file): Take an optional no-error variable.
6155 (customize-save-variable): Set the variable, and give a warning if
6156 running under "emacs -q".
6157
a1e65d42
JB
61582011-07-11 Juanma Barranquero <lekktu@gmail.com>
6159
6160 * loadhist.el (unload-feature-special-hooks):
6161 Add `auto-coding-functions', `fill-nobreak-predicate' and
6162 `find-directory-functions' (bug#5327).
6163
1d52da10
LMI
61642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6165
be958f1d
LMI
6166 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6167
5bedb26c
LMI
6168 * cus-edit.el (custom-guess-name-alist): -alist variables should
6169 use the `alist' type (bug#3120). Suggested by Drew Adams.
6170
1d52da10
LMI
6171 * printing.el: Add documentation to all the `pr-toggle-' commands.
6172
cd394be1 61732011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6174
6175 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6176 backends where it makes sense (bug#2623).
6177
dcc88d8a
LMI
61782011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6179
c3de9feb
LMI
6180 * dired-x.el (dired-guess-default): Remove duplicate shell command
6181 entries (bug#2028).
8a93078b 6182 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6183 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6184
dcc88d8a
LMI
6185 * subr.el (remove-duplicates): New conveniency function.
6186
505e3645
LMI
61872011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6188
6189 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6190 (bug#1526).
6191
61922011-07-10 Martin Rudalics <rudalics@gmx.at>
6193
6194 * window.el (display-buffer-normalize-default): Don't invert
6195 meaning of even-window-heights. Reported by Eli Zaretskii
6196 <eliz@gnu.org>.
6197
455e4fa1
BR
61982011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6199
6200 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6201
8e0bc3e9
CY
62022011-07-10 Chong Yidong <cyd@stupidchicken.com>
6203
6204 * window.el (display-buffer): Fix arguments to
6205 display-buffer-reuse-window in last change.
6206
fa7c3228
CY
6207 * faces.el (link): Use a less saturated blue on light backgrounds.
6208
6209 * startup.el (fancy-startup-text, fancy-about-text)
6210 (fancy-startup-tail): Use font-lock faces, for background safety.
6211
c0a7f300
BN
62122011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6213
b796c9b7
SM
6214 * emulation/viper-cmd.el (viper-change-state-to-vi):
6215 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6216
4dc2a129
MR
62172011-07-09 Martin Rudalics <rudalics@gmx.at>
6218
6219 * window.el (display-buffer-default-specifiers): Remove.
6220 (display-buffer-macro-specifiers): Remove default specifiers.
6221 (display-buffer-alist): Default to nil.
b796c9b7 6222 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6223 (display-buffer-pop-up-window): Allow splitting internal
6224 windows. Check whether a live window was created.
6225 (display-buffer-other-window-means-other-frame)
6226 (display-buffer-normalize-arguments): Rename to
6227 display-buffer-normalize-argument and rewrite. Set the
6228 other-window specifier.
6229 (display-buffer-normalize-special): New function.
6230 (display-buffer-normalize-options): Rename to
6231 display-buffer-normalize-default and rewrite.
6232 (display-buffer-normalize-options-inhibit): Remove.
6233 (display-buffer-normalize-specifiers): Rewrite.
6234 (display-buffer): Process other-window specifier and call
6235 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6236 more faithfully.
b796c9b7 6237 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6238 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6239 (display-buffer-in-window, display-buffer-alist-set):
6240 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6241 <tassilo@member.fsf.org>.
6242
2d43b8c9
LL
62432011-07-09 Leo Liu <sdl.web@gmail.com>
6244
6245 * register.el (insert-register): Restore accidental change on
6246 2011-06-26. (Bug#9028)
6247
7f9b7c53
GM
62482011-07-09 Glenn Morris <rgm@gnu.org>
6249
6250 * subr.el (remq): Handle the empty list. (Bug#9024)
6251
f042cfd8
AS
62522011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6253
6254 * mail/sendmail.el (send-mail-function): No longer delay custom
6255 initialization.
6256 * custom.el (custom-initialize-delay): Doc fix.
6257
856b2f11
SM
62582011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6259
6260 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6261
afae1d68
MA
62622011-07-08 Michael Albinus <michael.albinus@gmx.de>
6263
6264 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6265 human-friendly prompt.
6266
0757af94
SM
62672011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6270 provided by a particular plugin.
6271
d760b731
LMI
62722011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6273
6274 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6275 save customizations (with "emacs -Q"), just set the variable
6276 instead of erroring out.
6277
6278 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6279
cd79ce90
JL
62802011-07-08 Juri Linkov <juri@jurta.org>
6281
6282 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6283 (archive-zip-update-case): Use 7z if found by `executable-find'.
6284 The order of searching the available programs is the same as in
6285 `archive-zip-extract' (bug#8968).
6286
14cc04aa
CY
62872011-07-07 Chong Yidong <cyd@stupidchicken.com>
6288
6289 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6290 (menu-bar-options-menu): Tweak descriptions.
6291
0a1848ec
LMI
62922011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6293
6294 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6295 menu items into verb phrases (bug#1421). Also refill to fit under
6296 80 columns.
6297
f5bd0689
CY
62982011-07-07 Chong Yidong <cyd@stupidchicken.com>
6299
538e85c6
CY
6300 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6301 (Info-read-node-name): Doc fix (Bug#1084).
6302
f5bd0689
CY
6303 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6304 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6305 (end-of-sexp, beginning-of-sexp)
6306 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6307 (forward-symbol, forward-same-syntax, word-at-point)
6308 (sentence-at-point): Doc fix (Bug#1144).
6309
56ec5115
LMI
63102011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6311
f3f8e37f
LMI
6312 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6313 should cover it (bug#1281).
6314
0757af94 6315 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6316
e9fce1ac 6317 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6318 negotiation fails, then possibly try again with a non-encrypted
6319 connection (bug#9017).
6320
56ec5115
LMI
6321 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6322 be used.
6323
c2f9aec8
RS
63242011-07-07 Richard Stallman <rms@gnu.org>
6325
6326 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6327 property, and handle its changed format.
6328 Look for the correct line number.
6329 Use file's line contents (but not past first =) to find
6330 correct line in message.
6331
ef7b981d 63322011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6333
6334 * international/characters.el (build-unicode-category-table):
6335 Delete it.
0757af94 6336 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6337
0757af94 6338 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6339 to src/chartab.c.
6340 (get-char-code-property): Call unicode-property-table-internal to
6341 load a file. Call get-unicode-property-internal where necessary.
6342 (put-char-code-property): Call unicode-property-table-internal to
6343 load a file. Call put-unicode-property-internal where necessary.
6344 put-unicode-property-internal where necessary.
0757af94
SM
6345 (char-code-property-description):
6346 Call unicode-property-table-internal to load a file.
c805dec0
KH
6347
6348 * international/charprop.el:
6349 * international/uni-bidi.el:
6350 * international/uni-category.el:
6351 * international/uni-combining.el:
6352 * international/uni-comment.el:
6353 * international/uni-decimal.el:
6354 * international/uni-decomposition.el:
6355 * international/uni-digit.el:
6356 * international/uni-lowercase.el:
6357 * international/uni-mirrored.el:
6358 * international/uni-name.el:
6359 * international/uni-numeric.el:
6360 * international/uni-old-name.el:
6361 * international/uni-titlecase.el:
6362 * international/uni-uppercase.el: Regenerate.
6363
6364 * loadup.el: Load international/charprop.el before
6365 international/characters.
6366
e14b388a
CY
63672011-07-07 Chong Yidong <cyd@stupidchicken.com>
6368
6369 * window.el (next-buffer, previous-buffer): Signal an error if
6370 called from a minibuffer window.
6371
6372 * bindings.el: Revert 2011-07-04 change.
6373
354cf0ba
RS
63742011-07-06 Richard Stallman <rms@gnu.org>
6375
6376 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6377 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6378 Treat markers like ints.
6379 (rmail-mime-entity): Doc fix.
6380
a48868a7
LMI
63812011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6382
4906cd3d
LMI
6383 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6384 defcustom again for backwards compatibility.
6385
e0457abe
LMI
6386 * simple.el (shell-command-on-region): Fill.
6387
d67f7e1f
LMI
6388 * dired-aux.el (dired-kill-line): Add a doc string.
6389
fe204702
LMI
6390 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6391 to "\\sw\\|\\s_" (bug#358).
6392
a48868a7
LMI
6393 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6394 (dired-unmark-backward): Ditto.
6395 (dired-flag-backup-files): Ditto.
6396
6397 * dired-x.el (dired-mark-sexp): Ditto.
6398
aa8a705c
RS
63992011-07-06 Richard Stallman <rms@gnu.org>
6400
6401 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6402 (rmail-mime-entity): New arg TRUNCATED.
6403 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6404 New functions.
6405 (rmail-mime-save): Warn if entity is truncated.
6406 (rmail-mime-toggle-hidden): Likewise, for showing.
6407 (rmail-mime-process-multipart): Record when an entity is truncated.
6408
a9a936b9
RS
6409 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6410 if ENTITY is a string.
6411
1f2b92cb
LMI
64122011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6413
f4f73198 6414 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6415 of faces when `M-C-x'-ing their definitions (bug#8378).
6416 Also clean up the code slightly.
f4f73198 6417
12b16734 6418 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6419 because that makes the colors go away.
12b16734 6420
f0691d22
LMI
6421 * mail/sendmail.el (send-mail-function): Change the default to
6422 `sendmail-query-once'.
9e87df06 6423 (sendmail-query-once): Add an autoload cookie.
f0691d22 6424
1f2b92cb
LMI
6425 * net/network-stream.el (network-stream-open-starttls): Try using
6426 a plain connection even if the server offered STARTTLS, and we
6427 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6428 capability. This should make smtpmail.el work in slightly more
6429 configurations.
6430
1cdd2a1b
MA
64312011-07-06 Michael Albinus <michael.albinus@gmx.de>
6432
6433 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6434 New defun.
6435 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6436
fbcc67e2
MM
64372011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6438
6439 * progmodes/sql.el: Version 3.0
0757af94 6440 (sql-product-alist): Add product :completion-object,
fbcc67e2 6441 :completion-column, and :statement attributes.
0757af94 6442 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6443 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6444 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6445 ansi keywords.
6446 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6447 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6448 (sql-oracle-show-reserved-words): New function for development.
6449 (sql-product-font-lock): Simplify for source code buffers.
6450 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6451 New functions.
6452 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6453 (sql-mode-map): Add statement movement functions.
6454 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6455 New variable.
fbcc67e2
MM
6456 (sql-statement-regexp, sql-beginning-of-statement)
6457 (sql-end-of-statement, sql-signum): New functions.
0757af94 6458 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6459 (sql-show-sqli-buffer): Bug fix.
6460 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6461 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6462 with sql-interactive-mode.
6463 (sql-save-connection): Save buffer local settings.
0757af94 6464 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6465 (sql-product-interactive): Bug fix.
6466 (sql-preoutput-hold): New variable.
6467 (sql-interactive-remove-continuation-prompt): Bug fixes.
6468 (sql-debug-redirect): New variable.
6469 (sql-str-literal): New function.
6470 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6471 Redesign.
fbcc67e2
MM
6472 (sql-oracle-save-settings, sql-oracle-restore-settings)
6473 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6474 (sql-completion-object, sql-completion-column)
6475 (sql-completion-sqlbuf): New variables.
6476 (sql-build-completions-1, sql-build-completions)
6477 (sql-try-completion): New functions.
6478 (sql-read-table-name): Use them.
6479 (sql-contains-names): New buffer local variable.
6480 (sql-list-all, sql-list-table): Use it.
6481 (sql-oracle-completion-types): New variable.
6482 (sql-oracle-completion-object, sql-sqlite-completion-object)
6483 (sql-postgres-completion-object): New functions.
6484
d4eaeab1
GM
64852011-07-06 Glenn Morris <rgm@gnu.org>
6486
6487 * window.el (pop-to-buffer): Doc fix.
6488
322b7dab 64892011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6490
6491 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6492
322b7dab 64932011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6494
322b7dab 6495 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6496
322b7dab 6497 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6498
605dd5bf
CY
64992011-07-05 Chong Yidong <cyd@stupidchicken.com>
6500
6501 * button.el (button): Inherit from link face. Suggested by Dan
6502 Nicolaescu.
6503
7dbfa719
SM
65042011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6505
3db614b0
SM
6506 * progmodes/gdb-mi.el: Fit in 80 columns.
6507 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6508 switch-to-buffer.
6509
7dbfa719
SM
6510 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6511 if imenu is simply not configured (bug#8941).
6512
919d884a
KM
65132011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6514
6515 * allout.el (allout-post-undo-hook): New allout outline-change
6516 event hook to signal undo activity.
6517 (allout-post-command-business): Run allout-post-undo-hook if an
6518 undo just occurred.
7dbfa719
SM
6519 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6520 * allout-widgets.el (allout-widgets-after-undo-function):
6521 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6522 in the vicinity of an undo.
6523 (allout-widgets-mode): Include allout-widgets-after-undo-function
6524 on the new allout-post-undo-hook.
6525
450a0f09
SM
65262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6527
6528 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6529 Let define-derived-mode define it.
6530 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6531 cycles of abbrev-table inheritance (bug#8998).
6532
2de69e00
RW
65332011-07-05 Roland Winkler <winkler@gnu.org>
6534
6535 * textmodes/bibtex.el: Add support for biblatex.
6536 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6537 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6538 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6539 (bibtex-entry-alist, bibtex-field-alist): New variables.
6540 (bibtex-entry-field-alist): Obsolete alias for
6541 bibtex-BibTeX-entry-alist.
6542 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6543 (bibtex-set-dialect): New command.
6544 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6545 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6546 Bind via bibtex-set-dialect.
2de69e00
RW
6547 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6548 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6549 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6550 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6551 Define via bibtex-set-dialect.
450a0f09
SM
6552 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6553 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6554 (bibtex-vec-push, bibtex-vec-incr): New functions.
6555 (bibtex-format-entry, bibtex-field-list)
6556 (bibtex-print-help-message, bibtex-validate)
6557 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6558
2dcdbdd9
SM
65592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6560
6561 * progmodes/compile.el (compilation-goto-locus):
6562 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6563 * bs.el (bs-cycle-next, bs-cycle-previous):
6564 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6565 * bindings.el (mode-line-other-buffer):
6566 * autoinsert.el (auto-insert):
6567 * arc-mode.el (archive-extract):
6568 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6569
b27640fe
JB
65702011-07-05 Juanma Barranquero <lekktu@gmail.com>
6571
6572 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6573 Fix check of `emacs-lock-unlockable-modes'.
6574 Coerce true values of `emacs-lock--try-unlocking' to t.
6575
53bbe3ad
JB
65762011-07-05 Juanma Barranquero <lekktu@gmail.com>
6577
6578 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6579 * emacs-lock.el: New file.
6580
1d3cdbc7
JD
65812011-07-05 Julien Danjou <julien@danjou.info>
6582
6583 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6584 than `boundp' to check if face is set.
6585
9173deec
JB
65862011-07-05 Juanma Barranquero <lekktu@gmail.com>
6587
6588 * register.el (registerv-make):
6589 * window.el (window-min-height): Fix typos in docstrings.
6590
869795d6
JD
65912011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6592
9173deec 6593 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6594 Update doc string.
6595
b768cdcd
JB
65962011-07-04 Juanma Barranquero <lekktu@gmail.com>
6597
6598 * server.el (server-execute): Catch quit and call
6599 `server-return-error' to pass the error back to emacsclient and
6600 close the connection (bug#8942).
6601
13aa217b
KM
66022011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6603
6604 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6605 insecure exception for current topic. Also note that auto-saves
6606 are handled differently.
6607
6608 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6609 State variables for tracking auto-save inhibition situation.
6610
6611 (allout-write-contents-hook-handler): Rename from
6612 'allout-write-file-hook-handler', and describe how it depends on
6613 write-contents-functions sensitivity to non-nil value to prevent
6614 file write.
6615
6616 (allout-auto-save-hook-handler): Remove. auto-save does not check
6617 this in individual buffers, only in the starting buffer, so this
6618 is not the right way for us to inhibit auto-save in a buffer
6619 according to its condition.
6620
6621 (allout-mode): Use new allout-write-contents-hook-handler, and
6622 only with write-contents-functions. Remove auto-save provisions -
6623 they're implemented elsewhere.
6624
6625 (allout-before-change-handler): If undo is in progress, note that
6626 for attention of allout-post-command-business.
6627
6628 (allout-post-command-business): If the command we're following was
6629 an undo, check for change in the status of encrypted items and
6630 adjust auto-save inhibitions accordingly.
6631
6632 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6633 according to whether there are or aren't any plain-text topics
6634 pending encryption.
6635
2dcdbdd9 6636 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6637 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6638 if there are plain-text topics pending encryption.
13aa217b
KM
6639
6640 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6641 buffer-saved-size and some allout state to not inhibit auto-saves
6642 if there are no longer any plain-text topics pending encryption.
6643
0757af94
SM
6644 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6645 No longer provide for exemption of the current topic.
13aa217b 6646
ac89b32c
JL
66472011-07-04 Juri Linkov <juri@jurta.org>
6648
6649 Add 7z operations to delete and save changed members (bug#8968).
6650 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6651 New defcustoms.
6652 (archive-7z-write-file-member): New function.
6653 (archive-7z-summarize): Fix the number of dashes in the
6654 listing output.
6655
8fa39615
SM
66562011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6657
6658 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6659 (bug#8958).
6660
2f11b3f1
CY
66612011-07-04 Chong Yidong <cyd@stupidchicken.com>
6662
d66fef2b
CY
6663 * bindings.el: Ignore next-buffer and previous-buffer in
6664 minibuffer-local-map.
6665
2f11b3f1
CY
6666 * font-lock.el (font-lock-builtin-face): Change light background
6667 color to dark slate blue (Bug#6693).
6668
f932a347
WD
66692011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6670
6671 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6672
c8af70e1
SM
66732011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6674
6675 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6676 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6677 Add switch-to-buffer.
6678
f158badc
LMI
66792011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6680
6681 * isearch.el (isearch-search-fun-function): Clarify further the
6682 meaning of the function returned.
6683
6d95bd46
MA
66842011-07-04 Michael Albinus <michael.albinus@gmx.de>
6685
6686 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6687
6688 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6689 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6690 Use it.
6691 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6692 `tramp-default-remote-path' does not exist.
6693 (tramp-send-command-and-read): New optional argument NOERROR.
6694 (tramp-open-connection-setup-interactive-shell)
6695 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6696 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6697 (tramp-process-sentinel): Flush also process' connection property.
6698 (tramp-sh-handle-start-file-process): Do not set process
6699 sentinel. It is done now ...
6700 (tramp-maybe-open-connection): ... here. (Bug#8929)
6701
909e6b67
MK
67022011-07-04 MON KEY <monkey@sandpframing.com>
6703
6704 * play/animate.el (animate-string): Doc fixes and allow changing
6705 the buffer name (bug#5417).
6706
67072011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6708
c8af70e1 6709 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6710
f34755dc
PE
67112011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6712
396cec72
PE
6713 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6714 This is simpler and helps future-proof the code.
6715 (timer-until): Use time-subtract and float-time.
08235028 6716 (timer--time-less-p): Use time-less-p.
f34755dc 6717
56e6cc31
JB
67182011-07-04 Juanma Barranquero <lekktu@gmail.com>
6719
3abb79e5
JB
6720 * type-break.el (timep): Use the value of `float-time' to avoid a
6721 byte-compiler warning.
6722
56e6cc31
JB
6723 * server.el (server-eval-and-print): Return any result, even nil.
6724
7b9430b4
PE
67252011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6726
6727 * type-break.el: Accept time formats that the builtins accept.
6728 (timep, type-break-time-difference): Accept any format that
6729 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6730 This is simpler and helps future-proof the code.
6731 (type-break-time-difference): Round rather than ignoring
6732 subseconds components.
6733
3034e9e7
LMI
67342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6735
6736 * info.el (Info-apropos-matches): Make non-interactive, since it
6737 doesn't seem to do anything useful as a command (bug#8829).
6738
1485f4c0
CY
67392011-07-03 Chong Yidong <cyd@stupidchicken.com>
6740
6741 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6742 Move from faces.el.
1485f4c0
CY
6743 (frame-default-terminal-background): New function.
6744
6745 * custom.el (custom-push-theme): Don't record faces in `changed'
6746 theme; this doesn't work correctly for per-frame face settings.
6747 (disable-theme): Use face-set-after-frame-default to reset faces.
6748 (custom--frame-color-default): New function.
6749
9fa3dd45
LMI
67502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6751
c8af70e1 6752 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6753 (bug#8769).
6754
6cbbc20c
KR
67552011-03-29 Kevin Ryde <user42@zip.com.au>
6756
6757 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6758 `perl-Test2' extend to match possible "fail #N" rep count
6759 (bug#8377).
6760
c7f98048
LMI
67612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6762
65676592
LMI
6763 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6764 `smtpmail-via-smtp' now returns the error instead of nil.
6765
c7f98048
LMI
6766 * isearch.el (isearch-search-fun-function): Clarify the doc string
6767 (bug#8101).
6768
56e6cc31 67692011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6770
6771 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6772 unnecessary spaces (bug#8987).
6773
2b216704
LMI
67742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6775
6776 * net/network-stream.el (open-network-stream): Use the
6777 :end-of-capability command thoughout.
6778
67792011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6780
6781 * net/network-stream.el (open-network-stream): Add the
6782 :end-of-capability command parameter, used by pop3.el.
6783
36adf6ce
LMI
67842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6785
1ca0da0e
LMI
6786 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6787
fc00f69c
LMI
6788 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6789 for list)" (bug#6475).
6790
28fd8759 6791 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6792 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6793 an error (bug#6297).
6794
0dd8b6da
LMI
6795 * man.el (Man-reference-regexp): Allow matching possible
6796 word-wrapped references (bug#6289).
6797
ce1438d6
LMI
6798 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6799 for consistency with the other vc buffers (bug#6197).
6800 (vc-checkin): Ditto.
6801
6802 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6803
36adf6ce
LMI
6804 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6805
e83cc1f7
LMI
68062011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6807
8a20ca4c
LMI
6808 * custom.el (defcustom): Clarify that :set is only used in the
6809 Customize user interface (bug#6089).
6810
83319045
LMI
6811 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6812 associated with a file, refuse to run instead of erroring out
6813 (bug#6084).
6814
a8392169
LMI
6815 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6816 the doc string, since it appears that using `fill-column' always
6817 controls the width (bug#7845).
6818
e83cc1f7
LMI
6819 * simple.el (shell-command-on-region): Say where the error output
6820 went if `shell-command-default-error-buffer' is set (bug#6857).
6821
e47ca23b
KM
68222011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6823
6824 * allout.el (allout-yank-processing): Adjust cursor position for
6825 backwards-deleted space.
6826
6827 (allout-rebullet-heading): Register changes with
6828 allout-exposure-changed-hook, so the modified topic is properly
6829 decorated.
6830
5cf56143
LMI
68312011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6832
08549772
LMI
6833 * minibuffer.el (completion-in-region): Document PREDICATE
6834 (bug#7136).
6835
48e96771
LMI
6836 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6837 of keyword/argument pairs (bug#6904).
6838
c8af70e1
SM
6839 * replace.el (multi-occur):
6840 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6841
e17d05e2
LMI
68422011-07-02 Drew Adams <drew.adams@oracle.com>
6843
6844 * dired.el (dired-mark-if): Make the message about whether it's
6845 marking or unmarking clearer (bug#8523).
6846
063b0e45
LMI
68472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6848
6849 * disp-table.el (display-table-print-array): New function.
6850 (describe-display-table): Use it to print the vectors more pretty
6851 (Bug#8859).
6852
28545e04
MR
68532011-07-02 Martin Rudalics <rudalics@gmx.at>
6854
6855 * window.el (window-state-get-1): Don't assign clone numbers.
6856 Add clone-of item to list of window parameters.
6857 (window-state-put-2): Don't process clone numbers.
6858 (display-buffer-alist): Fix doc-string.
6859
3349e122
SM
68602011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6861
6862 * subr.el (remq): Don't allocate if it's not needed.
6863 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6864 (keymap--merge-bindings): New functions.
6865 (keymap-canonicalize): Use them to refine the canonicalization.
6866 * minibuffer.el (minibuffer-local-completion-map)
6867 (minibuffer-local-must-match-map): Move initialization from C.
6868 (minibuffer-local-filename-completion-map): Move initialization from C;
6869 don't inherit from anything here.
6870 (minibuffer-local-filename-must-match-map): Make obsolete.
6871 (completing-read-default): Use make-composed-keymap to combine
6872 minibuffer-local-filename-completion-map with either
6873 minibuffer-local-must-match-map or
6874 minibuffer-local-filename-completion-map.
6875
d224ac83
GM
68762011-07-01 Glenn Morris <rgm@gnu.org>
6877
3de63bf8
GM
6878 * type-break.el (type-break-time-sum): Use dolist.
6879
d224ac83
GM
6880 * textmodes/flyspell.el (flyspell-word-search-backward):
6881 Replace CL function.
6882
1a1e3f32
SM
68832011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6884
fe3f64d5
SM
6885 * mouse.el (mouse--strip-first-event): New function.
6886 (function-key-map): Use it to map fringe clicks to normal clicks
6887 by default.
6888
eb604e34
SM
6889 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6890 (vc-bzr-revision-completion-table): Add support for annotate and date.
6891
1a1e3f32
SM
6892 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6893 inherit from parent.
6894
5bd35902
LMI
68952011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6896
ace6c69c 6897 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 6898 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 6899
191e2bed
LMI
6900 * dired.el (dired-mode): Fix up the doc string as suggested by
6901 Drew Adams (bug#8817).
6902
5bd35902
LMI
6903 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6904 cookie, since the manual says that it should be possible to add
6905 this function to `find-file-hook' (bug#8709).
6906
eee8207a
TZ
69072011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6908
6909 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6910 here. Noted Ted Zlatanov as the maintainer.
6911 (cfengine-common-settings, cfengine-common-syntax): New functions
6912 to set up common things between `cfengine-mode' and
6913 `cfengine3-mode'.
6914 (cfengine3-mode): New mode.
6915 (cfengine3-defuns cfengine3-defuns-regex
6916 (cfengine3-class-selector-regex cfengine3-category-regex)
6917 (cfengine3-vartypes cfengine3-font-lock-keywords)
6918 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 6919 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 6920
36b148cf
MA
69212011-07-01 Michael Albinus <michael.albinus@gmx.de>
6922
6923 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6924
6925 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6926
0bf4ba9a
MR
69272011-07-01 Martin Rudalics <rudalics@gmx.at>
6928
6929 * window.el (same-window-buffer-names, same-window-regexps)
6930 (same-window-p, special-display-frame-alist)
6931 (special-display-popup-frame, special-display-function)
6932 (special-display-buffer-names, special-display-regexps)
6933 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6934 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6935 (split-window-preferred-function, split-height-threshold)
6936 (split-width-threshold, even-window-heights)
6937 (display-buffer-mark-dedicated, window-splittable-p)
6938 (split-window-sensibly, window-safely-shrinkable-p):
6939 Un-obsolete.
6940 (display-buffer): Don't spread args with function specifier
6941 because special-display-popup-frame won't like it.
6942
35837f51
PE
69432011-07-01 Paul Eggert <eggert@cs.ucla.edu>
6944
d0672f86
PE
6945 Time-stamp simplifications and fixes.
6946 These improve accuracy slightly, and future-proof the code
6947 against some potential changes to current-time format.
6948
b9444d97
PE
6949 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6950 by using time-since and float-time.
6951
0ef923dc
PE
6952 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6953 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
6954 + NNN microseconds".
6955
2f81380d
PE
6956 * type-break.el (type-break-time-sum): Rewrite using time-add.
6957
845b5c3e
PE
6958 * play/hanoi.el (hanoi-current-time-float): Remove.
6959 All uses replaced by float-time.
6960
ee6f1be0
PE
6961 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6962 This yields a more-accurate answer.
6963 (rng-time-to-float): Remove; no longer needed.
6964
fe955043
PE
6965 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6966
5777162a
PE
6967 * calendar/timeclock.el (timeclock-seconds-to-time):
6968 Defalias to seconds-to-time, since they're the same thing.
6969
3103f8b6 6970 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 6971 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
6972 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6973
0e61a35f
SM
69742011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6975
6976 * window.el (bury-buffer): Don't iconify the only frame.
6977 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6978 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
6979
ddd63a1e
CY
69802011-07-01 Chong Yidong <cyd@stupidchicken.com>
6981
0e61a35f
SM
6982 * eshell/em-smart.el (eshell-smart-display-navigate-list):
6983 Add mouse-yank-primary.
ddd63a1e 6984
055f4923
TZ
69852011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6986
6987 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6988
6a2fb145
SM
69892011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6990
6991 * emacs-lisp/find-func.el (find-library--load-name): New fun.
6992 (find-library-name): Use it to find relative load names when provided
6993 absolute file name (bug#8803).
6994
fd4983f2
LMI
69952011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6996
887d14ad
LMI
6997 * textmodes/flyspell.el (flyspell-word): Consider words that
6998 differ only in case as potential doublons (bug#5687).
6999
c53dc7fc
LMI
7000 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7001 Remove two rather uninteresting debugging-like messages to make
7002 debbugs.el more silent.
7003
fd4983f2
LMI
7004 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7005 a password-like phrase.
7006
7a71b18d 70072011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7008
7009 * progmodes/cc-guess.el: New file.
7010
6a2fb145 7011 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7012
7013 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7014 derived from `c-basic-common-init'.
7015
7016 * progmodes/cc-mode.el (top-level): Require cc-guess.
7017 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7018
1fa280a3
LM
70192011-06-30 Lawrence Mitchell <wence@gmx.li>
7020
7021 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7022
e6597158
AM
70232011-06-30 Alan Mackenzie <acm@muc.de>
7024
1fa280a3
LM
7025 * progmodes/cc-engine.el (c-guess-continued-construct):
7026 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7027 lock is disabled. Name this case as "CASE G".
7028
68ba37fb
KM
70292011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7030
7031 * allout.el (allout-yank-processing): Fix injection of extra space
7032 between bullet and non-whitespace character in first topic when
7033 pasting, ensuring that the actual spacing in the pasted topic
7034 following the bullet char is preserved. This extra space was
7035 causing pasted encrypted topics to get a decrypted status even
7036 when the content was actually still encrypted. Now the decryption
7037 status from before the paste is preserved.
7038
7039 (allout-flag-region): Set all allout overlays so they evaporate
7040 when reduced to zero length (evanescent), to prevent overlay
7041 leakage.
7042
887a0b34
GM
70432011-06-30 Glenn Morris <rgm@gnu.org>
7044
94b9acce
GM
7045 * w32-fns.el (w32-charset-info-alist): Declare.
7046
1d9b46d4
GM
7047 * find-dired.el (find-grep-options): Simplify.
7048
cc232200
GM
7049 * term/ns-win.el (ns-set-resource): Declare.
7050
28e77c46
GM
7051 * ses.el (row, col): Declare dynamic variables honestly.
7052
887a0b34
GM
7053 * textmodes/reftex-parse.el (index-tags): Declare.
7054
658d8eb8
CY
70552011-06-30 Chong Yidong <cyd@stupidchicken.com>
7056
7057 * cus-edit.el (customize-push-and-save): New function.
7058
7059 * files.el (hack-local-variables-confirm): Use it.
7060
1fa280a3
LM
7061 * custom.el (load-theme): New arg NO-CONFIRM.
7062 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7063 (custom-enabled-themes): Doc fix.
7064
7065 * cus-theme.el (customize-create-theme)
7066 (custom-theme-merge-theme): Callers to load-theme changed.
7067
bb617717
LMI
70682011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7069
d61bdd5d
LMI
7070 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7071 short URLs have at least one dot in them (bug #7614).
7072
bb617717
LMI
7073 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7074 nil, because using a pty is apparently too slow (bug #895).
7075
2f31f37a
LMI
70762011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7077
7078 * mail/sendmail.el (sendmail-query-once): New function.
7079 (sendmail-query-once-function): New variable.
7080
3076b24e
GM
70812011-06-29 Glenn Morris <rgm@gnu.org>
7082
faf2a174
GM
7083 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7084
3076b24e
GM
7085 * ses.el (top-level): Require cl when compiling.
7086 (ses-set-localvars): Fix error statement.
7087 Call it at compile time to silence a storm of warnings.
7088
5386012d
MR
70892011-06-29 Martin Rudalics <rudalics@gmx.at>
7090
7091 * window.el (normalize-live-buffer): Rename to
7092 window-normalize-buffer.
7093 (normalize-live-frame): Rename to window-normalize-frame.
7094 (normalize-any-window): Rename to window-normalize-any-window.
7095 (normalize-live-window): Rename to window-normalize-live-window.
7096 (make-window-atom): Rename to window-make-atom.
7097 (window-resize-reset): Rename to window--resize-reset.
7098 (window-resize-reset-1): Rename to window--resize-reset-1.
7099 (resize-mini-window): Rename to window--resize-mini-window.
7100 (resize-subwindows-skip-p): Rename to
7101 window--resize-subwindows-skip-p.
7102 (resize-subwindows-normal): Rename to
7103 window--resize-subwindows-normal.
7104 (resize-subwindows): Rename to window--resize-subwindows.
7105 (resize-other-windows): Rename to window--resize-siblings.
7106 (resize-this-window): Rename to window--resize-this-window.
7107 (resize-root-window): Rename to window--resize-root-window.
7108 (resize-root-window-vertically): Rename to
7109 window--resize-root-window-vertically.
7110 (normalize-buffer-to-display): Rename to
7111 window-normalize-buffer-to-display.
7112 (normalize-buffer-to-switch-to): Rename to
7113 window-normalize-buffer-to-switch-to.
7114 Correspondingly update all callers of the functions listed
7115 above.
7116 (display-buffer-alist, display-buffer-normalize-arguments)
7117 (display-buffer-normalize-options, display-buffer)
7118 (display-buffer-alist-set): Use "function" instead of
7119 "fun-with-args".
7120
1176868d
CY
71212011-06-28 Chong Yidong <cyd@stupidchicken.com>
7122
7123 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7124 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7125 debbugs.gnu.org. Mention acknowledgment email.
7126
20a7a65f
LMI
71272011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7128
7129 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7130 buffer multibyteness, since it shouldn't matter.
7131
5f45cca5
MR
71322011-06-28 Martin Rudalics <rudalics@gmx.at>
7133
7134 * window.el (display-buffer-in-side-window): Handle dedicated
7135 windows as in display-buffer-reuse-window.
7136 (display-buffer-normalize-alist): Use value of override
7137 specifier.
7138 (display-buffer-normalize-specifiers): Use value of
7139 other-window-means-other-frame specifier.
7140 (display-buffer-alist): Rewrite some texts in widgets.
7141 (display-buffer): Spread arguments when calling function
7142 specified by fun-with-args.
7143
ad85fe1f
DD
71442011-06-28 Deniz Dogan <deniz@dogan.se>
7145
1fa280a3
LM
7146 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7147 Unnest `let'.
da68c4c8 7148
ad85fe1f
DD
7149 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7150 selectors (Bug#5732).
ec49bd31 7151 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7152
a08cc025
JA
71532011-06-27 Jari Aalto <jari.aalto@cante.net>
7154
7155 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7156 (eshell-ls-date-format): New defcustom.
7157 (eshell-ls-file): Use it.
7158
e2b551c5
SM
71592011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7160
7161 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7162
8982b231
KY
71632011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7164
7165 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7166 (ange-ftp-make-tmp-name): New arg.
7167 (ange-ftp-file-local-copy): Use it.
7168
36c9fa27
J
71692011-06-27 Jambunathan K <kjambunathan@gmail.com>
7170
7171 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7172 no-conversion (Bug#8870).
7173
d68443dc
MR
71742011-06-27 Martin Rudalics <rudalics@gmx.at>
7175
7176 * window.el (window-right, window-left, window-child)
7177 (window-child-count, window-last-child)
7178 (window-iso-combination-p, walk-window-tree-1)
7179 (window-atom-check-1, window-tree-1, delete-window)
7180 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7181 new naming conventions - window-vchild, window-hchild,
7182 window-next and window-prev are now called window-top-child,
7183 window-left-child, window-next-sibling and window-prev-sibling
7184 respectively.
d615d6d2
MR
7185 (resize-window-reset): Rename to window-resize-reset.
7186 (resize-window-reset-1): Rename to window-resize-reset-1.
7187 (resize-window): Rename to window-resize.
7188 (window-min-height, window-min-width)
7189 (resize-mini-window, resize-this-window, resize-root-window)
7190 (resize-root-window-vertically, adjust-window-trailing-edge)
7191 (enlarge-window, shrink-window, maximize-window)
7192 (minimize-window, delete-window, quit-restore-window)
7193 (split-window, balance-windows, balance-windows-area-adjust)
7194 (balance-windows-area, window-state-put-2)
7195 (display-buffer-even-window-sizes, display-buffer-set-height)
7196 (display-buffer-set-width, set-window-text-height)
7197 (fit-window-to-buffer): Rename all "resize-window" prefixed
7198 calls to use the "window-resize" prefix convention.
7199 (display-buffer-alist): Fix symbol for label specifier.
7200 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7201 corresponding specifier.
7202 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7203
b6458526
VB
72042011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7205
7206 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7207 convention.
7208 (ses-call-printer): Does not pass an empty string to formatter when the
7209 cell is empty to keep from barking printer Calc math-format-value.
7210
d31fd9ac
RS
72112011-06-27 Richard Stallman <rms@gnu.org>
7212
43d5bf84
RS
7213 * battery.el (battery-mode-line-limit): New variable.
7214 (battery-update): Handle it.
7215
d31fd9ac
RS
7216 * mail/rmailmm.el (rmail-mime-process-multipart):
7217 Handle truncated messages.
7218
819a6054
GM
72192011-06-27 Glenn Morris <rgm@gnu.org>
7220
7221 * progmodes/flymake.el (flymake-err-line-patterns):
7222 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7223
cedc73f2
VB
72242011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7225
819a6054 7226 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7227 (ses--clean-!, ses--clean-_): New functions.
7228 (ses-range): Add configurability of readout order, and conversion
7229 to Calc vector.
7230
5e5d49b6
VB
7231 * ses.el (ses-repair-cell-reference-all): New function.
7232 (ses-cell-symbol): Set macro as safe, so that it can be used in
7233 formulas.
7234
56e6cc31 7235 * ses.el: Update cycle detection algorithm.
90ca8b49 7236 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7237 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7238 (ses-set-localvars): New function.
7239 (ses-make-cell): Add property-list as a cell element.
7240 (ses-cell-property-get-fun, ses-cell-property-get)
7241 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7242 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7243 New functions.
90ca8b49
VB
7244 (ses-cell-property-set, ses-cell-property-pop)
7245 (ses-cell-property-get-handle): New macro.
7246 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7247 New aliases, used for code readability.
7248 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7249 cycle detection.
7250 (ses-self-reference-early-detection): New defcustom.
fac916bf 7251 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7252 (ses-mode): Use ses-set-localvars.
7253 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7254 before lauching the update processing.
7255 (ses-initialize-Dijkstra-attempt): New function.
7256 (ses-recalculate-cell): Update for cycle detection based on
7257 Dijkstra algorithm.
7258
2bb63e81
VB
7259 * ses.el: Fix commenting and indenting convention.
7260
c9d29fb8
SM
72612011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7262
7263 * bs.el (bs-cycle-next): Complete last change.
7264
d8e4b68b
JB
72652011-06-27 Drew Adams <drew.adams@oracle.com>
7266
7267 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7268
40098786
LMI
72692011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7270
c9d29fb8
SM
7271 * net/network-stream.el (network-stream-open-starttls):
7272 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7273 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7274
40098786
LMI
7275 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7276 to binary to possibly avoid line encoding issues on Windows (among
7277 other things).
7278
468d09d4
LMI
72792011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7280
7281 * net/network-stream.el (open-network-stream): Return an :error
7282 saying what the problem was, if possible.
7283
7284 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7285 server.
7286
7287 * net/network-stream.el (network-stream-open-starttls): If we
7288 wanted to use STARTTLS, and the server offered it, but we weren't
7289 able to because we had no STARTTLS support, then close the connection.
7290 (open-network-stream): Return an :error element, if present.
7291
16f07dd7
CY
72922011-06-26 Chong Yidong <cyd@stupidchicken.com>
7293
88821ca0
CY
7294 * hl-line.el (hl-line-sticky-flag): Doc fix.
7295 (global-hl-line-sticky-flag): New option (Bug#8323).
7296 (global-hl-line-highlight): Obey it.
7297
16f07dd7
CY
7298 * vc/vc.el (vc-revert-show-diff): Default to t.
7299
6b5ccddf
KM
73002011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7301
c9d29fb8
SM
7302 * allout-widgets.el (allout-widgets-post-command-business):
7303 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7304 undecorated when an isearch is continued past, and isearch
7305 automatically collapses them. This leads to "widget leaks", where
7306 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7307 hidden widgets can slow down cursor travel, substantially.
7308 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7309 so we're doing without this nicety.
7310
7311 (allout-widgets-tally-string): Don't try to do a hash-table-count
7312 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7313 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7314 *Messages* when allout-widgets-maintain-tally is t.
7315
355f2e07
MR
73162011-06-26 Martin Rudalics <rudalics@gmx.at>
7317
7318 * window.el (display-buffer-normalize-argument): Rename to
7319 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7320 LABEL argument. Respect special-display-function when popping up
7321 a new frame. Fix code searching for a window showing the buffer
7322 on another frame.
c9d29fb8
SM
7323 (display-buffer-normalize-specifiers):
7324 Call display-buffer-normalize-arguments.
355f2e07
MR
7325 (display-buffer-in-window): Don't undedicate the window if its
7326 buffer remains the same.
7327 Reported by Drew Adams <drew.adams@oracle.com>.
7328 (display-buffer-alist): Add choice for same-window macro
7329 specfier.
7330 (display-buffer): Mention special meaning of LABEL argument in
7331 doc-string. Fix quoting. Don't pop up a new frame even as
7332 fallback.
7333
7ca8fc42
JB
73342011-06-26 Juanma Barranquero <lekktu@gmail.com>
7335
7336 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7337 avoid deleting the current window in some cases (bug#8911).
7338
bc312254
AS
73392011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7340
7341 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7342 (Bug#8934)
7343
2db18f3f
LMI
73442011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7345
c9d29fb8
SM
7346 * net/network-stream.el (network-stream-open-starttls):
7347 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7348 (network-stream-open-tls): Ditto.
7349
6302e0d3
LL
73502011-06-26 Leo Liu <sdl.web@gmail.com>
7351
7352 * register.el (registerv): New struct.
7353 (registerv-make): New function.
c9d29fb8
SM
7354 (jump-to-register, describe-register-1, insert-register):
7355 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7356 struct. (Bug#8415)
7357
5fdd4046
CY
73582011-06-26 Chong Yidong <cyd@stupidchicken.com>
7359
2afef60a
CY
7360 * vc/vc.el (vc-revert-show-diff): New defcustom.
7361 (vc-diff-internal): New arg specifying diff buffer.
7362 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7363 reuse an existing *vc-diff* buffer (Bug#8927).
7364
5fdd4046
CY
7365 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7366
e93db24a
GM
73672011-06-26 Glenn Morris <rgm@gnu.org>
7368
7369 * progmodes/f90.el (f90-critical-indent): New option.
7370 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7371 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7372 (f90-mode): Doc fix.
7373 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7374 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7375 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7376 (f90-match-end): Handle block, critical.
7377
eefff499
GM
73782011-06-25 Glenn Morris <rgm@gnu.org>
7379
f6ba4cc9
GM
7380 * calendar/diary-lib.el (diary-included-files): Doc fix.
7381 (diary-include-files): New function, extracted from
7382 diary-include-other-diary-files and diary-mark-included-diary-files.
7383 (diary-include-other-diary-files, diary-mark-included-diary-files):
7384 Just call diary-include-files.
7385 (diary-mark-entries): Reset diary-included-files on first call.
7386
16712304
GM
7387 * calendar/diary-lib.el (diary-mark-entries)
7388 (diary-mark-included-diary-files):
7389 Visit included diary-files in temp buffers.
7390
5d8e0d43
GM
7391 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7392 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7393 (f90-start-block-re, f90-imenu-generic-expression)
7394 (f90-looking-at-program-block-start, f90-no-block-limit):
7395 Add support for submodules.
7396
ccf7a5d5
GM
7397 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7398 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7399
11fdef7d 74002011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7401
7402 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7403 buffer-file-type before setting its value, to avoid disastrous
eefff499 7404 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7405
74f53697
JB
74062011-06-25 Juanma Barranquero <lekktu@gmail.com>
7407
7408 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7409
7410 * ses.el (ses-unload-function):
7411 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7412
7413 * proced.el (proced-unload-function):
7414 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7415
18a4ce5e
AR
74162011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7417
7418 * server.el (server-create-window-system-frame): Add parameters arg.
7419 (server-process-filter): Doc fix. Handle frame-parameters.
7420
519d22cc
JB
74212011-06-25 Juanma Barranquero <lekktu@gmail.com>
7422
7423 Fix bug#8730, bug#8781.
7424
7425 * loadhist.el (unload--set-major-mode): New function.
7426 (unload-feature): Use it.
7427
7428 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7429 (python-unload-function): New function.
7430
c206f5b0
SM
74312011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7432
7433 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7434
f9ad64f3
GS
74352011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7436
7437 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7438 the candidates list.
7439
7d0da90e
JB
74402011-06-24 Juanma Barranquero <lekktu@gmail.com>
7441
7442 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7443
14b4e83d
RS
74442011-06-23 Richard Stallman <rms@gnu.org>
7445
7446 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7447 (rmail-variables): Set next-error-move-function.
7448 (rmail-what-message): Take argument POS.
7449 (rmail-next-error-move): New function.
7450
273d2baf
SM
74512011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7452
7453 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7454 messages for adjacent non-terminals.
7455
56c2cc9a
RS
74562011-06-23 Richard Stallman <rms@gnu.org>
7457
7458 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7459 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7460 (rmail-start-mail): Don't specify use of rmail-mail-return;
7461 that's done by mail-bury now.
7462 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7463
d59eb518
MA
74642011-06-23 Michael Albinus <michael.albinus@gmx.de>
7465
7466 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7467 SIZE is a number.
7468
02cfc6d6
MR
74692011-06-23 Martin Rudalics <rudalics@gmx.at>
7470
7471 * window.el (get-lru-window, get-mru-window)
7472 (get-largest-window): Never return a minibuffer window.
7473 (display-buffer-pop-up-window): Fix a bug that could lead to
7474 reusing the minibuffer window.
7475 (display-buffer): Pass original specifier argument to
7476 display-buffer-function instead of the normalized one.
7477 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7478
4e323265
LL
74792011-06-22 Leo Liu <sdl.web@gmail.com>
7480
7481 * minibuffer.el (completing-read-function)
7482 (completing-read-default): Move from minibuf.c
7483
7a70468f
RS
74842011-06-22 Richard Stallman <rms@gnu.org>
7485
50718fc2
RS
7486 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7487 to Rmail even if not started by a special Rmail command.
7488
7a70468f
RS
7489 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7490 Copy the buffer currently showing just one message.
7491
297dde5a
RW
74922011-06-22 Roland Winkler <winkler@gnu.org>
7493
7494 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7495 (bibtex-clean-entry): First delete the old key so that a
7496 customized algorithm for generating the new key does not get
7497 confused by the old key.
7498 (bibtex-url): Obey regexp of first step.
7499 (bibtex-search-entries): Do not use add-to-list with local
7500 list-var.
7501
97bb1093
LMI
75022011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7503
7504 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7505 stored a user name, then query for the password first, instead of
7506 waiting for SMTP to give an error message and the trying again.
7507
1c0f1a19
JD
75082011-06-22 Lawrence Mitchell <wence@gmx.li>
7509
7510 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7511 BUFFER in call-process.
7512
396f7c9d
LMI
75132011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7514
7515 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7516 QUIT twice.
ddb7ffee
LMI
7517 (smtpmail-try-auth-methods): Require user name and password from
7518 auth-source.
396f7c9d 7519
8998d1b3
MR
75202011-06-22 Martin Rudalics <rudalics@gmx.at>
7521
7522 * window.el (display-buffer-default-specifiers)
7523 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7524 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7525 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7526
7527 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7528 (special-display-frame-alist, special-display-popup-frame):
7529 Remove duplicate declarations. These are now in window.el.
7530
4ea31e07
LMI
75312011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7532
c9d29fb8
SM
7533 * mail/smtpmail.el (smtpmail-via-smtp):
7534 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7535 server supports it. SMTP servers that support STARTTLS commonly
7536 require it.
7537
7538 * net/network-stream.el (network-stream-open-starttls): Support
7539 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7540 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7541
95f41d9a
LMI
7542 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7543 upgrades with `open-network-stream', and rely solely on
7544 auth-source for all credentials. Big changes throughout the file,
7545 but in particular:
c9d29fb8
SM
7546 (smtpmail-auth-credentials): Remove.
7547 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7548 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7549 MAIL FROM, too.
95f41d9a 7550
c9d29fb8
SM
7551 * net/network-stream.el (network-stream-open-starttls):
7552 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7553 STARTTLS.
7554 (auth-source): Require.
7555 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7556 (network-stream-certificate): Change cert-cert to cert and
7557 cert-key to key.
4ea31e07 7558
065ec2c7
MA
75592011-06-21 Michael Albinus <michael.albinus@gmx.de>
7560
7561 * net/tramp-cache.el (top): Don't load the persistency file when
7562 "emacs -Q" has been called.
7563
cd93b359
DR
75642011-06-21 Tim Harper <timcharper@gmail.com>
7565
d8e4b68b
JB
7566 * term/ns-win.el (ns-initialize-window-system):
7567 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7568 resource to NO as it is not yet supported by the NS port.
7569
ae9c0411
JB
75702011-06-21 Juanma Barranquero <lekktu@gmail.com>
7571
7572 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7573 (list-dynamic-libraries): ...not here.
7574
7f3f739f
LL
75752011-06-21 Leo Liu <sdl.web@gmail.com>
7576
7577 * subr.el (sha1): Implement sha1 using secure-hash.
7578
327c8fb1
MR
75792011-06-21 Martin Rudalics <rudalics@gmx.at>
7580
7581 * window.el (display-buffer-alist): In default value do not
7582 enforce searching a window on any but the selected frame.
7583 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7584 (display-buffer-select-window): Remove function.
7585 (display-buffer-in-window): When a window on another frame gets
7586 reused, do not select it any more but just raise its frame if
7587 necessary (Bug#8851) and (Bug#8856).
7588 (display-buffer-normalize-options): Handle pop-up-frames related
7589 options more faithfully.
7590 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7591 window if it is on another frame.
c9d29fb8
SM
7592 (display-buffer-alist, display-buffer-default-specifiers):
7593 Don't make new frame unsplittable by default.
9e9de014
MR
7594 (display-buffer-normalize-argument): Fix doc-string typo and use
7595 'same-frame-other-window instead of 'other-window when associating
7596 with display-buffer-macro-specifiers.
327c8fb1 7597
7cf3f556
VB
75982011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7599
7600 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7601 New functions.
7602 (5x5-mode-map, 5x5-mode-menu): Bind them.
7603 (5x5-draw-grid): Tweak the solver's rendering.
7604
60a406cf
SM
76052011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7606
7607 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7608 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7609
d8e4b68b 76102011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7611
7612 * menu-bar.el: Use function variable instead of switch-to-buffer.
7613 (menu-bar-select-buffer-function): New variable.
60a406cf 7614 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7615
478d6f95
SM
76162011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7617
7618 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7619 variable's status.
7620
ca530739
JD
76212011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7622
7623 * x-dnd.el (x-dnd-version-from-flags)
7624 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7625 and long as number (Bug#8899).
7626 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7627
bcd70d97
SM
76282011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7629
60a406cf 7630 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7631 (completion-try-completion, completion-all-completions): Compute the
7632 metadata argument if it's missing; make it optional (bug#8795).
7633
60a406cf 7634 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7635 (widget-complete): Use new :completion-function property.
7636 (widget-completions-at-point): New function.
7637 (default): Use :completion-function instead of :complete.
60a406cf
SM
7638 (widget-default-completions): Rename from widget-default-complete;
7639 Rewrite.
bcd70d97
SM
7640 (widget-string-complete, widget-file-complete, widget-color-complete):
7641 Remove functions.
7642 (file, symbol, function, variable, coding-system, color):
7643 * international/mule-cmds.el (default-input-method, charset)
7644 (language-info-custom-alist):
7645 * cus-edit.el (face): Use new property :completions.
7646
7647 * progmodes/pascal.el (pascal-completions-at-point): New function.
7648 (pascal-mode): Use it.
7649 (pascal-mode-map): Use completion-at-point.
7650 (pascal-toggle-completions): Make obsolete.
7651 (pascal-complete-word, pascal-show-completions):
7652 * progmodes/octave-mod.el (octave-complete-symbol):
7653 Redefine as obsolete alias.
7654 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7655 Signal absence of completion info for old Octave,
7656 (inferior-octave-complete): Redefine as obsolete alias.
7657 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7658 (meta-completions-at-point): Rename from meta-complete-symbol and
7659 adapt it for use on completion-at-point-functions.
7660 (meta-common-mode): Use it.
7661 (meta-looking-at-backward, meta-match-buffer): Remove.
7662 (meta-complete-symbol): Redefine as obsolete alias.
7663 (meta-common-mode-map): Use completion-at-point.
7664 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7665 (makefile-mode-map): Use completion-at-point.
7666 (makefile-completions-at-point): Rename from makefile-complete and
7667 adapt it for use on completion-at-point-functions.
7668 (makefile-mode): Use it.
7669 (makefile-complete): Redefine as obsolete alias.
7670
aebf69c8
DD
76712011-06-20 Deniz Dogan <deniz@dogan.se>
7672
7673 * net/rcirc.el: Delete trailing whitespaces once and for all.
7674
bfbbb27d
DC
76752011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7676
7677 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7678
d264a46b
CY
76792011-06-19 Chong Yidong <cyd@stupidchicken.com>
7680
4ca009e5
CY
7681 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7682
d264a46b
CY
7683 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7684
fbf5b3ce
MR
76852011-06-19 Martin Rudalics <rudalics@gmx.at>
7686
7687 * window.el (display-buffer-other-window-means-other-frame):
7688 Call display-buffer-normalize-alist.
7689 (display-buffer-normalize-specifiers-1): Rename to
7690 display-buffer-normalize-argument. New argument other-frame.
7691 Rewrite.
7692 (display-buffer-normalize-specifiers-2): Rename to
7693 display-buffer-normalize-options.
7694 (display-buffer-normalize-alist-1): New function.
7695 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7696 display-buffer-normalize-alist.
7697 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7698 (display-buffer-normalize-options-inhibit): New variable.
7699 (display-buffer-normalize-specifiers): Rewrite calling
7700 display-buffer-normalize-alist,
7701 display-buffer-normalize-argument, and
7702 display-buffer-normalize-options. Don't call the latter if
7703 display-buffer-normalize-options-inhibit is non-nil.
7704 (frame-auto-delete): New option.
7705 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7706 (window-list-no-nils, window-state-ignored-parameters)
7707 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7708 (window-state-put-1, window-state-put-2, window-state-put):
7709 New functions.
9a028c23
MR
7710 (display-buffer-normalize-options): Move special-display-p group
7711 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7712
6d10d800
CY
77132011-06-18 Chong Yidong <cyd@stupidchicken.com>
7714
6420d28b
CY
7715 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7716 groups (Bug#8776).
7717 (rx-submatch-n): New function.
7718 (rx): Document it.
7719
ddb8b596
CY
7720 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7721 (Bug#8768).
7722
7723 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7724
77080289
CY
7725 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7726
61dfb316
CY
7727 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7728 anytime existing face settings are present (Bug#8889).
7729
6d10d800
CY
7730 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7731 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7732 Remove unused argument.
7733
be3fb2b8
MR
77342011-06-18 Martin Rudalics <rudalics@gmx.at>
7735
bcd70d97
SM
7736 * window.el (display-buffer-default-specifiers):
7737 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7738 pop-up-window-min-width, and another reuse-window specifier
7739 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7740 (display-buffer-normalize-specifiers-2):
7741 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7742 pop-up-windows is unset. Add a reuse-window specifier for the
7743 case popping up a new window fails.
7744 (special-display-popup-frame): Remove double quoting.
28dec25a 7745 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7746
1c6d8c76
SM
77472011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7748
7749 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7750 according to comint-completion-addsuffix.
7751
7752 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7753 (pcomplete-suffix-list): Mark as obsolete.
7754 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7755 pcomplete-seen in the closure.
7756 (pcomplete-comint-setup): Setup completion-at-point as well.
7757 (pcomplete--entries): New function.
7758 (pcomplete--env-regexp): New var.
7759 (pcomplete-entries): Rewrite to work with partial-completion and
7760 without relying on pcomplete-suffix-list.
7761 (pcomplete-pare-list): Remove, unused.
7762
25aef8b8
MR
77632011-06-17 Martin Rudalics <rudalics@gmx.at>
7764
7765 * window.el (display-buffer-alist): Set pop-up-window-min-height
7766 and pop-up-window-min-width in default value. Reported by
7767 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7768 other-window-means-other-frame.
7769 (display-buffer-macro-specifiers): Comment out entry for
7770 other-window specifier.
7771 (display-buffer-other-window-means-other-frame): New function.
7772 (display-buffer-normalize-specifiers-1): New arguments
7773 buffer-name and label. Treat other-window case specially.
7774 (display-buffer-normalize-specifiers-2): Treat other-window case
7775 specially.
7776 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7777 (display-buffer-normalize-specifiers):
7778 Call display-buffer-normalize-specifiers-3.
25aef8b8 7779
dbad4f69
MR
77802011-06-17 Martin Rudalics <rudalics@gmx.at>
7781
7782 * window.el (same-window-p): Fix two typos introduced when
7783 adding with-no-warnings.
d1067961
MR
7784 (display-buffer-normalize-specifiers-1): Don't check
7785 pop-up-frames for 'unset initialization.
7786 (display-buffer-normalize-specifiers-2): Major rewrite using
7787 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7788 (pop-up-frames, display-buffer-reuse-frames)
7789 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7790 Suggested by David Engster <deng@randomsample.de>.
7791 (even-window-heights): Initialize to 'unset.
7792 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7793 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7794 other window case.
dbad4f69 7795
9b9c9e3a
MR
77962011-06-16 Martin Rudalics <rudalics@gmx.at>
7797
bcd70d97
SM
7798 * window.el (display-buffer-normalize-specifiers-1):
7799 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7800 second argument of display-buffer (Bug#8865).
981d5c09
MR
7801 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7802 (switch-to-buffer-other-window-same-frame)
7803 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7804 Adams (Bug#8875).
9c2755e9
MR
7805 (display-buffer): Don't check noninteractive when calling
7806 display-buffer-pop-up-frame.
7807 (display-buffer-pop-up-frame): Never pop up a frame in
7808 noninteractive mode (Bug#8857).
67222e1d
MR
7809 (enlarge-window, shrink-window): Don't report an error when the
7810 window can't be resized as requested (Bug#8862).
9b9c9e3a 7811
2b75be67
SM
78122011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7813
9ffdd3ba
SM
7814 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7815
cb581a67
SM
7816 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7817
2b75be67
SM
7818 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7819
8c0e3589
AM
78202011-06-15 Alan Mackenzie <acm@muc.de>
7821
cb581a67
SM
7822 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7823 for declarators, disable knr checking to speed up for normal files.
7824 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7825
b96e6cde
LMI
78262011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7827
4bba86e6
LMI
7828 * net/network-stream.el (open-network-stream): Add the keyword
7829 :always-query-capabilities for the case where you want to force a
7830 `plain' network connection, but the protocol still requires the
7831 capabilitiy command (i.e., SMTP and EHLO).
7832
2b75be67 7833 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7834 consistency with other `-live-p' functions.
7835
efdcdbf8
SM
78362011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 * window.el (same-window-buffer-names, same-window-regexps)
7839 (special-display-frame-alist, special-display-popup-frame)
7840 (special-display-function, special-display-buffer-names)
7841 (special-display-regexps, pop-up-frame-alist)
7842 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7843 (pop-up-windows, split-window-preferred-function)
7844 (split-height-threshold, split-width-threshold, even-window-heights)
7845 (display-buffer-mark-dedicated): Don't encourage the use of
7846 display-buffer-alist from Elisp code.
7847
c5cde042
DN
78482011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7849
7850 * progmodes/python.el (python-mode): Derive from prog-mode.
7851 * progmodes/ps-mode.el (ps-mode):
7852 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7853 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7854 * progmodes/ld-script.el (ld-script-mode): Likewise.
7855
baa1c9ab
MR
78562011-06-15 Martin Rudalics <rudalics@gmx.at>
7857
7858 * window.el (display-buffer-alist): Trim default value to avoid
7859 popping up a new frame (Bug#8857) or reusing an arbitrary window
7860 on another frame.
7861 (display-buffer): Do not fall back on popping up a new frame in
7862 batch mode (Bug#8857).
7863
c5dd5a51
CY
78642011-06-14 Chong Yidong <cyd@stupidchicken.com>
7865
7866 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7867 (custom-theme-summary): New function.
7868 (customize-themes): Use it.
7869
d647b7c4
GM
78702011-06-13 Glenn Morris <rgm@gnu.org>
7871
7872 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7873
9481c002
MR
78742011-06-13 Martin Rudalics <rudalics@gmx.at>
7875
357f93d2
MR
7876 * help.el (help-window): Remove variable.
7877 (help-window-point-marker, temp-buffer-max-height)
7878 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7879 (help-print-return-message): Don't set help-window.
7880 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7881 (help-window-setup-finish): Remove.
7882 (help-window-display-message, help-window-setup)
7883 (with-help-window): Major rewrite based on new
7884 display-buffer-window variable.
7885
7886 * help-mode.el (help-mode-finish): Remove help-window related
7887 code.
7888
7889 * view.el (view-exits-all-viewing-windows): Remove reference to
7890 view-return-to-alist in doc-string.
7891 (view-return-to-alist): Make obsolete.
7892 (view-buffer): Call pop-to-buffer-same-window and remove
7893 undo-window code.
7894 (view-buffer-other-window): Call pop-to-buffer-other-window and
7895 simplify code. Ignore second argument.
7896 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7897 simplify code. Ignore second argument.
7898 (view-return-to-alist-update): Make obsolete.
7899 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7900 Rewrite using quit-restore window parameters.
2b75be67
SM
7901 (view-mode-exit): Rename second argument to EXIT-ONLY.
7902 Rewrite using quit-restore-window.
357f93d2
MR
7903 (View-exit, View-exit-and-edit, View-leave, View-quit)
7904 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7905 appropriate arguments.
7906 (view-end-message): Use quit-restore window parameter.
7907
9481c002
MR
7908 * window.el (display-buffer-function): Rewrite doc-string.
7909 (display-buffer-window, display-buffer-alist): New variables.
7910 (display-buffer-split-specifiers)
7911 (display-buffer-side-specifiers)
7912 (display-buffer-macro-specifiers): New constants.
7913 (display-buffer-even-window-sizes, display-buffer-set-height)
7914 (display-buffer-set-width, display-buffer-select-window)
7915 (display-buffer-in-window, display-buffer-reuse-window)
7916 (display-buffer-split-window-1, display-buffer-split-window)
7917 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7918 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7919 (display-buffer-in-side-window, normalize-buffer-to-display)
7920 (display-buffer-normalize-specifiers-1)
7921 (display-buffer-normalize-specifiers-2)
2b75be67
SM
7922 (display-buffer-normalize-specifiers, display-buffer-frame):
7923 New functions.
9481c002
MR
7924 (display-buffer): Major rewrite.
7925 (display-buffer-other-window, display-buffer-other-frame)
7926 (pop-to-buffer, switch-to-buffer-other-window)
7927 (switch-to-buffer-other-frame): Rewrite.
7928 (display-buffer-same-window, display-buffer-same-frame)
7929 (display-buffer-same-frame-other-window)
7930 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7931 (pop-to-buffer-other-window)
7932 (pop-to-buffer-same-frame-other-window)
7933 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7934 (switch-to-buffer-other-window-same-frame): New functions.
7935 (same-window-p, special-display-p): Rewrite disabling warnings.
7936 Make obsolete.
7937 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7938 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7939 Make obsolete
7940 (same-window-buffer-names, same-window-regexps)
7941 (special-display-frame-alist, special-display-popup-frame)
7942 (special-display-function, special-display-buffer-names)
7943 (special-display-regexps, pop-up-frame-alist)
7944 (pop-up-frame-function, split-window-preferred-function)
7945 (split-height-threshold, split-width-threshold)
7946 (even-window-heights): Make obsolete.
7947
9db51aca
GM
79482011-06-12 Glenn Morris <rgm@gnu.org>
7949
7950 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 7951 Misc simplifications.
9db51aca 7952
39cffb44
MR
79532011-06-12 Martin Rudalics <rudalics@gmx.at>
7954
7955 * window.el (window-safely-shrinkable-p): Restore function which
7956 was inadvertently removed in change from 2011-06-11. Declare as
7957 obsolete.
7958
2b75be67
SM
7959 * calendar/calendar.el (calendar-generate-window):
7960 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
7961 window-safely-shrinkable-p.
7962
a8955be7
GM
79632011-06-12 Glenn Morris <rgm@gnu.org>
7964
7965 * progmodes/fortran.el (fortran-mode-syntax-table):
7966 * progmodes/f90.el (f90-mode-syntax-table):
7967 Set % to punctuation. (Bug#8820)
7968 (f90-find-tag-default): Remove, no longer needed.
7969
f0d4059d
DC
79702011-06-12 Daniel Colascione <dan.colascione@gmail.com>
7971
7972 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7973
1100a63c
CY
79742011-06-11 Chong Yidong <cyd@stupidchicken.com>
7975
7976 * image.el (image-animated-p): Return animation delay in seconds.
7977 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7978 (image-animate-timeout): Remove DELAY argument. Don't assume
7979 every subimage has the same delay; get it from image-animated-p.
7980 (image-animate): Caller changed.
7981
def722bf
MA
79822011-06-11 Michael Albinus <michael.albinus@gmx.de>
7983
7984 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7985 to ignored backtrace functions.
7986
0a2bb1a9
GM
79872011-06-11 Glenn Morris <rgm@gnu.org>
7988
7989 * calendar/appt.el (appt-disp-window-function): Doc fix.
7990 (appt-check): Handle overlapping appointments. (Bug#8337)
7991
6198ccd0
MR
79922011-06-11 Martin Rudalics <rudalics@gmx.at>
7993
7994 * window.el (window-tree-1, window-tree): New functions, moving
7995 the latter to window.el.
7996 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7997 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7998 (bw-refresh-edges): Remove.
7999 (balance-windows-1, balance-windows-2): New functions.
8000 (balance-windows): Rewrite in terms of window tree functions,
8001 balance-windows-1 and balance-windows-2.
8002 (bw-adjust-window): Remove.
8003 (balance-windows-area-adjust): New function with functionality of
8004 bw-adjust-window but using resize-window.
2b75be67
SM
8005 (set-window-text-height): Rewrite doc-string.
8006 Use normalize-live-window and resize-window.
8007 (enlarge-window-horizontally, shrink-window-horizontally):
8008 Rename argument to DELTA.
6198ccd0
MR
8009 (window-buffer-height): New function.
8010 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8011 Rewrite using new window resize routines.
2b75be67
SM
8012 (kill-buffer-and-window, mouse-autoselect-window-select):
8013 Use ignore-errors instead of condition-case.
6198ccd0
MR
8014 (quit-window): Call delete-frame instead of delete-windows-on
8015 for the only buffer on frame.
8016
9397e56f
MR
80172011-06-10 Martin Rudalics <rudalics@gmx.at>
8018
8019 * loadup.el (top-level): Load window before files for the sake
8020 of replace-buffer-in-windows.
8021
8022 * files.el (read-buffer-to-switch)
8023 (switch-to-buffer-other-window)
2b75be67
SM
8024 (switch-to-buffer-other-frame, display-buffer-other-frame):
8025 Move to window.el.
9397e56f
MR
8026
8027 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8028 (previous-buffer): Move to window.el.
8029
8030 * bindings.el (unbury-buffer): Move to window.el.
8031
8032 * window.el (delete-other-windows-vertically): Move after
8033 definition of delete-other-windows.
8034 (other-window, delete-windows-on, replace-buffer-in-windows):
8035 Move here from window.c.
8036 (record-window-buffer, unrecord-window-buffer)
8037 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8038 (switch-to-next-buffer): New functions.
8039 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8040 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8041 (previous-buffer): Move here from simple.el.
8042 Call switch-to-prev-buffer.
9397e56f
MR
8043 (bury-buffer): Move here from buffer.c. Switch to previous
8044 buffer when window cannot be deleted.
8045 (unbury-buffer): Move here from bindings.el.
8046 (ctl-x-map): Move binding for other-window from window.c to
8047 here.
8048 (read-buffer-to-switch, switch-to-buffer-other-window)
8049 (switch-to-buffer-other-frame): Move here from files.el.
8050 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8051 (switch-to-buffer): Move here from buffer.c.
8052 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8053
562dd5e9
MR
80542011-06-10 Martin Rudalics <rudalics@gmx.at>
8055
8056 * window.el (window-min-height, window-min-width): Move here
8057 from window.c. Add defcustoms and rewrite doc-strings.
8058 (resize-mini-window, resize-window): New functions.
8059 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8060 Move here from window.c.
8061 (maximize-window, minimize-window): New functions.
8062 (delete-window, delete-other-windows, split-window): Move here
8063 from window.c.
8064 (window-split-min-size): New function.
8065 (split-window-keep-point): Mention split-window-above-each-other
8066 instead of split-window-vertically.
2b75be67 8067 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8068 Rename split-window-vertically to split-window-above-each-other
8069 and provide defalias for old definition.
8070 (split-window-side-by-side, split-window-horizontally):
8071 Rename split-window-horizontally to split-window-side-by-side
8072 and provide defalias for the old definition.
562dd5e9
MR
8073 (ctl-x-map): Move bindings for delete-window,
8074 delete-other-windows and enlarge-window here from window.c.
8075 Replace bindings for split-window-vertically and
8076 split-window-horizontally by bindings for
8077 split-window-above-each-other and split-window-side-by-side.
8078
8079 * cus-start.el (all): Remove entries for window-min-height and
8080 window-min-width. Add entries for window-splits and
8081 window-nest.
8082
f0da764a
GM
80832011-06-09 Glenn Morris <rgm@gnu.org>
8084
80675c21
GM
8085 * calendar/appt.el (appt-mode-line): New function.
8086 (appt-check, appt-disp-window): Use it.
8087
f0da764a
GM
8088 * files.el (hack-one-local-variable-eval-safep):
8089 Allow minor-modes with explicit +/-1 arguments.
8090
59f623b7
TZ
80912011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8092
8093 * term/xterm.el (xterm): Add defgroup.
8094 (xterm-extra-capabilities): Add defcustom to supply known xterm
8095 capabilities, skip querying them, or query them (default).
8096 (terminal-init-xterm): Use it.
8097 (terminal-init-xterm-modify-other-keys): New function to set up
8098 modifyOtherKeys support to simplify `terminal-init-xterm'.
8099
9aab8e0d
MR
81002011-06-09 Martin Rudalics <rudalics@gmx.at>
8101
8102 * window.el (resize-window-reset, resize-window-reset-1)
8103 (resize-subwindows-skip-p, resize-subwindows-normal)
8104 (resize-subwindows, resize-other-windows, resize-this-window)
8105 (resize-root-window, resize-root-window-vertically)
8106 (window-deletable-p, window-or-subwindow-p)
8107 (frame-root-window-p): New functions.
8108
e8b08aee
GM
81092011-06-09 Glenn Morris <rgm@gnu.org>
8110
8111 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8112 (ange-ftp-get-files): Use it.
8113
254c37a5
AK
81142011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8115
8116 * mail/sendmail.el (mail-recover-1, mail-recover):
8117 * files.el (recover-file, recover-session):
8118 Handle dired-listing-switches not being just a single short option.
8119
35d7dbd3
GM
81202011-06-09 Glenn Morris <rgm@gnu.org>
8121
8122 * calendar/appt.el (appt-display-message, appt-disp-window):
8123 Handle lists of appointments.
8124
387522b2
MR
81252011-06-08 Martin Rudalics <rudalics@gmx.at>
8126
2b75be67
SM
8127 * window.el (one-window-p): Move down in code.
8128 Rewrite doc-string.
8129 (window-current-scroll-bars): Rewrite doc-string.
8130 Normalize live window argument.
387522b2
MR
8131 (walk-windows, get-window-with-predicate, count-windows):
8132 Rewrite doc-string. Use window-list-1.
8133 (window-in-direction-2, window-in-direction, get-mru-window):
8134 New functions.
8135
d8e4b68b 81362011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8137
8138 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8139 Doc fix (Bug#8713).
8140
81412011-06-08 Chong Yidong <cyd@stupidchicken.com>
8142
8143 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8144
81452011-06-08 Juanma Barranquero <lekktu@gmail.com>
8146
8147 * loadhist.el (unload-feature-special-hooks):
8148 Add `comint-output-filter-functions'.
8149
0de12c52
IK
81502011-06-08 Ivan Kanis <gnu@kanis.fr>
8151
8152 * calendar/appt.el (appt-check): Move some initializations into the let.
8153
f3d1777e
MR
81542011-06-08 Martin Rudalics <rudalics@gmx.at>
8155
8156 * window.el (window-height): Defalias to window-total-height.
8157 (window-width): Defalias to window-body-width.
8158
18af70d0
CY
81592011-06-07 Chong Yidong <cyd@stupidchicken.com>
8160
8161 * image-mode.el (image-toggle-animation): New command.
8162 (image-mode-map): Bind it to RET.
8163 (image-mode): Update message.
8164 (image-toggle-display-image): Avoid a spurious cache flush.
8165 (image-transform-rotation): Doc fix.
8166 (image-transform-properties): Return quickly in the normal case.
8167 (image-animate-loop): Rename from image-animate-max-time.
8168
2b75be67 8169 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8170 (create-animated-image): Remove unnecessary function.
8171 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8172 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8173 (image-animate-timer): Use car-safe.
8174 (image-animate-timeout): Rename argument.
8175
190b47e6
MR
81762011-06-07 Martin Rudalics <rudalics@gmx.at>
8177
8178 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8179 window.c. Rename first argument to ALL-FRAMES.
8180 Rephrase doc-strings.
8181 (get-buffer-window-list): Rewrite using window-list-1.
8182 Rephrase doc-string.
a1511caf
MR
8183 (window-safe-min-height, window-safe-min-width): New constants.
8184 (window-size-ignore, window-min-size, window-min-size-1)
8185 (window-sizable, window-sizable-p, window-size-fixed-1)
8186 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8187 (window-max-delta-1, window-max-delta, window-resizable)
8188 (window-resizable-p, window-total-height, window-total-width)
8189 (window-body-width): New functions.
8190 (window-full-height-p, window-full-width-p): Rewrite using
8191 window-total-size.
8192 (window-body-height): Rewrite using window-body-size.
190b47e6 8193
85cc1f11
MR
81942011-06-06 Martin Rudalics <rudalics@gmx.at>
8195
8196 * window.el (window-right, window-left, window-child)
8197 (window-child-count, window-last-child, window-any-p)
8198 (normalize-live-buffer, normalize-live-frame)
8199 (normalize-any-window, normalize-live-window)
8200 (window-iso-combination-p, window-iso-combined-p)
8201 (window-iso-combinations)
8202 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8203 (windows-with-parameter, window-with-parameter)
8204 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8205 (window-atom-check, window-side-check, window-check):
8206 New functions.
85cc1f11
MR
8207 (ignore-window-parameters, window-sides, window-sides-vertical)
8208 (window-sides-slots): New variables.
8209 (window-size-fixed): Move down in code. Minor doc-string fix.
8210
e7156492
AS
82112011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8212
8213 * comint.el (comint-dynamic-complete-as-filename)
8214 (comint-dynamic-complete-filename): Correctly call
8215 completion-in-region.
8216
7e821d0d
DD
82172011-06-05 Deniz Dogan <deniz@dogan.se>
8218
8219 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8220 in last change.
8221
ac09b8a1
DD
82222011-06-05 Deniz Dogan <deniz@dogan.se>
8223
8224 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8225 (rcirc): Use it to prompt for encryption.
8226
34699b85
RW
82272011-06-05 Roland Winkler <winkler@gnu.org>
8228
8229 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8230 (bibtex-search-entries): New command bound to C-c C-a.
8231 (bibtex-display-entries): New function.
8232
004dedd3
RW
82332011-06-05 Roland Winkler <winkler@gnu.org>
8234
8235 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8236 (bibtex-insert-kill): After yanking insert newline if necessary.
8237 (bibtex-initialize): Call bibtex-string-files-init only once.
8238 (bibtex-mode): Do not call easy-menu-add.
8239 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8240 (bibtex-yank): Set arg properly if nil.
8241
022fe7ce
RW
82422011-06-05 Roland Winkler <winkler@gnu.org>
8243
2b75be67
SM
8244 * textmodes/bibtex.el (bibtex-search-entry-globally):
8245 New variable.
022fe7ce
RW
8246 (bibtex-search-entry): Use it.
8247
b7c3692a
RW
82482011-06-05 Roland Winkler <winkler@gnu.org>
8249
8250 * textmodes/bibtex.el (bibtex-entry-format): New option
8251 sort-fields.
8252 (bibtex-format-entry, bibtex-reformat): Honor this option.
8253 (bibtex-parse-entry): Return fields in proper order.
8254
8eda563d
JB
82552011-06-05 Juanma Barranquero <lekktu@gmail.com>
8256
8257 * doc-view.el (doc-view-remove-if): Move computation of result out
8258 of `dolist' to silence misleading lexical-binding warning.
8259
7dbe3dbc
CY
82602011-06-04 Chong Yidong <cyd@stupidchicken.com>
8261
8262 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8263 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8264
0c33dd17
MA
82652011-06-04 Michael Albinus <michael.albinus@gmx.de>
8266
8267 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8268 "SunOS 5.10".
8269
f8f91c2b
MA
82702011-06-04 Michael Albinus <michael.albinus@gmx.de>
8271
8272 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8273 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8274 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8275 (tramp-parse-putty):
8276 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8277 (tramp-completion-function-alist-ssh)
8278 (tramp-completion-function-alist-telnet)
8279 (tramp-completion-function-alist-su)
8280 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8281 cookie.
8282
8283 * net/tramp-ftp.el:
8284 * net/tramp-sh.el:
8285 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8286 load "tramp.el" `tramp-set-completion-function'.
8287
e17d9003
SM
82882011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8289
8290 * shell.el: Require and use pcomplete.
8291 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8292 (shell-completion-vars): Set pcomplete-default-completion-function.
8293
6c4cab03
DD
82942011-06-04 Deniz Dogan <deniz@dogan.se>
8295
8296 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8297 `memq' (Bug#8799).
8298
ea9fafe0
SM
82992011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8300
8301 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8302
b3e945d3
JB
83032011-06-02 Juanma Barranquero <lekktu@gmail.com>
8304
8305 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8306 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8307 * vc/log-view.el (log-view-beginning-of-defun):
8308 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8309 (smerge-refine-forward, smerge-refine-chopup-region):
8310 Silence warning for unused `dotimes' counter variables.
8311
7d520089
SM
83122011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8313
8314 * net/tramp.el (tramp-with-progress-reporter): Rename from
8315 with-progress-reporter. Use `declare'.
8316 * net/tramp-smb.el:
8317 * net/tramp-sh.el:
8318 * net/tramp-gvfs.el: Update all uses.
8319
a1c2400f
JB
83202011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8321
8322 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8323 buffer isn't killed before making it current.
8324
2403c841
SM
83252011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8326
8327 Silence various byte-compiler warnings.
8328 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8329 `access-type' and new obsolescence format.
8330 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8331 new format.
8332 (byte-compile-check-variable): New `access-type' argument.
8333 Only warn if the access-type is obsolete.
8334 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8335 (byte-compile-variable-set): Adjust callers.
8336 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8337 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8338 setting it as obsolete.
8339 * simple.el (minibuffer-completing-symbol):
8340 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8341 access as obsolete.
8342 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8343 obsolete yet.
8344 * international/quail.el (quail-mouse-choose-completion): Remove unused
8345 code referring to obsolete var.
8346 (quail-choose-completion-string): Remove.
8347 * server.el (server-clients-with, server-kill-buffer-query-function)
8348 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8349 * proced.el (proced-send-signal):
8350 * emacs-lisp/lisp.el (lisp-complete-symbol):
8351 Replace completion-annotate-function with completion-extra-properties.
8352
2462470b
SM
83532011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8354
fb5b2591
SM
8355 * simple.el (goto-line): Use read-number.
8356 (overriding-map-is-bound): Remove.
8357 (saved-overriding-map): Change default.
8358 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8359 Take the map as argument.
8360 (universal-argument, negative-argument, digit-argument): Use it.
8361 (restore-overriding-map): Adjust.
8362 (do-auto-fill): Use fill-forward-paragraph.
8363 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8364
fd6fa53f
SM
8365 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8366 (minibuffer-inactive-mode): New major mode.
8367 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8368 the *Messages* buffer" hack.
8369 (mouse-popup-menubar): Don't burp if the event is a normal key.
8370
2462470b
SM
8371 Miscellaneous tweaks.
8372 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8373 lexical scoping as in subr.el's dolist and dotimes.
8374 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8375 Silence compiler warning.
8376 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8377 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8378 * international/ccl.el (ccl-compile): Trivial simplification.
8379 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8380 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8381 `printflag' argument.
8382 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8383 Purecopy the whole obsolescence data.
8384
108bf785
LL
83852011-06-01 Leo Liu <sdl.web@gmail.com>
8386
8387 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8388 improve doc-string as suggested by Marco Pessotto
8389 <melmothx@gmail.com>.
8390 (rcirc-print): Fix last change.
8391
30a23501
SM
83922011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8393
8394 * minibuffer.el (complete-with-action): Return nil for the metadata and
8395 boundaries of non-functional tables.
8396 (completion-table-dynamic): Return nil for the metadata.
8397 (completion-table-with-terminator): Add default case, using
8398 complete-with-action.
8399 (completion--metadata): New function.
8400 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8401 to try and avoid pathological performance problems.
8402 (completion--embedded-envvar-table): Return `category' metadata.
8403
bcd54f83
LMI
84042011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8405
8406 * subr.el (process-alive-p): New tiny convenience function.
8407
e227544d
SM
84082011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8409
8410 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8411 content but also its previous major mode.
8412
e8296fdc
HE
84132011-05-31 Helmut Eller <eller.helmut@gmail.com>
8414
4d61f28d 8415 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8416 *Backtrace* buffer when we exit with C-M-c.
8417
620c53a6
SM
84182011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8419
8420 * minibuffer.el: Add metadata method to completion tables.
8421 (completion-category-overrides): New defcustom.
8422 (completion-metadata, completion--field-metadata)
8423 (completion-metadata-get, completion--styles)
8424 (completion--cycle-threshold): New functions.
8425 (completion-try-completion, completion-all-completions):
8426 Add `metadata' argument to choose completion-styles.
8427 (completion--do-completion): Use metadata to choose cycling.
8428 (completion-all-sorted-completions): Use metadata for sorting.
8429 Remove :completion-cycle-penalty which is not needed any more.
8430 (completion--try-word-completion): Add `metadata' argument.
8431 (minibuffer-completion-help): Check metadata for annotation function
8432 and sorting.
8433 (completion-file-name-table): Return `category' metadata.
8434 (minibuffer-completing-file-name): Make obsolete.
8435 * simple.el (minibuffer-completing-symbol): Make obsolete.
8436 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8437 completion-try-completion.
8438
1257e755
SM
84392011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8440
8441 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8442
3767e706
LL
84432011-05-30 Leo Liu <sdl.web@gmail.com>
8444
8445 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8446 (rcirc-print): Decode all incoming messages (bug#8744).
8447 (rcirc-decode-coding-system): Allow value nil for automatic coding
8448 system detection.
3767e706 8449
d1a5d56a
GM
84502011-06-01 Glenn Morris <rgm@gnu.org>
8451
8452 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8453
e8cbec34
CY
84542011-05-29 Chong Yidong <cyd@stupidchicken.com>
8455
8456 * image.el (image-animate-max-time): Allow nil and t values.
8457 Default to nil.
8458 (create-animated-image): Doc fix.
8459 (image-animate-start): Remove second arg; just use
8460 image-animate-max-time.
8461 (image-animate-timeout): Doc fix. Args changed.
8462
8463 * image-mode.el (image-toggle-display-image): Ensure that the
8464 image spec passed to the animate timer is the same object as in
58179cce 8465 the buffer's display property (Bug#6981).
e8cbec34
CY
8466 (image-transform-properties): Doc fix.
8467
8468 * image.el (image-animate-max-time): Default to nil.
8469
159daf87
MR
84702011-05-29 Martin Rudalics <rudalics@gmx.at>
8471
8472 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8473 entire buffer list (Bug#8184).
8474
d66c4c7c
CY
84752011-05-29 Chong Yidong <cyd@stupidchicken.com>
8476
8477 * image.el (imagemagick-types-inhibit)
8478 (imagemagick-register-types): Doc fix.
8479
80aec780
DD
84802011-05-29 Deniz Dogan <deniz@dogan.se>
8481
8482 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8483 default.
8484
1dd3c2d9
CY
84852011-05-29 Chong Yidong <cyd@stupidchicken.com>
8486
8487 * select.el: Don't perform clipboard-manager saving in hooks;
8488 leave the hooks empty.
8489
60e56523
LL
84902011-05-28 Leo Liu <sdl.web@gmail.com>
8491
8492 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8493 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8494 (occur-edit-mode): New major mode (Bug#8463).
8495 (occur-after-change-function): New function.
8496 (occur-engine): Give Occur tags a read-only property.
8497
2b1e1a22
KR
84982011-05-28 Kevin Ryde <user42@zip.com.au>
8499
8500 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8501
5d344e88
CY
85022011-05-28 Chong Yidong <cyd@stupidchicken.com>
8503
8e6ca83d
CY
8504 * bindings.el (help-echo): Make the initial non-indicator dash
8505 empty on graphical terminals (Bug#7295).
8506
5d344e88
CY
8507 * files.el (auto-mode-alist): Move config rule after the
8508 in-stripping one (Bug#8547).
8509
bfbbace7
CY
8510 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8511
fbeba6e2
CY
8512 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8513 setting (Bug#8740).
8514
60ed8c72
AA
85152011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8516
4ac619f0
AA
8517 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8518 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8519 (Bug#8539).
60ed8c72 8520
23db196e
CY
85212011-05-28 Chong Yidong <cyd@stupidchicken.com>
8522
8523 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8524
5012f24c
DK
85252011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8526
8527 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8528 (hs-hide-block-at-point, hs-find-block-beginning)
8529 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8530 (Bug#8279).
8531
6a639b16
GM
85322011-05-28 Glenn Morris <rgm@gnu.org>
8533
8534 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8535
d43eaf2c
CY
85362011-05-28 Chong Yidong <cyd@stupidchicken.com>
8537
5199bde1
CY
8538 * help-fns.el (describe-function-1): If the function is a derived
8539 major mode, print the parent mode.
8540
d43eaf2c
CY
8541 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8542 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8543
423428a8
SM
85442011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8545
0ff8e1ba 8546 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8547 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8548 * progmodes/etags.el (tags-completion-at-point-function):
8549 * info-look.el (info-lookup-completions-at-point): Mark as
8550 non-exclusive.
8551 (info-complete): Adjust accordingly.
8552
423428a8
SM
8553 * info-look.el: Convert to lexical-binding and completion-at-point.
8554 (info-lookup-completions-at-point): New function.
8555 (info-complete): Use it and completion-in-region.
8556
b74aa22b
DA
85572011-05-28 Drew Adams <drew.adams@oracle.com>
8558
8559 * isearch.el: Let M-e start with point at the first mismatched char.
8560 (isearch-fail-pos): New function.
8561 (isearch-edit-string): Use it.
8562
66e2e71d
DK
85632011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8564
8565 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8566
b1890b0f 85672011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8568
8569 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8570 traversal functions for avl-trees.
8571 (avl-tree--stack): New struct.
8572 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8573 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8574 (avl-tree--do-enter): Add optional `updatefun' arg.
8575 Change return value.
eb95d01d 8576 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8577 (avl-tree--do-delete): Add `test' and `nilflag' args.
8578 Change return value.
eb95d01d
TC
8579 (avl-tree-member): Add optional `nilflag'
8580 (avl-tree-member-p): New function.
8581 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8582 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8583 (avl-tree-stack-empty-p): New functions.
8584
3769ddcf
TC
8585 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8586 avl-tree--del-balance1 and make it work both ways.
8587 (avl-tree--del-balance2): Remove.
8588 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8589 make it work both ways.
8590 (avl-tree--enter-balance2): Remove.
8591 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8592 New macros.
8593 (avl-tree--mapc, avl-tree-map): Add direction argument.
8594
eb95d01d 85952011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8596
8597 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8598
a9f737ee
CY
85992011-05-27 Chong Yidong <cyd@stupidchicken.com>
8600
8601 * select.el: Support clipboard managers with built-in function
8602 x-clipboard-manager-save, via delete-frame-functions and
8603 kill-emacs-hook.
8604 (xselect-convert-to-targets): Add MULTIPLE target to list.
8605 (xselect-convert-to-save-targets): New function.
8606
c92a1e54
KH
86072011-05-27 Kenichi Handa <handa@m17n.org>
8608
8609 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8610 let-binding rfc2047-encode-encoded-words to nil.
8611
e145f188
GM
86122011-05-27 Glenn Morris <rgm@gnu.org>
8613
5ec8a862
GM
8614 * mail/emacsbug.el: Don't require url-util.
8615
4b29d9fb
GM
8616 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8617
e145f188
GM
8618 * files.el (set-auto-mode):
8619 Also respect mode: entries at the end of the file. (Bug#8586)
8620
7d15102b
GM
86212011-05-26 Glenn Morris <rgm@gnu.org>
8622
98f593b8
GM
8623 * files.el (hack-local-variables-prop-line, hack-local-variables):
8624 Downcase mode names, as seems to be traditional.
27b48e63 8625 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8626
7d15102b
GM
8627 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8628 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8629
51d5b4ec
JD
86302011-05-25 Julien Danjou <julien@danjou.info>
8631
8632 * textmodes/rst.el (rst-define-level-faces): Do not define face
8633 symbol if it is already defined.
8634
91513f63
VB
86352011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8636
8637 * play/5x5.el (5x5-new-game, 5x5-randomize):
8638 Reset 5x5-solver-output to nil when a new grid is cast.
8639 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8640 these debugging traces, as defmacro breaks the compiled code.
8641
4d90d6d0
DK
86422011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8643
8644 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8645
e1b90ef6
LL
86462011-05-24 Leo Liu <sdl.web@gmail.com>
8647
8648 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8649 (vc-bzr-sha1): Adapt.
8650
d8e4b68b 8651 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8652
8653 * bindings.el: Provide sha1 feature.
8654
db0406bb 86552011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8656
8657 * mail/sendmail.el: Require `rfc2047'.
8658 (mail-insert-from-field): Do not perform RFC2047 encoding.
8659 (mail-encode-header): New function.
8660 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8661 buffer to the return value of select-message-coding-system.
8662 Call mail-encode-header.
b8d747b9
KH
8663
8664 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8665
db0406bb 86662011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8667
4d90d6d0
DK
8668 * mail/supercite.el (sc-default-cite-frame):
8669 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8670
eb8a5e9b
GM
86712011-05-24 Glenn Morris <rgm@gnu.org>
8672
f8630703
GM
8673 * progmodes/python.el (brm-menu): Declare.
8674
8831bbed
GM
8675 * emulation/viper.el (viper-set-hooks): Declare.
8676
eb8a5e9b
GM
8677 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8678 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8679 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8680 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8681 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8682 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8683
a2a25d24
SM
86842011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8685
8686 Add an :exit-function for completion-at-point.
8687
8688 * minibuffer.el (completion--done): New fun.
8689 (completion--do-completion): Use it. New arg `expect-exact'.
8690 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8691 since completion--do-completion does it for us now.
8692 (minibuffer-force-complete): Use completion--done and
8693 completion--replace. Handle sole-completion case with more care.
8694 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8695 (completion-extra-properties): New var.
8696 (completion-annotate-function): Make obsolete.
8697 (minibuffer-completion-help): Adjust accordingly.
8698 Use completion-list-insert-choice-function.
8699 (completion-at-point, completion-help-at-point):
8700 Bind completion-extra-properties.
8701 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8702 * simple.el (completion-list-insert-choice-function): New var.
8703 (completion-setup-function): Preserve it.
8704 (choose-completion): Pay attention to it, shuffle the code a bit.
8705 (choose-completion-string): New arg `insert-function'.
8706
8707 * textmodes/bibtex.el: Convert to lexical binding.
8708 (bibtex-mode-map): Use completion-at-point.
8709 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8710 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8711 (bibtex-complete): Define as obsolete alias.
8712 (bibtex-complete-internal): Remove.
8713 (bibtex-format-entry): Remove unused sub-group in regexp.
8714 * shell.el (shell--command-completion-data)
8715 (shell-environment-variable-completion):
8716 * pcomplete.el (pcomplete-completions-at-point):
8717 * comint.el (comint--complete-file-name-data): Use :exit-function
8718 instead of completion-table-with-terminator so it also works for
8719 choose-completion.
8720
e44e373d
SM
87212011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8722
4f91a816
SM
8723 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8724
782fc819
SM
8725 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8726 (bug#8710).
8727
e44e373d
SM
8728 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8729
381987c3
KM
87302011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8731
8732 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8733 customization variable and implement: If non-nil, auto-fill will
8734 be inhibited while on topic's header line.
8735
b776bc70
VB
87362011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8737
8738 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8739 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8740 always have a solution in grid size = 5 cases.
8741 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8742 (5x5-solver-output, 5x5-log-buffer): New vars.
8743 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8744 Make these variables buffer local to achieve 5x5 multi-session-ness.
8745 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8746 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8747 (5x5-solve-suggest): New funs.
8748 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8749 randomize a grid so that we ensure that there is always a solution.
8750 (5x5-make-random-grid): Allow other movement than flipping.
8751
7de88b6e
KR
87522011-05-23 Kevin Ryde <user42@zip.com.au>
8753
8754 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8755 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8756 advice and passes PREDICATE.
8757
b1ef1257
SM
87582011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8759
bbca48fe
SM
8760 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8761 byte-compile-lambda if it's actually a lambda.
8762
b1ef1257
SM
8763 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8764 Fix function quoting. Use backquote better.
8765
92a9cc65
YS
87662011-05-22 Yuanle Song <sylecn@gmail.com>
8767
8768 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8769 matching (Bug#8516).
8770
f0fb8059
JA
87712011-01-22 Jari Aalto <jari.aalto@cante.net>
8772
8773 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8774 different face (Bug#8178).
8775
d5b44c93
CY
87762011-05-22 Chong Yidong <cyd@stupidchicken.com>
8777
8778 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8779 defface (Bug#8144).
8780
79106a44
SM
87812011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8782
9c848d8a
SM
8783 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8784 funcall as well (bug#8712). Warn when performing those conversions.
8785 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8786
79106a44
SM
8787 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8788
88dfa756
GM
87892011-05-22 Glenn Morris <rgm@gnu.org>
8790
8791 * files.el (hack-local-variables-prop-line): Small simplifications.
8792 (hack-local-variables, hack-local-variables-prop-line):
8793 If MODE-ONLY, return the mode, rather than just `t'.
8794
b7cf2c79
SM
87952011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8796
8797 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8798
3f1a8558
GM
87992011-05-21 Glenn Morris <rgm@gnu.org>
8800
7e4ccca3
GM
8801 * files.el (hack-local-variables-prop-line, hack-local-variables):
8802 If only interested in the mode, don't bother doing the other stuff.
8803
637d46ca
GM
8804 * image-mode.el (image-after-revert-hook):
8805 Redraw all frames on which the image is visible. (Bug#8567)
8806
973d955b
GM
8807 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8808
3f1a8558
GM
8809 * wid-edit.el (widget-checklist-match-inline):
8810 Fix 2011-04-19 change. (Bug#8649)
8811
96479927
SM
88122011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8813
1dcf791f
SM
8814 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8815 Also allow singlespace after single-letter capitals followed by a dot.
8816
96479927
SM
8817 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8818 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8819
35fd0881
N
88202011-05-20 Nix <nix@esperi.org.uk>
8821
8822 * files.el (basic-save-buffer-2):
8823 Fix handling of break-hardlink-on-save with non-existent files.
8824
82745640
DD
88252011-05-19 Deniz Dogan <deniz@dogan.se>
8826
8827 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8828 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8829
4a720484
GM
88302011-05-19 Glenn Morris <rgm@gnu.org>
8831
d1f21341
GM
8832 * progmodes/f90.el (f90-type-def-re):
8833 Handle "type, bind(c)". (Bug#8691)
8834
4a720484
GM
8835 * emacs-lisp/autoload.el (batch-update-autoloads):
8836 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8837
2fb0a219
MA
88382011-05-18 Michael Albinus <michael.albinus@gmx.de>
8839
8840 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8841 property for the correct connection in case of multihops.
8842
e565dd37
GM
88432011-05-18 Glenn Morris <rgm@gnu.org>
8844
c2571358 8845 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8846 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8847
e565dd37
GM
8848 Rationalize calendar handling of day and month abbrev-arrays.
8849 * calendar/calendar.el (calendar-customized-p): New function.
8850 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8851 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8852 Add :set function.
8853 (calendar-abbrev-length, calendar-day-abbrev-array)
8854 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8855 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8856 Elements may no longer be nil.
8857 (calendar-day-name, calendar-month-name):
8858 Update for changed nature of abbrev arrays.
8859 * calendar/diary-lib.el (diary-name-pattern):
8860 Update for changed nature of abbrev arrays.
8861 (diary-mark-entries-1): Update calendar-make-alist calls.
8862 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8863 * calendar/cal-html.el (cal-html-day-abbrev-array):
8864 Simply inherit from calendar-day-abbrev-array.
8865
1d99a745
SM
88662011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 * progmodes/grep.el (grep-mode): Disable default
8869 compilation-directory-matcher setting (bug#8684).
8870
7c1d9aa0
MA
88712011-05-17 Michael Albinus <michael.albinus@gmx.de>
8872
8873 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8874 instead of "head" and "tail". There were problems with SunOS 5.9,
8875 and it performs better.
8876
3952e9d8
GM
88772011-05-17 Glenn Morris <rgm@gnu.org>
8878
2dd12e7f
GM
8879 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8880
e4157b9c
GM
8881 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8882 Replace obsolete function.
8883
8e249bbd
GM
8884 * shell.el (pcomplete-parse-arguments-function): Declare.
8885
3952e9d8
GM
8886 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8887 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8888 (appt-check): Doc fixes.
8889 (appt-disp-window-function, appt-delete-window-function):
8890 Remove needless special case in custom :type.
8891 (appt-display-count): Default to 0, not nil.
8892 (appt-check): Reset appt-display-count to 0, not nil.
8893
c71a0d48 88942011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8895
c71a0d48
GM
8896 * progmodes/python.el (python-font-lock-keywords):
8897 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 8898
31d55be9
SM
88992011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8900
8901 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8902
3bfacb2f
KR
89032011-05-16 Kevin Ryde <user42@zip.com.au>
8904
8905 * info-look.el (makefile-automake-mode): New setups, looking in
8906 automake manual, then makefile-mode.
8907 (makefile-mode): Remove automake manual, have it just in
8908 makefile-automake-mode since there's various things different or
8909 not relevant to plain make.
8910 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8911 believe a hypothetical automake-mode would go to makefile-mode,
8912 not the other way around.
8913
c8e83751
CY
89142011-05-15 Chong Yidong <cyd@stupidchicken.com>
8915
5e9e35cd
CY
8916 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8917 hunk-end tags (Bug#8672).
8918
c8e83751
CY
8919 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8920 vc-annotate-show-diff-revision-at-line (Bug#8671).
8921
50b23e5a
GM
89222011-05-14 Glenn Morris <rgm@gnu.org>
8923
7210a739
GM
8924 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8925 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
8926 (change-log-font-lock-keywords): Also handle multiple author lines
8927 with leading tabs. (Bug#8644)
7210a739 8928
4691905a
GM
8929 * calendar/appt.el (appt-check): Rename some local variables.
8930 Some simplification/reordering.
8931
50b23e5a
GM
8932 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
8933 (feedmail-sendmail-f-doesnt-sell-me-out)
8934 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8935 (feedmail-debug-sit-for, feedmail-queue-express-hook)
8936 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
8937 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8938 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
8939 (feedmail-binmail-gnulinuxish-template):
8940 Rename from feedmail-binmail-linuxish-template.
8941 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8942 Use insert-buffer-substring.
8943
215cda7c
BC
89442011-05-14 Bill Carpenter <bill@carpenter.org>
8945
8946 * mail/feedmail.el (feedmail-patch-level): Increase.
8947 (feedmail-debug): New custom group.
8948 (feedmail-confirm-outgoing-timeout)
8949 (feedmail-sendmail-f-doesnt-sell-me-out)
8950 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8951 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8952 (feedmail-sender-line, feedmail-from-line)
8953 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 8954 (feedmail-spray-this-address)
215cda7c
BC
8955 (feedmail-spray-address-fiddle-plex-list)
8956 (feedmail-queue-use-send-time-for-date)
8957 (feedmail-queue-use-send-time-for-message-id)
8958 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8959 (feedmail-buffer-eating-function):
8960 Doc fixes.
8961 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8962 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8963 (feedmail-message-action-scroll-down): New functions.
8964 (feedmail-queue-directory, feedmail-queue-draft-directory):
8965 Use expand-file-name.
8966 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8967 Remove C-v help entry.
8968 (feedmail-queue-buffer-file-name): New variable.
8969 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8970 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8971 (feedmail-message-action-send-strong, feedmail-message-action-edit)
8972 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8973 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8974 (feedmail-message-action-toggle-spray)
8975 (feedmail-run-the-queue-no-prompts)
8976 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8977 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8978 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8979 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8980 (feedmail-envelope-deducer, feedmail-fiddle-from)
8981 (feedmail-fiddle-sender, feedmail-default-date-generator)
8982 (feedmail-fiddle-date, feedmail-fiddle-message-id)
8983 (feedmail-fiddle-spray-address)
8984 (feedmail-fiddle-list-of-spray-fiddle-plexes)
8985 (feedmail-fiddle-list-of-fiddle-plexes)
8986 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8987 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8988 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8989 Change default. Doc fix.
8990 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8991 (feedmail-binmail-linuxish-template): New constant.
8992 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
8993 Respect feedmail-sendmail-f-doesnt-sell-me-out.
8994 (feedmail-send-it): Add debug call.
8995 Use feedmail-queue-buffer-file-name, and
8996 feedmail-send-it-immediately-wrapper.
8997 (feedmail-message-action-send): Add debug call.
8998 Use feedmail-send-it-immediately-wrapper.
8999 (feedmail-queue-express-to-queue): Add debug call.
9000 Run feedmail-queue-express-hook.
9001 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9002 (feedmail-message-action-help-blat):
9003 Rename from feedmail-queue-send-edit-prompt-help-first.
9004 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9005 Check line-endings. Handle errors better.
9006 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9007 Doc fix. Add debug call.
9008 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9009 Use feedmail-queue-send-edit-prompt-inner.
9010 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9011 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9012 from feedmail-queue-send-edit-prompt.
9013 (feedmail-queue-send-edit-prompt-help)
9014 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9015 (feedmail-tidy-up-slug): Add debug call.
9016 Respect feedmail-queue-slug-suspect-regexp.
9017 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9018 (feedmail-dump-message-to-queue): Add debug call.
9019 Expand queue-directory.
9020 (feedmail-dump-message-to-queue): Change message slightly.
9021 Use feedmail-say-chatter.
9022 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9023 (feedmail-send-it-immediately-wrapper): New function.
9024 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9025 Insert empty string rather than newline. Handle full-frame case.
9026 Use catch/throw. Use feedmail-say-chatter.
9027 (feedmail-fiddle-from): Try mail-host-address.
9028 (feedmail-default-message-id-generator): Doc fix.
9029 Bind system-time-locale. Handle missing end.
9030 (feedmail-fiddle-x-mailer): Add debug call.
9031 Handle feedmail-x-mailer-line being nil.
9032 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9033 Add debug call. Use buffer-substring-no-properties.
9034 (feedmail-say-debug, feedmail-say-chatter): New functions.
9035 (feedmail-find-eoh): Give an explicit error.
9036
42c7e61e
UJ
90372011-05-13 Ulf Jasper <ulf.jasper@web.de>
9038
c2571358 9039 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9040 family from helvetica to sans.
c2571358 9041 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9042 etc/images/newsticker.
9043
c2571358 9044 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9045 family from helvetica to sans.
9046
9047 * net/newst-plainview.el (newsticker-new-item-face)
9048 (newsticker-old-item-face, newsticker-immortal-item-face)
9049 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9050 (newsticker-statistics-face): Change default family from
42c7e61e 9051 helvetica to sans.
c2571358 9052 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9053 etc/images/newsticker.
9054
9055 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9056 (newsticker--process-auto-mark-filter-match): : Tell user about
9057 auto-marking.
9058
8497a297
DV
90592011-05-13 Didier Verna <didier@xemacs.org>
9060
9061 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9062 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9063 TODO entries.
8497a297
DV
9064 (lisp-lambda-list-keyword-parameter-indentation)
9065 (lisp-lambda-list-keyword-parameter-alignment)
9066 (lisp-lambda-list-keyword-alignment): New customizable user options.
9067 (lisp-indent-defun-method): Improve docstring.
9068 (extended-loop-p): Fix comment.
9069 (lisp-indent-lambda-list-keywords-regexp): New variable.
9070 (lisp-indent-lambda-list): New function.
9071 (lisp-indent-259): Use it.
9072 (lisp-indent-defmethod): Support for more than one
9073 method qualifier and properly indent methods lambda-lists.
9074 (defgeneric): Provide a missing common-lisp-indent-function property.
9075
f278f87f
SM
90762011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9077
9078 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9079 bounds for the empty string (bug#8667).
9080
5233edd7
GM
90812011-05-13 Glenn Morris <rgm@gnu.org>
9082
5237a44f
GM
9083 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9084
8340026c 9085 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9086 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9087
5233edd7 9088 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9089 (appt-time-msg-list): Doc fix.
a5464014 9090 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9091
92d10796
AS
90922011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9093
9094 * progmodes/ld-script.el (ld-script-keywords)
9095 (ld-script-builtins): Update keywords list.
9096
914a0ae1
SM
90972011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9098
c89be45f
SM
9099 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9100
914a0ae1
SM
9101 * shell.el (shell-completion-vars): New function.
9102 (shell-mode):
9103 * simple.el (read-shell-command): Use it.
9104 (blink-matching-open): No need for " [...]" in minibuffer-message.
9105
98dc3df3
GM
91062011-05-12 Glenn Morris <rgm@gnu.org>
9107
9108 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9109 (appt-check): Simplify.
9110
d2fc7e3d 91112011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9112
4d61f28d 9113 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9114 literal "/dev/null".
9115
d2fc7e3d 91162011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9117
9118 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9119 Fix typo.
9120
d2fc7e3d 91212011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9122
3f254caa
SM
9123 * progmodes/which-func.el (which-function):
9124 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9125 which might not be defined (Bug#8260).
9126
d45885f7
GM
91272011-05-12 Glenn Morris <rgm@gnu.org>
9128
9129 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9130 Let byte-compile-initial-macro-environment always take precedence.
9131
488086f4
SM
91322011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9133
9134 * net/rcirc.el: Add support for SSL/TLS connections.
9135 (rcirc-server-alist): New field `encryption'.
9136 (rcirc): Check `encryption' settings.
9137 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9138 Merge make-local-variable into `set'.
9139 (rcirc--connection-open-p): New function.
9140 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9141 the process is not a network process (e.g. running gnutls-cli).
9142 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9143 Make rcirc-(en|de)code-coding-system local here.
9144 (rcirc-mode): Merge make-local-variable into `set'.
9145 (rcirc-parent-buffer): Make permanent buffer-local.
9146 (rcirc-multiline-minor-mode): Don't do it here.
9147 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9148 there's no server buffer.
9149
7d3b9d44
GM
91502011-05-11 Glenn Morris <rgm@gnu.org>
9151
f64049c6
GM
9152 * newcomment.el (comment-kill): Prefix "unused" local.
9153
93c9df73
GM
9154 * term/w32console.el (get-screen-color): Declare.
9155
7d3b9d44
GM
9156 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9157 Handle symbol elements of byte-compile-initial-macro-environment.
9158
9e2dd53f
LL
91592011-05-10 Leo Liu <sdl.web@gmail.com>
9160
488086f4
SM
9161 * bookmark.el (bookmark-bmenu-mode-map):
9162 Bind bookmark-bmenu-search to `/'.
8b340240 9163
9e2dd53f 9164 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9165 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9166 (Footnote-unicode): New function.
9167 (footnote-style-alist): Add unicode style to the list.
9168 (footnote-style): Doc fix.
9e2dd53f 9169
79b70037
GM
91702011-05-10 Jim Meyering <meyering@redhat.com>
9171
9172 Fix doubled-word typos.
9173 * international/quail.el (quail-insert-kbd-layout): and and -> and
9174 * kermit.el: and and -> and
9175 * net/ldap.el (ldap-search-internal): to to -> to
9176 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9177 * progmodes/js.el (js-mode): and and -> and
9178 * textmodes/artist.el (artist-move-to-xy): at at -> at
9179 (artist-draw-region-trim-line-endings): if if -> if
9180 And Safetyc -> Safety.
9181 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9182
b8f82dc1 91832011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9184 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9185
9186 * files.el (hack-one-local-variable-eval-safep):
9187 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9188
4f99f44b
GM
91892011-05-10 Glenn Morris <rgm@gnu.org>
9190
9191 * calendar/diary-lib.el (diary-list-entries-hook)
9192 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9193 (diary-nongregorian-marking-hook, diary-list-entries)
9194 (diary-include-other-diary-files, diary-mark-entries)
9195 (diary-mark-included-diary-files): Doc fixes.
9196
84f29e6b
JB
91972011-05-09 Juanma Barranquero <lekktu@gmail.com>
9198
9199 * misc.el: Require tabulated-list.el during compilation.
9200
9bedd73a
CY
92012011-05-09 Chong Yidong <cyd@stupidchicken.com>
9202
488086f4
SM
9203 * progmodes/compile.el (compilation-start):
9204 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9205 (compilation-filter-hook): Doc fix.
9206
797c735c
DD
92072011-05-09 Deniz Dogan <deniz@dogan.se>
9208
9209 * wdired.el: Remove outdated installation comment. Fix usage
9210 comment.
9211
5f4b1dfe
JB
92122011-05-09 Juanma Barranquero <lekktu@gmail.com>
9213
9214 * misc.el: Implement new command `list-dynamic-libraries'.
9215 (list-dynamic-libraries--loaded-only-p): New variable.
9216 (list-dynamic-libraries--refresh): New function.
9217 (list-dynamic-libraries): New command.
9218
4c44026c
CY
92192011-05-09 Chong Yidong <cyd@stupidchicken.com>
9220
488086f4
SM
9221 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9222 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9223 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9224 higher priority to avoid clobbering by gnu.
9225
027f966d
CY
92262011-05-08 Chong Yidong <cyd@stupidchicken.com>
9227
9228 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9229 if the face has existing theme settings (Bug#8454).
9230
085f5d7d
CY
92312011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9232
488086f4
SM
9233 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9234 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9235
2a86a00c
RS
9236 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9237 special file names `.' and `..' (Bug#8259).
9238
d9c54a06
CY
92392011-05-08 Chong Yidong <cyd@stupidchicken.com>
9240
488086f4
SM
9241 * progmodes/grep.el (grep-mode-font-lock-keywords):
9242 Remove buffer-changing entries.
d9c54a06
CY
9243 (grep-filter): New function.
9244 (grep-mode): Add it to compilation-filter-hook.
9245
9246 * progmodes/compile.el (compilation-filter-hook)
9247 (compilation-filter-start): New defvars.
9248 (compilation-filter): Call compilation-filter-hook prior to
9249 updating the process mark.
9250
c4662635
SM
92512011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9252
9253 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9254
b0512a1d
EZ
92552011-05-07 Eli Zaretskii <eliz@gnu.org>
9256
605c9376
EZ
9257 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9258 mailclient-send-it even if window-system is nil. (Bug#8595)
9259
c4662635
SM
9260 * term/w32console.el (terminal-init-w32console):
9261 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9262 background-mode. (Bug#8597)
9263
d1dc2cc2
SM
92642011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9265
9266 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9267 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9268 New functions.
9269 (defgeneric, eieio--defmethod): Use them.
9270 (eieio-defgeneric): Remove.
9271 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9272
915d1300
GM
92732011-05-07 Glenn Morris <rgm@gnu.org>
9274
a3961c3e
GM
9275 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9276 Use let rather than let*.
9277 (timeclock-find-discrep): Remove unused local.
9278
314347b9
GM
9279 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9280
915d1300
GM
9281 * calendar/appt.el (appt-time-msg-list): Doc fix.
9282
275b59b0
NF
92832011-05-06 Noah Friedman <friedman@splode.com>
9284
9285 * apropos.el (apropos-print-doc): Only use
9286 emacs-lisp-docstring-fill-column when it is bound to an integer,
9287 per that variable's documentation.
9288
6c19f744
SM
92892011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9290
9291 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9292 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9293
60f884b2
GM
92942011-05-06 Glenn Morris <rgm@gnu.org>
9295
5006e634
GM
9296 * calendar/appt.el (appt-message-warning-time): Doc fix.
9297 (appt-warning-time-regexp): New option.
9298 (appt-make-list): Respect appt-message-warning-time.
9299
548d0a63
GM
9300 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9301 New options.
9302 (diary-add-to-list): Strip comments from the displayed string.
9303 (diary-mode): Set comment-start and comment-end.
9304
60f884b2
GM
9305 * vc/diff-mode.el (smerge-refine-subst): Declare.
9306 (diff-refine-hunk): Don't require smerge-mode when compiling.
9307
989681bb
JB
93082011-05-06 Juanma Barranquero <lekktu@gmail.com>
9309
9310 * simple.el (list-processes): Return nil as the docstring says.
9311
a6bc05e1
MA
93122011-05-05 Michael Albinus <michael.albinus@gmx.de>
9313
9314 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9315 to "".
9316 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9317 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9318 determining of binary transfer. (Bug#7383)
9319
23c22e9a
MA
93202011-05-05 Michael Albinus <michael.albinus@gmx.de>
9321
c4662635
SM
9322 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9323 Fix port computation bug. (Bug#8618)
23c22e9a 9324
0bff894f
GM
93252011-05-05 Glenn Morris <rgm@gnu.org>
9326
b8296902
GM
9327 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9328
1f522ce8
GM
9329 * simple.el (shell-dynamic-complete-functions)
9330 (comint-dynamic-complete-functions): Declare.
9331
cf5bee67
GM
9332 * net/network-stream.el (gnutls-negotiate):
9333 * simple.el (tabulated-list-print): Fix declarations.
9334
9335 * progmodes/gud.el (syntax-symbol, syntax-point):
9336 Remove unnecessary and incorrect declarations.
9337
0bff894f
GM
9338 * emacs-lisp/check-declare.el (check-declare-scan):
9339 Handle byte-compile-initial-macro-environment in bytecomp.el
9340
9869b3ae
SM
93412011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9342
9343 Fix earlier half-done eieio-defmethod change (bug#8338).
9344 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9345 Streamline and change calling convention.
9346 (defmethod): Adjust accordingly and simplify.
9347 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9348 new eieio--defmethod.
9349 (slot-boundp): Minor CSE simplification.
9350
9c1d5ac5
MZ
93512011-05-05 Milan Zamazal <pdm@zamazal.org>
9352
9353 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9354 (glasses-make-readable): Use glasses-separate-capital-groups.
9355
455c834e
JB
93562011-05-05 Juanma Barranquero <lekktu@gmail.com>
9357
9358 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9359 (warning-series): Doc fix.
9360 (display-warning): Don't try to create the buffer if we just found it.
9361
9ed7c8cb
CY
93622011-05-04 Chong Yidong <cyd@stupidchicken.com>
9363
9364 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9365 (autoload-find-generated-file): New function.
9366 (generate-file-autoloads): Bind generated-autoload-file to
9367 buffer-file-name.
9869b3ae
SM
9368 (update-file-autoloads, update-directory-autoloads):
9369 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9370 output file (Bug#7989).
9371 (batch-update-autoloads): Doc fix.
9372
0898ca10
JB
93732011-05-04 Juanma Barranquero <lekktu@gmail.com>
9374
9375 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9376
31dfb76c
GM
93772011-05-04 Glenn Morris <rgm@gnu.org>
9378
f330b642
GM
9379 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9380 function, so it follows changes in calendar-date-style.
9381 (diary-fancy-date-matcher): New function.
9382 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9383 (diary-fancy-font-lock-fontify-region-function):
9384 Use diary-fancy-date-pattern as a function.
9385
31dfb76c
GM
9386 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9387 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9388
48e79d6a
TZ
93892011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9390
9391 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9392 instead of positional arguments. Allow :keylist and :crlfiles
9393 arguments.
9394 (open-gnutls-stream): Call it.
9395
9396 * net/network-stream.el (network-stream-open-starttls): Adjust to
9397 call `gnutls-negotiate' with :process and :hostname arguments.
9398
dd5a5ee0
SM
93992011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9400
ef80fc09
SM
9401 * minibuffer.el (completion--message): New function.
9402 (completion--do-completion, minibuffer-complete)
9403 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9404 (completion--do-completion): Don't ignore completion-auto-help when in
9405 icomplete-mode.
9406
dd5a5ee0
SM
9407 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9408 internal encoding (e.g. tibetan zero is not whitespace).
9409 (global-whitespace-mode): Prefer save-current-buffer.
9410 (whitespace-trailing-regexp): Remove useless save-match-data.
9411 (whitespace-empty-at-bob-regexp): Minor simplification.
9412
b7d22a83
CY
94132011-05-03 Chong Yidong <cyd@stupidchicken.com>
9414
9415 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9416
5192af46
AM
94172011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9418
9419 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9420 Use `concat' to create string for insertion.
5192af46 9421
5767d190
SM
94222011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9423
9424 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9425 Avoid open-line which runs post-self-insert-hook.
9426 (bibtex-fill-entry): Remove unused `end' var.
9427
bf242939
AM
94282011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9429
5767d190
SM
9430 * textmodes/ispell.el (ispell-add-per-file-word-list):
9431 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9432
25666126
LL
94332011-05-03 Leo Liu <sdl.web@gmail.com>
9434
9435 * isearch.el (isearch-yank-pop): New command.
5767d190 9436 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9437 (isearch-forward): Mention it.
9438
52d3c2d0
SM
94392011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9440
1bcace58
SM
9441 * simple.el (minibuffer-complete-shell-command): Remove.
9442 (minibuffer-local-shell-command-map): Use completion-at-point.
9443 (read-shell-command): Setup completion vars here instead.
9444 (read-expression-map): Bind TAB to symbol completion.
9445
52d3c2d0
SM
9446 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9447 error directly rather via storing it into `results'.
9448
35813471
LL
94492011-05-02 Leo Liu <sdl.web@gmail.com>
9450
9451 * vc/diff.el: Fix description.
9452
e793a940
LMI
94532011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9454
9455 * server.el (server-eval-at): New function.
9456
8de66e05
LMI
94572011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9458
9459 * net/network-stream.el (open-network-stream): Take a :nowait
9460 parameter and pass it on to `make-network-process'.
9461 (network-stream-open-plain): Ditto.
9462
dcb79f20
AS
94632011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9464
9465 * faces.el (face-spec-set-match-display): Don't match toolkit
9466 options on terminal frames.
9467
14a7fbd8
SM
94682011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9469
7eabc1be
SM
9470 * progmodes/pascal.el: Use lexical binding.
9471 (pascal-mode-map): Remove author preferences.
9472
14a7fbd8
SM
9473 * pcomplete.el (pcomplete-std-complete): Don't abuse
9474 completion-at-point.
9475
50f84510
JB
94762011-04-28 Juanma Barranquero <lekktu@gmail.com>
9477
6e087a44
JB
9478 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9479 removing code that has been dead since 1991 or so.
9480
50f84510
JB
9481 * startup.el (command-line): When warning about "_emacs", use a
9482 delayed warning to allow the user to filter it out.
9483
0ba690bd
DD
94842011-04-28 Deniz Dogan <deniz@dogan.se>
9485
9486 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9487 user has not joined.
9488
08abfaad
SM
94892011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9492 aren't any completions at point.
9493
638f053a
JB
94942011-04-28 Juanma Barranquero <lekktu@gmail.com>
9495
9496 * subr.el (display-delayed-warnings): New function.
9497 (delayed-warnings-hook): New variable.
9498
8fff8daa
SM
94992011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9500
08abfaad
SM
9501 * minibuffer.el (completion-at-point, completion-help-at-point):
9502 Don't presume that a given completion-at-point-function will always
9503 use the same calling convention.
9504
8fff8daa
SM
9505 * pcomplete.el (pcomplete-completions-at-point):
9506 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9507 pcomplete-seen is non-nil.
9508 (pcomplete-comint-setup): Also recognize the new comint/shell
9509 completion functions.
9510 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9511 pcomplete-seen is non-nil.
9512
841a1577 95132011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9514
841a1577 9515 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9516 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9517 the first character in the entry. This allows for code to add its
211ec907
UJ
9518 own uid to the entry.
9519 (icalendar--convert-float-to-ical): Add export of
9520 `diary-float'-entries save for those with the optional DAY
9521 argument.
9522
2a782793
DC
95232011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9524
9525 * subr.el (shell-quote-argument): Use alternate escaping strategy
9526 when we spot a variable reference in a string.
9527
0438ce91
DC
95282011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9529
9530 * cus-start.el (all): Define customization for debug-on-event.
9531
841a1577 95322011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9533
9534 * subr.el (shell-quote-argument): Escape correctly under Windows.
9535
d090ed6c
SM
95362011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9537
9538 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9539
bfd31217
MA
95402011-04-25 Michael Albinus <michael.albinus@gmx.de>
9541
d090ed6c
SM
9542 * net/tramp.el (tramp-process-actions): Add POS argument.
9543 Delete region between POS and (pos).
bfd31217 9544
d090ed6c
SM
9545 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9546 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9547 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9548
9549 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9550 position in `tramp-process-actions' call.
9551
9552 * net/trampver.el: Update release number.
9553
e92f3bd3
SM
95542011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9555
850256b5
SM
9556 * custom.el (defcustom): Obey lexical-binding.
9557
e92f3bd3
SM
9558 Fix octave-inf completion problems reported by Alexander Klimov.
9559 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9560 Inherit from octave-mode-syntax-table.
9561 (inferior-octave-mode): Set info-lookup-mode.
9562 (inferior-octave-completion-at-point): New function.
9563 (inferior-octave-complete): Use it and completion-in-region.
9564 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9565 comint-filename-completion.
9566 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9567 symbol elements which shouldn't be word elements.
9568 (octave-font-lock-keywords, octave-beginning-of-defun)
9569 (octave-function-header-regexp): Adjust regexps accordingly.
9570 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9571
cd22b309
JB
95722011-04-25 Juanma Barranquero <lekktu@gmail.com>
9573
9574 * net/gnutls.el (gnutls-errorp): Declare before first use.
9575
8b492194
TZ
95762011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9577
9578 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9579 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9580 default trustfile exists before going to use it. Add missing
5a5fa834 9581 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9582 Reported by Claudio Bley <claudio.bley@gmail.com>.
9583 (open-gnutls-stream): Add usage example.
9584
9585 * net/network-stream.el (network-stream-open-starttls): Give host
9586 parameter to `gnutls-negotiate'.
9587 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9588 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9589
841a1577 95902011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9591
cd22b309
JB
9592 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9593 Use correct match group (bug#8438).
05842630 9594
3ba7869c
CY
95952011-04-24 Chong Yidong <cyd@stupidchicken.com>
9596
512e3ae1
CY
9597 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9598 (package-menu--generate): New arg specifying packages to show.
9599 (package-menu-refresh, package-menu-execute, list-packages):
9600 Callers changed.
9601 (package-show-package-list): New function, replacing deleted
9602 package--list-packages (renamed because it is non-internal).
9603
9604 * finder.el (finder-list-matches): Use package-show-package-list
9605 instead of deleted package--list-packages.
9606
e92f3bd3
SM
9607 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9608 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9609 (vc-annotate-mode-map): Bind it to RET.
9610
7031be6d
UR
96112011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9612
9613 * progmodes/etags.el (next-file): Don't use set-buffer to change
9614 buffers (Bug#8478).
9615
4ef177aa
CY
96162011-04-24 Chong Yidong <cyd@stupidchicken.com>
9617
c8d173eb
CY
9618 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9619
4ef177aa
CY
9620 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9621 (apropos-accumulator): Doc fix.
9622 (apropos-function, apropos-macro, apropos-command)
9623 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9624 (apropos-plist): Add face property.
9625 (apropos-symbols-internal): Fix indentation.
9626 (apropos-print): Simplify help, and recognize apropos-multi-type.
9627 (apropos-print-doc): Use button-type-get to extract the button's
9628 face property. Fill docstring (Bug#8352).
9629
4ffd0d6b 96302011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9631
9632 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9633
c6c32125 9634 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9635 (mpuz-mode-map): Use mapc.
c6c32125
JB
9636 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9637 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9638 Fix typos in docstrings.
9639
58d468b4
JB
9640 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9641 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9642
6470c3c6
JB
9643 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9644
4ffd0d6b 96452011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9646
9647 * minibuffer.el (completion--do-completion): Avoid the "Next char
9648 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9649
3ad8bad0
CY
9650 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9651 mouse-2 into unread-command-events, it is interpreted correctly.
9652
71d73c9c 9653 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9654 (image-toggle-display): Doc fix.
71d73c9c 9655
841a1577 96562011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9657
4ffd0d6b
GM
9658 * textmodes/page.el (what-page): Use line-number-at-pos to
9659 calculate line number (Bug#6825).
6e1dbaa9 9660
c2fb1b60
JB
96612011-04-22 Juanma Barranquero <lekktu@gmail.com>
9662
9663 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9664 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9665 Pass argument NO-DEFAULT to `find-tag-interactive'.
9666
e02f48d7
JB
96672011-04-22 Juanma Barranquero <lekktu@gmail.com>
9668
9669 Lexical-binding cleanup.
9670
9671 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9672 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9673 * progmodes/ada-prj.el (ada-prj-initialize-values)
9674 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9675 (ada-prj-show-value):
9676 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9677 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9678 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9679 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9680 * progmodes/bug-reference.el (bug-reference-push-button):
9681 * progmodes/fortran.el (fortran-line-length):
9682 * progmodes/glasses.el (glasses-change):
9683 * progmodes/octave-mod.el (octave-fill-paragraph):
9684 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9685 (python-pdbtrack-grub-for-buffer, python-sentinel):
9686 * progmodes/sql.el (sql-save-connection):
9687 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9688 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9689 Mark unused parameters.
9690
9691 * progmodes/compile.el (compilation--flush-directory-cache)
9692 (compilation--flush-parse, compile-internal): Mark unused parameters.
9693 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9694 (compilation-next-error-function): Remove unused variable `timestamp'.
9695
9696 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9697 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9698
9699 * progmodes/dcl-mode.el (dcl-end-of-command):
9700 Remove unused variable `start'.
9701 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9702 (dcl-option-value-basic, dcl-option-value-offset)
9703 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9704 Mark unused parameters.
9705 (dcl-save-local-variable): Remove unused variable `val'.
9706 (mode): Declare.
9707
9708 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9709 Mark unused parameters.
9710 (delphi-ignore-changes): Move before first use.
9711 (delphi-charset-token-at): Remove unused variable `start'.
9712 (delphi-else-start): Remove unused variable `if-count'.
9713 (delphi-comment-block-start, delphi-comment-block-end):
9714 Remove unused variable `kind'.
9715 (delphi-indent-line): Remove unused variable `new-point'.
9716
9717 * progmodes/ebrowse.el (ebrowse-files-list)
9718 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9719 Mark unused parameters. Don't quote `lambda'.
9720 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9721 Don't quote `lambda'.
9722 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9723 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9724 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9725 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9726 Use `ignore-errors'.
9727 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9728 (ebrowse-view/find-file-and-search-pattern)
9729 (ebrowse-view/find-member-declaration/definition):
9730 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9731 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9732 Rename parameter PREFIX-ARG to PREFIX.
9733 (ebrowse-tags-read-name): Remove unused variables `start' and
9734 `member-info'.
9735 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9736 to `tags-file'.
9737
9738 * progmodes/etags.el (local-find-tag-hook): Declare.
9739 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9740 Mark unused parameters.
9741
9742 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9743 (executable-interpret): Mark unused parameter.
9744
9745 * progmodes/flymake.el (flymake-process-sentinel)
9746 (flymake-after-change-function)
9747 (flymake-create-temp-with-folder-structure)
9748 (flymake-get-include-dirs-dot): Mark unused parameters.
9749 (flymake-safe-delete-directory): Remove unused variable `err'.
9750
9751 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9752 (speedbar-timer-fn, speedbar-line-text)
9753 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9754 (speedbar-center-buffer-smartly): Declare functions.
9755 (gdb-find-watch-expression): Remove unused variable `array'.
9756 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9757 (gdb-starting): Mark unused parameters.
9758 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9759 (gdb-table-string): Remove unused variable `res'.
9760 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9761 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9762 (gdb-display-buffer): Remove unused variable `cur-size'.
9763
9764 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9765 allow lexical-binding compilation.
9766 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9767 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9768 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9769 Mark unused parameters.
9770 (gud-gdb-marker-filter): Remove unused variable `match'.
9771 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9772 lambda expressions and funcall them, instead of using `fset'.
9773
9774 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9775 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9776
9777 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9778 variable `header-beg'; use `let'.
9779
9780 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9781 `restart', `last-sexp' and `at-do'.
9782
9783 * progmodes/js.el (js--debug): Mark unused parameter.
9784 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9785 (js--splice-into-items): Remove unused variable `item'.
9786 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9787
9788 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9789 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9790 (makefile-complete): Remove unused variable `try'.
9791 (makefile-fill-paragraph, makefile-match-function-end):
9792 Mark unused parameters.
9793
9794 * progmodes/octave-inf.el (inferior-octave-complete):
9795 Remove unused variable `proc'.
9796 (inferior-octave-output-digest): Mark unused parameter.
9797
9798 * progmodes/perl-mode.el (perl-calculate-indent):
9799 Remove unused variable `err'.
9800
9801 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9802 (prolog-indent-line): Mark unused parameters.
9803 (prolog-indent-line): Remove unused variable `beg'.
9804
9805 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9806 (reporter-dont-compact-list): Declare.
9807
9808 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9809 Remove unused variable `char'.
9810 (sh-debug): Mark unused parameter.
9811 (sh-get-indent-info): Remove unused variable `start'.
9812 (sh-calculate-indent): Remove unused variable `var'.
9813
9814 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9815 (simula-electric-keyword): Remove unused variable `null'.
9816 (simula-search-backward, simula-search-forward): Remove unused
9817 variables `begin' and `end'.
9818
9819 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9820 Remove unused variable `pos'.
9821 (vera-electric-tab, vera-comment-uncomment-region):
9822 Mark unused parameters.
9823 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9824
7ede3b65
CY
98252011-04-22 Chong Yidong <cyd@stupidchicken.com>
9826
9827 * emacs-lisp/package.el (package--builtins, package-alist)
9828 (package-load-descriptor, package-built-in-p, package-activate)
9829 (define-package, package-installed-p)
9830 (package-compute-transaction, package-buffer-info)
9831 (package--push): Doc fix. Distinguish more clearly between
9832 version strings and version lists.
9833
121656e9
JB
98342011-04-21 Juanma Barranquero <lekktu@gmail.com>
9835
9836 Lexical-binding cleanup.
9837
9838 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9839 (5x5-make-mutate-best):
9840 * play/fortune.el (fortune-in-buffer):
9841 * play/gomoku.el (gomoku-init-display):
9842 * play/solitaire.el (solitaire, solitaire-do-check):
9843 * play/tetris.el (tetris-default-update-speed-function):
9844 Mark unused parameters.
9845
9846 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9847 (bubbles--shift): Remove unused variable `char-org'.
9848 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9849 (bubbles--show-images): Remove unused variable `char'.
9850
9851 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9852 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9853 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9854 (decipher-analyze-buffer): Use ?\s.
9855 (decipher-make-checkpoint): Remove unused variable `mapping'.
9856
9857 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9858
9859 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9860 Remove unused variable `result'; use `let'.
9861
9862 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9863 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9864 (gametree-children-shown-p, gametree-compute-reduced-score):
9865 Use `ignore-errors'.
9866
9867 * play/handwrite.el (ps-lpr-switches): Declare.
9868 (handwrite): Remove unused variables `pmin' and `lastp'.
9869
9870 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9871
9872 * play/landmark.el (landmark-init-display)
9873 (landmark-update-naught-weights): Mark unused parameters.
9874 (landmark-y): Remove unused variable `noise'. Simplify.
9875 (landmark-human-plays): Remove unused variable `score'.
9876
9877 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9878 (mpuz-try-proposal): Remove unused variable `game'.
9879
9880 * play/zone.el (life-patterns): Declare.
9881
80f499c7
JB
98822011-04-20 Juanma Barranquero <lekktu@gmail.com>
9883
9884 * vc/vc.el (ediff-vc-internal): Declare function.
9885
024ff170
SM
98862011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9887
c0a193ea
SM
9888 * shell.el: Use lexical-binding and std completion UI.
9889 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9890 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9891 comint-preoutput-filter-functions rather than on
9892 comint-output-filter-functions.
9893 (shell-command-completion, shell--command-completion-data)
9894 (shell-filename-completion, shell-environment-variable-completion)
9895 (shell-c-a-p-replace-by-expanded-directory): New functions.
9896 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9897 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9898 (shell-dynamic-complete-environment-variable): Use them.
9899 (shell-dynamic-complete-as-environment-variable)
9900 (shell-dynamic-complete-as-command): Remove.
9901 (shell-match-partial-variable): Match past point.
9902 * comint.el: Clean up use of completion-at-point-functions.
9903 (comint-completion-at-point): New function.
9904 (comint-mode): Use it completion-at-point-functions.
9905 (comint-dynamic-complete): Make it obsolete.
9906 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9907 (comint-c-a-p-replace-by-expanded-history): New function.
9908 (comint-dynamic-complete-functions)
9909 (comint-replace-by-expanded-history): Use it.
9910 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9911 termination strings. Try harder to avoid second try-completion.
9912 (completion-in-region-mode-map): Disable bindings that don't work yet.
9913
2dbaa080
SM
9914 * comint.el: Use lexical-binding. Require CL.
9915 (comint-dynamic-complete-functions): Use comint-filename-completion.
9916 (comint-completion-addsuffix): Tweak custom type.
9917 (comint-filename-completion, comint--common-suffix)
9918 (comint--common-quoted-suffix, comint--table-subvert)
9919 (comint--complete-file-name-data): New functions.
9920 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9921 (comint-dynamic-list-filename-completions): Use them.
9922 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 9923
2dbaa080
SM
9924 * minibuffer.el (completion-in-region-mode):
9925 Keep completion-in-region-mode--predicate global.
9926 (completion-in-region--postch):
9927 Assume completion-in-region-mode--predicate is not null.
9928
c79a6f38
SM
9929 * progmodes/flymake.el (flymake-start-syntax-check-process):
9930 Obey `dir'. Simplify.
9931
024ff170
SM
9932 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9933 we're in VC after all.
9934
1c6c854e
CS
99352011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
9936
9937 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 9938 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
9939 (vc-version-diff): Use vc-diff-build-argument-list-internal.
9940
bed7f140
SM
99412011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9942
332e62ab
SM
9943 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9944 add sanity check.
9945
bed7f140
SM
9946 * obsolete/erc-hecomplete.el: Make obsolete.
9947 * obsolete/: Standardize obsolescence info in the header.
9948
f195c582
GM
99492011-04-20 Glenn Morris <rgm@gnu.org>
9950
9951 * calendar/solar.el (solar-horizontal-coordinates):
9952 Use the longitude argument rather than `calendar-longitude'.
9953 (solar-date-next-longitude): Remove unused locals.
9954
cb79b8c0
VJL
99552011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9956
9957 * whitespace.el: New version 13.2.1.
9958
99592011-04-20 felix <EmacsWiki> (tiny change)
9960
d8e4b68b 9961 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
9962 switching between major modes on a file.
9963
602ea69d
SM
99642011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9965
9966 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9967 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9968 multi-line comments as well.
9969
06b60517
JB
99702011-04-19 Juanma Barranquero <lekktu@gmail.com>
9971
9972 Lexical-binding cleanup.
9973
9974 * arc-mode.el (archive-mode-revert):
9975 * cmuscheme.el (scheme-interactively-start-process):
9976 * custom.el (custom-initialize-delay):
9977 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9978 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9979 * emacs-lock.el (emacs-lock-clear-sentinel):
9980 * ezimage.el (defezimage):
9981 * follow.el (follow-avoid-tail-recenter):
9982 * fringe.el (set-fringe-mode-1):
9983 * generic-x.el (bat-generic-mode-compile):
9984 * help-mode.el (help-info-variable, help-do-xref)
9985 (help-mode-revert-buffer):
9986 * help.el (view-emacs-todo):
9987 * iswitchb.el (iswitchb-completion-help):
9988 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9989 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9990 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9991 * locate.el (locate-update):
9992 * longlines.el (longlines-encode-region)
9993 (longlines-after-change-function):
9994 * outline.el (outline-isearch-open-invisible):
9995 * ps-def.el (declare-function, charset-dimension, char-width)
9996 (encode-char):
9997 * ps-mule.el (ps-mule-plot-string):
9998 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9999 (recentf-edit-list-select, recentf-edit-list-validate)
10000 (recentf-open-files-action):
10001 * rect.el (delete-whitespace-rectangle-line)
10002 (rectangle-number-line-callback):
10003 * register.el (window-configuration-to-register)
10004 (frame-configuration-to-register):
10005 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10006 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10007 (xselect-convert-to-targets, xselect-convert-to-delete)
10008 (xselect-convert-to-filename, xselect-convert-to-charpos)
10009 (xselect-convert-to-lineno, xselect-convert-to-colno)
10010 (xselect-convert-to-os, xselect-convert-to-host)
10011 (xselect-convert-to-user, xselect-convert-to-class)
10012 (xselect-convert-to-name, xselect-convert-to-integer)
10013 (xselect-convert-to-atom, xselect-convert-to-identity):
10014 * subr.el (declare, ignore, process-kill-without-query)
10015 (text-clone-maintain):
10016 * terminal.el (te-get-char, te-tic-sentinel):
10017 * tool-bar.el (tool-bar-make-keymap):
10018 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10019 * type-break.el (type-break-mode, type-break-noninteractive-query):
10020 * view.el (View-back-to-mark):
10021 * wid-browse.el (widget-browse-action, widget-browse-widget)
10022 (widget-browse-widgets, widget-browse-sexp):
10023 * widget.el (define-widget-keywords):
10024 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10025 Mark unused parameters.
10026
10027 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10028 (align-areas): Remove unused variable `look'.
10029 (align-region): Remove unused variables `real-end' and `pos-list'.
10030
10031 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10032
10033 * bindings.el (mode-line-modified, mode-line-remote):
10034 Mark unused parameters.
10035 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10036
10037 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10038 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10039
10040 * comint.el (comint-history-isearch-pop-state)
10041 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10042 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10043 (comint-substitute-in-file-name): Doc fix.
10044
10045 * completion.el (cmpl-statistics-block): Mark unused parameter.
10046 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10047 (save-completions-to-file, load-completions-from-file):
10048 Remove unused local variable `e'.
10049
10050 * composite.el (compose-chars): Remove unused variable `len'.
10051 (lgstring-insert-glyph): Remove unused variable `g'.
10052 (compose-glyph-string): Remove unused variables `ascent',
10053 `descent', `lbearing' and `rbearing'.
10054 (compose-glyph-string-relative): Remove unused variables
10055 `lbearing', `rbearing' and `wadjust'.
10056 (compose-gstring-for-graphic): Remove unused variables `header',
10057 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10058 (compose-gstring-for-terminal): Remove unused variables `header'
10059 and `nchars'. Use `let', not `let*'.
10060
10061 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10062 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10063 (Custom-buffer-done, custom-buffer-create-internal)
10064 (custom-browse-visibility-action, custom-browse-group-tag-action)
10065 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10066 (widget-magic-mouse-down-action, custom-toggle-parent)
10067 (custom-add-parent-links, custom-toggle-hide-variable)
10068 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10069 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10070 (custom-face-menu-create, custom-variable-menu-create, get)
10071 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10072 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10073 (customize-apropos): Remove unused variable `tests'.
10074 (custom-group-value-create): Remove unused variable `hidden-p'.
10075 (sort-fold-case): Declare.
10076
10077 * cus-theme.el (custom-reset-standard-faces-list)
10078 (custom-reset-standard-variables-list): Declare.
10079 (customize-create-theme, custom-theme-revert, custom-theme-write)
10080 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10081 Mark unused parameters.
10082
10083 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10084
10085 * delim-col.el (delimit-columns-max): Move defvar before first use.
10086
10087 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10088 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10089
10090 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10091 (auto-insert): Declare.
10092 (desktop-restore-file-buffer): Rename desktop-* parameters;
10093 mark unused ones.
10094 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10095 (desktop-buffer): Rename desktop-* parameters.
10096
10097 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10098 (dframe-reposition-frame-xemacs, dframe-help-echo)
10099 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10100 Mark unused parameters.
10101
10102 * dired-aux.el (backup-extract-version-start, overwrite-query)
10103 (overwrite-backup-query, rename-regexp-query)
10104 (rename-non-directory-query): Declare.
10105 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10106 (dired-add-entry): Remove unused variable `orig-file-name'.
10107 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10108 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10109 `dired-copy-preserve-time' directly.
10110 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10111 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10112
10113 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10114 (dired-virtual-revert, dired-make-relative-symlink):
10115 Mark unused parameters.
10116 (manual-program): Declare.
10117 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10118 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10119 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10120
10121 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10122
10123 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10124
10125 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10126 Declare.
10127
10128 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10129
10130 * electric.el (Electric-command-loop): Rename parameter
10131 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10132
10133 * expand.el (expand-in-literal): Remove unused variable `here'.
10134
10135 * facemenu.el (facemenu-add-new-color):
10136 Remove unused variable `docstring'.
10137
10138 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10139 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10140 (face-attr-construct): Mark unused parameter. Doc fix.
10141 (read-color): Remove unused variable `hex-string'.
10142
10143 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10144 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10145 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10146 (display-buffer-other-frame): Remove unused variable `old-window'.
10147 (kill-buffer-hook): Declare.
10148 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10149 Mark unused parameters.
10150 (after-find-file): Pass 1 to `auto-save-mode', not t.
10151
10152 * files-x.el (auto-insert): Declare.
10153 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10154
10155 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10156 variable `buf'. Mark unused parameter.
06b60517
JB
10157 (find-lisp-insert-directory): Mark unused parameter.
10158
10159 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10160 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10161 (format-common-tail): Remove, unused.
10162 (format-deannotate-region): Remove unused variable `loc'.
10163 (format-annotate-region): Remove unused variable `p'.
10164 (format-annotate-single-property-change): Remove unused variables
10165 `default' and `tail'.
10166
10167 * forms.el (read-file-filter): Declare.
10168 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10169
10170 * frame.el (frame-creation-function-alist): Mark unused parameter.
10171 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10172
10173 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10174 Remove unused parameters.
10175 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10176 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10177
10178 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10179 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10180 (hfy-prepare-tag-map): Mark unused parameters.
10181 (htmlfontify-buffer): Use `called-interactively-p'.
10182
10183 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10184 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10185 (ibuffer-do-occur): Mark unused parameters.
10186 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10187 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10188
10189 * ibuffer.el: Don't quote `lambda'.
10190 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10191 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10192 Mark unused parameters.
10193
10194 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10195 (ido-completing-read): Mark unused parameters.
10196 (ido-copy-current-word): Mark unused parameters;
10197 remove unused variable `name'.
10198 (ido-sort-merged-list): Remove unused parameter `dirs'.
10199
10200 * ielm.el (ielm-input-sender): Mark unused parameter.
10201 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10202 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10203 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10204 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10205 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10206
10207 * image-dired.el (image-dired-display-thumbs): Remove unused
10208 variables `curr-file' and `count'.
10209 (image-dired-remove-tag): Remove unused variable `start'.
10210 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10211 variable `curr-file'
10212 (image-dired-rotate-original): Remove unused variable `temp-file'.
10213 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10214 Remove unused variable `file'.
10215 (image-dired-gallery-generate): Remove unused variable `curr'.
10216 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10217
10218 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10219
10220 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10221
10222 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10223
10224 * isearch.el (minibuffer-history-symbol): Declare.
10225 (isearch-edit-string): Remove unused variable `err'.
10226 (isearch-message-prefix, isearch-message-suffix):
10227 Mark unused parameters.
10228
10229 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10230
10231 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10232
10233 * makesum.el (double-column): Remove unused variable `cnt'.
10234
10235 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10236 (ido-ignore-item-temp-list): Declare.
10237
10238 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10239 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10240 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10241 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10242 `mouse-col-delta'.
10243
10244 * mouse-sel.el (mouse-extend-internal):
10245 Remove unused variable `orig-window-frame'.
10246
10247 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10248 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10249 Move declarations before first use.
10250 (pcomplete-opt): Mark unused parameters; doc fix.
10251
10252 * proced.el (proced-revert): Mark unused parameter.
10253 (proced-send-signal): Remove unused variable `err'.
10254
10255 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10256 Rename parameter PREFIX-ARG to ARG.
10257 (ps-basic-plot-string, ps-basic-plot-whitespace):
10258 Mark unused parameters.
10259
10260 * replace.el (replace-count): Define.
10261 (occur-revert-function): Mark unused parameters.
10262 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10263 (isearch-case-fold-search, isearch-string): Declare.
10264 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10265 bind `case-fold-search'. Remove unused variables `beg' and `end',
10266 and simplify.
10267 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10268 COUNT and bind `replace-count'.
10269 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10270 to COUNT.
10271
10272 * savehist.el (print-readably, print-string-length): Declare.
10273
10274 * shadowfile.el (shadow-expand-cluster-in-file-name):
10275 Remove unused variable `cluster'.
10276 (shadow-copy-file): Remove unused variable `i'.
10277 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10278 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10279 (shadow-define-literal-group, shadow-define-regexp-group)
10280 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10281
10282 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10283 (shell): Use `called-interactively-p'.
10284 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10285
10286 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10287 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10288 (delete-backward-char): Remove unused variable `ocol'.
10289 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10290 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10291 (event-apply-hyper-modifier, event-apply-shift-modifier)
10292 (event-apply-control-modifier, event-apply-meta-modifier):
10293 Mark unused parameters.
10294 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10295 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10296
10297 * speedbar.el (speedbar-ignored-directory-expressions)
10298 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10299 (speedbar-find-file, speedbar-dir-follow)
10300 (speedbar-directory-buttons-follow, speedbar-tag-find)
10301 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10302 (speedbar-buffers-line-directory, speedbar-buffer-click):
10303 Mark unused parameters.
10304 (speedbar-tag-file): Remove unused variable `mode'.
10305 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10306
10307 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10308
10309 * talk.el (talk): Remove unused variable `display'.
10310
10311 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10312 (tar-write-region-annotate): Mark unused parameter.
10313
10314 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10315 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10316 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10317 warning by another.
10318
10319 * time-stamp.el (time-stamp-string-preprocess):
10320 Remove unused variable `require-padding'.
10321
10322 * tree-widget.el (widget-glyph-enable): Declare.
10323 (tree-widget-action): Mark unused parameter.
10324
10325 * w32-fns.el (x-get-selection): Mark unused parameter.
10326 (autoload-make-program, generated-autoload-file): Declare.
10327
10328 * wdired.el (wdired-revert): Mark unused parameters.
10329 (wdired-xcase-word): Remove unused variable `err'.
10330
10331 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10332 (whitespace-help-scroll): Remove unused variable `data-help'.
10333
10334 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10335 (widget-image-insert, widget-after-change, default)
10336 (widget-default-format-handler, widget-default-notify)
10337 (widget-default-prompt-value, widget-info-link-action)
10338 (widget-url-link-action, widget-function-link-action)
10339 (widget-variable-link-action, widget-file-link-action)
10340 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10341 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10342 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10343 (widget-insert-button-action, widget-delete-button-action, visibility)
10344 (widget-documentation-link-action, widget-documentation-string-action)
10345 (widget-const-prompt-value, widget-regexp-match, symbol)
10346 (widget-coding-system-prompt-value)
10347 (widget-key-sequence-value-to-external, sexp)
10348 (widget-sexp-value-to-internal, character, vector, cons)
10349 (widget-choice-prompt-value, widget-boolean-prompt-value)
10350 (widget-color--choose-action): Mark unused parameters.
10351 (widget-item-match-inline, widget-choice-match-inline)
10352 (widget-checklist-match, widget-checklist-match-inline)
10353 (widget-group-match): Rename parameter VALUES to VALS.
10354 (widget-field-value-set): Remove unused variable `size'.
10355 (widget-color-action): Remove unused variables `value' and `start'.
10356
10357 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10358 variable `dir'. Doc fix.
06b60517
JB
10359 (windmove-find-other-window): Don't pass it.
10360
10361 * window.el (count-windows): Mark unused parameter.
10362 (bw-adjust-window): Remove unused variable `err'.
10363
10364 * woman.el (woman-file-name): Remove unused variable `default'.
10365 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10366 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10367 (global-font-lock-mode): Declare.
10368 (woman-decode-region): Mark unused parameter.
10369 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10370
10371 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10372 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10373 (x-dnd-handle-moz-url): Remove unused variable `title'.
10374 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10375
10376 * xml.el (xml-parse-tag, xml-parse-attlist):
10377 Remove unused variable `pos'.
10378
bc4f7f3d
GM
103792011-04-19 Glenn Morris <rgm@gnu.org>
10380
10381 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10382 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10383 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10384 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10385 * calendar/cal-html.el (cal-html-insert-minical):
10386 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10387 (calendar-mark-date-pattern):
10388 Prefix "unused" locals.
10389
10390 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10391 optional argument `style'.
10392
10393 * calendar/appt.el (appt-make-list):
10394 * calendar/cal-china.el (calendar-chinese-date-string):
10395 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10396 (diary-hebrew-yahrzeit):
10397 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10398 * calendar/calendar.el (calendar-generate-window):
10399 * calendar/time-date.el (time-to-days):
10400 Remove unused local variables.
10401
16a43933
CY
104022011-04-18 Chong Yidong <cyd@stupidchicken.com>
10403
10404 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10405 glyphless-char-display table.
10406 (tabulated-list-glyphless-char-display): New var.
10407
7eed1860
SS
104082011-04-18 Sam Steingold <sds@gnu.org>
10409
10410 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10411 to acknowledgments.
10412
4d2d1ccd
GM
104132011-04-17 Glenn Morris <rgm@gnu.org>
10414
10415 * calendar/diary-lib.el (diary-sexp-entry):
10416 * calendar/holidays.el (holiday-sexp):
10417 Set debug-on-error rather than the removed stack-trace-on-error.
10418
239da61d
GM
104192011-04-16 Glenn Morris <rgm@gnu.org>
10420
10421 * progmodes/f90.el: Use lexical-binding.
10422 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10423
8b05752a
SM
104242011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10425
daca8ba5
SM
10426 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10427 (mail-mode): Setup mailalias completion here instead.
10428 * mail/mailalias.el: Use lexical-binding.
10429 (pattern, mailalias-done): Declare dynamic.
10430 (mail-completion-at-point-function): New function, from mail-complete.
10431 (mail-complete): Use it.
10432 (mail-completion-expand): New function.
10433 (mail-get-names): Use it.
10434 (mail-directory, mail-directory-process, mail-directory-stream):
10435 Don't use `pattern' for lexically bound arg.
10436
6f542485
SM
10437 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10438
037e7c3f
SM
10439 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10440 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10441 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10442
8b05752a
SM
10443 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10444 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10445 (byte-interactive-p): Define them again, for use when inlining
10446 old code.
10447
49093f60
JB
104482011-04-15 Juanma Barranquero <lekktu@gmail.com>
10449
10450 * loadup.el: Use `string-to-number', not `string-to-int'.
10451
b5b8e7de
SM
104522011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10453
10454 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10455 gud-gdb-complete-command.
10456 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10457 (gud-gdb-completion-at-point): New function.
10458 (gud-gdb-completions): Remove.
10459
f42efeb5
MA
104602011-04-14 Michael Albinus <michael.albinus@gmx.de>
10461
49093f60
JB
10462 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10463 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10464 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10465 whether `executable-find' is bound.
f42efeb5
MA
10466
10467 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10468
e240cc21
SM
104692011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10470
10471 * minibuffer.el (completion-in-region-mode-predicate)
10472 (completion-in-region-mode--predicate): New vars.
10473 (completion-in-region, completion-in-region--postch)
10474 (completion-in-region-mode): Use them.
10475 (completion--capf-wrapper): Also return the hook function.
10476 (completion-at-point, completion-help-at-point):
10477 Adjust and provide a predicate.
c2bd2ab0
SM
10478
10479 Preserve arg names for advice of subr and lexical functions (bug#8457).
10480 * help-fns.el (help-function-arglist): Consolidate the subr and
10481 new-byte-code cases. Add argument `preserve-names' to extract names
10482 from the docstring when needed.
10483 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10484 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10485 (ad-arglist): Use help-function-arglist's new arg.
10486 (ad-definition-type): Use cond.
10487
c183f693
JB
104882011-04-13 Juanma Barranquero <lekktu@gmail.com>
10489
06641a47
JB
10490 * autorevert.el (auto-revert-handler):
10491 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10492 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10493 Don't quote lambda.
10494
c183f693
JB
10495 * image-mode.el (image-transform-set-scale):
10496 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10497
1e3b6001
G
104982011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10499
10500 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10501 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10502 Upgrades via gnutls-cli are too slow to be done opportunistically.
10503
2d6af8dd
JB
105042011-04-12 Juanma Barranquero <lekktu@gmail.com>
10505
10506 * dframe.el (dframe-current-frame): Remove spurious quote.
10507
c0749a51
GM
105082011-04-12 Glenn Morris <rgm@gnu.org>
10509
088d0d61
GM
10510 * calendar/cal-tex.el (cal-tex-end-document):
10511 Try to automatically use latin1 input if needed.
10512
c0749a51
GM
10513 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10514 Don't try to cons a mark onto an empty element.
10515
5c90fde0
LL
105162011-04-11 Leo Liu <sdl.web@gmail.com>
10517
10518 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10519 buffers.
10520 (ido-kill-buffer-at-head): Support killing virtual buffers.
10521
369e974d
CY
105222011-04-10 Chong Yidong <cyd@stupidchicken.com>
10523
10524 * minibuffer.el (completion-show-inline-help): New var.
10525 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10526 (minibuffer-force-complete, minibuffer-complete-word):
10527 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10528
10529 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10530 to avoid interference from inline help (Bug#5849).
10531
37f1c930
LL
105322011-04-10 Leo Liu <sdl.web@gmail.com>
10533
099c39a4
JB
10534 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10535 Fix typo.
37f1c930 10536
a32d4040
CY
105372011-04-09 Chong Yidong <cyd@stupidchicken.com>
10538
10539 * image-mode.el (image-toggle-display-image): Signal an error if
10540 not in Image mode.
10541 (image-transform-mode, image-transform-resize)
10542 (image-transform-set-rotation): Doc fix.
daca8ba5 10543 (image-transform-set-resize): Delete.
a32d4040
CY
10544 (image-transform-set-scale, image-transform-fit-to-height)
10545 (image-transform-fit-to-width): Handle image-toggle-display-image
10546 and image-transform-resize directly.
10547
099c39a4 105482011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10549
10550 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10551 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10552 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10553 (doc-view-mode-map): Add bindings for the new functions.
10554
099c39a4 105552011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10556
4d61f28d 10557 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10558 Fix typo in docstring.
10559
3726838a
EZ
105602011-04-08 Eli Zaretskii <eliz@gnu.org>
10561
04f33f1e
EZ
10562 * files.el (file-size-human-readable): Produce one digit after
10563 decimal, like "ls -lh" does.
10564
10565 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10566 the file size representation.
10567
3726838a
EZ
10568 * simple.el (list-processes): If async subprocesses are not
10569 available, error out with a clear error message.
10570
cbb59342
CY
105712011-04-08 Chong Yidong <cyd@stupidchicken.com>
10572
10573 * help.el (help-form-show): New function, to be called from C.
10574 Put help-form output in a buffer named differently than *Help*.
10575
e3971c44
EZ
105762011-04-08 Eli Zaretskii <eliz@gnu.org>
10577
10578 * files.el (file-size-human-readable): New function.
10579
10580 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10581 computing the representation inline. Don't require `cl'.
10582
12544bbe
GM
105832011-04-08 Glenn Morris <rgm@gnu.org>
10584
a1de6c6a
GM
10585 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10586
3c4671f4
GM
10587 * net/browse-url.el (browse-url-firefox):
10588 Test system-type, not system-configuration.
10589
b605679c
GM
10590 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10591 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10592 Use log-edit-empty-buffer-p. (Bug#7598)
10593
56442f0c
GM
10594 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10595 (rlogin-mode-map): Initialize in the defvar.
10596 (rlogin): Use ignore-errors.
10597
12544bbe
GM
10598 * replace.el (occur-mode-map): Some fixes for menu items.
10599
eb237b0f
AH
106002011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10601
10602 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10603
7d668f2c
CY
106042011-04-06 Chong Yidong <cyd@stupidchicken.com>
10605
e67a13ab
CY
10606 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10607 issuing unused warnings.
10608
10609 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10610 macro directly.
10611
7d668f2c
CY
10612 * simple.el: Lisp reimplement of list-processes. Based on an
10613 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10614 (process-menu-mode): New major mode.
10615 (list-processes--refresh, list-processes):
10616 (process-menu-visit-buffer): New functions.
10617
10618 * files.el (save-buffers-kill-emacs): Don't assume any return
10619 value of list-processes, which is undocumented anyway.
10620
a83ec3c9
CY
106212011-04-06 Chong Yidong <cyd@stupidchicken.com>
10622
10623 * emacs-lisp/tabulated-list.el: New file.
10624
e91a96fe
CY
10625 * emacs-lisp/package.el: Use Tabulated List mode.
10626 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10627 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10628 table format using Tabulated List mode variables.
10629 (package--push): New macro, replacing package-list-maybe-add.
10630 (package-menu--generate): Use package--push. Renamed from
10631 package--generate-package-list.
10632 (package-menu-refresh, list-packages): Use it.
daca8ba5 10633 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10634 Return insertion data instead of inserting it directly.
099c39a4
JB
10635 (package-menu-describe-package, package-menu-execute):
10636 Use tabulated-list-get-id.
e91a96fe
CY
10637 (package-menu-mark-delete, package-menu-mark-install)
10638 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10639 (package-menu-mark-obsolete-for-deletion):
10640 Use tabulated-list-put-tag.
e91a96fe
CY
10641 (package--list-packages, package-menu-revert)
10642 (package-menu-get-package, package-menu-get-version)
10643 (package-menu-sort-by-column): Functions deleted.
10644 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10645 (package-menu--status-predicate, package-menu--version-predicate)
10646 (package-menu--name-predicate)
10647 (package-menu--description-predicate): Handle arguments in the
10648 Tabulated List format.
10649 (package-list-packages-no-fetch): Call list-packages.
10650
3e214b50
JB
106512011-04-06 Juanma Barranquero <lekktu@gmail.com>
10652
10653 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10654 (after-find-file): Don't bind it.
3e214b50
JB
10655 (revert-buffer-in-progress-p): New variable.
10656 (revert-buffer): Bind it.
10657 Pass nil for `after-find-file-from-revert-buffer'.
10658
10659 * saveplace.el (save-place-find-file-hook): Use new variable
10660 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10661
3f0f1700
GM
106622011-04-06 Glenn Morris <rgm@gnu.org>
10663
c0274801
GM
10664 * Makefile.in (AUTOGEN_VCS): New variable.
10665 (autoloads): Use $AUTOGEN_VCS.
10666
3f0f1700
GM
10667 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10668 * calendar/calendar.el (calendar-mode-map):
10669 Check for toolkit scroll bars. (Bug#8305)
10670
41ea9e48
CY
106712011-04-05 Chong Yidong <cyd@stupidchicken.com>
10672
10673 * minibuffer.el (completion-in-region--postch)
10674 (completion-in-region-mode): Remove unnecessary messages.
10675
6194c800
JB
106762011-04-05 Juanma Barranquero <lekktu@gmail.com>
10677
33256f14
JB
10678 * font-lock.el (font-lock-refresh-defaults):
10679 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10680 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10681
6194c800
JB
10682 * info.el (Info-directory-list, Info-read-node-name-2)
10683 (Info-split-parameter-string): Doc fixes.
10684 (Info-virtual-nodes): Reflow docstring.
10685 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10686 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10687 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10688 Fix typos in docstrings.
10689 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10690 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10691 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10692 (Info-restore-desktop-buffer): Mark unused parameters.
10693 (Info-directory-find-file, Info-directory-find-node)
10694 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10695 (Info-virtual-index-find-node, Info-apropos-find-file)
10696 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10697 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10698 (Info-virtual-index): Remove unused local variable `nodename'.
10699
b87a8200 107002011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10701
b87a8200
DD
10702 * net/rcirc.el: Update my e-mail address.
10703 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10704
3b2ff876
CY
107052011-04-05 Chong Yidong <cyd@stupidchicken.com>
10706
10707 * startup.el (command-line): Save the cursor's theme-face
10708 directly, instead of using face-override-spec.
10709
10710 * custom.el (load-theme): Minor optimization in assigning faces.
10711
8d17e7ca
JB
107122011-04-04 Juanma Barranquero <lekktu@gmail.com>
10713
10714 * help-fns.el (describe-variable): Complete all variables having
10715 documentation, including keywords.
10716 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10717
2fbc1934
JB
107182011-04-04 Juanma Barranquero <lekktu@gmail.com>
10719
10720 Convert to lexical-binding.
10721
10722 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10723 (bs--get-marked-string, bs--get-modified-string)
10724 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10725 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10726 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10727
10728 * ehelp.el (electric-help-execute-extended)
10729 (electric-help-ctrl-x-prefix):
10730 * hexl.el (hexl-revert-buffer-function):
10731 * linum.el (linum-after-change, linum-after-scroll):
10732 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10733
10734 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10735
74f50695
DU
107362011-04-04 Daiki Ueno <ueno@unixuser.org>
10737
10738 * epa-dired.el:
10739 * epa-mail.el:
10740 * epa-hook.el:
10741 * epa-file.el:
10742 * epa.el:
10743 * epg.el: Use lexical binding.
10744
c11325f7
CY
107452011-04-03 Chong Yidong <cyd@stupidchicken.com>
10746
0d9e9a12
CY
10747 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10748
c11325f7 10749 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10750 dictionary case for flyspell-mark-duplications-exceptions.
10751 Use regexp matching for languages.
c11325f7
CY
10752 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10753 default dictionary (Bug#7926).
10754
da91b5f2
CY
107552011-04-02 Chong Yidong <cyd@stupidchicken.com>
10756
099c39a4
JB
10757 * emacs-lisp/package.el (package--with-work-buffer):
10758 Recognize https URLs.
da91b5f2 10759
099c39a4
JB
10760 * net/network-stream.el: Move from gnus/proto-stream.el.
10761 Change prefix to network-stream throughout.
da91b5f2
CY
10762 (open-protocol-stream): Merge into open-network-stream, leaving
10763 open-protocol-stream as an alias. Handle nil BUFFER args.
10764
10765 * subr.el (open-network-stream): Move to net/network-stream.el.
10766
afa8e9f6
GM
107672011-04-02 Glenn Morris <rgm@gnu.org>
10768
1d2e369d
GM
10769 * find-dired.el (find-exec-terminator): New option.
10770 (find-ls-option): Test for -ls support.
10771 (find-ls-subdir-switches): Test for -b in find-ls-option.
10772 (find-dired, find-grep-dired): Doc fixes.
10773 (find-dired): Use find-exec-terminator.
10774
8abb7da8 10775 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10776 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10777 (find-name-arg): Remove purecopy.
8abb7da8 10778
f3ca7378
GM
10779 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10780 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10781 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10782 accordingly. Don't add the null-device if not needed.
10783
afa8e9f6
GM
10784 * files.el (save-some-buffers): Doc fix.
10785
35eae264
EZ
107862011-04-02 Eli Zaretskii <eliz@gnu.org>
10787
10788 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10789
26b51db5
JB
107902011-04-01 Juanma Barranquero <lekktu@gmail.com>
10791
10792 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10793 Use `dolist' rather than `mapcar'.
10794
7200d79c
SM
107952011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10796
03408648 10797 Add lexical binding.
7200d79c 10798
03408648
SM
10799 * subr.el (apply-partially): Use new closures rather than CL.
10800 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10801 (dolist, dotimes): Use slightly different expansion for lexical code.
10802 (functionp): Move to C.
10803 (letrec): New macro.
10804 (with-wrapper-hook): Use it and apply-partially instead of CL.
10805 (eval-after-load): Preserve lexical-binding.
10806 (save-window-excursion, with-output-to-temp-buffer): Turn them
10807 into macros.
7200d79c 10808
03408648
SM
10809 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10810
10811 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10812 than the arglist.
10813 (help-add-fundoc-usage): Don't add `Not documented'.
10814 (help-function-arglist): Handle closures, subroutines, and new
10815 byte-code-functions.
10816 (help-make-usage): Remove leading underscores.
10817 (describe-function-1): Handle closures.
10818 (describe-variable): Use special-variable-p for completion.
10819
10820 * files.el (lexical-binding): Declare safe.
f488fb65 10821
03408648
SM
10822 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10823 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10824 (pcase): Add `let' pattern.
10825 Change memoization so it actually works.
10826 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10827 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10828 <let>: New case.
f488fb65 10829
03408648
SM
10830 * emacs-lisp/macroexp.el: Use lexical binding.
10831 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10832 Don't convert ' to #' without checking that it's indeed quoting
10833 a lambda.
10834
10835 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10836 Use eval-sexp-add-defvars.
03408648
SM
10837 (eval-sexp-add-defvars): New fun.
10838
10839 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10840
10841 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10842 Don't autoload.
10843 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10844 than the internal `byte-compile-lambda'.
10845 (defmethod): Don't hide code under quotes.
10846 (eieio-defmethod): New `code' argument.
10847
10848 * emacs-lisp/eieio-comp.el: Remove.
10849
10850 * emacs-lisp/edebug.el (edebug-eval-defun)
10851 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10852 (edebug-toggle): Avoid `eval'.
10853
10854 * emacs-lisp/disass.el (disassemble-internal): Handle new
10855 `closure' objects.
10856 (disassemble-1): Handle new byte codes.
10857
10858 * emacs-lisp/cl.el (pushnew): Silence warning.
10859
10860 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10861 (cl-byte-compile-throw): Remove.
10862 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10863
10864 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10865 closures.
10866
10867 * emacs-lisp/cconv.el: New file.
10868
10869 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10870 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10871 (byte-compile-initial-macro-environment):
10872 Handle declare-function here.
10873 (byte-compile--lexical-environment): New var.
10874 (byte-stack-ref, byte-stack-set, byte-discardN)
10875 (byte-discardN-preserve-tos): New lap codes.
10876 (byte-interactive-p): Don't use any more.
10877 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10878 New macros.
10879 (byte-compile-lapcode): Use them and handle new lap codes.
10880 (byte-compile-obsolete): Remove.
10881 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10882 (byte-compile-arglist-warn): Check late def of inlinable funs.
10883 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10884 since they should have been expanded by now.
10885 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10886 (byte-compile-from-buffer): Remove unused second arg.
10887 (byte-compile-preprocess): New function.
10888 (byte-compile-toplevel-file-form): New function to distinguish
10889 file-form calls from outside from file-form calls from hunk-handlers.
10890 (byte-compile-file-form): Simplify.
10891 (byte-compile-file-form-defsubst): Remove.
10892 (byte-compile-file-form-defmumble): Simplify now that
10893 byte-compile-lambda always returns a byte-code-function.
10894 (byte-compile): Preprocess.
10895 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10896 Remove, not used any more.
10897 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10898 (byte-compile-make-args-desc): New funs.
10899 (byte-compile-lambda): Handle lexical functions. Always return
10900 a byte-code-function.
10901 (byte-compile-reserved-constants): New var, to make up room for
10902 closed-over variables.
10903 (byte-compile-constants-vector): Obey it.
10904 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10905 (byte-compile-macroexpand-declare-function): New function.
10906 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10907 byte-code-functions.
10908 (byte-compile-form): Check obsolescence here.
10909 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10910 (byte-compile-variable-ref): Remove.
10911 (byte-compile-dynamic-variable-op): New fun.
10912 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10913 (byte-compile-variable-set): New funs.
10914 (byte-compile-discard): Add 2 args.
10915 (byte-compile-stack-ref, byte-compile-stack-set)
10916 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10917 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10918 macroexpand-all instead.
10919 (byte-compile-quote-form): Remove.
10920 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10921 (byte-compile-bind, byte-compile-unbind): New funs.
10922 (byte-compile-let): Handle let* and lexical binding.
10923 (byte-compile-let*): Remove.
10924 (byte-compile-catch, byte-compile-unwind-protect)
10925 (byte-compile-track-mouse, byte-compile-condition-case):
10926 Handle a new :fun-body form, used for lexical scoping.
10927 (byte-compile-save-window-excursion)
10928 (byte-compile-with-output-to-temp-buffer): Remove.
10929 (byte-compile-defun): Simplify.
10930 (byte-compile-stack-adjustment): New fun.
10931 (byte-compile-out): Use it.
10932 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10933
10934 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10935 handler any more.
10936
10937 * emacs-lisp/byte-opt.el: Use lexical binding.
10938 (byte-inline-lapcode): Remove (to bytecomp).
10939 (byte-compile-inline-expand): Pay attention to inlining to/from
10940 lexically bound code.
10941 (byte-compile-unfold-lambda): Don't handle byte-code-functions
10942 any more.
10943 (byte-optimize-form-code-walker): Don't handle save-window-excursion
10944 any more and don't call compiler-macros.
10945 (byte-compile-splice-in-already-compiled-code): Remove.
10946 (byte-code): Don't inline any more.
10947 (disassemble-offset): Receive `bytes' as argument rather than via
10948 dynamic scoping.
10949 (byte-compile-tag-number): Declare before first use.
10950 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10951 `return' even if make-spliceable.
10952 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10953 obsolete interactive-p.
10954 (byte-optimize-lapcode): Optimize new lap-codes.
10955 Don't trip up on new form of `byte-constant' lap code.
10956
10957 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10958
10959 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10960
10961 * custom.el (custom-initialize-default, custom-declare-variable):
10962 Use `defvar'.
10963
10964 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10965 New variables.
10966 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10967 (COMPILE_FIRST): Add macroexp and cconv.
10968 * makefile.w32-in: Mirror changes in Makefile.in.
10969
10970 * vc/cvs-status.el:
10971 * vc/diff-mode.el:
10972 * vc/log-edit.el:
10973 * vc/log-view.el:
10974 * vc/smerge-mode.el:
10975 * textmodes/bibtex-style.el:
10976 * textmodes/css.el:
10977 * startup.el:
10978 * uniquify.el:
da91b5f2
CY
10979 * minibuffer.el:
10980 * newcomment.el:
10981 * reveal.el:
10982 * server.el:
10983 * mpc.el:
10984 * emacs-lisp/smie.el:
10985 * doc-view.el:
10986 * dired.el:
03408648
SM
10987 * abbrev.el: Use lexical binding.
10988
0f0c1f27
EZ
109892011-04-01 Eli Zaretskii <eliz@gnu.org>
10990
10991 * info.el (info-display-manual): New function.
10992
c82b2579
SM
109932011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10994
10995 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10996
221ddf68
TH
109972011-03-31 Tassilo Horn <tassilo@member.fsf.org>
10998
10999 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11000 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11001
cba6e77e
GM
110022011-03-31 Glenn Morris <rgm@gnu.org>
11003
e040639f
GM
11004 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11005
cba6e77e
GM
11006 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11007
6d0f1c9e
CS
110082011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11009
11010 * progmodes/python.el (python-default-interpreter)
11011 (python-python-command-args, python-jython-command-args)
11012 (python-which-shell, python-which-args, python-which-bufname)
11013 (python-file-queue, python-comint-output-filter-function)
11014 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11015 variables and functions.
11016
3e2d70fd
SM
110172011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11018
11019 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11020 (completion-in-region-mode): New minor mode.
11021 (completion-in-region): Use it.
11022 (completion-in-region--data, completion-in-region-mode-map): New vars.
11023 (completion-in-region--postch): New function.
11024 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11025 New vars.
11026 (completion--capf-wrapper): New function.
11027 (completion-at-point): Use it to track well-behavedness of
11028 hook functions.
11029 (completion-help-at-point): New command.
11030
f3e4086c
JM
110312011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11032
11033 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11034 syntax class to search for whitespace on a single line
11035 (Message-ID: <4D938140.4030905@redhat.com>).
11036
eb7ffc14
LL
110372011-03-30 Leo Liu <sdl.web@gmail.com>
11038
11039 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11040 New commands.
11041 (edit-abbrevs-map): Bind them here.
11042 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11043
d806ab68
KM
110442011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11045
11046 * allout.el (allout-hide-by-annotation, allout-flag-region):
11047 Reduce possibility of overlay leakage by making them volatile.
11048
11049 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11050 hash is not shared between buffers. Mode initialization is
11051 responsible for giving it a useful starting value.
11052 (allout-item-span): Reduce possibility of overlay leakage by
11053 making them volatile.
11054 (allout-widgets-count-buttons-in-region): Add diagnostic function
11055 for tracking down button overlay leaks.
11056
ea622834
LL
110572011-03-29 Leo Liu <sdl.web@gmail.com>
11058
11059 * ido.el (ido-read-internal): Use the default history var
11060 minibuffer-history if no HISTORY is specified.
11061
b62f8267
G
110622011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11063
03408648
SM
11064 * net/imap.el (imap-shell-open, imap-process-connection-type):
11065 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11066 Kerberos, SSL, other subprocesses.
11067
947b6566
LL
110682011-03-28 Leo Liu <sdl.web@gmail.com>
11069
11070 * abbrev.el (abbrev-table-empty-p): New function.
11071 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11072 nonempty ones. (Bug#5937)
11073
5ffb62aa
JD
110742011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11075
11076 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11077
7a097943
LL
110782011-03-27 Leo Liu <sdl.web@gmail.com>
11079
11080 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11081 for foreground and background colors.
11082 (ansi-color-make-color-map): Adapt.
11083
c5b40130
LL
110842011-03-25 Leo Liu <sdl.web@gmail.com>
11085
1f48f7d2
LL
11086 * midnight.el (midnight-time-float): Remove. Note it calculates
11087 the microsecond component incorrectly and seconds-to-time does the
11088 same job.
625897ec 11089 Remove redundant (require 'timer).
1f48f7d2 11090
c5b40130
LL
11091 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11092 (ido-completions): Remove unused arguments. (Bug#8329)
11093
d86d2721
SM
110942011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11095
11096 * minibuffer.el (completion--flush-all-sorted-completions):
11097 Remove itself from hook.
11098 (completion-at-point): Let the functions perform the completion
11099 immediately and return nil or t.
11100 * comint.el (comint-dynamic-complete-functions): Now identical to
11101 completion-at-point-functions.
11102 (comint-dynamic-list-input-ring): Remove unused var `index'.
11103 (comint--match-partial-filename, comint--unquote&expand-filename):
11104 New funs, split from comint-match-partial-filename.
11105 (comint-dynamic-complete): Use completion-at-point.
11106 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11107
e8974c48
DA
111082011-03-24 Drew Adams <drew.adams@oracle.com>
11109
11110 * thingatpt.el: Support `defun'.
11111
def71b5e
LL
111122011-03-23 Leo Liu <sdl.web@gmail.com>
11113
cb5af48e
LL
11114 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11115
def71b5e
LL
11116 * help-mode.el (help-mode-finish): Tweak regexp.
11117
927c53e7
GM
111182011-03-23 Glenn Morris <rgm@gnu.org>
11119
18d05bed
GM
11120 * eshell/esh-opt.el (eshell-eval-using-options):
11121 Do not bind unused local variable `eshell-option-stub'.
11122
927c53e7
GM
11123 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11124
9d0da923
JB
111252011-03-22 Juanma Barranquero <lekktu@gmail.com>
11126
11127 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11128 keymap variable in `with-no-warnings' to avoid a warning when the
11129 keymap has been already `defconst'ed.
11130
4b978a67
LL
111312011-03-22 Leo Liu <sdl.web@gmail.com>
11132
11133 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11134 encode all chars in abbrevs; otherwise use emacs-mule or
11135 utf-8-emacs. (Bug#8308)
11136
5fd62452
JB
111372011-03-22 Juanma Barranquero <lekktu@gmail.com>
11138
0b1596c6
JB
11139 * simple.el (backward-delete-char-untabify):
11140 Avoid warning about using `delete-backward-char'.
11141
5fd62452
JB
11142 * image.el (image-type-file-name-regexps): Make it variable.
11143 `imagemagick-register-types' modifies it, and the user may want
11144 to add new extensions for known image types.
11145 (imagemagick-register-types): Throw error if not using ImageMagick.
11146
0b4e93f1
LL
111472011-03-22 Leo Liu <sdl.web@gmail.com>
11148
11149 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11150 located before rcirc-prompt-end-marker.
11151 (rcirc-complete): Error if point is not after rcirc prompt.
11152 Handle the case when table is nil.
9882e214 11153 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11154
fccee4ab
CY
111552011-03-22 Chong Yidong <cyd@stupidchicken.com>
11156
11157 * custom.el (custom--inhibit-theme-enable): Make it affect only
11158 custom-theme-set-variables and custom-theme-set-faces.
11159 (provide-theme): Ignore custom--inhibit-theme-enable.
11160 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11161 (custom-enabling-themes): Delete variable.
d86d2721
SM
11162 (enable-theme): Accept only loaded themes as arguments.
11163 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11164 (custom-enabled-themes): Forbid themes from setting this.
11165 Eliminate use of custom-enabling-themes.
11166 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11167
af896da6
LL
111682011-03-21 Leo Liu <sdl.web@gmail.com>
11169
11170 * ido.el (ido-read-internal): Add ido-selected to history instead
11171 of user input.
11172
78f64af0
SM
111732011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11174
11175 * subr.el (deferred-action-list, deferred-action-function):
11176 Mark obsolete.
11177
b16ac1ec
LL
111782011-03-21 Leo Liu <sdl.web@gmail.com>
11179
810f7698
LL
11180 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11181 change on 2011-02-13 (bug#8309).
11182
b16ac1ec
LL
11183 * minibuffer.el (read-file-name-function): Change default value.
11184 (read-file-name--defaults): Rename from read-file-name-defaults.
11185 (read-file-name-default): Rename from read-file-name.
11186 (read-file-name): Call read-file-name-function.
11187
4e05e67e
GM
111882011-03-21 Glenn Morris <rgm@gnu.org>
11189
11190 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11191 Doc fixes.
11192
4359915b
CY
111932011-03-21 Chong Yidong <cyd@stupidchicken.com>
11194
11195 * cus-theme.el: Add missing provide statement.
11196 (customize-create-theme): Extract theme value correctly.
11197 (custom-theme-visit-theme): Autoload.
11198 (customize-create-theme): Prompt before inserting default faces.
11199
1fe275ee
JB
112002011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11201
11202 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11203 units and musical notes.
11204
cd394be1 112052011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11206
11207 * ido.el (ido-read-internal): Use completing-read-default.
11208 (ido-completing-read): Fix compatibility with completing-read.
11209
7d476bde
CO
112102011-03-20 Christian Ohler <ohler@gnu.org>
11211
11212 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11213 (ert-delete-all-tests): Use `called-interactively-p' rather than
11214 `interactive-p'.
11215 (ert--make-xrefs-region): Respect END.
11216
fe0fb33e
CY
112172011-03-19 Chong Yidong <cyd@stupidchicken.com>
11218
ff854b0b
CY
11219 * dired-aux.el (dired-create-directory): Signal an error if the
11220 directory already exists (Bug#8246).
11221
fe0fb33e
CY
11222 * facemenu.el (list-colors-display): Call list-faces-display
11223 inside with-help-window.
11224 (list-colors-print): Use display property to align the final
11225 column, instead of checking window-width.
11226
576bce32
EZ
112272011-03-19 Eli Zaretskii <eliz@gnu.org>
11228
4d61f28d 11229 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11230 windows-nt systems.
11231 (emerge-protect-metachars): Quote correctly for ms-dos and
11232 windows-nt systems.
11233
89c41d68 112342011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11235
11236 * info.el (info-initialize): Replace all uses of `:' with
11237 path-separator for compatibility with non-Unix systems.
11238 Cache quoting of path-separator. (Bug#8258)
11239
b14e3e21 112402011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11241
11242 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11243 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11244 (mouse-avoidance-mode): Fix typos in docstrings.
11245
4525ce3e
CY
112462011-03-19 Chong Yidong <cyd@stupidchicken.com>
11247
11248 * startup.el (package-subdirectory-regexp): Move from package.el.
11249 Omit \\` and \\', and let callers add them.
11250
11251 * emacs-lisp/package.el (package-strip-version)
11252 (package-load-all-descriptors): Add \\` and \\' to
11253 package-subdirectory-regexp before using it.
11254 (package-untar-buffer): New arg DIR; ensure that file untars only
11255 into this expected directory. Remove superfluous delete-region.
11256 (package-unpack): Caller changed.
11257 (package-tar-file-info): Use package-subdirectory-regexp.
11258
a904a09a 112592011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11260
a904a09a
SM
11261 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11262 diff-mode-shared-map (bug#8284).
11263 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11264
112652011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11266
11267 * calendar/time-date.el (format-seconds): Use assoc instead of
11268 assoc-string, since assoc-string doesn't exist in XEmacs.
11269
171fc304
JB
112702011-03-17 Juanma Barranquero <lekktu@gmail.com>
11271
11272 * custom.el (custom-known-themes): Reflow docstring.
11273 (custom-theme-load-path): Fix typo in docstring.
11274 (load-theme): Fix typo in error message.
11275 (custom-available-themes, custom-variable-theme-value):
11276 Use `let', not `let*'.
11277
d71990a1
JB
112782011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11279
11280 * calc/README: Mention inclusion of musical notes.
11281
11282 * calc/calc-units.el (calc-lu-quant): Rename from
11283 `calc-logunits-quantity'.
11284 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11285 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11286 (calc-db): Rename from `calc-dblevel'.
11287 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11288 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11289 (calc-np): Rename from `calc-nplevel'.
11290 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11291 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11292 (calc-lu-plus): Rename from `calc-logunits-add'.
11293 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11294 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11295 (calc-lu-minus): Rename from `calc-logunits-sub'.
11296 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11297 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11298 (calc-lu-times): Rename from `calc-logunits-mul'.
11299 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11300 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11301 (calc-lu-divide): Rename from `calc-logunits-div'.
11302 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11303 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11304
11305 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11306 functions being autoloaded.
11307
11308 * calc/calc.el (calc-lu-power-reference): Rename from
11309 `calc-logunits-power-reference'.
11310 (calc-lu-field-reference): Rename from
11311 `calc-logunits-field-reference'.
11312
7a71b18d
GM
11313 * calc/calc-help.el (calc-l-prefix-help):
11314 Mention musical note functions.
d71990a1 11315
40c2934b
SM
113162011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11317
11318 * minibuffer.el (completion-all-sorted-completions):
11319 Use :completion-cycle-penalty text property if present.
11320
b0911414
KM
113212011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11322
11323 * allout.el (allout-yank-processing): Adjust for new rebulleting
11324 regime so bullet being yanked is used without prompting the user
11325 for a choice.
11326
8a05b668
JB
113272011-03-16 Juanma Barranquero <lekktu@gmail.com>
11328
11329 * startup.el (command-line): Warn the user that _emacs is deprecated.
11330
5ba5fb81
JB
113312011-03-16 Juanma Barranquero <lekktu@gmail.com>
11332
11333 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11334 (delphi-verbose, delphi-comment-face, delphi-string-face)
11335 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11336 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11337 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11338 (delphi-new-comment-line, delphi-font-lock-defaults)
11339 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11340 Fix typos in docstrings.
11341
2dab465b
KM
113422011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11343
5ba5fb81 11344 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11345 Invert the roles of character and string values for INSTEAD, so a
11346 string is used for the more common case of a defaulting prompt.
11347
0adf5618
SM
113482011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11349
11350 * progmodes/ruby-mode.el (ruby-backward-sexp):
11351 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11352 * play/gamegrid.el (gamegrid-make-face):
11353 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11354 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11355 * notifications.el (notifications-notify):
11356 * net/xesam.el (xesam-search-engines):
11357 * net/quickurl.el (quickurl-list-insert):
11358 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11359
d72700e5
CY
113602011-03-15 Chong Yidong <cyd@stupidchicken.com>
11361
11362 * startup.el (command-line): Update package subdirectory regexp.
11363
49c5410a
SM
113642011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11365
c6eee9aa
SM
11366 * allout.el (allout-abbreviate-flattened-numbering)
11367 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11368
49c5410a
SM
11369 * subr.el (read-char-choice): Only show the cursor after the prompt,
11370 not after the answer.
11371
047b2bb9
KR
113722011-03-15 Kevin Ryde <user42@zip.com.au>
11373
11374 * help-fns.el (variable-at-point): Skip leading quotes, if any
11375 (bug#8253).
11376
0a57d256
SM
113772011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11378
11379 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11380 warning message.
11381
77c992bc
MA
113822011-03-14 Michael Albinus <michael.albinus@gmx.de>
11383
11384 * shell.el (shell): When called interactively, offer to change the
11385 shell file name on remote hosts.
11386
eebc475d
TZ
113872011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11388
11389 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11390 integration for LDAP parameters. The host, base, user or binddn,
11391 and secret tokens can be specified in a netrc file, for instance.
11392 This is optional because an `auth-source' parameter must be
11393 specified in the search attributes.
11394
9d05d1ba
JB
113952011-03-13 Juanma Barranquero <lekktu@gmail.com>
11396
11397 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11398
09d9db2c
GM
113992011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11400
11401 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11402 into declaration. Remove redundant and harmful binding.
11403
114042011-03-12 Eli Zaretskii <eliz@gnu.org>
11405
11406 * files.el (file-ownership-preserved-p): Pass `integer' as an
11407 explicit 2nd argument to `file-attributes'. If the file's owner
11408 is the Administrators group on Windows, and the current user is
11409 Administrator, consider that a match.
11410
11411 * server.el (server-ensure-safe-dir): Consider server directory
11412 safe on MS-Windows if its owner is the Administrators group while
11413 the current Emacs user is Administrator. Use `=' to compare
11414 numerical UIDs, since they could be integers or floats.
11415
219bd536
JB
114162011-03-12 Juanma Barranquero <lekktu@gmail.com>
11417
11418 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11419
f3afd36b
MA
114202011-03-12 Michael Albinus <michael.albinus@gmx.de>
11421
11422 Sync with Tramp 2.2.1.
11423
11424 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11425
11426 * net/trampver.el: Update release number.
11427
3aaaa6f1
SM
114282011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11429
94642599
SM
11430 * progmodes/compile.el (compilation--previous-directory): Fix up
11431 various nil/dead-marker mismatches (bug#8014).
11432 (compilation-directory-properties, compilation-error-properties):
11433 Don't call it at a position past the one we're about to change.
11434
3aaaa6f1
SM
11435 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11436 Disable obsolescence warnings in the file that declares it.
11437
14239447
KM
114382011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11439
099c39a4
JB
11440 * allout-widgets.el (allout-widgets-tally):
11441 Initialize allout-widgets-tally as a hash table rather than nil to
11442 prevent mode-line redisplay warnings. Also, clarify the module
11443 description and fix a comment typo.
14239447 11444
135e287c
JB
114452011-03-11 Juanma Barranquero <lekktu@gmail.com>
11446
11447 * help-fns.el (describe-variable): Don't complete keywords.
11448 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11449
ffbf300e
CY
114502011-03-10 Chong Yidong <cyd@stupidchicken.com>
11451
ba08b241
CY
11452 * emacs-lisp/package.el (package-version-join): Impose a standard
11453 string representation for pre/alpha/beta version lists.
11454 (package-unpack-single): Standardize the directory name by passing
11455 it through package-version-join.
11456 (package-strip-rcs-id): Accept any version string that does not
11457 signal an error in version-to-list.
ffbf300e 11458
f346fd6b
MA
114592011-03-10 Michael Albinus <michael.albinus@gmx.de>
11460
11461 * simple.el (delete-trailing-whitespace): Return nil for the
11462 benefit of `write-file-functions'.
11463
ccb55d27
GM
114642011-03-10 Glenn Morris <rgm@gnu.org>
11465
5ceaac0c
GM
11466 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11467
02da65ff
GM
11468 * vc/vc-git.el (vc-git-program): New option.
11469 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11470 (vc-git--call): Use it.
11471
b2f603cc
GM
11472 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11473
5772caab
GM
11474 * cus-edit.el (Custom-newline): If no button at point, look
11475 for a subgroup button at start-of-line. (Bug#2298)
11476
ccb55d27
GM
11477 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11478
ec6ecaed
JD
114792011-03-10 Julien Danjou <julien@danjou.info>
11480
11481 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11482 `cursor-type' is nil.
11483
9d5aa01d
JB
114842011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11485
11486 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11487
b6a5875b
KM
114882011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11489
7a71b18d 11490 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11491 preserves the existing header prefix, rebulleting it if necessary,
11492 rather than replacing it. This is necessary for proper operation
11493 of cooperative addons like allout-widgets.
1154d12e
JB
11494 (allout-make-topic-prefix, allout-rebullet-heading):
11495 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11496 value as alternate bullet to be used, instead of prompting the user
11497 for a bullet character.
b6a5875b 11498
ee545c35
MA
114992011-03-09 Michael Albinus <michael.albinus@gmx.de>
11500
d86d2721
SM
11501 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11502 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11503 `tramp-default-port'.
11504
c47971d7
DD
115052011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11506
11507 * net/rcirc.el (rcirc-handler-001): Remove useless
11508 with-rcirc-process-buffer.
11509 (rcirc-check-auth-status): Swap arguments to string-match.
11510
13522cb4
GM
115112011-03-09 Glenn Morris <rgm@gnu.org>
11512
0be6f4f1
GM
11513 * shell.el (shell-mode):
11514 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11515
13522cb4
GM
11516 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11517 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11518
515de2e3
CY
115192011-03-08 Chong Yidong <cyd@stupidchicken.com>
11520
11521 * emacs-lisp/package.el (package-refresh-contents)
11522 (package-menu-execute): Use condition-case-no-debug.
11523
b511b994
MA
115242011-03-08 Michael Albinus <michael.albinus@gmx.de>
11525
11526 * simple.el (shell-command-to-string): Use `process-file'.
11527
11528 * emacs-lisp/package.el (package-tar-file-info): Handle also
11529 remote files.
11530
d86d2721
SM
11531 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11532 Use `equal' for upload base check.
b511b994 11533
25bbfb31
AM
115342011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11535
11536 * textmodes/texinfo.el (texinfo-environments):
11537 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11538
be996521
GM
115392011-03-08 Glenn Morris <rgm@gnu.org>
11540
e9c8529f
GM
11541 * cus-start.el (cursor-in-non-selected-windows):
11542 Fix :set quoting oddness. (Bug#8192)
11543
be996521
GM
11544 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11545 in some setf expressions. (Bug#2159)
11546
2bb5649e
CY
115472011-03-08 Chong Yidong <cyd@stupidchicken.com>
11548
11549 * custom.el (custom-available-themes): Return themes in
11550 alphabetical order.
11551
33383987 11552See ChangeLog.15 for earlier changes.
e3d51b27
MR
11553
11554;; Local Variables:
11555;; coding: utf-8
e3d51b27
MR
11556;; End:
11557
acaf905b 11558 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11559
11560 This file is part of GNU Emacs.
11561
11562 GNU Emacs is free software: you can redistribute it and/or modify
11563 it under the terms of the GNU General Public License as published by
11564 the Free Software Foundation, either version 3 of the License, or
11565 (at your option) any later version.
11566
11567 GNU Emacs is distributed in the hope that it will be useful,
11568 but WITHOUT ANY WARRANTY; without even the implied warranty of
11569 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11570 GNU General Public License for more details.
11571
11572 You should have received a copy of the GNU General Public License
11573 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.