Fix some missing trailing whitespace (tiny change)
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4aaa9356
TL
12012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2
3 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4 * emulation/ws-mode.el (ws-query-replace):
5 * sort.el (sort-regexp-fields):
6 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7
225979da
SM
82012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9
10 * dabbrev.el: Fix cycle completion order (bug#10963).
11 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12 (dabbrev-completion): Don't use an obarray; provide
13 a cycle-sort-function.
14
e2f1fdab
LL
152012-03-12 Leo Liu <sdl.web@gmail.com>
16
17 * simple.el (kill-new): Use equal-including-properties for
18 comparison.
19 (kill-do-not-save-duplicates): Doc fix.
20
b19490ed
SM
212012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * dabbrev.el: Fix cycle completion (bug#10963).
24 Use lexical binding and wrap to 80 columns.
25 (dabbrev-completion): Delay computing the list of completions.
26
4b05d722
KH
272012-03-12 Kenichi Handa <handa@m17n.org>
28
29 * international/quail.el (quail-insert-kbd-layout): Surround each
30 row by LRO and PDF instead of inserting many LRMs. Pad the left
31 and right of each non-spacing marks. Insert invisible space
32 between lower and upper characters to prevent composition.
33
dbbc2e69
SM
342012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
35
36 * minibuffer.el (minibuffer-complete): Don't get confused when the
37 function is run twice via different commands (bug#10958).
38 (complete-with-action): Fix docstring.
39
292112ed
CY
402012-03-12 Chong Yidong <cyd@gnu.org>
41
5d1ac394
CY
42 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
43 (nxml-completion-at-point-function): New function.
44 (nxml-mode): Use it.
45 (nxml-bind-meta-tab-to-complete-flag): Default to t.
46
292112ed
CY
47 * emacs-lisp/package.el (package-unpack, package-unpack-single):
48 Load generated autoloads file before byte compiling (Bug#10970).
49 (package--make-autoloads-and-compile): New helper fun.
50
4098f8f7
CS
512012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
52
53 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
54
8f754691
MA
552012-03-11 Michael Albinus <michael.albinus@gmx.de>
56
57 * autorevert.el (auto-revert-handler): Ensure, that
58 file-readable-p is applied only for local files or in
59 auto-revert-tail-mode.
60
e29ab36b
AS
612012-03-11 Andreas Schwab <schwab@linux-m68k.org>
62
dbbc2e69
SM
63 * server.el (server-eval-at): Handle non-tcp connections.
64 Decode result string.
ad0bf5b6 65
e29ab36b
AS
66 * server.el (server-msg-size): New constant.
67 (server-reply-print): New function.
68 (server-eval-and-print): Use it.
69 (server-eval-at): Use server-quote-arg and server-unquote-arg.
70 Handle -print-nonl.
71
de5939ba
CS
722012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
73
74 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
75 (Bug#10987).
76
0c93eabf
CY
772012-03-11 Chong Yidong <cyd@gnu.org>
78
397a688f
CY
79 * simple.el (goto-line): Doc fix (Bug#9938).
80
2cc775f9
CY
81 * subr.el (save-window-excursion): Doc fix (Bug#9979).
82
0c93eabf
CY
83 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
84 when finished (Bug#10963).
85
c491fa41
MR
862012-03-11 Martin Rudalics <rudalics@gmx.at>
87
88 * window.el (split-window-below): Fix bug in case where
89 split-window-keep-point is nil (Bug#10971).
90
300e8fa5
JL
912012-03-11 Juri Linkov <juri@jurta.org>
92
93 * replace.el (replace-highlight): Set isearch-word to nil
94 unconditionally. (Bug#10887)
95
dbf6c5a1
EZ
962012-03-10 Eli Zaretskii <eliz@gnu.org>
97
98 * net/mairix.el (mairix-replace-invalid-chars): Rename from
99 mairix-replace-illegal-chars; all callers changed. Don't remove
100 ^, ~, and = characters: they are meaningful in mairix search
101 specs.
102 (mairix-widget-create-query): Add usage information about mairix
103 search forms: negating words, searching for substrings, etc.
104
b9e501de
JP
1052012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
106
107 * international/fontset.el (font-encoding-alist): Add an entry for
108 ksx1001 (Bug#5667).
109
92795c91
RS
1102012-03-10 Richard Stallman <rms@gnu.org>
111
1694e6c1
RS
112 * mail/sendmail.el (mail-encode-header):
113 Set rfc2047-encode-encoded-words.
114
607e8555
RS
115 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
116
de3bc99a
RS
117 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
118 view buffer means not swapped.
119 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
120 (rmail-write-region-annotate): Error if real text has disappeared.
121
92795c91
RS
122 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
123
699bd04e
CY
1242012-03-10 Chong Yidong <cyd@gnu.org>
125
126 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
127 * emulation/cua-base.el (cua--init-keymaps):
128 Add delete-forward-char to remappings (Bug#9666).
699bd04e 129
570a1714
MR
1302012-03-10 Martin Rudalics <rudalics@gmx.at>
131
dbbc2e69
SM
132 * speedbar.el (speedbar-unhighlight-one-tag-line):
133 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 134
82dcf4e4
CY
1352012-03-10 Chong Yidong <cyd@gnu.org>
136
7a2c7ca7
CY
137 * minibuffer.el (completion-in-region, completion-help-at-point):
138 Give the completion field overlay a high priority (Bug#6830).
139
82dcf4e4
CY
140 * dired.el (dired-goto-file): Recognize absolute file name
141 listings (Bug#7126).
142 (dired-goto-file-1): New helper function.
143 (dired-toggle-read-only): Inhibit warnings.
144
052e28ac
MA
1452012-03-09 Michael Albinus <michael.albinus@gmx.de>
146
147 * net/dbus.el: (dbus-property-handler): Return empty array if
148 there are no properties.
149
95d5e396
LL
1502012-03-09 Leo Liu <sdl.web@gmail.com>
151
152 * savehist.el (savehist-printable): Stricter check for string
153 value (Bug#10937).
154
3f018d6d
EZ
1552012-03-09 Eli Zaretskii <eliz@gnu.org>
156
dbbc2e69
SM
157 * mail/smtpmail.el (smtpmail-send-it):
158 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
159 valid mbox format.
160
f7fd3d79
GM
1612012-03-09 Glenn Morris <rgm@gnu.org>
162
163 * files.el (dir-locals-find-file):
164 Don't check result is regular, readable.
165 (dir-locals-read-from-file): Demote errors.
166
6ff6e72f
EZ
1672012-03-08 Eli Zaretskii <eliz@gnu.org>
168
dbbc2e69
SM
169 * international/quail.el (quail-insert-kbd-layout):
170 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
171 layout cell, to prevent their reordering by bidi display engine.
172 For details, see the discussion in
173 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
174
9cec7834
AM
1752012-03-08 Alan Mackenzie <acm@muc.de>
176
177 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
178 the starting position; make it extend the marked region when
179 invoked repeatedly - all under appropriate circumstances.
180 Fixes bugs #5525, #10906.
181
9a40b8d4
GM
1822012-03-08 Glenn Morris <rgm@gnu.org>
183
184 * files.el (locate-dominating-file, dir-locals-find-file):
185 Undo 2012-03-06 change.
186
7a08ed35
EZ
1872012-03-07 Eli Zaretskii <eliz@gnu.org>
188
dbbc2e69
SM
189 * international/quail.el (quail-help):
190 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
191 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
192 for the reason.
193
5aca4f71 1942012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
195
196 Avoid superfluous registering of signals. (Bug#10807)
197
198 * notifications.el (notifications-on-action-object)
199 (notifications-on-close-object): New defvars.
200 (notifications-on-action-signal, notifications-on-closed-signal):
201 Unregister the signal if not needed any longer.
202 (notifications-notify): Register `notifications-action-signal' or
203 `notifications-closed-signal', if :on-action or :on-close has been
204 passed as argument.
205
78e8b10a
CY
2062012-03-07 Chong Yidong <cyd@gnu.org>
207
208 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
209 non-X platforms.
210
69481eb8
GM
2112012-03-06 Glenn Morris <rgm@gnu.org>
212
213 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
214 (x-disown-selection-internal, x-get-selection-internal):
215 Doc fix (add arglist signatures). (Bug#10783)
216
133b8e11
KS
2172012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
218
219 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
220 Handle breakpoints with no "type".
221
99a83064
GM
2222012-03-06 Glenn Morris <rgm@gnu.org>
223
224 * files.el (locate-dominating-file): Add optional predicate argument.
225 (dir-locals-find-file): Make use of above change.
226
17798e78
TTN
2272012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
228
229 * info.el (Info-insert-dir): Also try "dir.gz".
230
eb182446
GM
2312012-03-06 Glenn Morris <rgm@gnu.org>
232
8f2114ee
GM
233 * files.el (dir-locals-find-file):
234 Ignore non-readable or non-regular files. (Bug#10928)
235
eb182446
GM
236 * files.el (locate-dominating-file): Doc fix.
237
24679323
AS
2382012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
239
240 * calendar/calendar.el (calendar-set-mode-line):
241 `getenv' returns a string. (Bug#10951)
242
01d972a9
LL
2432012-03-05 Leo Liu <sdl.web@gmail.com>
244
109aa8a9
LL
245 * simple.el (backward-delete-char-untabify): Constrain point to
246 field (Bug#10939).
247
01d972a9
LL
248 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
249
10607bea
CY
2502012-03-05 Chong Yidong <cyd@gnu.org>
251
252 * simple.el (count-words): If called from Lisp, return the word
253 count, for symmetry with `count-lines'. Arglist changed.
254 (count-words--message): Args changed. Consolidate counting code
255 from count-words and count-words-region.
256 (count-words-region): Caller changed.
257 (count-lines-region): Make it an obsolete alias.
258
5dd11cfe
TH
2592012-03-04 Tassilo Horn <tassilo@member.fsf.org>
260
261 * saveplace.el (save-place-to-alist)
262 (save-place-ignore-files-regexp): Allow value nil to disable this
263 feature.
264
c349f4e6
CY
2652012-03-04 Chong Yidong <cyd@gnu.org>
266
267 * faces.el (face-spec-reset-face): For the default face, reset the
268 attributes to default values (Bug#10748).
269
e627be4c
LMI
2702012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
271
272 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
273 previous patch: Check `message-send-mail-function', and not the
274 default function (bug#10897).
275
ebeabff4
MA
2762012-03-04 Michael Albinus <michael.albinus@gmx.de>
277
a41a6cf4
MA
278 * notifications.el (notifications-on-action-signal)
279 (notifications-on-closed-signal): Check for unique service name of
280 incoming event. Fix error in removing entry.
ebeabff4 281 (top): Register for signals with wildcard service name.
a41a6cf4 282 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 283
c1ca42b4
CY
2842012-03-04 Chong Yidong <cyd@gnu.org>
285
286 * cus-start.el: Make x-select-enable-clipboard-manager
287 customizable.
288
ea16568d
GM
2892012-03-04 Glenn Morris <rgm@gnu.org>
290
291 * abbrev.el (copy-abbrev-table, abbrev-table-p)
292 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
293 (expand-abbrev, define-abbrev-table): Doc fixes.
294
fbae4637
LMI
2952012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
296
297 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
298 `message-default-send-mail-function' and not `send-mail-function'
299 when doing the prompting for `sendmail-query-once' before sending
300 in Message buffers (bug#10897).
301
a1e7225c
LMI
302 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
303 This is inconsistent with all the other stream functions, which leave
304 the setting up to the higher levels (if so wanted) (bug#10931).
305
56d093a9
AM
3062012-03-02 Alan Mackenzie <acm@muc.de>
307
308 Depessimize the handling of very large macros.
309
310 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
311 (c-macro-cache-syntactic): New variables to implement a one
312 element macro cache.
313 (c-invalidate-macro-cache): New function.
314 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
315 Adapt to use the new cache.
316 (c-state-safe-place): Use better the cache of safe positions.
317 (c-state-semi-nonlit-pos-cache)
318 (c-state-semi-nonlit-pos-cache-limit):
319 New variables for...
320 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
321 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
322 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
323 Use c-state-semi-safe-place.
56d093a9 324
dbbc2e69
SM
325 * progmodes/cc-langs.el (c-get-state-before-change-functions):
326 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 327
817e5c3d
MA
3282012-03-02 Michael Albinus <michael.albinus@gmx.de>
329
dbbc2e69
SM
330 * jka-compr.el (jka-compr-call-process):
331 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
332 not remote.
333
a032a702
MA
3342012-03-01 Michael Albinus <michael.albinus@gmx.de>
335
336 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
337 access of FILE2, if FILE1 does not exist.
338
99a54f21
MA
339 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
340 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
341
342 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
343 Add "PAGER=" to `process-environment'.
344
f6561e1f
MM
3452012-03-01 Michael R. Mauger <mmaug@yahoo.com>
346
347 * progmodes/sql.el: Bug fix
348 (sql-get-login-ext): Save login values in globals.
349 (sql-get-login): Use new version of `sql-get-login-ext'.
350 (sql-interactive-mode): Set global `sql-connection' to nil.
351 (sql-connect): Set global values for connection.
352 (sql-product-interactive): Save global values as buffer local.
353
2d44d9cc
LL
3542012-02-29 Leo Liu <sdl.web@gmail.com>
355
356 * abbrev.el (define-abbrevs): Reset sys to nil.
357
96b49301 3582012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
359
bf7f9bc5
JB
360 * files.el (file-equal-p): Rename from `files-equal-p'.
361 Return nil when one or both files don't exist.
96b49301 362 (file-subdir-of-p): Now only top directory must exists,
363 return nil if it doesn't.
bf7f9bc5
JB
364 (copy-directory): No need to test with `file-subdir-of-p' after
365 creating dir.
366 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
367 to `file-equal-p'.
96b49301 368
44e97401
GM
3692012-02-28 Glenn Morris <rgm@gnu.org>
370
371 * shell.el (shell-mode):
372 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
373 * play/landmark.el (landmark-font-lock-face-O):
374 * play/handwrite.el (handwrite):
375 * play/gomoku.el (gomoku-O):
376 * net/browse-url.el (browse-url-browser-display):
377 * international/mule.el (define-charset):
378 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
379 * filesets.el (filesets-find-file-delay):
380 * eshell/em-xtra.el (eshell-xtra):
381 * eshell/em-unix.el (eshell-grep):
382 * emulation/viper.el (viper-mode):
383 * emacs-lisp/regexp-opt.el (regexp-opt-group):
384 * emacs-lisp/easymenu.el (easy-menu-define):
385 * calendar/timeclock.el (timeclock-use-display-time):
386 * bs.el (bs-mode):
387 * bookmark.el (bookmark-save-flag):
388 Doc fix (standardize possessive apostrophe usage).
389
c98c6276
CY
3902012-02-27 Chong Yidong <cyd@gnu.org>
391
bf7f9bc5
JB
392 * emulation/viper-cmd.el (viper-intercept-ESC-key):
393 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 394
c98c6276
CY
395 * font-lock.el (font-lock-specified-p): Rename from
396 font-lock-spec-present. Callers changed.
397
9c62cd04 3982012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 399
bf7f9bc5
JB
400 * emacs-lisp/package.el (package-compute-transaction):
401 Handle holding a package version to t in package-load-list.
8ac9e529 402
530739c9
MA
4032012-02-26 Michael Albinus <michael.albinus@gmx.de>
404
405 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
406 (tramp-get-inode, tramp-get-device): Use cached values.
407
487915d7
AM
4082012-02-26 Alan Mackenzie <acm@muc.de>
409
410 Check there is a font-lock specification before doing initial
411 fontification.
412
413 * font-core.el (font-lock-mode): Move the conditional from
414 :after-hook to font-lock-initial-fontify.
415 (font-lock-default-function): Move the check for a specification
416 to font-lock-spec-present.
417
418 * font-lock.el (font-lock-initial-fontify): call ...
419 (font-lock-spec-present): New function.
420
4fd96557
JB
4212012-02-26 Jim Blandy <jimb@red-bean.com>
422
423 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
424 (gdb-send): Apply it to the operand of the '-interpreter-exec
425 console' command, so that we can pass arguments with (say) quotes
426 in them. Store exact string sent in gdb-debug-log (Bug#10765).
427
9a4888c0
CY
4282012-02-26 Chong Yidong <cyd@gnu.org>
429
07498861
CY
430 * help-fns.el (describe-function-1): Clarify description of
431 remapping (Bug#10844).
432
9a4888c0
CY
433 * files.el (files-equal-p): Doc fix.
434 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
435 and quit the loop once a mismatch is found.
436
ea8fb88d
JB
4372012-02-25 Juanma Barranquero <lekktu@gmail.com>
438
439 * bs.el (bs--show-with-configuration): Don't throw an error
440 if the window cannot be split; otherwise, subsequent calls to
441 bs-show fail, restoring a stale window config. (Bug#10882)
442
525795c1
JD
4432012-02-25 Jan Djärv <jan.h.d@swipnet.se>
444
445 * term/ns-win.el (global-map): Bind ns-drag-file to
446 ns-find-file (Bug#5855, Bug#10050).
447
f008086f
AS
4482012-02-25 Andreas Schwab <schwab@linux-m68k.org>
449
450 * calendar/parse-time.el (parse-time-string): Allow extractor to
451 return nil.
452
a3fcfa99
MA
4532012-02-25 Michael Albinus <michael.albinus@gmx.de>
454
91027d08
JB
455 * net/tramp.el (tramp-file-name-for-operation):
456 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
457
458 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
459 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
460 Add COPY-CONTENTS argument.
a3fcfa99 461
67b0de11
CY
4622012-02-25 Chong Yidong <cyd@gnu.org>
463
464 Add custom groups for VC backends, for consistency with vc-bzr.
465
466 * vc/vc-arch.el (vc-arch):
467 * vc/vc-cvs.el (vc-cvs):
468 * vc/vc-git.el (vc-git):
469 * vc/vc-hg.el (vc-hg):
470 * vc/vc-mtn.el (vc-mtn):
471 * vc/vc-rcs.el (vc-rcs):
472 * vc/vc-sccs.el (vc-sccs):
473 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
474 All relevant defcustoms reassigned.
475
3c9dfce6
CY
4762012-02-25 Chong Yidong <cyd@gnu.org>
477
1339bf43
CY
478 * newcomment.el (comment-styles): Add autoload (Bug#10868).
479
3c9dfce6
CY
480 * term/x-win.el (x-initialize-window-system): Reduce default for
481 x-selection-timeout to 5 seconds (Bug#8869).
482
53a46cd0 4832012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 484
53a46cd0 485 * files.el (file-subdir-of-p): Fix typo.
14a8a663 486
25b2e303 4872012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
488
ec70a47d
GM
489 * files.el (files-equal-p, file-subdir-of-p): New functions.
490 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 491 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
492 * dired-aux.el (dired-copy-file-recursive): Same.
493 (dired-create-files): Modify destination when source is equal to
494 dest when copying files.
53a46cd0 495 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 496
914260cd
MA
4972012-02-24 Michael Albinus <michael.albinus@gmx.de>
498
499 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
500 (Bug#10874)
501
2cb228f7
AM
5022012-02-23 Alan Mackenzie <acm@muc.de>
503
504 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
505 parameter "after-hook:" to allow the expansion to run code after
506 the execution of the mode hooks.
507
508 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 509 from font-lock-mode-internal.
2cb228f7 510
91027d08 511 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
512 :after-hook.
513
8f0fde21
SM
5142012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
515
3e88618b
SM
516 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
517 (completion--cache-all-sorted-completions): New function.
518 (completion-all-sorted-completions): Use it.
519 (completion--do-completion, minibuffer-force-complete):
520 Use it to re-instate the flush hook.
521
8f0fde21
SM
522 * icomplete.el (icomplete-completions): Replace last fix with a better
523 one (bug#10850).
524
8e911f6f
DG
5252012-02-23 Dmitry Gutov <dgutov@yandex.ru>
526
527 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
528 when it might call us back infinitely (bug#10797).
529
49fe4321
GM
5302012-02-23 Glenn Morris <rgm@gnu.org>
531
532 * minibuffer.el (completion-category-overrides): Doc fix.
533
b291b572
SM
5342012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
535
536 * minibuffer.el (completion-table-with-context): Fix inf-loop.
537 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
538
31a9ef2e
GM
5392012-02-23 Glenn Morris <rgm@gnu.org>
540
5e6e6794 541 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
542 (authors-obsolete-files-regexps, authors-ignored-files)
543 (authors-ambiguous-files, authors-renamed-files-alist):
544 Add more entries.
545
0bd1e074
JL
5462012-02-23 Juri Linkov <juri@jurta.org>
547
548 * isearch.el (isearch-occur): Sync interactive spec with occur's
549 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
550
b617673c
JL
551 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
552
19e9789e
JL
5532012-02-22 Juri Linkov <juri@jurta.org>
554
555 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
556 (ucs-insert): Doc fix. Check for hex digits in the string.
557 Don't display `nil' in the error message. (Bug#10857)
558
f41ce09d
AM
5592012-02-22 Alan Mackenzie <acm@muc.de>
560
7a71b18d 561 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 562
ac2eceee
GM
5632012-02-22 Glenn Morris <rgm@gnu.org>
564
565 * ffap.el (ffap-c-path):
566 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
567
abd1f678
CY
5682012-02-22 Chong Yidong <cyd@gnu.org>
569
570 * custom.el (load-theme): Doc fix.
571
f25aef2e
GM
5722012-02-22 Glenn Morris <rgm@gnu.org>
573
574 * dired-x.el (dired-guess-shell-alist-default):
575 Remove escape sequences from nroff output. (Bug#172)
576
5f8dc2ca
GM
5772012-02-21 Glenn Morris <rgm@gnu.org>
578
6ff86ec4
GM
579 * vc/emerge.el (emerge-defvar-local):
580 Set `permanent-local' property rather than unused `preserved'.
581
be3223a3 582 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
583 (picture-mode-map): Use it. (Bug#10860)
584 (picture-mode): Doc fix.
585
3fe58f4f
JB
5862012-02-21 Juanma Barranquero <lekktu@gmail.com>
587
588 * newcomment.el (uncomment-region-default): Remove unused binding.
589
f9a998c3
GM
5902012-02-21 Glenn Morris <rgm@gnu.org>
591
592 * textmodes/picture.el (picture-motion, picture-motion-reverse)
593 (picture-self-insert, picture-tab-chars): Doc fix.
594 (picture-mode-map): Fix C-a, C-e.
595
c6029348
GM
5962012-02-20 Glenn Morris <rgm@gnu.org>
597
598 * emacs-lisp/authors.el (authors-aliases): Add another entry.
599
ab1ce9d7
LL
6002012-02-20 Leo Liu <sdl.web@gmail.com>
601
602 * icomplete.el (icomplete-completions): Check FROM arg before
603 passing to substring (Bug#10850).
604
0fd40f89
CY
6052012-02-19 Chong Yidong <cyd@gnu.org>
606
607 * comint.el: Require ansi-color.
608 (comint-output-filter-functions): Add ansi-color-process-output.
609
610 * ansi-color.el: Don't set comint-output-filter-functions; it is
611 now in the initial value defined in comint.el.
612 (ansi-color-apply-face-function): New variable.
613 (ansi-color-apply-on-region): Use it.
614 (ansi-color-apply-overlay-face): New function.
615
616 * shell.el (shell): No need to require ansi-color.
617 (shell-mode): Use ansi-color-apply-face-function to highlight
618 color escapes using font-lock-face property (Bug#10835).
619
20af2394
CY
6202012-02-19 Chong Yidong <cyd@gnu.org>
621
622 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
623 mode-line formats (Bug#10839).
624
e23a3fbe
GM
6252012-02-18 Glenn Morris <rgm@gnu.org>
626
b474519e
GM
627 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
628
629 * mail/undigest.el (unforward-rmail-message): Doc fix.
630
e23a3fbe
GM
631 * saveplace.el (save-place-ignore-files-regexp): Add :version.
632
57939ff4
EZ
6332012-02-18 Eli Zaretskii <eliz@gnu.org>
634
635 * international/characters.el (script-list): Sync with the latest
636 Unicode Character Database.
637
0c23686e
AS
6382012-02-18 Andreas Schwab <schwab@linux-m68k.org>
639
640 * international/titdic-cnv.el: Remove duplicate coding tag.
641 * language/cham.el: Likewise.
642 * language/tai-viet.el: Likewise.
643
6818b449
GM
6442012-02-18 Glenn Morris <rgm@gnu.org>
645
646 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
647 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
648 (calendar-bahai-all-holidays-flag, calendar-other-dates):
649 * calendar/diary-lib.el (diary-abbreviated-year-flag):
650 * calendar/holidays.el (holiday-bahai-holidays)
651 (calendar-holidays, list-holidays):
652 Use utf-8 Bahá'í in doc-strings, menus, etc.
653
0311a3fc
TH
6542012-02-17 Tassilo Horn <tassilo@member.fsf.org>
655
656 * saveplace.el (save-place-ignore-files-regexp): New variable
657 allowing for excluding files from saving their location of point.
658 The default value matches the temporary commit message editing
659 files from Git, SVN, Bazaar, and Mercurial.
660 (save-place-to-alist): Use it.
661
eb864a71
LM
6622012-02-17 Lawrence Mitchell <wence@gmx.li>
663 Stefan Monnier <monnier@iro.umontreal.ca>
664
665 * newcomment.el (uncomment-region-default): Don't leave extra space
666 when an arg is provided (bug#8150).
667
ee0ce425
TZ
6682012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
669
eb864a71 670 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 671
95ddf442
GM
6722012-02-17 Glenn Morris <rgm@gnu.org>
673
674 * net/socks.el: Require network-stream. (Bug#10599)
675
48dd1e39 6762012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
677
678 * international/charprop.el:
679 * international/uni-name.el:
680 * international/uni-old-name.el:
681 * international/uni-comment.el: Regenerate.
682
d68cd087
GM
6832012-02-16 Glenn Morris <rgm@gnu.org>
684
685 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
686 Interactively in calendar buffer, give an error if not on a date.
687
13932042
GM
6882012-02-15 Glenn Morris <rgm@gnu.org>
689
690 * shell.el (shell-delimiter-argument-list):
691 Revert 2011-02-17 change. (Bug#8027)
692
c3a70e2b
CY
6932012-02-15 Chong Yidong <cyd@gnu.org>
694
60236b0d
CY
695 * minibuffer.el (completion-at-point-functions): Doc fix.
696
c3a70e2b
CY
697 * custom.el (defcustom): Doc fix; note use of defvar.
698
9f26dc24
GM
6992012-02-15 Glenn Morris <rgm@gnu.org>
700
701 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
702 Doc fixes.
703
6546b134
GM
7042012-02-14 Glenn Morris <rgm@gnu.org>
705
706 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
707
d29b2b4c
LI
7082012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
709
710 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
711 way the ports list is computed.
835bdcba
LI
712 (smtpmail-query-smtp-server): Prompt the user for a port number if
713 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 714
08dcdbc9
TZ
7152012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
716
717 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
718
2605051a
GM
7192012-02-13 Glenn Morris <rgm@gnu.org>
720
721 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
722
7ee99f32
TZ
7232012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
724
725 * net/gnutls.el (gnutls-trustfiles): New variable.
726 (gnutls-negotiate): Use it.
727
5f0af64f
LI
7282012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
729
730 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
731 does its stuff if Gnus is running.
732
c14fcc95
AM
7332012-02-13 Alan Mackenzie <acm@muc.de>
734
735 Fix a loop in c-set-fl-decl-start.
736
7a71b18d 737 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
738 c-backward-syntactic-ws actually moves backwards.
739
142b4d90
LL
7402012-02-13 Leo Liu <sdl.web@gmail.com>
741
742 * net/rcirc.el (rcirc-markup-attributes): Move point to the
743 beginning so that all \C-o chars are removed.
744
fa9958a6
TZ
7452012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
746
747 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
748 tag.
749
0bc5886a
AM
7502012-02-12 Alan Mackenzie <acm@muc.de>
751
752 Fix infinite loop with long macros.
753 * cc-engine.el (c-state-safe-place): Handle macros properly.
754
d4bd55e7
CY
7552012-02-12 Chong Yidong <cyd@gnu.org>
756
757 * window.el (display-buffer): Doc fix (Bug#10785).
758
66f3fe22
GM
7592012-02-12 Glenn Morris <rgm@gnu.org>
760
bd7da63e
GM
761 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
762 (x-disown-selection-internal, x-get-selection-internal):
763 Sync docs with the xselect.c versions.
764
66f3fe22
GM
765 * allout-widgets.el: Add missing license notice.
766
3e0d2fa7
GM
7672012-02-11 Glenn Morris <rgm@gnu.org>
768
cfecdf09
GM
769 * select.el (x-get-selection-internal, x-own-selection-internal)
770 (x-disown-selection-internal):
771 * x-dnd.el (x-get-selection-internal): Update declarations.
772
6d216d7f
GM
773 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
774
2bed3f04
GM
775 * window.el (window-sides-slots):
776 * tool-bar.el (tool-bar-position):
777 * term/xterm.el (xterm-extra-capabilities):
778 * ses.el (ses-self-reference-early-detection):
779 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
780 (verilog-auto-wire-type)
781 (verilog-auto-delete-trailing-whitespace)
782 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
783 (verilog-auto-tieoff-declaration):
784 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
785 (sql-oracle-statement-starters, sql-oracle-scan-on):
786 * progmodes/prolog.el (prolog-align-comments-flag)
787 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
788 (prolog-left-indent-regexp, prolog-paren-indent-p)
789 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
790 (prolog-types, prolog-mode-specificators)
791 (prolog-determinism-specificators, prolog-directives)
792 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
793 (prolog-electric-dot-flag)
794 (prolog-electric-dot-full-predicate-template)
795 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
796 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
797 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
798 (prolog-program-switches, prolog-prompt-regexp)
799 (prolog-debug-on-string, prolog-debug-off-string)
800 (prolog-trace-on-string, prolog-trace-off-string)
801 (prolog-zip-on-string, prolog-zip-off-string)
802 (prolog-use-standard-consult-compile-method-flag)
803 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
804 (prolog-imenu-max-lines, prolog-info-predicate-index)
805 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
806 (prolog-char-quote-workaround):
807 * progmodes/cc-vars.el (c-defun-tactic):
808 * net/tramp.el (tramp-encoding-command-interactive)
809 (tramp-local-end-of-line):
810 * net/soap-client.el (soap-client):
811 * net/netrc.el (netrc-file):
812 * net/gnutls.el (gnutls):
813 * minibuffer.el (completion-category-overrides)
814 (completion-cycle-threshold)
815 (completion-pcm-complete-word-inserts-delimiters):
816 * man.el (Man-name-local-regexp):
817 * mail/feedmail.el (feedmail-display-full-frame):
818 * international/characters.el (glyphless-char-display-control):
819 * eshell/em-ls.el (eshell-ls-date-format):
820 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
821 (lisp-lambda-list-keyword-parameter-indentation)
822 (lisp-lambda-list-keyword-parameter-alignment):
823 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
824 * dired-x.el (dired-omit-verbose):
825 * cus-theme.el (custom-theme-allow-multiple-selections):
826 * calc/calc.el (calc-highlight-selections-with-faces)
827 (calc-lu-field-reference, calc-lu-power-reference)
828 (calc-note-threshold):
829 * battery.el (battery-mode-line-limit):
830 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
831 (archive-7z-update):
832 * allout.el (allout-prefixed-keybindings)
833 (allout-unprefixed-keybindings)
834 (allout-inhibit-auto-fill-on-headline)
835 (allout-flattened-numbering-abbreviation):
836 * allout-widgets.el (allout-widgets-auto-activation)
837 (allout-widgets-icons-dark-subdir)
838 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
839 (allout-widgets-theme-dark-background)
840 (allout-widgets-theme-light-background)
841 (allout-widgets-item-image-properties-emacs)
842 (allout-widgets-item-image-properties-xemacs)
843 (allout-widgets-run-unit-tests-on-load)
844 (allout-widgets-time-decoration-activity)
845 (allout-widgets-hook-error-post-time)
846 (allout-widgets-track-decoration):
847 Add missing :version tags to new defcustoms and defgroups.
848
5fec1b8e
GM
849 * progmodes/sql.el (sql-ansi-statement-starters)
850 (sql-oracle-statement-starters): Add custom type.
851
3e0d2fa7
GM
852 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
853 (prolog-system-version): Give it a type.
854
90b671e2
EZ
8552012-02-11 Eli Zaretskii <eliz@gnu.org>
856
857 * term/pc-win.el (x-select-text, x-selection-owner-p)
858 (x-own-selection-internal, x-disown-selection-internal)
859 (x-get-selection-internal): Sync doc strings and argument lists
860 with xselect.c, common-win.el and x-win.el. (Bug#10783)
861
5eac0c02
LL
8622012-02-11 Leo Liu <sdl.web@gmail.com>
863
864 * progmodes/python.el (python-end-of-statement): Fix infinite
865 loop. (Bug#10788)
866
f82cb659
GM
8672012-02-10 Glenn Morris <rgm@gnu.org>
868
869 * international/mule-cmds.el (unify-8859-on-encoding-mode)
870 (unify-8859-on-decoding-mode): Properly mark as obsolete.
871
cc26d239
LI
8722012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
873
874 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
875 about SMTP before checking the From header.
876
91027d08 877 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
878 into own function for reuse by emacsbug.el.
879
1be3ca5a
LL
8802012-02-10 Leo Liu <sdl.web@gmail.com>
881
882 * subr.el (condition-case-unless-debug): Rename from
883 condition-case-no-debug. All callers changed.
884 (with-demoted-errors): Fix caller.
885
886 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
887 * nxml/rng-valid.el (rng-do-some-validation):
888 * emacs-lisp/package.el (package-refresh-contents)
889 (package-menu-execute):
890 * desktop.el (desktop-create-buffer):
91027d08 891 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 892
b011fbfe
GM
8932012-02-10 Glenn Morris <rgm@gnu.org>
894
b2096d72
GM
895 * textmodes/bibtex.el:
896 Add missing :version tags for new/changed defcustoms.
897
b011fbfe
GM
898 * files.el (remote-file-name-inhibit-cache): Doc fixes.
899
4c7e65bf
LI
9002012-02-09 Lars Ingebrigtsen <larsi@rusty>
901
902 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
903 (smtpmail-via-smtp): Use it, or fall back on the From address.
904 (smtpmail-send-it): Ditto.
905
f3934f6f
SM
9062012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
909 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
910 (byte-compile-tmp-var): New const.
911 (byte-compile-defvar): Use it to minimize .elc size.
912 Just use `defvar' rather than simulate it (bug#10761).
913
a075a2c5
GM
9142012-02-09 Glenn Morris <rgm@gnu.org>
915
cf3aa21b
GM
916 * files.el (rename-uniquely): Doc fix. (Bug#3806)
917
354998cd
GM
918 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
919 Add :version tags.
920
83274125 921 * progmodes/compile.el (compilation-first-column)
34c071c6 922 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
83274125 923
dab3703d
GM
924 * vc/log-view.el (log-view-toggle-entry-display):
925 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
926
3f88cd72
GM
927 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
928 (report-emacs-bug-can-use-xdg-email):
929 (report-emacs-bug-insert-to-mailer): Doc fixes.
930 (report-emacs-bug): Message fix.
931
d95b247d
GM
932 * net/browse-url.el (browse-url-can-use-xdg-open)
933 (browse-url-xdg-open): Doc fixes.
934
a075a2c5
GM
935 * electric.el (electric-indent-mode, electric-pair-mode)
936 (electric-layout-rules, electric-layout-mode): Doc fixes.
937 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
938
ffb6157e
MR
9392012-02-08 Martin Rudalics <rudalics@gmx.at>
940
941 * server.el (server-unselect-display): Don't inadvertently kill
942 the current buffer. (Bug#10729)
943
e1ac4066
GM
9442012-02-08 Glenn Morris <rgm@gnu.org>
945
34e8a2da
GM
946 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
947 (sql-list-table): Doc fixes.
948
b4ac6e8c
GM
949 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
950 Comment out (does nothing).
951
e1ac4066
GM
952 * completion.el (dynamic-completion-mode):
953 * dirtrack.el (dirtrack-debug-mode):
954 * electric.el (electric-layout-mode):
955 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
956 * face-remap.el (text-scale-mode, buffer-face-mode):
957 * iimage.el (iimage-mode):
958 * image-mode.el (image-transform-mode):
959 * minibuffer.el (completion-in-region-mode):
960 * scroll-lock.el (scroll-lock-mode):
961 * simple.el (next-error-follow-minor-mode):
962 * tar-mode.el (tar-subfile-mode):
963 * tooltip.el (tooltip-mode):
964 * vcursor.el (vcursor-use-vcursor-map):
965 * wid-browse.el (widget-minor-mode):
966 * emulation/tpu-edt.el (tpu-edt-mode):
967 * emulation/tpu-extras.el (tpu-cursor-free-mode):
968 * international/iso-ascii.el (iso-ascii-mode):
969 * language/thai-util.el (thai-word-mode):
970 * mail/supercite.el (sc-minor-mode):
971 * net/goto-addr.el (goto-address-mode):
972 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
973 * progmodes/cwarn.el (cwarn-mode):
974 * progmodes/flymake.el (flymake-mode):
975 * progmodes/glasses.el (glasses-mode):
976 * progmodes/hideshow.el (hs-minor-mode):
977 * progmodes/pascal.el (pascal-outline-mode):
978 * textmodes/enriched.el (enriched-mode):
979 * vc/smerge-mode.el (smerge-mode):
980 Doc fixes (minor mode argument).
981
5e0d957f
EZ
9822012-02-07 Eli Zaretskii <eliz@gnu.org>
983
984 * ls-lisp.el (ls-lisp-sanitize): New function.
985 (ls-lisp-insert-directory): Use it to fix or remove any elements
986 in file-alist with missing attributes. (Bug#4673)
987
98d7371e
AM
9882012-02-07 Alan Mackenzie <acm@muc.de>
989
990 Fix spurious recognition of c-in-knr-argdecl.
991
992 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
993 putative K&R region.
994
667ced3a
AM
9952012-02-07 Alan Mackenzie <acm@muc.de>
996
eb864a71
LM
997 * progmodes/cc-engine.el (c-forward-objc-directive):
998 Prevent looping in "#pragma mark @implementation".
667ced3a 999
5b77774d
MA
10002012-02-07 Michael Albinus <michael.albinus@gmx.de>
1001
1002 * notifications.el (notifications-on-closed-signal): Make `reason'
1003 optional. (Bug#10744)
1004
af008560
GM
10052012-02-07 Glenn Morris <rgm@gnu.org>
1006
60d47423
GM
1007 * emacs-lisp/easy-mmode.el (define-minor-mode):
1008 Doc fixes for the macro and the mode it defines.
1009
dd605cc4
GM
1010 * image.el (imagemagick-types-inhibit): Doc fix.
1011
af008560
GM
1012 * cus-start.el (imagemagick-render-type): Add it.
1013
5cc59a37
LI
10142012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1015
1016 * progmodes/cc-mode.el
1017 (c-standard-font-lock-fontify-region-function): Set the default at
1018 load time, too, so that `font-lock-fontify-buffer' can be called
1019 without setting up the entire mode first. This fixes a bug in
1020 `mm-inline-text' with C MIME parts.
1021
9a6dd747
CY
10222012-02-06 Chong Yidong <cyd@gnu.org>
1023
2d16b285
CY
1024 * simple.el (list-processes--refresh): Delete exited processes
1025 (Bug#8094).
1026
171e9b6e
CY
1027 * comint.el (comint-next-prompt): next-single-char-property-change
1028 and prev-single-char-property-change never return nil (Bug#8657).
1029
9a6dd747
CY
1030 * custom.el (defcustom): Doc fix (Bug#9711).
1031
aa4589a7
CY
10322012-02-05 Chong Yidong <cyd@gnu.org>
1033
5c2a252f
CY
1034 * cus-edit.el (custom-variable-reset-backup): Quote the value
1035 before storing it in the customized-value property (Bug#6712).
4aab9006 1036 (custom-display): Add a customization type tag.
983b9602 1037 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1038
aa4589a7
CY
1039 * wid-edit.el (widget-field-value-get): New optional arg to
1040 suppress trailing whitespace truncation.
1041 (character): Use it (Bug#2689).
1042
1ff980ae
AS
10432012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1044
1045 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1046 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1047
03988c98
CY
10482012-02-05 Chong Yidong <cyd@gnu.org>
1049
eeb6cc88
CY
1050 * cus-edit.el (custom-variable-value-create): For mismatched
1051 types, show the current value (Bug#7600).
1052
03988c98
CY
1053 * custom.el (defcustom): Doc fix.
1054
f8cdeef0
GM
10552012-02-05 Glenn Morris <rgm@gnu.org>
1056
1057 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1058
0696d255
JB
10592012-02-05 Juanma Barranquero <lekktu@gmail.com>
1060
1061 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1062 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1063 (pp-last-sexp): Use `looking-at-p'.
1064
34c99998
GM
10652012-02-04 Glenn Morris <rgm@gnu.org>
1066
8f05da42
GM
1067 * files.el (revert-buffer):
1068 Doc fix (mention revert-buffer-in-progress-p).
1069
f160676e
GM
1070 * emacs-lisp/ert-x.el (ert-simulate-command):
1071 Check deferred-action-list (which is obsolete) is bound.
1072
c7291ad9
GM
1073 * subr.el (with-wrapper-hook): Doc fixes.
1074
34c99998
GM
1075 * simple.el (filter-buffer-substring-functions)
1076 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1077
6283a7d3
LL
10782012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1079
1080 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1081 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1082
e96e3013
LL
10832012-02-04 Leo Liu <sdl.web@gmail.com>
1084
1085 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1086
8ded50f2
GM
10872012-02-04 Glenn Morris <rgm@gnu.org>
1088
82ff1d13
GM
1089 * image.el (image-extension-data): Add obsolete alias.
1090
987a0a16
GM
1091 * isearch.el (isearch-update): Doc fix.
1092
ea32ef46
GM
1093 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1094
8ded50f2
GM
1095 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1096
eea14f31
GM
10972012-02-03 Glenn Morris <rgm@gnu.org>
1098
1099 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1100 (image-animate-timeout): Doc fix.
1101
1102 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1103
12f381b7
GM
11042012-02-02 Glenn Morris <rgm@gnu.org>
1105
953cebf5
GM
1106 * server.el (server-auth-dir): Doc fix.
1107 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1108
12f381b7
GM
1109 * subr.el (run-mode-hooks): Doc fix.
1110
953a8c3b
JL
11112012-02-02 Juri Linkov <juri@jurta.org>
1112
1113 * image-mode.el (image-toggle-display-image): Remove tautological
1114 `major-mode' from the `derived-mode-p' test.
1115
c5d3843c
KH
11162012-02-02 Kenichi Handa <handa@m17n.org>
1117
9f6e692e 1118 * composite.el (compose-region): Cancel previous change.
c5d3843c 1119
159462d4 11202012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1121
1122 * composite.el (compose-region, compose-string): Signal error for
1123 a null string component (Bug#6988).
1124
9f562668
CY
11252012-02-01 Chong Yidong <cyd@gnu.org>
1126
e2cef717
CY
1127 * view.el (view-buffer-other-window, view-buffer-other-frame):
1128 Handle special modes like view-buffer (Bug#10650).
1129 (view-buffer): Simplify.
1130
9f562668
CY
1131 * frame.el (set-frame-font): Tweak meaning of third argument.
1132
9f6e692e
JB
1133 * dynamic-setting.el (font-setting-change-default-font):
1134 Use set-frame-font (Bug#9982).
9f562668 1135
781acb9f
GM
11362012-02-01 Glenn Morris <rgm@gnu.org>
1137
6035be52
GM
1138 * progmodes/compile.el (compilation-internal-error-properties):
1139 Respect compilation-first-column in the "*compilation*" buffer.
1140
781acb9f
GM
1141 * emacs-lisp/easy-mmode.el (define-minor-mode):
1142 Relax :variable's test for a named function.
1143
abbceb00
AM
11442012-01-31 Alan Mackenzie <acm@muc.de>
1145
1146 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1147 off by one error.
1148
fce3fdeb
CY
11492012-01-31 Chong Yidong <cyd@gnu.org>
1150
1151 * frame.el (set-frame-font): New arg ALL-FRAMES.
1152
1153 * menu-bar.el (menu-set-font): Use set-frame-font.
1154
1155 * faces.el (face-spec-reset-face): Don't apply unspecified
1156 attribute values to the default face.
1157
47893581
JB
11582012-01-31 Juanma Barranquero <lekktu@gmail.com>
1159
1160 * progmodes/cwarn.el (cwarn): Remove dead link.
1161 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1162 Remove * from defcustom docstrings.
1163 (turn-on-cwarn-mode): Make obsolete.
1164 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1165 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1166
e58e988a
GM
11672012-01-31 Glenn Morris <rgm@gnu.org>
1168
60dc2671 1169 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1170 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1171 Allow named functions to be used as the cdr of :variable.
e58e988a 1172
7a3f511d
GM
11732012-01-30 Glenn Morris <rgm@gnu.org>
1174
1175 * emacs-lisp/authors.el (authors-fixed-entries):
1176 Remove reference to deleted file rnewspost.el.
1177
cb882333
JB
11782012-01-29 Juanma Barranquero <lekktu@gmail.com>
1179
1180 * window.el (window-with-parameter): Remove unused variable `windows'.
1181 (window--side-check): Remove unused variable `code'.
1182 (window--resize-siblings): Remove unused variable `first'.
1183 (adjust-window-trailing-edge): Remove unused variable `failed'.
1184 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1185 Use `let', not `let*'.
1186 (balance-windows-2): Remove unused variable `found'.
1187 (window--state-put-2): Remove unused variable `splits'.
1188 (window-state-put): Remove unused variable `selected'.
1189 (same-window-p): Use `string-match-p'.
1190 (display-buffer-assq-regexp): Remove unused variable `value'.
1191 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1192 Mark argument ALIST as ignored.
1193 (pop-to-buffer): Remove unused variable `old-window'.
1194
907201af
EZ
11952012-01-29 Eli Zaretskii <eliz@gnu.org>
1196
1197 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1198 and .lzma compressed files.
1199
ea162670
CY
12002012-01-29 Chong Yidong <cyd@gnu.org>
1201
5b95ee8a
CY
1202 * frame.el (window-system-default-frame-alist): Doc fix.
1203
ea162670
CY
1204 * dynamic-setting.el (font-setting-change-default-font): Don't
1205 change the default face if SET-FONT argument is non-nil (Bug#9982).
1206
d6e6f4b1
SB
12072012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1208
1209 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1210
0f29fa41 12112012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1212
1213 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1214 breakpoints in files outside current directory (Bug#6098).
1215
db174434
CY
12162012-01-29 Chong Yidong <cyd@gnu.org>
1217
6b25e4e2
SE
1218 * progmodes/python.el: Require ansi-color at top-level.
1219
6df6ae42
JB
1220 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1221 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1222 (lisp-mode-abbrev-table): Add doc.
1223 (lisp-mode-variables): Don't set local-abbrev-table.
1224 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1225
e70ee681
RW
12262012-01-28 Roland Winkler <winkler@gnu.org>
1227
1228 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1229
ace88aa2
RW
12302012-01-28 Roland Winkler <winkler@gnu.org>
1231
1232 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1233 (bibtex-set-dialect): Use it. Either set global values of
1234 dialect-dependent variables or bind these variables buffer-locally
1235 (Bug#10254).
1236 (bibtex-mode): Call bibtex-set-dialect via
1237 hack-local-variables-hook.
eb864a71
LM
1238 (bibtex-dialect): Update docstring.
1239 Add safe-local-variable predicate.
ace88aa2
RW
1240 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1241 bibtex-set-dialect.
1242 (bibtex-mode-map): Define menu for each dialect.
1243 (bibtex-entry): Fix docstring.
1244
93376c5b
CY
12452012-01-28 Chong Yidong <cyd@gnu.org>
1246
1247 * eshell/esh-arg.el (eshell-quote-argument): New function.
1248
1249 * eshell/esh-ext.el (eshell-invoke-batch-file):
1250 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1251 first arg to eshell-parse-command (Bug#10523).
1252
4372494f
DA
12532012-01-28 Drew Adams <drew.adams@oracle.com>
1254
1255 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1256 `default-directory' is non-nil.
1257
4d4ec1f8
EZ
12582012-01-28 Eli Zaretskii <eliz@gnu.org>
1259
1260 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1261 line that displays system-configuration-options. (Bug#9924)
1262
7c188927
DA
12632012-01-28 Drew Adams <drew.adams@oracle.com>
1264
1265 * descr-text.el (describe-char): Show information about POS, in
1266 addition to information about the character at POS. Improve and
1267 update the doc string. Change "code point" to "code point in
1268 charset", to avoid confusion with the character's Unicode code
1269 point shown above that. (Bug#10129)
1270
e0da685a
EZ
12712012-01-28 Eli Zaretskii <eliz@gnu.org>
1272
1273 * descr-text.el (describe-char): Show the raw character, not only
1274 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1275 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1276 for the reasons.
1277
70550acf
PH
12782012-01-28 Phil Hagelberg <phil@hagelb.org>
1279
eb864a71
LM
1280 * emacs-lisp/package.el (package-install):
1281 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1282
0ce8e868
CY
12832012-01-28 Chong Yidong <cyd@gnu.org>
1284
cb882333
JB
1285 * emacs-lisp/package.el (package-maybe-load-descriptor):
1286 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1287 (package-maybe-load-descriptor): Use it.
1288 (package-download-transaction): Fully load required packages
1289 inside the loop, so that `require' calls work (Bug#10593).
1290 (package-install): No need to call package-initialize now.
1291
2e7f3bea
CY
12922012-01-28 Chong Yidong <cyd@gnu.org>
1293
6e9bad14
CY
1294 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1295
f823b8ca
CY
1296 * tooltip.el (tooltip-mode): Doc fix.
1297 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1298
2680c309
CY
1299 * frame.el (set-cursor-color): Doc fix (Bug#352).
1300
d7a9e63b
CY
1301 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1302 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1303
2e7f3bea
CY
1304 * cus-edit.el (custom-buffer-create-internal): Fix search button
1305 action (Bug#10542).
2ae01800 1306 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1307
fc4f7a23
EW
13082012-01-27 Eduard Wiebe <usenet@pusto.de>
1309
1310 * dired.el (dired-mark-files-regexp):
1311 Include any subdirectory components. (Bug#10445)
1312
7dd37071
ML
13132012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1314
1315 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1316 Handle [host]:port syntax. (Bug#10533)
1317
a268160b
AH
13182012-01-27 Alex Harsanyi <harsanyi@mac.com>
1319
1320 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1321
e43273ef
GM
13222012-01-26 Glenn Morris <rgm@gnu.org>
1323
1324 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1325 * term.el (term-raw-escape-map): Use Control-X-prefix.
1326 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1327
1edf595d
MR
13282012-01-25 Martin Rudalics <rudalics@gmx.at>
1329
1330 * window.el (window-state-get, window--state-get-1): Don't deal
1331 with fixed-sizeness of windows. Simplify code.
1332
fa8eafef
JC
13332012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1334
6df6ae42
JB
1335 * window.el (window--state-get-1, window--state-put-2):
1336 Don't save and restore the mark.
fa8eafef 1337
0b21c100
CY
13382012-01-25 Chong Yidong <cyd@gnu.org>
1339
1340 * custom.el (custom-variable-p): Doc fix.
1341
5ae1a6c8
GM
13422012-01-25 Glenn Morris <rgm@gnu.org>
1343
40047858
GM
1344 * dired.el (dired-goto-file): Handle some of the more common
1345 characters that `ls -b' escapes. (Bug#10596)
1346
5ddce96c
GM
1347 * progmodes/compile.el (compilation-next-error-function):
1348 Respect compilation-first-column in the "*compilation*" buffer.
1349 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1350
5ae1a6c8
GM
1351 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1352
b559f1a9
GM
13532012-01-24 Glenn Morris <rgm@gnu.org>
1354
1355 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1356
6725d21a
JD
13572012-01-24 Julien Danjou <julien@danjou.info>
1358
1359 * color.el (color-rgb-to-hsl): Fix value computing.
1360 (color-hue-to-rgb): New function.
1361 (color-hsl-to-rgb): New function.
1362 (color-clamp, color-saturate-hsl, color-saturate-name)
1363 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1364 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1365
70df4bbe
GM
13662012-01-24 Glenn Morris <rgm@gnu.org>
1367
1368 * vc/vc-rcs.el (vc-rcs-create-tag):
1369 * vc/vc-sccs.el (vc-sccs-create-tag):
1370 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1371
802a2ae2
ML
13722012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1373
1374 * eshell/esh-util.el (eshell-read-hosts-file):
1375 Skip comment lines. (Bug#10549)
1376
d7128bb1
ML
1377 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1378
d1a5c3b4
JB
13792012-01-23 Juanma Barranquero <lekktu@gmail.com>
1380
2724d9c7
JB
1381 * subr.el (display-delayed-warnings): Doc fix.
1382 (collapse-delayed-warnings): New function to collapse identical
1383 adjacent warnings.
1384 (delayed-warnings-hook): Add it.
d1a5c3b4 1385
a5509865
MA
13862012-01-22 Michael Albinus <michael.albinus@gmx.de>
1387
1388 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1389
1390 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1391 properties, when "login-as" is set.
1392
1393 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1394 (tramp-default-user-alist): Don't add "pscp".
1395 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1396 property "login-as", if set. (Bug#10530)
1397
cc6d5805
MA
13982012-01-21 Michael Albinus <michael.albinus@gmx.de>
1399
1400 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1401 "plink1" and "psftp". (Bug#10530)
1402
14032012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1404
1405 * international/mule-cmds.el (prefer-coding-system): Show a
1406 warning message if the default value of file-name-coding-system
1407 was not changed.
1408
f0960428
JC
14092012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1410
cb882333
JB
1411 * windmove.el (windmove-reference-loc):
1412 Fix windmove-reference-loc miscalculation.
f0960428 1413
dd6f2a63
JB
14142012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1415
1416 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1417 default unit.
1418
7b447e9b
GM
14192012-01-21 Glenn Morris <rgm@gnu.org>
1420
117a9ea1
GM
1421 * international/mule.el (auto-coding-alist): Add .tbz.
1422
7b447e9b
GM
1423 * files.el (local-enable-local-variables): Doc fix.
1424 (inhibit-local-variables-regexps): Rename from
1425 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1426 Doc fix. Add some extensions from auto-coding-alist.
1427 (inhibit-local-variables-suffixes):
1428 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1429 (inhibit-local-variables-p):
1430 New function, extracted from set-auto-mode-1.
1431 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1432 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1433 (hack-local-variables): Doc fix. Make the mode-only case
1434 respect enable-local-variables and friends.
1435 Respect inhibit-local-variables-regexps for file-locals, but
1436 not for directory-locals.
1437 (set-visited-file-name):
1438 Take account of inhibit-local-variables-regexps.
1439 Whether it applies may change as the file name is changed.
1440 * jka-cmpr-hook.el (jka-compr-install):
1441 * jka-compr.el (jka-compr-uninstall):
1442 Update for inhibit-first-line-modes-suffixes name change.
1443
dd6e3cdd
MR
14442012-01-20 Martin Rudalics <rudalics@gmx.at>
1445
1446 * help-macro.el (make-help-screen): Temporarily restore original
1447 binding for minor-mode-map-alist (Bug#10454).
1448
0d0deb38
JD
14492012-01-19 Julien Danjou <julien@danjou.info>
1450
1451 * color.el (color-name-to-rgb): Use the white color to find the max
1452 color component value and return correctly computed values.
1453 (color-name-to-rgb): Add missing float conversion for max value.
1454
34a02f46
MR
14552012-01-19 Martin Rudalics <rudalics@gmx.at>
1456
1457 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1458 special state value for window-persistent-parameters.
1459 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1460 (window--state-put-2): Reset all window parameters to nil before
1461 assigning values of persistent parameters.
1462
606c44c4
AM
14632012-01-18 Alan Mackenzie <acm@muc.de>
1464
1465 Eliminate sluggishness and hangs in fontification of "semicolon
1466 deserts".
1467
cb882333
JB
1468 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1469 Change value 10000 -> 3000.
606c44c4
AM
1470 (c-state-safe-place): Reformulate so it doesn't stack up an
1471 infinite number of wrong entries in c-state-nonlit-pos-cache.
1472 (c-determine-limit-get-base, c-determine-limit): New functions to
1473 determine backward search limits disregarding literals.
1474 (c-find-decl-spots): Amend commenting.
1475 (c-cheap-inside-bracelist-p): New function which detects "={".
1476
1477 * progmodes/cc-fonts.el
1478 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1479 backward search.
1480 (c-font-lock-declarations): Fix an occurrence of point being
1481 undefined. Check additionally for point being in a bracelist or
1482 near a macro invocation without a semicolon so as to avoid a
1483 fruitless time consuming search for a declarator. Give a more
1484 precise search limit for declarators using the new
1485 c-determine-limit.
1486
f3860cea
GM
14872012-01-18 Glenn Morris <rgm@gnu.org>
1488
1489 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1490 (set-auto-mode): Doc fixes.
1491
1db03b16
GM
14922012-01-17 Glenn Morris <rgm@gnu.org>
1493
0e6038be
GM
1494 * isearch.el (search-nonincremental-instead): Fix doc typo.
1495
1db03b16
GM
1496 * dired.el (dired-insert-directory): Handle newlines in directory name.
1497 (dired-build-subdir-alist): Unescape newlines in directory name.
1498
4cb0aa75
MA
14992012-01-17 Michael Albinus <michael.albinus@gmx.de>
1500
1501 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1502 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1503 (tramp-action-terminal): Use it. (Bug#10530)
1504
1d00653d
SM
15052012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1506
1507 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1508
6a6ee00d
MR
15092012-01-16 Martin Rudalics <rudalics@gmx.at>
1510
1511 * window.el (window-state-ignored-parameters): Remove variable.
1512 (window--state-get-1): Rename argument MARKERS to IGNORE.
1513 Handle persistent window parameters. Make copy of clone-of
1514 parameter only if requested. (Bug#10348)
1515 (window--state-put-2): Install a window parameter only if it has
1516 a non-nil value or an existing parameter shall be overwritten.
1517
97912def
MA
15182012-01-15 Michael Albinus <michael.albinus@gmx.de>
1519
1520 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1521
688070a5
EZ
15222012-01-14 Eli Zaretskii <eliz@gnu.org>
1523
1524 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1525 don't pass the (nil) value of `upnode' to string-match.
1526
301afadc
CY
15272012-01-14 Chong Yidong <cyd@gnu.org>
1528
1529 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1530 Fix values recognized by the cursorBlink resource.
301afadc 1531
9e5788aa
PE
15322012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1533
1534 * epg.el (epg--make-temp-file): Avoid permission race condition
1535 when running on old Emacs versions (bug#10403).
1536
3cdb7f5a
GM
15372012-01-14 Glenn Morris <rgm@gnu.org>
1538
1539 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1540
8c82b1b4
AM
15412012-01-13 Alan Mackenzie <acm@muc.de>
1542
1543 Fix filling for when filladapt mode is enabled.
1544
1545 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1546 c-mask-paragraph, pass in `fill-paragraph' rather than
1547 `fill-region-as-paragraph'. (This is a reversion of a previous
1548 change.)
eb864a71
LM
1549 * progmodes/cc-mode.el (c-basic-common-init):
1550 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1551
e517eda4
GM
15522012-01-13 Glenn Morris <rgm@gnu.org>
1553
1498536e
GM
1554 * dired.el (dired-switches-escape-p): New function.
1555 (dired-insert-directory): Use dired-switches-escape-p.
1556 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1557
e517eda4
GM
1558 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1559
328f984d
GM
15602012-01-12 Glenn Morris <rgm@gnu.org>
1561
1562 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1563 changes in adaptive-fill-regexp. (Bug#10276)
1564
2cc769a8
AM
15652012-01-11 Alan Mackenzie <acm@muc.de>
1566
1567 Fix Emacs bug #10463 - put `widen's around the critical spots.
1568
1d00653d 1569 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1570 widen around each invocation of c-state-pp-to-literal. Remove an
1571 unused let variable.
1572
e52c37fa
GM
15732012-01-11 Glenn Morris <rgm@gnu.org>
1574
1575 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1576 Doc fix.
e52c37fa 1577
96f8741e
CY
15782012-01-10 Chong Yidong <cyd@gnu.org>
1579
1d00653d
SM
1580 * net/network-stream.el (network-stream-open-starttls):
1581 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1582 response to the capability command.
1583
b09a806e
GM
15842012-01-10 Glenn Morris <rgm@gnu.org>
1585
1586 * mail/unrmail.el (unrmail): Tweak previous change.
1587
7655cb66
CY
15882012-01-09 Chong Yidong <cyd@gnu.org>
1589
1590 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1591
9d5a8f0b
AM
15922012-01-08 Alan Mackenzie <acm@muc.de>
1593
1594 Optimise font locking in long enum definitions.
1595
1596 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1597 arm to a cond form to handle enums.
1598 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1599 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1600
9a0115ab 16012012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1602
1603 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1604 (Bug#10401)
6bb72cbd 1605
f186bb95
LMI
16062012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1607
29232a68
LMI
1608 * faces.el (set-face-attribute): Clarify the meaning of the nil
1609 frame (bug#10294).
1610
4e5d086d
LMI
1611 * subr.el (with-selected-frame): Mention that the selected frame
1612 is restored (bug#9980).
1613
8e66aebe
LMI
1614 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1615 (bug#9759).
1616
cd394be1 1617 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1618 (password-read): Don't autoload unused function.
1619
adf4e762
JB
16202012-01-07 Juanma Barranquero <lekktu@gmail.com>
1621
1622 * progmodes/which-func.el (which-func-mode): Turn into a
1623 non-interactive function and mark as obsolete (bug#10428).
1624
89bd9ccd
CY
16252012-01-06 Chong Yidong <cyd@gnu.org>
1626
1627 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1628 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1629 functions, along with 1 and -1.
1630
4afee9d5
EZ
16312012-01-06 Eli Zaretskii <eliz@gnu.org>
1632
1633 * time.el (display-time-load-average)
1634 (display-time-default-load-average): Doc fixes. See the thread
1635 starting at
1636 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1637 for the details.
1638
536aea70
GM
16392012-01-06 Glenn Morris <rgm@gnu.org>
1640
665ae865
GM
1641 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1642 has no messages. (Bug#10377)
1643
c869783d
GM
1644 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1645 than Info-edit. (Bug#10385)
1646
2bb4227e
GM
1647 * time.el (display-time-load-average, display-time-next-load-average):
1648 Doc fixes.
1649
7d5944b9
GM
1650 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1651 local setting of buffer-read-only to the input buffer. (Bug#10419)
1652
536aea70
GM
1653 * calendar/calendar.el (calendar-mode):
1654 Locally set scroll-margin to 0. (Bug#10379)
1655
7dccca16
UM
16562012-01-06 Ulrich Mueller <ulm@gentoo.org>
1657
1658 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1659
afbb7930
GM
16602012-01-05 Glenn Morris <rgm@gnu.org>
1661
1662 * eshell/em-unix.el (diff-no-select): Autoload it.
1663 (eshell/diff): Use diff-no-select. (Bug#10420)
1664
04482335
CY
16652012-01-05 Chong Yidong <cyd@gnu.org>
1666
7baca3bc
CY
1667 * shell.el (shell-dynamic-complete-functions): Revert last change.
1668 (shell-command-completion-function): New function.
1669 (shell-completion-vars): Use it to implement
1670 shell-completion-execonly (Bug#10417).
1671
04482335
CY
1672 * custom.el (enable-theme): Don't set custom-safe-themes.
1673
1d00653d
SM
1674 * cus-theme.el (custom-theme-merge-theme):
1675 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1676
bb5aa5d6
MM
16772012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1678
1679 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1680 first prompt in `sql-interacive-mode'.
1681 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1682 keywords.
6df6ae42 1683 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1684 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1685 context of original buffer. Invoke `sql-login-hook'.
1686
a7183d7c
EZ
16872012-01-04 Eli Zaretskii <eliz@gnu.org>
1688
1689 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1690 letters in cite-prefix.
1691
a1eacd1e
LMI
16922012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1693
1694 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1695
787cdb34
CY
16962012-01-03 Chong Yidong <cyd@gnu.org>
1697
1d00653d
SM
1698 * shell.el (shell-dynamic-complete-functions):
1699 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1700 comint-filename-completion first (Bug#10417).
1701
30710442
RS
17022012-01-02 Richard Stallman <rms@gnu.org>
1703
1704 * battery.el (battery-status-function):
1705 Detect when to use battery-yeeloong-sysfs.
1706 (battery-echo-area-format): Add string for Yeeloong.
1707 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1708 (battery-yeeloong-sysfs): New function.
1709
f75bfc33
CY
17102012-01-02 Chong Yidong <cyd@gnu.org>
1711
1712 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1713 (dirtrack): Merge code for handling relative filenames in prompt
1714 from shell-dir-cookie-watcher.
1715 (dirtrack-debug-message): New arg to avoid excess format calls.
1716
1717 * shell.el (shell-dir-cookie-re): Variable deleted.
1718 (shell-dir-cookie-watcher): Function deleted.
1719 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1720 with dirtrack-mode.
1721
651e947e
EZ
17222012-01-01 Eli Zaretskii <eliz@gnu.org>
1723
1d00653d
SM
1724 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1725 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1726 libgnutls-26.dll.
1727
94d4c7dc
AS
17282011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1729
1730 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1731
8d43f3cd
EZ
17322011-12-31 Eli Zaretskii <eliz@gnu.org>
1733
1734 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1735 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1736
98c8795a
MA
17372011-12-29 Michael Albinus <michael.albinus@gmx.de>
1738
1739 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1740 also for alternative shells.
1741 (tramp-open-connection-setup-interactive-shell): Check, whether
1742 the shell is a busybox.
1743 (tramp-send-command): Don't suppress multiple prompts for
1744 busyboxes, it hurts.
1745
51281b32
CY
17462011-12-28 Chong Yidong <cyd@gnu.org>
1747
1748 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1749 (gdb-get-source-file): Move mode line update to
1750 gdb-get-source-file (Bug#10087).
1751
2170cb53
CY
17522011-12-25 Chong Yidong <cyd@gnu.org>
1753
1754 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1755 gud-gdb-marker-filter without taking it as an argument.
1756 (gud-gdb-run-command-fetch-lines): Caller changed.
1757 (gud-gdb-completion-function): New variable.
1758 (gud-gdb-completion-at-point): Use it.
1759 (gud-gdb-completions-1): Split from gud-gdb-completions.
1760
1761 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1762 function as separate arguments.
1763 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1764 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1765 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1766 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1767 (gdb-stopped, def-gdb-auto-update-trigger)
1768 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1769 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1770 Callers changed.
2170cb53
CY
1771 (gud-gdbmi-completions): New function.
1772 (gdb): Use it for generating the completion table.
1773
be8b11bb
AM
17742011-12-24 Alan Mackenzie <acm@muc.de>
1775
1776 Introduce a mechanism to widen the region used in context font
1d00653d 1777 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1778
1d00653d
SM
1779 * progmodes/cc-langs.el (c-before-font-lock-functions):
1780 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1781 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1782 functions to be run just before context (etc.) font locking.
1783
1784 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1785 New, functionality extracted from
be8b11bb 1786 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1787 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1788 (c-after-change): Set c-in-after-change-fontification.
1789 (c-set-fl-decl-start): Rejig its interface, so it can be called
1790 from both after-change and context fontifying.
b81d40f0
JB
1791 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1792 New functions.
1793 (c-standard-font-lock-fontify-region-function): New variable.
1794 (c-font-lock-fontify-region): New function.
be8b11bb 1795
341cf6ac
JL
17962011-12-24 Juri Linkov <juri@jurta.org>
1797
1798 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1799 (Bug#10348)
1800
bffcee0a
MA
18012011-12-23 Michael Albinus <michael.albinus@gmx.de>
1802
1803 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1804 existence of source file. (Bug#10325)
1805
cb5e207c
AM
18062011-12-23 Alan Mackenzie <acm@muc.de>
1807
1808 Fix unstable fontification inside templates.
1809
b81d40f0
JB
1810 * progmodes/cc-langs.el (c-before-font-lock-functions):
1811 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1812 additionally has c-set-fl-decl-start. The other languages (apart
1813 from AWK) have that as a single entry.
1814
b81d40f0
JB
1815 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1816 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1817 c-set-fl-decl-start.
1818
b81d40f0
JB
1819 * progmodes/cc-mode.el (c-common-init, c-after-change):
1820 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1821 (c-set-fl-decl-start): New function, extracted from
1822 c-font-lock-enclosing-decls and enhanced.
1823
60ff536c
JB
18242011-12-23 Juanma Barranquero <lekktu@gmail.com>
1825
1826 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1827
1c4757d6
JL
18282011-12-22 Juri Linkov <juri@jurta.org>
1829
1830 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1831
d031f2c7
CY
18322011-12-22 Chong Yidong <cyd@gnu.org>
1833
1834 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1835
bace743a
DA
18362011-12-21 Drew Adams <drew.adams@oracle.com>
1837
1838 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1839
728a1f2b
JC
18402011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1841
1842 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1843
0d373f73
TZ
18442011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1845
fec0aaa4
TZ
1846 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1847 highlighting and support. Fix up comments for capitalization.
1848 (cfengine-mode-debug): New var.
1849 (cfengine3-mode): Change the modeline indicator to "CFE3".
1850 (cfengine3-font-lock-keywords): Improve defun highlighting.
1851 (cfengine2-actions): Rename from `cfengine-actions'.
1852 (cfengine2-font-lock-keywords): Rename from
1853 `cfengine-font-lock-keywords'.
1854 (cfengine2-imenu-expression): Rename from
1855 `cfengine-imenu-expression'.
1856 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1857 (cfengine2-beginning-of-defun): Rename from
1858 `cfengine-beginning-of-defun'.
1859 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1860 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1861 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1862 modeline indicator to "CFE2".
1863 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1864 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 1865
bc86f573
CY
18662011-12-21 Chong Yidong <cyd@gnu.org>
1867
1868 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1869 filename argument.
1870
d45ba96b
MR
18712011-12-20 Martin Rudalics <rudalics@gmx.at>
1872
1873 * window.el (window-normalize-buffer-to-display): Remove.
1874 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1875
a6198c90
CY
18762011-12-19 Chong Yidong <cyd@gnu.org>
1877
1878 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1879 Don't signal an error in a predicate function; return non-nil.
1880 (vc-dir-mark-file): Move the error here.
1881 (vc-dir-mark-unmark): If acting on the region, keep going if one
1882 of the entries cannot be marked/unmarked.
1883 (vc-dir-mark-all-files): If current entry is a directory, mark
1884 only child files, as documented.
1885
34c5fb55
VB
18862011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
1887
1888 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1889 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1890 addition.
1891
c803b2b7
JD
18922011-12-18 Jan Djärv <jan.h.d@swipnet.se>
1893
1894 * term/ns-win.el (ns-get-selection-internal)
1895 (ns-store-selection-internal): Declare.
1154d12e
JB
1896 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1897 Declare as obsolete.
1898 (ns-get-pasteboard, ns-paste-secondary):
1899 Use ns-get-selection-internal.
1900 (ns-set-pasteboard, ns-copy-including-secondary):
1901 Use ns-store-selection-internal.
c803b2b7 1902
9cff91f8 19032011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
1904
1905 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 1906 (vc-deduce-fileset): Doc fix.
99a289d9 1907
f16c898a
AS
19082011-12-16 Andreas Schwab <schwab@linux-m68k.org>
1909
1910 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1911
763237c4
SS
19122011-12-13 Sam Steingold <sds@gnu.org>
1913
1914 * man.el (Man-getpage-in-background): When running under a
1915 window-system, ignore $MANWIDTH and $COLUMNS.
1916
5fc1c122
KH
19172011-12-15 Kenichi Handa <handa@m17n.org>
1918
1919 * language/ethio-util.el: Change coding tag to utf-8-emacs.
1920 (setup-ethiopic-environment-internal): Comment out key-binding for
1921 ethio-toggle-punctuation.
1922
13d49cbb
AM
19232011-12-13 Alan Mackenzie <acm@muc.de>
1924
898169a2
AM
1925 Add the switch statement to AWK Mode.
1926
7a71b18d 1927 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
1928 "default" to the keywords regexp.
1929
7a71b18d 1930 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 1931 expression as the rest.
1d00653d
SM
1932 (c-nonlabel-token-key): Allow string literals for AWK.
1933 Refactor for the other modes.
898169a2 1934
13d49cbb 1935 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 1936 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
1937 routines. Limit backward searching in c-font-lock-enclosing.decl.
1938
1939 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1940 pp-state and literal type in addition to the limits.
1d00653d 1941 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 1942 (c-state-literal-at): Use the above new defun.
1d00653d
SM
1943 (c-slow-in-literal, c-fast-in-literal): Remove.
1944 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
1945
1946 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
1947 being in a literal. Add a limit for backward searching.
1948
1949 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
1950 c-slow-in-literal.
1951
15e0efc7
SM
19522011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1953
1954 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
1955
454592a6
MR
19562011-12-13 Martin Rudalics <rudalics@gmx.at>
1957
1958 * window.el (delete-other-windows): Use correct frame in call to
1959 window-with-parameter.
1960
87393f26
DP
19612011-12-12 Daniel Pfeiffer <occitan@t-online.de>
1962
1963 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
1964 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
1965 (makefile-gmake-statements, makefile-makepp-statements):
1966 Use it and add new makepp keywords.
1967 (makefile-makepp-font-lock-keywords): Add new patterns.
1968 (makefile-match-function-end): Match new [...] and [[...]].
1969
11636b22
JB
19702011-12-11 Juanma Barranquero <lekktu@gmail.com>
1971
1972 * ses.el (ses-call-printer-return, ses-cell-property-get)
1973 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
1974 (ses-create-cell-variable, ses-reset-header-string)
1975 (ses-cell-set-formula, ses-repair-cell-reference-all)
1976 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
1977 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
1978 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
1979 (ses-aset-with-undo, ses-load, ses-truncate-cell)
1980 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
1981 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
1982 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
1983 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
1984 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
1985 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
1986 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
1987 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
1988
cf018193
VB
19892011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
1990
1991 * ses.el: The overall change is to add cell renaming, that is
1992 setting fancy names for cell symbols other than name matching
1993 "\\`[A-Z]+[0-9]+\\'" regexp .
1994 (ses-create-cell-variable): New defun.
1995 (ses-relocate-formula): Relocate formulas only for cells the
1996 symbols of which are not renamed, i.e. symbols whose names do not
1997 match regexp "\\`[A-Z]+[0-9]+\\'".
1998 (ses-relocate-all): Relocate values only for cells the symbols of
1999 which are not renamed.
2000 (ses-load): Create cells variables as the (ses-cell ...) are read,
2001 in order to check row col consistency with cell symbol name only
2002 for cells that are not renamed.
2003 (ses-replace-name-in-formula): New defun.
2004 (ses-rename-cell): New defun.
2005
ee957461
CY
20062011-12-11 Chong Yidong <cyd@gnu.org>
2007
2008 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2009 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2010
9a9e9ef0
MR
20112011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2012
2013 * window.el (other-window): Fix docstring.
2014
92a8eba5
EZ
20152011-12-10 Eli Zaretskii <eliz@gnu.org>
2016
2017 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2018 `from' or `to' address before taking its substring.
2019 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2020 encoded name is chopped in the middle of the encoded string, and
2021 thus displayed encoded.
2022
e152e577
JB
20232011-12-10 Juanma Barranquero <lekktu@gmail.com>
2024
2025 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2026
e5d84bfe
EZ
20272011-12-10 Eli Zaretskii <eliz@gnu.org>
2028
2029 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2030 to use texinfo-update-node and commands that call it if the
2031 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2032 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2033 (texinfo-all-menus-update, texinfo-master-menu)
2034 (texinfo-update-node, texinfo-every-node-update)
2035 (texinfo-multiple-files-update): Doc fix. Warn against updating
2036 all the @node lines.
2037 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2038 argument is numeric. Explain better in the doc string what the
2039 function really does.
2040 (texinfo-insert-master-menu-list): Improve the error message
2041 displayed if there's no menu in the Top node.
2042 (Bug#2975) See also this thread:
e5d84bfe
EZ
2043 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2044
1d84e9bb
MG
20452011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2046
2047 * speedbar.el (speedbar-supported-extension-expressions):
2048 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2049
382c953b
JB
20502011-12-09 Juanma Barranquero <lekktu@gmail.com>
2051
2052 * printing.el (pr-mode-alist):
2053 * simple.el (filter-buffer-substring-functions)
2054 (completion-list-insert-choice-function):
2055 * window.el (window-with-parameter, window-atom-root)
2056 (window-sides-slots, window-size-fixed, window-min-delta)
2057 (window-max-delta, window--resize-mini-window)
2058 (window--resize-child-windows-normal, window-tree)
2059 (delete-other-windows, quit-window, split-window)
2060 (display-buffer-record-window, special-display-buffer-names)
2061 (special-display-regexps, special-display-popup-frame)
2062 (same-window-p, split-window-sensibly)
2063 (display-buffer-overriding-action, display-buffer-alist)
2064 (display-buffer-base-action, display-buffer, switch-to-buffer)
2065 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2066 (fit-window-to-buffer, recenter-positions)
2067 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2068 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2069 and remove unneeded backslashes in docstrings.
2070
39c9faef
SM
20712011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2072
98449af8
SM
2073 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2074
39c9faef
SM
2075 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2076 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2077 end in ".mk".
2078 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2079 when reading the makefile (bug#10116).
2080
86ed9fdc
SM
20812011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2082
2083 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2084 (bug#10116).
2085
5580f89d
GM
20862011-12-06 Glenn Morris <rgm@gnu.org>
2087
2088 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2089
28d3917c
CY
20902011-12-06 Chong Yidong <cyd@gnu.org>
2091
2092 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2093
a98edce9
JB
20942011-12-06 Juanma Barranquero <lekktu@gmail.com>
2095
2096 * textmodes/table.el (table-shorten-cell): Fix typo.
2097
e65adfac
CG
20982011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2099
2100 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2101
71cc0b74
EZ
21022011-12-05 Eli Zaretskii <eliz@gnu.org>
2103
2104 * descr-text.el (describe-char): Fix display of strong
2105 right-to-left characters and directional embeddings and overrides.
2106
2107 * simple.el (what-cursor-position): Fix display of codepoints of
2108 strong right-to-left characters.
2109
315bc30d
CY
21102011-12-05 Chong Yidong <cyd@gnu.org>
2111
2112 * faces.el (read-color): Doc fix.
2113
58a70b94
GM
21142011-12-05 Glenn Morris <rgm@gnu.org>
2115
2116 * align.el (align--set-marker): Add doc-string.
2117 Don't try to move something that is not a marker. (Bug#10216)
2118
5158face
GM
21192011-12-04 Glenn Morris <rgm@gnu.org>
2120
2121 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2122 overly zealous deletion of trailing whitespace.
2123
520fca41
JB
21242011-12-04 Juanma Barranquero <lekktu@gmail.com>
2125
2126 * server.el (server-delete-client): On Windows, do not try to delete
2127 the only terminal.
2128 (server-process-filter): On Windows, treat requests for a tty frame as
2129 if they were for a GUI frame if the running server is in GUI mode.
2130
5e605a2e
GM
21312011-12-03 Glenn Morris <rgm@gnu.org>
2132
2133 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2134
5c3fe83f
SM
21352011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2136
6f5e57e7
SM
2137 * electric.el: Streamline electric-indent's hook.
2138 (electric-indent-chars): Revert to simple list.
2139 (electric-indent-functions): New var.
2140 (electric-indent-post-self-insert-function): Use it.
2141
5c3fe83f
SM
2142 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2143 there's no inferior buffer (bug#10196).
2144 (prolog-consult-compile): Don't use toggle-read-only.
2145
6bdac736
MA
21462011-12-02 Michael Albinus <michael.albinus@gmx.de>
2147
2148 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2149 interrupt. (Bug#10187)
2150
6131ba7f
SM
21512011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2152
99c79fee
SM
2153 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2154 (bug#9160).
2155
6131ba7f
SM
2156 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2157 (bug#10191).
2158
cb0a02ea
JL
21592011-12-02 Juri Linkov <juri@jurta.org>
2160
2161 * info.el (Info-search): Display "end of manual" when Isearch
2162 reaches the end of single-file Info manual. (Bug#9918)
2163
66e0570c
EZ
21642011-12-02 Eli Zaretskii <eliz@gnu.org>
2165
2166 * isearch.el (isearch-message-prefix): Run the input method part
2167 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2168
02b16839
JL
21692011-12-02 Juri Linkov <juri@jurta.org>
2170
2171 * isearch.el (isearch-occur): Use `word-search-regexp' for
2172 `isearch-word'.
2173 (isearch-search-and-update): Add condition for `isearch-word' and
2174 call `word-search-regexp'. (Bug#10145)
2175
0b950688
GM
21762011-12-01 Glenn Morris <rgm@gnu.org>
2177
2178 * eshell/em-hist.el (eshell-hist-initialize):
2179 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2180 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2181
9505c3c7
SM
21822011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2183
2184 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2185
1bbe96b2 21862011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2187
a1beca85
SM
2188 * progmodes/verilog-mode.el (verilog-pretty-expr):
2189 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2190 verilog, such as += *= and the like.
2191 (verilog-assignment-operator-re): Regular expression to find the
2192 assigment operator in a verilog assignment.
2193 (verilog-assignment-operation-re): Regular expression to find an
2194 assignment statement for pretty-expr.
2195 (verilog-in-attribute-p): Query returns true if point is in an
2196 attribute context; used to skip these for expression line up from
2197 pretty-expr.
2198 (verilog-in-parameter-p): Query returns true if point is in an
2199 parameter definition context; used to skip these for expression
2200 line up from pretty-expr.
2201 (verilog-in-parenthesis-p): Query returns true if point is in a
2202 parenthetical expression, specifically ( ) but not [ ] or { };
2203 used by pretty-expr.
2204 (verilog-just-one-space): If there is no space, don't add one.
2205 (verilog-get-lineup-indent-2): Specifically skip just attribute
2206 contexts for expression lineup, rather than skipping all
2207 parenthetical expressions.
2208 (verilog-calculate-indent): Fix comment, and fix indent.
2209 (verilog-do-indent): Indent declarations in lists (suggested by
2210 Joachim Lechner).
2211 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2212 skeleton items.
2213 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2214 by Alain Mellan).
2215
1bbe96b2 22162011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2217
2218 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2219 parameters with embedded comments. Reported by Ray Stevens.
2220 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2221 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2222 Reported by Tim Holt.
2223 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2224 instantiated by upper module causing wrong expansion until AUTOed a
2225 second time. Reported by K C Buckenmaier.
2226 (verilog-diff-auto): Fix showing .* as a difference when
2227 `verilog-auto-star-save' off. Reported by Dan Dever.
2228 (verilog-auto-reset, verilog-read-always-signals)
2229 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2230 temporary signals in reset list if
2231 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2232 style to each signal's assignment type, bug381.
2233 Reported by Thomas Esposito.
6288f0ca
WS
2234 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2235 (verilog-uvm-statement-re): Support UVM indentation and
2236 highlighting, with old OVM keywords only.
a1beca85 2237 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2238 Support AUTOTIEOFF creating non-wire data types.
2239 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2240 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2241 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2242 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2243 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2244 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2245 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2246 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2247 non-numeric vector width. Reported by Alex Reed.
2248 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2249 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2250 (verilog-auto-delete-trailing-whitespace):
2251 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2252 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2253 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2254 Fix verilog-scan-cache corruption when running user AUTO expansion
2255 hooks that call indentation routines.
2256 (verilog-simplify-range-expression): Fix typo ignoring lower case
2257 identifiers.
2258 (verilog-delete-auto): Fix delete-autos to also remove user created
2259 automatics, as long as they start with AUTO.
2260 (verilog-batch-diff-auto, verilog-diff-auto)
2261 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2262 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2263 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2264 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2265 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2266 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2267 is disabled and its cache will get corrupt, causing AUTOS not to
2268 expand. Instead use only -quick functions.
2269 (verilog-scan-region): Fix scanning over escaped quotes.
2270 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2271 (verilog-re-search-backward-quick)
2272 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2273 related functions now ignore strings, to fix misparsing of strings
2274 with magic comments embedded in them.
a1beca85
SM
2275 (verilog-read-auto-template):
2276 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2277 Reported by Brad Dobbie.
2278 (verilog-read-auto-template):
2279 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2280 Reported by Brad Dobbie.
6288f0ca
WS
2281 (verilog-auto-inst, verilog-auto-inst-param)
2282 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2283 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2284 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2285 debugging templates without merge conflicts, bug357.
2286 Reported by Brad Dobbie.
2287 (verilog-read-auto-template):
2288 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2289 Reported by Brad Dobbie.
2290 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2291 abbrevs so user won't be asked to save.
2292 (verilog-read-auto-lisp-present): Fix to start at beginning of
2293 buffer in case called outside of verilog-auto.
2294 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2295 to "X-2". Reported by Matthew Myers.
2296 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2297 all inputs from module templates. Reported by Leith Johnson.
2298 (verilog-module-inside-filename-p): Fix locating programs as with
2299 modules.
2300 (verilog-auto-inst-port): Fix vl-width expressions when using
2301 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2302 (verilog-decls-get-regs, verilog-decls-get-signals,
2303 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2304 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2305 verilog-read-decls): Combine reg and wire structures into one var
2306 structure to represent SystemVerilog concepts.
2307 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2308 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2309 (verilog-auto-wire-type, verilog-insert-definition):
2310 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2311 SystemVerilog "logic" keyword instead of "wire"/"reg".
2312 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2313 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2314 ifdef or generate if so there's not a driver conflict).
2315 Reported by Matthew Myers.
2316 (verilog-auto-declare-nettype, verilog-insert-definition):
2317 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2318 `default_nettype none. Reported by Julian Gorfajn.
2319 (verilog-read-always-signals-recurse, verilog-read-decls)
2320 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2321 malformed end statement, bug325. Reported by Joshua Wise and
2322 Andrew Drake.
2323 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2324 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2325 when expanding .* in interfaces, bug320.
2326 Reported by Pierre-David Pfister.
6288f0ca 2327 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2328 name and open parenthesis, bug317.
2329 Reported by Pierre-David Pfister.
6288f0ca
WS
2330 (verilog-simplify-range-expression): Fix simplification of
2331 multiplications inside AUTOWIRE connections, bug303.
2332 (verilog-auto-inst-port): Support parameter expansion in
2333 multidimensional arrays.
2334 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2335 after "assert property". Reported by Julian Gorfajn.
2336 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2337 with multiplication, bug303.
2338 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2339 Reported by Jan Frode Lonnum.
2340
1bbe96b2
GM
23412011-11-30 Juanma Barranquero <lekktu@gmail.com>
2342
2343 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2344 (hfy-shell-file-name, hfy-shell):
2345 * international/fontset.el (x-decompose-font-name): Fix typos.
2346
23472011-11-29 Ken Brown <kbrown@cornell.edu>
2348
2349 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2350 (gdb-version): Remove defvar.
2351 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2352 (gdb-gud-context-command, gdb-non-stop-handler)
2353 (gdb-current-context-command, gdb-stopped): Use it.
2354 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2355 (gdb-non-stop-handler): Don't enable pretty-printing here.
2356 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2357 non-stop mode. Use the following.
2358 (gdb-check-target-async): New defun.
2359 (gud-watch, gdb-stopped): Fix whitespace.
2360 (gdb-get-source-file): Don't try to display the source file if
2361 `gdb-main-file' is nil.
2362
23632011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2364
2365 * align.el: Try to generate fewer markers (bug#10047).
2366 (align--set-marker): New macro.
2367 (align-region): Use it.
2368
c935221f
SM
23692011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2372
e70b5064
CY
23732011-11-29 Chong Yidong <cyd@gnu.org>
2374
2375 * indent.el (indent-for-tab-command, indent-according-to-mode):
2376 Doc fix.
2377 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2378
f3af92b7
MA
23792011-11-29 Michael Albinus <michael.albinus@gmx.de>
2380
2381 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2382 aware of remote file names. (Bug#10124)
2383
ed472be9
CY
23842011-11-29 Chong Yidong <cyd@gnu.org>
2385
2386 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2387
24510c22
SM
23882011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2389
2390 * files.el (find-file): Don't use force-same-window (bug#10144).
2391 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2392 use pop-to-buffer if the selected window can't be used.
2393 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2394
c60c3703
EZ
23952011-11-28 Eli Zaretskii <eliz@gnu.org>
2396
2397 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2398 special-mode-map.
2399
e95def75
CY
24002011-11-28 Chong Yidong <cyd@gnu.org>
2401
2402 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2403
c3f1c606
NR
24042011-11-27 Nick Roberts <nickrob@snap.net.nz>
2405
2406 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2407 gdb-get-source-file-list on gdb-create-source-file-list.
2408
00db469c
EZ
24092011-11-26 Eli Zaretskii <eliz@gnu.org>
2410
2411 * whitespace.el (whitespace-newline): Use a different foreground
2412 color for 16-color light-background displays.
2413
4ad3bc2a
CY
24142011-11-24 Chong Yidong <cyd@gnu.org>
2415
2416 * window.el (display-buffer--special-action): Doc fix.
2417
e9fce1ac
JB
24182011-11-25 Juanma Barranquero <lekktu@gmail.com>
2419
2420 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2421 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2422 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2423 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2424 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2425 (avl-tree-stack-first):
2426 * emacs-lisp/cconv.el (cconv--analyse-use):
2427 * net/gnutls.el (gnutls-negotiate): Fix typos.
2428
cb825e5d
GM
24292011-11-24 Glenn Morris <rgm@gnu.org>
2430
3adbe224
GM
2431 * lpr.el (lpr-windows-system, lpr-lp-system):
2432 * mail/binhex.el (binhex-begin-line):
2433 * progmodes/grep.el (grep-history, grep-find-history):
2434 * textmodes/flyspell.el:
2435 * vc/pcvs-defs.el (cvs-global-menu):
2436 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2437 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2438 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2439
321decc8
GM
2440 * net/tls.el: Fix case of "GnuTLS".
2441
420b63ad
GM
2442 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2443
cb825e5d
GM
2444 * version.el (emacs-build-system): Give it a doc-string.
2445
a0649f08
JL
24462011-11-24 Juri Linkov <juri@jurta.org>
2447
2448 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2449
c0bc0fd4
GM
24502011-11-24 Glenn Morris <rgm@gnu.org>
2451
2452 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2453 if called on a non-mime message just toggle the headers. (Bug#8006)
2454
20db1522
JB
24552011-11-24 Juanma Barranquero <lekktu@gmail.com>
2456
2457 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2458 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2459 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2460 (allout-rebullet-heading, allout-open-sibtopic)
2461 (allout-toggle-current-subtree-encryption)
2462 (allout-toggle-subtree-encryption, allout-encrypt-string)
2463 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2464 (allout-distinctive-bullets-string, allout-auto-activation):
2465 * window.el (window-normalize-buffer-to-display):
2466 * progmodes/verilog-mode.el (verilog-batch-indent):
2467 * textmodes/bibtex.el (bibtex-field-braces-opt)
2468 (bibtex-field-strings-opt):
2469 * vc/cvs-status.el (cvs-tree-merge):
2470 Fix typos.
2471
7262a87c
MA
24722011-11-23 Michael Albinus <michael.albinus@gmx.de>
2473
2474 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2475 `non-essential' to t, in order to avoid remote connections.
2476
283430a1
EZ
24772011-11-23 Eli Zaretskii <eliz@gnu.org>
2478
a1beca85
SM
2479 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2480 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2481 case-insensitively.
2482
d2992a38
ML
24832011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2484
2485 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2486
50419064
GM
24872011-11-23 Glenn Morris <rgm@gnu.org>
2488
da94eca1
GM
2489 * paths.el (rmail-file-name): Reformat the doc-string so that it
2490 is picked up.
2491
9aac4de2
GM
2492 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2493 (rmail-auto-file): Ignore case in the "special" field names,
2494 as mail-fetch-field does for all others.
2495
8038d2d2
GM
2496 * mail/rmail.el (rmail-forward):
2497 * mail/rmailkwd.el (rmail-set-label):
2498 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2499 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2500
f3fe222a
GM
2501 * mail/rmail.el (rmail-current-message): Doc fix.
2502
50419064
GM
2503 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2504
28109f49
SM
25052011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2506
2507 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2508
394c65f1
GM
25092011-11-22 Glenn Morris <rgm@gnu.org>
2510
2511 * mail/rmailmm.el (test-rmail-mime-handler)
2512 (test-rmail-mime-bulk-handler)
2513 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2514
f2a0aa3a
JL
25152011-11-21 Juri Linkov <juri@jurta.org>
2516
1154d12e
JB
2517 * calc/calc.el (calc-read-key-sequence):
2518 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2519
9c34a344
LMI
25202011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2521
2522 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2523 Tell the caller that the next line needs recomputation, even
2524 though it doesn't start a sexp (bug#10094).
2525
f04a3be9
SM
25262011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2529
7978747f
SM
25302011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2531
f04a3be9
SM
2532 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2533 Use force-same-window.
7978747f 2534
fe7a3057
JB
25352011-11-20 Juanma Barranquero <lekktu@gmail.com>
2536
2537 * descr-text.el (describe-char-unicode-data):
2538 * json.el (json-string-escape):
2539 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2540 (Footnote-unicode, Footnote-style-p):
2541 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2542
24901d61
CY
25432011-11-20 Chong Yidong <cyd@gnu.org>
2544
2545 * window.el (replace-buffer-in-windows): Restore interactive spec.
2546
bac7ff22
SM
25472011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2548
24f3d7b9
SM
2549 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2550
bac7ff22
SM
2551 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2552 (byte-compile-global-not-obsolete-vars): New var.
2553 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2554 Use it.
2555 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2556
cd1181db
JB
25572011-11-20 Juanma Barranquero <lekktu@gmail.com>
2558
2559 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2560 * progmodes/pascal.el (electric-pascal-equal):
2561 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2562 * xml.el (xml-substitute-special): Fix typos.
2563
7fb18e9e
GM
25642011-11-20 Glenn Morris <rgm@gnu.org>
2565
2566 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2567 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2568 Doc fixes.
2569 (rmail-decode-mime-charset): Mark as obsolete.
2570
2571 * mail/rmailsum.el (rmail-message-regexp-p-1):
2572 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2573 Before using mime functions, check they are set. (Bug#10077)
2574
d5a6b3ba
JL
25752011-11-19 Juri Linkov <juri@jurta.org>
2576
2577 * info.el (Info-finder-find-node): Use `package--builtins' instead
2578 of `package-alist'. Use node names formed by the pattern "Keyword "
2579 and the keyword name.
2580
e981b61f
AS
25812011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2582
1d00653d 2583 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2584
3ffbc301
JL
25852011-11-19 Juri Linkov <juri@jurta.org>
2586
2587 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2588 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2589 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2590 `old-history', `old-history-forward'. Add let-binding
2591 `window-selected'. Remove calls to `kill-buffer',
2592 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2593 before calling `Info-find-node', so `Info-find-node-2' will reread
2594 the Info file. Restore window positions only when `window-selected'
2595 is non-nil.
2596
30c62133
JL
25972011-11-19 Juri Linkov <juri@jurta.org>
2598
2599 * isearch.el (isearch-lazy-highlight-new-loop):
2600 Remove condition `(not isearch-error)'. (Bug#9918)
2601
2602 * misearch.el (multi-isearch-search-fun): Add condition
2603 `(not bound)' to ignore lazy-highlighting search.
2604 Add the search-failed message "end of multi" when the end of
2605 multi-sequence is reached. Uncapitalize the search-failed
2606 message "Repeat for next buffer".
2607
2608 * info.el (Info-search): Add the search-failed message
2609 "end of the manual" when the end of the manual is reached
2610 in Isearch mode.
2611
645ca9cf
JL
26122011-11-19 Juri Linkov <juri@jurta.org>
2613
2614 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2615 Use non-destructive `remove' instead of `delete' because
2616 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2617 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2618
df754f66
JL
26192011-11-19 Juri Linkov <juri@jurta.org>
2620
2621 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2622 to nil instead of binding `search-ring' and `regexp-search-ring'.
2623 (Bug#9185)
2624
0e23d96a
EZ
26252011-11-19 Eli Zaretskii <eliz@gnu.org>
2626
2627 * simple.el (line-move): Force movement by logical lines for any
2628 hscrolled window, not only when auto-hscroll-mode is on.
2629 (line-move-visual): Update doc string to that effect. (Bug#10076)
2630
8a6ccb66
AS
26312011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2632
2633 * language/european.el (macintosh): Define as alias for mac-roman.
2634
49ae5b39
EZ
26352011-11-19 Eli Zaretskii <eliz@gnu.org>
2636
2637 * mail/rmailmm.el (rmail-mime-display-header)
2638 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2639 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2640 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2641 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2642 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2643 of a raw aref.
2644 (rmail-mime-entity-segment): To get past the tagline, move forward
2645 2 more lines, to account for the 2 empty lines that precede and
2646 follow the line with the buttons.
2647 (rmail-mime-update-tagline): Move one more line, to get past the
2648 empty line that follows the buttons in the tagline. (Bug#9520)
2649
c56cad4a
MR
26502011-11-19 Martin Rudalics <rudalics@gmx.at>
2651
2652 * window.el (window-max-delta-1, window-min-delta-1)
2653 (window-min-size-1, window-state-get-1, window-state-put-1)
2654 (window-state-put-2): Use "window--" prefix.
2655
cbe71af3
SM
26562011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2657
2ad52c60
SM
2658 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2659 (smie-warning-count): New var.
2660 (smie-set-prec2tab): Use it.
2661 (smie-bnf->prec2): Improve warnings. Add docstring.
2662 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2663 (smie-bnf--set-class): New function.
2664 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2665 corner case.
2666
6944dbc1
SM
2667 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2668 (compilation-error-properties, compilation-move-to-column):
2669 Handle compilation-first-column while in the target buffer.
2670
c400c4d7
SM
2671 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2672 Don't hardcode point-min==1.
2673
6dbe3e96
SM
2674 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2675 (eshell-rewrite-for-command): Remove workaround.
2676 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2677 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2678 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2679
cbe71af3
SM
2680 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2681
a8e1496d
GM
26822011-11-17 Glenn Morris <rgm@gnu.org>
2683
2684 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2685 Ignore buffer-local generated-autoload-file if it is the same
2686 as the global value. (Bug#10049)
2687
df85d315
JB
26882011-11-17 Juanma Barranquero <lekktu@gmail.com>
2689
2690 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2691 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2692 (reftex-toc-previous-heading, reftex-toc-max-level)
2693 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2694 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2695 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2696 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2697 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2698 (reftex-toc-rename-label, reftex-toc-visit-location)
2699 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2700 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2701 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2702 leaving "*toc*" only for references to the buffer.
2703
a0c2d0ae
MR
27042011-11-17 Martin Rudalics <rudalics@gmx.at>
2705
2706 * window.el (window-resize, delete-window, split-window):
2707 Replace window-splits by window-combination-resize.
1d00653d 2708 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2709
35c0bac8
GM
27102011-11-17 Glenn Morris <rgm@gnu.org>
2711
2712 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2713 Make bash entry derive from sh entry, not shell entry.
2714
d0c8fc8a
MA
27152011-11-16 Michael Albinus <michael.albinus@gmx.de>
2716
d0c8fc8a
MA
2717 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2718 properties of linked files. (Bug#9879)
2719
7262a87c
MA
2720 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2721 local file name.
2722
7877f373
JB
27232011-11-16 Juanma Barranquero <lekktu@gmail.com>
2724
2725 * menu-bar.el (menu-bar-file-menu):
2726 * printing.el (pr-ps-utility):
2727 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2728 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2729 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2730 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2731 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2732 (icalendar--convert-cyclic-to-ical)
2733 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2734 (icalendar--convert-ical-to-diary)
2735 (icalendar--convert-recurring-to-diary)
2736 (icalendar--convert-non-recurring-all-day-to-diary)
2737 (icalendar-import-format-sample):
2738 * progmodes/idlw-shell.el (idlwave-shell-mode):
2739 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2740 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2741 (vhdl-ps-print-init): Fix typos.
2742
10649b82
KM
27432011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2744
9d0cfcd6
GM
2745 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2746 FSF and collapse date sequence, obscure author/maintainer email address
2747 better, remove extra version line, track relocation of author's webpage.
10649b82 2748
9d0cfcd6
GM
2749 * progmodes/python.el (python-pdbtrack-input-prompt)
2750 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2751 regular python pdb prompts. Adjustments shamelessly taken exactly as
2752 suggested in EmacsWiki page (tiny change):
2753 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2754
58179cce
JB
27552011-11-16 Juanma Barranquero <lekktu@gmail.com>
2756
2757 * expand.el (expand-pos, expand-index, expand-point):
2758 Remove redundant info from docstring.
2759 (expand-add-abbrevs): Doc fix.
2760 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2761 (expand-sample-perl-mode-expand-list): Fix typos.
2762
2763 * net/dbus.el (dbus-event-member-name):
2764 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2765 * term/pc-win.el (msdos-create-frame-with-faces):
2766 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2767
b6f67890
MR
27682011-11-16 Martin Rudalics <rudalics@gmx.at>
2769
2770 * window.el (split-window, window-state-get-1)
2771 (window-state-put-1, window-state-put-2): Rename occurrences of
2772 window-nest to window-combination-limit.
1d00653d 2773 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2774
ce7ddba0
CY
27752011-11-16 Chong Yidong <cyd@gnu.org>
2776
2777 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2778 regexp (Bug#10033).
2779
3ae704f4
SM
27802011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2781
2782 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2783 `completing-read' will remove *Completions* and will preserve
2784 current-buffer for us.
2785 (tmm-add-prompt): Users of *Completions* will always (re)set its
2786 major mode.
2787 (tmm-old-comp-map): Remove.
2788
6ad1cdde
GM
27892011-11-16 Glenn Morris <rgm@gnu.org>
2790
2791 * mail/rmailedit.el: Require rmailmm when compiling.
2792 (rmail-old-mime-state): New declaration.
2793 (rmail-edit-current-message): If editing a mime message,
2794 edit the "raw" message from the mbox buffer.
2795 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2796
d20faa20
GM
27972011-11-15 Glenn Morris <rgm@gnu.org>
2798
2799 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2800 which wasn't being used. Add optional arg to force given state.
2801 (rmail-mime): Add optional arg to force given state.
2802
c7015153
JB
28032011-11-15 Juanma Barranquero <lekktu@gmail.com>
2804
2805 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2806 * frame.el (display-mm-dimensions-alist):
2807 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2808 (outline-move-subtree-down):
2809 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2810 (newsticker--treeview-do-get-node):
2811 * net/quickurl.el (quickurl-list-buffer-name):
2812 * progmodes/dcl-mode.el (dcl-mode):
2813 * progmodes/gdb-mi.el (gdb-mapcar*):
2814 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2815
45261b50
GM
28162011-11-15 Glenn Morris <rgm@gnu.org>
2817
2818 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2819 in a boolean sense, so just make it a boolean, and fix the doc.
2820 (rmail-show-mime-function, rmail-mime-feature)
2821 (rmail-require-mime-maybe): Doc fixes.
2822 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2823
2824 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2825
0d26e0b6
JB
28262011-11-15 Juanma Barranquero <lekktu@gmail.com>
2827
2828 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2829 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2830 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2831 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2832
447f30f6
GM
28332011-11-15 Glenn Morris <rgm@gnu.org>
2834
672b871d
GM
2835 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2836 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2837 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2838 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2839 (rmail-mime, rmail-show-mime): Doc fixes.
2840
f6aa5bb1
GM
2841 * term/ns-win.el (mode-line-frame-identification):
2842 Leave it alone. (Bug#10051)
2843
947cd66b
GM
2844 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2845
447f30f6
GM
2846 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2847 Handle empty buffers. (Bug#9978)
2848
0b381c7e
JB
28492011-11-14 Juanma Barranquero <lekktu@gmail.com>
2850
2851 * international/mule.el (define-charset):
2852 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2853 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2854 * progmodes/verilog-mode.el (verilog-backward-token):
2855 * textmodes/ispell.el (lookup-words):
2856 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2857
71e027ac
GM
28582011-11-14 Glenn Morris <rgm@gnu.org>
2859
56632ce4
GM
2860 * progmodes/executable.el
2861 (executable-make-buffer-file-executable-if-script-p):
2862 Handle file-modes returning nil.
2863
40500957
GM
2864 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2865 message - not necessary, and causes problems. (Bug#9831)
2866
071c2340
GM
2867 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2868
d3cfca60
GM
2869 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2870
71e027ac
GM
2871 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2872 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
2873 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2874
89d61221
MR
28752011-11-12 Martin Rudalics <rudalics@gmx.at>
2876
2877 * window.el (window-resize, delete-window): Use window-splits
2878 variable instead of function.
2879 (window-state-get-1, window-state-put-2, window-state-put):
2880 Don't deal with windows' splits status.
2881
98282f6f
GM
28822011-11-12 Glenn Morris <rgm@gnu.org>
2883
2884 * apropos.el (apropos-do-all, apropos-library, apropos-value)
2885 (apropos-documentation): Doc fixes.
2886
40a8bdf6
JB
28872011-11-11 Juanma Barranquero <lekktu@gmail.com>
2888
2889 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2890 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2891
65bd19ff
SM
28922011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2893
2894 * electric.el (electric-indent-post-self-insert-function): Make it
2895 possible for a char to only indent in some circumstances.
2896 (electric-indent-mode): Simplify.
2897
54f9154c
MR
28982011-11-11 Martin Rudalics <rudalics@gmx.at>
2899
2900 * window.el (windows-with-parameter): Remove unused function.
2901 (windows-at-side): Rename to window-at-side-list.
2902 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
2903 (window-side-check, window-size-ignore, window-size-fixed-1)
2904 (window-in-direction-2): Prefix with "window--".
2905 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 2906
68cbc58b
GM
29072011-11-11 Glenn Morris <rgm@gnu.org>
2908
2909 * subr.el (eval-after-load): If FILE is already loaded,
2910 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
2911
b2621720
GM
29122011-11-10 Glenn Morris <rgm@gnu.org>
2913
9a4de110
GM
2914 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2915 Call svn via vc-svn-command rather than vc-do-command.
2916 (vc-svn-command): Add --non-interactive. (Bug#9993)
2917 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2918
b2621720
GM
2919 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2920 Add toggle-read-only. (Bug#7292)
2921 * files.el (toggle-read-only): Mention that it should only
2922 be used interactively. (Bug#10006)
2923
1dce7193
SM
29242011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2925
d9ac1a1e
SM
2926 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2927 Adjust regexp for OCaml warnings.
2928
0c325082
SM
2929 * electric.el (electric-pair-post-self-insert-function): Let user
2930 turn it off buffer-locally (bug#9932).
2931
90132c14
SM
2932 * progmodes/python.el (python-beginning-of-statement):
2933 Rewrite (bug#2703).
2934
1dce7193
SM
2935 * progmodes/compile.el: Better handle TABs (bug#9749).
2936 (compilation-internal-error-properties)
2937 (compilation-next-error-function): Obey the target buffer's
2938 compilation-error-screen-columns.
2939
c4e7c63a
JB
29402011-11-09 Juanma Barranquero <lekktu@gmail.com>
2941
2942 * progmodes/meta-mode.el: Remove obsolete comments.
2943 (meta-right-comment-regexp, meta-ignore-comment-regexp):
2944 Fix typos in docstrings.
2945
2cffd681
MR
29462011-11-09 Martin Rudalics <rudalics@gmx.at>
2947
2948 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 2949 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
2950 (window--resizable): New function. Make all callers of
2951 window-resizable call window--resizable instead.
2952 (window-resizable): Rewrite in terms of window--resizable.
2953
0edcba87
GM
29542011-11-08 Glenn Morris <rgm@gnu.org>
2955
2956 * progmodes/delphi.el (delphi-mode-syntax-table):
2957 Let define-derived-mode define a proper syntax table. (Bug#9994)
2958
4b0d61e3
SM
29592011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2960
2961 * window.el: Stay away from defsubst.
2962 (window-list-no-nils): Remove.
2963 (window-state-get-1, window-state-get): Use backquote instead.
2964
cd394be1 29652011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 2966
4b0d61e3 2967 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 2968 Fix incorrect use of default argument in `completing-read'.
2969
e1c2c6f2
MR
29702011-11-08 Martin Rudalics <rudalics@gmx.at>
2971
2972 * window.el (display-buffer-function, special-display-function):
2973 Mention display-buffer-record-window but do not mention
2974 help-setup parameter in doc-strings.
b3f4a882 2975 (window-min-delta): Fix doc-string typo.
e1c2c6f2 2976
105216ed
CY
29772011-11-08 Chong Yidong <cyd@gnu.org>
2978
2979 * window.el (window-total-height, window-total-width): Doc fix.
2980 (window-body-size): Move from C.
2981 (window-body-height, window-body-width): Move to C.
2982
0a9f9ab5
SM
29832011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2984
2985 * window.el: Make special-display like display-buffer-alist (bug#9532).
2986 (display-buffer--special-action): New function, morphed
2987 from display-buffer--special.
2988 (display-buffer): Use it to handle special-display-buffers at higher
2989 priority (just after display-buffer-alist).
2990 (display-buffer-fallback-action, display-buffer--other-frame-action)
2991 (pop-to-buffer-same-window): Remove display-buffer--special.
2992
a769dd15
GM
29932011-11-07 Glenn Morris <rgm@gnu.org>
2994
2995 * calendar/cal-menu.el (cal-menu-set-date-title):
2996 Do nothing if not in a calendar. (Bug#9976)
2997
05a61ee3
SM
29982011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2999
3000 * files.el (find-file): Always use selected-window.
3001
be7f5545
MR
30022011-11-07 Martin Rudalics <rudalics@gmx.at>
3003
3004 * window.el (window-combinations): Make WINDOW argument
3005 mandatory. Rewrite doc-string.
3006 (walk-window-subtree, window-atom-check, window-min-delta)
3007 (window-max-delta, window--resize-this-window)
3008 (window--resize-root-window-vertically, window-tree)
3009 (balance-windows, window-state-put): Rewrite doc-strings as to
3010 not mention the term "subwindow".
3011 (window--resize-subwindows-skip-p): Rename to
3012 window--resize-child-windows-skip-p.
3013 (window--resize-subwindows-normal): Rename to
3014 window--resize-child-windows-normal.
3015 (window--resize-subwindows): Rename to
3016 window--resize-child-windows.
3017 (window-or-subwindow-p): Rename to window--in-subtree-p.
3018
3c6702ef
ML
30192011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3020
3021 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3022 Ensure that mbox format messages end in two newlines (Bug#9974).
3023
49745b39
CY
30242011-11-06 Chong Yidong <cyd@gnu.org>
3025
3026 * window.el (window-combination-p): Function deleted; its
3027 side-effect is not used in any existing code.
3028 (window-combinations, window-combined-p): Call window-*-child
3029 directly.
3030
24300f5f
CY
30312011-11-05 Chong Yidong <cyd@gnu.org>
3032
3033 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3034 (window-size-ignore, window-state-get): Callers changed.
3035 (window-normalize-window): Rename from window-normalize-any-window.
3036 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3037 (window-normalize-live-window): Delete.
447f16b8
CY
3038 (window-combination-p, window-combined-p, window-combinations)
3039 (walk-window-subtree, window-atom-root, window-min-size)
3040 (window-sizable, window-sizable-p, window-size-fixed-p)
3041 (window-min-delta, window-max-delta, window-resizable)
3042 (window-resizable-p, window-full-height-p, window-full-width-p)
3043 (window-current-scroll-bars, window-point-1, set-window-point-1)
3044 (window-at-side-p, window-in-direction, window-resize)
3045 (adjust-window-trailing-edge, maximize-window, minimize-window)
3046 (window-deletable-p, delete-window, delete-other-windows)
3047 (record-window-buffer, unrecord-window-buffer)
3048 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3049 (quit-window, split-window, window-state-put)
3050 (set-window-text-height, fit-window-to-buffer)
3051 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3052
89bd5ee1
EZ
30532011-11-04 Eli Zaretskii <eliz@gnu.org>
3054
53479029
EZ
3055 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3056 rfc2047-decode-string.
3057 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3058 warnings.
3059
89bd5ee1
EZ
3060 * window.el (window-body-height, window-body-width): Mention in
3061 the doc string that the return values are in frame's canonical
3062 units. (Bug#9949)
3063
bd17fdee
AM
30642011-11-03 Alan Mackenzie <acm@muc.de>
3065
3066 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3067 change in cc-engine.el.
3068
acc825c5
SM
30692011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3070
3071 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3072
1885e5b8
MR
30732011-11-02 Martin Rudalics <rudalics@gmx.at>
3074
3075 * window.el (quit-window): Call unrecord-window-buffer after
3076 showing another buffer in the window. (Bug#9937)
acc825c5 3077 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3078
ebe06da9
JB
30792011-11-02 Juanma Barranquero <lekktu@gmail.com>
3080
3081 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3082 Accept status with more than 9 shelves. (Bug#9935)
3083 Reported by Colin D Bennett <colin@gibibit.com>.
3084
4ee88440
MR
30852011-11-01 Martin Rudalics <rudalics@gmx.at>
3086
3087 * help.el (with-help-window): Don't reference
3088 temp-buffer-show-specifiers in doc-string.
3089
08e1d82c
AS
30902011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3091
3092 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3093 menu-item.
3094
84bd6e9e
VJL
30952011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3096
3097 * whitespace.el: New version 13.2.2.
3098 (whitespace-newline-mode): Disable properly. Reported by Sarah
3099 <EmacsWiki>.
3100
dba0634a
UJ
31012011-10-30 Ulf Jasper <ulf.jasper@web.de>
3102
3103 * net/newst-treeview.el: Remove "Time-stamp".
3104 (newsticker--group-manage-orphan-feeds): Do not call
3105 newsticker--treeview-tree-update.
db22a3c2
JB
3106 (newsticker-treeview-update, newsticker-treeview):
3107 Call newsticker--treeview-tree-update if necessary.
dba0634a 3108
3d8daefe
MR
31092011-10-30 Martin Rudalics <rudalics@gmx.at>
3110
3111 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3112 (window-iso-combinations): Remove "iso-" infix.
3113 Suggested by Chong Yidong.
3d8daefe
MR
3114 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3115 (window-max-delta-1, window-resize, window--resize-siblings)
3116 (window--resize-this-window, adjust-window-trailing-edge)
3117 (split-window, balance-windows-1)
3118 (shrink-window-if-larger-than-buffer):
3119 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3120 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3121
1bc4c3ae
SM
31222011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3123
3124 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3125 in place (bug#9907).
3126 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3127 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3128 (eshell-structure-basic-command, eshell-rewrite-while-command)
3129 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3130 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3131 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3132 (eshell-do-pipelines-synchronously, eshell-eval-command):
3133 Use backquotes and prefer setq to set.
3134 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3135 (eshell-macrop): Use functionp.
c1e2f5fa 3136 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3137
30b65d9c
CY
31382011-10-30 Chong Yidong <cyd@gnu.org>
3139
3140 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3141 instead of set-mark (Bug#9810).
3142
2d197ffb
CY
31432011-10-30 Chong Yidong <cyd@gnu.org>
3144
3145 * window.el (split-window-below, split-window-right): Rename from
3146 split-window-above-each-other and split-window-side-by-side
3147 respectively. All callers changed.
3148 (split-window-sensibly, split-window-sensibly): Use them.
3149 (split-window-keep-point): Doc fix.
3150
3151 * isearch.el: Add isearch-scroll property to split-window-below
3152 and split-window-right.
3153
3154 * follow.el (follow-mode):
3155 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3156 * progmodes/ada-xref.el (ada-gdb-application):
3157 * emulation/vip.el (vip-buffer-in-two-windows):
3158 * image-dired.el (image-dired-dired-with-window-configuration):
3159 * dired-x.el (dired-do-find-marked-files):
3160 * dired.el (dired-pop-to-buffer):
3161 * bs.el (bs--show-with-configuration):
3162 * vc/emerge.el (emerge-setup-windows):
3163 * textmodes/two-column.el (2C-two-columns):
3164 * textmodes/reftex-toc.el (reftex-toc):
3165 * progmodes/gdb-mi.el (gdb-setup-windows):
3166 * progmodes/fortran.el (fortran-window-create):
3167 * net/newst-treeview.el (newsticker--treeview-window-init):
3168 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3169 * emulation/tpu-edt.el (tpu-gold-map):
3170 * emulation/crisp.el (crisp-mode-map):
3171 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3172
38bb2ca8
CY
31732011-10-29 Chong Yidong <cyd@gnu.org>
3174
aa4de341
CY
3175 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3176
e1eb5385
CY
3177 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3178
5d2ece3c
CY
3179 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3180 forged Ispell output (Bug#7904).
3181
38bb2ca8
CY
3182 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3183
d0af9f77
SM
31842011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * doc-view.el: Avoid ugly errors about not finding nil.
3187 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3188 (doc-view-dvipdf-program, doc-view-unoconv-program)
3189 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3190 Avoid nil or absolute file name as default value.
3191 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3192
52bedd34
AM
31932011-10-28 Alan Mackenzie <acm@muc.de>
3194
db22a3c2 3195 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3196
7e43cfa5
AM
31972011-10-28 Alan Mackenzie <acm@muc.de>
3198
3199 Amend the handling of c-beginning/end-of-defun in nested declaration
3200 scopes.
3201
52bedd34
AM
3202 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3203 cc-langs.el. Change it to a defcustom.
7e43cfa5 3204
52bedd34
AM
3205 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3206 cc-vars.el.
7e43cfa5 3207
d0af9f77
SM
3208 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3209 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3210
52bedd34 3211 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3212 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3213 (c-widen-to-enclosing-decl-scope): New function.
3214 (c-while-widening-to-decl-block): New macro.
3215 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3216 outward for defun boundaries, and correspondingly change symbol
3217 `respect-enclosure' to `go-outward'.
3218 (c-declaration-limits): Change algorithm to report only the "innermost"
3219 defun's boundaries.
3220
1a2ce9ee
DD
32212011-10-28 Deniz Dogan <deniz@dogan.se>
3222
3223 * net/rcirc.el (rcirc-mode): Use hard newlines.
3224
bc97a826
AM
32252011-10-28 Alan Mackenzie <acm@muc.de>
3226
3227 Amend to indent and fontify macros "which include their own semicolon"
3228 correctly, using the "virtual semicolon" mechanism.
3229
52bedd34 3230 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3231
d0af9f77 3232 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3233 Recode to scan one line at a time rather than having \n and \r
58179cce 3234 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3235 (c-forward-label): Amend for virtual semicolons.
58179cce 3236 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3237
52bedd34
AM
3238 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3239 of the new C macros.
bc97a826 3240
52bedd34 3241 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3242 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3243 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3244 (c-opt-cpp-macro-define): Make into a full language variable.
3245 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3246 AWK Mode (including \n, \r) removed, no longer needed.
3247
d0af9f77
SM
3248 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3249 Invoke c-make-macro-with-semi-re.
bc97a826 3250
52bedd34
AM
3251 * progmodes/cc-vars.el (c-macro-with-semi-re):
3252 (c-macro-names-with-semicolon): New variables.
58179cce 3253 (c-make-macro-with-semi-re): New function.
bc97a826 3254
7a6c0941
SM
32552011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3256
3257 * vc/log-edit.el: Fill empty field rather than adding new one.
3258 (log-edit-add-field): New function.
3259 (log-edit-insert-changelog): Use it.
3260
b0c4cdcf
ML
32612011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3262
3263 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3264
ee1f1da9
SM
32652011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3266
3267 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3268 (gdb--check-interpreter): New function.
3269 (gdb): Use it.
3270
51bc5f8b
GM
32712011-10-27 Glenn Morris <rgm@gnu.org>
3272
416a2c45
GM
3273 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3274 (least-positive-float, least-negative-float)
3275 (least-positive-normalized-float, least-negative-normalized-float)
3276 (float-epsilon, float-negative-epsilon):
3277 Remove unnecessary declarations.
3278
3279 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3280 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3281 (least-positive-float, least-negative-float)
3282 (least-positive-normalized-float, least-negative-normalized-float)
3283 (float-epsilon, float-negative-epsilon): Add doc-strings,
3284 based on those in cl.texi.
3285
51bc5f8b
GM
3286 * files.el (set-visited-file-name): If the major-mode changed,
3287 reload the local variables. (Bug#9796)
3288
15de15c6
CY
32892011-10-27 Chong Yidong <cyd@gnu.org>
3290
3291 * subr.el (change-major-mode-after-body-hook): New hook.
3292 (run-mode-hooks): Run it.
3293
ee1f1da9
SM
3294 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3295 Use change-major-mode-before-body-hook.
15de15c6
CY
3296
3297 * simple.el (fundamental-mode):
3298 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3299 change introducing fundamental-mode-hook.
3300
5430d399
JB
33012011-10-26 Juanma Barranquero <lekktu@gmail.com>
3302
acc825c5 3303 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3304
ad74a69e
MA
33052011-10-26 Michael Albinus <michael.albinus@gmx.de>
3306
3307 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3308 tramp.el explicitly. (Bug#7583)
ad74a69e 3309
71d4c2a5
SM
33102011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3311
3312 * progmodes/octave-mod.el:
3313 * progmodes/octave-inf.el: Update maintainer.
3314
b1f6fa26
CY
33152011-10-26 Chong Yidong <cyd@gnu.org>
3316
3317 * subr.el (with-wrapper-hook): Rewrite doc.
3318
3f04efd6
MA
33192011-10-25 Michael Albinus <michael.albinus@gmx.de>
3320
3321 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3322 filenames "/method:foo:". (Bug#9793)
3f04efd6 3323
410488d3
SM
33242011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3325
3326 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3327 (bug#9865).
3328
c1ebb47e
GM
33292011-10-24 Glenn Morris <rgm@gnu.org>
3330
3331 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3332
7f5c46c7
MA
33332011-10-24 Michael Albinus <michael.albinus@gmx.de>
3334
3335 * notifications.el: Add the requirement of a running D-Bus session
3336 bus to the Commentary.
3337
db2440b6
JL
33382011-10-24 Juri Linkov <juri@jurta.org>
3339
3340 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3341 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3342 (Bug#9364)
3343
feecf435
JL
33442011-10-24 Juri Linkov <juri@jurta.org>
3345
3346 * info.el (Info-following-node-name-re): Add newline to the list
3347 of allowed characters for leading space. (Bug#9824)
3348
a3839de2
SM
33492011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3350
acc825c5
SM
3351 * progmodes/octave-inf.el (inferior-octave-mode-map):
3352 Fix C-c C-h binding.
a3839de2
SM
3353 * progmodes/octave-mod.el (octave-help): Remove.
3354
09388e76
MA
33552011-10-23 Michael Albinus <michael.albinus@gmx.de>
3356
3357 Sync with Tramp 2.2.3.
3358
3359 * net/tramp-cache.el (top): Pacify byte-compiler using
3360 `init-file-user' and `site-run-file'.
3361
3362 * net/trampver.el: Update release number.
3363
86c60681
CY
33642011-10-23 Chong Yidong <cyd@gnu.org>
3365
3366 * files.el (toggle-read-only): Remove obsolete comment about
3367 version control.
3368
3369 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3370 for toggle-read-only. Note that this hasn't called vc-next-action
3371 since 2008-05-02, though it wasn't documented at the time.
3372
a3839de2
SM
3373 * vc/ediff-init.el (ediff-toggle-read-only-function):
3374 Use toggle-read-only.
86c60681 3375
cd5495ff
AM
33762011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3377
3378 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3379 of c-parse-state.
3380
00b77525 3381 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3382 correct faulty logical expression.
cd5495ff
AM
3383 (c-parse-state-state, c-record-parse-state-state):
3384 (c-replay-parse-state-state): New defvar/defuns.
3385 (c-debug-parse-state): Use new functions.
3386
42ee24ed
MR
33872011-10-22 Martin Rudalics <rudalics@gmx.at>
3388
3389 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3390 last fix. Use window-in-direction correctly.
42ee24ed 3391
a7dee7e7
CY
33922011-10-21 Chong Yidong <cyd@gnu.org>
3393
3394 * progmodes/idlwave.el (idlwave-mode):
3395 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3396 require-final-newline; that's done in prog-mode.
3397 Suggested by Stefan Monnier.
a7dee7e7 3398
e07b9a6d
MR
33992011-10-21 Martin Rudalics <rudalics@gmx.at>
3400
3401 * mouse.el (mouse-drag-window-above)
3402 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3403 (mouse-drag-mode-line-1, mouse-drag-header-line)
3404 (mouse-drag-vertical-line-rightward-window): Remove.
3405 (mouse-drag-line): New function.
3406 (mouse-drag-mode-line, mouse-drag-header-line)
3407 (mouse-drag-vertical-line): Call mouse-drag-line.
3408 * window.el (window-at-side-p, windows-at-side): New functions.
3409
7e1361d9
UM
34102011-10-21 Ulrich Mueller <ulm@gentoo.org>
3411
3412 * tar-mode.el (tar-grind-file-mode):
3413 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3414
30fcaf3a
CY
34152011-10-21 Chong Yidong <cyd@gnu.org>
3416
3417 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3418 * progmodes/vera-mode.el (vera-mode):
3419 Use mode-require-final-newline.
30fcaf3a 3420
516eddb0
GM
34212011-10-20 Glenn Morris <rgm@gnu.org>
3422
db22a3c2 3423 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3424
10d5f513
CS
34252011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3426
3427 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3428
ac6c8639
CY
34292011-10-20 Chong Yidong <cyd@gnu.org>
3430
3431 * emulation/cua-base.el (cua-mode):
3432 * mail/footnote.el (footnote-mode):
3433 * mail/mailabbrev.el (mail-abbrevs-mode):
3434 * net/xesam.el (xesam-minor-mode):
3435 * progmodes/bug-reference.el (bug-reference-mode):
3436 * progmodes/cap-words.el (capitalized-words-mode):
3437 * progmodes/compile.el (compilation-minor-mode)
3438 (compilation-shell-minor-mode):
3439 * progmodes/gud.el (gud-tooltip-mode):
3440 * progmodes/hideif.el (hide-ifdef-mode):
3441 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3442 * progmodes/subword.el (subword-mode):
3443 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3444 * progmodes/which-func.el (which-function-mode):
3445 * term/tvi970.el (tvi970-set-keypad-mode):
3446 * term/vt100.el (vt100-wide-mode):
3447 * textmodes/flyspell.el (flyspell-mode):
3448 * textmodes/ispell.el (ispell-minor-mode):
3449 * textmodes/nroff-mode.el (nroff-electric-mode):
3450 * textmodes/paragraphs.el (use-hard-newlines):
3451 * textmodes/refill.el (refill-mode):
3452 * textmodes/reftex.el (reftex-mode):
3453 * textmodes/rst.el (rst-minor-mode):
3454 * textmodes/sgml-mode.el (html-autoview-mode)
3455 (sgml-electric-tag-pair-mode):
3456 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3457 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3458 * emulation/crisp.el (crisp-mode):
3459 * emacs-lisp/eldoc.el (eldoc-mode):
3460 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3461 minor mode behavior.
3462
aa42ab43
JL
34632011-10-19 Juri Linkov <juri@jurta.org>
3464
3465 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3466 the list of hard-coded chars with escape-glyph face.
3467
89400f1d
SM
34682011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3469
3470 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3471
305c07f6
MA
34722011-10-19 Michael Albinus <michael.albinus@gmx.de>
3473
3474 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3475 running process.
3476
13754b54
GM
34772011-10-19 Glenn Morris <rgm@gnu.org>
3478
3479 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3480 Ignore ignored files. (Bug#9726)
3481
06e21633
CY
34822011-10-19 Chong Yidong <cyd@gnu.org>
3483
3484 Doc fix for minor modes, stating that an omitted argument enables
3485 the mode unconditionally when called from Lisp.
3486
3487 * abbrev.el (abbrev-mode):
3488 * allout.el (allout-mode):
3489 * autoinsert.el (auto-insert-mode):
3490 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3491 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3492 (global-auto-revert-mode):
3493 * battery.el (display-battery-mode):
3494 * composite.el (global-auto-composition-mode)
3495 (auto-composition-mode):
3496 * delsel.el (delete-selection-mode):
3497 * desktop.el (desktop-save-mode):
3498 * dired-x.el (dired-omit-mode):
3499 * dirtrack.el (dirtrack-mode):
3500 * doc-view.el (doc-view-minor-mode):
3501 * double.el (double-mode):
3502 * electric.el (electric-indent-mode, electric-pair-mode):
3503 * emacs-lock.el (emacs-lock-mode):
3504 * epa-hook.el (auto-encryption-mode):
3505 * follow.el (follow-mode):
3506 * font-core.el (font-lock-mode):
3507 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3508 * help.el (temp-buffer-resize-mode):
3509 * hilit-chg.el (highlight-changes-mode)
3510 (highlight-changes-visible-mode):
3511 * hi-lock.el (hi-lock-mode):
3512 * hl-line.el (hl-line-mode, global-hl-line-mode):
3513 * icomplete.el (icomplete-mode):
3514 * ido.el (ido-everywhere):
3515 * image-file.el (auto-image-file-mode):
3516 * image-mode.el (image-minor-mode):
3517 * iswitchb.el (iswitchb-mode):
3518 * jka-cmpr-hook.el (auto-compression-mode):
3519 * linum.el (linum-mode):
3520 * longlines.el (longlines-mode):
3521 * master.el (master-mode):
3522 * mb-depth.el (minibuffer-depth-indicate-mode):
3523 * menu-bar.el (menu-bar-mode):
3524 * minibuf-eldef.el (minibuffer-electric-default-mode):
3525 * mouse-sel.el (mouse-sel-mode):
3526 * msb.el (msb-mode):
3527 * mwheel.el (mouse-wheel-mode):
3528 * outline.el (outline-minor-mode):
3529 * paren.el (show-paren-mode):
3530 * recentf.el (recentf-mode):
3531 * reveal.el (reveal-mode, global-reveal-mode):
3532 * rfn-eshadow.el (file-name-shadow-mode):
3533 * ruler-mode.el (ruler-mode):
3534 * savehist.el (savehist-mode):
3535 * scroll-all.el (scroll-all-mode):
3536 * scroll-bar.el (scroll-bar-mode):
3537 * server.el (server-mode):
3538 * shell.el (shell-dirtrack-mode):
3539 * simple.el (auto-fill-mode, transient-mark-mode)
3540 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3541 (line-number-mode, column-number-mode, size-indication-mode)
3542 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3543 * strokes.el (strokes-mode):
3544 * time.el (display-time-mode):
3545 * t-mouse.el (gpm-mouse-mode):
3546 * tool-bar.el (tool-bar-mode):
3547 * tooltip.el (tooltip-mode):
3548 * type-break.el (type-break-mode-line-message-mode)
3549 (type-break-query-mode):
3550 * view.el (view-mode):
3551 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3552 (global-whitespace-mode, global-whitespace-newline-mode):
3553 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3554
a3839de2
SM
3555 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3556 Fix autogenerated docstring.
06e21633 3557
5214e501
JL
35582011-10-19 Juri Linkov <juri@jurta.org>
3559
3560 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3561 by checking environment variables "DESKTOP_SESSION" and
3562 "XDG_CURRENT_DESKTOP". (Bug#9779)
3563
195f8db9
JL
35642011-10-19 Juri Linkov <juri@jurta.org>
3565
3566 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3567 (browse-url-chromium-program, browse-url-chromium-arguments):
3568 New defcustoms.
3569 (browse-url-default-browser): Check for `browse-url-chromium' and
3570 call `browse-url-chromium-program'.
3571 (browse-url-chromium): New command. (Bug#9779)
3572
343a34ff
JB
35732011-10-18 Juanma Barranquero <lekktu@gmail.com>
3574
3575 * facemenu.el (list-colors-duplicates): On Windows, detect more
3576 duplicates by assuming that only colors matching "^System" are
3577 special "system colors". (Bug#9722)
3578
6978a151
SM
35792011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3582 to distinguish the author from the committer.
3583
6a80b297
MA
35842011-10-18 Michael Albinus <michael.albinus@gmx.de>
3585
3586 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3587
b31a5677
JK
35882011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3589
3590 * international/mule.el (sgml-html-meta-auto-coding-function):
3591 Add support for detecting encoding in HTML5 specified only as
3592 <meta charset="UTF-8">. Implementation just makes http-equiv and
3593 content-type parts from HTML4 encoding string optional. (Bug#9716)
3594
80c6d77f
GM
35952011-10-18 Glenn Morris <rgm@gnu.org>
3596
3597 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3598
08b0fee8
CY
35992011-10-18 Chong Yidong <cyd@gnu.org>
3600
3601 * faces.el (cursor): Doc fix.
3602
67e729a5
CY
36032011-10-17 Chong Yidong <cyd@gnu.org>
3604
3605 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3606
343a34ff 36072011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3608
3609 * dirtrack.el (dirtrack): Support shell buffers with path
3610 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3611
0bc06380
TZ
36122011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3613
3614 * json.el: Bump version to 1.3 and note change in History.
3615 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3616
8b79f3e0
SM
36172011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3618
5a7c536b
SM
3619 * comint.el (comint-insert-input, comint-send-input)
3620 (comint-get-old-input-default, comint-backward-matching-input)
3621 (comint-next-prompt): Use nil instead of `input' for field property of
3622 past user input (bug#114).
3623
96a8a0df
SM
3624 * minibuffer.el (completion--replace): Inherit surrounding properties
3625 (bug#114).
3626 (minibuffer-complete-and-exit): Use it.
3627
8b79f3e0
SM
3628 * comint.el (comint--table-subvert): Quote the all-completions output
3629 (bug#9160).
3630
b8f7ff0d
MR
36312011-10-17 Martin Rudalics <rudalics@gmx.at>
3632
8b79f3e0 3633 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3634
b8f7ff0d 3635 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3636 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3637 entries and separate them from frame entries.
3638
c235b555
GM
36392011-10-15 Glenn Morris <rgm@gnu.org>
3640
3641 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3642 Doc fixes.
3643
6bbfa6e1
CY
36442011-10-15 Chong Yidong <cyd@stupidchicken.com>
3645
8b79f3e0
SM
3646 * net/network-stream.el (network-stream-open-starttls):
3647 Improve detection of failure due to lack of TLS support.
ec5c990d 3648
6bbfa6e1
CY
3649 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3650 putting the input text in front and in bold.
3651
98488977
SM
36522011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3653
3d1337be
SM
3654 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3655
ee0b45e4
SM
3656 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3657 empty buffer.
3658
98488977
SM
3659 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3660 unread-command-events rather than pushing yet-another event.
3661
186f4720
EZ
36622011-10-14 Eli Zaretskii <eliz@gnu.org>
3663
3664 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3665 the explanation of the possible choices. Make the options passed
3666 to completing-read shorter.
3667
8b7a997c
AM
36682011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3669
3670 * textmodes/flyspell.el (flyspell-large-region): Make sure
3671 extended character mode is used if defined (Bug#1339).
3672
12587bbb
EZ
36732011-10-13 Eli Zaretskii <eliz@gnu.org>
3674
3675 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3676 character info for LRE, LRO, RLE, and RLO characters by appending
3677 an invisible PDF.
12587bbb 3678
bad41229
SM
36792011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3680
3681 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3682 even in case of error; add debug spec; simplify data flow.
3683 (with-timeout-handler): Remove.
3684
28dbc92f
MA
36852011-10-12 Michael Albinus <michael.albinus@gmx.de>
3686
3687 Fix Bug#6019, Bug#9315.
3688
3689 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3690 complete `buffer-file-name', the local file name part could look
3691 remotely (for example on VMS).
3692
3693 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3694 `tramp-run-real-handler'.
3695 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3696 already quoted by '"'.
3697
3698 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3699 Let `file-name-handler-alist' be nil, the local file name part
3700 could look remotely (for example on VMS).
3701
e1b0b23a
SM
37022011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3703
3704 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3705 from here...
3706 (flyspell-post-command-hook): ...to here.
3707
a120bde9
SM
37082011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3711 if not needed.
3712 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3713 using completion. Protect against "slow" callers.
3714 Remove the "message hack".
3715
7ce7717b
JL
37162011-10-11 Juri Linkov <juri@jurta.org>
3717
3718 * isearch.el (isearch-lazy-highlight-word): New variable.
3719 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3720 Use it. (Bug#9727)
3721
c02ee9d6
GM
37222011-10-11 Glenn Morris <rgm@gnu.org>
3723
3724 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3725 like f90-previous-statement does.
3726
93e616fd 37272011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3728
1f190e73 3729 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3730 only in interactive use, to avoid error.
3731
af7b6078
SM
37322011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3733
3734 * minibuffer.el (completion-file-name-table): Fix last change,
3735 i.e. ignore normal errors but not the other ones.
3736
0563dae9
MR
37372011-10-10 Martin Rudalics <rudalics@gmx.at>
3738
3739 * window.el (special-display-buffer-names)
3740 (special-display-regexps): Remove some remnants of earlier
3741 changes from doc-strings.
366ca7f3
MR
3742 (quit-windows-on): New function.
3743
3744 * vc/vc.el (vc-revert, vc-rollback):
3745 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3746 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3747 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3748
49677495
MR
37492011-10-09 Martin Rudalics <rudalics@gmx.at>
3750
3751 * window.el (frame-auto-hide-function): Add version tag.
3752 (Bug#9699)
3753
56f2d1e1
MA
37542011-10-09 Michael Albinus <michael.albinus@gmx.de>
3755
3756 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3757 condition.
3758
112a6592
LL
37592011-10-09 Leo Liu <sdl.web@gmail.com>
3760
3761 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3762 (Bug#9701)
3763
0812589b
GM
37642011-10-08 Glenn Morris <rgm@gnu.org>
3765
3766 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3767 before the first code statement zero indent. (Bug#9690)
3768
b2b0776e
CY
37692011-10-08 Chong Yidong <cyd@stupidchicken.com>
3770
3771 * simple.el (count-words-region): Always count in the region.
3772 Report the number of lines and characters too.
3773 (count-words): New command, which counts in the buffer if the
3774 region is inactive, as count-words-region used to.
3775 (count-words--message): New function. Handle plurals.
3776 (count-lines-region): Make it an alias for count-words-region.
3777
3778 * bindings.el (esc-map): Replace count-lines-region with
3779 count-words-region.
3780
c557cd6b
MR
37812011-10-08 Martin Rudalics <rudalics@gmx.at>
3782
3783 * window.el (window--delete): Delete dedicated frame
3784 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3785 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3786
61a57ef4 37872011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3788
3a7d293b 3789 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3790
c3833279
CY
37912011-10-07 Chong Yidong <cyd@stupidchicken.com>
3792
3793 * bindings.el ([M-left],[M-right]): Bind to left-word and
3794 right-word respectively.
3795
21ce8245
GM
37962011-10-07 Glenn Morris <rgm@gnu.org>
3797
3798 * cus-start.el (debug-on-quit): Fix custom type.
3799
6d823bb2
LMI
38002011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3801
0181e193
LMI
3802 * subr.el (define-key-after): Clarify that the function is not
3803 useful for non-menu keymaps.
3804
6d823bb2
LMI
3805 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3806
8e3459ce 38072011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3808
21ce8245 3809 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3810 in current minibuffer (Fix bug with recursive minibuffers).
3811
a1c2d21e
CY
38122011-10-06 Chong Yidong <cyd@stupidchicken.com>
3813
3814 * progmodes/gdb-mi.el (gdb): Doc fix.
3815
5a4cf282
MR
38162011-10-05 Martin Rudalics <rudalics@gmx.at>
3817
3818 * window.el (frame-auto-hide-function): New option replacing
3819 frame-auto-delete. Suggested by Stefan Monnier.
3820 (window--delete): Call frame-auto-hide-function instead of
3821 investigating frame-auto-delete.
c96111ea
MR
3822 (window-point-1, set-window-point-1): New functions.
3823 (window-in-direction, record-window-buffer, window-state-get-1)
3824 (display-buffer-record-window): Use window-point-1 instead of
3825 window-point.
3826 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3827
9854542e
SM
38282011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3829
3830 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3831
8943cfb0
GM
38322011-10-05 Glenn Morris <rgm@gnu.org>
3833
3834 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3835 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3836
647ab967
LL
38372011-10-05 Leo Liu <sdl.web@gmail.com>
3838
3839 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3840 works with buffer object.
3841
3ddfbced
SM
38422011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3843
3844 * mpc.el (mpc-tool-bar-map): Add labels.
3845
bdfa5dd2
GM
38462011-10-04 Glenn Morris <rgm@gnu.org>
3847
3848 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3849
0e2070b5
MR
38502011-10-04 Martin Rudalics <rudalics@gmx.at>
3851
3852 * window.el (window--delete): New function.
3853 (frame-auto-delete): Resuscitate option.
3854 (bury-buffer, replace-buffer-in-windows)
3855 (quit-window): Rewrite using window--delete.
3856 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3857 Pass display-buffer-mark-dedicated to window--display-buffer-2
3858 (Bug#9639).
3859
3dc61a09
SM
38602011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3861
915a9b64
SM
3862 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3863 returns a list (bug#9554). Add remote file name completion.
3864 * comint.el (comint--table-subvert): Curry and get quote&unquote
3865 functions as arguments.
3866 (comint--complete-file-name-data): Adjust call accordingly.
3867 * pcomplete.el (pcomplete--table-subvert): Remove.
3868 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3869
3dc61a09
SM
3870 * minibuffer.el (completion-table-case-fold): Use currying.
3871 (completion--styles-type, completion--cycling-threshold-type):
3872 New constants.
3873 (completion-styles, completion-category-overrides)
3874 (completion-cycle-threshold): Use them.
3875 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3876 completion-table-case-fold.
3877
8ea0a993
SB
38782011-10-03 Stephen Berman <stephen.berman@gmx.net>
3879
3880 * minibuffer.el (completion-category-overrides): Fix type of styles
3881 and add more user friendly tags (bug#9660).
3882
8c24b7f6
SM
38832011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3886 (mule-input-method-string): New widget.
3887 (default-input-method, language-info-custom-alist): Use it.
3888
428fe61a
SM
38892011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3890
32c1fffd
SM
3891 * pcomplete.el: Require comint.
3892 (pcomplete--common-suffix): Remove.
3893 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3894 (pcomplete--table-subvert): Sync with comint--table-subvert.
3895 (pcomplete--entries): Use comint-completion-file-name-table.
3896 * comint.el (comint-unquote-filename): Simplify.
3897 (comint-completion-file-name-table): New function (bug#9616).
3898 (comint--complete-file-name-data): Use it.
3899
428fe61a
SM
3900 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3901 (pcmpl-gnu-tar-buffer): Remove.
3902 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
3903 around. Make sure pcomplete-suffix-list is only changed temporarily.
3904 Don't look inside the tar's file if it's too large.
428fe61a 3905
04c52e2f
CY
39062011-10-01 Chong Yidong <cyd@stupidchicken.com>
3907
ce3cefcc
CY
3908 * cus-edit.el (custom-mode-map):
3909 * epa.el (epa-key-list-mode-map):
3910 * man.el (Man-mode-map):
3911 * startup.el (splash-screen-keymap):
3912 * simple.el (special-mode-map): Use scroll-up-command and
3913 scroll-down-command.
3914
3915 * progmodes/idlw-help.el (idlwave-help-mode-map):
3916 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3917 * net/newst-plainview.el (newsticker-mode-map):
3918 * emulation/ws-mode.el (wordstar-mode-map):
3919 * emulation/vi.el (vi-com-map):
3920 * calc/calc-graph.el (calc-graph-show-dumb):
3921 * term/sun.el (terminal-init-sun):
3922 * term/ns-win.el (global-map):
3923 * progmodes/grep.el (grep-mode-map):
3924 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3925 * mail/rmail.el (rmail-mode-map):
3926 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3927
04c52e2f
CY
3928 * custom.el (custom-safe-themes, load-theme): Treat value of t for
3929 custom-safe-themes as special.
3930
79adf8c8
JD
39312011-10-01 Julien Danjou <julien@danjou.info>
3932
3933 * notifications.el (notifications-notify): Fix docstring.
3934
63bd50d3
PS
39352011-10-01 Per Starbäck <per@starback.se>
3936
3937 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
3938
199e4c7e
MR
39392011-09-30 Martin Rudalics <rudalics@gmx.at>
3940
3941 * startup.el (command-line-1): Fix last fix by inserting
3942 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 3943 (Bug#9605) and (Bug#9636)
199e4c7e 3944
fe5f08dd
EZ
39452011-09-29 Eli Zaretskii <eliz@gnu.org>
3946
3947 * simple.el (line-move): If auto-hscroll-mode is disabled and the
3948 window is hscrolled, move by logical lines. (Bug#9607)
3949 (line-move-visual): Update the doc string to the above effect.
3950
b5516bbd
MR
39512011-09-29 Martin Rudalics <rudalics@gmx.at>
3952
ccee00c0
MR
3953 * window.el (display-buffer-record-window): When WINDOW is the
3954 selected window use `point' instead of `window-point'. (Bug#9626)
3955
b5516bbd
MR
3956 * startup.el (command-line-1): Use insert-before-markers when
3957 inserting initial-scratch-message. (Bug#9605)
ccee00c0 3958
b5516bbd
MR
3959 * help.el (help-window): Remove variable.
3960
52aa0014
GM
39612011-09-29 Glenn Morris <rgm@gnu.org>
3962
3963 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
3964
df9a7357
JB
39652011-09-29 Juanma Barranquero <lekktu@gmail.com>
3966
3967 * descr-text.el (describe-char-categories): Accept category
3968 descriptions more than one line long.
3969
a8406c20
SM
39702011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3971
88d9610c
SM
3972 * simple.el (delete-trailing-whitespace): Fix last change.
3973
a5daf810
SM
3974 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3975 Don't confuse "y => 3" as the beginning of a `y' operation.
3976
a8406c20
SM
3977 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
3978 object has more than 4 slots (bug#9613).
3979
a239d4e9
JB
39802011-09-28 Juanma Barranquero <lekktu@gmail.com>
3981
3982 * subr.el (with-output-to-temp-buffer):
3983 * net/quickurl.el (quickurl, quickurl-browse-url):
3984 Fix typos in docstrings.
3985
693fbdb6
EZ
39862011-09-27 Eli Zaretskii <eliz@gnu.org>
3987
3988 * minibuffer.el (completion-styles)
3989 (completion-category-overrides): Cross reference each other in doc
3990 strings.
3991
8b457e28
GM
39922011-09-27 Glenn Morris <rgm@gnu.org>
3993
3994 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
3995 to split-string. (Bug#9606)
3996
85a16208
LMI
39972011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3998
3999 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4000 (bug#9615).
4001
502f9ebd
CY
40022011-09-27 Chong Yidong <cyd@stupidchicken.com>
4003
4004 * emacs-lisp/package.el (list-packages): Fix echo area message.
4005
7690bdea
LL
40062011-09-27 Leo Liu <sdl.web@gmail.com>
4007
4008 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4009
e2ee6f30
MA
40102011-09-25 Michael Albinus <michael.albinus@gmx.de>
4011
4012 * net/dbus.el (dbus-unregister-object): Don't release services for
4013 registered signals. (Bug#9581)
4014
f3f98342
TZ
40152011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4016
4017 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4018 function that picks between cfengine 2 and 3 support
4019 automatically. Update docs accordingly.
4020
dd7aa8dd
KH
40212011-09-22 Kenichi Handa <handa@m17n.org>
4022
4023 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4024 ZERO.
4025 (indian-itrans-v5-table-for-tamil): New variable.
4026 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4027
3f2b07f8
KM
40282011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4029
4030 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4031 that's true if the current command involved collapsing of text.
4032 It's reset to false at the beginning of the next command.
4033 (allout-post-command-business): Move the cursor to the beginning
4034 of entry if the cursor is hidden and collapsing activity just
4035 happened.
4036
371d6a61
CY
40372011-09-24 Chong Yidong <cyd@stupidchicken.com>
4038
4039 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4040 tracking (Bug#9541).
4041
2ac2721a
UJ
40422011-09-24 Ulf Jasper <ulf.jasper@web.de>
4043
4044 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4045 (newsticker-show-news): Automatically load html rendering package
4046 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4047 because w3m-fill-column is let-bound" and the error "Symbol's value
4048 as variable is void: w3m-fill-column".
2ac2721a 4049
fac7ae53
MA
40502011-09-24 Michael Albinus <michael.albinus@gmx.de>
4051
4052 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4053 Release services only if they are defined. (Bug#9581)
4054
e08b633b
RS
40552011-09-23 Richard Stallman <rms@gnu.org>
4056
e488d29c
RS
4057 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4058 distinguish start of paragraph from start of its text.
4059
19c38752
RS
4060 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4061
e08b633b
RS
4062 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4063 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4064 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4065
0a39f27e
AS
40662011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4067
4068 * international/mule-diag.el (mule-diag): Insert a newline after
4069 each fontset description.
4070
db4e950d
SM
40712011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4072
4073 * simple.el (delete-trailing-whitespace):
4074 Document last change; simplify.
4075
eca3f3ea
PW
40762011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4077
d68e189a
PW
4078 * simple.el (delete-trailing-whitespace): Also delete
4079 extra newlines at the end of the buffer.
4080
eca3f3ea
PW
4081 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4082 (picture-newline): Use forward-line so as to ignore fields.
4083
01c157cc
SM
40842011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4085
4086 * subr.el (with-wrapper-hook): Fix edebug spec.
4087
022de23e
LMI
40882011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4089
4090 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4091 (bug#4538).
4092
91683089
MA
40932011-09-23 Michael Albinus <michael.albinus@gmx.de>
4094
eca3f3ea
PW
4095 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4096 Fix nasty bug using wrong cached values.
91683089 4097
5bdd6fa4
AM
40982011-09-23 Alan Mackenzie <acm@muc.de>
4099
4100 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4101
97adfb97
CY
41022011-09-23 Chong Yidong <cyd@stupidchicken.com>
4103
4104 * window.el (pop-to-buffer): Ensure right window is selected if we
4105 chose another frame.
4106
d4ef2b50
EZ
41072011-09-22 Eli Zaretskii <eliz@gnu.org>
4108
4109 * simple.el (what-cursor-position): Use get-char-property-change
4110 and next-single-char-property-change, to be able to show display
4111 properties that come from overlays as well as text properties.
4112
72258fe5
CY
41132011-09-22 Chong Yidong <cyd@stupidchicken.com>
4114
4115 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4116
4117 * cmuscheme.el (run-scheme, switch-to-scheme):
4118 * cus-edit.el (customize-group, custom-buffer-create)
4119 (customize-browse):
4120 * info.el (info):
4121 * shell.el (shell):
4122 * mail/sendmail.el (mail):
4123 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4124
8f098516
RS
41252011-09-22 Richard Stallman <rms@gnu.org>
4126
4127 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4128 move back only to line beg, don't move back over blank lines.
4129
e74f1bb6
MA
41302011-09-22 Michael Albinus <michael.albinus@gmx.de>
4131
4132 * files.el (copy-directory): Set directory attributes only in case
4133 they could be retrieved from the source directory. (Bug#9565)
4134
bfeef8b6
DK
41352011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4136
4137 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4138 (hs-find-block-beginning, hs-hide-level-recursive):
4139 Ignore strings as well as comments. (Bug#9502)
4140
7e423bb8
AS
41412011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4142
4143 * progmodes/sql.el (sql-comint-postgres):
4144 Convert port number to a string. (Bug#9566)
4145
b4d72fcf
MR
41462011-09-22 Martin Rudalics <rudalics@gmx.at>
4147
4148 * window.el (quit-window): Undedicate window when switching to
4149 previous buffer. Reported by Thierry Volpiatto
4150 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4151 (special-display-popup-frame): When popping up a new frame reset
4152 its previous buffers to nil. Simplify code.
b4d72fcf 4153
a7b88dc6
MA
41542011-09-21 Michael Albinus <michael.albinus@gmx.de>
4155
4156 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4157 and process filter, as done also in `shell-command'.
4158
cf4eacfd
MR
41592011-09-21 Martin Rudalics <rudalics@gmx.at>
4160
eca3f3ea 4161 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4162 Call set-window-start with NOFORCE argument t.
4163 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4164 (quit-window): Reword doc-string. Handle new format of
4165 quit-restore parameter. Don't delete window if it has a
4166 previous buffer we can show instead of the present one.
4167 (display-buffer-record-window): Rewrite using a new format for
4168 the quit-restore window parameter
4169 (special-display-popup-frame, display-buffer-same-window)
4170 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4171 (display-buffer-pop-up-window, display-buffer-use-some-window):
4172 Adapt symbol passed to display-buffer-record-window.
4173 * help.el (help-window-setup): Handle new format of quit-restore
4174 parameter.
4175
8d28cb95
SM
41762011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4177
94ab793f
SM
4178 * faces.el (face-list): Fix docstring (bug#9564).
4179
8d28cb95
SM
4180 * window.el (display-buffer--action-function-custom-type):
4181 Don't include internal functions in the Custom interface.
4182
3820edeb
JL
41832011-09-20 Juri Linkov <juri@jurta.org>
4184
4185 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4186 (Info-forward-node, Info-backward-node, Info-next-preorder)
4187 (Info-last-preorder): Use it. (Bug#9528)
4188
5147931d
JL
41892011-09-20 Juri Linkov <juri@jurta.org>
4190
4191 * info.el (Info-last-preorder): Visit last menu item only when
4192 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4193
cf499a1a
JD
41942011-09-20 Julien Danjou <julien@danjou.info>
4195
4196 * password-cache.el (password-cache-remove): Remove entries even if the
4197 value is nil, so that password with a nil value (negative caching) is
4198 possible to invalidate.
4199
f84e2fe2
LM
42002011-09-20 Lawrence Mitchell <wence@gmx.li>
4201
4202 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4203 all whitespace around breakpoint. (Bug#9553)
4204 (f90-find-breakpoint): Only break at whitespace inside a comment.
4205
78054a46
SM
42062011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4207
4208 * minibuffer.el (completion-file-name-table): Keep track of errors.
4209 (completion-table-with-predicate): Handle the case where pred1 is nil.
4210 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4211
345083b2
SM
42122011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4213
e24e27be
SM
4214 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4215 (debugger-return-value): Signal an error if the debugging context does
4216 not await any return value.
4217
345083b2
SM
4218 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4219 * image-mode.el (image-toggle-display-text)
4220 (image-toggle-display-image): Stay away from evil `intangible'.
4221
08d355e3
LL
42222011-09-19 Leo Liu <sdl.web@gmail.com>
4223
4224 * replace.el (occur-revert-arguments): Make it permanent-local.
4225 (occur-mode): Don't call font-lock-defontify.
4226
f01da43f
CY
42272011-09-19 Chong Yidong <cyd@stupidchicken.com>
4228
4229 * net/ldap.el (ldap-search-internal): Don't push empty search
4230 result (Bug#9508).
4231
b6072fa6
SM
42322011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4233
4234 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4235
443d6696
MA
42362011-09-19 Michael Albinus <michael.albinus@gmx.de>
4237
4238 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4239 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4240
7cc6e154
JL
42412011-09-18 Juri Linkov <juri@jurta.org>
4242
4243 * buff-menu.el (Buffer-menu-mode-map):
4244 * dired.el (dired-mode-map):
4245 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4246 (lisp-interaction-mode-map):
4247 * emacs-lisp/package.el (package-menu-mode-map):
4248 * epa.el (epa-key-list-mode-map):
4249 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4250 (menu-bar-options-menu):
4251 * outline.el (outline-mode-menu-bar-map):
4252 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4253 * vc/vc-dir.el (vc-dir-menu-map):
4254 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4255 Capitalize non-function content words in menu item strings.
4256
4257 * dired.el (dired-mode-map): Add menu item for
4258 `image-dired-dired-toggle-marked-thumbs'.
4259
80302a81
JL
42602011-09-18 Juri Linkov <juri@jurta.org>
4261
4262 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4263 to `isearch-case-fold-search' and restore its original value
4264 after the `isearch-mode' call.
4265
46c5cf66
JL
42662011-09-18 Juri Linkov <juri@jurta.org>
4267
4268 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4269 because `zgrep' returns 1 for successful matches (bug#9226).
4270
d18b513b
JL
42712011-09-18 Juri Linkov <juri@jurta.org>
4272
4273 * info.el (Info-extract-menu-node-name): Check the second match
4274 for empty string (second test-case of bug#9528).
4275 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4276 intermediate nodes to the history (first test-case of bug#9528).
4277
72753f87
JL
42782011-09-18 Juri Linkov <juri@jurta.org>
4279
4280 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4281 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4282
c9384295
JL
42832011-09-18 Juri Linkov <juri@jurta.org>
4284
1154d12e
JB
4285 * info.el (Info-file-supports-index-cookies):
4286 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4287 outputs one more line for long file names (bug#4142).
c9384295 4288
d473dce8
CY
42892011-09-18 Chong Yidong <cyd@stupidchicken.com>
4290
4291 * newcomment.el (comment-normalize-vars): If prompting for
4292 comment-start, set comment-start-skip too (Bug#8424).
4293
2176854d
JB
42942011-09-18 Johan Bockgård <bojohan@gnu.org>
4295
4296 * icomplete.el: Fix previous fix of Bug#5849.
4297 (icomplete-mode): Don't set completion-show-inline-help.
4298 (icomplete-minibuffer-setup): Set completion-show-inline-help
4299 locally during icompletion.
4300
3aace4e4
CY
43012011-09-18 Chong Yidong <cyd@stupidchicken.com>
4302
c940224f
CY
4303 * woman.el (woman2-process-escapes): Don't delete unrecognized
4304 escapes (Bug#7843).
4305
3aace4e4
CY
4306 * files.el (inhibit-first-line-modes-regexps): Add image files.
4307 (hack-local-variables-prop-line): Return nil for malformed
4308 prop-lines (Bug#9044).
4309
710dec63
MA
43102011-09-18 Michael Albinus <michael.albinus@gmx.de>
4311
4312 * net/tramp.el (top): Don't require 'shell.
4313 (tramp-methods): Fix docstring.
4314 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4315 Return complete remote file name. Handle "smb" case.
4316 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4317 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4318
4319 * net/tramp-compat.el (top): Require 'shell.
4320
4321 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4322 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4323 `tramp-current-host'.
4324 (tramp-get-remote-tmpdir): Remove.
4325
4326 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4327 `tramp-tmpdir' entries.
4328 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4329 (tramp-smb-handle-file-attributes): Ignore errors.
4330 (tramp-smb-wait-for-output): Check also for process end.
4331
5d5ac8ec
LMI
43322011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4333
4334 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4335 when sending QUIT (bug#9312).
4336
8c0f49f0
CY
43372011-09-17 Chong Yidong <cyd@stupidchicken.com>
4338
4339 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4340 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4341 occur-mode-display-occurrence.
4342 (occur-edit-mode): Add usage message.
4343 (occur-cease-edit): New command.
4344 (occur-after-change-function): Use text properties to find the
4345 position of the prefix text.
4346 (occur-engine): Set stickiness of prefix text properties.
4347
8f1383f7
GM
43482011-09-17 Glenn Morris <rgm@gnu.org>
4349
4350 * progmodes/etags.el (complete-tag):
4351 Fix call to completion-in-region. (Bug#9526)
4352
744ba0e3
JL
43532011-09-17 Juri Linkov <juri@jurta.org>
4354
4355 * textmodes/ispell.el (ispell-word): Add to the error message
4356 the word, ispell program name and current dictionary (bug#9121).
4357 (ispell-tex-arg-end): Capitalize "error" in the error message.
4358
d9bbf400
AS
43592011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4360
4361 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4362 check. (Bug#4251)
4363
8da11505
JL
43642011-09-17 Juri Linkov <juri@jurta.org>
4365
4366 * window.el (window-safe-min-height, window-safe-min-width):
4367 Fix typos (followup to bug#9522).
4368
a91adc7e
SJ
43692011-09-17 Sven Joachim <svenjoac@gmx.de>
4370
4371 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4372
064f328a
EZ
43732011-09-16 Eli Zaretskii <eliz@gnu.org>
4374
4375 * simple.el (line-move): If goal-column is set, move by logical
4376 lines, not by display lines. (Bug#971)
4377 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4378 to reflect the above change.
4379
e69df516
SM
43802011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4381
4382 * image.el (imagemagick-register-types): Use regexp-opt.
4383
cbb0f9ab
CY
43842011-09-15 Chong Yidong <cyd@stupidchicken.com>
4385
4386 * window.el (display-buffer-base-action): Rename from
4387 display-buffer-default-action. Make default value empty.
4388 (display-buffer-overriding-action): Convert to defvar.
4389 (display-buffer-fallback-action): New var.
4390
25322144
CY
43912011-09-15 Chong Yidong <cyd@stupidchicken.com>
4392
4393 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4394 declaration.
4395 (package--add-to-archive-contents): If there is a duplicate entry
4396 with an older version, remove it.
4397 (package-menu-mark-delete, package-menu-mark-install)
4398 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4399 (package-menu-mark-obsolete-for-deletion):
4400 Use package-menu-get-status instead of a regexp search.
25322144
CY
4401 (package-menu-get-status): Use tabulated-list-entry.
4402 (package-menu-mark-upgrades): New command.
d770725a 4403 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4404 (package-menu-execute): Do installation before deletion.
4405 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4406 instead of checking major-mode.
4407 (package-menu--find-upgrades): New function.
4408
7520339c
LMI
44092011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4410
4411 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4412 passwords in the log buffer.
65a046c4
LMI
4413 (smtpmail-process-filter): Update the process marker so that the
4414 "broken by peer" status message is inserted in the right place.
7520339c 4415
d3c30954
SM
44162011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4417
3fe48822
SM
4418 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4419 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4420 bibtex-completion-at-point-function.
4421 (bibtex-completion-at-point-function): Use them.
4422
1b8b3954
SM
4423 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4424
d3c30954
SM
4425 * mpc.el (mpc-constraints-tag-lookup): New function.
4426 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4427 also to browser "album|playlist".
4428
72779976
JL
44292011-09-14 Juri Linkov <juri@jurta.org>
4430
4431 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4432 (isearch-edit-string): Use length of `isearch-string' when
4433 `isearch-fail-pos' returns nil.
4434 (isearch-message): Remove duplicate code and call
4435 `isearch-fail-pos' with arg `t'.
4436
a0bf2bcd
CY
44372011-09-14 Chong Yidong <cyd@stupidchicken.com>
4438
17bb0a2d
CY
4439 * replace.el (occur-mode-goto-occurrence): Don't force using other
4440 window (Bug#9499).
4441
a0bf2bcd
CY
4442 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4443
f678e0b6
MR
44442011-09-14 Martin Rudalics <rudalics@gmx.at>
4445
4446 * window.el (display-buffer-window): Remove.
4447 (display-buffer-record-window): Use help-setup window parameter
4448 instead of variable display-buffer-window.
4449 (display-buffer-function, special-display-buffer-names)
4450 (special-display-function): Mention help-setup parameter instead
4451 of display-buffer-window in doc-string.
d3c30954
SM
4452 * help.el (help-window-setup): New argument help-window.
4453 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4454 Reword some messages.
4455 (with-help-window): Pass window used for displaying the buffer
4456 to help-window-setup. Don't set display-buffer-window.
4457
8e39b2e8
GM
44582011-09-13 Glenn Morris <rgm@gnu.org>
4459
4460 * emacs-lisp/debug.el (debugger-make-xrefs):
4461 Preserve point. (Bug#9462)
4462
85e9c04b
CY
44632011-09-13 Chong Yidong <cyd@stupidchicken.com>
4464
4465 * window.el (window-deletable-p): Use next-frame.
4466
1b36ed6a
MR
44672011-09-13 Martin Rudalics <rudalics@gmx.at>
4468
4469 * window.el (window-auto-delete): Remove.
4470 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4471 dedication and previous buffers.
1b36ed6a
MR
4472 (switch-to-prev-buffer): Don't delete window.
4473 (delete-windows-on): Delete a window's frame if and only if the
4474 window is dedicated.
4475 (replace-buffer-in-windows): Delete buffer's window or frame if
4476 and only if window is dedicated.
4477 (quit-window): Handle quit-restore as before last change.
4d61f28d 4478 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4479
ef8ef9fb
CY
44802011-09-13 Chong Yidong <cyd@stupidchicken.com>
4481
4482 * window.el (window-deletable-p): Never delete the last frame on a
4483 given terminal.
4484
b2cba41e
GM
44852011-09-13 Glenn Morris <rgm@gnu.org>
4486
4487 * help.el (describe-key-briefly): Copy previous standard-output change.
4488
51553db6 44892011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4490
4491 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4492
b7556719
GM
44932011-09-13 Glenn Morris <rgm@gnu.org>
4494
4495 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4496 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4497
64b51947
CY
44982011-09-12 Chong Yidong <cyd@stupidchicken.com>
4499
4500 * dired-aux.el (dired-mark-read-string): Don't return default
4501 value on empty input (Bug#9361).
4502 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4503 Omit initial minibuffer contents.
4504 (dired-do-chmod): Signal an error on empty input.
4505 (dired-mark-read-string): Don't return default on empty input.
4506
4507 * files.el (file-modes-symbolic-to-number): Doc fix.
4508
393a301e
SM
45092011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4510
4511 * international/mule-cmds.el (ucs-completions): Remove.
4512 (read-char-by-name): Use complete-with-action instead; add metadata.
4513
fa5660f9
CY
45142011-09-11 Chong Yidong <cyd@stupidchicken.com>
4515
4516 * window.el (display-buffer--action-function-custom-type)
4517 (display-buffer--action-custom-type): New vars.
4518 (display-buffer-alist, display-buffer-default-action)
4519 (display-buffer-overriding-action): Add defcustom types.
4520
4a592f66
CY
4521 * frame.el (delete-other-frames): Doc fix (Bug#276).
4522
73d56dbd
LMI
45232011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4524
4525 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4526
37ac18a3
CY
45272011-09-11 Chong Yidong <cyd@stupidchicken.com>
4528
4529 Change modes that used same-window-* vars to use switch-to-buffer.
4530
4531 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4532 Use switch-to-buffer.
4533
4534 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4535 (customize-browse, custom-buffer-create-other-window):
4536 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4537
4538 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4539 (Info-prev, Info-up, Info-speedbar-goto-node)
4540 (info-display-manual): Use switch-to-buffer.
4541 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4542
4543 * mail/sendmail.el (mail): Use switch-to-buffer.
4544 (mail-recover): Use switch-to-buffer-other-window.
4545
4546 * cmuscheme.el (run-scheme, switch-to-scheme):
4547 * ielm.el (ielm):
4548 * shell.el (shell):
4549 * net/rlogin.el (rlogin):
4550 * net/telnet.el (telnet, rsh):
4551 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4552
10195bd6
AS
45532011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4554
4555 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4556
b322f63a
LMI
45572011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4558
39d7fed6
LMI
4559 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4560 so don't mention it (bug#9301).
ba5a81f1 4561 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4562
ee0e9f11
LMI
4563 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4564 match `x', `w32' and `ns', like the manual says (bug#9029).
4565
0b1c89c1 4566 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4567 (process-kill-buffer-query-function): Mention the buffer name in
4568 the query.
0b1c89c1 4569
77549ea8
LMI
4570 * image-mode.el (image-next-line): The line parameter is mandatory
4571 (bug#9258).
4572
803ef892
LMI
4573 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4574 which can be useful (bug#9301).
4575
12980837
LMI
4576 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4577
91054f8f
LMI
4578 * subr.el (match-string): Mention that the current buffer should
4579 be the same as the search was done in (bug#9282).
4580
b322f63a
LMI
4581 * facemenu.el: Disable the remove-* commands if the mark isn't
4582 active (bug#9162).
4583
3199b96f
CY
45842011-09-10 Chong Yidong <cyd@stupidchicken.com>
4585
4586 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4587 of display-buffer.
4588 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4589
4590 * replace.el (occur-mode-goto-occurrence)
4591 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4592 and display-buffer.
4593
4594 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4595 display-buffer.
4596
4597 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4598 special-display and same-window variables.
4599 (mail-other-window): Use switch-to-buffer-other-window.
4600 (mail-other-frame): USe switch-to-buffer-other-frame.
4601
393a301e
SM
4602 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4603 Use display-buffer-other-frame.
3199b96f
CY
4604 (gdb-display-gdb-buffer): Use pop-to-buffer.
4605
4606 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4607
4608 * progmodes/python.el: Don't set same-window-buffer-names.
4609
4610 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4611
4612 * window.el (display-buffer-alist): Add *Python*.
4613
8319e0bf
CY
46142011-09-10 Chong Yidong <cyd@stupidchicken.com>
4615
4616 * window.el (display-buffer-alist): Add entry for buffers
4617 previously handled same-window-*.
4618 (display-buffer-alist, display-buffer-default-action)
4619 (display-buffer-overriding-action): Mark as risky.
4620 (display-buffer-alist): Document action function changes.
4621 (display-buffer--same-window-action)
4622 (display-buffer--other-frame-action): New variables.
4623 (switch-to-buffer, display-buffer-other-frame): Use them.
4624 (display-buffer): Rename reuse-frame entry to reusable-frames.
4625 (display-buffer-reuse-selected-window): Function deleted.
4626 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4627 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4628 (display-buffer-special): New function.
4629 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4630 display-buffer-reuse-or-pop-window. Split off special-display
4631 part into display-buffer-special.
4632 (display-buffer-use-some-window): Don't perform any special
4633 pop-up-frames handling.
4634 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4635 (display-buffer--maybe-same-window): Rename from
0d3ff375 4636 display-buffer-maybe-same-window.
8319e0bf 4637
919a69aa
CY
4638 * info.el: Don't set same-window-regexps.
4639 (info-setup): New function.
4640 (info-other-window, info): Call it.
4641
4642 * cus-edit.el: Don't set same-window-regexps.
4643 (customize-group): New argument.
4644 (customize-group-other-window): Use it.
4645 (customize-face, customize-face-other-window): Likewise.
4646 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4647
8319e0bf
CY
4648 * net/rlogin.el:
4649 * net/telnet.el:
4650 * progmodes/gud.el: Don't set same-window-regexps.
4651
4652 * cmuscheme.el:
4653 * ielm.el:
4654 * shell.el:
4655 * mail/sendmail.el:
4656 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4657
25173000
JL
46582011-09-10 Juri Linkov <juri@jurta.org>
4659
4660 * isearch.el (isearch-edit-string): Remove obsolete mention of
4661 `C-w' (`isearch-yank-word-or-char') from docstring.
4662 (isearch-query-replace): Fix typo in docstring (bug#9466).
4663
056e44ef
JL
46642011-09-10 Juri Linkov <juri@jurta.org>
4665
4666 * paren.el (show-paren-function): Don't show escaped parens.
4667 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4668
c3760c17
EZ
46692011-09-10 Eli Zaretskii <eliz@gnu.org>
4670
4671 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4672 (mm-default-file-encoding): Remove autoload forms, they are
4673 replaced with autoload cookies in mml.el and mm-encode.el.
4674 (mail-add-attachment): New command.
4675 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4676 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4677 the doc string.
4678 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4679
fece895e
RT
46802011-09-10 Reuben Thomas <rrt@sc3d.org>
4681
e69df516
SM
4682 * simple.el (count-words-region): Use buffer if there's no region
4683 (bug#9429).
fece895e 4684
5e68ce4a
JL
46852011-09-09 Juri Linkov <juri@jurta.org>
4686
4687 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4688 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4689 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4690
0a6b9622
AM
46912011-09-09 Alan Mackenzie <acm@muc.de>
4692
4693 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4694 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4695
14a29deb
EZ
46962011-09-09 Eli Zaretskii <eliz@gnu.org>
4697
4698 Fix for Savannah bug#9392.
4699 * simple.el (mail-encode-mml): New defvar.
4700
4701 * mail/rmail.el (mail-encode-mml): Add a defvar.
4702 (rmail-enable-mime-composing): Default to t.
4703 (rmail-forward): Use MIME method of forwarding only if both
4704 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4705 Set mail-encode-mml non-nil if the MIME method was used.
4706
4707 * mail/sendmail.el (mml-to-mime): Add autoload form.
4708 (mail-encode-mml): Add a defvar.
4709 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4710 to nil.
4711 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4712 message through mml-to-mime, and reset mail-encode-mml to nil.
4713
28c45130
GM
47142011-09-09 Glenn Morris <rgm@gnu.org>
4715
4716 * woman.el (woman-if-body): When processing an .el block,
4717 do not delete the next .el block as well. (Bug#9447)
69f4b618 4718 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4719
9b1c252e
MR
47202011-09-08 Martin Rudalics <rudalics@gmx.at>
4721
4722 * window.el (window-deletable-p): Make sure window is live before
4723 invoking window-prev-buffers.
4724
567457e3
LL
47252011-09-08 Leo Liu <sdl.web@gmail.com>
4726
4727 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4728
97f05794
JL
47292011-09-08 Juri Linkov <juri@jurta.org>
4730
4731 * progmodes/compile.el (compilation-environment): Make it
4732 a defcustom (bug#8340).
4733
8b0874b5
MR
47342011-09-08 Martin Rudalics <rudalics@gmx.at>
4735
4736 * window.el (frame-auto-delete): Rename to window-auto-delete.
4737 Make it control auto-deletion of windows and/or frames.
4738 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4739 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4740 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4741 Rewrite handling of case when window/frame can be deleted.
4742 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4743 argument t. (Bug#9456)
8b0874b5 4744
4feb6e73
CY
47452011-09-07 Chong Yidong <cyd@stupidchicken.com>
4746
4747 * help-mode.el (help-mode): Restore autoload.
4748
91ab9c13
JL
47492011-09-07 Juri Linkov <juri@jurta.org>
4750
4751 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4752 `compilation-environment'. Set buffer-local
4753 `compilation-environment' to `thisenv' later after (funcall mode).
4754 (Bug#8340)
4755
4756 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4757 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4758 instead of replacing its value. (Bug#8340)
4759
0527e251
JL
47602011-09-07 Juri Linkov <juri@jurta.org>
4761
4762 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4763 based on text properties put by `grep-filter' instead of matching
4764 escape sequences.
4765 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4766 to the value of `grep-error-screen-columns' (bug#9438).
4767
249f792c
JL
47682011-09-07 Juri Linkov <juri@jurta.org>
4769
4770 * simple.el (next-error-highlight, next-error-highlight-no-select):
4771 Doc fix (bug#9432).
4772
ff7271b9
OT
47732011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4774
4775 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4776 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4777
183fc730
LL
47782011-09-07 Leo Liu <sdl.web@gmail.com>
4779
4780 * net/rcirc.el (rcirc-mode): Conditionally initialize
4781 rcirc-input-ring.
4782
77694924
SM
47832011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * emacs-lisp/find-func.el (find-function-C-source): Only set
4786 find-function-C-source-directory after checking that we found a source
4787 file there (bug#9440).
4788
d809b8eb
AM
47892011-09-06 Alan Mackenzie <acm@muc.de>
4790
4791 * isearch.el (isearch-other-meta-char): Wherever a key list is
4792 unread, "unread" the prefix arg, too. This fixes bug #8901.
4793
453de99f
OG
47942011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4795
4796 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4797
90439906
JL
47982011-09-05 Juri Linkov <juri@jurta.org>
4799
4800 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4801
f62bd846
JL
48022011-09-05 Juri Linkov <juri@jurta.org>
4803
4804 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4805 keeping point where processing of grep matches begins, and
4806 continue to delete remaining escape sequences from the same point.
4807 (grep-filter): Make leading zero optional in "0?1;31m" because
4808 git-grep emits "\033[1;31m" escape sequences unlike expected
4809 "\033[01;31m" as GNU Grep does (bug#9408).
4810 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4811
045820ec
JL
48122011-09-05 Juri Linkov <juri@jurta.org>
4813
4814 * subr.el (y-or-n-p): Capitalize "yes".
4815
f5e29b9b
MA
48162011-09-04 Michael Albinus <michael.albinus@gmx.de>
4817
4818 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4819 `tramp-cache-unload-hook' where appropriate.
4820 (tramp-methods): Rename `tramp-remote-sh' to
4821 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4822 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4823
4824 * net/tramp-sh.el (top): Don't require 'shell.
4825 (tramp-methods): Add `tramp-remote-shell' and
4826 `tramp-remote-shell-args' entries.
4827 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4828 (tramp-sh-handle-shell-command): Remove.
4829 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4830 Use `tramp-remote-shell'.
4831
2784c434
CY
48322011-09-03 Chong Yidong <cyd@stupidchicken.com>
4833
393a301e 4834 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4835 (sendmail-query-once): Save directly to send-mail-function.
4836 Update message-send-mail-function too.
4837
4838 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4839
464cdf56
CS
48402011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4841
4842 * progmodes/python.el (python-mode-map): Use correct function to
4843 start python interpreter from menu-bar (as reported by Geert
4844 Kloosterman).
4845 (inferior-python-mode-map): Fix typo.
393a301e 4846 (python-shell-map): Remove.
464cdf56 4847
d37e5c87
DD
48482011-09-03 Deniz Dogan <deniz@dogan.se>
4849
4850 * net/rcirc.el (rcirc-print): Simplify code for
4851 rcirc-scroll-show-maximum-output. There is no need to walk
4852 through all windows to find the right one.
4853
f3ada0ee
CS
48542011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4855
4856 * help.el (help-return-method): Doc fix.
4857
1f3c99ca
MR
48582011-09-03 Martin Rudalics <rudalics@gmx.at>
4859
4860 * window.el (window-deletable-p): Don't return a non-nil value
4861 when there's a buffer that was shown in the window before.
4862 (Bug#9419)
393a301e
SM
4863 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4864 Set window's previous buffers to nil.
1f3c99ca 4865
a3cf097f
EZ
48662011-09-03 Eli Zaretskii <eliz@gnu.org>
4867
4868 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4869 newline before and after the tag line, so it doesn't interfere
4870 with determining the paragraph direction of bidirectional text.
4871
3d03de90
LL
48722011-09-03 Leo Liu <sdl.web@gmail.com>
4873
4874 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
4875
c3313451
CY
48762011-09-02 Chong Yidong <cyd@stupidchicken.com>
4877
393a301e 4878 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
4879 (pop-to-buffer): Change interactive spec. Pass second argument
4880 directly to display-buffer.
4881 (display-buffer): Fix interactive spec. Use functionp to
4882 distinguish between a function and a list of functions.
4883
4884 * abbrev.el (edit-abbrevs):
4885 * arc-mode.el (archive-extract):
4886 * autoinsert.el (auto-insert):
4887 * bookmark.el (bookmark-bmenu-list):
4888 * files.el (find-file):
4889 * view.el (view-buffer):
4890 * progmodes/compile.el (compilation-goto-locus):
4891 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4892
89894cd8
CY
48932011-09-02 Chong Yidong <cyd@stupidchicken.com>
4894
4895 * window.el (display-buffer-alist): Doc fix.
4896 (display-buffer): Add docstring. Don't treat
4897 display-buffer-default specially.
4898 (display-buffer-reuse-selected-window)
4899 (display-buffer-same-window, display-buffer-maybe-same-window)
4900 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4901 (display-buffer-pop-up-window)
4902 (display-buffer-reuse-or-pop-window)
4903 (display-buffer-use-some-window): New functions.
4904 (display-buffer-default-action): Use them.
393a301e 4905 (display-buffer-default): Delete.
89894cd8
CY
4906 (pop-to-buffer-1): Fix choice of actions.
4907
ae0bc9fb
SM
49082011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * minibuffer.el (completion--insert-strings): Don't get confused by
4911 completion entries that end with an LF char.
4912
e9d90883
EZ
49132011-09-01 Eli Zaretskii <eliz@gnu.org>
4914
4915 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4916
437014c8
CY
49172011-09-01 Chong Yidong <cyd@stupidchicken.com>
4918
4919 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
4920 (display-buffer-same-window, display-buffer-other-window):
4921 New functions.
437014c8
CY
4922 (pop-to-buffer-1): New function. Use the above.
4923 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 4924 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
4925
4926 * view.el (view-buffer-other-window, view-buffer-other-frame):
4927 Just use pop-to-buffer.
4928
a5e063d5
TV
49292011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4930
4931 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
4932
793d32bb
WH
49332011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
4934
4935 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
4936
d65e4c15
RS
49372011-08-31 Richard Stallman <rms@gnu.org>
4938
4939 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4940 of the separation of rmail-view-buffer from rmail-buffer.
4941 If you say no to "replace original", the decrypt is in the
4942 view buffer. If you say yes, the decrypt goes into the
4943 rmail buffer also.
4944
f818cd2a
MR
49452011-08-31 Martin Rudalics <rudalics@gmx.at>
4946
4947 * window.el (display-buffer-window): Rewrite doc-string.
4948 (display-buffer-record-window): New function.
4949 (display-buffer-macro-specifiers)
4950 (display-buffer-even-window-sizes, display-buffer-set-height)
4951 (display-buffer-set-width, display-buffer-in-window)
4952 (display-buffer-reuse-window, display-buffer-split-specifiers)
4953 (display-buffer-side-specifiers, display-buffer-split-window-1)
4954 (display-buffer-split-window, display-buffer-split-atom-window)
4955 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4956 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
4957 (display-buffer-other-window-means-other-frame)
4958 (display-buffer-normalize-special)
4959 (display-buffer-normalize-default)
4960 (display-buffer-normalize-argument)
4961 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
4962 (display-buffer-normalize-specifiers, display-buffer-frame)
4963 (display-buffer-same-window, display-buffer-same-frame)
4964 (display-buffer-other-window)
4965 (display-buffer-same-frame-other-window)
4966 (display-buffer-other-frame, pop-to-buffer-same-window)
4967 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
4968 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
4969 (switch-to-buffer-same-frame)
4970 (switch-to-buffer-other-window-same-frame)
4971 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
4972 (display-buffer-alist-set-1, display-buffer-alist-set-2)
4973 (display-buffer-alist-set): Remove.
4974 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
4975 (special-display-regexps, special-display-function):
4976 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
4977 parameter.
4978 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
4979 (special-display-frame-alist, special-display-popup-frame)
4980 (same-window-buffer-names, same-window-regexps, same-window-p)
4981 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4982 (split-window-preferred-function, split-height-threshold)
4983 (split-width-threshold, window-splittable-p)
4984 (split-window-sensibly, window--try-to-split-window)
4985 (window--frame-usable-p, even-window-heights)
4986 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
4987 (window--display-buffer-2, display-buffer-other-frame):
4988 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
4989 (display-buffer-default, display-buffer-assq-regexp): New functions.
4990 (display-buffer-alist): Rewrite doc-string.
4991 (display-buffer-default-action)
4992 (display-buffer-overriding-action): New variables.
4993 (display-buffer, switch-to-buffer): Rewrite.
4994 (pop-to-buffer): Restore Emacs 23 behavior but use
4995 window-normalize-buffer-to-display.
4996 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
4997 Restore Emacs 23 behavior but use
4998 window-normalize-buffer-to-switch-to.
4999 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5000 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5001 Rewrite using Emacs 23 options.
f818cd2a 5002
5bc3b51d
MA
50032011-08-31 Michael Albinus <michael.albinus@gmx.de>
5004
5005 * net/tramp.el (tramp-root-regexp): Remove.
5006 (tramp-completion-file-name-regexp-unified)
5007 (tramp-completion-file-name-regexp-separate)
5008 (tramp-completion-file-name-regexp-url): Don't use leading volume
5009 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5010 (tramp-drop-volume-letter): Simplify definition.
5011 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5012
b1a4f8e1
SM
50132011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5016 (bug#9356).
5017
5664fa7b
RT
50182011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5019
b1a4f8e1 5020 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5021
9a45d6c3
JL
50222011-08-29 Juri Linkov <juri@jurta.org>
5023
5024 * isearch.el (isearch-done): Don't display message "Mark saved"
5025 when arg `edit' is non-nil to prevent its flicker in the echo area.
5026
fb87e0fb
CY
50272011-08-28 Chong Yidong <cyd@stupidchicken.com>
5028
5029 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5030 obsolete packages for deletion.
5031
09ac1c2a
CS
50322011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5033
5034 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5035 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5036 view-mode from help-mode.
5037 (help-xref-override-view-map): Remove.
5038 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5039 view-mode is not used anymore.
5040
7a1ff57f
CY
50412011-08-28 Chong Yidong <cyd@stupidchicken.com>
5042
5043 * server.el (server-port): Doc fix.
5044
b9696605
CY
5045 * cus-theme.el (custom-theme-choose-mode): Inherit from
5046 special-mode (Bug#9124).
5047 (custom-theme-choose-mode-map): Add special-mode to parent.
5048
ef8cdf8c
AM
50492011-08-28 Alan Mackenzie <acm@muc.de>
5050
5051 * progmodes/cc-fonts.el
5052 (c-make-font-lock-BO-decl-search-function): New function.
5053 (c-basic-matchers-after - "Fontify the clauses after various
5054 keywords"): Extract the three keyword lists for the 3 erroneous
5055 constructs from the list of four, and use the new function above
5056 in place of an old one.
5057
27de4e20
DD
50582011-08-28 Deniz Dogan <deniz@dogan.se>
5059
5060 * net/rcirc.el (rcirc-insert-prev-input)
5061 (rcirc-insert-next-input): Remove unused argument.
5062
356a3681
SM
50632011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5064
5065 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5066
3fc9b218
AM
50672011-08-27 Alan Mackenzie <acm@muc.de>
5068
5069 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5070 handle function pointer parameters properly.
5071
538a061c
MR
50722011-08-27 Martin Rudalics <rudalics@gmx.at>
5073
5074 * window.el (display-buffer-reuse-window): Fix case where
5075 selected window was reused with non-nil OTHER-WINDOW argument.
5076 (Bug#9381)
5077
35b1c40c
DD
50782011-08-27 Deniz Dogan <deniz@dogan.se>
5079
5080 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5081 oftc's NickServ messages.
5082
2f6a3e79
GM
50832011-08-27 Glenn Morris <rgm@gnu.org>
5084
5085 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5086
7254299e
CY
50872011-08-26 Chong Yidong <cyd@stupidchicken.com>
5088
5089 * emacs-lisp/package.el (package-install): Call package-initialize
5090 if called interactively.
5091
f8ccf167
LL
50922011-08-26 Leo Liu <sdl.web@gmail.com>
5093
5094 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5095
3e8cd5ce
JL
50962011-08-25 Juri Linkov <juri@jurta.org>
5097
5098 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5099 `search-whitespace-regexp' (bug#9364).
5100
93eb7113
JL
51012011-08-25 Juri Linkov <juri@jurta.org>
5102
5103 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5104 `regexp-search-ring' to their global values to protect from
5105 updating by `read-from-minibuffer' (bug#9185).
5106
f65d1611
JL
51072011-08-25 Juri Linkov <juri@jurta.org>
5108
5109 * textmodes/ispell.el (ispell-command-loop): Add newline
5110 at the end of the "Use option `i'..." line.
5111
f1cf7a31
JL
51122011-08-25 Juri Linkov <juri@jurta.org>
5113
5114 * battery.el (display-battery-mode): If `battery-status-function'
5115 or `battery-mode-line-format' is nil, display the message and set
5116 `display-battery-mode' to nil (bug#9363).
5117
0c95fcf7
EZ
51182011-08-25 Eli Zaretskii <eliz@gnu.org>
5119
5120 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5121 bidi-string-mark-left-to-right; they are unnecessary now.
5122
a2ebe600
DD
51232011-08-25 Deniz Dogan <deniz@dogan.se>
5124
5125 * net/quickurl.el: Documentation typo fixes.
5126
e4ed06f1
CY
51272011-08-25 Chong Yidong <cyd@stupidchicken.com>
5128
5129 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5130
e5f1c99e
GM
51312011-08-25 Glenn Morris <rgm@gnu.org>
5132
b2948976
GM
5133 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5134
e5f1c99e
GM
5135 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5136 (smtpmail-via-smtp): Handle nil response from smtp.
5137
f22f4808
JL
51382011-08-24 Juri Linkov <juri@jurta.org>
5139
5140 * proced.el (proced-marked): Inherit from `error' instead of
5141 `font-lock-warning-face'.
5142
5143 * ibuffer.el (ibuffer-marked-face): Change default face from
5144 `font-lock-warning-face' to `warning'.
5145 (ibuffer-deletion-face): Change default face from
5146 `font-lock-type-face' to `error'.
5147
5148 * battery.el (battery-update): Use the face `error' instead of
5149 `font-lock-warning-face' (bug#6117).
5150
6a93965e
JL
51512011-08-24 Juri Linkov <juri@jurta.org>
5152
5153 * faces.el (success): Change face color from "Green3" to
5154 "ForestGreen" on light background (bug#9353).
5155
1ed43b09
CY
51562011-08-24 Chong Yidong <cyd@stupidchicken.com>
5157
5664fa7b
RT
5158 * window.el (quit-window): Rename from quit-restore-window.
5159 Use same arglist as old quit-window.
1ed43b09
CY
5160 (frame-auto-delete): Doc fix.
5161
5162 * view.el (view-mode-exit): Use quit-window.
5163
11dcdbb2
JL
51642011-08-24 Juri Linkov <juri@jurta.org>
5165
5166 * isearch.el (isearch-ring-adjust1): Start visiting previous
5167 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5168 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5169 for empty search string (when the last search string is reused
5170 automatically) to adjust the isearch ring to the last element and
5171 prepare the correct index for further M-p commands (bug#9185).
5172
de62b4df
KH
51732011-08-24 Kenichi Handa <handa@m17n.org>
5174
5175 * international/ucs-normalize.el: If decomposition property of
5176 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5177 nil.
5178 (nfd, nfkd): Likewise.
5179
963b492b
SM
51802011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5181
5182 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5183 from process filters aren't reliably transmitted to the surrounding
5184 accept-process-output.
5185 (mpc-proc-check): New function.
5186 (mpc-proc-sync): Use it (bug#8293)
5187
93b6b5e1
SM
51882011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5189
5190 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5191 Add compatibility functions (bug#9313).
5192
bca633fb
EZ
51932011-08-23 Eli Zaretskii <eliz@gnu.org>
5194
b177498a
EZ
5195 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5196
6df6ae42 5197 * international/uni-bidi.el: Regenerate.
bca633fb 5198
0902a04e
KH
51992011-08-23 Kenichi Handa <handa@m17n.org>
5200
5201 * international/charprop.el:
5202 * international/uni-bidi.el:
5203 * international/uni-category.el:
5204 * international/uni-combining.el:
5205 * international/uni-comment.el:
5206 * international/uni-decimal.el:
5207 * international/uni-decomposition.el:
5208 * international/uni-digit.el:
5209 * international/uni-lowercase.el:
5210 * international/uni-mirrored.el:
5211 * international/uni-name.el:
5212 * international/uni-numeric.el:
5213 * international/uni-old-name.el:
5214 * international/uni-titlecase.el:
5215 * international/uni-uppercase.el: Regenerate.
5216
3bbf23bc
MR
52172011-08-23 Martin Rudalics <rudalics@gmx.at>
5218
5219 * help.el (help-window-setup): Fix message displayed when other
5220 window is reused. (Bug#9341)
5221
b3fd59bd
SM
52222011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5223
1802e444
SM
5224 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5225 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5226
b3fd59bd
SM
5227 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5228 Mark obsolete.
5229 * shell.el (shell-parse-pcomplete-arguments): New function.
5230 (shell-completion-vars): Use it instead (bug#9160).
5231
4eb61348
SM
52322011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5233
867cab74
SM
5234 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5235 strings and comments (bug#9333).
5236
4eb61348
SM
5237 * emacs-lisp/debug.el (debug-arglist): New function.
5238 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5239 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5240
262a1439
JL
52412011-08-22 Juri Linkov <juri@jurta.org>
5242
56ee679c
JL
5243 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5244 Revert regexp that highlights output switches to its old
5245 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5246
262a1439
JL
5247 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5248 to check for empty output (bug#9226).
5249
f13f86fb
CY
52502011-08-22 Chong Yidong <cyd@stupidchicken.com>
5251
5252 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5253 symbol-constituent as the default, as that stops font-lock from
5254 working properly (Bug#8843).
5255
c65c9622
LMI
52562011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5257
5258 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5259 `coding-system-for-*' around the process open call to avoid
5260 auth-source side effects.
e7f2c178 5261 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5262 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5263 probe hangs.
c65c9622 5264
23a8a5ab
CY
52652011-08-21 Chong Yidong <cyd@stupidchicken.com>
5266
ff98b2dd
CY
5267 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5268
23a8a5ab
CY
5269 * emacs-lisp/find-func.el (find-function-noselect): New arg
5270 lisp-only.
5271
5272 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5273 signal an error for built-in functions (Bug#6664).
5274
f5e3c598
LMI
52752011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5276
5277 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5278 (smtpmail-try-auth-methods): Use it.
5279
a3f2468a
CY
52802011-08-21 Chong Yidong <cyd@stupidchicken.com>
5281
2c34e8da
CY
5282 * font-lock.el (font-lock-fontify-region)
5283 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5284 (font-lock-default-unfontify-buffer)
5285 (font-lock-default-fontify-region)
5286 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5287
b3fd59bd
SM
5288 * progmodes/compile.el (compilation-error-properties):
5289 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5290 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5291 `ant' regexp.
ee31aabc 5292
a3f2468a
CY
5293 * net/browse-url.el (browse-url-firefox): Don't call
5294 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5295
8e999f70
GM
52962011-08-20 Glenn Morris <rgm@gnu.org>
5297
c21a496a
GM
5298 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5299
59ee0542
GM
5300 * tutorial.el (tutorial--default-keys): Update some default bindings.
5301
8e999f70
GM
5302 * files.el (hack-local-variables): Fully ignore case for "mode:".
5303
e3715033
AM
53042011-08-20 Alan Mackenzie <acm@muc.de>
5305
5306 Resolve invalid use of a regexp in regexp-opt.
5307
4d61f28d
JB
5308 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5309 detection for a java annotation.
e3715033 5310
4d61f28d 5311 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5312 detection for a java annotation.
5313
4d61f28d
JB
5314 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5315 handling for java.
e3715033
AM
5316 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5317
04ed2e9c
CY
53182011-08-20 Chong Yidong <cyd@stupidchicken.com>
5319
5320 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5321 (Bug#9274).
5322
826cee64
AM
53232011-08-20 Alan Mackenzie <acm@muc.de>
5324
58179cce 5325 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5326 such a construct. Mainly for when jit-lock etc. starts a chunk
5327 here.
5328
58179cce 5329 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5330 variable.
58179cce 5331 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5332 c-make-font-lock-search-function.
5333 (c-make-font-lock-search-function): Use the above function.
5334 (c-make-font-lock-context-search-function): New function.
5335 (c-cpp-matchers): Enhance the preprocessor expression case with
5336 the above function
5337 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5338 which takes an expression.
5339
5340 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5341
13009bd8
MR
53422011-08-20 Martin Rudalics <rudalics@gmx.at>
5343
5344 * window.el (display-buffer-reuse-window)
5345 (display-buffer-pop-up-window): Don't reuse or split a side
5346 window.
5347
9234ff7f
GM
53482011-08-19 Glenn Morris <rgm@gnu.org>
5349
5350 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5351 Downcase "Mode:". (Bug#9331)
9234ff7f 5352
f635daa1
CY
53532011-08-18 Chong Yidong <cyd@stupidchicken.com>
5354
5355 * international/characters.el: Add L and R categories.
5356
5357 * subr.el (bidi-string-mark-left-to-right): Rename from
5358 string-mark-left-to-right. Use category search.
5359
5360 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5361
bc987f8b
JL
53622011-08-18 Juri Linkov <juri@jurta.org>
5363
5364 * faces.el (error, warning, success): New faces with definitions
5365 copied from old default values of `font-lock-warning-face',
5366 `compilation-warning', `compilation-info' (bug#6117).
5367
5368 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5369
5370 * progmodes/compile.el (compilation-error): Inherit from `error'.
5371 (compilation-warning): Inherit from `warning'.
5372 (compilation-info): Inherit from `success'.
5373
5374 * dired.el (dired-marked): Inherit from `warning'.
5375 (dired-flagged): Inherit from `error'.
5376
57173b96
LMI
53772011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5378
3e79eb87
LMI
5379 * mail/smtpmail.el (auth-source): Require to avoid problems with
5380 binding variables (bug#9298). Also clean up some unused
5381 autoloads.
5382
b3fd59bd
SM
5383 * net/network-stream.el (network-stream-open-starttls):
5384 Support using starttls.el without using gnutls-cli.
57173b96 5385
02b404de
JL
53862011-08-17 Juri Linkov <juri@jurta.org>
5387
5388 * progmodes/grep.el (rgrep): Handle the case when
5389 `grep-find-command' is a cons cell (bug#9278).
5390
8c9177f2
MR
53912011-08-17 Martin Rudalics <rudalics@gmx.at>
5392
5393 * window.el (display-buffer-pop-up-frame): Run frame creation
5394 function with BUFFER current (as special-display-popup-frame
5395 does). Reported by Drew Adams.
5396
3644a0ab
DU
53972011-08-17 Daiki Ueno <ueno@unixuser.org>
5398
5399 * epa-mail.el: Simplify GnuPG group expansion using
5400 epg-expand-group.
5401 (epa-mail-group-alist, epa-mail-group-modtime)
5402 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5403 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5404 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5405 Remove.
5406
5e617bc2 54072011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5408
5409 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5410
9c4aeabf
AM
54112011-08-16 Alan Mackenzie <acm@muc.de>
5412
5413 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5414 Correct, to avoid the inside of macros.
5415
3a99bf64
RS
54162011-08-16 Richard Stallman <rms@gnu.org>
5417
04963aa8
RS
5418 * epa-mail.el: Handle GnuPG group definitions.
5419 (epa-mail-group-alist, epa-mail-group-modtime)
5420 (epa-mail-gnupg-conf-file): New variables.
5421 (epa-mail-parse-groups, epa-mail-sync-groups)
5422 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5423 (epa-mail-expand-recipients): New functions.
5424 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5425
177549d0
RS
5426 * mail/rmail.el (rmail-epa-decrypt): New command.
5427
fe38beef
RS
5428 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5429 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5430 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5431 (epa-decrypt-armor-in-region): Make error message clearer.
5432
934eacb9
SM
54332011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5434
5435 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5436 and "a2b" to "ab" for `prefix'.
5437
d024fb4e
CY
54382011-08-14 Chong Yidong <cyd@stupidchicken.com>
5439
5440 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5441 filter groups.
de148fee
CY
5442 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5443 Fourquet (Bug#8804).
d024fb4e 5444
62f1ca49
JB
54452011-08-12 Juanma Barranquero <lekktu@gmail.com>
5446
5447 * startup.el (argi): Declare as global variable (bug#9275).
5448
9ccaaa4b
CY
54492011-08-12 Chong Yidong <cyd@stupidchicken.com>
5450
5451 * subr.el (string-mark-left-to-right): Search the entire string
5452 for RTL script, not just the terminating character. Doc fix.
5453
a3dae87a
SM
54542011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5455
6cd18349
SM
5456 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5457 New function.
5458 (js--regexp-literal, js-syntax-propertize-function): Remove.
5459 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5460 (js-mode-map): Don't rebind electric keys.
5461 (js-insert-and-indent): Remove.
5462 (js-mode): Setup electric-layout and electric-indent instead.
5463
a3dae87a
SM
5464 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5465
9d5cb631
DU
54662011-08-12 Daiki Ueno <ueno@unixuser.org>
5467
5468 * epa.el (epa-progress-callback-function): Fix the logic of
5469 displaying progress.
5470 * epa-file.el (epa-file-insert-file-contents): Make progress
5471 display more user-friendly.
5472 (epa-file-write-region): Ditto.
5473
3e26a4a2
CY
54742011-08-10 Chong Yidong <cyd@stupidchicken.com>
5475
5476 * subr.el (string-mark-left-to-right): New function.
5477
5478 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5479 Use string-mark-left-to-right.
5480 (list-buffers-noselect): Caller changed.
5481
a3dae87a
SM
5482 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5483 Use string-mark-left-to-right.
3e26a4a2
CY
5484 (tabulated-list-print): Recenter after moving point.
5485
ac8cf6e6
JL
54862011-08-10 Juri Linkov <juri@jurta.org>
5487
5488 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5489 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5490 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5491
8d96c9a4
CY
54922011-08-09 Chong Yidong <cyd@stupidchicken.com>
5493
5494 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5495 (Bug#7554).
5496
7be1c708 54972011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5498
5499 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5500 character. (Bug#6594)
5501
37e11a63
CY
55022011-08-08 Chong Yidong <cyd@stupidchicken.com>
5503
839dde57
CY
5504 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5505 (image-dired--with-db-file): New macro.
5506 (image-dired-write-tags, image-dired-remove-tag)
5507 (image-dired-create-gallery-lists, image-dired-write-comments)
5508 (image-dired-get-comment, image-dired-mark-tagged-files)
5509 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5510 (image-dired-gallery-generate): Use insert-file-contents.
5511
37e11a63
CY
5512 * time.el (display-time-world-list, display-time-world-display):
5513 * time-stamp.el (time-stamp-string):
5514 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5515 set-time-zone-rule (Bug#7337).
5516
0b4946c4
DU
55172011-08-08 Daiki Ueno <ueno@unixuser.org>
5518
5519 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5520 (epg-error-to-string, epg-errors-to-string): New function.
5521 (epg-wait-for-completion): Reverse errors list.
5522 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5523 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5524 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5525 (epg-sign-keys, epg-generate-key-from-file)
5526 (epg-generate-key-from-string): Format errors by using
5527 epg-errors-to-string (bug#9255).
5528 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5529
75bfc667
JL
55302011-08-07 Juri Linkov <juri@jurta.org>
5531
5532 * faces.el (list-faces-display): Remove extra angle bracket
5533 from `help-mode-map'.
5534
5535 * info.el (Info-history-toc-nodes): Doc fix.
5536
5537 * longlines.el (longlines-mode): Doc fix.
5538
673e08bb
SM
55392011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5540
4640dd88
SM
5541 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5542 of statements and in a few more cases (bug#9183).
5543
673e08bb
SM
5544 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5545 New functions.
5546 (cl-transform-lambda): Use them (bug#9239).
5547
89b3f019
MR
55482011-08-05 Martin Rudalics <rudalics@gmx.at>
5549
5550 * window.el (display-buffer-same-window)
5551 (display-buffer-same-frame, display-buffer-other-window)
5552 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5553 (pop-to-buffer-other-window)
5554 (pop-to-buffer-same-frame-other-window)
5555 (pop-to-buffer-other-frame): Make them defuns.
5556 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5557
640c8776
SM
55582011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5559
5560 * subr.el (make-composed-keymap): Move from C. Change calling
5561 convention, and improve docstring to bring attention to a subtle point.
5562 * minibuffer.el (completing-read-default): Adjust accordingly.
5563
63648a95
MA
55642011-08-03 Michael Albinus <michael.albinus@gmx.de>
5565
5566 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5567 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5568
5569 * net/trampver.el: Update release number.
5570
b796c9b7
SM
55712011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5572
5573 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5574 "in" (bug#9190).
5575
2239d7d5
LMI
55762011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5577
e07dd7c3
LMI
5578 * mail/sendmail.el (sendmail-query-once): Restore the current
5579 buffer after querying (bug#9074).
5580
0e6a2bd7
LMI
5581 * dired.el (dired-flagged): Use different faces for marked and
5582 flagged files (bug#6117).
5583
ce887515
LMI
5584 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5585 (bug#4433).
5586
92f2affc
LMI
5587 * ido.el (ido-mode): Switch off the message if called
5588 non-interactively.
5589
57d5aff0
LMI
5590 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5591 before 587, since it appears that that's more likely to work for
5592 more people.
5593
98cd6c18 5594 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5595 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5596 exist.
5597
b96dec83
LMI
5598 * info.el: Remove the `Info-beginning-of-buffer' function
5599 (bug#8325).
5600
b796c9b7
SM
5601 * net/network-stream.el (network-stream-open-starttls):
5602 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5603
d90e2ea0
MR
56042011-08-01 Martin Rudalics <rudalics@gmx.at>
5605
5606 * window.el (display-buffer-in-window): Don't set dedicated status
5607 of window here (Bug#9215).
5608 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5609 (display-buffer-pop-up-side-window)
b796c9b7 5610 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5611
cca09170
SM
56122011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5613
5614 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5615 before binding generated-autoload-file.
5616
027b979c
DD
56172011-08-01 Deniz Dogan <deniz@dogan.se>
5618
5619 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5620
3c7ee4f3
MA
56212011-07-30 Michael Albinus <michael.albinus@gmx.de>
5622
5623 Sync with Tramp 2.2.2.
5624
5625 * net/trampver.el: Update release number.
5626
2cc8e51a
JL
56272011-07-30 Juri Linkov <juri@jurta.org>
5628
5629 * dired-aux.el (dired-touch-initial): Remove function.
5630 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5631 current time, and `default' to the last modification time of the
5632 current marked file (bug#6887).
5633
a514d856
JM
56342011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5635
5636 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5637 numeric argument to read-number (bug#9163).
a514d856 5638
8a7eddd7
MA
56392011-07-27 Michael Albinus <michael.albinus@gmx.de>
5640
5641 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5642 connection process, it could be nil.
5643
1ddd96f5
LL
56442011-07-27 Leo Liu <sdl.web@gmail.com>
5645
5646 Simplify url handling in rcirc-mode.
5647
5648 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5649 (rcirc-browse-url-at-mouse): Remove.
5650 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5651
b248a85d
AM
56522011-07-26 Alan Mackenzie <acm@muc.de>
5653
5654 Fontify bitfield declarations properly.
5655
5656 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5657 (c-symbol-chars): Now exported as a lang variable.
5658 (c-not-primitive-type-keywords): New lang variable.
5659
5660 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5661 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5662 parsed as a bitfield declaration.
b248a85d 5663
b796c9b7
SM
5664 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5665 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5666 (c-punctuation-in): New function.
5667 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5668 declarations properly.
5669
68575ab0
UJ
56702011-07-26 Ulf Jasper <ulf.jasper@web.de>
5671
5672 * calendar/icalendar.el (icalendar--all-events): Take care of
5673 multiple vcalendars in a single file.
b796c9b7 5674 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5675
0f0a88b9
DD
56762011-07-25 Deniz Dogan <deniz@dogan.se>
5677
5678 * image.el (insert-image): Clarifying docstring.
5679
0b3f36df
MA
56802011-07-24 Michael Albinus <michael.albinus@gmx.de>
5681
5682 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5683 `tramp-send-command-and-check' if there is no error.
5684 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5685
a9901f61
AM
56862011-07-22 Alan Mackenzie <acm@muc.de>
5687
5688 Prevent cc-langs.elc being loaded at run time.
5689
5690 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5691 cc-langs.
5692
4d61f28d 5693 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5694 "(require 'cc-langs)". Quote a form so it will evaluate at
5695 (cc-mode's) compilation time.
5696
11d074b2
MA
56972011-07-22 Michael Albinus <michael.albinus@gmx.de>
5698
5699 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5700 loading. (Bug#9114)
5701
938b94c8
MR
57022011-07-21 Martin Rudalics <rudalics@gmx.at>
5703
5704 * window.el (display-buffer-pop-up-window)
5705 (display-buffer-pop-up-side-window)
5706 (display-buffer-in-side-window): Call display-buffer-set-height
5707 and display-buffer-set-width after setting the new window's
b796c9b7 5708 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5709
bfa4f190
SS
57102011-07-20 Sam Steingold <sds@gnu.org>
5711
5712 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5713 (etags-tags-included-tables): Call `convert-standard-filename' on
5714 the file names contained in TAGS so that windows Emacs can handle
5715 TAGS files created by cygwin ctags.
5716
8ca42262
LMI
57172011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5718
5719 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5720 which apparently didn't work.
5721
5db2afd2 57222011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5723
5db2afd2
RW
5724 * proced.el (proced-send-signal): For *Marked Processes* buffer
5725 put point at beginning of buffer.
5726
92e15d10
SB
57272011-07-19 Stephen Berman <stephen.berman@gmx.net>
5728
5729 * proced.el (proced-format): Make header lines align with the text
5730 (bug#1779).
5731
1bfd59e5
LMI
57322011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5733
5734 * view.el (view-buffer): Allow running in `special' modes if we're
5735 visiting a file (bug#8615).
5736
f5aae37c
MR
57372011-07-19 Martin Rudalics <rudalics@gmx.at>
5738
5739 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5740 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5741 New functions.
f5aae37c
MR
5742 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5743 more accurately.
5744
bf2c1571
AM
57452011-07-18 Alan Mackenzie <acm@muc.de>
5746
5747 Fontify declarators properly when, e.g., a jit-lock chunk begins
5748 inside a declaration.
5749
5750 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5751
b796c9b7
SM
5752 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5753 New function.
bf2c1571
AM
5754 (c-complex-decl-matchers): Insert reference to
5755 c-font-lock-enclosing-decls.
5756
5757 * progmodes/cc-engine.el (c-backward-single-comment):
5758 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5759 to nil around calls to (forward-comment -1).
5760
4e190b80
LMI
57612011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5762
12dc863d
LMI
5763 * image.el (put-image): Doc typo fix.
5764
a762e966
LMI
5765 * progmodes/etags.el (tags-search): Doc typo fix.
5766
4e190b80
LMI
5767 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5768 password if we get errors 550 to 554.
5769
f019fb21
LMI
57702011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5771
b796c9b7 5772 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5773
81746738
LMI
5774 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5775 indentation character (bug#6380).
5776
3ee3a1b5
LMI
5777 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5778
c82f64de
LMI
5779 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5780 to clarify what the problem is (bug#4291).
5781
f019fb21
LMI
5782 * simple.el (current-kill): Clarify what
5783 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5784 (auto-fill-mode): Document `auto-fill-function' in relation to
5785 `auto-fill-mode' (bug#2470).
f019fb21 5786
0794775d
LM
57872011-07-16 Lawrence Mitchell <wence@gmx.li>
5788
5789 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5790 method if slot is read-only (bug#9035).
5791
be39b8cc
MR
57922011-07-16 Martin Rudalics <rudalics@gmx.at>
5793
b796c9b7 5794 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5795 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5796 selected before, see discussion of (Bug#8615), (Bug#6954).
5797 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5798
6ccf7859
GM
57992011-07-15 Glenn Morris <rgm@gnu.org>
5800
5801 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5802 Respect help-form.
6ccf7859 5803
87e86684
LM
58042011-07-09 Lawrence Mitchell <wence@gmx.li>
5805
5806 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5807 (gnutls-negotiate): Use it.
5808
d6066239
LMI
58092011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5810
b796c9b7
SM
5811 * net/gnutls.el (gnutls-negotiate):
5812 Upcase `gnutls-algorithm-priority'.
d6066239 5813
bd23ebc0
GM
58142011-07-15 Glenn Morris <rgm@gnu.org>
5815
c65bca65
GM
5816 * jka-compr.el (jka-compr-verbose): Move from here...
5817 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5818 Add missing :version tag.
5819 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5820
478615cc
LMI
58212011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5822
7b41decb
LMI
5823 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5824 (gnutls-negotiate): Use it.
5825
dbc44fcd
LMI
5826 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5827
06789f97
LMI
5828 * info.el (Info-beginning-of-buffer): New command.
5829 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5830 announcing `b' as the key (bug#8325).
ab896c37 5831 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5832
c39da690
LMI
5833 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5834
3aa5f34b
LMI
5835 * international/mule-cmds.el
5836 (describe-specified-language-support): Make the error message
5837 clearer (bug#8905).
5838
4bf0979f
LMI
5839 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5840
478615cc
LMI
5841 * isearch.el (isearch-barrier): Add a doc string, since it's
5842 mentioned in a function doc string (bug#8678).
5843
75c68aa1
MR
58442011-07-15 Martin Rudalics <rudalics@gmx.at>
5845
5846 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5847 buffer argument (Bug#9083) and self-identifying label argument.
5848
a7c33da2
GM
58492011-07-15 Glenn Morris <rgm@gnu.org>
5850
5851 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5852
2f5c6024
LMI
58532011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5854
5855 * man.el (Man-fontify-manpage): Fix message when formatting the
5856 man page (bug#7929).
5857
0bb23927 58582011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
5859
5860 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5861 argument LRM; if non-nil, append an invisible LRM character to the
5862 buffer name.
5863 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5864 last argument non-nil, when formatting buffer names.
0bb23927
EZ
5865 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5866 paragraph direction.
cce4b0a7 5867
621ef9ab
LMI
58682011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5869
d1583c48
LMI
5870 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5871 the man page name (bug#7929).
5872
6a57fb5f
LMI
5873 * image.el (put-image): Mention the `put-image' overlay property
5874 (bug#7834).
5875
d7956b14
LMI
5876 * scroll-bar.el (set-scroll-bar-mode): Mention that
5877 `scroll-bar-mode' lists the values (bug#7772).
5878
5b2d4a66
LMI
5879 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5880 command (bug#7729).
5881
7509a874
LMI
5882 * rect.el (apply-on-rectangle): Return the point after the last
5883 operation.
5884 (string-rectangle): Go to the point after the last operation
5885 (bug#7522).
5886
4fe74b19
LMI
5887 * printing.el (pr-toggle-region): Clarify the documentation
5888 slightly (bug#7493).
5889
b796c9b7
SM
5890 * time.el (display-time-update):
5891 Allow `display-time-mail-function' to return nil (bug#7158).
5892 Fix suggested by Detlev Zundel.
ab283561 5893
fc233c9d
LMI
5894 * vc/diff.el (diff): Clarify the order the file names are read
5895 (bug#7111).
5896
43f5740b
LMI
5897 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5898 the doc string (bug#7015).
5899
f2182a76
LMI
5900 * font-lock.el (font-lock-maximum-decoration): Mention what
5901 numeric levels mean (bug#6935).
5902
621ef9ab
LMI
5903 * startup.el (initial-buffer-choice): Don't mention the `none'
5904 selection, which is against policy.
5905
adc47434
MR
59062011-07-14 Martin Rudalics <rudalics@gmx.at>
5907
b796c9b7
SM
5908 * window.el (display-buffer-normalize-special):
5909 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 5910
7e5bfb8f
EZ
59112011-07-14 Eli Zaretskii <eliz@gnu.org>
5912
5913 * subr.el (version<, version<=, version=): Mention "-CVS" and
5914 "-12345" alpha version numbers.
5915
27fa387a
CY
59162011-07-14 Chong Yidong <cyd@stupidchicken.com>
5917
5918 * bindings.el: Add advertised binding for set-mark-command
5919 (Bug#5772).
5920
8bdfa064
CY
59212011-07-14 Chong Yidong <cyd@stupidchicken.com>
5922
5923 * bindings.el (mode-line-other-buffer):
5924 * bookmark.el (bookmark-bmenu-2-window):
5925 * bs.el (bs-cycle-next, bs-cycle-previous):
5926 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5927 switch-to-buffer.
5928
5929 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 5930 Delete.
8bdfa064 5931
5eba16a3
JB
59322011-07-14 Juanma Barranquero <lekktu@gmail.com>
5933
5934 * follow.el (follow-debug-message, follow-redisplay):
5935 * jka-cmpr-hook.el (with-auto-compression-mode):
5936 Fix typos in docstrings.
5937
15853710
LMI
59382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5939
a28e4607
LMI
5940 * subr.el (with-silent-modifications): Clarify somewhat what the
5941 macro inhibits (bug#6525).
5942
15853710
LMI
5943 * simple.el (eval-expression): Note what it does if called
5944 interactively (bug#6495).
5945
bee0fcef
CY
59462011-07-13 Chong Yidong <cyd@stupidchicken.com>
5947
b796c9b7
SM
5948 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
5949 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
5950
5951 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5952 Remove switch-to-buffer.
5953
58274504
LMI
59542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5955
bd2fcc8d
LMI
5956 * files.el (make-directory): Clarify that an error will be raised
5957 if there's an error (bug#6397).
5958
0f04b32c
LMI
5959 * startup.el (initial-buffer-choice): Add `none' as a choice
5960 (bug#6234).
5961
465c5fc8
LMI
5962 * subr.el (add-hook): Clarify section about buffer-local hooks
5963 (bug#6218).
5964
58274504
LMI
5965 * dired.el (dired-flagged): Clarify doc string (bug#6117).
5966
bead9a43
JB
59672011-07-13 Juanma Barranquero <lekktu@gmail.com>
5968
5969 * tabify.el (untabify): Preserve the current column so that point
5970 doesn't move (bug#6032).
5971
3af98a7b
LMI
59722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5973
b796c9b7
SM
5974 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
5975 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 5976
6240145a
GM
59772011-07-13 Glenn Morris <rgm@gnu.org>
5978
5979 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
5980 (dired-insert-directory): Give a message the first time
5981 if ls is found not to support --dired.
5982
1d8c2ccc
LMI
59832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5984
5985 * simple.el (toggle-truncate-lines): Clarify what is toggled
5986 (bug#5580). Text by Drew Adams.
5987
5fc4038e
CY
59882011-07-13 Chong Yidong <cyd@stupidchicken.com>
5989
5990 * simple.el (blink-matching-open): Make the error message from the
5991 last change less verbose.
5992
bf6012e5
DN
59932011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
5994
5995 * font-lock.el (font-lock-comment-face): Use the high contrast
5996 "yellow" color for font-lock-comment-face on low color terminals
5997 using a dark background color (bug#4221).
5998
343c3b5a
LMI
59992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6000
7e9505c5
LMI
6001 * dired.el (dired-insert-set-properties): Make the doc string
6002 reflect what it does now (bug#5325).
6003
c26fdcf5
LMI
6004 * simple.el (blink-matching-open): Say that we were unable to find
6005 the match within the limit, if we're limited (bug#5122).
6006
bb388cc5
LMI
6007 * international/mule-cmds.el (prefer-coding-system): Add an
6008 example (bug#4869).
6009
343c3b5a
LMI
6010 * progmodes/etags.el (tags-search): Document `file-list-form'
6011 (bug#4731).
6012
2a517d45
LM
60132011-07-13 Lawrence Mitchell <wence@gmx.li>
6014
6015 * net/browse-url.el (browse-url-default-browser)
6016 (browse-url-browser-function): Make the default browser choice a
6017 bit more logical (bug#4300). Also clean up the doc string.
6018
b6c78ef2
JB
60192011-07-13 Juanma Barranquero <lekktu@gmail.com>
6020
6021 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6022 binary endings (bug#4440).
6023
1c4dd947
LMI
60242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6025
a2014063
LMI
6026 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6027 which can be pretty annoying (bug#8971).
6028
9c9c2d88
LMI
6029 * jka-compr.el (jka-compr-verbose): New variable, and use
6030 throughout (bug#8971).
6031
1c4dd947
LMI
6032 * info.el (Info-find-file): Fall back on the installation
6033 directory if we can't find the info node anywhere else.
6034
a1c9f41b
SO
60352011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6036
6037 * vc/vc.el (vc-revert-file):
6038 Don't set file time-stamp in the past. (Bug#5181)
6039
536f3d36
LMI
60402011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6041
7152b011
LMI
6042 * files.el (after-find-file): Give a better error message when
6043 trying to find a symlink that points to a file that doesn't exist
6044 (bug#4398).
6045
536f3d36
LMI
6046 * progmodes/cc-vars.el: Remove (probably) misleading comment
6047 (bug#4396).
6048
460c0fba
JB
60492011-07-12 Johan Bockgård <bojohan@gnu.org>
6050
6051 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6052
7a6bda45
CY
60532011-07-12 Chong Yidong <cyd@stupidchicken.com>
6054
6055 * mouse-sel.el: Hack restoring functionality, while keeping
6056 compatibility with 2010-07-03 changes to mouse selection.
6057 (mouse-sel-primary-overlay): New var.
6058 (mouse-sel-selection-alist): Use it.
6059 (mouse-sel-mode): Doc fix; remove points that are default features
6060 of mouse.el.
6061
c79598ef
JB
60622011-07-12 Johan Bockgård <bojohan@gnu.org>
6063
6064 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6065 Fix previous fix (bug#2490).
6066
ff8be6ef
RW
60672011-07-12 Roland Winkler <winkler@gnu.org>
6068
b796c9b7
SM
6069 * textmodes/bibtex.el (bibtex-initialize):
6070 Use pop-to-buffer-same-window.
ff8be6ef
RW
6071 (bibtex-search-entries): Fix interactive call.
6072
296ba3ee
LMI
60732011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6074
f5242a02 6075 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6076 Fontise bytecomp Error lines more correctly (bug#2490).
6077 Fix suggested by Johan Bockgård.
f5242a02 6078
296ba3ee
LMI
6079 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6080
6081 * dired-x.el (dired-guess-default): Use `delete-dups'.
6082
f69fd0d2
CY
60832011-07-12 Chong Yidong <cyd@stupidchicken.com>
6084
6085 * dired.el (dired-mark-prompt):
6086 * dired-aux.el (dired-read-shell-command): Doc fix.
6087
eab5dc07
LMI
60882011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6089
b796c9b7
SM
6090 * mail/sendmail.el (sendmail-query-once):
6091 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6092 emacs -Q.
6093
6094 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6095
eab5dc07
LMI
6096 * cus-edit.el (custom-file): Take an optional no-error variable.
6097 (customize-save-variable): Set the variable, and give a warning if
6098 running under "emacs -q".
6099
a1e65d42
JB
61002011-07-11 Juanma Barranquero <lekktu@gmail.com>
6101
6102 * loadhist.el (unload-feature-special-hooks):
6103 Add `auto-coding-functions', `fill-nobreak-predicate' and
6104 `find-directory-functions' (bug#5327).
6105
1d52da10
LMI
61062011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6107
be958f1d
LMI
6108 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6109
5bedb26c
LMI
6110 * cus-edit.el (custom-guess-name-alist): -alist variables should
6111 use the `alist' type (bug#3120). Suggested by Drew Adams.
6112
1d52da10
LMI
6113 * printing.el: Add documentation to all the `pr-toggle-' commands.
6114
cd394be1 61152011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6116
6117 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6118 backends where it makes sense (bug#2623).
6119
dcc88d8a
LMI
61202011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6121
c3de9feb
LMI
6122 * dired-x.el (dired-guess-default): Remove duplicate shell command
6123 entries (bug#2028).
8a93078b 6124 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6125 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6126
dcc88d8a
LMI
6127 * subr.el (remove-duplicates): New conveniency function.
6128
505e3645
LMI
61292011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6130
6131 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6132 (bug#1526).
6133
61342011-07-10 Martin Rudalics <rudalics@gmx.at>
6135
6136 * window.el (display-buffer-normalize-default): Don't invert
6137 meaning of even-window-heights. Reported by Eli Zaretskii
6138 <eliz@gnu.org>.
6139
455e4fa1
BR
61402011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6141
6142 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6143
8e0bc3e9
CY
61442011-07-10 Chong Yidong <cyd@stupidchicken.com>
6145
6146 * window.el (display-buffer): Fix arguments to
6147 display-buffer-reuse-window in last change.
6148
fa7c3228
CY
6149 * faces.el (link): Use a less saturated blue on light backgrounds.
6150
6151 * startup.el (fancy-startup-text, fancy-about-text)
6152 (fancy-startup-tail): Use font-lock faces, for background safety.
6153
c0a7f300
BN
61542011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6155
b796c9b7
SM
6156 * emulation/viper-cmd.el (viper-change-state-to-vi):
6157 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6158
4dc2a129
MR
61592011-07-09 Martin Rudalics <rudalics@gmx.at>
6160
6161 * window.el (display-buffer-default-specifiers): Remove.
6162 (display-buffer-macro-specifiers): Remove default specifiers.
6163 (display-buffer-alist): Default to nil.
b796c9b7 6164 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6165 (display-buffer-pop-up-window): Allow splitting internal
6166 windows. Check whether a live window was created.
6167 (display-buffer-other-window-means-other-frame)
6168 (display-buffer-normalize-arguments): Rename to
6169 display-buffer-normalize-argument and rewrite. Set the
6170 other-window specifier.
6171 (display-buffer-normalize-special): New function.
6172 (display-buffer-normalize-options): Rename to
6173 display-buffer-normalize-default and rewrite.
6174 (display-buffer-normalize-options-inhibit): Remove.
6175 (display-buffer-normalize-specifiers): Rewrite.
6176 (display-buffer): Process other-window specifier and call
6177 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6178 more faithfully.
b796c9b7 6179 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6180 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6181 (display-buffer-in-window, display-buffer-alist-set):
6182 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6183 <tassilo@member.fsf.org>.
6184
2d43b8c9
LL
61852011-07-09 Leo Liu <sdl.web@gmail.com>
6186
6187 * register.el (insert-register): Restore accidental change on
6188 2011-06-26. (Bug#9028)
6189
7f9b7c53
GM
61902011-07-09 Glenn Morris <rgm@gnu.org>
6191
6192 * subr.el (remq): Handle the empty list. (Bug#9024)
6193
f042cfd8
AS
61942011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6195
6196 * mail/sendmail.el (send-mail-function): No longer delay custom
6197 initialization.
6198 * custom.el (custom-initialize-delay): Doc fix.
6199
856b2f11
SM
62002011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6201
6202 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6203
afae1d68
MA
62042011-07-08 Michael Albinus <michael.albinus@gmx.de>
6205
6206 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6207 human-friendly prompt.
6208
0757af94
SM
62092011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6210
6211 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6212 provided by a particular plugin.
6213
d760b731
LMI
62142011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6215
6216 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6217 save customizations (with "emacs -Q"), just set the variable
6218 instead of erroring out.
6219
6220 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6221
cd79ce90
JL
62222011-07-08 Juri Linkov <juri@jurta.org>
6223
6224 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6225 (archive-zip-update-case): Use 7z if found by `executable-find'.
6226 The order of searching the available programs is the same as in
6227 `archive-zip-extract' (bug#8968).
6228
14cc04aa
CY
62292011-07-07 Chong Yidong <cyd@stupidchicken.com>
6230
6231 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6232 (menu-bar-options-menu): Tweak descriptions.
6233
0a1848ec
LMI
62342011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6235
6236 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6237 menu items into verb phrases (bug#1421). Also refill to fit under
6238 80 columns.
6239
f5bd0689
CY
62402011-07-07 Chong Yidong <cyd@stupidchicken.com>
6241
538e85c6
CY
6242 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6243 (Info-read-node-name): Doc fix (Bug#1084).
6244
f5bd0689
CY
6245 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6246 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6247 (end-of-sexp, beginning-of-sexp)
6248 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6249 (forward-symbol, forward-same-syntax, word-at-point)
6250 (sentence-at-point): Doc fix (Bug#1144).
6251
56ec5115
LMI
62522011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6253
f3f8e37f
LMI
6254 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6255 should cover it (bug#1281).
6256
0757af94 6257 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6258
e9fce1ac 6259 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6260 negotiation fails, then possibly try again with a non-encrypted
6261 connection (bug#9017).
6262
56ec5115
LMI
6263 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6264 be used.
6265
c2f9aec8
RS
62662011-07-07 Richard Stallman <rms@gnu.org>
6267
6268 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6269 property, and handle its changed format.
6270 Look for the correct line number.
6271 Use file's line contents (but not past first =) to find
6272 correct line in message.
6273
ef7b981d 62742011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6275
6276 * international/characters.el (build-unicode-category-table):
6277 Delete it.
0757af94 6278 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6279
0757af94 6280 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6281 to src/chartab.c.
6282 (get-char-code-property): Call unicode-property-table-internal to
6283 load a file. Call get-unicode-property-internal where necessary.
6284 (put-char-code-property): Call unicode-property-table-internal to
6285 load a file. Call put-unicode-property-internal where necessary.
6286 put-unicode-property-internal where necessary.
0757af94
SM
6287 (char-code-property-description):
6288 Call unicode-property-table-internal to load a file.
c805dec0
KH
6289
6290 * international/charprop.el:
6291 * international/uni-bidi.el:
6292 * international/uni-category.el:
6293 * international/uni-combining.el:
6294 * international/uni-comment.el:
6295 * international/uni-decimal.el:
6296 * international/uni-decomposition.el:
6297 * international/uni-digit.el:
6298 * international/uni-lowercase.el:
6299 * international/uni-mirrored.el:
6300 * international/uni-name.el:
6301 * international/uni-numeric.el:
6302 * international/uni-old-name.el:
6303 * international/uni-titlecase.el:
6304 * international/uni-uppercase.el: Regenerate.
6305
6306 * loadup.el: Load international/charprop.el before
6307 international/characters.
6308
e14b388a
CY
63092011-07-07 Chong Yidong <cyd@stupidchicken.com>
6310
6311 * window.el (next-buffer, previous-buffer): Signal an error if
6312 called from a minibuffer window.
6313
6314 * bindings.el: Revert 2011-07-04 change.
6315
354cf0ba
RS
63162011-07-06 Richard Stallman <rms@gnu.org>
6317
6318 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6319 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6320 Treat markers like ints.
6321 (rmail-mime-entity): Doc fix.
6322
a48868a7
LMI
63232011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6324
4906cd3d
LMI
6325 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6326 defcustom again for backwards compatibility.
6327
e0457abe
LMI
6328 * simple.el (shell-command-on-region): Fill.
6329
d67f7e1f
LMI
6330 * dired-aux.el (dired-kill-line): Add a doc string.
6331
fe204702
LMI
6332 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6333 to "\\sw\\|\\s_" (bug#358).
6334
a48868a7
LMI
6335 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6336 (dired-unmark-backward): Ditto.
6337 (dired-flag-backup-files): Ditto.
6338
6339 * dired-x.el (dired-mark-sexp): Ditto.
6340
aa8a705c
RS
63412011-07-06 Richard Stallman <rms@gnu.org>
6342
6343 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6344 (rmail-mime-entity): New arg TRUNCATED.
6345 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6346 New functions.
6347 (rmail-mime-save): Warn if entity is truncated.
6348 (rmail-mime-toggle-hidden): Likewise, for showing.
6349 (rmail-mime-process-multipart): Record when an entity is truncated.
6350
a9a936b9
RS
6351 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6352 if ENTITY is a string.
6353
1f2b92cb
LMI
63542011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6355
f4f73198 6356 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6357 of faces when `M-C-x'-ing their definitions (bug#8378).
6358 Also clean up the code slightly.
f4f73198 6359
12b16734 6360 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6361 because that makes the colors go away.
12b16734 6362
f0691d22
LMI
6363 * mail/sendmail.el (send-mail-function): Change the default to
6364 `sendmail-query-once'.
9e87df06 6365 (sendmail-query-once): Add an autoload cookie.
f0691d22 6366
1f2b92cb
LMI
6367 * net/network-stream.el (network-stream-open-starttls): Try using
6368 a plain connection even if the server offered STARTTLS, and we
6369 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6370 capability. This should make smtpmail.el work in slightly more
6371 configurations.
6372
1cdd2a1b
MA
63732011-07-06 Michael Albinus <michael.albinus@gmx.de>
6374
6375 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6376 New defun.
6377 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6378
fbcc67e2
MM
63792011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6380
6381 * progmodes/sql.el: Version 3.0
0757af94 6382 (sql-product-alist): Add product :completion-object,
fbcc67e2 6383 :completion-column, and :statement attributes.
0757af94 6384 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6385 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6386 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6387 ansi keywords.
6388 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6389 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6390 (sql-oracle-show-reserved-words): New function for development.
6391 (sql-product-font-lock): Simplify for source code buffers.
6392 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6393 New functions.
6394 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6395 (sql-mode-map): Add statement movement functions.
6396 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6397 New variable.
fbcc67e2
MM
6398 (sql-statement-regexp, sql-beginning-of-statement)
6399 (sql-end-of-statement, sql-signum): New functions.
0757af94 6400 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6401 (sql-show-sqli-buffer): Bug fix.
6402 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6403 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6404 with sql-interactive-mode.
6405 (sql-save-connection): Save buffer local settings.
0757af94 6406 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6407 (sql-product-interactive): Bug fix.
6408 (sql-preoutput-hold): New variable.
6409 (sql-interactive-remove-continuation-prompt): Bug fixes.
6410 (sql-debug-redirect): New variable.
6411 (sql-str-literal): New function.
6412 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6413 Redesign.
fbcc67e2
MM
6414 (sql-oracle-save-settings, sql-oracle-restore-settings)
6415 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6416 (sql-completion-object, sql-completion-column)
6417 (sql-completion-sqlbuf): New variables.
6418 (sql-build-completions-1, sql-build-completions)
6419 (sql-try-completion): New functions.
6420 (sql-read-table-name): Use them.
6421 (sql-contains-names): New buffer local variable.
6422 (sql-list-all, sql-list-table): Use it.
6423 (sql-oracle-completion-types): New variable.
6424 (sql-oracle-completion-object, sql-sqlite-completion-object)
6425 (sql-postgres-completion-object): New functions.
6426
d4eaeab1
GM
64272011-07-06 Glenn Morris <rgm@gnu.org>
6428
6429 * window.el (pop-to-buffer): Doc fix.
6430
322b7dab 64312011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6432
6433 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6434
322b7dab 64352011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6436
322b7dab 6437 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6438
322b7dab 6439 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6440
605dd5bf
CY
64412011-07-05 Chong Yidong <cyd@stupidchicken.com>
6442
6443 * button.el (button): Inherit from link face. Suggested by Dan
6444 Nicolaescu.
6445
7dbfa719
SM
64462011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6447
3db614b0
SM
6448 * progmodes/gdb-mi.el: Fit in 80 columns.
6449 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6450 switch-to-buffer.
6451
7dbfa719
SM
6452 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6453 if imenu is simply not configured (bug#8941).
6454
919d884a
KM
64552011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6456
6457 * allout.el (allout-post-undo-hook): New allout outline-change
6458 event hook to signal undo activity.
6459 (allout-post-command-business): Run allout-post-undo-hook if an
6460 undo just occurred.
7dbfa719
SM
6461 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6462 * allout-widgets.el (allout-widgets-after-undo-function):
6463 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6464 in the vicinity of an undo.
6465 (allout-widgets-mode): Include allout-widgets-after-undo-function
6466 on the new allout-post-undo-hook.
6467
450a0f09
SM
64682011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6469
6470 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6471 Let define-derived-mode define it.
6472 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6473 cycles of abbrev-table inheritance (bug#8998).
6474
2de69e00
RW
64752011-07-05 Roland Winkler <winkler@gnu.org>
6476
6477 * textmodes/bibtex.el: Add support for biblatex.
6478 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6479 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6480 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6481 (bibtex-entry-alist, bibtex-field-alist): New variables.
6482 (bibtex-entry-field-alist): Obsolete alias for
6483 bibtex-BibTeX-entry-alist.
6484 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6485 (bibtex-set-dialect): New command.
6486 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6487 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6488 Bind via bibtex-set-dialect.
2de69e00
RW
6489 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6490 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6491 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6492 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6493 Define via bibtex-set-dialect.
450a0f09
SM
6494 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6495 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6496 (bibtex-vec-push, bibtex-vec-incr): New functions.
6497 (bibtex-format-entry, bibtex-field-list)
6498 (bibtex-print-help-message, bibtex-validate)
6499 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6500
2dcdbdd9
SM
65012011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6502
6503 * progmodes/compile.el (compilation-goto-locus):
6504 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6505 * bs.el (bs-cycle-next, bs-cycle-previous):
6506 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6507 * bindings.el (mode-line-other-buffer):
6508 * autoinsert.el (auto-insert):
6509 * arc-mode.el (archive-extract):
6510 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6511
b27640fe
JB
65122011-07-05 Juanma Barranquero <lekktu@gmail.com>
6513
6514 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6515 Fix check of `emacs-lock-unlockable-modes'.
6516 Coerce true values of `emacs-lock--try-unlocking' to t.
6517
53bbe3ad
JB
65182011-07-05 Juanma Barranquero <lekktu@gmail.com>
6519
6520 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6521 * emacs-lock.el: New file.
6522
1d3cdbc7
JD
65232011-07-05 Julien Danjou <julien@danjou.info>
6524
6525 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6526 than `boundp' to check if face is set.
6527
9173deec
JB
65282011-07-05 Juanma Barranquero <lekktu@gmail.com>
6529
6530 * register.el (registerv-make):
6531 * window.el (window-min-height): Fix typos in docstrings.
6532
869795d6
JD
65332011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6534
9173deec 6535 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6536 Update doc string.
6537
b768cdcd
JB
65382011-07-04 Juanma Barranquero <lekktu@gmail.com>
6539
6540 * server.el (server-execute): Catch quit and call
6541 `server-return-error' to pass the error back to emacsclient and
6542 close the connection (bug#8942).
6543
13aa217b
KM
65442011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6545
6546 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6547 insecure exception for current topic. Also note that auto-saves
6548 are handled differently.
6549
6550 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6551 State variables for tracking auto-save inhibition situation.
6552
6553 (allout-write-contents-hook-handler): Rename from
6554 'allout-write-file-hook-handler', and describe how it depends on
6555 write-contents-functions sensitivity to non-nil value to prevent
6556 file write.
6557
6558 (allout-auto-save-hook-handler): Remove. auto-save does not check
6559 this in individual buffers, only in the starting buffer, so this
6560 is not the right way for us to inhibit auto-save in a buffer
6561 according to its condition.
6562
6563 (allout-mode): Use new allout-write-contents-hook-handler, and
6564 only with write-contents-functions. Remove auto-save provisions -
6565 they're implemented elsewhere.
6566
6567 (allout-before-change-handler): If undo is in progress, note that
6568 for attention of allout-post-command-business.
6569
6570 (allout-post-command-business): If the command we're following was
6571 an undo, check for change in the status of encrypted items and
6572 adjust auto-save inhibitions accordingly.
6573
6574 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6575 according to whether there are or aren't any plain-text topics
6576 pending encryption.
6577
2dcdbdd9 6578 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6579 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6580 if there are plain-text topics pending encryption.
13aa217b
KM
6581
6582 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6583 buffer-saved-size and some allout state to not inhibit auto-saves
6584 if there are no longer any plain-text topics pending encryption.
6585
0757af94
SM
6586 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6587 No longer provide for exemption of the current topic.
13aa217b 6588
ac89b32c
JL
65892011-07-04 Juri Linkov <juri@jurta.org>
6590
6591 Add 7z operations to delete and save changed members (bug#8968).
6592 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6593 New defcustoms.
6594 (archive-7z-write-file-member): New function.
6595 (archive-7z-summarize): Fix the number of dashes in the
6596 listing output.
6597
8fa39615
SM
65982011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6599
6600 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6601 (bug#8958).
6602
2f11b3f1
CY
66032011-07-04 Chong Yidong <cyd@stupidchicken.com>
6604
d66fef2b
CY
6605 * bindings.el: Ignore next-buffer and previous-buffer in
6606 minibuffer-local-map.
6607
2f11b3f1
CY
6608 * font-lock.el (font-lock-builtin-face): Change light background
6609 color to dark slate blue (Bug#6693).
6610
f932a347
WD
66112011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6612
6613 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6614
c8af70e1
SM
66152011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6616
6617 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6618 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6619 Add switch-to-buffer.
6620
f158badc
LMI
66212011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6622
6623 * isearch.el (isearch-search-fun-function): Clarify further the
6624 meaning of the function returned.
6625
6d95bd46
MA
66262011-07-04 Michael Albinus <michael.albinus@gmx.de>
6627
6628 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6629
6630 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6631 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6632 Use it.
6633 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6634 `tramp-default-remote-path' does not exist.
6635 (tramp-send-command-and-read): New optional argument NOERROR.
6636 (tramp-open-connection-setup-interactive-shell)
6637 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6638 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6639 (tramp-process-sentinel): Flush also process' connection property.
6640 (tramp-sh-handle-start-file-process): Do not set process
6641 sentinel. It is done now ...
6642 (tramp-maybe-open-connection): ... here. (Bug#8929)
6643
909e6b67
MK
66442011-07-04 MON KEY <monkey@sandpframing.com>
6645
6646 * play/animate.el (animate-string): Doc fixes and allow changing
6647 the buffer name (bug#5417).
6648
66492011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6650
c8af70e1 6651 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6652
f34755dc
PE
66532011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6654
396cec72
PE
6655 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6656 This is simpler and helps future-proof the code.
6657 (timer-until): Use time-subtract and float-time.
08235028 6658 (timer--time-less-p): Use time-less-p.
f34755dc 6659
56e6cc31
JB
66602011-07-04 Juanma Barranquero <lekktu@gmail.com>
6661
3abb79e5
JB
6662 * type-break.el (timep): Use the value of `float-time' to avoid a
6663 byte-compiler warning.
6664
56e6cc31
JB
6665 * server.el (server-eval-and-print): Return any result, even nil.
6666
7b9430b4
PE
66672011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6668
6669 * type-break.el: Accept time formats that the builtins accept.
6670 (timep, type-break-time-difference): Accept any format that
6671 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6672 This is simpler and helps future-proof the code.
6673 (type-break-time-difference): Round rather than ignoring
6674 subseconds components.
6675
3034e9e7
LMI
66762011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6677
6678 * info.el (Info-apropos-matches): Make non-interactive, since it
6679 doesn't seem to do anything useful as a command (bug#8829).
6680
1485f4c0
CY
66812011-07-03 Chong Yidong <cyd@stupidchicken.com>
6682
6683 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6684 Move from faces.el.
1485f4c0
CY
6685 (frame-default-terminal-background): New function.
6686
6687 * custom.el (custom-push-theme): Don't record faces in `changed'
6688 theme; this doesn't work correctly for per-frame face settings.
6689 (disable-theme): Use face-set-after-frame-default to reset faces.
6690 (custom--frame-color-default): New function.
6691
9fa3dd45
LMI
66922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6693
c8af70e1 6694 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6695 (bug#8769).
6696
6cbbc20c
KR
66972011-03-29 Kevin Ryde <user42@zip.com.au>
6698
6699 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6700 `perl-Test2' extend to match possible "fail #N" rep count
6701 (bug#8377).
6702
c7f98048
LMI
67032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6704
65676592
LMI
6705 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6706 `smtpmail-via-smtp' now returns the error instead of nil.
6707
c7f98048
LMI
6708 * isearch.el (isearch-search-fun-function): Clarify the doc string
6709 (bug#8101).
6710
56e6cc31 67112011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6712
6713 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6714 unnecessary spaces (bug#8987).
6715
2b216704
LMI
67162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6717
6718 * net/network-stream.el (open-network-stream): Use the
6719 :end-of-capability command thoughout.
6720
67212011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6722
6723 * net/network-stream.el (open-network-stream): Add the
6724 :end-of-capability command parameter, used by pop3.el.
6725
36adf6ce
LMI
67262011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6727
1ca0da0e
LMI
6728 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6729
fc00f69c
LMI
6730 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6731 for list)" (bug#6475).
6732
28fd8759 6733 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6734 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6735 an error (bug#6297).
6736
0dd8b6da
LMI
6737 * man.el (Man-reference-regexp): Allow matching possible
6738 word-wrapped references (bug#6289).
6739
ce1438d6
LMI
6740 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6741 for consistency with the other vc buffers (bug#6197).
6742 (vc-checkin): Ditto.
6743
6744 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6745
36adf6ce
LMI
6746 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6747
e83cc1f7
LMI
67482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6749
8a20ca4c
LMI
6750 * custom.el (defcustom): Clarify that :set is only used in the
6751 Customize user interface (bug#6089).
6752
83319045
LMI
6753 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6754 associated with a file, refuse to run instead of erroring out
6755 (bug#6084).
6756
a8392169
LMI
6757 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6758 the doc string, since it appears that using `fill-column' always
6759 controls the width (bug#7845).
6760
e83cc1f7
LMI
6761 * simple.el (shell-command-on-region): Say where the error output
6762 went if `shell-command-default-error-buffer' is set (bug#6857).
6763
e47ca23b
KM
67642011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6765
6766 * allout.el (allout-yank-processing): Adjust cursor position for
6767 backwards-deleted space.
6768
6769 (allout-rebullet-heading): Register changes with
6770 allout-exposure-changed-hook, so the modified topic is properly
6771 decorated.
6772
5cf56143
LMI
67732011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6774
08549772
LMI
6775 * minibuffer.el (completion-in-region): Document PREDICATE
6776 (bug#7136).
6777
48e96771
LMI
6778 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6779 of keyword/argument pairs (bug#6904).
6780
c8af70e1
SM
6781 * replace.el (multi-occur):
6782 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6783
e17d05e2
LMI
67842011-07-02 Drew Adams <drew.adams@oracle.com>
6785
6786 * dired.el (dired-mark-if): Make the message about whether it's
6787 marking or unmarking clearer (bug#8523).
6788
063b0e45
LMI
67892011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6790
6791 * disp-table.el (display-table-print-array): New function.
6792 (describe-display-table): Use it to print the vectors more pretty
6793 (Bug#8859).
6794
28545e04
MR
67952011-07-02 Martin Rudalics <rudalics@gmx.at>
6796
6797 * window.el (window-state-get-1): Don't assign clone numbers.
6798 Add clone-of item to list of window parameters.
6799 (window-state-put-2): Don't process clone numbers.
6800 (display-buffer-alist): Fix doc-string.
6801
3349e122
SM
68022011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * subr.el (remq): Don't allocate if it's not needed.
6805 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6806 (keymap--merge-bindings): New functions.
6807 (keymap-canonicalize): Use them to refine the canonicalization.
6808 * minibuffer.el (minibuffer-local-completion-map)
6809 (minibuffer-local-must-match-map): Move initialization from C.
6810 (minibuffer-local-filename-completion-map): Move initialization from C;
6811 don't inherit from anything here.
6812 (minibuffer-local-filename-must-match-map): Make obsolete.
6813 (completing-read-default): Use make-composed-keymap to combine
6814 minibuffer-local-filename-completion-map with either
6815 minibuffer-local-must-match-map or
6816 minibuffer-local-filename-completion-map.
6817
d224ac83
GM
68182011-07-01 Glenn Morris <rgm@gnu.org>
6819
3de63bf8
GM
6820 * type-break.el (type-break-time-sum): Use dolist.
6821
d224ac83
GM
6822 * textmodes/flyspell.el (flyspell-word-search-backward):
6823 Replace CL function.
6824
1a1e3f32
SM
68252011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6826
fe3f64d5
SM
6827 * mouse.el (mouse--strip-first-event): New function.
6828 (function-key-map): Use it to map fringe clicks to normal clicks
6829 by default.
6830
eb604e34
SM
6831 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6832 (vc-bzr-revision-completion-table): Add support for annotate and date.
6833
1a1e3f32
SM
6834 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6835 inherit from parent.
6836
5bd35902
LMI
68372011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6838
ace6c69c 6839 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 6840 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 6841
191e2bed
LMI
6842 * dired.el (dired-mode): Fix up the doc string as suggested by
6843 Drew Adams (bug#8817).
6844
5bd35902
LMI
6845 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6846 cookie, since the manual says that it should be possible to add
6847 this function to `find-file-hook' (bug#8709).
6848
eee8207a
TZ
68492011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6850
6851 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6852 here. Noted Ted Zlatanov as the maintainer.
6853 (cfengine-common-settings, cfengine-common-syntax): New functions
6854 to set up common things between `cfengine-mode' and
6855 `cfengine3-mode'.
6856 (cfengine3-mode): New mode.
6857 (cfengine3-defuns cfengine3-defuns-regex
6858 (cfengine3-class-selector-regex cfengine3-category-regex)
6859 (cfengine3-vartypes cfengine3-font-lock-keywords)
6860 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 6861 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 6862
36b148cf
MA
68632011-07-01 Michael Albinus <michael.albinus@gmx.de>
6864
6865 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6866
6867 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6868
0bf4ba9a
MR
68692011-07-01 Martin Rudalics <rudalics@gmx.at>
6870
6871 * window.el (same-window-buffer-names, same-window-regexps)
6872 (same-window-p, special-display-frame-alist)
6873 (special-display-popup-frame, special-display-function)
6874 (special-display-buffer-names, special-display-regexps)
6875 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6876 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6877 (split-window-preferred-function, split-height-threshold)
6878 (split-width-threshold, even-window-heights)
6879 (display-buffer-mark-dedicated, window-splittable-p)
6880 (split-window-sensibly, window-safely-shrinkable-p):
6881 Un-obsolete.
6882 (display-buffer): Don't spread args with function specifier
6883 because special-display-popup-frame won't like it.
6884
35837f51
PE
68852011-07-01 Paul Eggert <eggert@cs.ucla.edu>
6886
d0672f86
PE
6887 Time-stamp simplifications and fixes.
6888 These improve accuracy slightly, and future-proof the code
6889 against some potential changes to current-time format.
6890
b9444d97
PE
6891 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6892 by using time-since and float-time.
6893
0ef923dc
PE
6894 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6895 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
6896 + NNN microseconds".
6897
2f81380d
PE
6898 * type-break.el (type-break-time-sum): Rewrite using time-add.
6899
845b5c3e
PE
6900 * play/hanoi.el (hanoi-current-time-float): Remove.
6901 All uses replaced by float-time.
6902
ee6f1be0
PE
6903 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6904 This yields a more-accurate answer.
6905 (rng-time-to-float): Remove; no longer needed.
6906
fe955043
PE
6907 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6908
5777162a
PE
6909 * calendar/timeclock.el (timeclock-seconds-to-time):
6910 Defalias to seconds-to-time, since they're the same thing.
6911
3103f8b6 6912 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 6913 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
6914 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6915
0e61a35f
SM
69162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6917
6918 * window.el (bury-buffer): Don't iconify the only frame.
6919 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6920 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
6921
ddd63a1e
CY
69222011-07-01 Chong Yidong <cyd@stupidchicken.com>
6923
0e61a35f
SM
6924 * eshell/em-smart.el (eshell-smart-display-navigate-list):
6925 Add mouse-yank-primary.
ddd63a1e 6926
055f4923
TZ
69272011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6928
6929 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6930
6a2fb145
SM
69312011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * emacs-lisp/find-func.el (find-library--load-name): New fun.
6934 (find-library-name): Use it to find relative load names when provided
6935 absolute file name (bug#8803).
6936
fd4983f2
LMI
69372011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6938
887d14ad
LMI
6939 * textmodes/flyspell.el (flyspell-word): Consider words that
6940 differ only in case as potential doublons (bug#5687).
6941
c53dc7fc
LMI
6942 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
6943 Remove two rather uninteresting debugging-like messages to make
6944 debbugs.el more silent.
6945
fd4983f2
LMI
6946 * comint.el (comint-password-prompt-regexp): Accept "Response" as
6947 a password-like phrase.
6948
7a71b18d 69492011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
6950
6951 * progmodes/cc-guess.el: New file.
6952
6a2fb145 6953 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
6954
6955 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
6956 derived from `c-basic-common-init'.
6957
6958 * progmodes/cc-mode.el (top-level): Require cc-guess.
6959 (c-basic-common-init): Use `cc-choose-style-for-mode'.
6960
1fa280a3
LM
69612011-06-30 Lawrence Mitchell <wence@gmx.li>
6962
6963 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
6964
e6597158
AM
69652011-06-30 Alan Mackenzie <acm@muc.de>
6966
1fa280a3
LM
6967 * progmodes/cc-engine.el (c-guess-continued-construct):
6968 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
6969 lock is disabled. Name this case as "CASE G".
6970
68ba37fb
KM
69712011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
6972
6973 * allout.el (allout-yank-processing): Fix injection of extra space
6974 between bullet and non-whitespace character in first topic when
6975 pasting, ensuring that the actual spacing in the pasted topic
6976 following the bullet char is preserved. This extra space was
6977 causing pasted encrypted topics to get a decrypted status even
6978 when the content was actually still encrypted. Now the decryption
6979 status from before the paste is preserved.
6980
6981 (allout-flag-region): Set all allout overlays so they evaporate
6982 when reduced to zero length (evanescent), to prevent overlay
6983 leakage.
6984
887a0b34
GM
69852011-06-30 Glenn Morris <rgm@gnu.org>
6986
94b9acce
GM
6987 * w32-fns.el (w32-charset-info-alist): Declare.
6988
1d9b46d4
GM
6989 * find-dired.el (find-grep-options): Simplify.
6990
cc232200
GM
6991 * term/ns-win.el (ns-set-resource): Declare.
6992
28e77c46
GM
6993 * ses.el (row, col): Declare dynamic variables honestly.
6994
887a0b34
GM
6995 * textmodes/reftex-parse.el (index-tags): Declare.
6996
658d8eb8
CY
69972011-06-30 Chong Yidong <cyd@stupidchicken.com>
6998
6999 * cus-edit.el (customize-push-and-save): New function.
7000
7001 * files.el (hack-local-variables-confirm): Use it.
7002
1fa280a3
LM
7003 * custom.el (load-theme): New arg NO-CONFIRM.
7004 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7005 (custom-enabled-themes): Doc fix.
7006
7007 * cus-theme.el (customize-create-theme)
7008 (custom-theme-merge-theme): Callers to load-theme changed.
7009
bb617717
LMI
70102011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7011
d61bdd5d
LMI
7012 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7013 short URLs have at least one dot in them (bug #7614).
7014
bb617717
LMI
7015 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7016 nil, because using a pty is apparently too slow (bug #895).
7017
2f31f37a
LMI
70182011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7019
7020 * mail/sendmail.el (sendmail-query-once): New function.
7021 (sendmail-query-once-function): New variable.
7022
3076b24e
GM
70232011-06-29 Glenn Morris <rgm@gnu.org>
7024
faf2a174
GM
7025 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7026
3076b24e
GM
7027 * ses.el (top-level): Require cl when compiling.
7028 (ses-set-localvars): Fix error statement.
7029 Call it at compile time to silence a storm of warnings.
7030
5386012d
MR
70312011-06-29 Martin Rudalics <rudalics@gmx.at>
7032
7033 * window.el (normalize-live-buffer): Rename to
7034 window-normalize-buffer.
7035 (normalize-live-frame): Rename to window-normalize-frame.
7036 (normalize-any-window): Rename to window-normalize-any-window.
7037 (normalize-live-window): Rename to window-normalize-live-window.
7038 (make-window-atom): Rename to window-make-atom.
7039 (window-resize-reset): Rename to window--resize-reset.
7040 (window-resize-reset-1): Rename to window--resize-reset-1.
7041 (resize-mini-window): Rename to window--resize-mini-window.
7042 (resize-subwindows-skip-p): Rename to
7043 window--resize-subwindows-skip-p.
7044 (resize-subwindows-normal): Rename to
7045 window--resize-subwindows-normal.
7046 (resize-subwindows): Rename to window--resize-subwindows.
7047 (resize-other-windows): Rename to window--resize-siblings.
7048 (resize-this-window): Rename to window--resize-this-window.
7049 (resize-root-window): Rename to window--resize-root-window.
7050 (resize-root-window-vertically): Rename to
7051 window--resize-root-window-vertically.
7052 (normalize-buffer-to-display): Rename to
7053 window-normalize-buffer-to-display.
7054 (normalize-buffer-to-switch-to): Rename to
7055 window-normalize-buffer-to-switch-to.
7056 Correspondingly update all callers of the functions listed
7057 above.
7058 (display-buffer-alist, display-buffer-normalize-arguments)
7059 (display-buffer-normalize-options, display-buffer)
7060 (display-buffer-alist-set): Use "function" instead of
7061 "fun-with-args".
7062
1176868d
CY
70632011-06-28 Chong Yidong <cyd@stupidchicken.com>
7064
7065 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7066 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7067 debbugs.gnu.org. Mention acknowledgment email.
7068
20a7a65f
LMI
70692011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7070
7071 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7072 buffer multibyteness, since it shouldn't matter.
7073
5f45cca5
MR
70742011-06-28 Martin Rudalics <rudalics@gmx.at>
7075
7076 * window.el (display-buffer-in-side-window): Handle dedicated
7077 windows as in display-buffer-reuse-window.
7078 (display-buffer-normalize-alist): Use value of override
7079 specifier.
7080 (display-buffer-normalize-specifiers): Use value of
7081 other-window-means-other-frame specifier.
7082 (display-buffer-alist): Rewrite some texts in widgets.
7083 (display-buffer): Spread arguments when calling function
7084 specified by fun-with-args.
7085
ad85fe1f
DD
70862011-06-28 Deniz Dogan <deniz@dogan.se>
7087
1fa280a3
LM
7088 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7089 Unnest `let'.
da68c4c8 7090
ad85fe1f
DD
7091 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7092 selectors (Bug#5732).
ec49bd31 7093 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7094
a08cc025
JA
70952011-06-27 Jari Aalto <jari.aalto@cante.net>
7096
7097 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7098 (eshell-ls-date-format): New defcustom.
7099 (eshell-ls-file): Use it.
7100
e2b551c5
SM
71012011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7102
7103 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7104
8982b231
KY
71052011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7106
7107 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7108 (ange-ftp-make-tmp-name): New arg.
7109 (ange-ftp-file-local-copy): Use it.
7110
36c9fa27
J
71112011-06-27 Jambunathan K <kjambunathan@gmail.com>
7112
7113 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7114 no-conversion (Bug#8870).
7115
d68443dc
MR
71162011-06-27 Martin Rudalics <rudalics@gmx.at>
7117
7118 * window.el (window-right, window-left, window-child)
7119 (window-child-count, window-last-child)
7120 (window-iso-combination-p, walk-window-tree-1)
7121 (window-atom-check-1, window-tree-1, delete-window)
7122 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7123 new naming conventions - window-vchild, window-hchild,
7124 window-next and window-prev are now called window-top-child,
7125 window-left-child, window-next-sibling and window-prev-sibling
7126 respectively.
d615d6d2
MR
7127 (resize-window-reset): Rename to window-resize-reset.
7128 (resize-window-reset-1): Rename to window-resize-reset-1.
7129 (resize-window): Rename to window-resize.
7130 (window-min-height, window-min-width)
7131 (resize-mini-window, resize-this-window, resize-root-window)
7132 (resize-root-window-vertically, adjust-window-trailing-edge)
7133 (enlarge-window, shrink-window, maximize-window)
7134 (minimize-window, delete-window, quit-restore-window)
7135 (split-window, balance-windows, balance-windows-area-adjust)
7136 (balance-windows-area, window-state-put-2)
7137 (display-buffer-even-window-sizes, display-buffer-set-height)
7138 (display-buffer-set-width, set-window-text-height)
7139 (fit-window-to-buffer): Rename all "resize-window" prefixed
7140 calls to use the "window-resize" prefix convention.
7141 (display-buffer-alist): Fix symbol for label specifier.
7142 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7143 corresponding specifier.
7144 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7145
b6458526
VB
71462011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7147
7148 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7149 convention.
7150 (ses-call-printer): Does not pass an empty string to formatter when the
7151 cell is empty to keep from barking printer Calc math-format-value.
7152
d31fd9ac
RS
71532011-06-27 Richard Stallman <rms@gnu.org>
7154
43d5bf84
RS
7155 * battery.el (battery-mode-line-limit): New variable.
7156 (battery-update): Handle it.
7157
d31fd9ac
RS
7158 * mail/rmailmm.el (rmail-mime-process-multipart):
7159 Handle truncated messages.
7160
819a6054
GM
71612011-06-27 Glenn Morris <rgm@gnu.org>
7162
7163 * progmodes/flymake.el (flymake-err-line-patterns):
7164 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7165
cedc73f2
VB
71662011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7167
819a6054 7168 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7169 (ses--clean-!, ses--clean-_): New functions.
7170 (ses-range): Add configurability of readout order, and conversion
7171 to Calc vector.
7172
5e5d49b6
VB
7173 * ses.el (ses-repair-cell-reference-all): New function.
7174 (ses-cell-symbol): Set macro as safe, so that it can be used in
7175 formulas.
7176
56e6cc31 7177 * ses.el: Update cycle detection algorithm.
90ca8b49 7178 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7179 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7180 (ses-set-localvars): New function.
7181 (ses-make-cell): Add property-list as a cell element.
7182 (ses-cell-property-get-fun, ses-cell-property-get)
7183 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7184 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7185 New functions.
90ca8b49
VB
7186 (ses-cell-property-set, ses-cell-property-pop)
7187 (ses-cell-property-get-handle): New macro.
7188 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7189 New aliases, used for code readability.
7190 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7191 cycle detection.
7192 (ses-self-reference-early-detection): New defcustom.
fac916bf 7193 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7194 (ses-mode): Use ses-set-localvars.
7195 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7196 before lauching the update processing.
7197 (ses-initialize-Dijkstra-attempt): New function.
7198 (ses-recalculate-cell): Update for cycle detection based on
7199 Dijkstra algorithm.
7200
2bb63e81
VB
7201 * ses.el: Fix commenting and indenting convention.
7202
c9d29fb8
SM
72032011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7204
7205 * bs.el (bs-cycle-next): Complete last change.
7206
d8e4b68b
JB
72072011-06-27 Drew Adams <drew.adams@oracle.com>
7208
7209 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7210
40098786
LMI
72112011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7212
c9d29fb8
SM
7213 * net/network-stream.el (network-stream-open-starttls):
7214 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7215 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7216
40098786
LMI
7217 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7218 to binary to possibly avoid line encoding issues on Windows (among
7219 other things).
7220
468d09d4
LMI
72212011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7222
7223 * net/network-stream.el (open-network-stream): Return an :error
7224 saying what the problem was, if possible.
7225
7226 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7227 server.
7228
7229 * net/network-stream.el (network-stream-open-starttls): If we
7230 wanted to use STARTTLS, and the server offered it, but we weren't
7231 able to because we had no STARTTLS support, then close the connection.
7232 (open-network-stream): Return an :error element, if present.
7233
16f07dd7
CY
72342011-06-26 Chong Yidong <cyd@stupidchicken.com>
7235
88821ca0
CY
7236 * hl-line.el (hl-line-sticky-flag): Doc fix.
7237 (global-hl-line-sticky-flag): New option (Bug#8323).
7238 (global-hl-line-highlight): Obey it.
7239
16f07dd7
CY
7240 * vc/vc.el (vc-revert-show-diff): Default to t.
7241
6b5ccddf
KM
72422011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7243
c9d29fb8
SM
7244 * allout-widgets.el (allout-widgets-post-command-business):
7245 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7246 undecorated when an isearch is continued past, and isearch
7247 automatically collapses them. This leads to "widget leaks", where
7248 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7249 hidden widgets can slow down cursor travel, substantially.
7250 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7251 so we're doing without this nicety.
7252
7253 (allout-widgets-tally-string): Don't try to do a hash-table-count
7254 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7255 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7256 *Messages* when allout-widgets-maintain-tally is t.
7257
355f2e07
MR
72582011-06-26 Martin Rudalics <rudalics@gmx.at>
7259
7260 * window.el (display-buffer-normalize-argument): Rename to
7261 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7262 LABEL argument. Respect special-display-function when popping up
7263 a new frame. Fix code searching for a window showing the buffer
7264 on another frame.
c9d29fb8
SM
7265 (display-buffer-normalize-specifiers):
7266 Call display-buffer-normalize-arguments.
355f2e07
MR
7267 (display-buffer-in-window): Don't undedicate the window if its
7268 buffer remains the same.
7269 Reported by Drew Adams <drew.adams@oracle.com>.
7270 (display-buffer-alist): Add choice for same-window macro
7271 specfier.
7272 (display-buffer): Mention special meaning of LABEL argument in
7273 doc-string. Fix quoting. Don't pop up a new frame even as
7274 fallback.
7275
7ca8fc42
JB
72762011-06-26 Juanma Barranquero <lekktu@gmail.com>
7277
7278 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7279 avoid deleting the current window in some cases (bug#8911).
7280
bc312254
AS
72812011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7282
7283 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7284 (Bug#8934)
7285
2db18f3f
LMI
72862011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7287
c9d29fb8
SM
7288 * net/network-stream.el (network-stream-open-starttls):
7289 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7290 (network-stream-open-tls): Ditto.
7291
6302e0d3
LL
72922011-06-26 Leo Liu <sdl.web@gmail.com>
7293
7294 * register.el (registerv): New struct.
7295 (registerv-make): New function.
c9d29fb8
SM
7296 (jump-to-register, describe-register-1, insert-register):
7297 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7298 struct. (Bug#8415)
7299
5fdd4046
CY
73002011-06-26 Chong Yidong <cyd@stupidchicken.com>
7301
2afef60a
CY
7302 * vc/vc.el (vc-revert-show-diff): New defcustom.
7303 (vc-diff-internal): New arg specifying diff buffer.
7304 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7305 reuse an existing *vc-diff* buffer (Bug#8927).
7306
5fdd4046
CY
7307 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7308
e93db24a
GM
73092011-06-26 Glenn Morris <rgm@gnu.org>
7310
7311 * progmodes/f90.el (f90-critical-indent): New option.
7312 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7313 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7314 (f90-mode): Doc fix.
7315 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7316 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7317 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7318 (f90-match-end): Handle block, critical.
7319
eefff499
GM
73202011-06-25 Glenn Morris <rgm@gnu.org>
7321
f6ba4cc9
GM
7322 * calendar/diary-lib.el (diary-included-files): Doc fix.
7323 (diary-include-files): New function, extracted from
7324 diary-include-other-diary-files and diary-mark-included-diary-files.
7325 (diary-include-other-diary-files, diary-mark-included-diary-files):
7326 Just call diary-include-files.
7327 (diary-mark-entries): Reset diary-included-files on first call.
7328
16712304
GM
7329 * calendar/diary-lib.el (diary-mark-entries)
7330 (diary-mark-included-diary-files):
7331 Visit included diary-files in temp buffers.
7332
5d8e0d43
GM
7333 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7334 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7335 (f90-start-block-re, f90-imenu-generic-expression)
7336 (f90-looking-at-program-block-start, f90-no-block-limit):
7337 Add support for submodules.
7338
ccf7a5d5
GM
7339 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7340 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7341
11fdef7d 73422011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7343
7344 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7345 buffer-file-type before setting its value, to avoid disastrous
eefff499 7346 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7347
74f53697
JB
73482011-06-25 Juanma Barranquero <lekktu@gmail.com>
7349
7350 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7351
7352 * ses.el (ses-unload-function):
7353 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7354
7355 * proced.el (proced-unload-function):
7356 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7357
18a4ce5e
AR
73582011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7359
7360 * server.el (server-create-window-system-frame): Add parameters arg.
7361 (server-process-filter): Doc fix. Handle frame-parameters.
7362
519d22cc
JB
73632011-06-25 Juanma Barranquero <lekktu@gmail.com>
7364
7365 Fix bug#8730, bug#8781.
7366
7367 * loadhist.el (unload--set-major-mode): New function.
7368 (unload-feature): Use it.
7369
7370 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7371 (python-unload-function): New function.
7372
c206f5b0
SM
73732011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7374
7375 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7376
f9ad64f3
GS
73772011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7378
7379 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7380 the candidates list.
7381
7d0da90e
JB
73822011-06-24 Juanma Barranquero <lekktu@gmail.com>
7383
7384 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7385
14b4e83d
RS
73862011-06-23 Richard Stallman <rms@gnu.org>
7387
7388 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7389 (rmail-variables): Set next-error-move-function.
7390 (rmail-what-message): Take argument POS.
7391 (rmail-next-error-move): New function.
7392
273d2baf
SM
73932011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7394
7395 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7396 messages for adjacent non-terminals.
7397
56c2cc9a
RS
73982011-06-23 Richard Stallman <rms@gnu.org>
7399
7400 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7401 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7402 (rmail-start-mail): Don't specify use of rmail-mail-return;
7403 that's done by mail-bury now.
7404 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7405
d59eb518
MA
74062011-06-23 Michael Albinus <michael.albinus@gmx.de>
7407
7408 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7409 SIZE is a number.
7410
02cfc6d6
MR
74112011-06-23 Martin Rudalics <rudalics@gmx.at>
7412
7413 * window.el (get-lru-window, get-mru-window)
7414 (get-largest-window): Never return a minibuffer window.
7415 (display-buffer-pop-up-window): Fix a bug that could lead to
7416 reusing the minibuffer window.
7417 (display-buffer): Pass original specifier argument to
7418 display-buffer-function instead of the normalized one.
7419 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7420
4e323265
LL
74212011-06-22 Leo Liu <sdl.web@gmail.com>
7422
7423 * minibuffer.el (completing-read-function)
7424 (completing-read-default): Move from minibuf.c
7425
7a70468f
RS
74262011-06-22 Richard Stallman <rms@gnu.org>
7427
50718fc2
RS
7428 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7429 to Rmail even if not started by a special Rmail command.
7430
7a70468f
RS
7431 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7432 Copy the buffer currently showing just one message.
7433
297dde5a
RW
74342011-06-22 Roland Winkler <winkler@gnu.org>
7435
7436 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7437 (bibtex-clean-entry): First delete the old key so that a
7438 customized algorithm for generating the new key does not get
7439 confused by the old key.
7440 (bibtex-url): Obey regexp of first step.
7441 (bibtex-search-entries): Do not use add-to-list with local
7442 list-var.
7443
97bb1093
LMI
74442011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7445
7446 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7447 stored a user name, then query for the password first, instead of
7448 waiting for SMTP to give an error message and the trying again.
7449
1c0f1a19
JD
74502011-06-22 Lawrence Mitchell <wence@gmx.li>
7451
7452 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7453 BUFFER in call-process.
7454
396f7c9d
LMI
74552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7456
7457 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7458 QUIT twice.
ddb7ffee
LMI
7459 (smtpmail-try-auth-methods): Require user name and password from
7460 auth-source.
396f7c9d 7461
8998d1b3
MR
74622011-06-22 Martin Rudalics <rudalics@gmx.at>
7463
7464 * window.el (display-buffer-default-specifiers)
7465 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7466 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7467 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7468
7469 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7470 (special-display-frame-alist, special-display-popup-frame):
7471 Remove duplicate declarations. These are now in window.el.
7472
4ea31e07
LMI
74732011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7474
c9d29fb8
SM
7475 * mail/smtpmail.el (smtpmail-via-smtp):
7476 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7477 server supports it. SMTP servers that support STARTTLS commonly
7478 require it.
7479
7480 * net/network-stream.el (network-stream-open-starttls): Support
7481 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7482 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7483
95f41d9a
LMI
7484 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7485 upgrades with `open-network-stream', and rely solely on
7486 auth-source for all credentials. Big changes throughout the file,
7487 but in particular:
c9d29fb8
SM
7488 (smtpmail-auth-credentials): Remove.
7489 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7490 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7491 MAIL FROM, too.
95f41d9a 7492
c9d29fb8
SM
7493 * net/network-stream.el (network-stream-open-starttls):
7494 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7495 STARTTLS.
7496 (auth-source): Require.
7497 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7498 (network-stream-certificate): Change cert-cert to cert and
7499 cert-key to key.
4ea31e07 7500
065ec2c7
MA
75012011-06-21 Michael Albinus <michael.albinus@gmx.de>
7502
7503 * net/tramp-cache.el (top): Don't load the persistency file when
7504 "emacs -Q" has been called.
7505
cd93b359
DR
75062011-06-21 Tim Harper <timcharper@gmail.com>
7507
d8e4b68b
JB
7508 * term/ns-win.el (ns-initialize-window-system):
7509 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7510 resource to NO as it is not yet supported by the NS port.
7511
ae9c0411
JB
75122011-06-21 Juanma Barranquero <lekktu@gmail.com>
7513
7514 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7515 (list-dynamic-libraries): ...not here.
7516
7f3f739f
LL
75172011-06-21 Leo Liu <sdl.web@gmail.com>
7518
7519 * subr.el (sha1): Implement sha1 using secure-hash.
7520
327c8fb1
MR
75212011-06-21 Martin Rudalics <rudalics@gmx.at>
7522
7523 * window.el (display-buffer-alist): In default value do not
7524 enforce searching a window on any but the selected frame.
7525 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7526 (display-buffer-select-window): Remove function.
7527 (display-buffer-in-window): When a window on another frame gets
7528 reused, do not select it any more but just raise its frame if
7529 necessary (Bug#8851) and (Bug#8856).
7530 (display-buffer-normalize-options): Handle pop-up-frames related
7531 options more faithfully.
7532 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7533 window if it is on another frame.
c9d29fb8
SM
7534 (display-buffer-alist, display-buffer-default-specifiers):
7535 Don't make new frame unsplittable by default.
9e9de014
MR
7536 (display-buffer-normalize-argument): Fix doc-string typo and use
7537 'same-frame-other-window instead of 'other-window when associating
7538 with display-buffer-macro-specifiers.
327c8fb1 7539
7cf3f556
VB
75402011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7541
7542 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7543 New functions.
7544 (5x5-mode-map, 5x5-mode-menu): Bind them.
7545 (5x5-draw-grid): Tweak the solver's rendering.
7546
60a406cf
SM
75472011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7548
7549 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7550 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7551
d8e4b68b 75522011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7553
7554 * menu-bar.el: Use function variable instead of switch-to-buffer.
7555 (menu-bar-select-buffer-function): New variable.
60a406cf 7556 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7557
478d6f95
SM
75582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7559
7560 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7561 variable's status.
7562
ca530739
JD
75632011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7564
7565 * x-dnd.el (x-dnd-version-from-flags)
7566 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7567 and long as number (Bug#8899).
7568 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7569
bcd70d97
SM
75702011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7571
60a406cf 7572 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7573 (completion-try-completion, completion-all-completions): Compute the
7574 metadata argument if it's missing; make it optional (bug#8795).
7575
60a406cf 7576 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7577 (widget-complete): Use new :completion-function property.
7578 (widget-completions-at-point): New function.
7579 (default): Use :completion-function instead of :complete.
60a406cf
SM
7580 (widget-default-completions): Rename from widget-default-complete;
7581 Rewrite.
bcd70d97
SM
7582 (widget-string-complete, widget-file-complete, widget-color-complete):
7583 Remove functions.
7584 (file, symbol, function, variable, coding-system, color):
7585 * international/mule-cmds.el (default-input-method, charset)
7586 (language-info-custom-alist):
7587 * cus-edit.el (face): Use new property :completions.
7588
7589 * progmodes/pascal.el (pascal-completions-at-point): New function.
7590 (pascal-mode): Use it.
7591 (pascal-mode-map): Use completion-at-point.
7592 (pascal-toggle-completions): Make obsolete.
7593 (pascal-complete-word, pascal-show-completions):
7594 * progmodes/octave-mod.el (octave-complete-symbol):
7595 Redefine as obsolete alias.
7596 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7597 Signal absence of completion info for old Octave,
7598 (inferior-octave-complete): Redefine as obsolete alias.
7599 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7600 (meta-completions-at-point): Rename from meta-complete-symbol and
7601 adapt it for use on completion-at-point-functions.
7602 (meta-common-mode): Use it.
7603 (meta-looking-at-backward, meta-match-buffer): Remove.
7604 (meta-complete-symbol): Redefine as obsolete alias.
7605 (meta-common-mode-map): Use completion-at-point.
7606 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7607 (makefile-mode-map): Use completion-at-point.
7608 (makefile-completions-at-point): Rename from makefile-complete and
7609 adapt it for use on completion-at-point-functions.
7610 (makefile-mode): Use it.
7611 (makefile-complete): Redefine as obsolete alias.
7612
aebf69c8
DD
76132011-06-20 Deniz Dogan <deniz@dogan.se>
7614
7615 * net/rcirc.el: Delete trailing whitespaces once and for all.
7616
bfbbb27d
DC
76172011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7618
7619 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7620
d264a46b
CY
76212011-06-19 Chong Yidong <cyd@stupidchicken.com>
7622
4ca009e5
CY
7623 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7624
d264a46b
CY
7625 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7626
fbf5b3ce
MR
76272011-06-19 Martin Rudalics <rudalics@gmx.at>
7628
7629 * window.el (display-buffer-other-window-means-other-frame):
7630 Call display-buffer-normalize-alist.
7631 (display-buffer-normalize-specifiers-1): Rename to
7632 display-buffer-normalize-argument. New argument other-frame.
7633 Rewrite.
7634 (display-buffer-normalize-specifiers-2): Rename to
7635 display-buffer-normalize-options.
7636 (display-buffer-normalize-alist-1): New function.
7637 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7638 display-buffer-normalize-alist.
7639 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7640 (display-buffer-normalize-options-inhibit): New variable.
7641 (display-buffer-normalize-specifiers): Rewrite calling
7642 display-buffer-normalize-alist,
7643 display-buffer-normalize-argument, and
7644 display-buffer-normalize-options. Don't call the latter if
7645 display-buffer-normalize-options-inhibit is non-nil.
7646 (frame-auto-delete): New option.
7647 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7648 (window-list-no-nils, window-state-ignored-parameters)
7649 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7650 (window-state-put-1, window-state-put-2, window-state-put):
7651 New functions.
9a028c23
MR
7652 (display-buffer-normalize-options): Move special-display-p group
7653 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7654
6d10d800
CY
76552011-06-18 Chong Yidong <cyd@stupidchicken.com>
7656
6420d28b
CY
7657 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7658 groups (Bug#8776).
7659 (rx-submatch-n): New function.
7660 (rx): Document it.
7661
ddb8b596
CY
7662 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7663 (Bug#8768).
7664
7665 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7666
77080289
CY
7667 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7668
61dfb316
CY
7669 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7670 anytime existing face settings are present (Bug#8889).
7671
6d10d800
CY
7672 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7673 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7674 Remove unused argument.
7675
be3fb2b8
MR
76762011-06-18 Martin Rudalics <rudalics@gmx.at>
7677
bcd70d97
SM
7678 * window.el (display-buffer-default-specifiers):
7679 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7680 pop-up-window-min-width, and another reuse-window specifier
7681 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7682 (display-buffer-normalize-specifiers-2):
7683 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7684 pop-up-windows is unset. Add a reuse-window specifier for the
7685 case popping up a new window fails.
7686 (special-display-popup-frame): Remove double quoting.
28dec25a 7687 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7688
1c6d8c76
SM
76892011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7690
7691 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7692 according to comint-completion-addsuffix.
7693
7694 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7695 (pcomplete-suffix-list): Mark as obsolete.
7696 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7697 pcomplete-seen in the closure.
7698 (pcomplete-comint-setup): Setup completion-at-point as well.
7699 (pcomplete--entries): New function.
7700 (pcomplete--env-regexp): New var.
7701 (pcomplete-entries): Rewrite to work with partial-completion and
7702 without relying on pcomplete-suffix-list.
7703 (pcomplete-pare-list): Remove, unused.
7704
25aef8b8
MR
77052011-06-17 Martin Rudalics <rudalics@gmx.at>
7706
7707 * window.el (display-buffer-alist): Set pop-up-window-min-height
7708 and pop-up-window-min-width in default value. Reported by
7709 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7710 other-window-means-other-frame.
7711 (display-buffer-macro-specifiers): Comment out entry for
7712 other-window specifier.
7713 (display-buffer-other-window-means-other-frame): New function.
7714 (display-buffer-normalize-specifiers-1): New arguments
7715 buffer-name and label. Treat other-window case specially.
7716 (display-buffer-normalize-specifiers-2): Treat other-window case
7717 specially.
7718 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7719 (display-buffer-normalize-specifiers):
7720 Call display-buffer-normalize-specifiers-3.
25aef8b8 7721
dbad4f69
MR
77222011-06-17 Martin Rudalics <rudalics@gmx.at>
7723
7724 * window.el (same-window-p): Fix two typos introduced when
7725 adding with-no-warnings.
d1067961
MR
7726 (display-buffer-normalize-specifiers-1): Don't check
7727 pop-up-frames for 'unset initialization.
7728 (display-buffer-normalize-specifiers-2): Major rewrite using
7729 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7730 (pop-up-frames, display-buffer-reuse-frames)
7731 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7732 Suggested by David Engster <deng@randomsample.de>.
7733 (even-window-heights): Initialize to 'unset.
7734 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7735 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7736 other window case.
dbad4f69 7737
9b9c9e3a
MR
77382011-06-16 Martin Rudalics <rudalics@gmx.at>
7739
bcd70d97
SM
7740 * window.el (display-buffer-normalize-specifiers-1):
7741 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7742 second argument of display-buffer (Bug#8865).
981d5c09
MR
7743 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7744 (switch-to-buffer-other-window-same-frame)
7745 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7746 Adams (Bug#8875).
9c2755e9
MR
7747 (display-buffer): Don't check noninteractive when calling
7748 display-buffer-pop-up-frame.
7749 (display-buffer-pop-up-frame): Never pop up a frame in
7750 noninteractive mode (Bug#8857).
67222e1d
MR
7751 (enlarge-window, shrink-window): Don't report an error when the
7752 window can't be resized as requested (Bug#8862).
9b9c9e3a 7753
2b75be67
SM
77542011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7755
9ffdd3ba
SM
7756 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7757
cb581a67
SM
7758 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7759
2b75be67
SM
7760 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7761
8c0e3589
AM
77622011-06-15 Alan Mackenzie <acm@muc.de>
7763
cb581a67
SM
7764 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7765 for declarators, disable knr checking to speed up for normal files.
7766 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7767
b96e6cde
LMI
77682011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7769
4bba86e6
LMI
7770 * net/network-stream.el (open-network-stream): Add the keyword
7771 :always-query-capabilities for the case where you want to force a
7772 `plain' network connection, but the protocol still requires the
7773 capabilitiy command (i.e., SMTP and EHLO).
7774
2b75be67 7775 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7776 consistency with other `-live-p' functions.
7777
efdcdbf8
SM
77782011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7779
7780 * window.el (same-window-buffer-names, same-window-regexps)
7781 (special-display-frame-alist, special-display-popup-frame)
7782 (special-display-function, special-display-buffer-names)
7783 (special-display-regexps, pop-up-frame-alist)
7784 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7785 (pop-up-windows, split-window-preferred-function)
7786 (split-height-threshold, split-width-threshold, even-window-heights)
7787 (display-buffer-mark-dedicated): Don't encourage the use of
7788 display-buffer-alist from Elisp code.
7789
c5cde042
DN
77902011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7791
7792 * progmodes/python.el (python-mode): Derive from prog-mode.
7793 * progmodes/ps-mode.el (ps-mode):
7794 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7795 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7796 * progmodes/ld-script.el (ld-script-mode): Likewise.
7797
baa1c9ab
MR
77982011-06-15 Martin Rudalics <rudalics@gmx.at>
7799
7800 * window.el (display-buffer-alist): Trim default value to avoid
7801 popping up a new frame (Bug#8857) or reusing an arbitrary window
7802 on another frame.
7803 (display-buffer): Do not fall back on popping up a new frame in
7804 batch mode (Bug#8857).
7805
c5dd5a51
CY
78062011-06-14 Chong Yidong <cyd@stupidchicken.com>
7807
7808 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7809 (custom-theme-summary): New function.
7810 (customize-themes): Use it.
7811
d647b7c4
GM
78122011-06-13 Glenn Morris <rgm@gnu.org>
7813
7814 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7815
9481c002
MR
78162011-06-13 Martin Rudalics <rudalics@gmx.at>
7817
357f93d2
MR
7818 * help.el (help-window): Remove variable.
7819 (help-window-point-marker, temp-buffer-max-height)
7820 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7821 (help-print-return-message): Don't set help-window.
7822 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7823 (help-window-setup-finish): Remove.
7824 (help-window-display-message, help-window-setup)
7825 (with-help-window): Major rewrite based on new
7826 display-buffer-window variable.
7827
7828 * help-mode.el (help-mode-finish): Remove help-window related
7829 code.
7830
7831 * view.el (view-exits-all-viewing-windows): Remove reference to
7832 view-return-to-alist in doc-string.
7833 (view-return-to-alist): Make obsolete.
7834 (view-buffer): Call pop-to-buffer-same-window and remove
7835 undo-window code.
7836 (view-buffer-other-window): Call pop-to-buffer-other-window and
7837 simplify code. Ignore second argument.
7838 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7839 simplify code. Ignore second argument.
7840 (view-return-to-alist-update): Make obsolete.
7841 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7842 Rewrite using quit-restore window parameters.
2b75be67
SM
7843 (view-mode-exit): Rename second argument to EXIT-ONLY.
7844 Rewrite using quit-restore-window.
357f93d2
MR
7845 (View-exit, View-exit-and-edit, View-leave, View-quit)
7846 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7847 appropriate arguments.
7848 (view-end-message): Use quit-restore window parameter.
7849
9481c002
MR
7850 * window.el (display-buffer-function): Rewrite doc-string.
7851 (display-buffer-window, display-buffer-alist): New variables.
7852 (display-buffer-split-specifiers)
7853 (display-buffer-side-specifiers)
7854 (display-buffer-macro-specifiers): New constants.
7855 (display-buffer-even-window-sizes, display-buffer-set-height)
7856 (display-buffer-set-width, display-buffer-select-window)
7857 (display-buffer-in-window, display-buffer-reuse-window)
7858 (display-buffer-split-window-1, display-buffer-split-window)
7859 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7860 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7861 (display-buffer-in-side-window, normalize-buffer-to-display)
7862 (display-buffer-normalize-specifiers-1)
7863 (display-buffer-normalize-specifiers-2)
2b75be67
SM
7864 (display-buffer-normalize-specifiers, display-buffer-frame):
7865 New functions.
9481c002
MR
7866 (display-buffer): Major rewrite.
7867 (display-buffer-other-window, display-buffer-other-frame)
7868 (pop-to-buffer, switch-to-buffer-other-window)
7869 (switch-to-buffer-other-frame): Rewrite.
7870 (display-buffer-same-window, display-buffer-same-frame)
7871 (display-buffer-same-frame-other-window)
7872 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7873 (pop-to-buffer-other-window)
7874 (pop-to-buffer-same-frame-other-window)
7875 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7876 (switch-to-buffer-other-window-same-frame): New functions.
7877 (same-window-p, special-display-p): Rewrite disabling warnings.
7878 Make obsolete.
7879 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7880 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7881 Make obsolete
7882 (same-window-buffer-names, same-window-regexps)
7883 (special-display-frame-alist, special-display-popup-frame)
7884 (special-display-function, special-display-buffer-names)
7885 (special-display-regexps, pop-up-frame-alist)
7886 (pop-up-frame-function, split-window-preferred-function)
7887 (split-height-threshold, split-width-threshold)
7888 (even-window-heights): Make obsolete.
7889
9db51aca
GM
78902011-06-12 Glenn Morris <rgm@gnu.org>
7891
7892 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 7893 Misc simplifications.
9db51aca 7894
39cffb44
MR
78952011-06-12 Martin Rudalics <rudalics@gmx.at>
7896
7897 * window.el (window-safely-shrinkable-p): Restore function which
7898 was inadvertently removed in change from 2011-06-11. Declare as
7899 obsolete.
7900
2b75be67
SM
7901 * calendar/calendar.el (calendar-generate-window):
7902 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
7903 window-safely-shrinkable-p.
7904
a8955be7
GM
79052011-06-12 Glenn Morris <rgm@gnu.org>
7906
7907 * progmodes/fortran.el (fortran-mode-syntax-table):
7908 * progmodes/f90.el (f90-mode-syntax-table):
7909 Set % to punctuation. (Bug#8820)
7910 (f90-find-tag-default): Remove, no longer needed.
7911
f0d4059d
DC
79122011-06-12 Daniel Colascione <dan.colascione@gmail.com>
7913
7914 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7915
1100a63c
CY
79162011-06-11 Chong Yidong <cyd@stupidchicken.com>
7917
7918 * image.el (image-animated-p): Return animation delay in seconds.
7919 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7920 (image-animate-timeout): Remove DELAY argument. Don't assume
7921 every subimage has the same delay; get it from image-animated-p.
7922 (image-animate): Caller changed.
7923
def722bf
MA
79242011-06-11 Michael Albinus <michael.albinus@gmx.de>
7925
7926 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7927 to ignored backtrace functions.
7928
0a2bb1a9
GM
79292011-06-11 Glenn Morris <rgm@gnu.org>
7930
7931 * calendar/appt.el (appt-disp-window-function): Doc fix.
7932 (appt-check): Handle overlapping appointments. (Bug#8337)
7933
6198ccd0
MR
79342011-06-11 Martin Rudalics <rudalics@gmx.at>
7935
7936 * window.el (window-tree-1, window-tree): New functions, moving
7937 the latter to window.el.
7938 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7939 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7940 (bw-refresh-edges): Remove.
7941 (balance-windows-1, balance-windows-2): New functions.
7942 (balance-windows): Rewrite in terms of window tree functions,
7943 balance-windows-1 and balance-windows-2.
7944 (bw-adjust-window): Remove.
7945 (balance-windows-area-adjust): New function with functionality of
7946 bw-adjust-window but using resize-window.
2b75be67
SM
7947 (set-window-text-height): Rewrite doc-string.
7948 Use normalize-live-window and resize-window.
7949 (enlarge-window-horizontally, shrink-window-horizontally):
7950 Rename argument to DELTA.
6198ccd0
MR
7951 (window-buffer-height): New function.
7952 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
7953 Rewrite using new window resize routines.
2b75be67
SM
7954 (kill-buffer-and-window, mouse-autoselect-window-select):
7955 Use ignore-errors instead of condition-case.
6198ccd0
MR
7956 (quit-window): Call delete-frame instead of delete-windows-on
7957 for the only buffer on frame.
7958
9397e56f
MR
79592011-06-10 Martin Rudalics <rudalics@gmx.at>
7960
7961 * loadup.el (top-level): Load window before files for the sake
7962 of replace-buffer-in-windows.
7963
7964 * files.el (read-buffer-to-switch)
7965 (switch-to-buffer-other-window)
2b75be67
SM
7966 (switch-to-buffer-other-frame, display-buffer-other-frame):
7967 Move to window.el.
9397e56f
MR
7968
7969 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
7970 (previous-buffer): Move to window.el.
7971
7972 * bindings.el (unbury-buffer): Move to window.el.
7973
7974 * window.el (delete-other-windows-vertically): Move after
7975 definition of delete-other-windows.
7976 (other-window, delete-windows-on, replace-buffer-in-windows):
7977 Move here from window.c.
7978 (record-window-buffer, unrecord-window-buffer)
7979 (set-window-buffer-start-and-point, switch-to-prev-buffer)
7980 (switch-to-next-buffer): New functions.
7981 (get-next-valid-buffer, last-buffer, next-buffer): Move here
7982 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
7983 (previous-buffer): Move here from simple.el.
7984 Call switch-to-prev-buffer.
9397e56f
MR
7985 (bury-buffer): Move here from buffer.c. Switch to previous
7986 buffer when window cannot be deleted.
7987 (unbury-buffer): Move here from bindings.el.
7988 (ctl-x-map): Move binding for other-window from window.c to
7989 here.
7990 (read-buffer-to-switch, switch-to-buffer-other-window)
7991 (switch-to-buffer-other-frame): Move here from files.el.
7992 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
7993 (switch-to-buffer): Move here from buffer.c.
7994 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 7995
562dd5e9
MR
79962011-06-10 Martin Rudalics <rudalics@gmx.at>
7997
7998 * window.el (window-min-height, window-min-width): Move here
7999 from window.c. Add defcustoms and rewrite doc-strings.
8000 (resize-mini-window, resize-window): New functions.
8001 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8002 Move here from window.c.
8003 (maximize-window, minimize-window): New functions.
8004 (delete-window, delete-other-windows, split-window): Move here
8005 from window.c.
8006 (window-split-min-size): New function.
8007 (split-window-keep-point): Mention split-window-above-each-other
8008 instead of split-window-vertically.
2b75be67 8009 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8010 Rename split-window-vertically to split-window-above-each-other
8011 and provide defalias for old definition.
8012 (split-window-side-by-side, split-window-horizontally):
8013 Rename split-window-horizontally to split-window-side-by-side
8014 and provide defalias for the old definition.
562dd5e9
MR
8015 (ctl-x-map): Move bindings for delete-window,
8016 delete-other-windows and enlarge-window here from window.c.
8017 Replace bindings for split-window-vertically and
8018 split-window-horizontally by bindings for
8019 split-window-above-each-other and split-window-side-by-side.
8020
8021 * cus-start.el (all): Remove entries for window-min-height and
8022 window-min-width. Add entries for window-splits and
8023 window-nest.
8024
f0da764a
GM
80252011-06-09 Glenn Morris <rgm@gnu.org>
8026
80675c21
GM
8027 * calendar/appt.el (appt-mode-line): New function.
8028 (appt-check, appt-disp-window): Use it.
8029
f0da764a
GM
8030 * files.el (hack-one-local-variable-eval-safep):
8031 Allow minor-modes with explicit +/-1 arguments.
8032
59f623b7
TZ
80332011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8034
8035 * term/xterm.el (xterm): Add defgroup.
8036 (xterm-extra-capabilities): Add defcustom to supply known xterm
8037 capabilities, skip querying them, or query them (default).
8038 (terminal-init-xterm): Use it.
8039 (terminal-init-xterm-modify-other-keys): New function to set up
8040 modifyOtherKeys support to simplify `terminal-init-xterm'.
8041
9aab8e0d
MR
80422011-06-09 Martin Rudalics <rudalics@gmx.at>
8043
8044 * window.el (resize-window-reset, resize-window-reset-1)
8045 (resize-subwindows-skip-p, resize-subwindows-normal)
8046 (resize-subwindows, resize-other-windows, resize-this-window)
8047 (resize-root-window, resize-root-window-vertically)
8048 (window-deletable-p, window-or-subwindow-p)
8049 (frame-root-window-p): New functions.
8050
e8b08aee
GM
80512011-06-09 Glenn Morris <rgm@gnu.org>
8052
8053 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8054 (ange-ftp-get-files): Use it.
8055
254c37a5
AK
80562011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8057
8058 * mail/sendmail.el (mail-recover-1, mail-recover):
8059 * files.el (recover-file, recover-session):
8060 Handle dired-listing-switches not being just a single short option.
8061
35d7dbd3
GM
80622011-06-09 Glenn Morris <rgm@gnu.org>
8063
8064 * calendar/appt.el (appt-display-message, appt-disp-window):
8065 Handle lists of appointments.
8066
387522b2
MR
80672011-06-08 Martin Rudalics <rudalics@gmx.at>
8068
2b75be67
SM
8069 * window.el (one-window-p): Move down in code.
8070 Rewrite doc-string.
8071 (window-current-scroll-bars): Rewrite doc-string.
8072 Normalize live window argument.
387522b2
MR
8073 (walk-windows, get-window-with-predicate, count-windows):
8074 Rewrite doc-string. Use window-list-1.
8075 (window-in-direction-2, window-in-direction, get-mru-window):
8076 New functions.
8077
d8e4b68b 80782011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8079
8080 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8081 Doc fix (Bug#8713).
8082
80832011-06-08 Chong Yidong <cyd@stupidchicken.com>
8084
8085 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8086
80872011-06-08 Juanma Barranquero <lekktu@gmail.com>
8088
8089 * loadhist.el (unload-feature-special-hooks):
8090 Add `comint-output-filter-functions'.
8091
0de12c52
IK
80922011-06-08 Ivan Kanis <gnu@kanis.fr>
8093
8094 * calendar/appt.el (appt-check): Move some initializations into the let.
8095
f3d1777e
MR
80962011-06-08 Martin Rudalics <rudalics@gmx.at>
8097
8098 * window.el (window-height): Defalias to window-total-height.
8099 (window-width): Defalias to window-body-width.
8100
18af70d0
CY
81012011-06-07 Chong Yidong <cyd@stupidchicken.com>
8102
8103 * image-mode.el (image-toggle-animation): New command.
8104 (image-mode-map): Bind it to RET.
8105 (image-mode): Update message.
8106 (image-toggle-display-image): Avoid a spurious cache flush.
8107 (image-transform-rotation): Doc fix.
8108 (image-transform-properties): Return quickly in the normal case.
8109 (image-animate-loop): Rename from image-animate-max-time.
8110
2b75be67 8111 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8112 (create-animated-image): Remove unnecessary function.
8113 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8114 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8115 (image-animate-timer): Use car-safe.
8116 (image-animate-timeout): Rename argument.
8117
190b47e6
MR
81182011-06-07 Martin Rudalics <rudalics@gmx.at>
8119
8120 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8121 window.c. Rename first argument to ALL-FRAMES.
8122 Rephrase doc-strings.
8123 (get-buffer-window-list): Rewrite using window-list-1.
8124 Rephrase doc-string.
a1511caf
MR
8125 (window-safe-min-height, window-safe-min-width): New constants.
8126 (window-size-ignore, window-min-size, window-min-size-1)
8127 (window-sizable, window-sizable-p, window-size-fixed-1)
8128 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8129 (window-max-delta-1, window-max-delta, window-resizable)
8130 (window-resizable-p, window-total-height, window-total-width)
8131 (window-body-width): New functions.
8132 (window-full-height-p, window-full-width-p): Rewrite using
8133 window-total-size.
8134 (window-body-height): Rewrite using window-body-size.
190b47e6 8135
85cc1f11
MR
81362011-06-06 Martin Rudalics <rudalics@gmx.at>
8137
8138 * window.el (window-right, window-left, window-child)
8139 (window-child-count, window-last-child, window-any-p)
8140 (normalize-live-buffer, normalize-live-frame)
8141 (normalize-any-window, normalize-live-window)
8142 (window-iso-combination-p, window-iso-combined-p)
8143 (window-iso-combinations)
8144 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8145 (windows-with-parameter, window-with-parameter)
8146 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8147 (window-atom-check, window-side-check, window-check):
8148 New functions.
85cc1f11
MR
8149 (ignore-window-parameters, window-sides, window-sides-vertical)
8150 (window-sides-slots): New variables.
8151 (window-size-fixed): Move down in code. Minor doc-string fix.
8152
e7156492
AS
81532011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8154
8155 * comint.el (comint-dynamic-complete-as-filename)
8156 (comint-dynamic-complete-filename): Correctly call
8157 completion-in-region.
8158
7e821d0d
DD
81592011-06-05 Deniz Dogan <deniz@dogan.se>
8160
8161 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8162 in last change.
8163
ac09b8a1
DD
81642011-06-05 Deniz Dogan <deniz@dogan.se>
8165
8166 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8167 (rcirc): Use it to prompt for encryption.
8168
34699b85
RW
81692011-06-05 Roland Winkler <winkler@gnu.org>
8170
8171 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8172 (bibtex-search-entries): New command bound to C-c C-a.
8173 (bibtex-display-entries): New function.
8174
004dedd3
RW
81752011-06-05 Roland Winkler <winkler@gnu.org>
8176
8177 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8178 (bibtex-insert-kill): After yanking insert newline if necessary.
8179 (bibtex-initialize): Call bibtex-string-files-init only once.
8180 (bibtex-mode): Do not call easy-menu-add.
8181 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8182 (bibtex-yank): Set arg properly if nil.
8183
022fe7ce
RW
81842011-06-05 Roland Winkler <winkler@gnu.org>
8185
2b75be67
SM
8186 * textmodes/bibtex.el (bibtex-search-entry-globally):
8187 New variable.
022fe7ce
RW
8188 (bibtex-search-entry): Use it.
8189
b7c3692a
RW
81902011-06-05 Roland Winkler <winkler@gnu.org>
8191
8192 * textmodes/bibtex.el (bibtex-entry-format): New option
8193 sort-fields.
8194 (bibtex-format-entry, bibtex-reformat): Honor this option.
8195 (bibtex-parse-entry): Return fields in proper order.
8196
8eda563d
JB
81972011-06-05 Juanma Barranquero <lekktu@gmail.com>
8198
8199 * doc-view.el (doc-view-remove-if): Move computation of result out
8200 of `dolist' to silence misleading lexical-binding warning.
8201
7dbe3dbc
CY
82022011-06-04 Chong Yidong <cyd@stupidchicken.com>
8203
8204 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8205 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8206
0c33dd17
MA
82072011-06-04 Michael Albinus <michael.albinus@gmx.de>
8208
8209 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8210 "SunOS 5.10".
8211
f8f91c2b
MA
82122011-06-04 Michael Albinus <michael.albinus@gmx.de>
8213
8214 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8215 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8216 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8217 (tramp-parse-putty):
8218 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8219 (tramp-completion-function-alist-ssh)
8220 (tramp-completion-function-alist-telnet)
8221 (tramp-completion-function-alist-su)
8222 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8223 cookie.
8224
8225 * net/tramp-ftp.el:
8226 * net/tramp-sh.el:
8227 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8228 load "tramp.el" `tramp-set-completion-function'.
8229
e17d9003
SM
82302011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8231
8232 * shell.el: Require and use pcomplete.
8233 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8234 (shell-completion-vars): Set pcomplete-default-completion-function.
8235
6c4cab03
DD
82362011-06-04 Deniz Dogan <deniz@dogan.se>
8237
8238 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8239 `memq' (Bug#8799).
8240
ea9fafe0
SM
82412011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8242
8243 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8244
b3e945d3
JB
82452011-06-02 Juanma Barranquero <lekktu@gmail.com>
8246
8247 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8248 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8249 * vc/log-view.el (log-view-beginning-of-defun):
8250 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8251 (smerge-refine-forward, smerge-refine-chopup-region):
8252 Silence warning for unused `dotimes' counter variables.
8253
7d520089
SM
82542011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8255
8256 * net/tramp.el (tramp-with-progress-reporter): Rename from
8257 with-progress-reporter. Use `declare'.
8258 * net/tramp-smb.el:
8259 * net/tramp-sh.el:
8260 * net/tramp-gvfs.el: Update all uses.
8261
a1c2400f
JB
82622011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8263
8264 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8265 buffer isn't killed before making it current.
8266
2403c841
SM
82672011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8269 Silence various byte-compiler warnings.
8270 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8271 `access-type' and new obsolescence format.
8272 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8273 new format.
8274 (byte-compile-check-variable): New `access-type' argument.
8275 Only warn if the access-type is obsolete.
8276 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8277 (byte-compile-variable-set): Adjust callers.
8278 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8279 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8280 setting it as obsolete.
8281 * simple.el (minibuffer-completing-symbol):
8282 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8283 access as obsolete.
8284 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8285 obsolete yet.
8286 * international/quail.el (quail-mouse-choose-completion): Remove unused
8287 code referring to obsolete var.
8288 (quail-choose-completion-string): Remove.
8289 * server.el (server-clients-with, server-kill-buffer-query-function)
8290 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8291 * proced.el (proced-send-signal):
8292 * emacs-lisp/lisp.el (lisp-complete-symbol):
8293 Replace completion-annotate-function with completion-extra-properties.
8294
2462470b
SM
82952011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8296
fb5b2591
SM
8297 * simple.el (goto-line): Use read-number.
8298 (overriding-map-is-bound): Remove.
8299 (saved-overriding-map): Change default.
8300 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8301 Take the map as argument.
8302 (universal-argument, negative-argument, digit-argument): Use it.
8303 (restore-overriding-map): Adjust.
8304 (do-auto-fill): Use fill-forward-paragraph.
8305 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8306
fd6fa53f
SM
8307 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8308 (minibuffer-inactive-mode): New major mode.
8309 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8310 the *Messages* buffer" hack.
8311 (mouse-popup-menubar): Don't burp if the event is a normal key.
8312
2462470b
SM
8313 Miscellaneous tweaks.
8314 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8315 lexical scoping as in subr.el's dolist and dotimes.
8316 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8317 Silence compiler warning.
8318 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8319 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8320 * international/ccl.el (ccl-compile): Trivial simplification.
8321 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8322 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8323 `printflag' argument.
8324 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8325 Purecopy the whole obsolescence data.
8326
108bf785
LL
83272011-06-01 Leo Liu <sdl.web@gmail.com>
8328
8329 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8330 improve doc-string as suggested by Marco Pessotto
8331 <melmothx@gmail.com>.
8332 (rcirc-print): Fix last change.
8333
30a23501
SM
83342011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * minibuffer.el (complete-with-action): Return nil for the metadata and
8337 boundaries of non-functional tables.
8338 (completion-table-dynamic): Return nil for the metadata.
8339 (completion-table-with-terminator): Add default case, using
8340 complete-with-action.
8341 (completion--metadata): New function.
8342 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8343 to try and avoid pathological performance problems.
8344 (completion--embedded-envvar-table): Return `category' metadata.
8345
bcd54f83
LMI
83462011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8347
8348 * subr.el (process-alive-p): New tiny convenience function.
8349
e227544d
SM
83502011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8351
8352 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8353 content but also its previous major mode.
8354
e8296fdc
HE
83552011-05-31 Helmut Eller <eller.helmut@gmail.com>
8356
4d61f28d 8357 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8358 *Backtrace* buffer when we exit with C-M-c.
8359
620c53a6
SM
83602011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 * minibuffer.el: Add metadata method to completion tables.
8363 (completion-category-overrides): New defcustom.
8364 (completion-metadata, completion--field-metadata)
8365 (completion-metadata-get, completion--styles)
8366 (completion--cycle-threshold): New functions.
8367 (completion-try-completion, completion-all-completions):
8368 Add `metadata' argument to choose completion-styles.
8369 (completion--do-completion): Use metadata to choose cycling.
8370 (completion-all-sorted-completions): Use metadata for sorting.
8371 Remove :completion-cycle-penalty which is not needed any more.
8372 (completion--try-word-completion): Add `metadata' argument.
8373 (minibuffer-completion-help): Check metadata for annotation function
8374 and sorting.
8375 (completion-file-name-table): Return `category' metadata.
8376 (minibuffer-completing-file-name): Make obsolete.
8377 * simple.el (minibuffer-completing-symbol): Make obsolete.
8378 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8379 completion-try-completion.
8380
1257e755
SM
83812011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8384
3767e706
LL
83852011-05-30 Leo Liu <sdl.web@gmail.com>
8386
8387 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8388 (rcirc-print): Decode all incoming messages (bug#8744).
8389 (rcirc-decode-coding-system): Allow value nil for automatic coding
8390 system detection.
3767e706 8391
d1a5d56a
GM
83922011-06-01 Glenn Morris <rgm@gnu.org>
8393
8394 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8395
e8cbec34
CY
83962011-05-29 Chong Yidong <cyd@stupidchicken.com>
8397
8398 * image.el (image-animate-max-time): Allow nil and t values.
8399 Default to nil.
8400 (create-animated-image): Doc fix.
8401 (image-animate-start): Remove second arg; just use
8402 image-animate-max-time.
8403 (image-animate-timeout): Doc fix. Args changed.
8404
8405 * image-mode.el (image-toggle-display-image): Ensure that the
8406 image spec passed to the animate timer is the same object as in
58179cce 8407 the buffer's display property (Bug#6981).
e8cbec34
CY
8408 (image-transform-properties): Doc fix.
8409
8410 * image.el (image-animate-max-time): Default to nil.
8411
159daf87
MR
84122011-05-29 Martin Rudalics <rudalics@gmx.at>
8413
8414 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8415 entire buffer list (Bug#8184).
8416
d66c4c7c
CY
84172011-05-29 Chong Yidong <cyd@stupidchicken.com>
8418
8419 * image.el (imagemagick-types-inhibit)
8420 (imagemagick-register-types): Doc fix.
8421
80aec780
DD
84222011-05-29 Deniz Dogan <deniz@dogan.se>
8423
8424 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8425 default.
8426
1dd3c2d9
CY
84272011-05-29 Chong Yidong <cyd@stupidchicken.com>
8428
8429 * select.el: Don't perform clipboard-manager saving in hooks;
8430 leave the hooks empty.
8431
60e56523
LL
84322011-05-28 Leo Liu <sdl.web@gmail.com>
8433
8434 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8435 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8436 (occur-edit-mode): New major mode (Bug#8463).
8437 (occur-after-change-function): New function.
8438 (occur-engine): Give Occur tags a read-only property.
8439
2b1e1a22
KR
84402011-05-28 Kevin Ryde <user42@zip.com.au>
8441
8442 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8443
5d344e88
CY
84442011-05-28 Chong Yidong <cyd@stupidchicken.com>
8445
8e6ca83d
CY
8446 * bindings.el (help-echo): Make the initial non-indicator dash
8447 empty on graphical terminals (Bug#7295).
8448
5d344e88
CY
8449 * files.el (auto-mode-alist): Move config rule after the
8450 in-stripping one (Bug#8547).
8451
bfbbace7
CY
8452 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8453
fbeba6e2
CY
8454 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8455 setting (Bug#8740).
8456
60ed8c72
AA
84572011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8458
4ac619f0
AA
8459 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8460 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8461 (Bug#8539).
60ed8c72 8462
23db196e
CY
84632011-05-28 Chong Yidong <cyd@stupidchicken.com>
8464
8465 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8466
5012f24c
DK
84672011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8468
8469 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8470 (hs-hide-block-at-point, hs-find-block-beginning)
8471 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8472 (Bug#8279).
8473
6a639b16
GM
84742011-05-28 Glenn Morris <rgm@gnu.org>
8475
8476 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8477
d43eaf2c
CY
84782011-05-28 Chong Yidong <cyd@stupidchicken.com>
8479
5199bde1
CY
8480 * help-fns.el (describe-function-1): If the function is a derived
8481 major mode, print the parent mode.
8482
d43eaf2c
CY
8483 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8484 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8485
423428a8
SM
84862011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8487
0ff8e1ba 8488 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8489 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8490 * progmodes/etags.el (tags-completion-at-point-function):
8491 * info-look.el (info-lookup-completions-at-point): Mark as
8492 non-exclusive.
8493 (info-complete): Adjust accordingly.
8494
423428a8
SM
8495 * info-look.el: Convert to lexical-binding and completion-at-point.
8496 (info-lookup-completions-at-point): New function.
8497 (info-complete): Use it and completion-in-region.
8498
b74aa22b
DA
84992011-05-28 Drew Adams <drew.adams@oracle.com>
8500
8501 * isearch.el: Let M-e start with point at the first mismatched char.
8502 (isearch-fail-pos): New function.
8503 (isearch-edit-string): Use it.
8504
66e2e71d
DK
85052011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8506
8507 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8508
b1890b0f 85092011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8510
8511 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8512 traversal functions for avl-trees.
8513 (avl-tree--stack): New struct.
8514 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8515 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8516 (avl-tree--do-enter): Add optional `updatefun' arg.
8517 Change return value.
eb95d01d 8518 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8519 (avl-tree--do-delete): Add `test' and `nilflag' args.
8520 Change return value.
eb95d01d
TC
8521 (avl-tree-member): Add optional `nilflag'
8522 (avl-tree-member-p): New function.
8523 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8524 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8525 (avl-tree-stack-empty-p): New functions.
8526
3769ddcf
TC
8527 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8528 avl-tree--del-balance1 and make it work both ways.
8529 (avl-tree--del-balance2): Remove.
8530 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8531 make it work both ways.
8532 (avl-tree--enter-balance2): Remove.
8533 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8534 New macros.
8535 (avl-tree--mapc, avl-tree-map): Add direction argument.
8536
eb95d01d 85372011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8538
8539 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8540
a9f737ee
CY
85412011-05-27 Chong Yidong <cyd@stupidchicken.com>
8542
8543 * select.el: Support clipboard managers with built-in function
8544 x-clipboard-manager-save, via delete-frame-functions and
8545 kill-emacs-hook.
8546 (xselect-convert-to-targets): Add MULTIPLE target to list.
8547 (xselect-convert-to-save-targets): New function.
8548
c92a1e54
KH
85492011-05-27 Kenichi Handa <handa@m17n.org>
8550
8551 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8552 let-binding rfc2047-encode-encoded-words to nil.
8553
e145f188
GM
85542011-05-27 Glenn Morris <rgm@gnu.org>
8555
5ec8a862
GM
8556 * mail/emacsbug.el: Don't require url-util.
8557
4b29d9fb
GM
8558 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8559
e145f188
GM
8560 * files.el (set-auto-mode):
8561 Also respect mode: entries at the end of the file. (Bug#8586)
8562
7d15102b
GM
85632011-05-26 Glenn Morris <rgm@gnu.org>
8564
98f593b8
GM
8565 * files.el (hack-local-variables-prop-line, hack-local-variables):
8566 Downcase mode names, as seems to be traditional.
27b48e63 8567 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8568
7d15102b
GM
8569 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8570 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8571
51d5b4ec
JD
85722011-05-25 Julien Danjou <julien@danjou.info>
8573
8574 * textmodes/rst.el (rst-define-level-faces): Do not define face
8575 symbol if it is already defined.
8576
91513f63
VB
85772011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8578
8579 * play/5x5.el (5x5-new-game, 5x5-randomize):
8580 Reset 5x5-solver-output to nil when a new grid is cast.
8581 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8582 these debugging traces, as defmacro breaks the compiled code.
8583
4d90d6d0
DK
85842011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8585
8586 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8587
e1b90ef6
LL
85882011-05-24 Leo Liu <sdl.web@gmail.com>
8589
8590 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8591 (vc-bzr-sha1): Adapt.
8592
d8e4b68b 8593 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8594
8595 * bindings.el: Provide sha1 feature.
8596
db0406bb 85972011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8598
8599 * mail/sendmail.el: Require `rfc2047'.
8600 (mail-insert-from-field): Do not perform RFC2047 encoding.
8601 (mail-encode-header): New function.
8602 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8603 buffer to the return value of select-message-coding-system.
8604 Call mail-encode-header.
b8d747b9
KH
8605
8606 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8607
db0406bb 86082011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8609
4d90d6d0
DK
8610 * mail/supercite.el (sc-default-cite-frame):
8611 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8612
eb8a5e9b
GM
86132011-05-24 Glenn Morris <rgm@gnu.org>
8614
f8630703
GM
8615 * progmodes/python.el (brm-menu): Declare.
8616
8831bbed
GM
8617 * emulation/viper.el (viper-set-hooks): Declare.
8618
eb8a5e9b
GM
8619 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8620 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8621 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8622 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8623 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8624 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8625
a2a25d24
SM
86262011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 Add an :exit-function for completion-at-point.
8629
8630 * minibuffer.el (completion--done): New fun.
8631 (completion--do-completion): Use it. New arg `expect-exact'.
8632 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8633 since completion--do-completion does it for us now.
8634 (minibuffer-force-complete): Use completion--done and
8635 completion--replace. Handle sole-completion case with more care.
8636 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8637 (completion-extra-properties): New var.
8638 (completion-annotate-function): Make obsolete.
8639 (minibuffer-completion-help): Adjust accordingly.
8640 Use completion-list-insert-choice-function.
8641 (completion-at-point, completion-help-at-point):
8642 Bind completion-extra-properties.
8643 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8644 * simple.el (completion-list-insert-choice-function): New var.
8645 (completion-setup-function): Preserve it.
8646 (choose-completion): Pay attention to it, shuffle the code a bit.
8647 (choose-completion-string): New arg `insert-function'.
8648
8649 * textmodes/bibtex.el: Convert to lexical binding.
8650 (bibtex-mode-map): Use completion-at-point.
8651 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8652 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8653 (bibtex-complete): Define as obsolete alias.
8654 (bibtex-complete-internal): Remove.
8655 (bibtex-format-entry): Remove unused sub-group in regexp.
8656 * shell.el (shell--command-completion-data)
8657 (shell-environment-variable-completion):
8658 * pcomplete.el (pcomplete-completions-at-point):
8659 * comint.el (comint--complete-file-name-data): Use :exit-function
8660 instead of completion-table-with-terminator so it also works for
8661 choose-completion.
8662
e44e373d
SM
86632011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8664
4f91a816
SM
8665 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8666
782fc819
SM
8667 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8668 (bug#8710).
8669
e44e373d
SM
8670 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8671
381987c3
KM
86722011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8673
8674 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8675 customization variable and implement: If non-nil, auto-fill will
8676 be inhibited while on topic's header line.
8677
b776bc70
VB
86782011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8679
8680 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8681 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8682 always have a solution in grid size = 5 cases.
8683 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8684 (5x5-solver-output, 5x5-log-buffer): New vars.
8685 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8686 Make these variables buffer local to achieve 5x5 multi-session-ness.
8687 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8688 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8689 (5x5-solve-suggest): New funs.
8690 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8691 randomize a grid so that we ensure that there is always a solution.
8692 (5x5-make-random-grid): Allow other movement than flipping.
8693
7de88b6e
KR
86942011-05-23 Kevin Ryde <user42@zip.com.au>
8695
8696 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8697 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8698 advice and passes PREDICATE.
8699
b1ef1257
SM
87002011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8701
bbca48fe
SM
8702 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8703 byte-compile-lambda if it's actually a lambda.
8704
b1ef1257
SM
8705 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8706 Fix function quoting. Use backquote better.
8707
92a9cc65
YS
87082011-05-22 Yuanle Song <sylecn@gmail.com>
8709
8710 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8711 matching (Bug#8516).
8712
f0fb8059
JA
87132011-01-22 Jari Aalto <jari.aalto@cante.net>
8714
8715 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8716 different face (Bug#8178).
8717
d5b44c93
CY
87182011-05-22 Chong Yidong <cyd@stupidchicken.com>
8719
8720 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8721 defface (Bug#8144).
8722
79106a44
SM
87232011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8724
9c848d8a
SM
8725 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8726 funcall as well (bug#8712). Warn when performing those conversions.
8727 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8728
79106a44
SM
8729 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8730
88dfa756
GM
87312011-05-22 Glenn Morris <rgm@gnu.org>
8732
8733 * files.el (hack-local-variables-prop-line): Small simplifications.
8734 (hack-local-variables, hack-local-variables-prop-line):
8735 If MODE-ONLY, return the mode, rather than just `t'.
8736
b7cf2c79
SM
87372011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8740
3f1a8558
GM
87412011-05-21 Glenn Morris <rgm@gnu.org>
8742
7e4ccca3
GM
8743 * files.el (hack-local-variables-prop-line, hack-local-variables):
8744 If only interested in the mode, don't bother doing the other stuff.
8745
637d46ca
GM
8746 * image-mode.el (image-after-revert-hook):
8747 Redraw all frames on which the image is visible. (Bug#8567)
8748
973d955b
GM
8749 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8750
3f1a8558
GM
8751 * wid-edit.el (widget-checklist-match-inline):
8752 Fix 2011-04-19 change. (Bug#8649)
8753
96479927
SM
87542011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8755
1dcf791f
SM
8756 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8757 Also allow singlespace after single-letter capitals followed by a dot.
8758
96479927
SM
8759 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8760 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8761
35fd0881
N
87622011-05-20 Nix <nix@esperi.org.uk>
8763
8764 * files.el (basic-save-buffer-2):
8765 Fix handling of break-hardlink-on-save with non-existent files.
8766
82745640
DD
87672011-05-19 Deniz Dogan <deniz@dogan.se>
8768
8769 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8770 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8771
4a720484
GM
87722011-05-19 Glenn Morris <rgm@gnu.org>
8773
d1f21341
GM
8774 * progmodes/f90.el (f90-type-def-re):
8775 Handle "type, bind(c)". (Bug#8691)
8776
4a720484
GM
8777 * emacs-lisp/autoload.el (batch-update-autoloads):
8778 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8779
2fb0a219
MA
87802011-05-18 Michael Albinus <michael.albinus@gmx.de>
8781
8782 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8783 property for the correct connection in case of multihops.
8784
e565dd37
GM
87852011-05-18 Glenn Morris <rgm@gnu.org>
8786
c2571358 8787 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8788 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8789
e565dd37
GM
8790 Rationalize calendar handling of day and month abbrev-arrays.
8791 * calendar/calendar.el (calendar-customized-p): New function.
8792 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8793 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8794 Add :set function.
8795 (calendar-abbrev-length, calendar-day-abbrev-array)
8796 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8797 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8798 Elements may no longer be nil.
8799 (calendar-day-name, calendar-month-name):
8800 Update for changed nature of abbrev arrays.
8801 * calendar/diary-lib.el (diary-name-pattern):
8802 Update for changed nature of abbrev arrays.
8803 (diary-mark-entries-1): Update calendar-make-alist calls.
8804 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8805 * calendar/cal-html.el (cal-html-day-abbrev-array):
8806 Simply inherit from calendar-day-abbrev-array.
8807
1d99a745
SM
88082011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * progmodes/grep.el (grep-mode): Disable default
8811 compilation-directory-matcher setting (bug#8684).
8812
7c1d9aa0
MA
88132011-05-17 Michael Albinus <michael.albinus@gmx.de>
8814
8815 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8816 instead of "head" and "tail". There were problems with SunOS 5.9,
8817 and it performs better.
8818
3952e9d8
GM
88192011-05-17 Glenn Morris <rgm@gnu.org>
8820
2dd12e7f
GM
8821 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8822
e4157b9c
GM
8823 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8824 Replace obsolete function.
8825
8e249bbd
GM
8826 * shell.el (pcomplete-parse-arguments-function): Declare.
8827
3952e9d8
GM
8828 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8829 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8830 (appt-check): Doc fixes.
8831 (appt-disp-window-function, appt-delete-window-function):
8832 Remove needless special case in custom :type.
8833 (appt-display-count): Default to 0, not nil.
8834 (appt-check): Reset appt-display-count to 0, not nil.
8835
c71a0d48 88362011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8837
c71a0d48
GM
8838 * progmodes/python.el (python-font-lock-keywords):
8839 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 8840
31d55be9
SM
88412011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8842
8843 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8844
3bfacb2f
KR
88452011-05-16 Kevin Ryde <user42@zip.com.au>
8846
8847 * info-look.el (makefile-automake-mode): New setups, looking in
8848 automake manual, then makefile-mode.
8849 (makefile-mode): Remove automake manual, have it just in
8850 makefile-automake-mode since there's various things different or
8851 not relevant to plain make.
8852 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8853 believe a hypothetical automake-mode would go to makefile-mode,
8854 not the other way around.
8855
c8e83751
CY
88562011-05-15 Chong Yidong <cyd@stupidchicken.com>
8857
5e9e35cd
CY
8858 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8859 hunk-end tags (Bug#8672).
8860
c8e83751
CY
8861 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8862 vc-annotate-show-diff-revision-at-line (Bug#8671).
8863
50b23e5a
GM
88642011-05-14 Glenn Morris <rgm@gnu.org>
8865
7210a739
GM
8866 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8867 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
8868 (change-log-font-lock-keywords): Also handle multiple author lines
8869 with leading tabs. (Bug#8644)
7210a739 8870
4691905a
GM
8871 * calendar/appt.el (appt-check): Rename some local variables.
8872 Some simplification/reordering.
8873
50b23e5a
GM
8874 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
8875 (feedmail-sendmail-f-doesnt-sell-me-out)
8876 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8877 (feedmail-debug-sit-for, feedmail-queue-express-hook)
8878 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
8879 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8880 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
8881 (feedmail-binmail-gnulinuxish-template):
8882 Rename from feedmail-binmail-linuxish-template.
8883 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8884 Use insert-buffer-substring.
8885
215cda7c
BC
88862011-05-14 Bill Carpenter <bill@carpenter.org>
8887
8888 * mail/feedmail.el (feedmail-patch-level): Increase.
8889 (feedmail-debug): New custom group.
8890 (feedmail-confirm-outgoing-timeout)
8891 (feedmail-sendmail-f-doesnt-sell-me-out)
8892 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8893 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8894 (feedmail-sender-line, feedmail-from-line)
8895 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 8896 (feedmail-spray-this-address)
215cda7c
BC
8897 (feedmail-spray-address-fiddle-plex-list)
8898 (feedmail-queue-use-send-time-for-date)
8899 (feedmail-queue-use-send-time-for-message-id)
8900 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8901 (feedmail-buffer-eating-function):
8902 Doc fixes.
8903 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8904 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8905 (feedmail-message-action-scroll-down): New functions.
8906 (feedmail-queue-directory, feedmail-queue-draft-directory):
8907 Use expand-file-name.
8908 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8909 Remove C-v help entry.
8910 (feedmail-queue-buffer-file-name): New variable.
8911 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8912 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8913 (feedmail-message-action-send-strong, feedmail-message-action-edit)
8914 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8915 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8916 (feedmail-message-action-toggle-spray)
8917 (feedmail-run-the-queue-no-prompts)
8918 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8919 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8920 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8921 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8922 (feedmail-envelope-deducer, feedmail-fiddle-from)
8923 (feedmail-fiddle-sender, feedmail-default-date-generator)
8924 (feedmail-fiddle-date, feedmail-fiddle-message-id)
8925 (feedmail-fiddle-spray-address)
8926 (feedmail-fiddle-list-of-spray-fiddle-plexes)
8927 (feedmail-fiddle-list-of-fiddle-plexes)
8928 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8929 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8930 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8931 Change default. Doc fix.
8932 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8933 (feedmail-binmail-linuxish-template): New constant.
8934 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
8935 Respect feedmail-sendmail-f-doesnt-sell-me-out.
8936 (feedmail-send-it): Add debug call.
8937 Use feedmail-queue-buffer-file-name, and
8938 feedmail-send-it-immediately-wrapper.
8939 (feedmail-message-action-send): Add debug call.
8940 Use feedmail-send-it-immediately-wrapper.
8941 (feedmail-queue-express-to-queue): Add debug call.
8942 Run feedmail-queue-express-hook.
8943 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
8944 (feedmail-message-action-help-blat):
8945 Rename from feedmail-queue-send-edit-prompt-help-first.
8946 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
8947 Check line-endings. Handle errors better.
8948 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
8949 Doc fix. Add debug call.
8950 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
8951 Use feedmail-queue-send-edit-prompt-inner.
8952 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
8953 (feedmail-queue-send-edit-prompt-inner): New function, extracted
8954 from feedmail-queue-send-edit-prompt.
8955 (feedmail-queue-send-edit-prompt-help)
8956 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
8957 (feedmail-tidy-up-slug): Add debug call.
8958 Respect feedmail-queue-slug-suspect-regexp.
8959 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
8960 (feedmail-dump-message-to-queue): Add debug call.
8961 Expand queue-directory.
8962 (feedmail-dump-message-to-queue): Change message slightly.
8963 Use feedmail-say-chatter.
8964 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
8965 (feedmail-send-it-immediately-wrapper): New function.
8966 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
8967 Insert empty string rather than newline. Handle full-frame case.
8968 Use catch/throw. Use feedmail-say-chatter.
8969 (feedmail-fiddle-from): Try mail-host-address.
8970 (feedmail-default-message-id-generator): Doc fix.
8971 Bind system-time-locale. Handle missing end.
8972 (feedmail-fiddle-x-mailer): Add debug call.
8973 Handle feedmail-x-mailer-line being nil.
8974 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
8975 Add debug call. Use buffer-substring-no-properties.
8976 (feedmail-say-debug, feedmail-say-chatter): New functions.
8977 (feedmail-find-eoh): Give an explicit error.
8978
42c7e61e
UJ
89792011-05-13 Ulf Jasper <ulf.jasper@web.de>
8980
c2571358 8981 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 8982 family from helvetica to sans.
c2571358 8983 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
8984 etc/images/newsticker.
8985
c2571358 8986 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
8987 family from helvetica to sans.
8988
8989 * net/newst-plainview.el (newsticker-new-item-face)
8990 (newsticker-old-item-face, newsticker-immortal-item-face)
8991 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 8992 (newsticker-statistics-face): Change default family from
42c7e61e 8993 helvetica to sans.
c2571358 8994 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
8995 etc/images/newsticker.
8996
8997 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
8998 (newsticker--process-auto-mark-filter-match): : Tell user about
8999 auto-marking.
9000
8497a297
DV
90012011-05-13 Didier Verna <didier@xemacs.org>
9002
9003 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9004 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9005 TODO entries.
8497a297
DV
9006 (lisp-lambda-list-keyword-parameter-indentation)
9007 (lisp-lambda-list-keyword-parameter-alignment)
9008 (lisp-lambda-list-keyword-alignment): New customizable user options.
9009 (lisp-indent-defun-method): Improve docstring.
9010 (extended-loop-p): Fix comment.
9011 (lisp-indent-lambda-list-keywords-regexp): New variable.
9012 (lisp-indent-lambda-list): New function.
9013 (lisp-indent-259): Use it.
9014 (lisp-indent-defmethod): Support for more than one
9015 method qualifier and properly indent methods lambda-lists.
9016 (defgeneric): Provide a missing common-lisp-indent-function property.
9017
f278f87f
SM
90182011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9021 bounds for the empty string (bug#8667).
9022
5233edd7
GM
90232011-05-13 Glenn Morris <rgm@gnu.org>
9024
5237a44f
GM
9025 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9026
8340026c 9027 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9028 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9029
5233edd7 9030 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9031 (appt-time-msg-list): Doc fix.
a5464014 9032 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9033
92d10796
AS
90342011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9035
9036 * progmodes/ld-script.el (ld-script-keywords)
9037 (ld-script-builtins): Update keywords list.
9038
914a0ae1
SM
90392011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9040
c89be45f
SM
9041 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9042
914a0ae1
SM
9043 * shell.el (shell-completion-vars): New function.
9044 (shell-mode):
9045 * simple.el (read-shell-command): Use it.
9046 (blink-matching-open): No need for " [...]" in minibuffer-message.
9047
98dc3df3
GM
90482011-05-12 Glenn Morris <rgm@gnu.org>
9049
9050 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9051 (appt-check): Simplify.
9052
d2fc7e3d 90532011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9054
4d61f28d 9055 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9056 literal "/dev/null".
9057
d2fc7e3d 90582011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9059
9060 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9061 Fix typo.
9062
d2fc7e3d 90632011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9064
3f254caa
SM
9065 * progmodes/which-func.el (which-function):
9066 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9067 which might not be defined (Bug#8260).
9068
d45885f7
GM
90692011-05-12 Glenn Morris <rgm@gnu.org>
9070
9071 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9072 Let byte-compile-initial-macro-environment always take precedence.
9073
488086f4
SM
90742011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9075
9076 * net/rcirc.el: Add support for SSL/TLS connections.
9077 (rcirc-server-alist): New field `encryption'.
9078 (rcirc): Check `encryption' settings.
9079 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9080 Merge make-local-variable into `set'.
9081 (rcirc--connection-open-p): New function.
9082 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9083 the process is not a network process (e.g. running gnutls-cli).
9084 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9085 Make rcirc-(en|de)code-coding-system local here.
9086 (rcirc-mode): Merge make-local-variable into `set'.
9087 (rcirc-parent-buffer): Make permanent buffer-local.
9088 (rcirc-multiline-minor-mode): Don't do it here.
9089 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9090 there's no server buffer.
9091
7d3b9d44
GM
90922011-05-11 Glenn Morris <rgm@gnu.org>
9093
f64049c6
GM
9094 * newcomment.el (comment-kill): Prefix "unused" local.
9095
93c9df73
GM
9096 * term/w32console.el (get-screen-color): Declare.
9097
7d3b9d44
GM
9098 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9099 Handle symbol elements of byte-compile-initial-macro-environment.
9100
9e2dd53f
LL
91012011-05-10 Leo Liu <sdl.web@gmail.com>
9102
488086f4
SM
9103 * bookmark.el (bookmark-bmenu-mode-map):
9104 Bind bookmark-bmenu-search to `/'.
8b340240 9105
9e2dd53f 9106 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9107 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9108 (Footnote-unicode): New function.
9109 (footnote-style-alist): Add unicode style to the list.
9110 (footnote-style): Doc fix.
9e2dd53f 9111
79b70037
GM
91122011-05-10 Jim Meyering <meyering@redhat.com>
9113
9114 Fix doubled-word typos.
9115 * international/quail.el (quail-insert-kbd-layout): and and -> and
9116 * kermit.el: and and -> and
9117 * net/ldap.el (ldap-search-internal): to to -> to
9118 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9119 * progmodes/js.el (js-mode): and and -> and
9120 * textmodes/artist.el (artist-move-to-xy): at at -> at
9121 (artist-draw-region-trim-line-endings): if if -> if
9122 And Safetyc -> Safety.
9123 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9124
b8f82dc1 91252011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9126 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9127
9128 * files.el (hack-one-local-variable-eval-safep):
9129 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9130
4f99f44b
GM
91312011-05-10 Glenn Morris <rgm@gnu.org>
9132
9133 * calendar/diary-lib.el (diary-list-entries-hook)
9134 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9135 (diary-nongregorian-marking-hook, diary-list-entries)
9136 (diary-include-other-diary-files, diary-mark-entries)
9137 (diary-mark-included-diary-files): Doc fixes.
9138
84f29e6b
JB
91392011-05-09 Juanma Barranquero <lekktu@gmail.com>
9140
9141 * misc.el: Require tabulated-list.el during compilation.
9142
9bedd73a
CY
91432011-05-09 Chong Yidong <cyd@stupidchicken.com>
9144
488086f4
SM
9145 * progmodes/compile.el (compilation-start):
9146 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9147 (compilation-filter-hook): Doc fix.
9148
797c735c
DD
91492011-05-09 Deniz Dogan <deniz@dogan.se>
9150
9151 * wdired.el: Remove outdated installation comment. Fix usage
9152 comment.
9153
5f4b1dfe
JB
91542011-05-09 Juanma Barranquero <lekktu@gmail.com>
9155
9156 * misc.el: Implement new command `list-dynamic-libraries'.
9157 (list-dynamic-libraries--loaded-only-p): New variable.
9158 (list-dynamic-libraries--refresh): New function.
9159 (list-dynamic-libraries): New command.
9160
4c44026c
CY
91612011-05-09 Chong Yidong <cyd@stupidchicken.com>
9162
488086f4
SM
9163 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9164 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9165 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9166 higher priority to avoid clobbering by gnu.
9167
027f966d
CY
91682011-05-08 Chong Yidong <cyd@stupidchicken.com>
9169
9170 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9171 if the face has existing theme settings (Bug#8454).
9172
085f5d7d
CY
91732011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9174
488086f4
SM
9175 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9176 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9177
2a86a00c
RS
9178 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9179 special file names `.' and `..' (Bug#8259).
9180
d9c54a06
CY
91812011-05-08 Chong Yidong <cyd@stupidchicken.com>
9182
488086f4
SM
9183 * progmodes/grep.el (grep-mode-font-lock-keywords):
9184 Remove buffer-changing entries.
d9c54a06
CY
9185 (grep-filter): New function.
9186 (grep-mode): Add it to compilation-filter-hook.
9187
9188 * progmodes/compile.el (compilation-filter-hook)
9189 (compilation-filter-start): New defvars.
9190 (compilation-filter): Call compilation-filter-hook prior to
9191 updating the process mark.
9192
c4662635
SM
91932011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9194
9195 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9196
b0512a1d
EZ
91972011-05-07 Eli Zaretskii <eliz@gnu.org>
9198
605c9376
EZ
9199 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9200 mailclient-send-it even if window-system is nil. (Bug#8595)
9201
c4662635
SM
9202 * term/w32console.el (terminal-init-w32console):
9203 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9204 background-mode. (Bug#8597)
9205
d1dc2cc2
SM
92062011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9209 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9210 New functions.
9211 (defgeneric, eieio--defmethod): Use them.
9212 (eieio-defgeneric): Remove.
9213 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9214
915d1300
GM
92152011-05-07 Glenn Morris <rgm@gnu.org>
9216
a3961c3e
GM
9217 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9218 Use let rather than let*.
9219 (timeclock-find-discrep): Remove unused local.
9220
314347b9
GM
9221 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9222
915d1300
GM
9223 * calendar/appt.el (appt-time-msg-list): Doc fix.
9224
275b59b0
NF
92252011-05-06 Noah Friedman <friedman@splode.com>
9226
9227 * apropos.el (apropos-print-doc): Only use
9228 emacs-lisp-docstring-fill-column when it is bound to an integer,
9229 per that variable's documentation.
9230
6c19f744
SM
92312011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9232
9233 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9234 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9235
60f884b2
GM
92362011-05-06 Glenn Morris <rgm@gnu.org>
9237
5006e634
GM
9238 * calendar/appt.el (appt-message-warning-time): Doc fix.
9239 (appt-warning-time-regexp): New option.
9240 (appt-make-list): Respect appt-message-warning-time.
9241
548d0a63
GM
9242 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9243 New options.
9244 (diary-add-to-list): Strip comments from the displayed string.
9245 (diary-mode): Set comment-start and comment-end.
9246
60f884b2
GM
9247 * vc/diff-mode.el (smerge-refine-subst): Declare.
9248 (diff-refine-hunk): Don't require smerge-mode when compiling.
9249
989681bb
JB
92502011-05-06 Juanma Barranquero <lekktu@gmail.com>
9251
9252 * simple.el (list-processes): Return nil as the docstring says.
9253
a6bc05e1
MA
92542011-05-05 Michael Albinus <michael.albinus@gmx.de>
9255
9256 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9257 to "".
9258 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9259 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9260 determining of binary transfer. (Bug#7383)
9261
23c22e9a
MA
92622011-05-05 Michael Albinus <michael.albinus@gmx.de>
9263
c4662635
SM
9264 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9265 Fix port computation bug. (Bug#8618)
23c22e9a 9266
0bff894f
GM
92672011-05-05 Glenn Morris <rgm@gnu.org>
9268
b8296902
GM
9269 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9270
1f522ce8
GM
9271 * simple.el (shell-dynamic-complete-functions)
9272 (comint-dynamic-complete-functions): Declare.
9273
cf5bee67
GM
9274 * net/network-stream.el (gnutls-negotiate):
9275 * simple.el (tabulated-list-print): Fix declarations.
9276
9277 * progmodes/gud.el (syntax-symbol, syntax-point):
9278 Remove unnecessary and incorrect declarations.
9279
0bff894f
GM
9280 * emacs-lisp/check-declare.el (check-declare-scan):
9281 Handle byte-compile-initial-macro-environment in bytecomp.el
9282
9869b3ae
SM
92832011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 Fix earlier half-done eieio-defmethod change (bug#8338).
9286 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9287 Streamline and change calling convention.
9288 (defmethod): Adjust accordingly and simplify.
9289 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9290 new eieio--defmethod.
9291 (slot-boundp): Minor CSE simplification.
9292
9c1d5ac5
MZ
92932011-05-05 Milan Zamazal <pdm@zamazal.org>
9294
9295 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9296 (glasses-make-readable): Use glasses-separate-capital-groups.
9297
455c834e
JB
92982011-05-05 Juanma Barranquero <lekktu@gmail.com>
9299
9300 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9301 (warning-series): Doc fix.
9302 (display-warning): Don't try to create the buffer if we just found it.
9303
9ed7c8cb
CY
93042011-05-04 Chong Yidong <cyd@stupidchicken.com>
9305
9306 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9307 (autoload-find-generated-file): New function.
9308 (generate-file-autoloads): Bind generated-autoload-file to
9309 buffer-file-name.
9869b3ae
SM
9310 (update-file-autoloads, update-directory-autoloads):
9311 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9312 output file (Bug#7989).
9313 (batch-update-autoloads): Doc fix.
9314
0898ca10
JB
93152011-05-04 Juanma Barranquero <lekktu@gmail.com>
9316
9317 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9318
31dfb76c
GM
93192011-05-04 Glenn Morris <rgm@gnu.org>
9320
f330b642
GM
9321 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9322 function, so it follows changes in calendar-date-style.
9323 (diary-fancy-date-matcher): New function.
9324 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9325 (diary-fancy-font-lock-fontify-region-function):
9326 Use diary-fancy-date-pattern as a function.
9327
31dfb76c
GM
9328 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9329 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9330
48e79d6a
TZ
93312011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9332
9333 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9334 instead of positional arguments. Allow :keylist and :crlfiles
9335 arguments.
9336 (open-gnutls-stream): Call it.
9337
9338 * net/network-stream.el (network-stream-open-starttls): Adjust to
9339 call `gnutls-negotiate' with :process and :hostname arguments.
9340
dd5a5ee0
SM
93412011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9342
ef80fc09
SM
9343 * minibuffer.el (completion--message): New function.
9344 (completion--do-completion, minibuffer-complete)
9345 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9346 (completion--do-completion): Don't ignore completion-auto-help when in
9347 icomplete-mode.
9348
dd5a5ee0
SM
9349 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9350 internal encoding (e.g. tibetan zero is not whitespace).
9351 (global-whitespace-mode): Prefer save-current-buffer.
9352 (whitespace-trailing-regexp): Remove useless save-match-data.
9353 (whitespace-empty-at-bob-regexp): Minor simplification.
9354
b7d22a83
CY
93552011-05-03 Chong Yidong <cyd@stupidchicken.com>
9356
9357 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9358
5192af46
AM
93592011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9360
9361 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9362 Use `concat' to create string for insertion.
5192af46 9363
5767d190
SM
93642011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9365
9366 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9367 Avoid open-line which runs post-self-insert-hook.
9368 (bibtex-fill-entry): Remove unused `end' var.
9369
bf242939
AM
93702011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9371
5767d190
SM
9372 * textmodes/ispell.el (ispell-add-per-file-word-list):
9373 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9374
25666126
LL
93752011-05-03 Leo Liu <sdl.web@gmail.com>
9376
9377 * isearch.el (isearch-yank-pop): New command.
5767d190 9378 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9379 (isearch-forward): Mention it.
9380
52d3c2d0
SM
93812011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9382
1bcace58
SM
9383 * simple.el (minibuffer-complete-shell-command): Remove.
9384 (minibuffer-local-shell-command-map): Use completion-at-point.
9385 (read-shell-command): Setup completion vars here instead.
9386 (read-expression-map): Bind TAB to symbol completion.
9387
52d3c2d0
SM
9388 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9389 error directly rather via storing it into `results'.
9390
35813471
LL
93912011-05-02 Leo Liu <sdl.web@gmail.com>
9392
9393 * vc/diff.el: Fix description.
9394
e793a940
LMI
93952011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9396
9397 * server.el (server-eval-at): New function.
9398
8de66e05
LMI
93992011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9400
9401 * net/network-stream.el (open-network-stream): Take a :nowait
9402 parameter and pass it on to `make-network-process'.
9403 (network-stream-open-plain): Ditto.
9404
dcb79f20
AS
94052011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9406
9407 * faces.el (face-spec-set-match-display): Don't match toolkit
9408 options on terminal frames.
9409
14a7fbd8
SM
94102011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9411
7eabc1be
SM
9412 * progmodes/pascal.el: Use lexical binding.
9413 (pascal-mode-map): Remove author preferences.
9414
14a7fbd8
SM
9415 * pcomplete.el (pcomplete-std-complete): Don't abuse
9416 completion-at-point.
9417
50f84510
JB
94182011-04-28 Juanma Barranquero <lekktu@gmail.com>
9419
6e087a44
JB
9420 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9421 removing code that has been dead since 1991 or so.
9422
50f84510
JB
9423 * startup.el (command-line): When warning about "_emacs", use a
9424 delayed warning to allow the user to filter it out.
9425
0ba690bd
DD
94262011-04-28 Deniz Dogan <deniz@dogan.se>
9427
9428 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9429 user has not joined.
9430
08abfaad
SM
94312011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9432
9433 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9434 aren't any completions at point.
9435
638f053a
JB
94362011-04-28 Juanma Barranquero <lekktu@gmail.com>
9437
9438 * subr.el (display-delayed-warnings): New function.
9439 (delayed-warnings-hook): New variable.
9440
8fff8daa
SM
94412011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9442
08abfaad
SM
9443 * minibuffer.el (completion-at-point, completion-help-at-point):
9444 Don't presume that a given completion-at-point-function will always
9445 use the same calling convention.
9446
8fff8daa
SM
9447 * pcomplete.el (pcomplete-completions-at-point):
9448 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9449 pcomplete-seen is non-nil.
9450 (pcomplete-comint-setup): Also recognize the new comint/shell
9451 completion functions.
9452 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9453 pcomplete-seen is non-nil.
9454
841a1577 94552011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9456
841a1577 9457 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9458 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9459 the first character in the entry. This allows for code to add its
211ec907
UJ
9460 own uid to the entry.
9461 (icalendar--convert-float-to-ical): Add export of
9462 `diary-float'-entries save for those with the optional DAY
9463 argument.
9464
2a782793
DC
94652011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9466
9467 * subr.el (shell-quote-argument): Use alternate escaping strategy
9468 when we spot a variable reference in a string.
9469
0438ce91
DC
94702011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9471
9472 * cus-start.el (all): Define customization for debug-on-event.
9473
841a1577 94742011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9475
9476 * subr.el (shell-quote-argument): Escape correctly under Windows.
9477
d090ed6c
SM
94782011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9481
bfd31217
MA
94822011-04-25 Michael Albinus <michael.albinus@gmx.de>
9483
d090ed6c
SM
9484 * net/tramp.el (tramp-process-actions): Add POS argument.
9485 Delete region between POS and (pos).
bfd31217 9486
d090ed6c
SM
9487 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9488 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9489 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9490
9491 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9492 position in `tramp-process-actions' call.
9493
9494 * net/trampver.el: Update release number.
9495
e92f3bd3
SM
94962011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9497
850256b5
SM
9498 * custom.el (defcustom): Obey lexical-binding.
9499
e92f3bd3
SM
9500 Fix octave-inf completion problems reported by Alexander Klimov.
9501 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9502 Inherit from octave-mode-syntax-table.
9503 (inferior-octave-mode): Set info-lookup-mode.
9504 (inferior-octave-completion-at-point): New function.
9505 (inferior-octave-complete): Use it and completion-in-region.
9506 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9507 comint-filename-completion.
9508 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9509 symbol elements which shouldn't be word elements.
9510 (octave-font-lock-keywords, octave-beginning-of-defun)
9511 (octave-function-header-regexp): Adjust regexps accordingly.
9512 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9513
cd22b309
JB
95142011-04-25 Juanma Barranquero <lekktu@gmail.com>
9515
9516 * net/gnutls.el (gnutls-errorp): Declare before first use.
9517
8b492194
TZ
95182011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9519
9520 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9521 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9522 default trustfile exists before going to use it. Add missing
5a5fa834 9523 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9524 Reported by Claudio Bley <claudio.bley@gmail.com>.
9525 (open-gnutls-stream): Add usage example.
9526
9527 * net/network-stream.el (network-stream-open-starttls): Give host
9528 parameter to `gnutls-negotiate'.
9529 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9530 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9531
841a1577 95322011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9533
cd22b309
JB
9534 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9535 Use correct match group (bug#8438).
05842630 9536
3ba7869c
CY
95372011-04-24 Chong Yidong <cyd@stupidchicken.com>
9538
512e3ae1
CY
9539 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9540 (package-menu--generate): New arg specifying packages to show.
9541 (package-menu-refresh, package-menu-execute, list-packages):
9542 Callers changed.
9543 (package-show-package-list): New function, replacing deleted
9544 package--list-packages (renamed because it is non-internal).
9545
9546 * finder.el (finder-list-matches): Use package-show-package-list
9547 instead of deleted package--list-packages.
9548
e92f3bd3
SM
9549 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9550 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9551 (vc-annotate-mode-map): Bind it to RET.
9552
7031be6d
UR
95532011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9554
9555 * progmodes/etags.el (next-file): Don't use set-buffer to change
9556 buffers (Bug#8478).
9557
4ef177aa
CY
95582011-04-24 Chong Yidong <cyd@stupidchicken.com>
9559
c8d173eb
CY
9560 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9561
4ef177aa
CY
9562 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9563 (apropos-accumulator): Doc fix.
9564 (apropos-function, apropos-macro, apropos-command)
9565 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9566 (apropos-plist): Add face property.
9567 (apropos-symbols-internal): Fix indentation.
9568 (apropos-print): Simplify help, and recognize apropos-multi-type.
9569 (apropos-print-doc): Use button-type-get to extract the button's
9570 face property. Fill docstring (Bug#8352).
9571
4ffd0d6b 95722011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9573
9574 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9575
c6c32125 9576 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9577 (mpuz-mode-map): Use mapc.
c6c32125
JB
9578 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9579 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9580 Fix typos in docstrings.
9581
58d468b4
JB
9582 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9583 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9584
6470c3c6
JB
9585 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9586
4ffd0d6b 95872011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9588
9589 * minibuffer.el (completion--do-completion): Avoid the "Next char
9590 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9591
3ad8bad0
CY
9592 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9593 mouse-2 into unread-command-events, it is interpreted correctly.
9594
71d73c9c 9595 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9596 (image-toggle-display): Doc fix.
71d73c9c 9597
841a1577 95982011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9599
4ffd0d6b
GM
9600 * textmodes/page.el (what-page): Use line-number-at-pos to
9601 calculate line number (Bug#6825).
6e1dbaa9 9602
c2fb1b60
JB
96032011-04-22 Juanma Barranquero <lekktu@gmail.com>
9604
9605 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9606 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9607 Pass argument NO-DEFAULT to `find-tag-interactive'.
9608
e02f48d7
JB
96092011-04-22 Juanma Barranquero <lekktu@gmail.com>
9610
9611 Lexical-binding cleanup.
9612
9613 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9614 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9615 * progmodes/ada-prj.el (ada-prj-initialize-values)
9616 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9617 (ada-prj-show-value):
9618 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9619 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9620 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9621 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9622 * progmodes/bug-reference.el (bug-reference-push-button):
9623 * progmodes/fortran.el (fortran-line-length):
9624 * progmodes/glasses.el (glasses-change):
9625 * progmodes/octave-mod.el (octave-fill-paragraph):
9626 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9627 (python-pdbtrack-grub-for-buffer, python-sentinel):
9628 * progmodes/sql.el (sql-save-connection):
9629 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9630 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9631 Mark unused parameters.
9632
9633 * progmodes/compile.el (compilation--flush-directory-cache)
9634 (compilation--flush-parse, compile-internal): Mark unused parameters.
9635 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9636 (compilation-next-error-function): Remove unused variable `timestamp'.
9637
9638 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9639 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9640
9641 * progmodes/dcl-mode.el (dcl-end-of-command):
9642 Remove unused variable `start'.
9643 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9644 (dcl-option-value-basic, dcl-option-value-offset)
9645 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9646 Mark unused parameters.
9647 (dcl-save-local-variable): Remove unused variable `val'.
9648 (mode): Declare.
9649
9650 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9651 Mark unused parameters.
9652 (delphi-ignore-changes): Move before first use.
9653 (delphi-charset-token-at): Remove unused variable `start'.
9654 (delphi-else-start): Remove unused variable `if-count'.
9655 (delphi-comment-block-start, delphi-comment-block-end):
9656 Remove unused variable `kind'.
9657 (delphi-indent-line): Remove unused variable `new-point'.
9658
9659 * progmodes/ebrowse.el (ebrowse-files-list)
9660 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9661 Mark unused parameters. Don't quote `lambda'.
9662 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9663 Don't quote `lambda'.
9664 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9665 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9666 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9667 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9668 Use `ignore-errors'.
9669 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9670 (ebrowse-view/find-file-and-search-pattern)
9671 (ebrowse-view/find-member-declaration/definition):
9672 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9673 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9674 Rename parameter PREFIX-ARG to PREFIX.
9675 (ebrowse-tags-read-name): Remove unused variables `start' and
9676 `member-info'.
9677 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9678 to `tags-file'.
9679
9680 * progmodes/etags.el (local-find-tag-hook): Declare.
9681 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9682 Mark unused parameters.
9683
9684 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9685 (executable-interpret): Mark unused parameter.
9686
9687 * progmodes/flymake.el (flymake-process-sentinel)
9688 (flymake-after-change-function)
9689 (flymake-create-temp-with-folder-structure)
9690 (flymake-get-include-dirs-dot): Mark unused parameters.
9691 (flymake-safe-delete-directory): Remove unused variable `err'.
9692
9693 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9694 (speedbar-timer-fn, speedbar-line-text)
9695 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9696 (speedbar-center-buffer-smartly): Declare functions.
9697 (gdb-find-watch-expression): Remove unused variable `array'.
9698 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9699 (gdb-starting): Mark unused parameters.
9700 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9701 (gdb-table-string): Remove unused variable `res'.
9702 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9703 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9704 (gdb-display-buffer): Remove unused variable `cur-size'.
9705
9706 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9707 allow lexical-binding compilation.
9708 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9709 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9710 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9711 Mark unused parameters.
9712 (gud-gdb-marker-filter): Remove unused variable `match'.
9713 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9714 lambda expressions and funcall them, instead of using `fset'.
9715
9716 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9717 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9718
9719 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9720 variable `header-beg'; use `let'.
9721
9722 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9723 `restart', `last-sexp' and `at-do'.
9724
9725 * progmodes/js.el (js--debug): Mark unused parameter.
9726 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9727 (js--splice-into-items): Remove unused variable `item'.
9728 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9729
9730 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9731 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9732 (makefile-complete): Remove unused variable `try'.
9733 (makefile-fill-paragraph, makefile-match-function-end):
9734 Mark unused parameters.
9735
9736 * progmodes/octave-inf.el (inferior-octave-complete):
9737 Remove unused variable `proc'.
9738 (inferior-octave-output-digest): Mark unused parameter.
9739
9740 * progmodes/perl-mode.el (perl-calculate-indent):
9741 Remove unused variable `err'.
9742
9743 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9744 (prolog-indent-line): Mark unused parameters.
9745 (prolog-indent-line): Remove unused variable `beg'.
9746
9747 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9748 (reporter-dont-compact-list): Declare.
9749
9750 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9751 Remove unused variable `char'.
9752 (sh-debug): Mark unused parameter.
9753 (sh-get-indent-info): Remove unused variable `start'.
9754 (sh-calculate-indent): Remove unused variable `var'.
9755
9756 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9757 (simula-electric-keyword): Remove unused variable `null'.
9758 (simula-search-backward, simula-search-forward): Remove unused
9759 variables `begin' and `end'.
9760
9761 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9762 Remove unused variable `pos'.
9763 (vera-electric-tab, vera-comment-uncomment-region):
9764 Mark unused parameters.
9765 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9766
7ede3b65
CY
97672011-04-22 Chong Yidong <cyd@stupidchicken.com>
9768
9769 * emacs-lisp/package.el (package--builtins, package-alist)
9770 (package-load-descriptor, package-built-in-p, package-activate)
9771 (define-package, package-installed-p)
9772 (package-compute-transaction, package-buffer-info)
9773 (package--push): Doc fix. Distinguish more clearly between
9774 version strings and version lists.
9775
121656e9
JB
97762011-04-21 Juanma Barranquero <lekktu@gmail.com>
9777
9778 Lexical-binding cleanup.
9779
9780 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9781 (5x5-make-mutate-best):
9782 * play/fortune.el (fortune-in-buffer):
9783 * play/gomoku.el (gomoku-init-display):
9784 * play/solitaire.el (solitaire, solitaire-do-check):
9785 * play/tetris.el (tetris-default-update-speed-function):
9786 Mark unused parameters.
9787
9788 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9789 (bubbles--shift): Remove unused variable `char-org'.
9790 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9791 (bubbles--show-images): Remove unused variable `char'.
9792
9793 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9794 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9795 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9796 (decipher-analyze-buffer): Use ?\s.
9797 (decipher-make-checkpoint): Remove unused variable `mapping'.
9798
9799 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9800
9801 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9802 Remove unused variable `result'; use `let'.
9803
9804 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9805 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9806 (gametree-children-shown-p, gametree-compute-reduced-score):
9807 Use `ignore-errors'.
9808
9809 * play/handwrite.el (ps-lpr-switches): Declare.
9810 (handwrite): Remove unused variables `pmin' and `lastp'.
9811
9812 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9813
9814 * play/landmark.el (landmark-init-display)
9815 (landmark-update-naught-weights): Mark unused parameters.
9816 (landmark-y): Remove unused variable `noise'. Simplify.
9817 (landmark-human-plays): Remove unused variable `score'.
9818
9819 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9820 (mpuz-try-proposal): Remove unused variable `game'.
9821
9822 * play/zone.el (life-patterns): Declare.
9823
80f499c7
JB
98242011-04-20 Juanma Barranquero <lekktu@gmail.com>
9825
9826 * vc/vc.el (ediff-vc-internal): Declare function.
9827
024ff170
SM
98282011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9829
c0a193ea
SM
9830 * shell.el: Use lexical-binding and std completion UI.
9831 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9832 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9833 comint-preoutput-filter-functions rather than on
9834 comint-output-filter-functions.
9835 (shell-command-completion, shell--command-completion-data)
9836 (shell-filename-completion, shell-environment-variable-completion)
9837 (shell-c-a-p-replace-by-expanded-directory): New functions.
9838 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9839 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9840 (shell-dynamic-complete-environment-variable): Use them.
9841 (shell-dynamic-complete-as-environment-variable)
9842 (shell-dynamic-complete-as-command): Remove.
9843 (shell-match-partial-variable): Match past point.
9844 * comint.el: Clean up use of completion-at-point-functions.
9845 (comint-completion-at-point): New function.
9846 (comint-mode): Use it completion-at-point-functions.
9847 (comint-dynamic-complete): Make it obsolete.
9848 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9849 (comint-c-a-p-replace-by-expanded-history): New function.
9850 (comint-dynamic-complete-functions)
9851 (comint-replace-by-expanded-history): Use it.
9852 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9853 termination strings. Try harder to avoid second try-completion.
9854 (completion-in-region-mode-map): Disable bindings that don't work yet.
9855
2dbaa080
SM
9856 * comint.el: Use lexical-binding. Require CL.
9857 (comint-dynamic-complete-functions): Use comint-filename-completion.
9858 (comint-completion-addsuffix): Tweak custom type.
9859 (comint-filename-completion, comint--common-suffix)
9860 (comint--common-quoted-suffix, comint--table-subvert)
9861 (comint--complete-file-name-data): New functions.
9862 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9863 (comint-dynamic-list-filename-completions): Use them.
9864 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 9865
2dbaa080
SM
9866 * minibuffer.el (completion-in-region-mode):
9867 Keep completion-in-region-mode--predicate global.
9868 (completion-in-region--postch):
9869 Assume completion-in-region-mode--predicate is not null.
9870
c79a6f38
SM
9871 * progmodes/flymake.el (flymake-start-syntax-check-process):
9872 Obey `dir'. Simplify.
9873
024ff170
SM
9874 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9875 we're in VC after all.
9876
1c6c854e
CS
98772011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
9878
9879 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 9880 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
9881 (vc-version-diff): Use vc-diff-build-argument-list-internal.
9882
bed7f140
SM
98832011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9884
332e62ab
SM
9885 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9886 add sanity check.
9887
bed7f140
SM
9888 * obsolete/erc-hecomplete.el: Make obsolete.
9889 * obsolete/: Standardize obsolescence info in the header.
9890
f195c582
GM
98912011-04-20 Glenn Morris <rgm@gnu.org>
9892
9893 * calendar/solar.el (solar-horizontal-coordinates):
9894 Use the longitude argument rather than `calendar-longitude'.
9895 (solar-date-next-longitude): Remove unused locals.
9896
cb79b8c0
VJL
98972011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9898
9899 * whitespace.el: New version 13.2.1.
9900
99012011-04-20 felix <EmacsWiki> (tiny change)
9902
d8e4b68b 9903 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
9904 switching between major modes on a file.
9905
602ea69d
SM
99062011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9907
9908 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9909 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9910 multi-line comments as well.
9911
06b60517
JB
99122011-04-19 Juanma Barranquero <lekktu@gmail.com>
9913
9914 Lexical-binding cleanup.
9915
9916 * arc-mode.el (archive-mode-revert):
9917 * cmuscheme.el (scheme-interactively-start-process):
9918 * custom.el (custom-initialize-delay):
9919 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9920 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9921 * emacs-lock.el (emacs-lock-clear-sentinel):
9922 * ezimage.el (defezimage):
9923 * follow.el (follow-avoid-tail-recenter):
9924 * fringe.el (set-fringe-mode-1):
9925 * generic-x.el (bat-generic-mode-compile):
9926 * help-mode.el (help-info-variable, help-do-xref)
9927 (help-mode-revert-buffer):
9928 * help.el (view-emacs-todo):
9929 * iswitchb.el (iswitchb-completion-help):
9930 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9931 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9932 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9933 * locate.el (locate-update):
9934 * longlines.el (longlines-encode-region)
9935 (longlines-after-change-function):
9936 * outline.el (outline-isearch-open-invisible):
9937 * ps-def.el (declare-function, charset-dimension, char-width)
9938 (encode-char):
9939 * ps-mule.el (ps-mule-plot-string):
9940 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9941 (recentf-edit-list-select, recentf-edit-list-validate)
9942 (recentf-open-files-action):
9943 * rect.el (delete-whitespace-rectangle-line)
9944 (rectangle-number-line-callback):
9945 * register.el (window-configuration-to-register)
9946 (frame-configuration-to-register):
9947 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
9948 * select.el (xselect-convert-to-string, xselect-convert-to-length)
9949 (xselect-convert-to-targets, xselect-convert-to-delete)
9950 (xselect-convert-to-filename, xselect-convert-to-charpos)
9951 (xselect-convert-to-lineno, xselect-convert-to-colno)
9952 (xselect-convert-to-os, xselect-convert-to-host)
9953 (xselect-convert-to-user, xselect-convert-to-class)
9954 (xselect-convert-to-name, xselect-convert-to-integer)
9955 (xselect-convert-to-atom, xselect-convert-to-identity):
9956 * subr.el (declare, ignore, process-kill-without-query)
9957 (text-clone-maintain):
9958 * terminal.el (te-get-char, te-tic-sentinel):
9959 * tool-bar.el (tool-bar-make-keymap):
9960 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
9961 * type-break.el (type-break-mode, type-break-noninteractive-query):
9962 * view.el (View-back-to-mark):
9963 * wid-browse.el (widget-browse-action, widget-browse-widget)
9964 (widget-browse-widgets, widget-browse-sexp):
9965 * widget.el (define-widget-keywords):
9966 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
9967 Mark unused parameters.
9968
9969 * align.el (align-adjust-col-for-rule): Mark unused parameter.
9970 (align-areas): Remove unused variable `look'.
9971 (align-region): Remove unused variables `real-end' and `pos-list'.
9972
9973 * apropos.el (apropos-score-doc): Remove unused variable `i'.
9974
9975 * bindings.el (mode-line-modified, mode-line-remote):
9976 Mark unused parameters.
9977 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
9978
9979 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
9980 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
9981
9982 * comint.el (comint-history-isearch-pop-state)
9983 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
9984 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
9985 (comint-substitute-in-file-name): Doc fix.
9986
9987 * completion.el (cmpl-statistics-block): Mark unused parameter.
9988 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
9989 (save-completions-to-file, load-completions-from-file):
9990 Remove unused local variable `e'.
9991
9992 * composite.el (compose-chars): Remove unused variable `len'.
9993 (lgstring-insert-glyph): Remove unused variable `g'.
9994 (compose-glyph-string): Remove unused variables `ascent',
9995 `descent', `lbearing' and `rbearing'.
9996 (compose-glyph-string-relative): Remove unused variables
9997 `lbearing', `rbearing' and `wadjust'.
9998 (compose-gstring-for-graphic): Remove unused variables `header',
9999 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10000 (compose-gstring-for-terminal): Remove unused variables `header'
10001 and `nchars'. Use `let', not `let*'.
10002
10003 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10004 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10005 (Custom-buffer-done, custom-buffer-create-internal)
10006 (custom-browse-visibility-action, custom-browse-group-tag-action)
10007 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10008 (widget-magic-mouse-down-action, custom-toggle-parent)
10009 (custom-add-parent-links, custom-toggle-hide-variable)
10010 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10011 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10012 (custom-face-menu-create, custom-variable-menu-create, get)
10013 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10014 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10015 (customize-apropos): Remove unused variable `tests'.
10016 (custom-group-value-create): Remove unused variable `hidden-p'.
10017 (sort-fold-case): Declare.
10018
10019 * cus-theme.el (custom-reset-standard-faces-list)
10020 (custom-reset-standard-variables-list): Declare.
10021 (customize-create-theme, custom-theme-revert, custom-theme-write)
10022 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10023 Mark unused parameters.
10024
10025 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10026
10027 * delim-col.el (delimit-columns-max): Move defvar before first use.
10028
10029 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10030 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10031
10032 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10033 (auto-insert): Declare.
10034 (desktop-restore-file-buffer): Rename desktop-* parameters;
10035 mark unused ones.
10036 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10037 (desktop-buffer): Rename desktop-* parameters.
10038
10039 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10040 (dframe-reposition-frame-xemacs, dframe-help-echo)
10041 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10042 Mark unused parameters.
10043
10044 * dired-aux.el (backup-extract-version-start, overwrite-query)
10045 (overwrite-backup-query, rename-regexp-query)
10046 (rename-non-directory-query): Declare.
10047 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10048 (dired-add-entry): Remove unused variable `orig-file-name'.
10049 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10050 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10051 `dired-copy-preserve-time' directly.
10052 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10053 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10054
10055 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10056 (dired-virtual-revert, dired-make-relative-symlink):
10057 Mark unused parameters.
10058 (manual-program): Declare.
10059 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10060 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10061 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10062
10063 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10064
10065 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10066
10067 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10068 Declare.
10069
10070 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10071
10072 * electric.el (Electric-command-loop): Rename parameter
10073 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10074
10075 * expand.el (expand-in-literal): Remove unused variable `here'.
10076
10077 * facemenu.el (facemenu-add-new-color):
10078 Remove unused variable `docstring'.
10079
10080 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10081 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10082 (face-attr-construct): Mark unused parameter. Doc fix.
10083 (read-color): Remove unused variable `hex-string'.
10084
10085 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10086 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10087 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10088 (display-buffer-other-frame): Remove unused variable `old-window'.
10089 (kill-buffer-hook): Declare.
10090 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10091 Mark unused parameters.
10092 (after-find-file): Pass 1 to `auto-save-mode', not t.
10093
10094 * files-x.el (auto-insert): Declare.
10095 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10096
10097 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10098 variable `buf'. Mark unused parameter.
06b60517
JB
10099 (find-lisp-insert-directory): Mark unused parameter.
10100
10101 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10102 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10103 (format-common-tail): Remove, unused.
10104 (format-deannotate-region): Remove unused variable `loc'.
10105 (format-annotate-region): Remove unused variable `p'.
10106 (format-annotate-single-property-change): Remove unused variables
10107 `default' and `tail'.
10108
10109 * forms.el (read-file-filter): Declare.
10110 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10111
10112 * frame.el (frame-creation-function-alist): Mark unused parameter.
10113 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10114
10115 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10116 Remove unused parameters.
10117 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10118 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10119
10120 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10121 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10122 (hfy-prepare-tag-map): Mark unused parameters.
10123 (htmlfontify-buffer): Use `called-interactively-p'.
10124
10125 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10126 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10127 (ibuffer-do-occur): Mark unused parameters.
10128 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10129 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10130
10131 * ibuffer.el: Don't quote `lambda'.
10132 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10133 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10134 Mark unused parameters.
10135
10136 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10137 (ido-completing-read): Mark unused parameters.
10138 (ido-copy-current-word): Mark unused parameters;
10139 remove unused variable `name'.
10140 (ido-sort-merged-list): Remove unused parameter `dirs'.
10141
10142 * ielm.el (ielm-input-sender): Mark unused parameter.
10143 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10144 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10145 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10146 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10147 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10148
10149 * image-dired.el (image-dired-display-thumbs): Remove unused
10150 variables `curr-file' and `count'.
10151 (image-dired-remove-tag): Remove unused variable `start'.
10152 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10153 variable `curr-file'
10154 (image-dired-rotate-original): Remove unused variable `temp-file'.
10155 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10156 Remove unused variable `file'.
10157 (image-dired-gallery-generate): Remove unused variable `curr'.
10158 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10159
10160 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10161
10162 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10163
10164 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10165
10166 * isearch.el (minibuffer-history-symbol): Declare.
10167 (isearch-edit-string): Remove unused variable `err'.
10168 (isearch-message-prefix, isearch-message-suffix):
10169 Mark unused parameters.
10170
10171 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10172
10173 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10174
10175 * makesum.el (double-column): Remove unused variable `cnt'.
10176
10177 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10178 (ido-ignore-item-temp-list): Declare.
10179
10180 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10181 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10182 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10183 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10184 `mouse-col-delta'.
10185
10186 * mouse-sel.el (mouse-extend-internal):
10187 Remove unused variable `orig-window-frame'.
10188
10189 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10190 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10191 Move declarations before first use.
10192 (pcomplete-opt): Mark unused parameters; doc fix.
10193
10194 * proced.el (proced-revert): Mark unused parameter.
10195 (proced-send-signal): Remove unused variable `err'.
10196
10197 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10198 Rename parameter PREFIX-ARG to ARG.
10199 (ps-basic-plot-string, ps-basic-plot-whitespace):
10200 Mark unused parameters.
10201
10202 * replace.el (replace-count): Define.
10203 (occur-revert-function): Mark unused parameters.
10204 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10205 (isearch-case-fold-search, isearch-string): Declare.
10206 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10207 bind `case-fold-search'. Remove unused variables `beg' and `end',
10208 and simplify.
10209 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10210 COUNT and bind `replace-count'.
10211 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10212 to COUNT.
10213
10214 * savehist.el (print-readably, print-string-length): Declare.
10215
10216 * shadowfile.el (shadow-expand-cluster-in-file-name):
10217 Remove unused variable `cluster'.
10218 (shadow-copy-file): Remove unused variable `i'.
10219 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10220 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10221 (shadow-define-literal-group, shadow-define-regexp-group)
10222 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10223
10224 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10225 (shell): Use `called-interactively-p'.
10226 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10227
10228 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10229 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10230 (delete-backward-char): Remove unused variable `ocol'.
10231 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10232 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10233 (event-apply-hyper-modifier, event-apply-shift-modifier)
10234 (event-apply-control-modifier, event-apply-meta-modifier):
10235 Mark unused parameters.
10236 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10237 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10238
10239 * speedbar.el (speedbar-ignored-directory-expressions)
10240 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10241 (speedbar-find-file, speedbar-dir-follow)
10242 (speedbar-directory-buttons-follow, speedbar-tag-find)
10243 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10244 (speedbar-buffers-line-directory, speedbar-buffer-click):
10245 Mark unused parameters.
10246 (speedbar-tag-file): Remove unused variable `mode'.
10247 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10248
10249 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10250
10251 * talk.el (talk): Remove unused variable `display'.
10252
10253 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10254 (tar-write-region-annotate): Mark unused parameter.
10255
10256 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10257 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10258 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10259 warning by another.
10260
10261 * time-stamp.el (time-stamp-string-preprocess):
10262 Remove unused variable `require-padding'.
10263
10264 * tree-widget.el (widget-glyph-enable): Declare.
10265 (tree-widget-action): Mark unused parameter.
10266
10267 * w32-fns.el (x-get-selection): Mark unused parameter.
10268 (autoload-make-program, generated-autoload-file): Declare.
10269
10270 * wdired.el (wdired-revert): Mark unused parameters.
10271 (wdired-xcase-word): Remove unused variable `err'.
10272
10273 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10274 (whitespace-help-scroll): Remove unused variable `data-help'.
10275
10276 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10277 (widget-image-insert, widget-after-change, default)
10278 (widget-default-format-handler, widget-default-notify)
10279 (widget-default-prompt-value, widget-info-link-action)
10280 (widget-url-link-action, widget-function-link-action)
10281 (widget-variable-link-action, widget-file-link-action)
10282 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10283 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10284 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10285 (widget-insert-button-action, widget-delete-button-action, visibility)
10286 (widget-documentation-link-action, widget-documentation-string-action)
10287 (widget-const-prompt-value, widget-regexp-match, symbol)
10288 (widget-coding-system-prompt-value)
10289 (widget-key-sequence-value-to-external, sexp)
10290 (widget-sexp-value-to-internal, character, vector, cons)
10291 (widget-choice-prompt-value, widget-boolean-prompt-value)
10292 (widget-color--choose-action): Mark unused parameters.
10293 (widget-item-match-inline, widget-choice-match-inline)
10294 (widget-checklist-match, widget-checklist-match-inline)
10295 (widget-group-match): Rename parameter VALUES to VALS.
10296 (widget-field-value-set): Remove unused variable `size'.
10297 (widget-color-action): Remove unused variables `value' and `start'.
10298
10299 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10300 variable `dir'. Doc fix.
06b60517
JB
10301 (windmove-find-other-window): Don't pass it.
10302
10303 * window.el (count-windows): Mark unused parameter.
10304 (bw-adjust-window): Remove unused variable `err'.
10305
10306 * woman.el (woman-file-name): Remove unused variable `default'.
10307 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10308 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10309 (global-font-lock-mode): Declare.
10310 (woman-decode-region): Mark unused parameter.
10311 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10312
10313 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10314 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10315 (x-dnd-handle-moz-url): Remove unused variable `title'.
10316 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10317
10318 * xml.el (xml-parse-tag, xml-parse-attlist):
10319 Remove unused variable `pos'.
10320
bc4f7f3d
GM
103212011-04-19 Glenn Morris <rgm@gnu.org>
10322
10323 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10324 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10325 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10326 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10327 * calendar/cal-html.el (cal-html-insert-minical):
10328 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10329 (calendar-mark-date-pattern):
10330 Prefix "unused" locals.
10331
10332 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10333 optional argument `style'.
10334
10335 * calendar/appt.el (appt-make-list):
10336 * calendar/cal-china.el (calendar-chinese-date-string):
10337 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10338 (diary-hebrew-yahrzeit):
10339 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10340 * calendar/calendar.el (calendar-generate-window):
10341 * calendar/time-date.el (time-to-days):
10342 Remove unused local variables.
10343
16a43933
CY
103442011-04-18 Chong Yidong <cyd@stupidchicken.com>
10345
10346 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10347 glyphless-char-display table.
10348 (tabulated-list-glyphless-char-display): New var.
10349
7eed1860
SS
103502011-04-18 Sam Steingold <sds@gnu.org>
10351
10352 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10353 to acknowledgments.
10354
4d2d1ccd
GM
103552011-04-17 Glenn Morris <rgm@gnu.org>
10356
10357 * calendar/diary-lib.el (diary-sexp-entry):
10358 * calendar/holidays.el (holiday-sexp):
10359 Set debug-on-error rather than the removed stack-trace-on-error.
10360
239da61d
GM
103612011-04-16 Glenn Morris <rgm@gnu.org>
10362
10363 * progmodes/f90.el: Use lexical-binding.
10364 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10365
8b05752a
SM
103662011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10367
daca8ba5
SM
10368 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10369 (mail-mode): Setup mailalias completion here instead.
10370 * mail/mailalias.el: Use lexical-binding.
10371 (pattern, mailalias-done): Declare dynamic.
10372 (mail-completion-at-point-function): New function, from mail-complete.
10373 (mail-complete): Use it.
10374 (mail-completion-expand): New function.
10375 (mail-get-names): Use it.
10376 (mail-directory, mail-directory-process, mail-directory-stream):
10377 Don't use `pattern' for lexically bound arg.
10378
6f542485
SM
10379 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10380
037e7c3f
SM
10381 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10382 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10383 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10384
8b05752a
SM
10385 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10386 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10387 (byte-interactive-p): Define them again, for use when inlining
10388 old code.
10389
49093f60
JB
103902011-04-15 Juanma Barranquero <lekktu@gmail.com>
10391
10392 * loadup.el: Use `string-to-number', not `string-to-int'.
10393
b5b8e7de
SM
103942011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10397 gud-gdb-complete-command.
10398 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10399 (gud-gdb-completion-at-point): New function.
10400 (gud-gdb-completions): Remove.
10401
f42efeb5
MA
104022011-04-14 Michael Albinus <michael.albinus@gmx.de>
10403
49093f60
JB
10404 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10405 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10406 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10407 whether `executable-find' is bound.
f42efeb5
MA
10408
10409 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10410
e240cc21
SM
104112011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10412
10413 * minibuffer.el (completion-in-region-mode-predicate)
10414 (completion-in-region-mode--predicate): New vars.
10415 (completion-in-region, completion-in-region--postch)
10416 (completion-in-region-mode): Use them.
10417 (completion--capf-wrapper): Also return the hook function.
10418 (completion-at-point, completion-help-at-point):
10419 Adjust and provide a predicate.
c2bd2ab0
SM
10420
10421 Preserve arg names for advice of subr and lexical functions (bug#8457).
10422 * help-fns.el (help-function-arglist): Consolidate the subr and
10423 new-byte-code cases. Add argument `preserve-names' to extract names
10424 from the docstring when needed.
10425 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10426 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10427 (ad-arglist): Use help-function-arglist's new arg.
10428 (ad-definition-type): Use cond.
10429
c183f693
JB
104302011-04-13 Juanma Barranquero <lekktu@gmail.com>
10431
06641a47
JB
10432 * autorevert.el (auto-revert-handler):
10433 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10434 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10435 Don't quote lambda.
10436
c183f693
JB
10437 * image-mode.el (image-transform-set-scale):
10438 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10439
1e3b6001
G
104402011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10441
10442 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10443 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10444 Upgrades via gnutls-cli are too slow to be done opportunistically.
10445
2d6af8dd
JB
104462011-04-12 Juanma Barranquero <lekktu@gmail.com>
10447
10448 * dframe.el (dframe-current-frame): Remove spurious quote.
10449
c0749a51
GM
104502011-04-12 Glenn Morris <rgm@gnu.org>
10451
088d0d61
GM
10452 * calendar/cal-tex.el (cal-tex-end-document):
10453 Try to automatically use latin1 input if needed.
10454
c0749a51
GM
10455 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10456 Don't try to cons a mark onto an empty element.
10457
5c90fde0
LL
104582011-04-11 Leo Liu <sdl.web@gmail.com>
10459
10460 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10461 buffers.
10462 (ido-kill-buffer-at-head): Support killing virtual buffers.
10463
369e974d
CY
104642011-04-10 Chong Yidong <cyd@stupidchicken.com>
10465
10466 * minibuffer.el (completion-show-inline-help): New var.
10467 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10468 (minibuffer-force-complete, minibuffer-complete-word):
10469 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10470
10471 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10472 to avoid interference from inline help (Bug#5849).
10473
37f1c930
LL
104742011-04-10 Leo Liu <sdl.web@gmail.com>
10475
099c39a4
JB
10476 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10477 Fix typo.
37f1c930 10478
a32d4040
CY
104792011-04-09 Chong Yidong <cyd@stupidchicken.com>
10480
10481 * image-mode.el (image-toggle-display-image): Signal an error if
10482 not in Image mode.
10483 (image-transform-mode, image-transform-resize)
10484 (image-transform-set-rotation): Doc fix.
daca8ba5 10485 (image-transform-set-resize): Delete.
a32d4040
CY
10486 (image-transform-set-scale, image-transform-fit-to-height)
10487 (image-transform-fit-to-width): Handle image-toggle-display-image
10488 and image-transform-resize directly.
10489
099c39a4 104902011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10491
10492 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10493 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10494 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10495 (doc-view-mode-map): Add bindings for the new functions.
10496
099c39a4 104972011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10498
4d61f28d 10499 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10500 Fix typo in docstring.
10501
3726838a
EZ
105022011-04-08 Eli Zaretskii <eliz@gnu.org>
10503
04f33f1e
EZ
10504 * files.el (file-size-human-readable): Produce one digit after
10505 decimal, like "ls -lh" does.
10506
10507 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10508 the file size representation.
10509
3726838a
EZ
10510 * simple.el (list-processes): If async subprocesses are not
10511 available, error out with a clear error message.
10512
cbb59342
CY
105132011-04-08 Chong Yidong <cyd@stupidchicken.com>
10514
10515 * help.el (help-form-show): New function, to be called from C.
10516 Put help-form output in a buffer named differently than *Help*.
10517
e3971c44
EZ
105182011-04-08 Eli Zaretskii <eliz@gnu.org>
10519
10520 * files.el (file-size-human-readable): New function.
10521
10522 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10523 computing the representation inline. Don't require `cl'.
10524
12544bbe
GM
105252011-04-08 Glenn Morris <rgm@gnu.org>
10526
a1de6c6a
GM
10527 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10528
3c4671f4
GM
10529 * net/browse-url.el (browse-url-firefox):
10530 Test system-type, not system-configuration.
10531
b605679c
GM
10532 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10533 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10534 Use log-edit-empty-buffer-p. (Bug#7598)
10535
56442f0c
GM
10536 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10537 (rlogin-mode-map): Initialize in the defvar.
10538 (rlogin): Use ignore-errors.
10539
12544bbe
GM
10540 * replace.el (occur-mode-map): Some fixes for menu items.
10541
eb237b0f
AH
105422011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10543
10544 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10545
7d668f2c
CY
105462011-04-06 Chong Yidong <cyd@stupidchicken.com>
10547
e67a13ab
CY
10548 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10549 issuing unused warnings.
10550
10551 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10552 macro directly.
10553
7d668f2c
CY
10554 * simple.el: Lisp reimplement of list-processes. Based on an
10555 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10556 (process-menu-mode): New major mode.
10557 (list-processes--refresh, list-processes):
10558 (process-menu-visit-buffer): New functions.
10559
10560 * files.el (save-buffers-kill-emacs): Don't assume any return
10561 value of list-processes, which is undocumented anyway.
10562
a83ec3c9
CY
105632011-04-06 Chong Yidong <cyd@stupidchicken.com>
10564
10565 * emacs-lisp/tabulated-list.el: New file.
10566
e91a96fe
CY
10567 * emacs-lisp/package.el: Use Tabulated List mode.
10568 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10569 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10570 table format using Tabulated List mode variables.
10571 (package--push): New macro, replacing package-list-maybe-add.
10572 (package-menu--generate): Use package--push. Renamed from
10573 package--generate-package-list.
10574 (package-menu-refresh, list-packages): Use it.
daca8ba5 10575 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10576 Return insertion data instead of inserting it directly.
099c39a4
JB
10577 (package-menu-describe-package, package-menu-execute):
10578 Use tabulated-list-get-id.
e91a96fe
CY
10579 (package-menu-mark-delete, package-menu-mark-install)
10580 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10581 (package-menu-mark-obsolete-for-deletion):
10582 Use tabulated-list-put-tag.
e91a96fe
CY
10583 (package--list-packages, package-menu-revert)
10584 (package-menu-get-package, package-menu-get-version)
10585 (package-menu-sort-by-column): Functions deleted.
10586 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10587 (package-menu--status-predicate, package-menu--version-predicate)
10588 (package-menu--name-predicate)
10589 (package-menu--description-predicate): Handle arguments in the
10590 Tabulated List format.
10591 (package-list-packages-no-fetch): Call list-packages.
10592
3e214b50
JB
105932011-04-06 Juanma Barranquero <lekktu@gmail.com>
10594
10595 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10596 (after-find-file): Don't bind it.
3e214b50
JB
10597 (revert-buffer-in-progress-p): New variable.
10598 (revert-buffer): Bind it.
10599 Pass nil for `after-find-file-from-revert-buffer'.
10600
10601 * saveplace.el (save-place-find-file-hook): Use new variable
10602 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10603
3f0f1700
GM
106042011-04-06 Glenn Morris <rgm@gnu.org>
10605
c0274801
GM
10606 * Makefile.in (AUTOGEN_VCS): New variable.
10607 (autoloads): Use $AUTOGEN_VCS.
10608
3f0f1700
GM
10609 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10610 * calendar/calendar.el (calendar-mode-map):
10611 Check for toolkit scroll bars. (Bug#8305)
10612
41ea9e48
CY
106132011-04-05 Chong Yidong <cyd@stupidchicken.com>
10614
10615 * minibuffer.el (completion-in-region--postch)
10616 (completion-in-region-mode): Remove unnecessary messages.
10617
6194c800
JB
106182011-04-05 Juanma Barranquero <lekktu@gmail.com>
10619
33256f14
JB
10620 * font-lock.el (font-lock-refresh-defaults):
10621 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10622 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10623
6194c800
JB
10624 * info.el (Info-directory-list, Info-read-node-name-2)
10625 (Info-split-parameter-string): Doc fixes.
10626 (Info-virtual-nodes): Reflow docstring.
10627 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10628 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10629 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10630 Fix typos in docstrings.
10631 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10632 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10633 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10634 (Info-restore-desktop-buffer): Mark unused parameters.
10635 (Info-directory-find-file, Info-directory-find-node)
10636 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10637 (Info-virtual-index-find-node, Info-apropos-find-file)
10638 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10639 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10640 (Info-virtual-index): Remove unused local variable `nodename'.
10641
b87a8200 106422011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10643
b87a8200
DD
10644 * net/rcirc.el: Update my e-mail address.
10645 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10646
3b2ff876
CY
106472011-04-05 Chong Yidong <cyd@stupidchicken.com>
10648
10649 * startup.el (command-line): Save the cursor's theme-face
10650 directly, instead of using face-override-spec.
10651
10652 * custom.el (load-theme): Minor optimization in assigning faces.
10653
8d17e7ca
JB
106542011-04-04 Juanma Barranquero <lekktu@gmail.com>
10655
10656 * help-fns.el (describe-variable): Complete all variables having
10657 documentation, including keywords.
10658 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10659
2fbc1934
JB
106602011-04-04 Juanma Barranquero <lekktu@gmail.com>
10661
10662 Convert to lexical-binding.
10663
10664 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10665 (bs--get-marked-string, bs--get-modified-string)
10666 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10667 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10668 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10669
10670 * ehelp.el (electric-help-execute-extended)
10671 (electric-help-ctrl-x-prefix):
10672 * hexl.el (hexl-revert-buffer-function):
10673 * linum.el (linum-after-change, linum-after-scroll):
10674 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10675
10676 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10677
74f50695
DU
106782011-04-04 Daiki Ueno <ueno@unixuser.org>
10679
10680 * epa-dired.el:
10681 * epa-mail.el:
10682 * epa-hook.el:
10683 * epa-file.el:
10684 * epa.el:
10685 * epg.el: Use lexical binding.
10686
c11325f7
CY
106872011-04-03 Chong Yidong <cyd@stupidchicken.com>
10688
0d9e9a12
CY
10689 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10690
c11325f7 10691 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10692 dictionary case for flyspell-mark-duplications-exceptions.
10693 Use regexp matching for languages.
c11325f7
CY
10694 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10695 default dictionary (Bug#7926).
10696
da91b5f2
CY
106972011-04-02 Chong Yidong <cyd@stupidchicken.com>
10698
099c39a4
JB
10699 * emacs-lisp/package.el (package--with-work-buffer):
10700 Recognize https URLs.
da91b5f2 10701
099c39a4
JB
10702 * net/network-stream.el: Move from gnus/proto-stream.el.
10703 Change prefix to network-stream throughout.
da91b5f2
CY
10704 (open-protocol-stream): Merge into open-network-stream, leaving
10705 open-protocol-stream as an alias. Handle nil BUFFER args.
10706
10707 * subr.el (open-network-stream): Move to net/network-stream.el.
10708
afa8e9f6
GM
107092011-04-02 Glenn Morris <rgm@gnu.org>
10710
1d2e369d
GM
10711 * find-dired.el (find-exec-terminator): New option.
10712 (find-ls-option): Test for -ls support.
10713 (find-ls-subdir-switches): Test for -b in find-ls-option.
10714 (find-dired, find-grep-dired): Doc fixes.
10715 (find-dired): Use find-exec-terminator.
10716
8abb7da8 10717 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10718 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10719 (find-name-arg): Remove purecopy.
8abb7da8 10720
f3ca7378
GM
10721 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10722 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10723 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10724 accordingly. Don't add the null-device if not needed.
10725
afa8e9f6
GM
10726 * files.el (save-some-buffers): Doc fix.
10727
35eae264
EZ
107282011-04-02 Eli Zaretskii <eliz@gnu.org>
10729
10730 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10731
26b51db5
JB
107322011-04-01 Juanma Barranquero <lekktu@gmail.com>
10733
10734 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10735 Use `dolist' rather than `mapcar'.
10736
7200d79c
SM
107372011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10738
03408648 10739 Add lexical binding.
7200d79c 10740
03408648
SM
10741 * subr.el (apply-partially): Use new closures rather than CL.
10742 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10743 (dolist, dotimes): Use slightly different expansion for lexical code.
10744 (functionp): Move to C.
10745 (letrec): New macro.
10746 (with-wrapper-hook): Use it and apply-partially instead of CL.
10747 (eval-after-load): Preserve lexical-binding.
10748 (save-window-excursion, with-output-to-temp-buffer): Turn them
10749 into macros.
7200d79c 10750
03408648
SM
10751 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10752
10753 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10754 than the arglist.
10755 (help-add-fundoc-usage): Don't add `Not documented'.
10756 (help-function-arglist): Handle closures, subroutines, and new
10757 byte-code-functions.
10758 (help-make-usage): Remove leading underscores.
10759 (describe-function-1): Handle closures.
10760 (describe-variable): Use special-variable-p for completion.
10761
10762 * files.el (lexical-binding): Declare safe.
f488fb65 10763
03408648
SM
10764 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10765 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10766 (pcase): Add `let' pattern.
10767 Change memoization so it actually works.
10768 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10769 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10770 <let>: New case.
f488fb65 10771
03408648
SM
10772 * emacs-lisp/macroexp.el: Use lexical binding.
10773 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10774 Don't convert ' to #' without checking that it's indeed quoting
10775 a lambda.
10776
10777 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10778 Use eval-sexp-add-defvars.
03408648
SM
10779 (eval-sexp-add-defvars): New fun.
10780
10781 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10782
10783 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10784 Don't autoload.
10785 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10786 than the internal `byte-compile-lambda'.
10787 (defmethod): Don't hide code under quotes.
10788 (eieio-defmethod): New `code' argument.
10789
10790 * emacs-lisp/eieio-comp.el: Remove.
10791
10792 * emacs-lisp/edebug.el (edebug-eval-defun)
10793 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10794 (edebug-toggle): Avoid `eval'.
10795
10796 * emacs-lisp/disass.el (disassemble-internal): Handle new
10797 `closure' objects.
10798 (disassemble-1): Handle new byte codes.
10799
10800 * emacs-lisp/cl.el (pushnew): Silence warning.
10801
10802 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10803 (cl-byte-compile-throw): Remove.
10804 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10805
10806 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10807 closures.
10808
10809 * emacs-lisp/cconv.el: New file.
10810
10811 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10812 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10813 (byte-compile-initial-macro-environment):
10814 Handle declare-function here.
10815 (byte-compile--lexical-environment): New var.
10816 (byte-stack-ref, byte-stack-set, byte-discardN)
10817 (byte-discardN-preserve-tos): New lap codes.
10818 (byte-interactive-p): Don't use any more.
10819 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10820 New macros.
10821 (byte-compile-lapcode): Use them and handle new lap codes.
10822 (byte-compile-obsolete): Remove.
10823 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10824 (byte-compile-arglist-warn): Check late def of inlinable funs.
10825 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10826 since they should have been expanded by now.
10827 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10828 (byte-compile-from-buffer): Remove unused second arg.
10829 (byte-compile-preprocess): New function.
10830 (byte-compile-toplevel-file-form): New function to distinguish
10831 file-form calls from outside from file-form calls from hunk-handlers.
10832 (byte-compile-file-form): Simplify.
10833 (byte-compile-file-form-defsubst): Remove.
10834 (byte-compile-file-form-defmumble): Simplify now that
10835 byte-compile-lambda always returns a byte-code-function.
10836 (byte-compile): Preprocess.
10837 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10838 Remove, not used any more.
10839 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10840 (byte-compile-make-args-desc): New funs.
10841 (byte-compile-lambda): Handle lexical functions. Always return
10842 a byte-code-function.
10843 (byte-compile-reserved-constants): New var, to make up room for
10844 closed-over variables.
10845 (byte-compile-constants-vector): Obey it.
10846 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10847 (byte-compile-macroexpand-declare-function): New function.
10848 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10849 byte-code-functions.
10850 (byte-compile-form): Check obsolescence here.
10851 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10852 (byte-compile-variable-ref): Remove.
10853 (byte-compile-dynamic-variable-op): New fun.
10854 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10855 (byte-compile-variable-set): New funs.
10856 (byte-compile-discard): Add 2 args.
10857 (byte-compile-stack-ref, byte-compile-stack-set)
10858 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10859 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10860 macroexpand-all instead.
10861 (byte-compile-quote-form): Remove.
10862 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10863 (byte-compile-bind, byte-compile-unbind): New funs.
10864 (byte-compile-let): Handle let* and lexical binding.
10865 (byte-compile-let*): Remove.
10866 (byte-compile-catch, byte-compile-unwind-protect)
10867 (byte-compile-track-mouse, byte-compile-condition-case):
10868 Handle a new :fun-body form, used for lexical scoping.
10869 (byte-compile-save-window-excursion)
10870 (byte-compile-with-output-to-temp-buffer): Remove.
10871 (byte-compile-defun): Simplify.
10872 (byte-compile-stack-adjustment): New fun.
10873 (byte-compile-out): Use it.
10874 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10875
10876 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10877 handler any more.
10878
10879 * emacs-lisp/byte-opt.el: Use lexical binding.
10880 (byte-inline-lapcode): Remove (to bytecomp).
10881 (byte-compile-inline-expand): Pay attention to inlining to/from
10882 lexically bound code.
10883 (byte-compile-unfold-lambda): Don't handle byte-code-functions
10884 any more.
10885 (byte-optimize-form-code-walker): Don't handle save-window-excursion
10886 any more and don't call compiler-macros.
10887 (byte-compile-splice-in-already-compiled-code): Remove.
10888 (byte-code): Don't inline any more.
10889 (disassemble-offset): Receive `bytes' as argument rather than via
10890 dynamic scoping.
10891 (byte-compile-tag-number): Declare before first use.
10892 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10893 `return' even if make-spliceable.
10894 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10895 obsolete interactive-p.
10896 (byte-optimize-lapcode): Optimize new lap-codes.
10897 Don't trip up on new form of `byte-constant' lap code.
10898
10899 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10900
10901 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10902
10903 * custom.el (custom-initialize-default, custom-declare-variable):
10904 Use `defvar'.
10905
10906 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10907 New variables.
10908 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10909 (COMPILE_FIRST): Add macroexp and cconv.
10910 * makefile.w32-in: Mirror changes in Makefile.in.
10911
10912 * vc/cvs-status.el:
10913 * vc/diff-mode.el:
10914 * vc/log-edit.el:
10915 * vc/log-view.el:
10916 * vc/smerge-mode.el:
10917 * textmodes/bibtex-style.el:
10918 * textmodes/css.el:
10919 * startup.el:
10920 * uniquify.el:
da91b5f2
CY
10921 * minibuffer.el:
10922 * newcomment.el:
10923 * reveal.el:
10924 * server.el:
10925 * mpc.el:
10926 * emacs-lisp/smie.el:
10927 * doc-view.el:
10928 * dired.el:
03408648
SM
10929 * abbrev.el: Use lexical binding.
10930
0f0c1f27
EZ
109312011-04-01 Eli Zaretskii <eliz@gnu.org>
10932
10933 * info.el (info-display-manual): New function.
10934
c82b2579
SM
109352011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10938
221ddf68
TH
109392011-03-31 Tassilo Horn <tassilo@member.fsf.org>
10940
10941 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 10942 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 10943
cba6e77e
GM
109442011-03-31 Glenn Morris <rgm@gnu.org>
10945
e040639f
GM
10946 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
10947
cba6e77e
GM
10948 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
10949
6d0f1c9e
CS
109502011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
10951
10952 * progmodes/python.el (python-default-interpreter)
10953 (python-python-command-args, python-jython-command-args)
10954 (python-which-shell, python-which-args, python-which-bufname)
10955 (python-file-queue, python-comint-output-filter-function)
10956 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
10957 variables and functions.
10958
3e2d70fd
SM
109592011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10960
10961 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
10962 (completion-in-region-mode): New minor mode.
10963 (completion-in-region): Use it.
10964 (completion-in-region--data, completion-in-region-mode-map): New vars.
10965 (completion-in-region--postch): New function.
10966 (completion--capf-misbehave-funs, completion--capf-safe-funs):
10967 New vars.
10968 (completion--capf-wrapper): New function.
10969 (completion-at-point): Use it to track well-behavedness of
10970 hook functions.
10971 (completion-help-at-point): New command.
10972
f3e4086c
JM
109732011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
10974
10975 * vc/add-log.el (add-change-log-entry): Don't use whitespace
10976 syntax class to search for whitespace on a single line
10977 (Message-ID: <4D938140.4030905@redhat.com>).
10978
eb7ffc14
LL
109792011-03-30 Leo Liu <sdl.web@gmail.com>
10980
10981 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
10982 New commands.
10983 (edit-abbrevs-map): Bind them here.
10984 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
10985
d806ab68
KM
109862011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
10987
10988 * allout.el (allout-hide-by-annotation, allout-flag-region):
10989 Reduce possibility of overlay leakage by making them volatile.
10990
10991 * allout-widgets.el (allout-widgets-tally): Define as nil so the
10992 hash is not shared between buffers. Mode initialization is
10993 responsible for giving it a useful starting value.
10994 (allout-item-span): Reduce possibility of overlay leakage by
10995 making them volatile.
10996 (allout-widgets-count-buttons-in-region): Add diagnostic function
10997 for tracking down button overlay leaks.
10998
ea622834
LL
109992011-03-29 Leo Liu <sdl.web@gmail.com>
11000
11001 * ido.el (ido-read-internal): Use the default history var
11002 minibuffer-history if no HISTORY is specified.
11003
b62f8267
G
110042011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11005
03408648
SM
11006 * net/imap.el (imap-shell-open, imap-process-connection-type):
11007 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11008 Kerberos, SSL, other subprocesses.
11009
947b6566
LL
110102011-03-28 Leo Liu <sdl.web@gmail.com>
11011
11012 * abbrev.el (abbrev-table-empty-p): New function.
11013 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11014 nonempty ones. (Bug#5937)
11015
5ffb62aa
JD
110162011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11017
11018 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11019
7a097943
LL
110202011-03-27 Leo Liu <sdl.web@gmail.com>
11021
11022 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11023 for foreground and background colors.
11024 (ansi-color-make-color-map): Adapt.
11025
c5b40130
LL
110262011-03-25 Leo Liu <sdl.web@gmail.com>
11027
1f48f7d2
LL
11028 * midnight.el (midnight-time-float): Remove. Note it calculates
11029 the microsecond component incorrectly and seconds-to-time does the
11030 same job.
625897ec 11031 Remove redundant (require 'timer).
1f48f7d2 11032
c5b40130
LL
11033 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11034 (ido-completions): Remove unused arguments. (Bug#8329)
11035
d86d2721
SM
110362011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11037
11038 * minibuffer.el (completion--flush-all-sorted-completions):
11039 Remove itself from hook.
11040 (completion-at-point): Let the functions perform the completion
11041 immediately and return nil or t.
11042 * comint.el (comint-dynamic-complete-functions): Now identical to
11043 completion-at-point-functions.
11044 (comint-dynamic-list-input-ring): Remove unused var `index'.
11045 (comint--match-partial-filename, comint--unquote&expand-filename):
11046 New funs, split from comint-match-partial-filename.
11047 (comint-dynamic-complete): Use completion-at-point.
11048 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11049
e8974c48
DA
110502011-03-24 Drew Adams <drew.adams@oracle.com>
11051
11052 * thingatpt.el: Support `defun'.
11053
def71b5e
LL
110542011-03-23 Leo Liu <sdl.web@gmail.com>
11055
cb5af48e
LL
11056 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11057
def71b5e
LL
11058 * help-mode.el (help-mode-finish): Tweak regexp.
11059
927c53e7
GM
110602011-03-23 Glenn Morris <rgm@gnu.org>
11061
18d05bed
GM
11062 * eshell/esh-opt.el (eshell-eval-using-options):
11063 Do not bind unused local variable `eshell-option-stub'.
11064
927c53e7
GM
11065 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11066
9d0da923
JB
110672011-03-22 Juanma Barranquero <lekktu@gmail.com>
11068
11069 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11070 keymap variable in `with-no-warnings' to avoid a warning when the
11071 keymap has been already `defconst'ed.
11072
4b978a67
LL
110732011-03-22 Leo Liu <sdl.web@gmail.com>
11074
11075 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11076 encode all chars in abbrevs; otherwise use emacs-mule or
11077 utf-8-emacs. (Bug#8308)
11078
5fd62452
JB
110792011-03-22 Juanma Barranquero <lekktu@gmail.com>
11080
0b1596c6
JB
11081 * simple.el (backward-delete-char-untabify):
11082 Avoid warning about using `delete-backward-char'.
11083
5fd62452
JB
11084 * image.el (image-type-file-name-regexps): Make it variable.
11085 `imagemagick-register-types' modifies it, and the user may want
11086 to add new extensions for known image types.
11087 (imagemagick-register-types): Throw error if not using ImageMagick.
11088
0b4e93f1
LL
110892011-03-22 Leo Liu <sdl.web@gmail.com>
11090
11091 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11092 located before rcirc-prompt-end-marker.
11093 (rcirc-complete): Error if point is not after rcirc prompt.
11094 Handle the case when table is nil.
9882e214 11095 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11096
fccee4ab
CY
110972011-03-22 Chong Yidong <cyd@stupidchicken.com>
11098
11099 * custom.el (custom--inhibit-theme-enable): Make it affect only
11100 custom-theme-set-variables and custom-theme-set-faces.
11101 (provide-theme): Ignore custom--inhibit-theme-enable.
11102 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11103 (custom-enabling-themes): Delete variable.
d86d2721
SM
11104 (enable-theme): Accept only loaded themes as arguments.
11105 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11106 (custom-enabled-themes): Forbid themes from setting this.
11107 Eliminate use of custom-enabling-themes.
11108 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11109
af896da6
LL
111102011-03-21 Leo Liu <sdl.web@gmail.com>
11111
11112 * ido.el (ido-read-internal): Add ido-selected to history instead
11113 of user input.
11114
78f64af0
SM
111152011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11116
11117 * subr.el (deferred-action-list, deferred-action-function):
11118 Mark obsolete.
11119
b16ac1ec
LL
111202011-03-21 Leo Liu <sdl.web@gmail.com>
11121
810f7698
LL
11122 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11123 change on 2011-02-13 (bug#8309).
11124
b16ac1ec
LL
11125 * minibuffer.el (read-file-name-function): Change default value.
11126 (read-file-name--defaults): Rename from read-file-name-defaults.
11127 (read-file-name-default): Rename from read-file-name.
11128 (read-file-name): Call read-file-name-function.
11129
4e05e67e
GM
111302011-03-21 Glenn Morris <rgm@gnu.org>
11131
11132 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11133 Doc fixes.
11134
4359915b
CY
111352011-03-21 Chong Yidong <cyd@stupidchicken.com>
11136
11137 * cus-theme.el: Add missing provide statement.
11138 (customize-create-theme): Extract theme value correctly.
11139 (custom-theme-visit-theme): Autoload.
11140 (customize-create-theme): Prompt before inserting default faces.
11141
1fe275ee
JB
111422011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11143
11144 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11145 units and musical notes.
11146
cd394be1 111472011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11148
11149 * ido.el (ido-read-internal): Use completing-read-default.
11150 (ido-completing-read): Fix compatibility with completing-read.
11151
7d476bde
CO
111522011-03-20 Christian Ohler <ohler@gnu.org>
11153
11154 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11155 (ert-delete-all-tests): Use `called-interactively-p' rather than
11156 `interactive-p'.
11157 (ert--make-xrefs-region): Respect END.
11158
fe0fb33e
CY
111592011-03-19 Chong Yidong <cyd@stupidchicken.com>
11160
ff854b0b
CY
11161 * dired-aux.el (dired-create-directory): Signal an error if the
11162 directory already exists (Bug#8246).
11163
fe0fb33e
CY
11164 * facemenu.el (list-colors-display): Call list-faces-display
11165 inside with-help-window.
11166 (list-colors-print): Use display property to align the final
11167 column, instead of checking window-width.
11168
576bce32
EZ
111692011-03-19 Eli Zaretskii <eliz@gnu.org>
11170
4d61f28d 11171 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11172 windows-nt systems.
11173 (emerge-protect-metachars): Quote correctly for ms-dos and
11174 windows-nt systems.
11175
89c41d68 111762011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11177
11178 * info.el (info-initialize): Replace all uses of `:' with
11179 path-separator for compatibility with non-Unix systems.
11180 Cache quoting of path-separator. (Bug#8258)
11181
b14e3e21 111822011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11183
11184 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11185 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11186 (mouse-avoidance-mode): Fix typos in docstrings.
11187
4525ce3e
CY
111882011-03-19 Chong Yidong <cyd@stupidchicken.com>
11189
11190 * startup.el (package-subdirectory-regexp): Move from package.el.
11191 Omit \\` and \\', and let callers add them.
11192
11193 * emacs-lisp/package.el (package-strip-version)
11194 (package-load-all-descriptors): Add \\` and \\' to
11195 package-subdirectory-regexp before using it.
11196 (package-untar-buffer): New arg DIR; ensure that file untars only
11197 into this expected directory. Remove superfluous delete-region.
11198 (package-unpack): Caller changed.
11199 (package-tar-file-info): Use package-subdirectory-regexp.
11200
a904a09a 112012011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11202
a904a09a
SM
11203 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11204 diff-mode-shared-map (bug#8284).
11205 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11206
112072011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11208
11209 * calendar/time-date.el (format-seconds): Use assoc instead of
11210 assoc-string, since assoc-string doesn't exist in XEmacs.
11211
171fc304
JB
112122011-03-17 Juanma Barranquero <lekktu@gmail.com>
11213
11214 * custom.el (custom-known-themes): Reflow docstring.
11215 (custom-theme-load-path): Fix typo in docstring.
11216 (load-theme): Fix typo in error message.
11217 (custom-available-themes, custom-variable-theme-value):
11218 Use `let', not `let*'.
11219
d71990a1
JB
112202011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11221
11222 * calc/README: Mention inclusion of musical notes.
11223
11224 * calc/calc-units.el (calc-lu-quant): Rename from
11225 `calc-logunits-quantity'.
11226 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11227 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11228 (calc-db): Rename from `calc-dblevel'.
11229 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11230 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11231 (calc-np): Rename from `calc-nplevel'.
11232 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11233 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11234 (calc-lu-plus): Rename from `calc-logunits-add'.
11235 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11236 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11237 (calc-lu-minus): Rename from `calc-logunits-sub'.
11238 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11239 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11240 (calc-lu-times): Rename from `calc-logunits-mul'.
11241 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11242 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11243 (calc-lu-divide): Rename from `calc-logunits-div'.
11244 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11245 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11246
11247 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11248 functions being autoloaded.
11249
11250 * calc/calc.el (calc-lu-power-reference): Rename from
11251 `calc-logunits-power-reference'.
11252 (calc-lu-field-reference): Rename from
11253 `calc-logunits-field-reference'.
11254
7a71b18d
GM
11255 * calc/calc-help.el (calc-l-prefix-help):
11256 Mention musical note functions.
d71990a1 11257
40c2934b
SM
112582011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11259
11260 * minibuffer.el (completion-all-sorted-completions):
11261 Use :completion-cycle-penalty text property if present.
11262
b0911414
KM
112632011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11264
11265 * allout.el (allout-yank-processing): Adjust for new rebulleting
11266 regime so bullet being yanked is used without prompting the user
11267 for a choice.
11268
8a05b668
JB
112692011-03-16 Juanma Barranquero <lekktu@gmail.com>
11270
11271 * startup.el (command-line): Warn the user that _emacs is deprecated.
11272
5ba5fb81
JB
112732011-03-16 Juanma Barranquero <lekktu@gmail.com>
11274
11275 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11276 (delphi-verbose, delphi-comment-face, delphi-string-face)
11277 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11278 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11279 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11280 (delphi-new-comment-line, delphi-font-lock-defaults)
11281 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11282 Fix typos in docstrings.
11283
2dab465b
KM
112842011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11285
5ba5fb81 11286 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11287 Invert the roles of character and string values for INSTEAD, so a
11288 string is used for the more common case of a defaulting prompt.
11289
0adf5618
SM
112902011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11291
11292 * progmodes/ruby-mode.el (ruby-backward-sexp):
11293 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11294 * play/gamegrid.el (gamegrid-make-face):
11295 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11296 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11297 * notifications.el (notifications-notify):
11298 * net/xesam.el (xesam-search-engines):
11299 * net/quickurl.el (quickurl-list-insert):
11300 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11301
d72700e5
CY
113022011-03-15 Chong Yidong <cyd@stupidchicken.com>
11303
11304 * startup.el (command-line): Update package subdirectory regexp.
11305
49c5410a
SM
113062011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11307
c6eee9aa
SM
11308 * allout.el (allout-abbreviate-flattened-numbering)
11309 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11310
49c5410a
SM
11311 * subr.el (read-char-choice): Only show the cursor after the prompt,
11312 not after the answer.
11313
047b2bb9
KR
113142011-03-15 Kevin Ryde <user42@zip.com.au>
11315
11316 * help-fns.el (variable-at-point): Skip leading quotes, if any
11317 (bug#8253).
11318
0a57d256
SM
113192011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11320
11321 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11322 warning message.
11323
77c992bc
MA
113242011-03-14 Michael Albinus <michael.albinus@gmx.de>
11325
11326 * shell.el (shell): When called interactively, offer to change the
11327 shell file name on remote hosts.
11328
eebc475d
TZ
113292011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11330
11331 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11332 integration for LDAP parameters. The host, base, user or binddn,
11333 and secret tokens can be specified in a netrc file, for instance.
11334 This is optional because an `auth-source' parameter must be
11335 specified in the search attributes.
11336
9d05d1ba
JB
113372011-03-13 Juanma Barranquero <lekktu@gmail.com>
11338
11339 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11340
09d9db2c
GM
113412011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11342
11343 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11344 into declaration. Remove redundant and harmful binding.
11345
113462011-03-12 Eli Zaretskii <eliz@gnu.org>
11347
11348 * files.el (file-ownership-preserved-p): Pass `integer' as an
11349 explicit 2nd argument to `file-attributes'. If the file's owner
11350 is the Administrators group on Windows, and the current user is
11351 Administrator, consider that a match.
11352
11353 * server.el (server-ensure-safe-dir): Consider server directory
11354 safe on MS-Windows if its owner is the Administrators group while
11355 the current Emacs user is Administrator. Use `=' to compare
11356 numerical UIDs, since they could be integers or floats.
11357
219bd536
JB
113582011-03-12 Juanma Barranquero <lekktu@gmail.com>
11359
11360 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11361
f3afd36b
MA
113622011-03-12 Michael Albinus <michael.albinus@gmx.de>
11363
11364 Sync with Tramp 2.2.1.
11365
11366 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11367
11368 * net/trampver.el: Update release number.
11369
3aaaa6f1
SM
113702011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11371
94642599
SM
11372 * progmodes/compile.el (compilation--previous-directory): Fix up
11373 various nil/dead-marker mismatches (bug#8014).
11374 (compilation-directory-properties, compilation-error-properties):
11375 Don't call it at a position past the one we're about to change.
11376
3aaaa6f1
SM
11377 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11378 Disable obsolescence warnings in the file that declares it.
11379
14239447
KM
113802011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11381
099c39a4
JB
11382 * allout-widgets.el (allout-widgets-tally):
11383 Initialize allout-widgets-tally as a hash table rather than nil to
11384 prevent mode-line redisplay warnings. Also, clarify the module
11385 description and fix a comment typo.
14239447 11386
135e287c
JB
113872011-03-11 Juanma Barranquero <lekktu@gmail.com>
11388
11389 * help-fns.el (describe-variable): Don't complete keywords.
11390 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11391
ffbf300e
CY
113922011-03-10 Chong Yidong <cyd@stupidchicken.com>
11393
ba08b241
CY
11394 * emacs-lisp/package.el (package-version-join): Impose a standard
11395 string representation for pre/alpha/beta version lists.
11396 (package-unpack-single): Standardize the directory name by passing
11397 it through package-version-join.
11398 (package-strip-rcs-id): Accept any version string that does not
11399 signal an error in version-to-list.
ffbf300e 11400
f346fd6b
MA
114012011-03-10 Michael Albinus <michael.albinus@gmx.de>
11402
11403 * simple.el (delete-trailing-whitespace): Return nil for the
11404 benefit of `write-file-functions'.
11405
ccb55d27
GM
114062011-03-10 Glenn Morris <rgm@gnu.org>
11407
5ceaac0c
GM
11408 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11409
02da65ff
GM
11410 * vc/vc-git.el (vc-git-program): New option.
11411 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11412 (vc-git--call): Use it.
11413
b2f603cc
GM
11414 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11415
5772caab
GM
11416 * cus-edit.el (Custom-newline): If no button at point, look
11417 for a subgroup button at start-of-line. (Bug#2298)
11418
ccb55d27
GM
11419 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11420
ec6ecaed
JD
114212011-03-10 Julien Danjou <julien@danjou.info>
11422
11423 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11424 `cursor-type' is nil.
11425
9d5aa01d
JB
114262011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11427
11428 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11429
b6a5875b
KM
114302011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11431
7a71b18d 11432 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11433 preserves the existing header prefix, rebulleting it if necessary,
11434 rather than replacing it. This is necessary for proper operation
11435 of cooperative addons like allout-widgets.
1154d12e
JB
11436 (allout-make-topic-prefix, allout-rebullet-heading):
11437 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11438 value as alternate bullet to be used, instead of prompting the user
11439 for a bullet character.
b6a5875b 11440
ee545c35
MA
114412011-03-09 Michael Albinus <michael.albinus@gmx.de>
11442
d86d2721
SM
11443 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11444 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11445 `tramp-default-port'.
11446
c47971d7
DD
114472011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11448
11449 * net/rcirc.el (rcirc-handler-001): Remove useless
11450 with-rcirc-process-buffer.
11451 (rcirc-check-auth-status): Swap arguments to string-match.
11452
13522cb4
GM
114532011-03-09 Glenn Morris <rgm@gnu.org>
11454
0be6f4f1
GM
11455 * shell.el (shell-mode):
11456 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11457
13522cb4
GM
11458 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11459 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11460
515de2e3
CY
114612011-03-08 Chong Yidong <cyd@stupidchicken.com>
11462
11463 * emacs-lisp/package.el (package-refresh-contents)
11464 (package-menu-execute): Use condition-case-no-debug.
11465
b511b994
MA
114662011-03-08 Michael Albinus <michael.albinus@gmx.de>
11467
11468 * simple.el (shell-command-to-string): Use `process-file'.
11469
11470 * emacs-lisp/package.el (package-tar-file-info): Handle also
11471 remote files.
11472
d86d2721
SM
11473 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11474 Use `equal' for upload base check.
b511b994 11475
25bbfb31
AM
114762011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11477
11478 * textmodes/texinfo.el (texinfo-environments):
11479 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11480
be996521
GM
114812011-03-08 Glenn Morris <rgm@gnu.org>
11482
e9c8529f
GM
11483 * cus-start.el (cursor-in-non-selected-windows):
11484 Fix :set quoting oddness. (Bug#8192)
11485
be996521
GM
11486 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11487 in some setf expressions. (Bug#2159)
11488
2bb5649e
CY
114892011-03-08 Chong Yidong <cyd@stupidchicken.com>
11490
11491 * custom.el (custom-available-themes): Return themes in
11492 alphabetical order.
11493
33383987 11494See ChangeLog.15 for earlier changes.
e3d51b27
MR
11495
11496;; Local Variables:
11497;; coding: utf-8
e3d51b27
MR
11498;; End:
11499
acaf905b 11500 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11501
11502 This file is part of GNU Emacs.
11503
11504 GNU Emacs is free software: you can redistribute it and/or modify
11505 it under the terms of the GNU General Public License as published by
11506 the Free Software Foundation, either version 3 of the License, or
11507 (at your option) any later version.
11508
11509 GNU Emacs is distributed in the hope that it will be useful,
11510 but WITHOUT ANY WARRANTY; without even the implied warranty of
11511 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11512 GNU General Public License for more details.
11513
11514 You should have received a copy of the GNU General Public License
11515 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.