Small calendar-string-spread fix for bug#10978
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3809f91d
GM
12012-03-13 Glenn Morris <rgm@gnu.org>
2
3 * calendar/calendar.el (calendar-string-spread):
4 Handle non-unit-width characters a bit better. (Bug#10978)
5
9e345a01
LL
62012-03-13 Leo Liu <sdl.web@gmail.com>
7
8 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9 directory and file as argument (Bug#10822).
10
4a07df36
KS
112012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12
13 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14 For dynamically generated code, follow $PC.
15 (gdb-disassembly-handler-custom): Handle no function name case.
16
4aaa9356
TL
172012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
18
19 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
20 * emulation/ws-mode.el (ws-query-replace):
21 * sort.el (sort-regexp-fields):
22 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
23
225979da
SM
242012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25
26 * dabbrev.el: Fix cycle completion order (bug#10963).
27 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
28 (dabbrev-completion): Don't use an obarray; provide
29 a cycle-sort-function.
30
e2f1fdab
LL
312012-03-12 Leo Liu <sdl.web@gmail.com>
32
33 * simple.el (kill-new): Use equal-including-properties for
34 comparison.
35 (kill-do-not-save-duplicates): Doc fix.
36
b19490ed
SM
372012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * dabbrev.el: Fix cycle completion (bug#10963).
40 Use lexical binding and wrap to 80 columns.
41 (dabbrev-completion): Delay computing the list of completions.
42
4b05d722
KH
432012-03-12 Kenichi Handa <handa@m17n.org>
44
45 * international/quail.el (quail-insert-kbd-layout): Surround each
46 row by LRO and PDF instead of inserting many LRMs. Pad the left
47 and right of each non-spacing marks. Insert invisible space
48 between lower and upper characters to prevent composition.
49
dbbc2e69
SM
502012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
51
52 * minibuffer.el (minibuffer-complete): Don't get confused when the
53 function is run twice via different commands (bug#10958).
54 (complete-with-action): Fix docstring.
55
292112ed
CY
562012-03-12 Chong Yidong <cyd@gnu.org>
57
5d1ac394
CY
58 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
59 (nxml-completion-at-point-function): New function.
60 (nxml-mode): Use it.
61 (nxml-bind-meta-tab-to-complete-flag): Default to t.
62
292112ed
CY
63 * emacs-lisp/package.el (package-unpack, package-unpack-single):
64 Load generated autoloads file before byte compiling (Bug#10970).
65 (package--make-autoloads-and-compile): New helper fun.
66
4098f8f7
CS
672012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
68
69 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
70
8f754691
MA
712012-03-11 Michael Albinus <michael.albinus@gmx.de>
72
73 * autorevert.el (auto-revert-handler): Ensure, that
74 file-readable-p is applied only for local files or in
75 auto-revert-tail-mode.
76
e29ab36b
AS
772012-03-11 Andreas Schwab <schwab@linux-m68k.org>
78
dbbc2e69
SM
79 * server.el (server-eval-at): Handle non-tcp connections.
80 Decode result string.
ad0bf5b6 81
e29ab36b
AS
82 * server.el (server-msg-size): New constant.
83 (server-reply-print): New function.
84 (server-eval-and-print): Use it.
85 (server-eval-at): Use server-quote-arg and server-unquote-arg.
86 Handle -print-nonl.
87
de5939ba
CS
882012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
89
90 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
91 (Bug#10987).
92
0c93eabf
CY
932012-03-11 Chong Yidong <cyd@gnu.org>
94
397a688f
CY
95 * simple.el (goto-line): Doc fix (Bug#9938).
96
2cc775f9
CY
97 * subr.el (save-window-excursion): Doc fix (Bug#9979).
98
0c93eabf
CY
99 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
100 when finished (Bug#10963).
101
c491fa41
MR
1022012-03-11 Martin Rudalics <rudalics@gmx.at>
103
104 * window.el (split-window-below): Fix bug in case where
105 split-window-keep-point is nil (Bug#10971).
106
300e8fa5
JL
1072012-03-11 Juri Linkov <juri@jurta.org>
108
109 * replace.el (replace-highlight): Set isearch-word to nil
110 unconditionally. (Bug#10887)
111
dbf6c5a1
EZ
1122012-03-10 Eli Zaretskii <eliz@gnu.org>
113
114 * net/mairix.el (mairix-replace-invalid-chars): Rename from
115 mairix-replace-illegal-chars; all callers changed. Don't remove
116 ^, ~, and = characters: they are meaningful in mairix search
117 specs.
118 (mairix-widget-create-query): Add usage information about mairix
119 search forms: negating words, searching for substrings, etc.
120
b9e501de
JP
1212012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
122
123 * international/fontset.el (font-encoding-alist): Add an entry for
124 ksx1001 (Bug#5667).
125
92795c91
RS
1262012-03-10 Richard Stallman <rms@gnu.org>
127
1694e6c1
RS
128 * mail/sendmail.el (mail-encode-header):
129 Set rfc2047-encode-encoded-words.
130
607e8555
RS
131 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
132
de3bc99a
RS
133 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
134 view buffer means not swapped.
135 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
136 (rmail-write-region-annotate): Error if real text has disappeared.
137
92795c91
RS
138 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
139
699bd04e
CY
1402012-03-10 Chong Yidong <cyd@gnu.org>
141
142 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
143 * emulation/cua-base.el (cua--init-keymaps):
144 Add delete-forward-char to remappings (Bug#9666).
699bd04e 145
570a1714
MR
1462012-03-10 Martin Rudalics <rudalics@gmx.at>
147
dbbc2e69
SM
148 * speedbar.el (speedbar-unhighlight-one-tag-line):
149 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 150
82dcf4e4
CY
1512012-03-10 Chong Yidong <cyd@gnu.org>
152
7a2c7ca7
CY
153 * minibuffer.el (completion-in-region, completion-help-at-point):
154 Give the completion field overlay a high priority (Bug#6830).
155
82dcf4e4
CY
156 * dired.el (dired-goto-file): Recognize absolute file name
157 listings (Bug#7126).
158 (dired-goto-file-1): New helper function.
159 (dired-toggle-read-only): Inhibit warnings.
160
052e28ac
MA
1612012-03-09 Michael Albinus <michael.albinus@gmx.de>
162
163 * net/dbus.el: (dbus-property-handler): Return empty array if
164 there are no properties.
165
95d5e396
LL
1662012-03-09 Leo Liu <sdl.web@gmail.com>
167
168 * savehist.el (savehist-printable): Stricter check for string
169 value (Bug#10937).
170
3f018d6d
EZ
1712012-03-09 Eli Zaretskii <eliz@gnu.org>
172
dbbc2e69
SM
173 * mail/smtpmail.el (smtpmail-send-it):
174 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
175 valid mbox format.
176
f7fd3d79
GM
1772012-03-09 Glenn Morris <rgm@gnu.org>
178
179 * files.el (dir-locals-find-file):
180 Don't check result is regular, readable.
181 (dir-locals-read-from-file): Demote errors.
182
6ff6e72f
EZ
1832012-03-08 Eli Zaretskii <eliz@gnu.org>
184
dbbc2e69
SM
185 * international/quail.el (quail-insert-kbd-layout):
186 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
187 layout cell, to prevent their reordering by bidi display engine.
188 For details, see the discussion in
189 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
190
9cec7834
AM
1912012-03-08 Alan Mackenzie <acm@muc.de>
192
193 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
194 the starting position; make it extend the marked region when
195 invoked repeatedly - all under appropriate circumstances.
196 Fixes bugs #5525, #10906.
197
9a40b8d4
GM
1982012-03-08 Glenn Morris <rgm@gnu.org>
199
200 * files.el (locate-dominating-file, dir-locals-find-file):
201 Undo 2012-03-06 change.
202
7a08ed35
EZ
2032012-03-07 Eli Zaretskii <eliz@gnu.org>
204
dbbc2e69
SM
205 * international/quail.el (quail-help):
206 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
207 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
208 for the reason.
209
5aca4f71 2102012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
211
212 Avoid superfluous registering of signals. (Bug#10807)
213
214 * notifications.el (notifications-on-action-object)
215 (notifications-on-close-object): New defvars.
216 (notifications-on-action-signal, notifications-on-closed-signal):
217 Unregister the signal if not needed any longer.
218 (notifications-notify): Register `notifications-action-signal' or
219 `notifications-closed-signal', if :on-action or :on-close has been
220 passed as argument.
221
78e8b10a
CY
2222012-03-07 Chong Yidong <cyd@gnu.org>
223
224 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
225 non-X platforms.
226
69481eb8
GM
2272012-03-06 Glenn Morris <rgm@gnu.org>
228
229 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
230 (x-disown-selection-internal, x-get-selection-internal):
231 Doc fix (add arglist signatures). (Bug#10783)
232
133b8e11
KS
2332012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
234
235 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
236 Handle breakpoints with no "type".
237
99a83064
GM
2382012-03-06 Glenn Morris <rgm@gnu.org>
239
240 * files.el (locate-dominating-file): Add optional predicate argument.
241 (dir-locals-find-file): Make use of above change.
242
17798e78
TTN
2432012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
244
245 * info.el (Info-insert-dir): Also try "dir.gz".
246
eb182446
GM
2472012-03-06 Glenn Morris <rgm@gnu.org>
248
8f2114ee
GM
249 * files.el (dir-locals-find-file):
250 Ignore non-readable or non-regular files. (Bug#10928)
251
eb182446
GM
252 * files.el (locate-dominating-file): Doc fix.
253
24679323
AS
2542012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
255
256 * calendar/calendar.el (calendar-set-mode-line):
257 `getenv' returns a string. (Bug#10951)
258
01d972a9
LL
2592012-03-05 Leo Liu <sdl.web@gmail.com>
260
109aa8a9
LL
261 * simple.el (backward-delete-char-untabify): Constrain point to
262 field (Bug#10939).
263
01d972a9
LL
264 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
265
10607bea
CY
2662012-03-05 Chong Yidong <cyd@gnu.org>
267
268 * simple.el (count-words): If called from Lisp, return the word
269 count, for symmetry with `count-lines'. Arglist changed.
270 (count-words--message): Args changed. Consolidate counting code
271 from count-words and count-words-region.
272 (count-words-region): Caller changed.
273 (count-lines-region): Make it an obsolete alias.
274
5dd11cfe
TH
2752012-03-04 Tassilo Horn <tassilo@member.fsf.org>
276
277 * saveplace.el (save-place-to-alist)
278 (save-place-ignore-files-regexp): Allow value nil to disable this
279 feature.
280
c349f4e6
CY
2812012-03-04 Chong Yidong <cyd@gnu.org>
282
283 * faces.el (face-spec-reset-face): For the default face, reset the
284 attributes to default values (Bug#10748).
285
e627be4c
LMI
2862012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
287
288 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
289 previous patch: Check `message-send-mail-function', and not the
290 default function (bug#10897).
291
ebeabff4
MA
2922012-03-04 Michael Albinus <michael.albinus@gmx.de>
293
a41a6cf4
MA
294 * notifications.el (notifications-on-action-signal)
295 (notifications-on-closed-signal): Check for unique service name of
296 incoming event. Fix error in removing entry.
ebeabff4 297 (top): Register for signals with wildcard service name.
a41a6cf4 298 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 299
c1ca42b4
CY
3002012-03-04 Chong Yidong <cyd@gnu.org>
301
302 * cus-start.el: Make x-select-enable-clipboard-manager
303 customizable.
304
ea16568d
GM
3052012-03-04 Glenn Morris <rgm@gnu.org>
306
307 * abbrev.el (copy-abbrev-table, abbrev-table-p)
308 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
309 (expand-abbrev, define-abbrev-table): Doc fixes.
310
fbae4637
LMI
3112012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
312
313 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
314 `message-default-send-mail-function' and not `send-mail-function'
315 when doing the prompting for `sendmail-query-once' before sending
316 in Message buffers (bug#10897).
317
a1e7225c
LMI
318 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
319 This is inconsistent with all the other stream functions, which leave
320 the setting up to the higher levels (if so wanted) (bug#10931).
321
56d093a9
AM
3222012-03-02 Alan Mackenzie <acm@muc.de>
323
324 Depessimize the handling of very large macros.
325
326 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
327 (c-macro-cache-syntactic): New variables to implement a one
328 element macro cache.
329 (c-invalidate-macro-cache): New function.
330 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
331 Adapt to use the new cache.
332 (c-state-safe-place): Use better the cache of safe positions.
333 (c-state-semi-nonlit-pos-cache)
334 (c-state-semi-nonlit-pos-cache-limit):
335 New variables for...
336 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
337 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
338 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
339 Use c-state-semi-safe-place.
56d093a9 340
dbbc2e69
SM
341 * progmodes/cc-langs.el (c-get-state-before-change-functions):
342 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 343
817e5c3d
MA
3442012-03-02 Michael Albinus <michael.albinus@gmx.de>
345
dbbc2e69
SM
346 * jka-compr.el (jka-compr-call-process):
347 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
348 not remote.
349
a032a702
MA
3502012-03-01 Michael Albinus <michael.albinus@gmx.de>
351
352 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
353 access of FILE2, if FILE1 does not exist.
354
99a54f21
MA
355 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
356 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
357
358 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
359 Add "PAGER=" to `process-environment'.
360
f6561e1f
MM
3612012-03-01 Michael R. Mauger <mmaug@yahoo.com>
362
363 * progmodes/sql.el: Bug fix
364 (sql-get-login-ext): Save login values in globals.
365 (sql-get-login): Use new version of `sql-get-login-ext'.
366 (sql-interactive-mode): Set global `sql-connection' to nil.
367 (sql-connect): Set global values for connection.
368 (sql-product-interactive): Save global values as buffer local.
369
2d44d9cc
LL
3702012-02-29 Leo Liu <sdl.web@gmail.com>
371
372 * abbrev.el (define-abbrevs): Reset sys to nil.
373
96b49301 3742012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
375
bf7f9bc5
JB
376 * files.el (file-equal-p): Rename from `files-equal-p'.
377 Return nil when one or both files don't exist.
96b49301 378 (file-subdir-of-p): Now only top directory must exists,
379 return nil if it doesn't.
bf7f9bc5
JB
380 (copy-directory): No need to test with `file-subdir-of-p' after
381 creating dir.
382 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
383 to `file-equal-p'.
96b49301 384
44e97401
GM
3852012-02-28 Glenn Morris <rgm@gnu.org>
386
387 * shell.el (shell-mode):
388 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
389 * play/landmark.el (landmark-font-lock-face-O):
390 * play/handwrite.el (handwrite):
391 * play/gomoku.el (gomoku-O):
392 * net/browse-url.el (browse-url-browser-display):
393 * international/mule.el (define-charset):
394 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
395 * filesets.el (filesets-find-file-delay):
396 * eshell/em-xtra.el (eshell-xtra):
397 * eshell/em-unix.el (eshell-grep):
398 * emulation/viper.el (viper-mode):
399 * emacs-lisp/regexp-opt.el (regexp-opt-group):
400 * emacs-lisp/easymenu.el (easy-menu-define):
401 * calendar/timeclock.el (timeclock-use-display-time):
402 * bs.el (bs-mode):
403 * bookmark.el (bookmark-save-flag):
404 Doc fix (standardize possessive apostrophe usage).
405
c98c6276
CY
4062012-02-27 Chong Yidong <cyd@gnu.org>
407
bf7f9bc5
JB
408 * emulation/viper-cmd.el (viper-intercept-ESC-key):
409 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 410
c98c6276
CY
411 * font-lock.el (font-lock-specified-p): Rename from
412 font-lock-spec-present. Callers changed.
413
9c62cd04 4142012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 415
bf7f9bc5
JB
416 * emacs-lisp/package.el (package-compute-transaction):
417 Handle holding a package version to t in package-load-list.
8ac9e529 418
530739c9
MA
4192012-02-26 Michael Albinus <michael.albinus@gmx.de>
420
421 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
422 (tramp-get-inode, tramp-get-device): Use cached values.
423
487915d7
AM
4242012-02-26 Alan Mackenzie <acm@muc.de>
425
426 Check there is a font-lock specification before doing initial
427 fontification.
428
429 * font-core.el (font-lock-mode): Move the conditional from
430 :after-hook to font-lock-initial-fontify.
431 (font-lock-default-function): Move the check for a specification
432 to font-lock-spec-present.
433
434 * font-lock.el (font-lock-initial-fontify): call ...
435 (font-lock-spec-present): New function.
436
4fd96557
JB
4372012-02-26 Jim Blandy <jimb@red-bean.com>
438
439 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
440 (gdb-send): Apply it to the operand of the '-interpreter-exec
441 console' command, so that we can pass arguments with (say) quotes
442 in them. Store exact string sent in gdb-debug-log (Bug#10765).
443
9a4888c0
CY
4442012-02-26 Chong Yidong <cyd@gnu.org>
445
07498861
CY
446 * help-fns.el (describe-function-1): Clarify description of
447 remapping (Bug#10844).
448
9a4888c0
CY
449 * files.el (files-equal-p): Doc fix.
450 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
451 and quit the loop once a mismatch is found.
452
ea8fb88d
JB
4532012-02-25 Juanma Barranquero <lekktu@gmail.com>
454
455 * bs.el (bs--show-with-configuration): Don't throw an error
456 if the window cannot be split; otherwise, subsequent calls to
457 bs-show fail, restoring a stale window config. (Bug#10882)
458
525795c1
JD
4592012-02-25 Jan Djärv <jan.h.d@swipnet.se>
460
461 * term/ns-win.el (global-map): Bind ns-drag-file to
462 ns-find-file (Bug#5855, Bug#10050).
463
f008086f
AS
4642012-02-25 Andreas Schwab <schwab@linux-m68k.org>
465
466 * calendar/parse-time.el (parse-time-string): Allow extractor to
467 return nil.
468
a3fcfa99
MA
4692012-02-25 Michael Albinus <michael.albinus@gmx.de>
470
91027d08
JB
471 * net/tramp.el (tramp-file-name-for-operation):
472 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
473
474 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
475 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
476 Add COPY-CONTENTS argument.
a3fcfa99 477
67b0de11
CY
4782012-02-25 Chong Yidong <cyd@gnu.org>
479
480 Add custom groups for VC backends, for consistency with vc-bzr.
481
482 * vc/vc-arch.el (vc-arch):
483 * vc/vc-cvs.el (vc-cvs):
484 * vc/vc-git.el (vc-git):
485 * vc/vc-hg.el (vc-hg):
486 * vc/vc-mtn.el (vc-mtn):
487 * vc/vc-rcs.el (vc-rcs):
488 * vc/vc-sccs.el (vc-sccs):
489 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
490 All relevant defcustoms reassigned.
491
3c9dfce6
CY
4922012-02-25 Chong Yidong <cyd@gnu.org>
493
1339bf43
CY
494 * newcomment.el (comment-styles): Add autoload (Bug#10868).
495
3c9dfce6
CY
496 * term/x-win.el (x-initialize-window-system): Reduce default for
497 x-selection-timeout to 5 seconds (Bug#8869).
498
53a46cd0 4992012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 500
53a46cd0 501 * files.el (file-subdir-of-p): Fix typo.
14a8a663 502
25b2e303 5032012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
504
ec70a47d
GM
505 * files.el (files-equal-p, file-subdir-of-p): New functions.
506 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 507 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
508 * dired-aux.el (dired-copy-file-recursive): Same.
509 (dired-create-files): Modify destination when source is equal to
510 dest when copying files.
53a46cd0 511 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 512
914260cd
MA
5132012-02-24 Michael Albinus <michael.albinus@gmx.de>
514
515 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
516 (Bug#10874)
517
2cb228f7
AM
5182012-02-23 Alan Mackenzie <acm@muc.de>
519
520 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
521 parameter "after-hook:" to allow the expansion to run code after
522 the execution of the mode hooks.
523
524 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 525 from font-lock-mode-internal.
2cb228f7 526
91027d08 527 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
528 :after-hook.
529
8f0fde21
SM
5302012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
531
3e88618b
SM
532 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
533 (completion--cache-all-sorted-completions): New function.
534 (completion-all-sorted-completions): Use it.
535 (completion--do-completion, minibuffer-force-complete):
536 Use it to re-instate the flush hook.
537
8f0fde21
SM
538 * icomplete.el (icomplete-completions): Replace last fix with a better
539 one (bug#10850).
540
8e911f6f
DG
5412012-02-23 Dmitry Gutov <dgutov@yandex.ru>
542
543 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
544 when it might call us back infinitely (bug#10797).
545
49fe4321
GM
5462012-02-23 Glenn Morris <rgm@gnu.org>
547
548 * minibuffer.el (completion-category-overrides): Doc fix.
549
b291b572
SM
5502012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
551
552 * minibuffer.el (completion-table-with-context): Fix inf-loop.
553 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
554
31a9ef2e
GM
5552012-02-23 Glenn Morris <rgm@gnu.org>
556
5e6e6794 557 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
558 (authors-obsolete-files-regexps, authors-ignored-files)
559 (authors-ambiguous-files, authors-renamed-files-alist):
560 Add more entries.
561
0bd1e074
JL
5622012-02-23 Juri Linkov <juri@jurta.org>
563
564 * isearch.el (isearch-occur): Sync interactive spec with occur's
565 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
566
b617673c
JL
567 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
568
19e9789e
JL
5692012-02-22 Juri Linkov <juri@jurta.org>
570
571 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
572 (ucs-insert): Doc fix. Check for hex digits in the string.
573 Don't display `nil' in the error message. (Bug#10857)
574
f41ce09d
AM
5752012-02-22 Alan Mackenzie <acm@muc.de>
576
7a71b18d 577 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 578
ac2eceee
GM
5792012-02-22 Glenn Morris <rgm@gnu.org>
580
581 * ffap.el (ffap-c-path):
582 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
583
abd1f678
CY
5842012-02-22 Chong Yidong <cyd@gnu.org>
585
586 * custom.el (load-theme): Doc fix.
587
f25aef2e
GM
5882012-02-22 Glenn Morris <rgm@gnu.org>
589
590 * dired-x.el (dired-guess-shell-alist-default):
591 Remove escape sequences from nroff output. (Bug#172)
592
5f8dc2ca
GM
5932012-02-21 Glenn Morris <rgm@gnu.org>
594
6ff86ec4
GM
595 * vc/emerge.el (emerge-defvar-local):
596 Set `permanent-local' property rather than unused `preserved'.
597
be3223a3 598 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
599 (picture-mode-map): Use it. (Bug#10860)
600 (picture-mode): Doc fix.
601
3fe58f4f
JB
6022012-02-21 Juanma Barranquero <lekktu@gmail.com>
603
604 * newcomment.el (uncomment-region-default): Remove unused binding.
605
f9a998c3
GM
6062012-02-21 Glenn Morris <rgm@gnu.org>
607
608 * textmodes/picture.el (picture-motion, picture-motion-reverse)
609 (picture-self-insert, picture-tab-chars): Doc fix.
610 (picture-mode-map): Fix C-a, C-e.
611
c6029348
GM
6122012-02-20 Glenn Morris <rgm@gnu.org>
613
614 * emacs-lisp/authors.el (authors-aliases): Add another entry.
615
ab1ce9d7
LL
6162012-02-20 Leo Liu <sdl.web@gmail.com>
617
618 * icomplete.el (icomplete-completions): Check FROM arg before
619 passing to substring (Bug#10850).
620
0fd40f89
CY
6212012-02-19 Chong Yidong <cyd@gnu.org>
622
623 * comint.el: Require ansi-color.
624 (comint-output-filter-functions): Add ansi-color-process-output.
625
626 * ansi-color.el: Don't set comint-output-filter-functions; it is
627 now in the initial value defined in comint.el.
628 (ansi-color-apply-face-function): New variable.
629 (ansi-color-apply-on-region): Use it.
630 (ansi-color-apply-overlay-face): New function.
631
632 * shell.el (shell): No need to require ansi-color.
633 (shell-mode): Use ansi-color-apply-face-function to highlight
634 color escapes using font-lock-face property (Bug#10835).
635
20af2394
CY
6362012-02-19 Chong Yidong <cyd@gnu.org>
637
638 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
639 mode-line formats (Bug#10839).
640
e23a3fbe
GM
6412012-02-18 Glenn Morris <rgm@gnu.org>
642
b474519e
GM
643 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
644
645 * mail/undigest.el (unforward-rmail-message): Doc fix.
646
e23a3fbe
GM
647 * saveplace.el (save-place-ignore-files-regexp): Add :version.
648
57939ff4
EZ
6492012-02-18 Eli Zaretskii <eliz@gnu.org>
650
651 * international/characters.el (script-list): Sync with the latest
652 Unicode Character Database.
653
0c23686e
AS
6542012-02-18 Andreas Schwab <schwab@linux-m68k.org>
655
656 * international/titdic-cnv.el: Remove duplicate coding tag.
657 * language/cham.el: Likewise.
658 * language/tai-viet.el: Likewise.
659
6818b449
GM
6602012-02-18 Glenn Morris <rgm@gnu.org>
661
662 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
663 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
664 (calendar-bahai-all-holidays-flag, calendar-other-dates):
665 * calendar/diary-lib.el (diary-abbreviated-year-flag):
666 * calendar/holidays.el (holiday-bahai-holidays)
667 (calendar-holidays, list-holidays):
668 Use utf-8 Bahá'í in doc-strings, menus, etc.
669
0311a3fc
TH
6702012-02-17 Tassilo Horn <tassilo@member.fsf.org>
671
672 * saveplace.el (save-place-ignore-files-regexp): New variable
673 allowing for excluding files from saving their location of point.
674 The default value matches the temporary commit message editing
675 files from Git, SVN, Bazaar, and Mercurial.
676 (save-place-to-alist): Use it.
677
eb864a71
LM
6782012-02-17 Lawrence Mitchell <wence@gmx.li>
679 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * newcomment.el (uncomment-region-default): Don't leave extra space
682 when an arg is provided (bug#8150).
683
ee0ce425
TZ
6842012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
685
eb864a71 686 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 687
95ddf442
GM
6882012-02-17 Glenn Morris <rgm@gnu.org>
689
690 * net/socks.el: Require network-stream. (Bug#10599)
691
48dd1e39 6922012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
693
694 * international/charprop.el:
695 * international/uni-name.el:
696 * international/uni-old-name.el:
697 * international/uni-comment.el: Regenerate.
698
d68cd087
GM
6992012-02-16 Glenn Morris <rgm@gnu.org>
700
701 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
702 Interactively in calendar buffer, give an error if not on a date.
703
13932042
GM
7042012-02-15 Glenn Morris <rgm@gnu.org>
705
706 * shell.el (shell-delimiter-argument-list):
707 Revert 2011-02-17 change. (Bug#8027)
708
c3a70e2b
CY
7092012-02-15 Chong Yidong <cyd@gnu.org>
710
60236b0d
CY
711 * minibuffer.el (completion-at-point-functions): Doc fix.
712
c3a70e2b
CY
713 * custom.el (defcustom): Doc fix; note use of defvar.
714
9f26dc24
GM
7152012-02-15 Glenn Morris <rgm@gnu.org>
716
717 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
718 Doc fixes.
719
6546b134
GM
7202012-02-14 Glenn Morris <rgm@gnu.org>
721
722 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
723
d29b2b4c
LI
7242012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
725
726 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
727 way the ports list is computed.
835bdcba
LI
728 (smtpmail-query-smtp-server): Prompt the user for a port number if
729 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 730
08dcdbc9
TZ
7312012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
732
733 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
734
2605051a
GM
7352012-02-13 Glenn Morris <rgm@gnu.org>
736
737 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
738
7ee99f32
TZ
7392012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
740
741 * net/gnutls.el (gnutls-trustfiles): New variable.
742 (gnutls-negotiate): Use it.
743
5f0af64f
LI
7442012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
745
746 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
747 does its stuff if Gnus is running.
748
c14fcc95
AM
7492012-02-13 Alan Mackenzie <acm@muc.de>
750
751 Fix a loop in c-set-fl-decl-start.
752
7a71b18d 753 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
754 c-backward-syntactic-ws actually moves backwards.
755
142b4d90
LL
7562012-02-13 Leo Liu <sdl.web@gmail.com>
757
758 * net/rcirc.el (rcirc-markup-attributes): Move point to the
759 beginning so that all \C-o chars are removed.
760
fa9958a6
TZ
7612012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
762
763 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
764 tag.
765
0bc5886a
AM
7662012-02-12 Alan Mackenzie <acm@muc.de>
767
768 Fix infinite loop with long macros.
769 * cc-engine.el (c-state-safe-place): Handle macros properly.
770
d4bd55e7
CY
7712012-02-12 Chong Yidong <cyd@gnu.org>
772
773 * window.el (display-buffer): Doc fix (Bug#10785).
774
66f3fe22
GM
7752012-02-12 Glenn Morris <rgm@gnu.org>
776
bd7da63e
GM
777 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
778 (x-disown-selection-internal, x-get-selection-internal):
779 Sync docs with the xselect.c versions.
780
66f3fe22
GM
781 * allout-widgets.el: Add missing license notice.
782
3e0d2fa7
GM
7832012-02-11 Glenn Morris <rgm@gnu.org>
784
cfecdf09
GM
785 * select.el (x-get-selection-internal, x-own-selection-internal)
786 (x-disown-selection-internal):
787 * x-dnd.el (x-get-selection-internal): Update declarations.
788
6d216d7f
GM
789 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
790
2bed3f04
GM
791 * window.el (window-sides-slots):
792 * tool-bar.el (tool-bar-position):
793 * term/xterm.el (xterm-extra-capabilities):
794 * ses.el (ses-self-reference-early-detection):
795 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
796 (verilog-auto-wire-type)
797 (verilog-auto-delete-trailing-whitespace)
798 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
799 (verilog-auto-tieoff-declaration):
800 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
801 (sql-oracle-statement-starters, sql-oracle-scan-on):
802 * progmodes/prolog.el (prolog-align-comments-flag)
803 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
804 (prolog-left-indent-regexp, prolog-paren-indent-p)
805 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
806 (prolog-types, prolog-mode-specificators)
807 (prolog-determinism-specificators, prolog-directives)
808 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
809 (prolog-electric-dot-flag)
810 (prolog-electric-dot-full-predicate-template)
811 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
812 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
813 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
814 (prolog-program-switches, prolog-prompt-regexp)
815 (prolog-debug-on-string, prolog-debug-off-string)
816 (prolog-trace-on-string, prolog-trace-off-string)
817 (prolog-zip-on-string, prolog-zip-off-string)
818 (prolog-use-standard-consult-compile-method-flag)
819 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
820 (prolog-imenu-max-lines, prolog-info-predicate-index)
821 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
822 (prolog-char-quote-workaround):
823 * progmodes/cc-vars.el (c-defun-tactic):
824 * net/tramp.el (tramp-encoding-command-interactive)
825 (tramp-local-end-of-line):
826 * net/soap-client.el (soap-client):
827 * net/netrc.el (netrc-file):
828 * net/gnutls.el (gnutls):
829 * minibuffer.el (completion-category-overrides)
830 (completion-cycle-threshold)
831 (completion-pcm-complete-word-inserts-delimiters):
832 * man.el (Man-name-local-regexp):
833 * mail/feedmail.el (feedmail-display-full-frame):
834 * international/characters.el (glyphless-char-display-control):
835 * eshell/em-ls.el (eshell-ls-date-format):
836 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
837 (lisp-lambda-list-keyword-parameter-indentation)
838 (lisp-lambda-list-keyword-parameter-alignment):
839 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
840 * dired-x.el (dired-omit-verbose):
841 * cus-theme.el (custom-theme-allow-multiple-selections):
842 * calc/calc.el (calc-highlight-selections-with-faces)
843 (calc-lu-field-reference, calc-lu-power-reference)
844 (calc-note-threshold):
845 * battery.el (battery-mode-line-limit):
846 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
847 (archive-7z-update):
848 * allout.el (allout-prefixed-keybindings)
849 (allout-unprefixed-keybindings)
850 (allout-inhibit-auto-fill-on-headline)
851 (allout-flattened-numbering-abbreviation):
852 * allout-widgets.el (allout-widgets-auto-activation)
853 (allout-widgets-icons-dark-subdir)
854 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
855 (allout-widgets-theme-dark-background)
856 (allout-widgets-theme-light-background)
857 (allout-widgets-item-image-properties-emacs)
858 (allout-widgets-item-image-properties-xemacs)
859 (allout-widgets-run-unit-tests-on-load)
860 (allout-widgets-time-decoration-activity)
861 (allout-widgets-hook-error-post-time)
862 (allout-widgets-track-decoration):
863 Add missing :version tags to new defcustoms and defgroups.
864
5fec1b8e
GM
865 * progmodes/sql.el (sql-ansi-statement-starters)
866 (sql-oracle-statement-starters): Add custom type.
867
3e0d2fa7
GM
868 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
869 (prolog-system-version): Give it a type.
870
90b671e2
EZ
8712012-02-11 Eli Zaretskii <eliz@gnu.org>
872
873 * term/pc-win.el (x-select-text, x-selection-owner-p)
874 (x-own-selection-internal, x-disown-selection-internal)
875 (x-get-selection-internal): Sync doc strings and argument lists
876 with xselect.c, common-win.el and x-win.el. (Bug#10783)
877
5eac0c02
LL
8782012-02-11 Leo Liu <sdl.web@gmail.com>
879
880 * progmodes/python.el (python-end-of-statement): Fix infinite
881 loop. (Bug#10788)
882
f82cb659
GM
8832012-02-10 Glenn Morris <rgm@gnu.org>
884
885 * international/mule-cmds.el (unify-8859-on-encoding-mode)
886 (unify-8859-on-decoding-mode): Properly mark as obsolete.
887
cc26d239
LI
8882012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
889
890 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
891 about SMTP before checking the From header.
892
91027d08 893 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
894 into own function for reuse by emacsbug.el.
895
1be3ca5a
LL
8962012-02-10 Leo Liu <sdl.web@gmail.com>
897
898 * subr.el (condition-case-unless-debug): Rename from
899 condition-case-no-debug. All callers changed.
900 (with-demoted-errors): Fix caller.
901
902 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
903 * nxml/rng-valid.el (rng-do-some-validation):
904 * emacs-lisp/package.el (package-refresh-contents)
905 (package-menu-execute):
906 * desktop.el (desktop-create-buffer):
91027d08 907 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 908
b011fbfe
GM
9092012-02-10 Glenn Morris <rgm@gnu.org>
910
b2096d72
GM
911 * textmodes/bibtex.el:
912 Add missing :version tags for new/changed defcustoms.
913
b011fbfe
GM
914 * files.el (remote-file-name-inhibit-cache): Doc fixes.
915
4c7e65bf
LI
9162012-02-09 Lars Ingebrigtsen <larsi@rusty>
917
918 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
919 (smtpmail-via-smtp): Use it, or fall back on the From address.
920 (smtpmail-send-it): Ditto.
921
f3934f6f
SM
9222012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
923
924 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
925 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
926 (byte-compile-tmp-var): New const.
927 (byte-compile-defvar): Use it to minimize .elc size.
928 Just use `defvar' rather than simulate it (bug#10761).
929
a075a2c5
GM
9302012-02-09 Glenn Morris <rgm@gnu.org>
931
cf3aa21b
GM
932 * files.el (rename-uniquely): Doc fix. (Bug#3806)
933
354998cd
GM
934 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
935 Add :version tags.
936
83274125 937 * progmodes/compile.el (compilation-first-column)
34c071c6 938 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
83274125 939
dab3703d
GM
940 * vc/log-view.el (log-view-toggle-entry-display):
941 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
942
3f88cd72
GM
943 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
944 (report-emacs-bug-can-use-xdg-email):
945 (report-emacs-bug-insert-to-mailer): Doc fixes.
946 (report-emacs-bug): Message fix.
947
d95b247d
GM
948 * net/browse-url.el (browse-url-can-use-xdg-open)
949 (browse-url-xdg-open): Doc fixes.
950
a075a2c5
GM
951 * electric.el (electric-indent-mode, electric-pair-mode)
952 (electric-layout-rules, electric-layout-mode): Doc fixes.
953 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
954
ffb6157e
MR
9552012-02-08 Martin Rudalics <rudalics@gmx.at>
956
957 * server.el (server-unselect-display): Don't inadvertently kill
958 the current buffer. (Bug#10729)
959
e1ac4066
GM
9602012-02-08 Glenn Morris <rgm@gnu.org>
961
34e8a2da
GM
962 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
963 (sql-list-table): Doc fixes.
964
b4ac6e8c
GM
965 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
966 Comment out (does nothing).
967
e1ac4066
GM
968 * completion.el (dynamic-completion-mode):
969 * dirtrack.el (dirtrack-debug-mode):
970 * electric.el (electric-layout-mode):
971 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
972 * face-remap.el (text-scale-mode, buffer-face-mode):
973 * iimage.el (iimage-mode):
974 * image-mode.el (image-transform-mode):
975 * minibuffer.el (completion-in-region-mode):
976 * scroll-lock.el (scroll-lock-mode):
977 * simple.el (next-error-follow-minor-mode):
978 * tar-mode.el (tar-subfile-mode):
979 * tooltip.el (tooltip-mode):
980 * vcursor.el (vcursor-use-vcursor-map):
981 * wid-browse.el (widget-minor-mode):
982 * emulation/tpu-edt.el (tpu-edt-mode):
983 * emulation/tpu-extras.el (tpu-cursor-free-mode):
984 * international/iso-ascii.el (iso-ascii-mode):
985 * language/thai-util.el (thai-word-mode):
986 * mail/supercite.el (sc-minor-mode):
987 * net/goto-addr.el (goto-address-mode):
988 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
989 * progmodes/cwarn.el (cwarn-mode):
990 * progmodes/flymake.el (flymake-mode):
991 * progmodes/glasses.el (glasses-mode):
992 * progmodes/hideshow.el (hs-minor-mode):
993 * progmodes/pascal.el (pascal-outline-mode):
994 * textmodes/enriched.el (enriched-mode):
995 * vc/smerge-mode.el (smerge-mode):
996 Doc fixes (minor mode argument).
997
5e0d957f
EZ
9982012-02-07 Eli Zaretskii <eliz@gnu.org>
999
1000 * ls-lisp.el (ls-lisp-sanitize): New function.
1001 (ls-lisp-insert-directory): Use it to fix or remove any elements
1002 in file-alist with missing attributes. (Bug#4673)
1003
98d7371e
AM
10042012-02-07 Alan Mackenzie <acm@muc.de>
1005
1006 Fix spurious recognition of c-in-knr-argdecl.
1007
1008 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1009 putative K&R region.
1010
667ced3a
AM
10112012-02-07 Alan Mackenzie <acm@muc.de>
1012
eb864a71
LM
1013 * progmodes/cc-engine.el (c-forward-objc-directive):
1014 Prevent looping in "#pragma mark @implementation".
667ced3a 1015
5b77774d
MA
10162012-02-07 Michael Albinus <michael.albinus@gmx.de>
1017
1018 * notifications.el (notifications-on-closed-signal): Make `reason'
1019 optional. (Bug#10744)
1020
af008560
GM
10212012-02-07 Glenn Morris <rgm@gnu.org>
1022
60d47423
GM
1023 * emacs-lisp/easy-mmode.el (define-minor-mode):
1024 Doc fixes for the macro and the mode it defines.
1025
dd605cc4
GM
1026 * image.el (imagemagick-types-inhibit): Doc fix.
1027
af008560
GM
1028 * cus-start.el (imagemagick-render-type): Add it.
1029
5cc59a37
LI
10302012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1031
1032 * progmodes/cc-mode.el
1033 (c-standard-font-lock-fontify-region-function): Set the default at
1034 load time, too, so that `font-lock-fontify-buffer' can be called
1035 without setting up the entire mode first. This fixes a bug in
1036 `mm-inline-text' with C MIME parts.
1037
9a6dd747
CY
10382012-02-06 Chong Yidong <cyd@gnu.org>
1039
2d16b285
CY
1040 * simple.el (list-processes--refresh): Delete exited processes
1041 (Bug#8094).
1042
171e9b6e
CY
1043 * comint.el (comint-next-prompt): next-single-char-property-change
1044 and prev-single-char-property-change never return nil (Bug#8657).
1045
9a6dd747
CY
1046 * custom.el (defcustom): Doc fix (Bug#9711).
1047
aa4589a7
CY
10482012-02-05 Chong Yidong <cyd@gnu.org>
1049
5c2a252f
CY
1050 * cus-edit.el (custom-variable-reset-backup): Quote the value
1051 before storing it in the customized-value property (Bug#6712).
4aab9006 1052 (custom-display): Add a customization type tag.
983b9602 1053 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1054
aa4589a7
CY
1055 * wid-edit.el (widget-field-value-get): New optional arg to
1056 suppress trailing whitespace truncation.
1057 (character): Use it (Bug#2689).
1058
1ff980ae
AS
10592012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1060
1061 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1062 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1063
03988c98
CY
10642012-02-05 Chong Yidong <cyd@gnu.org>
1065
eeb6cc88
CY
1066 * cus-edit.el (custom-variable-value-create): For mismatched
1067 types, show the current value (Bug#7600).
1068
03988c98
CY
1069 * custom.el (defcustom): Doc fix.
1070
f8cdeef0
GM
10712012-02-05 Glenn Morris <rgm@gnu.org>
1072
1073 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1074
0696d255
JB
10752012-02-05 Juanma Barranquero <lekktu@gmail.com>
1076
1077 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1078 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1079 (pp-last-sexp): Use `looking-at-p'.
1080
34c99998
GM
10812012-02-04 Glenn Morris <rgm@gnu.org>
1082
8f05da42
GM
1083 * files.el (revert-buffer):
1084 Doc fix (mention revert-buffer-in-progress-p).
1085
f160676e
GM
1086 * emacs-lisp/ert-x.el (ert-simulate-command):
1087 Check deferred-action-list (which is obsolete) is bound.
1088
c7291ad9
GM
1089 * subr.el (with-wrapper-hook): Doc fixes.
1090
34c99998
GM
1091 * simple.el (filter-buffer-substring-functions)
1092 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1093
6283a7d3
LL
10942012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1095
1096 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1097 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1098
e96e3013
LL
10992012-02-04 Leo Liu <sdl.web@gmail.com>
1100
1101 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1102
8ded50f2
GM
11032012-02-04 Glenn Morris <rgm@gnu.org>
1104
82ff1d13
GM
1105 * image.el (image-extension-data): Add obsolete alias.
1106
987a0a16
GM
1107 * isearch.el (isearch-update): Doc fix.
1108
ea32ef46
GM
1109 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1110
8ded50f2
GM
1111 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1112
eea14f31
GM
11132012-02-03 Glenn Morris <rgm@gnu.org>
1114
1115 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1116 (image-animate-timeout): Doc fix.
1117
1118 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1119
12f381b7
GM
11202012-02-02 Glenn Morris <rgm@gnu.org>
1121
953cebf5
GM
1122 * server.el (server-auth-dir): Doc fix.
1123 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1124
12f381b7
GM
1125 * subr.el (run-mode-hooks): Doc fix.
1126
953a8c3b
JL
11272012-02-02 Juri Linkov <juri@jurta.org>
1128
1129 * image-mode.el (image-toggle-display-image): Remove tautological
1130 `major-mode' from the `derived-mode-p' test.
1131
c5d3843c
KH
11322012-02-02 Kenichi Handa <handa@m17n.org>
1133
9f6e692e 1134 * composite.el (compose-region): Cancel previous change.
c5d3843c 1135
159462d4 11362012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1137
1138 * composite.el (compose-region, compose-string): Signal error for
1139 a null string component (Bug#6988).
1140
9f562668
CY
11412012-02-01 Chong Yidong <cyd@gnu.org>
1142
e2cef717
CY
1143 * view.el (view-buffer-other-window, view-buffer-other-frame):
1144 Handle special modes like view-buffer (Bug#10650).
1145 (view-buffer): Simplify.
1146
9f562668
CY
1147 * frame.el (set-frame-font): Tweak meaning of third argument.
1148
9f6e692e
JB
1149 * dynamic-setting.el (font-setting-change-default-font):
1150 Use set-frame-font (Bug#9982).
9f562668 1151
781acb9f
GM
11522012-02-01 Glenn Morris <rgm@gnu.org>
1153
6035be52
GM
1154 * progmodes/compile.el (compilation-internal-error-properties):
1155 Respect compilation-first-column in the "*compilation*" buffer.
1156
781acb9f
GM
1157 * emacs-lisp/easy-mmode.el (define-minor-mode):
1158 Relax :variable's test for a named function.
1159
abbceb00
AM
11602012-01-31 Alan Mackenzie <acm@muc.de>
1161
1162 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1163 off by one error.
1164
fce3fdeb
CY
11652012-01-31 Chong Yidong <cyd@gnu.org>
1166
1167 * frame.el (set-frame-font): New arg ALL-FRAMES.
1168
1169 * menu-bar.el (menu-set-font): Use set-frame-font.
1170
1171 * faces.el (face-spec-reset-face): Don't apply unspecified
1172 attribute values to the default face.
1173
47893581
JB
11742012-01-31 Juanma Barranquero <lekktu@gmail.com>
1175
1176 * progmodes/cwarn.el (cwarn): Remove dead link.
1177 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1178 Remove * from defcustom docstrings.
1179 (turn-on-cwarn-mode): Make obsolete.
1180 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1181 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1182
e58e988a
GM
11832012-01-31 Glenn Morris <rgm@gnu.org>
1184
60dc2671 1185 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1186 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1187 Allow named functions to be used as the cdr of :variable.
e58e988a 1188
7a3f511d
GM
11892012-01-30 Glenn Morris <rgm@gnu.org>
1190
1191 * emacs-lisp/authors.el (authors-fixed-entries):
1192 Remove reference to deleted file rnewspost.el.
1193
cb882333
JB
11942012-01-29 Juanma Barranquero <lekktu@gmail.com>
1195
1196 * window.el (window-with-parameter): Remove unused variable `windows'.
1197 (window--side-check): Remove unused variable `code'.
1198 (window--resize-siblings): Remove unused variable `first'.
1199 (adjust-window-trailing-edge): Remove unused variable `failed'.
1200 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1201 Use `let', not `let*'.
1202 (balance-windows-2): Remove unused variable `found'.
1203 (window--state-put-2): Remove unused variable `splits'.
1204 (window-state-put): Remove unused variable `selected'.
1205 (same-window-p): Use `string-match-p'.
1206 (display-buffer-assq-regexp): Remove unused variable `value'.
1207 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1208 Mark argument ALIST as ignored.
1209 (pop-to-buffer): Remove unused variable `old-window'.
1210
907201af
EZ
12112012-01-29 Eli Zaretskii <eliz@gnu.org>
1212
1213 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1214 and .lzma compressed files.
1215
ea162670
CY
12162012-01-29 Chong Yidong <cyd@gnu.org>
1217
5b95ee8a
CY
1218 * frame.el (window-system-default-frame-alist): Doc fix.
1219
ea162670
CY
1220 * dynamic-setting.el (font-setting-change-default-font): Don't
1221 change the default face if SET-FONT argument is non-nil (Bug#9982).
1222
d6e6f4b1
SB
12232012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1224
1225 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1226
0f29fa41 12272012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1228
1229 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1230 breakpoints in files outside current directory (Bug#6098).
1231
db174434
CY
12322012-01-29 Chong Yidong <cyd@gnu.org>
1233
6b25e4e2
SE
1234 * progmodes/python.el: Require ansi-color at top-level.
1235
6df6ae42
JB
1236 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1237 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1238 (lisp-mode-abbrev-table): Add doc.
1239 (lisp-mode-variables): Don't set local-abbrev-table.
1240 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1241
e70ee681
RW
12422012-01-28 Roland Winkler <winkler@gnu.org>
1243
1244 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1245
ace88aa2
RW
12462012-01-28 Roland Winkler <winkler@gnu.org>
1247
1248 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1249 (bibtex-set-dialect): Use it. Either set global values of
1250 dialect-dependent variables or bind these variables buffer-locally
1251 (Bug#10254).
1252 (bibtex-mode): Call bibtex-set-dialect via
1253 hack-local-variables-hook.
eb864a71
LM
1254 (bibtex-dialect): Update docstring.
1255 Add safe-local-variable predicate.
ace88aa2
RW
1256 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1257 bibtex-set-dialect.
1258 (bibtex-mode-map): Define menu for each dialect.
1259 (bibtex-entry): Fix docstring.
1260
93376c5b
CY
12612012-01-28 Chong Yidong <cyd@gnu.org>
1262
1263 * eshell/esh-arg.el (eshell-quote-argument): New function.
1264
1265 * eshell/esh-ext.el (eshell-invoke-batch-file):
1266 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1267 first arg to eshell-parse-command (Bug#10523).
1268
4372494f
DA
12692012-01-28 Drew Adams <drew.adams@oracle.com>
1270
1271 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1272 `default-directory' is non-nil.
1273
4d4ec1f8
EZ
12742012-01-28 Eli Zaretskii <eliz@gnu.org>
1275
1276 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1277 line that displays system-configuration-options. (Bug#9924)
1278
7c188927
DA
12792012-01-28 Drew Adams <drew.adams@oracle.com>
1280
1281 * descr-text.el (describe-char): Show information about POS, in
1282 addition to information about the character at POS. Improve and
1283 update the doc string. Change "code point" to "code point in
1284 charset", to avoid confusion with the character's Unicode code
1285 point shown above that. (Bug#10129)
1286
e0da685a
EZ
12872012-01-28 Eli Zaretskii <eliz@gnu.org>
1288
1289 * descr-text.el (describe-char): Show the raw character, not only
1290 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1291 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1292 for the reasons.
1293
70550acf
PH
12942012-01-28 Phil Hagelberg <phil@hagelb.org>
1295
eb864a71
LM
1296 * emacs-lisp/package.el (package-install):
1297 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1298
0ce8e868
CY
12992012-01-28 Chong Yidong <cyd@gnu.org>
1300
cb882333
JB
1301 * emacs-lisp/package.el (package-maybe-load-descriptor):
1302 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1303 (package-maybe-load-descriptor): Use it.
1304 (package-download-transaction): Fully load required packages
1305 inside the loop, so that `require' calls work (Bug#10593).
1306 (package-install): No need to call package-initialize now.
1307
2e7f3bea
CY
13082012-01-28 Chong Yidong <cyd@gnu.org>
1309
6e9bad14
CY
1310 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1311
f823b8ca
CY
1312 * tooltip.el (tooltip-mode): Doc fix.
1313 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1314
2680c309
CY
1315 * frame.el (set-cursor-color): Doc fix (Bug#352).
1316
d7a9e63b
CY
1317 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1318 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1319
2e7f3bea
CY
1320 * cus-edit.el (custom-buffer-create-internal): Fix search button
1321 action (Bug#10542).
2ae01800 1322 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1323
fc4f7a23
EW
13242012-01-27 Eduard Wiebe <usenet@pusto.de>
1325
1326 * dired.el (dired-mark-files-regexp):
1327 Include any subdirectory components. (Bug#10445)
1328
7dd37071
ML
13292012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1330
1331 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1332 Handle [host]:port syntax. (Bug#10533)
1333
a268160b
AH
13342012-01-27 Alex Harsanyi <harsanyi@mac.com>
1335
1336 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1337
e43273ef
GM
13382012-01-26 Glenn Morris <rgm@gnu.org>
1339
1340 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1341 * term.el (term-raw-escape-map): Use Control-X-prefix.
1342 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1343
1edf595d
MR
13442012-01-25 Martin Rudalics <rudalics@gmx.at>
1345
1346 * window.el (window-state-get, window--state-get-1): Don't deal
1347 with fixed-sizeness of windows. Simplify code.
1348
fa8eafef
JC
13492012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1350
6df6ae42
JB
1351 * window.el (window--state-get-1, window--state-put-2):
1352 Don't save and restore the mark.
fa8eafef 1353
0b21c100
CY
13542012-01-25 Chong Yidong <cyd@gnu.org>
1355
1356 * custom.el (custom-variable-p): Doc fix.
1357
5ae1a6c8
GM
13582012-01-25 Glenn Morris <rgm@gnu.org>
1359
40047858
GM
1360 * dired.el (dired-goto-file): Handle some of the more common
1361 characters that `ls -b' escapes. (Bug#10596)
1362
5ddce96c
GM
1363 * progmodes/compile.el (compilation-next-error-function):
1364 Respect compilation-first-column in the "*compilation*" buffer.
1365 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1366
5ae1a6c8
GM
1367 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1368
b559f1a9
GM
13692012-01-24 Glenn Morris <rgm@gnu.org>
1370
1371 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1372
6725d21a
JD
13732012-01-24 Julien Danjou <julien@danjou.info>
1374
1375 * color.el (color-rgb-to-hsl): Fix value computing.
1376 (color-hue-to-rgb): New function.
1377 (color-hsl-to-rgb): New function.
1378 (color-clamp, color-saturate-hsl, color-saturate-name)
1379 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1380 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1381
70df4bbe
GM
13822012-01-24 Glenn Morris <rgm@gnu.org>
1383
1384 * vc/vc-rcs.el (vc-rcs-create-tag):
1385 * vc/vc-sccs.el (vc-sccs-create-tag):
1386 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1387
802a2ae2
ML
13882012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1389
1390 * eshell/esh-util.el (eshell-read-hosts-file):
1391 Skip comment lines. (Bug#10549)
1392
d7128bb1
ML
1393 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1394
d1a5c3b4
JB
13952012-01-23 Juanma Barranquero <lekktu@gmail.com>
1396
2724d9c7
JB
1397 * subr.el (display-delayed-warnings): Doc fix.
1398 (collapse-delayed-warnings): New function to collapse identical
1399 adjacent warnings.
1400 (delayed-warnings-hook): Add it.
d1a5c3b4 1401
a5509865
MA
14022012-01-22 Michael Albinus <michael.albinus@gmx.de>
1403
1404 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1405
1406 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1407 properties, when "login-as" is set.
1408
1409 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1410 (tramp-default-user-alist): Don't add "pscp".
1411 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1412 property "login-as", if set. (Bug#10530)
1413
cc6d5805
MA
14142012-01-21 Michael Albinus <michael.albinus@gmx.de>
1415
1416 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1417 "plink1" and "psftp". (Bug#10530)
1418
14192012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1420
1421 * international/mule-cmds.el (prefer-coding-system): Show a
1422 warning message if the default value of file-name-coding-system
1423 was not changed.
1424
f0960428
JC
14252012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1426
cb882333
JB
1427 * windmove.el (windmove-reference-loc):
1428 Fix windmove-reference-loc miscalculation.
f0960428 1429
dd6f2a63
JB
14302012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1431
1432 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1433 default unit.
1434
7b447e9b
GM
14352012-01-21 Glenn Morris <rgm@gnu.org>
1436
117a9ea1
GM
1437 * international/mule.el (auto-coding-alist): Add .tbz.
1438
7b447e9b
GM
1439 * files.el (local-enable-local-variables): Doc fix.
1440 (inhibit-local-variables-regexps): Rename from
1441 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1442 Doc fix. Add some extensions from auto-coding-alist.
1443 (inhibit-local-variables-suffixes):
1444 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1445 (inhibit-local-variables-p):
1446 New function, extracted from set-auto-mode-1.
1447 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1448 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1449 (hack-local-variables): Doc fix. Make the mode-only case
1450 respect enable-local-variables and friends.
1451 Respect inhibit-local-variables-regexps for file-locals, but
1452 not for directory-locals.
1453 (set-visited-file-name):
1454 Take account of inhibit-local-variables-regexps.
1455 Whether it applies may change as the file name is changed.
1456 * jka-cmpr-hook.el (jka-compr-install):
1457 * jka-compr.el (jka-compr-uninstall):
1458 Update for inhibit-first-line-modes-suffixes name change.
1459
dd6e3cdd
MR
14602012-01-20 Martin Rudalics <rudalics@gmx.at>
1461
1462 * help-macro.el (make-help-screen): Temporarily restore original
1463 binding for minor-mode-map-alist (Bug#10454).
1464
0d0deb38
JD
14652012-01-19 Julien Danjou <julien@danjou.info>
1466
1467 * color.el (color-name-to-rgb): Use the white color to find the max
1468 color component value and return correctly computed values.
1469 (color-name-to-rgb): Add missing float conversion for max value.
1470
34a02f46
MR
14712012-01-19 Martin Rudalics <rudalics@gmx.at>
1472
1473 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1474 special state value for window-persistent-parameters.
1475 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1476 (window--state-put-2): Reset all window parameters to nil before
1477 assigning values of persistent parameters.
1478
606c44c4
AM
14792012-01-18 Alan Mackenzie <acm@muc.de>
1480
1481 Eliminate sluggishness and hangs in fontification of "semicolon
1482 deserts".
1483
cb882333
JB
1484 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1485 Change value 10000 -> 3000.
606c44c4
AM
1486 (c-state-safe-place): Reformulate so it doesn't stack up an
1487 infinite number of wrong entries in c-state-nonlit-pos-cache.
1488 (c-determine-limit-get-base, c-determine-limit): New functions to
1489 determine backward search limits disregarding literals.
1490 (c-find-decl-spots): Amend commenting.
1491 (c-cheap-inside-bracelist-p): New function which detects "={".
1492
1493 * progmodes/cc-fonts.el
1494 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1495 backward search.
1496 (c-font-lock-declarations): Fix an occurrence of point being
1497 undefined. Check additionally for point being in a bracelist or
1498 near a macro invocation without a semicolon so as to avoid a
1499 fruitless time consuming search for a declarator. Give a more
1500 precise search limit for declarators using the new
1501 c-determine-limit.
1502
f3860cea
GM
15032012-01-18 Glenn Morris <rgm@gnu.org>
1504
1505 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1506 (set-auto-mode): Doc fixes.
1507
1db03b16
GM
15082012-01-17 Glenn Morris <rgm@gnu.org>
1509
0e6038be
GM
1510 * isearch.el (search-nonincremental-instead): Fix doc typo.
1511
1db03b16
GM
1512 * dired.el (dired-insert-directory): Handle newlines in directory name.
1513 (dired-build-subdir-alist): Unescape newlines in directory name.
1514
4cb0aa75
MA
15152012-01-17 Michael Albinus <michael.albinus@gmx.de>
1516
1517 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1518 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1519 (tramp-action-terminal): Use it. (Bug#10530)
1520
1d00653d
SM
15212012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1522
1523 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1524
6a6ee00d
MR
15252012-01-16 Martin Rudalics <rudalics@gmx.at>
1526
1527 * window.el (window-state-ignored-parameters): Remove variable.
1528 (window--state-get-1): Rename argument MARKERS to IGNORE.
1529 Handle persistent window parameters. Make copy of clone-of
1530 parameter only if requested. (Bug#10348)
1531 (window--state-put-2): Install a window parameter only if it has
1532 a non-nil value or an existing parameter shall be overwritten.
1533
97912def
MA
15342012-01-15 Michael Albinus <michael.albinus@gmx.de>
1535
1536 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1537
688070a5
EZ
15382012-01-14 Eli Zaretskii <eliz@gnu.org>
1539
1540 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1541 don't pass the (nil) value of `upnode' to string-match.
1542
301afadc
CY
15432012-01-14 Chong Yidong <cyd@gnu.org>
1544
1545 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1546 Fix values recognized by the cursorBlink resource.
301afadc 1547
9e5788aa
PE
15482012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1549
1550 * epg.el (epg--make-temp-file): Avoid permission race condition
1551 when running on old Emacs versions (bug#10403).
1552
3cdb7f5a
GM
15532012-01-14 Glenn Morris <rgm@gnu.org>
1554
1555 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1556
8c82b1b4
AM
15572012-01-13 Alan Mackenzie <acm@muc.de>
1558
1559 Fix filling for when filladapt mode is enabled.
1560
1561 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1562 c-mask-paragraph, pass in `fill-paragraph' rather than
1563 `fill-region-as-paragraph'. (This is a reversion of a previous
1564 change.)
eb864a71
LM
1565 * progmodes/cc-mode.el (c-basic-common-init):
1566 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1567
e517eda4
GM
15682012-01-13 Glenn Morris <rgm@gnu.org>
1569
1498536e
GM
1570 * dired.el (dired-switches-escape-p): New function.
1571 (dired-insert-directory): Use dired-switches-escape-p.
1572 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1573
e517eda4
GM
1574 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1575
328f984d
GM
15762012-01-12 Glenn Morris <rgm@gnu.org>
1577
1578 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1579 changes in adaptive-fill-regexp. (Bug#10276)
1580
2cc769a8
AM
15812012-01-11 Alan Mackenzie <acm@muc.de>
1582
1583 Fix Emacs bug #10463 - put `widen's around the critical spots.
1584
1d00653d 1585 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1586 widen around each invocation of c-state-pp-to-literal. Remove an
1587 unused let variable.
1588
e52c37fa
GM
15892012-01-11 Glenn Morris <rgm@gnu.org>
1590
1591 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1592 Doc fix.
e52c37fa 1593
96f8741e
CY
15942012-01-10 Chong Yidong <cyd@gnu.org>
1595
1d00653d
SM
1596 * net/network-stream.el (network-stream-open-starttls):
1597 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1598 response to the capability command.
1599
b09a806e
GM
16002012-01-10 Glenn Morris <rgm@gnu.org>
1601
1602 * mail/unrmail.el (unrmail): Tweak previous change.
1603
7655cb66
CY
16042012-01-09 Chong Yidong <cyd@gnu.org>
1605
1606 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1607
9d5a8f0b
AM
16082012-01-08 Alan Mackenzie <acm@muc.de>
1609
1610 Optimise font locking in long enum definitions.
1611
1612 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1613 arm to a cond form to handle enums.
1614 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1615 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1616
9a0115ab 16172012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1618
1619 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1620 (Bug#10401)
6bb72cbd 1621
f186bb95
LMI
16222012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1623
29232a68
LMI
1624 * faces.el (set-face-attribute): Clarify the meaning of the nil
1625 frame (bug#10294).
1626
4e5d086d
LMI
1627 * subr.el (with-selected-frame): Mention that the selected frame
1628 is restored (bug#9980).
1629
8e66aebe
LMI
1630 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1631 (bug#9759).
1632
cd394be1 1633 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1634 (password-read): Don't autoload unused function.
1635
adf4e762
JB
16362012-01-07 Juanma Barranquero <lekktu@gmail.com>
1637
1638 * progmodes/which-func.el (which-func-mode): Turn into a
1639 non-interactive function and mark as obsolete (bug#10428).
1640
89bd9ccd
CY
16412012-01-06 Chong Yidong <cyd@gnu.org>
1642
1643 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1644 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1645 functions, along with 1 and -1.
1646
4afee9d5
EZ
16472012-01-06 Eli Zaretskii <eliz@gnu.org>
1648
1649 * time.el (display-time-load-average)
1650 (display-time-default-load-average): Doc fixes. See the thread
1651 starting at
1652 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1653 for the details.
1654
536aea70
GM
16552012-01-06 Glenn Morris <rgm@gnu.org>
1656
665ae865
GM
1657 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1658 has no messages. (Bug#10377)
1659
c869783d
GM
1660 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1661 than Info-edit. (Bug#10385)
1662
2bb4227e
GM
1663 * time.el (display-time-load-average, display-time-next-load-average):
1664 Doc fixes.
1665
7d5944b9
GM
1666 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1667 local setting of buffer-read-only to the input buffer. (Bug#10419)
1668
536aea70
GM
1669 * calendar/calendar.el (calendar-mode):
1670 Locally set scroll-margin to 0. (Bug#10379)
1671
7dccca16
UM
16722012-01-06 Ulrich Mueller <ulm@gentoo.org>
1673
1674 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1675
afbb7930
GM
16762012-01-05 Glenn Morris <rgm@gnu.org>
1677
1678 * eshell/em-unix.el (diff-no-select): Autoload it.
1679 (eshell/diff): Use diff-no-select. (Bug#10420)
1680
04482335
CY
16812012-01-05 Chong Yidong <cyd@gnu.org>
1682
7baca3bc
CY
1683 * shell.el (shell-dynamic-complete-functions): Revert last change.
1684 (shell-command-completion-function): New function.
1685 (shell-completion-vars): Use it to implement
1686 shell-completion-execonly (Bug#10417).
1687
04482335
CY
1688 * custom.el (enable-theme): Don't set custom-safe-themes.
1689
1d00653d
SM
1690 * cus-theme.el (custom-theme-merge-theme):
1691 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1692
bb5aa5d6
MM
16932012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1694
1695 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1696 first prompt in `sql-interacive-mode'.
1697 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1698 keywords.
6df6ae42 1699 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1700 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1701 context of original buffer. Invoke `sql-login-hook'.
1702
a7183d7c
EZ
17032012-01-04 Eli Zaretskii <eliz@gnu.org>
1704
1705 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1706 letters in cite-prefix.
1707
a1eacd1e
LMI
17082012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1709
1710 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1711
787cdb34
CY
17122012-01-03 Chong Yidong <cyd@gnu.org>
1713
1d00653d
SM
1714 * shell.el (shell-dynamic-complete-functions):
1715 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1716 comint-filename-completion first (Bug#10417).
1717
30710442
RS
17182012-01-02 Richard Stallman <rms@gnu.org>
1719
1720 * battery.el (battery-status-function):
1721 Detect when to use battery-yeeloong-sysfs.
1722 (battery-echo-area-format): Add string for Yeeloong.
1723 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1724 (battery-yeeloong-sysfs): New function.
1725
f75bfc33
CY
17262012-01-02 Chong Yidong <cyd@gnu.org>
1727
1728 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1729 (dirtrack): Merge code for handling relative filenames in prompt
1730 from shell-dir-cookie-watcher.
1731 (dirtrack-debug-message): New arg to avoid excess format calls.
1732
1733 * shell.el (shell-dir-cookie-re): Variable deleted.
1734 (shell-dir-cookie-watcher): Function deleted.
1735 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1736 with dirtrack-mode.
1737
651e947e
EZ
17382012-01-01 Eli Zaretskii <eliz@gnu.org>
1739
1d00653d
SM
1740 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1741 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1742 libgnutls-26.dll.
1743
94d4c7dc
AS
17442011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1745
1746 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1747
8d43f3cd
EZ
17482011-12-31 Eli Zaretskii <eliz@gnu.org>
1749
1750 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1751 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1752
98c8795a
MA
17532011-12-29 Michael Albinus <michael.albinus@gmx.de>
1754
1755 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1756 also for alternative shells.
1757 (tramp-open-connection-setup-interactive-shell): Check, whether
1758 the shell is a busybox.
1759 (tramp-send-command): Don't suppress multiple prompts for
1760 busyboxes, it hurts.
1761
51281b32
CY
17622011-12-28 Chong Yidong <cyd@gnu.org>
1763
1764 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1765 (gdb-get-source-file): Move mode line update to
1766 gdb-get-source-file (Bug#10087).
1767
2170cb53
CY
17682011-12-25 Chong Yidong <cyd@gnu.org>
1769
1770 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1771 gud-gdb-marker-filter without taking it as an argument.
1772 (gud-gdb-run-command-fetch-lines): Caller changed.
1773 (gud-gdb-completion-function): New variable.
1774 (gud-gdb-completion-at-point): Use it.
1775 (gud-gdb-completions-1): Split from gud-gdb-completions.
1776
1777 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1778 function as separate arguments.
1779 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1780 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1781 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1782 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1783 (gdb-stopped, def-gdb-auto-update-trigger)
1784 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1785 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1786 Callers changed.
2170cb53
CY
1787 (gud-gdbmi-completions): New function.
1788 (gdb): Use it for generating the completion table.
1789
be8b11bb
AM
17902011-12-24 Alan Mackenzie <acm@muc.de>
1791
1792 Introduce a mechanism to widen the region used in context font
1d00653d 1793 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1794
1d00653d
SM
1795 * progmodes/cc-langs.el (c-before-font-lock-functions):
1796 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1797 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1798 functions to be run just before context (etc.) font locking.
1799
1800 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1801 New, functionality extracted from
be8b11bb 1802 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1803 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1804 (c-after-change): Set c-in-after-change-fontification.
1805 (c-set-fl-decl-start): Rejig its interface, so it can be called
1806 from both after-change and context fontifying.
b81d40f0
JB
1807 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1808 New functions.
1809 (c-standard-font-lock-fontify-region-function): New variable.
1810 (c-font-lock-fontify-region): New function.
be8b11bb 1811
341cf6ac
JL
18122011-12-24 Juri Linkov <juri@jurta.org>
1813
1814 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1815 (Bug#10348)
1816
bffcee0a
MA
18172011-12-23 Michael Albinus <michael.albinus@gmx.de>
1818
1819 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1820 existence of source file. (Bug#10325)
1821
cb5e207c
AM
18222011-12-23 Alan Mackenzie <acm@muc.de>
1823
1824 Fix unstable fontification inside templates.
1825
b81d40f0
JB
1826 * progmodes/cc-langs.el (c-before-font-lock-functions):
1827 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1828 additionally has c-set-fl-decl-start. The other languages (apart
1829 from AWK) have that as a single entry.
1830
b81d40f0
JB
1831 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1832 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1833 c-set-fl-decl-start.
1834
b81d40f0
JB
1835 * progmodes/cc-mode.el (c-common-init, c-after-change):
1836 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1837 (c-set-fl-decl-start): New function, extracted from
1838 c-font-lock-enclosing-decls and enhanced.
1839
60ff536c
JB
18402011-12-23 Juanma Barranquero <lekktu@gmail.com>
1841
1842 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1843
1c4757d6
JL
18442011-12-22 Juri Linkov <juri@jurta.org>
1845
1846 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1847
d031f2c7
CY
18482011-12-22 Chong Yidong <cyd@gnu.org>
1849
1850 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1851
bace743a
DA
18522011-12-21 Drew Adams <drew.adams@oracle.com>
1853
1854 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1855
728a1f2b
JC
18562011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1857
1858 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1859
0d373f73
TZ
18602011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1861
fec0aaa4
TZ
1862 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1863 highlighting and support. Fix up comments for capitalization.
1864 (cfengine-mode-debug): New var.
1865 (cfengine3-mode): Change the modeline indicator to "CFE3".
1866 (cfengine3-font-lock-keywords): Improve defun highlighting.
1867 (cfengine2-actions): Rename from `cfengine-actions'.
1868 (cfengine2-font-lock-keywords): Rename from
1869 `cfengine-font-lock-keywords'.
1870 (cfengine2-imenu-expression): Rename from
1871 `cfengine-imenu-expression'.
1872 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1873 (cfengine2-beginning-of-defun): Rename from
1874 `cfengine-beginning-of-defun'.
1875 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1876 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1877 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1878 modeline indicator to "CFE2".
1879 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1880 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 1881
bc86f573
CY
18822011-12-21 Chong Yidong <cyd@gnu.org>
1883
1884 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1885 filename argument.
1886
d45ba96b
MR
18872011-12-20 Martin Rudalics <rudalics@gmx.at>
1888
1889 * window.el (window-normalize-buffer-to-display): Remove.
1890 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1891
a6198c90
CY
18922011-12-19 Chong Yidong <cyd@gnu.org>
1893
1894 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1895 Don't signal an error in a predicate function; return non-nil.
1896 (vc-dir-mark-file): Move the error here.
1897 (vc-dir-mark-unmark): If acting on the region, keep going if one
1898 of the entries cannot be marked/unmarked.
1899 (vc-dir-mark-all-files): If current entry is a directory, mark
1900 only child files, as documented.
1901
34c5fb55
VB
19022011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
1903
1904 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1905 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1906 addition.
1907
c803b2b7
JD
19082011-12-18 Jan Djärv <jan.h.d@swipnet.se>
1909
1910 * term/ns-win.el (ns-get-selection-internal)
1911 (ns-store-selection-internal): Declare.
1154d12e
JB
1912 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1913 Declare as obsolete.
1914 (ns-get-pasteboard, ns-paste-secondary):
1915 Use ns-get-selection-internal.
1916 (ns-set-pasteboard, ns-copy-including-secondary):
1917 Use ns-store-selection-internal.
c803b2b7 1918
9cff91f8 19192011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
1920
1921 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 1922 (vc-deduce-fileset): Doc fix.
99a289d9 1923
f16c898a
AS
19242011-12-16 Andreas Schwab <schwab@linux-m68k.org>
1925
1926 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1927
763237c4
SS
19282011-12-13 Sam Steingold <sds@gnu.org>
1929
1930 * man.el (Man-getpage-in-background): When running under a
1931 window-system, ignore $MANWIDTH and $COLUMNS.
1932
5fc1c122
KH
19332011-12-15 Kenichi Handa <handa@m17n.org>
1934
1935 * language/ethio-util.el: Change coding tag to utf-8-emacs.
1936 (setup-ethiopic-environment-internal): Comment out key-binding for
1937 ethio-toggle-punctuation.
1938
13d49cbb
AM
19392011-12-13 Alan Mackenzie <acm@muc.de>
1940
898169a2
AM
1941 Add the switch statement to AWK Mode.
1942
7a71b18d 1943 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
1944 "default" to the keywords regexp.
1945
7a71b18d 1946 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 1947 expression as the rest.
1d00653d
SM
1948 (c-nonlabel-token-key): Allow string literals for AWK.
1949 Refactor for the other modes.
898169a2 1950
13d49cbb 1951 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 1952 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
1953 routines. Limit backward searching in c-font-lock-enclosing.decl.
1954
1955 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1956 pp-state and literal type in addition to the limits.
1d00653d 1957 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 1958 (c-state-literal-at): Use the above new defun.
1d00653d
SM
1959 (c-slow-in-literal, c-fast-in-literal): Remove.
1960 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
1961
1962 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
1963 being in a literal. Add a limit for backward searching.
1964
1965 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
1966 c-slow-in-literal.
1967
15e0efc7
SM
19682011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1969
1970 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
1971
454592a6
MR
19722011-12-13 Martin Rudalics <rudalics@gmx.at>
1973
1974 * window.el (delete-other-windows): Use correct frame in call to
1975 window-with-parameter.
1976
87393f26
DP
19772011-12-12 Daniel Pfeiffer <occitan@t-online.de>
1978
1979 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
1980 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
1981 (makefile-gmake-statements, makefile-makepp-statements):
1982 Use it and add new makepp keywords.
1983 (makefile-makepp-font-lock-keywords): Add new patterns.
1984 (makefile-match-function-end): Match new [...] and [[...]].
1985
11636b22
JB
19862011-12-11 Juanma Barranquero <lekktu@gmail.com>
1987
1988 * ses.el (ses-call-printer-return, ses-cell-property-get)
1989 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
1990 (ses-create-cell-variable, ses-reset-header-string)
1991 (ses-cell-set-formula, ses-repair-cell-reference-all)
1992 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
1993 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
1994 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
1995 (ses-aset-with-undo, ses-load, ses-truncate-cell)
1996 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
1997 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
1998 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
1999 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2000 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2001 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2002 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2003 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2004
cf018193
VB
20052011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2006
2007 * ses.el: The overall change is to add cell renaming, that is
2008 setting fancy names for cell symbols other than name matching
2009 "\\`[A-Z]+[0-9]+\\'" regexp .
2010 (ses-create-cell-variable): New defun.
2011 (ses-relocate-formula): Relocate formulas only for cells the
2012 symbols of which are not renamed, i.e. symbols whose names do not
2013 match regexp "\\`[A-Z]+[0-9]+\\'".
2014 (ses-relocate-all): Relocate values only for cells the symbols of
2015 which are not renamed.
2016 (ses-load): Create cells variables as the (ses-cell ...) are read,
2017 in order to check row col consistency with cell symbol name only
2018 for cells that are not renamed.
2019 (ses-replace-name-in-formula): New defun.
2020 (ses-rename-cell): New defun.
2021
ee957461
CY
20222011-12-11 Chong Yidong <cyd@gnu.org>
2023
2024 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2025 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2026
9a9e9ef0
MR
20272011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2028
2029 * window.el (other-window): Fix docstring.
2030
92a8eba5
EZ
20312011-12-10 Eli Zaretskii <eliz@gnu.org>
2032
2033 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2034 `from' or `to' address before taking its substring.
2035 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2036 encoded name is chopped in the middle of the encoded string, and
2037 thus displayed encoded.
2038
e152e577
JB
20392011-12-10 Juanma Barranquero <lekktu@gmail.com>
2040
2041 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2042
e5d84bfe
EZ
20432011-12-10 Eli Zaretskii <eliz@gnu.org>
2044
2045 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2046 to use texinfo-update-node and commands that call it if the
2047 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2048 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2049 (texinfo-all-menus-update, texinfo-master-menu)
2050 (texinfo-update-node, texinfo-every-node-update)
2051 (texinfo-multiple-files-update): Doc fix. Warn against updating
2052 all the @node lines.
2053 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2054 argument is numeric. Explain better in the doc string what the
2055 function really does.
2056 (texinfo-insert-master-menu-list): Improve the error message
2057 displayed if there's no menu in the Top node.
2058 (Bug#2975) See also this thread:
e5d84bfe
EZ
2059 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2060
1d84e9bb
MG
20612011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2062
2063 * speedbar.el (speedbar-supported-extension-expressions):
2064 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2065
382c953b
JB
20662011-12-09 Juanma Barranquero <lekktu@gmail.com>
2067
2068 * printing.el (pr-mode-alist):
2069 * simple.el (filter-buffer-substring-functions)
2070 (completion-list-insert-choice-function):
2071 * window.el (window-with-parameter, window-atom-root)
2072 (window-sides-slots, window-size-fixed, window-min-delta)
2073 (window-max-delta, window--resize-mini-window)
2074 (window--resize-child-windows-normal, window-tree)
2075 (delete-other-windows, quit-window, split-window)
2076 (display-buffer-record-window, special-display-buffer-names)
2077 (special-display-regexps, special-display-popup-frame)
2078 (same-window-p, split-window-sensibly)
2079 (display-buffer-overriding-action, display-buffer-alist)
2080 (display-buffer-base-action, display-buffer, switch-to-buffer)
2081 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2082 (fit-window-to-buffer, recenter-positions)
2083 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2084 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2085 and remove unneeded backslashes in docstrings.
2086
39c9faef
SM
20872011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2088
98449af8
SM
2089 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2090
39c9faef
SM
2091 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2092 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2093 end in ".mk".
2094 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2095 when reading the makefile (bug#10116).
2096
86ed9fdc
SM
20972011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2100 (bug#10116).
2101
5580f89d
GM
21022011-12-06 Glenn Morris <rgm@gnu.org>
2103
2104 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2105
28d3917c
CY
21062011-12-06 Chong Yidong <cyd@gnu.org>
2107
2108 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2109
a98edce9
JB
21102011-12-06 Juanma Barranquero <lekktu@gmail.com>
2111
2112 * textmodes/table.el (table-shorten-cell): Fix typo.
2113
e65adfac
CG
21142011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2115
2116 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2117
71cc0b74
EZ
21182011-12-05 Eli Zaretskii <eliz@gnu.org>
2119
2120 * descr-text.el (describe-char): Fix display of strong
2121 right-to-left characters and directional embeddings and overrides.
2122
2123 * simple.el (what-cursor-position): Fix display of codepoints of
2124 strong right-to-left characters.
2125
315bc30d
CY
21262011-12-05 Chong Yidong <cyd@gnu.org>
2127
2128 * faces.el (read-color): Doc fix.
2129
58a70b94
GM
21302011-12-05 Glenn Morris <rgm@gnu.org>
2131
2132 * align.el (align--set-marker): Add doc-string.
2133 Don't try to move something that is not a marker. (Bug#10216)
2134
5158face
GM
21352011-12-04 Glenn Morris <rgm@gnu.org>
2136
2137 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2138 overly zealous deletion of trailing whitespace.
2139
520fca41
JB
21402011-12-04 Juanma Barranquero <lekktu@gmail.com>
2141
2142 * server.el (server-delete-client): On Windows, do not try to delete
2143 the only terminal.
2144 (server-process-filter): On Windows, treat requests for a tty frame as
2145 if they were for a GUI frame if the running server is in GUI mode.
2146
5e605a2e
GM
21472011-12-03 Glenn Morris <rgm@gnu.org>
2148
2149 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2150
5c3fe83f
SM
21512011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2152
6f5e57e7
SM
2153 * electric.el: Streamline electric-indent's hook.
2154 (electric-indent-chars): Revert to simple list.
2155 (electric-indent-functions): New var.
2156 (electric-indent-post-self-insert-function): Use it.
2157
5c3fe83f
SM
2158 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2159 there's no inferior buffer (bug#10196).
2160 (prolog-consult-compile): Don't use toggle-read-only.
2161
6bdac736
MA
21622011-12-02 Michael Albinus <michael.albinus@gmx.de>
2163
2164 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2165 interrupt. (Bug#10187)
2166
6131ba7f
SM
21672011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2168
99c79fee
SM
2169 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2170 (bug#9160).
2171
6131ba7f
SM
2172 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2173 (bug#10191).
2174
cb0a02ea
JL
21752011-12-02 Juri Linkov <juri@jurta.org>
2176
2177 * info.el (Info-search): Display "end of manual" when Isearch
2178 reaches the end of single-file Info manual. (Bug#9918)
2179
66e0570c
EZ
21802011-12-02 Eli Zaretskii <eliz@gnu.org>
2181
2182 * isearch.el (isearch-message-prefix): Run the input method part
2183 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2184
02b16839
JL
21852011-12-02 Juri Linkov <juri@jurta.org>
2186
2187 * isearch.el (isearch-occur): Use `word-search-regexp' for
2188 `isearch-word'.
2189 (isearch-search-and-update): Add condition for `isearch-word' and
2190 call `word-search-regexp'. (Bug#10145)
2191
0b950688
GM
21922011-12-01 Glenn Morris <rgm@gnu.org>
2193
2194 * eshell/em-hist.el (eshell-hist-initialize):
2195 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2196 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2197
9505c3c7
SM
21982011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2199
2200 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2201
1bbe96b2 22022011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2203
a1beca85
SM
2204 * progmodes/verilog-mode.el (verilog-pretty-expr):
2205 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2206 verilog, such as += *= and the like.
2207 (verilog-assignment-operator-re): Regular expression to find the
2208 assigment operator in a verilog assignment.
2209 (verilog-assignment-operation-re): Regular expression to find an
2210 assignment statement for pretty-expr.
2211 (verilog-in-attribute-p): Query returns true if point is in an
2212 attribute context; used to skip these for expression line up from
2213 pretty-expr.
2214 (verilog-in-parameter-p): Query returns true if point is in an
2215 parameter definition context; used to skip these for expression
2216 line up from pretty-expr.
2217 (verilog-in-parenthesis-p): Query returns true if point is in a
2218 parenthetical expression, specifically ( ) but not [ ] or { };
2219 used by pretty-expr.
2220 (verilog-just-one-space): If there is no space, don't add one.
2221 (verilog-get-lineup-indent-2): Specifically skip just attribute
2222 contexts for expression lineup, rather than skipping all
2223 parenthetical expressions.
2224 (verilog-calculate-indent): Fix comment, and fix indent.
2225 (verilog-do-indent): Indent declarations in lists (suggested by
2226 Joachim Lechner).
2227 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2228 skeleton items.
2229 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2230 by Alain Mellan).
2231
1bbe96b2 22322011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2233
2234 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2235 parameters with embedded comments. Reported by Ray Stevens.
2236 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2237 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2238 Reported by Tim Holt.
2239 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2240 instantiated by upper module causing wrong expansion until AUTOed a
2241 second time. Reported by K C Buckenmaier.
2242 (verilog-diff-auto): Fix showing .* as a difference when
2243 `verilog-auto-star-save' off. Reported by Dan Dever.
2244 (verilog-auto-reset, verilog-read-always-signals)
2245 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2246 temporary signals in reset list if
2247 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2248 style to each signal's assignment type, bug381.
2249 Reported by Thomas Esposito.
6288f0ca
WS
2250 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2251 (verilog-uvm-statement-re): Support UVM indentation and
2252 highlighting, with old OVM keywords only.
a1beca85 2253 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2254 Support AUTOTIEOFF creating non-wire data types.
2255 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2256 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2257 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2258 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2259 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2260 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2261 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2262 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2263 non-numeric vector width. Reported by Alex Reed.
2264 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2265 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2266 (verilog-auto-delete-trailing-whitespace):
2267 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2268 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2269 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2270 Fix verilog-scan-cache corruption when running user AUTO expansion
2271 hooks that call indentation routines.
2272 (verilog-simplify-range-expression): Fix typo ignoring lower case
2273 identifiers.
2274 (verilog-delete-auto): Fix delete-autos to also remove user created
2275 automatics, as long as they start with AUTO.
2276 (verilog-batch-diff-auto, verilog-diff-auto)
2277 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2278 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2279 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2280 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2281 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2282 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2283 is disabled and its cache will get corrupt, causing AUTOS not to
2284 expand. Instead use only -quick functions.
2285 (verilog-scan-region): Fix scanning over escaped quotes.
2286 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2287 (verilog-re-search-backward-quick)
2288 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2289 related functions now ignore strings, to fix misparsing of strings
2290 with magic comments embedded in them.
a1beca85
SM
2291 (verilog-read-auto-template):
2292 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2293 Reported by Brad Dobbie.
2294 (verilog-read-auto-template):
2295 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2296 Reported by Brad Dobbie.
6288f0ca
WS
2297 (verilog-auto-inst, verilog-auto-inst-param)
2298 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2299 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2300 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2301 debugging templates without merge conflicts, bug357.
2302 Reported by Brad Dobbie.
2303 (verilog-read-auto-template):
2304 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2305 Reported by Brad Dobbie.
2306 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2307 abbrevs so user won't be asked to save.
2308 (verilog-read-auto-lisp-present): Fix to start at beginning of
2309 buffer in case called outside of verilog-auto.
2310 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2311 to "X-2". Reported by Matthew Myers.
2312 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2313 all inputs from module templates. Reported by Leith Johnson.
2314 (verilog-module-inside-filename-p): Fix locating programs as with
2315 modules.
2316 (verilog-auto-inst-port): Fix vl-width expressions when using
2317 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2318 (verilog-decls-get-regs, verilog-decls-get-signals,
2319 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2320 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2321 verilog-read-decls): Combine reg and wire structures into one var
2322 structure to represent SystemVerilog concepts.
2323 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2324 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2325 (verilog-auto-wire-type, verilog-insert-definition):
2326 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2327 SystemVerilog "logic" keyword instead of "wire"/"reg".
2328 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2329 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2330 ifdef or generate if so there's not a driver conflict).
2331 Reported by Matthew Myers.
2332 (verilog-auto-declare-nettype, verilog-insert-definition):
2333 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2334 `default_nettype none. Reported by Julian Gorfajn.
2335 (verilog-read-always-signals-recurse, verilog-read-decls)
2336 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2337 malformed end statement, bug325. Reported by Joshua Wise and
2338 Andrew Drake.
2339 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2340 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2341 when expanding .* in interfaces, bug320.
2342 Reported by Pierre-David Pfister.
6288f0ca 2343 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2344 name and open parenthesis, bug317.
2345 Reported by Pierre-David Pfister.
6288f0ca
WS
2346 (verilog-simplify-range-expression): Fix simplification of
2347 multiplications inside AUTOWIRE connections, bug303.
2348 (verilog-auto-inst-port): Support parameter expansion in
2349 multidimensional arrays.
2350 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2351 after "assert property". Reported by Julian Gorfajn.
2352 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2353 with multiplication, bug303.
2354 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2355 Reported by Jan Frode Lonnum.
2356
1bbe96b2
GM
23572011-11-30 Juanma Barranquero <lekktu@gmail.com>
2358
2359 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2360 (hfy-shell-file-name, hfy-shell):
2361 * international/fontset.el (x-decompose-font-name): Fix typos.
2362
23632011-11-29 Ken Brown <kbrown@cornell.edu>
2364
2365 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2366 (gdb-version): Remove defvar.
2367 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2368 (gdb-gud-context-command, gdb-non-stop-handler)
2369 (gdb-current-context-command, gdb-stopped): Use it.
2370 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2371 (gdb-non-stop-handler): Don't enable pretty-printing here.
2372 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2373 non-stop mode. Use the following.
2374 (gdb-check-target-async): New defun.
2375 (gud-watch, gdb-stopped): Fix whitespace.
2376 (gdb-get-source-file): Don't try to display the source file if
2377 `gdb-main-file' is nil.
2378
23792011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2380
2381 * align.el: Try to generate fewer markers (bug#10047).
2382 (align--set-marker): New macro.
2383 (align-region): Use it.
2384
c935221f
SM
23852011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2386
2387 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2388
e70b5064
CY
23892011-11-29 Chong Yidong <cyd@gnu.org>
2390
2391 * indent.el (indent-for-tab-command, indent-according-to-mode):
2392 Doc fix.
2393 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2394
f3af92b7
MA
23952011-11-29 Michael Albinus <michael.albinus@gmx.de>
2396
2397 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2398 aware of remote file names. (Bug#10124)
2399
ed472be9
CY
24002011-11-29 Chong Yidong <cyd@gnu.org>
2401
2402 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2403
24510c22
SM
24042011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2405
2406 * files.el (find-file): Don't use force-same-window (bug#10144).
2407 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2408 use pop-to-buffer if the selected window can't be used.
2409 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2410
c60c3703
EZ
24112011-11-28 Eli Zaretskii <eliz@gnu.org>
2412
2413 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2414 special-mode-map.
2415
e95def75
CY
24162011-11-28 Chong Yidong <cyd@gnu.org>
2417
2418 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2419
c3f1c606
NR
24202011-11-27 Nick Roberts <nickrob@snap.net.nz>
2421
2422 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2423 gdb-get-source-file-list on gdb-create-source-file-list.
2424
00db469c
EZ
24252011-11-26 Eli Zaretskii <eliz@gnu.org>
2426
2427 * whitespace.el (whitespace-newline): Use a different foreground
2428 color for 16-color light-background displays.
2429
4ad3bc2a
CY
24302011-11-24 Chong Yidong <cyd@gnu.org>
2431
2432 * window.el (display-buffer--special-action): Doc fix.
2433
e9fce1ac
JB
24342011-11-25 Juanma Barranquero <lekktu@gmail.com>
2435
2436 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2437 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2438 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2439 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2440 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2441 (avl-tree-stack-first):
2442 * emacs-lisp/cconv.el (cconv--analyse-use):
2443 * net/gnutls.el (gnutls-negotiate): Fix typos.
2444
cb825e5d
GM
24452011-11-24 Glenn Morris <rgm@gnu.org>
2446
3adbe224
GM
2447 * lpr.el (lpr-windows-system, lpr-lp-system):
2448 * mail/binhex.el (binhex-begin-line):
2449 * progmodes/grep.el (grep-history, grep-find-history):
2450 * textmodes/flyspell.el:
2451 * vc/pcvs-defs.el (cvs-global-menu):
2452 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2453 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2454 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2455
321decc8
GM
2456 * net/tls.el: Fix case of "GnuTLS".
2457
420b63ad
GM
2458 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2459
cb825e5d
GM
2460 * version.el (emacs-build-system): Give it a doc-string.
2461
a0649f08
JL
24622011-11-24 Juri Linkov <juri@jurta.org>
2463
2464 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2465
c0bc0fd4
GM
24662011-11-24 Glenn Morris <rgm@gnu.org>
2467
2468 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2469 if called on a non-mime message just toggle the headers. (Bug#8006)
2470
20db1522
JB
24712011-11-24 Juanma Barranquero <lekktu@gmail.com>
2472
2473 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2474 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2475 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2476 (allout-rebullet-heading, allout-open-sibtopic)
2477 (allout-toggle-current-subtree-encryption)
2478 (allout-toggle-subtree-encryption, allout-encrypt-string)
2479 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2480 (allout-distinctive-bullets-string, allout-auto-activation):
2481 * window.el (window-normalize-buffer-to-display):
2482 * progmodes/verilog-mode.el (verilog-batch-indent):
2483 * textmodes/bibtex.el (bibtex-field-braces-opt)
2484 (bibtex-field-strings-opt):
2485 * vc/cvs-status.el (cvs-tree-merge):
2486 Fix typos.
2487
7262a87c
MA
24882011-11-23 Michael Albinus <michael.albinus@gmx.de>
2489
2490 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2491 `non-essential' to t, in order to avoid remote connections.
2492
283430a1
EZ
24932011-11-23 Eli Zaretskii <eliz@gnu.org>
2494
a1beca85
SM
2495 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2496 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2497 case-insensitively.
2498
d2992a38
ML
24992011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2500
2501 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2502
50419064
GM
25032011-11-23 Glenn Morris <rgm@gnu.org>
2504
da94eca1
GM
2505 * paths.el (rmail-file-name): Reformat the doc-string so that it
2506 is picked up.
2507
9aac4de2
GM
2508 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2509 (rmail-auto-file): Ignore case in the "special" field names,
2510 as mail-fetch-field does for all others.
2511
8038d2d2
GM
2512 * mail/rmail.el (rmail-forward):
2513 * mail/rmailkwd.el (rmail-set-label):
2514 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2515 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2516
f3fe222a
GM
2517 * mail/rmail.el (rmail-current-message): Doc fix.
2518
50419064
GM
2519 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2520
28109f49
SM
25212011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2523 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2524
394c65f1
GM
25252011-11-22 Glenn Morris <rgm@gnu.org>
2526
2527 * mail/rmailmm.el (test-rmail-mime-handler)
2528 (test-rmail-mime-bulk-handler)
2529 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2530
f2a0aa3a
JL
25312011-11-21 Juri Linkov <juri@jurta.org>
2532
1154d12e
JB
2533 * calc/calc.el (calc-read-key-sequence):
2534 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2535
9c34a344
LMI
25362011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2537
2538 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2539 Tell the caller that the next line needs recomputation, even
2540 though it doesn't start a sexp (bug#10094).
2541
f04a3be9
SM
25422011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2543
2544 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2545
7978747f
SM
25462011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2547
f04a3be9
SM
2548 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2549 Use force-same-window.
7978747f 2550
fe7a3057
JB
25512011-11-20 Juanma Barranquero <lekktu@gmail.com>
2552
2553 * descr-text.el (describe-char-unicode-data):
2554 * json.el (json-string-escape):
2555 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2556 (Footnote-unicode, Footnote-style-p):
2557 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2558
24901d61
CY
25592011-11-20 Chong Yidong <cyd@gnu.org>
2560
2561 * window.el (replace-buffer-in-windows): Restore interactive spec.
2562
bac7ff22
SM
25632011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2564
24f3d7b9
SM
2565 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2566
bac7ff22
SM
2567 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2568 (byte-compile-global-not-obsolete-vars): New var.
2569 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2570 Use it.
2571 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2572
cd1181db
JB
25732011-11-20 Juanma Barranquero <lekktu@gmail.com>
2574
2575 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2576 * progmodes/pascal.el (electric-pascal-equal):
2577 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2578 * xml.el (xml-substitute-special): Fix typos.
2579
7fb18e9e
GM
25802011-11-20 Glenn Morris <rgm@gnu.org>
2581
2582 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2583 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2584 Doc fixes.
2585 (rmail-decode-mime-charset): Mark as obsolete.
2586
2587 * mail/rmailsum.el (rmail-message-regexp-p-1):
2588 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2589 Before using mime functions, check they are set. (Bug#10077)
2590
d5a6b3ba
JL
25912011-11-19 Juri Linkov <juri@jurta.org>
2592
2593 * info.el (Info-finder-find-node): Use `package--builtins' instead
2594 of `package-alist'. Use node names formed by the pattern "Keyword "
2595 and the keyword name.
2596
e981b61f
AS
25972011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2598
1d00653d 2599 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2600
3ffbc301
JL
26012011-11-19 Juri Linkov <juri@jurta.org>
2602
2603 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2604 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2605 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2606 `old-history', `old-history-forward'. Add let-binding
2607 `window-selected'. Remove calls to `kill-buffer',
2608 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2609 before calling `Info-find-node', so `Info-find-node-2' will reread
2610 the Info file. Restore window positions only when `window-selected'
2611 is non-nil.
2612
30c62133
JL
26132011-11-19 Juri Linkov <juri@jurta.org>
2614
2615 * isearch.el (isearch-lazy-highlight-new-loop):
2616 Remove condition `(not isearch-error)'. (Bug#9918)
2617
2618 * misearch.el (multi-isearch-search-fun): Add condition
2619 `(not bound)' to ignore lazy-highlighting search.
2620 Add the search-failed message "end of multi" when the end of
2621 multi-sequence is reached. Uncapitalize the search-failed
2622 message "Repeat for next buffer".
2623
2624 * info.el (Info-search): Add the search-failed message
2625 "end of the manual" when the end of the manual is reached
2626 in Isearch mode.
2627
645ca9cf
JL
26282011-11-19 Juri Linkov <juri@jurta.org>
2629
2630 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2631 Use non-destructive `remove' instead of `delete' because
2632 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2633 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2634
df754f66
JL
26352011-11-19 Juri Linkov <juri@jurta.org>
2636
2637 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2638 to nil instead of binding `search-ring' and `regexp-search-ring'.
2639 (Bug#9185)
2640
0e23d96a
EZ
26412011-11-19 Eli Zaretskii <eliz@gnu.org>
2642
2643 * simple.el (line-move): Force movement by logical lines for any
2644 hscrolled window, not only when auto-hscroll-mode is on.
2645 (line-move-visual): Update doc string to that effect. (Bug#10076)
2646
8a6ccb66
AS
26472011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2648
2649 * language/european.el (macintosh): Define as alias for mac-roman.
2650
49ae5b39
EZ
26512011-11-19 Eli Zaretskii <eliz@gnu.org>
2652
2653 * mail/rmailmm.el (rmail-mime-display-header)
2654 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2655 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2656 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2657 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2658 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2659 of a raw aref.
2660 (rmail-mime-entity-segment): To get past the tagline, move forward
2661 2 more lines, to account for the 2 empty lines that precede and
2662 follow the line with the buttons.
2663 (rmail-mime-update-tagline): Move one more line, to get past the
2664 empty line that follows the buttons in the tagline. (Bug#9520)
2665
c56cad4a
MR
26662011-11-19 Martin Rudalics <rudalics@gmx.at>
2667
2668 * window.el (window-max-delta-1, window-min-delta-1)
2669 (window-min-size-1, window-state-get-1, window-state-put-1)
2670 (window-state-put-2): Use "window--" prefix.
2671
cbe71af3
SM
26722011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2ad52c60
SM
2674 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2675 (smie-warning-count): New var.
2676 (smie-set-prec2tab): Use it.
2677 (smie-bnf->prec2): Improve warnings. Add docstring.
2678 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2679 (smie-bnf--set-class): New function.
2680 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2681 corner case.
2682
6944dbc1
SM
2683 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2684 (compilation-error-properties, compilation-move-to-column):
2685 Handle compilation-first-column while in the target buffer.
2686
c400c4d7
SM
2687 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2688 Don't hardcode point-min==1.
2689
6dbe3e96
SM
2690 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2691 (eshell-rewrite-for-command): Remove workaround.
2692 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2693 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2694 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2695
cbe71af3
SM
2696 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2697
a8e1496d
GM
26982011-11-17 Glenn Morris <rgm@gnu.org>
2699
2700 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2701 Ignore buffer-local generated-autoload-file if it is the same
2702 as the global value. (Bug#10049)
2703
df85d315
JB
27042011-11-17 Juanma Barranquero <lekktu@gmail.com>
2705
2706 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2707 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2708 (reftex-toc-previous-heading, reftex-toc-max-level)
2709 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2710 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2711 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2712 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2713 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2714 (reftex-toc-rename-label, reftex-toc-visit-location)
2715 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2716 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2717 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2718 leaving "*toc*" only for references to the buffer.
2719
a0c2d0ae
MR
27202011-11-17 Martin Rudalics <rudalics@gmx.at>
2721
2722 * window.el (window-resize, delete-window, split-window):
2723 Replace window-splits by window-combination-resize.
1d00653d 2724 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2725
35c0bac8
GM
27262011-11-17 Glenn Morris <rgm@gnu.org>
2727
2728 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2729 Make bash entry derive from sh entry, not shell entry.
2730
d0c8fc8a
MA
27312011-11-16 Michael Albinus <michael.albinus@gmx.de>
2732
d0c8fc8a
MA
2733 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2734 properties of linked files. (Bug#9879)
2735
7262a87c
MA
2736 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2737 local file name.
2738
7877f373
JB
27392011-11-16 Juanma Barranquero <lekktu@gmail.com>
2740
2741 * menu-bar.el (menu-bar-file-menu):
2742 * printing.el (pr-ps-utility):
2743 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2744 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2745 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2746 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2747 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2748 (icalendar--convert-cyclic-to-ical)
2749 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2750 (icalendar--convert-ical-to-diary)
2751 (icalendar--convert-recurring-to-diary)
2752 (icalendar--convert-non-recurring-all-day-to-diary)
2753 (icalendar-import-format-sample):
2754 * progmodes/idlw-shell.el (idlwave-shell-mode):
2755 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2756 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2757 (vhdl-ps-print-init): Fix typos.
2758
10649b82
KM
27592011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2760
9d0cfcd6
GM
2761 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2762 FSF and collapse date sequence, obscure author/maintainer email address
2763 better, remove extra version line, track relocation of author's webpage.
10649b82 2764
9d0cfcd6
GM
2765 * progmodes/python.el (python-pdbtrack-input-prompt)
2766 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2767 regular python pdb prompts. Adjustments shamelessly taken exactly as
2768 suggested in EmacsWiki page (tiny change):
2769 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2770
58179cce
JB
27712011-11-16 Juanma Barranquero <lekktu@gmail.com>
2772
2773 * expand.el (expand-pos, expand-index, expand-point):
2774 Remove redundant info from docstring.
2775 (expand-add-abbrevs): Doc fix.
2776 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2777 (expand-sample-perl-mode-expand-list): Fix typos.
2778
2779 * net/dbus.el (dbus-event-member-name):
2780 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2781 * term/pc-win.el (msdos-create-frame-with-faces):
2782 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2783
b6f67890
MR
27842011-11-16 Martin Rudalics <rudalics@gmx.at>
2785
2786 * window.el (split-window, window-state-get-1)
2787 (window-state-put-1, window-state-put-2): Rename occurrences of
2788 window-nest to window-combination-limit.
1d00653d 2789 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2790
ce7ddba0
CY
27912011-11-16 Chong Yidong <cyd@gnu.org>
2792
2793 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2794 regexp (Bug#10033).
2795
3ae704f4
SM
27962011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2797
2798 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2799 `completing-read' will remove *Completions* and will preserve
2800 current-buffer for us.
2801 (tmm-add-prompt): Users of *Completions* will always (re)set its
2802 major mode.
2803 (tmm-old-comp-map): Remove.
2804
6ad1cdde
GM
28052011-11-16 Glenn Morris <rgm@gnu.org>
2806
2807 * mail/rmailedit.el: Require rmailmm when compiling.
2808 (rmail-old-mime-state): New declaration.
2809 (rmail-edit-current-message): If editing a mime message,
2810 edit the "raw" message from the mbox buffer.
2811 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2812
d20faa20
GM
28132011-11-15 Glenn Morris <rgm@gnu.org>
2814
2815 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2816 which wasn't being used. Add optional arg to force given state.
2817 (rmail-mime): Add optional arg to force given state.
2818
c7015153
JB
28192011-11-15 Juanma Barranquero <lekktu@gmail.com>
2820
2821 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2822 * frame.el (display-mm-dimensions-alist):
2823 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2824 (outline-move-subtree-down):
2825 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2826 (newsticker--treeview-do-get-node):
2827 * net/quickurl.el (quickurl-list-buffer-name):
2828 * progmodes/dcl-mode.el (dcl-mode):
2829 * progmodes/gdb-mi.el (gdb-mapcar*):
2830 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2831
45261b50
GM
28322011-11-15 Glenn Morris <rgm@gnu.org>
2833
2834 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2835 in a boolean sense, so just make it a boolean, and fix the doc.
2836 (rmail-show-mime-function, rmail-mime-feature)
2837 (rmail-require-mime-maybe): Doc fixes.
2838 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2839
2840 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2841
0d26e0b6
JB
28422011-11-15 Juanma Barranquero <lekktu@gmail.com>
2843
2844 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2845 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2846 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2847 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2848
447f30f6
GM
28492011-11-15 Glenn Morris <rgm@gnu.org>
2850
672b871d
GM
2851 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2852 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2853 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2854 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2855 (rmail-mime, rmail-show-mime): Doc fixes.
2856
f6aa5bb1
GM
2857 * term/ns-win.el (mode-line-frame-identification):
2858 Leave it alone. (Bug#10051)
2859
947cd66b
GM
2860 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2861
447f30f6
GM
2862 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2863 Handle empty buffers. (Bug#9978)
2864
0b381c7e
JB
28652011-11-14 Juanma Barranquero <lekktu@gmail.com>
2866
2867 * international/mule.el (define-charset):
2868 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2869 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2870 * progmodes/verilog-mode.el (verilog-backward-token):
2871 * textmodes/ispell.el (lookup-words):
2872 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2873
71e027ac
GM
28742011-11-14 Glenn Morris <rgm@gnu.org>
2875
56632ce4
GM
2876 * progmodes/executable.el
2877 (executable-make-buffer-file-executable-if-script-p):
2878 Handle file-modes returning nil.
2879
40500957
GM
2880 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2881 message - not necessary, and causes problems. (Bug#9831)
2882
071c2340
GM
2883 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2884
d3cfca60
GM
2885 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2886
71e027ac
GM
2887 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2888 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
2889 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2890
89d61221
MR
28912011-11-12 Martin Rudalics <rudalics@gmx.at>
2892
2893 * window.el (window-resize, delete-window): Use window-splits
2894 variable instead of function.
2895 (window-state-get-1, window-state-put-2, window-state-put):
2896 Don't deal with windows' splits status.
2897
98282f6f
GM
28982011-11-12 Glenn Morris <rgm@gnu.org>
2899
2900 * apropos.el (apropos-do-all, apropos-library, apropos-value)
2901 (apropos-documentation): Doc fixes.
2902
40a8bdf6
JB
29032011-11-11 Juanma Barranquero <lekktu@gmail.com>
2904
2905 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2906 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2907
65bd19ff
SM
29082011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2909
2910 * electric.el (electric-indent-post-self-insert-function): Make it
2911 possible for a char to only indent in some circumstances.
2912 (electric-indent-mode): Simplify.
2913
54f9154c
MR
29142011-11-11 Martin Rudalics <rudalics@gmx.at>
2915
2916 * window.el (windows-with-parameter): Remove unused function.
2917 (windows-at-side): Rename to window-at-side-list.
2918 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
2919 (window-side-check, window-size-ignore, window-size-fixed-1)
2920 (window-in-direction-2): Prefix with "window--".
2921 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 2922
68cbc58b
GM
29232011-11-11 Glenn Morris <rgm@gnu.org>
2924
2925 * subr.el (eval-after-load): If FILE is already loaded,
2926 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
2927
b2621720
GM
29282011-11-10 Glenn Morris <rgm@gnu.org>
2929
9a4de110
GM
2930 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2931 Call svn via vc-svn-command rather than vc-do-command.
2932 (vc-svn-command): Add --non-interactive. (Bug#9993)
2933 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2934
b2621720
GM
2935 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2936 Add toggle-read-only. (Bug#7292)
2937 * files.el (toggle-read-only): Mention that it should only
2938 be used interactively. (Bug#10006)
2939
1dce7193
SM
29402011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2941
d9ac1a1e
SM
2942 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2943 Adjust regexp for OCaml warnings.
2944
0c325082
SM
2945 * electric.el (electric-pair-post-self-insert-function): Let user
2946 turn it off buffer-locally (bug#9932).
2947
90132c14
SM
2948 * progmodes/python.el (python-beginning-of-statement):
2949 Rewrite (bug#2703).
2950
1dce7193
SM
2951 * progmodes/compile.el: Better handle TABs (bug#9749).
2952 (compilation-internal-error-properties)
2953 (compilation-next-error-function): Obey the target buffer's
2954 compilation-error-screen-columns.
2955
c4e7c63a
JB
29562011-11-09 Juanma Barranquero <lekktu@gmail.com>
2957
2958 * progmodes/meta-mode.el: Remove obsolete comments.
2959 (meta-right-comment-regexp, meta-ignore-comment-regexp):
2960 Fix typos in docstrings.
2961
2cffd681
MR
29622011-11-09 Martin Rudalics <rudalics@gmx.at>
2963
2964 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 2965 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
2966 (window--resizable): New function. Make all callers of
2967 window-resizable call window--resizable instead.
2968 (window-resizable): Rewrite in terms of window--resizable.
2969
0edcba87
GM
29702011-11-08 Glenn Morris <rgm@gnu.org>
2971
2972 * progmodes/delphi.el (delphi-mode-syntax-table):
2973 Let define-derived-mode define a proper syntax table. (Bug#9994)
2974
4b0d61e3
SM
29752011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2976
2977 * window.el: Stay away from defsubst.
2978 (window-list-no-nils): Remove.
2979 (window-state-get-1, window-state-get): Use backquote instead.
2980
cd394be1 29812011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 2982
4b0d61e3 2983 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 2984 Fix incorrect use of default argument in `completing-read'.
2985
e1c2c6f2
MR
29862011-11-08 Martin Rudalics <rudalics@gmx.at>
2987
2988 * window.el (display-buffer-function, special-display-function):
2989 Mention display-buffer-record-window but do not mention
2990 help-setup parameter in doc-strings.
b3f4a882 2991 (window-min-delta): Fix doc-string typo.
e1c2c6f2 2992
105216ed
CY
29932011-11-08 Chong Yidong <cyd@gnu.org>
2994
2995 * window.el (window-total-height, window-total-width): Doc fix.
2996 (window-body-size): Move from C.
2997 (window-body-height, window-body-width): Move to C.
2998
0a9f9ab5
SM
29992011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3000
3001 * window.el: Make special-display like display-buffer-alist (bug#9532).
3002 (display-buffer--special-action): New function, morphed
3003 from display-buffer--special.
3004 (display-buffer): Use it to handle special-display-buffers at higher
3005 priority (just after display-buffer-alist).
3006 (display-buffer-fallback-action, display-buffer--other-frame-action)
3007 (pop-to-buffer-same-window): Remove display-buffer--special.
3008
a769dd15
GM
30092011-11-07 Glenn Morris <rgm@gnu.org>
3010
3011 * calendar/cal-menu.el (cal-menu-set-date-title):
3012 Do nothing if not in a calendar. (Bug#9976)
3013
05a61ee3
SM
30142011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3015
3016 * files.el (find-file): Always use selected-window.
3017
be7f5545
MR
30182011-11-07 Martin Rudalics <rudalics@gmx.at>
3019
3020 * window.el (window-combinations): Make WINDOW argument
3021 mandatory. Rewrite doc-string.
3022 (walk-window-subtree, window-atom-check, window-min-delta)
3023 (window-max-delta, window--resize-this-window)
3024 (window--resize-root-window-vertically, window-tree)
3025 (balance-windows, window-state-put): Rewrite doc-strings as to
3026 not mention the term "subwindow".
3027 (window--resize-subwindows-skip-p): Rename to
3028 window--resize-child-windows-skip-p.
3029 (window--resize-subwindows-normal): Rename to
3030 window--resize-child-windows-normal.
3031 (window--resize-subwindows): Rename to
3032 window--resize-child-windows.
3033 (window-or-subwindow-p): Rename to window--in-subtree-p.
3034
3c6702ef
ML
30352011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3036
3037 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3038 Ensure that mbox format messages end in two newlines (Bug#9974).
3039
49745b39
CY
30402011-11-06 Chong Yidong <cyd@gnu.org>
3041
3042 * window.el (window-combination-p): Function deleted; its
3043 side-effect is not used in any existing code.
3044 (window-combinations, window-combined-p): Call window-*-child
3045 directly.
3046
24300f5f
CY
30472011-11-05 Chong Yidong <cyd@gnu.org>
3048
3049 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3050 (window-size-ignore, window-state-get): Callers changed.
3051 (window-normalize-window): Rename from window-normalize-any-window.
3052 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3053 (window-normalize-live-window): Delete.
447f16b8
CY
3054 (window-combination-p, window-combined-p, window-combinations)
3055 (walk-window-subtree, window-atom-root, window-min-size)
3056 (window-sizable, window-sizable-p, window-size-fixed-p)
3057 (window-min-delta, window-max-delta, window-resizable)
3058 (window-resizable-p, window-full-height-p, window-full-width-p)
3059 (window-current-scroll-bars, window-point-1, set-window-point-1)
3060 (window-at-side-p, window-in-direction, window-resize)
3061 (adjust-window-trailing-edge, maximize-window, minimize-window)
3062 (window-deletable-p, delete-window, delete-other-windows)
3063 (record-window-buffer, unrecord-window-buffer)
3064 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3065 (quit-window, split-window, window-state-put)
3066 (set-window-text-height, fit-window-to-buffer)
3067 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3068
89bd5ee1
EZ
30692011-11-04 Eli Zaretskii <eliz@gnu.org>
3070
53479029
EZ
3071 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3072 rfc2047-decode-string.
3073 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3074 warnings.
3075
89bd5ee1
EZ
3076 * window.el (window-body-height, window-body-width): Mention in
3077 the doc string that the return values are in frame's canonical
3078 units. (Bug#9949)
3079
bd17fdee
AM
30802011-11-03 Alan Mackenzie <acm@muc.de>
3081
3082 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3083 change in cc-engine.el.
3084
acc825c5
SM
30852011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3086
3087 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3088
1885e5b8
MR
30892011-11-02 Martin Rudalics <rudalics@gmx.at>
3090
3091 * window.el (quit-window): Call unrecord-window-buffer after
3092 showing another buffer in the window. (Bug#9937)
acc825c5 3093 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3094
ebe06da9
JB
30952011-11-02 Juanma Barranquero <lekktu@gmail.com>
3096
3097 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3098 Accept status with more than 9 shelves. (Bug#9935)
3099 Reported by Colin D Bennett <colin@gibibit.com>.
3100
4ee88440
MR
31012011-11-01 Martin Rudalics <rudalics@gmx.at>
3102
3103 * help.el (with-help-window): Don't reference
3104 temp-buffer-show-specifiers in doc-string.
3105
08e1d82c
AS
31062011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3107
3108 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3109 menu-item.
3110
84bd6e9e
VJL
31112011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3112
3113 * whitespace.el: New version 13.2.2.
3114 (whitespace-newline-mode): Disable properly. Reported by Sarah
3115 <EmacsWiki>.
3116
dba0634a
UJ
31172011-10-30 Ulf Jasper <ulf.jasper@web.de>
3118
3119 * net/newst-treeview.el: Remove "Time-stamp".
3120 (newsticker--group-manage-orphan-feeds): Do not call
3121 newsticker--treeview-tree-update.
db22a3c2
JB
3122 (newsticker-treeview-update, newsticker-treeview):
3123 Call newsticker--treeview-tree-update if necessary.
dba0634a 3124
3d8daefe
MR
31252011-10-30 Martin Rudalics <rudalics@gmx.at>
3126
3127 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3128 (window-iso-combinations): Remove "iso-" infix.
3129 Suggested by Chong Yidong.
3d8daefe
MR
3130 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3131 (window-max-delta-1, window-resize, window--resize-siblings)
3132 (window--resize-this-window, adjust-window-trailing-edge)
3133 (split-window, balance-windows-1)
3134 (shrink-window-if-larger-than-buffer):
3135 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3136 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3137
1bc4c3ae
SM
31382011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3140 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3141 in place (bug#9907).
3142 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3143 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3144 (eshell-structure-basic-command, eshell-rewrite-while-command)
3145 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3146 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3147 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3148 (eshell-do-pipelines-synchronously, eshell-eval-command):
3149 Use backquotes and prefer setq to set.
3150 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3151 (eshell-macrop): Use functionp.
c1e2f5fa 3152 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3153
30b65d9c
CY
31542011-10-30 Chong Yidong <cyd@gnu.org>
3155
3156 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3157 instead of set-mark (Bug#9810).
3158
2d197ffb
CY
31592011-10-30 Chong Yidong <cyd@gnu.org>
3160
3161 * window.el (split-window-below, split-window-right): Rename from
3162 split-window-above-each-other and split-window-side-by-side
3163 respectively. All callers changed.
3164 (split-window-sensibly, split-window-sensibly): Use them.
3165 (split-window-keep-point): Doc fix.
3166
3167 * isearch.el: Add isearch-scroll property to split-window-below
3168 and split-window-right.
3169
3170 * follow.el (follow-mode):
3171 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3172 * progmodes/ada-xref.el (ada-gdb-application):
3173 * emulation/vip.el (vip-buffer-in-two-windows):
3174 * image-dired.el (image-dired-dired-with-window-configuration):
3175 * dired-x.el (dired-do-find-marked-files):
3176 * dired.el (dired-pop-to-buffer):
3177 * bs.el (bs--show-with-configuration):
3178 * vc/emerge.el (emerge-setup-windows):
3179 * textmodes/two-column.el (2C-two-columns):
3180 * textmodes/reftex-toc.el (reftex-toc):
3181 * progmodes/gdb-mi.el (gdb-setup-windows):
3182 * progmodes/fortran.el (fortran-window-create):
3183 * net/newst-treeview.el (newsticker--treeview-window-init):
3184 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3185 * emulation/tpu-edt.el (tpu-gold-map):
3186 * emulation/crisp.el (crisp-mode-map):
3187 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3188
38bb2ca8
CY
31892011-10-29 Chong Yidong <cyd@gnu.org>
3190
aa4de341
CY
3191 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3192
e1eb5385
CY
3193 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3194
5d2ece3c
CY
3195 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3196 forged Ispell output (Bug#7904).
3197
38bb2ca8
CY
3198 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3199
d0af9f77
SM
32002011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3201
3202 * doc-view.el: Avoid ugly errors about not finding nil.
3203 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3204 (doc-view-dvipdf-program, doc-view-unoconv-program)
3205 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3206 Avoid nil or absolute file name as default value.
3207 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3208
52bedd34
AM
32092011-10-28 Alan Mackenzie <acm@muc.de>
3210
db22a3c2 3211 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3212
7e43cfa5
AM
32132011-10-28 Alan Mackenzie <acm@muc.de>
3214
3215 Amend the handling of c-beginning/end-of-defun in nested declaration
3216 scopes.
3217
52bedd34
AM
3218 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3219 cc-langs.el. Change it to a defcustom.
7e43cfa5 3220
52bedd34
AM
3221 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3222 cc-vars.el.
7e43cfa5 3223
d0af9f77
SM
3224 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3225 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3226
52bedd34 3227 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3228 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3229 (c-widen-to-enclosing-decl-scope): New function.
3230 (c-while-widening-to-decl-block): New macro.
3231 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3232 outward for defun boundaries, and correspondingly change symbol
3233 `respect-enclosure' to `go-outward'.
3234 (c-declaration-limits): Change algorithm to report only the "innermost"
3235 defun's boundaries.
3236
1a2ce9ee
DD
32372011-10-28 Deniz Dogan <deniz@dogan.se>
3238
3239 * net/rcirc.el (rcirc-mode): Use hard newlines.
3240
bc97a826
AM
32412011-10-28 Alan Mackenzie <acm@muc.de>
3242
3243 Amend to indent and fontify macros "which include their own semicolon"
3244 correctly, using the "virtual semicolon" mechanism.
3245
52bedd34 3246 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3247
d0af9f77 3248 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3249 Recode to scan one line at a time rather than having \n and \r
58179cce 3250 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3251 (c-forward-label): Amend for virtual semicolons.
58179cce 3252 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3253
52bedd34
AM
3254 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3255 of the new C macros.
bc97a826 3256
52bedd34 3257 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3258 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3259 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3260 (c-opt-cpp-macro-define): Make into a full language variable.
3261 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3262 AWK Mode (including \n, \r) removed, no longer needed.
3263
d0af9f77
SM
3264 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3265 Invoke c-make-macro-with-semi-re.
bc97a826 3266
52bedd34
AM
3267 * progmodes/cc-vars.el (c-macro-with-semi-re):
3268 (c-macro-names-with-semicolon): New variables.
58179cce 3269 (c-make-macro-with-semi-re): New function.
bc97a826 3270
7a6c0941
SM
32712011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3272
3273 * vc/log-edit.el: Fill empty field rather than adding new one.
3274 (log-edit-add-field): New function.
3275 (log-edit-insert-changelog): Use it.
3276
b0c4cdcf
ML
32772011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3278
3279 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3280
ee1f1da9
SM
32812011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3282
3283 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3284 (gdb--check-interpreter): New function.
3285 (gdb): Use it.
3286
51bc5f8b
GM
32872011-10-27 Glenn Morris <rgm@gnu.org>
3288
416a2c45
GM
3289 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3290 (least-positive-float, least-negative-float)
3291 (least-positive-normalized-float, least-negative-normalized-float)
3292 (float-epsilon, float-negative-epsilon):
3293 Remove unnecessary declarations.
3294
3295 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3296 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3297 (least-positive-float, least-negative-float)
3298 (least-positive-normalized-float, least-negative-normalized-float)
3299 (float-epsilon, float-negative-epsilon): Add doc-strings,
3300 based on those in cl.texi.
3301
51bc5f8b
GM
3302 * files.el (set-visited-file-name): If the major-mode changed,
3303 reload the local variables. (Bug#9796)
3304
15de15c6
CY
33052011-10-27 Chong Yidong <cyd@gnu.org>
3306
3307 * subr.el (change-major-mode-after-body-hook): New hook.
3308 (run-mode-hooks): Run it.
3309
ee1f1da9
SM
3310 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3311 Use change-major-mode-before-body-hook.
15de15c6
CY
3312
3313 * simple.el (fundamental-mode):
3314 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3315 change introducing fundamental-mode-hook.
3316
5430d399
JB
33172011-10-26 Juanma Barranquero <lekktu@gmail.com>
3318
acc825c5 3319 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3320
ad74a69e
MA
33212011-10-26 Michael Albinus <michael.albinus@gmx.de>
3322
3323 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3324 tramp.el explicitly. (Bug#7583)
ad74a69e 3325
71d4c2a5
SM
33262011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3327
3328 * progmodes/octave-mod.el:
3329 * progmodes/octave-inf.el: Update maintainer.
3330
b1f6fa26
CY
33312011-10-26 Chong Yidong <cyd@gnu.org>
3332
3333 * subr.el (with-wrapper-hook): Rewrite doc.
3334
3f04efd6
MA
33352011-10-25 Michael Albinus <michael.albinus@gmx.de>
3336
3337 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3338 filenames "/method:foo:". (Bug#9793)
3f04efd6 3339
410488d3
SM
33402011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3343 (bug#9865).
3344
c1ebb47e
GM
33452011-10-24 Glenn Morris <rgm@gnu.org>
3346
3347 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3348
7f5c46c7
MA
33492011-10-24 Michael Albinus <michael.albinus@gmx.de>
3350
3351 * notifications.el: Add the requirement of a running D-Bus session
3352 bus to the Commentary.
3353
db2440b6
JL
33542011-10-24 Juri Linkov <juri@jurta.org>
3355
3356 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3357 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3358 (Bug#9364)
3359
feecf435
JL
33602011-10-24 Juri Linkov <juri@jurta.org>
3361
3362 * info.el (Info-following-node-name-re): Add newline to the list
3363 of allowed characters for leading space. (Bug#9824)
3364
a3839de2
SM
33652011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3366
acc825c5
SM
3367 * progmodes/octave-inf.el (inferior-octave-mode-map):
3368 Fix C-c C-h binding.
a3839de2
SM
3369 * progmodes/octave-mod.el (octave-help): Remove.
3370
09388e76
MA
33712011-10-23 Michael Albinus <michael.albinus@gmx.de>
3372
3373 Sync with Tramp 2.2.3.
3374
3375 * net/tramp-cache.el (top): Pacify byte-compiler using
3376 `init-file-user' and `site-run-file'.
3377
3378 * net/trampver.el: Update release number.
3379
86c60681
CY
33802011-10-23 Chong Yidong <cyd@gnu.org>
3381
3382 * files.el (toggle-read-only): Remove obsolete comment about
3383 version control.
3384
3385 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3386 for toggle-read-only. Note that this hasn't called vc-next-action
3387 since 2008-05-02, though it wasn't documented at the time.
3388
a3839de2
SM
3389 * vc/ediff-init.el (ediff-toggle-read-only-function):
3390 Use toggle-read-only.
86c60681 3391
cd5495ff
AM
33922011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3393
3394 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3395 of c-parse-state.
3396
00b77525 3397 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3398 correct faulty logical expression.
cd5495ff
AM
3399 (c-parse-state-state, c-record-parse-state-state):
3400 (c-replay-parse-state-state): New defvar/defuns.
3401 (c-debug-parse-state): Use new functions.
3402
42ee24ed
MR
34032011-10-22 Martin Rudalics <rudalics@gmx.at>
3404
3405 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3406 last fix. Use window-in-direction correctly.
42ee24ed 3407
a7dee7e7
CY
34082011-10-21 Chong Yidong <cyd@gnu.org>
3409
3410 * progmodes/idlwave.el (idlwave-mode):
3411 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3412 require-final-newline; that's done in prog-mode.
3413 Suggested by Stefan Monnier.
a7dee7e7 3414
e07b9a6d
MR
34152011-10-21 Martin Rudalics <rudalics@gmx.at>
3416
3417 * mouse.el (mouse-drag-window-above)
3418 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3419 (mouse-drag-mode-line-1, mouse-drag-header-line)
3420 (mouse-drag-vertical-line-rightward-window): Remove.
3421 (mouse-drag-line): New function.
3422 (mouse-drag-mode-line, mouse-drag-header-line)
3423 (mouse-drag-vertical-line): Call mouse-drag-line.
3424 * window.el (window-at-side-p, windows-at-side): New functions.
3425
7e1361d9
UM
34262011-10-21 Ulrich Mueller <ulm@gentoo.org>
3427
3428 * tar-mode.el (tar-grind-file-mode):
3429 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3430
30fcaf3a
CY
34312011-10-21 Chong Yidong <cyd@gnu.org>
3432
3433 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3434 * progmodes/vera-mode.el (vera-mode):
3435 Use mode-require-final-newline.
30fcaf3a 3436
516eddb0
GM
34372011-10-20 Glenn Morris <rgm@gnu.org>
3438
db22a3c2 3439 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3440
10d5f513
CS
34412011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3442
3443 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3444
ac6c8639
CY
34452011-10-20 Chong Yidong <cyd@gnu.org>
3446
3447 * emulation/cua-base.el (cua-mode):
3448 * mail/footnote.el (footnote-mode):
3449 * mail/mailabbrev.el (mail-abbrevs-mode):
3450 * net/xesam.el (xesam-minor-mode):
3451 * progmodes/bug-reference.el (bug-reference-mode):
3452 * progmodes/cap-words.el (capitalized-words-mode):
3453 * progmodes/compile.el (compilation-minor-mode)
3454 (compilation-shell-minor-mode):
3455 * progmodes/gud.el (gud-tooltip-mode):
3456 * progmodes/hideif.el (hide-ifdef-mode):
3457 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3458 * progmodes/subword.el (subword-mode):
3459 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3460 * progmodes/which-func.el (which-function-mode):
3461 * term/tvi970.el (tvi970-set-keypad-mode):
3462 * term/vt100.el (vt100-wide-mode):
3463 * textmodes/flyspell.el (flyspell-mode):
3464 * textmodes/ispell.el (ispell-minor-mode):
3465 * textmodes/nroff-mode.el (nroff-electric-mode):
3466 * textmodes/paragraphs.el (use-hard-newlines):
3467 * textmodes/refill.el (refill-mode):
3468 * textmodes/reftex.el (reftex-mode):
3469 * textmodes/rst.el (rst-minor-mode):
3470 * textmodes/sgml-mode.el (html-autoview-mode)
3471 (sgml-electric-tag-pair-mode):
3472 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3473 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3474 * emulation/crisp.el (crisp-mode):
3475 * emacs-lisp/eldoc.el (eldoc-mode):
3476 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3477 minor mode behavior.
3478
aa42ab43
JL
34792011-10-19 Juri Linkov <juri@jurta.org>
3480
3481 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3482 the list of hard-coded chars with escape-glyph face.
3483
89400f1d
SM
34842011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3487
305c07f6
MA
34882011-10-19 Michael Albinus <michael.albinus@gmx.de>
3489
3490 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3491 running process.
3492
13754b54
GM
34932011-10-19 Glenn Morris <rgm@gnu.org>
3494
3495 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3496 Ignore ignored files. (Bug#9726)
3497
06e21633
CY
34982011-10-19 Chong Yidong <cyd@gnu.org>
3499
3500 Doc fix for minor modes, stating that an omitted argument enables
3501 the mode unconditionally when called from Lisp.
3502
3503 * abbrev.el (abbrev-mode):
3504 * allout.el (allout-mode):
3505 * autoinsert.el (auto-insert-mode):
3506 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3507 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3508 (global-auto-revert-mode):
3509 * battery.el (display-battery-mode):
3510 * composite.el (global-auto-composition-mode)
3511 (auto-composition-mode):
3512 * delsel.el (delete-selection-mode):
3513 * desktop.el (desktop-save-mode):
3514 * dired-x.el (dired-omit-mode):
3515 * dirtrack.el (dirtrack-mode):
3516 * doc-view.el (doc-view-minor-mode):
3517 * double.el (double-mode):
3518 * electric.el (electric-indent-mode, electric-pair-mode):
3519 * emacs-lock.el (emacs-lock-mode):
3520 * epa-hook.el (auto-encryption-mode):
3521 * follow.el (follow-mode):
3522 * font-core.el (font-lock-mode):
3523 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3524 * help.el (temp-buffer-resize-mode):
3525 * hilit-chg.el (highlight-changes-mode)
3526 (highlight-changes-visible-mode):
3527 * hi-lock.el (hi-lock-mode):
3528 * hl-line.el (hl-line-mode, global-hl-line-mode):
3529 * icomplete.el (icomplete-mode):
3530 * ido.el (ido-everywhere):
3531 * image-file.el (auto-image-file-mode):
3532 * image-mode.el (image-minor-mode):
3533 * iswitchb.el (iswitchb-mode):
3534 * jka-cmpr-hook.el (auto-compression-mode):
3535 * linum.el (linum-mode):
3536 * longlines.el (longlines-mode):
3537 * master.el (master-mode):
3538 * mb-depth.el (minibuffer-depth-indicate-mode):
3539 * menu-bar.el (menu-bar-mode):
3540 * minibuf-eldef.el (minibuffer-electric-default-mode):
3541 * mouse-sel.el (mouse-sel-mode):
3542 * msb.el (msb-mode):
3543 * mwheel.el (mouse-wheel-mode):
3544 * outline.el (outline-minor-mode):
3545 * paren.el (show-paren-mode):
3546 * recentf.el (recentf-mode):
3547 * reveal.el (reveal-mode, global-reveal-mode):
3548 * rfn-eshadow.el (file-name-shadow-mode):
3549 * ruler-mode.el (ruler-mode):
3550 * savehist.el (savehist-mode):
3551 * scroll-all.el (scroll-all-mode):
3552 * scroll-bar.el (scroll-bar-mode):
3553 * server.el (server-mode):
3554 * shell.el (shell-dirtrack-mode):
3555 * simple.el (auto-fill-mode, transient-mark-mode)
3556 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3557 (line-number-mode, column-number-mode, size-indication-mode)
3558 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3559 * strokes.el (strokes-mode):
3560 * time.el (display-time-mode):
3561 * t-mouse.el (gpm-mouse-mode):
3562 * tool-bar.el (tool-bar-mode):
3563 * tooltip.el (tooltip-mode):
3564 * type-break.el (type-break-mode-line-message-mode)
3565 (type-break-query-mode):
3566 * view.el (view-mode):
3567 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3568 (global-whitespace-mode, global-whitespace-newline-mode):
3569 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3570
a3839de2
SM
3571 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3572 Fix autogenerated docstring.
06e21633 3573
5214e501
JL
35742011-10-19 Juri Linkov <juri@jurta.org>
3575
3576 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3577 by checking environment variables "DESKTOP_SESSION" and
3578 "XDG_CURRENT_DESKTOP". (Bug#9779)
3579
195f8db9
JL
35802011-10-19 Juri Linkov <juri@jurta.org>
3581
3582 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3583 (browse-url-chromium-program, browse-url-chromium-arguments):
3584 New defcustoms.
3585 (browse-url-default-browser): Check for `browse-url-chromium' and
3586 call `browse-url-chromium-program'.
3587 (browse-url-chromium): New command. (Bug#9779)
3588
343a34ff
JB
35892011-10-18 Juanma Barranquero <lekktu@gmail.com>
3590
3591 * facemenu.el (list-colors-duplicates): On Windows, detect more
3592 duplicates by assuming that only colors matching "^System" are
3593 special "system colors". (Bug#9722)
3594
6978a151
SM
35952011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3596
3597 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3598 to distinguish the author from the committer.
3599
6a80b297
MA
36002011-10-18 Michael Albinus <michael.albinus@gmx.de>
3601
3602 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3603
b31a5677
JK
36042011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3605
3606 * international/mule.el (sgml-html-meta-auto-coding-function):
3607 Add support for detecting encoding in HTML5 specified only as
3608 <meta charset="UTF-8">. Implementation just makes http-equiv and
3609 content-type parts from HTML4 encoding string optional. (Bug#9716)
3610
80c6d77f
GM
36112011-10-18 Glenn Morris <rgm@gnu.org>
3612
3613 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3614
08b0fee8
CY
36152011-10-18 Chong Yidong <cyd@gnu.org>
3616
3617 * faces.el (cursor): Doc fix.
3618
67e729a5
CY
36192011-10-17 Chong Yidong <cyd@gnu.org>
3620
3621 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3622
343a34ff 36232011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3624
3625 * dirtrack.el (dirtrack): Support shell buffers with path
3626 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3627
0bc06380
TZ
36282011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3629
3630 * json.el: Bump version to 1.3 and note change in History.
3631 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3632
8b79f3e0
SM
36332011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3634
5a7c536b
SM
3635 * comint.el (comint-insert-input, comint-send-input)
3636 (comint-get-old-input-default, comint-backward-matching-input)
3637 (comint-next-prompt): Use nil instead of `input' for field property of
3638 past user input (bug#114).
3639
96a8a0df
SM
3640 * minibuffer.el (completion--replace): Inherit surrounding properties
3641 (bug#114).
3642 (minibuffer-complete-and-exit): Use it.
3643
8b79f3e0
SM
3644 * comint.el (comint--table-subvert): Quote the all-completions output
3645 (bug#9160).
3646
b8f7ff0d
MR
36472011-10-17 Martin Rudalics <rudalics@gmx.at>
3648
8b79f3e0 3649 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3650
b8f7ff0d 3651 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3652 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3653 entries and separate them from frame entries.
3654
c235b555
GM
36552011-10-15 Glenn Morris <rgm@gnu.org>
3656
3657 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3658 Doc fixes.
3659
6bbfa6e1
CY
36602011-10-15 Chong Yidong <cyd@stupidchicken.com>
3661
8b79f3e0
SM
3662 * net/network-stream.el (network-stream-open-starttls):
3663 Improve detection of failure due to lack of TLS support.
ec5c990d 3664
6bbfa6e1
CY
3665 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3666 putting the input text in front and in bold.
3667
98488977
SM
36682011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3669
3d1337be
SM
3670 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3671
ee0b45e4
SM
3672 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3673 empty buffer.
3674
98488977
SM
3675 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3676 unread-command-events rather than pushing yet-another event.
3677
186f4720
EZ
36782011-10-14 Eli Zaretskii <eliz@gnu.org>
3679
3680 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3681 the explanation of the possible choices. Make the options passed
3682 to completing-read shorter.
3683
8b7a997c
AM
36842011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3685
3686 * textmodes/flyspell.el (flyspell-large-region): Make sure
3687 extended character mode is used if defined (Bug#1339).
3688
12587bbb
EZ
36892011-10-13 Eli Zaretskii <eliz@gnu.org>
3690
3691 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3692 character info for LRE, LRO, RLE, and RLO characters by appending
3693 an invisible PDF.
12587bbb 3694
bad41229
SM
36952011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3696
3697 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3698 even in case of error; add debug spec; simplify data flow.
3699 (with-timeout-handler): Remove.
3700
28dbc92f
MA
37012011-10-12 Michael Albinus <michael.albinus@gmx.de>
3702
3703 Fix Bug#6019, Bug#9315.
3704
3705 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3706 complete `buffer-file-name', the local file name part could look
3707 remotely (for example on VMS).
3708
3709 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3710 `tramp-run-real-handler'.
3711 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3712 already quoted by '"'.
3713
3714 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3715 Let `file-name-handler-alist' be nil, the local file name part
3716 could look remotely (for example on VMS).
3717
e1b0b23a
SM
37182011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3721 from here...
3722 (flyspell-post-command-hook): ...to here.
3723
a120bde9
SM
37242011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3725
3726 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3727 if not needed.
3728 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3729 using completion. Protect against "slow" callers.
3730 Remove the "message hack".
3731
7ce7717b
JL
37322011-10-11 Juri Linkov <juri@jurta.org>
3733
3734 * isearch.el (isearch-lazy-highlight-word): New variable.
3735 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3736 Use it. (Bug#9727)
3737
c02ee9d6
GM
37382011-10-11 Glenn Morris <rgm@gnu.org>
3739
3740 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3741 like f90-previous-statement does.
3742
93e616fd 37432011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3744
1f190e73 3745 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3746 only in interactive use, to avoid error.
3747
af7b6078
SM
37482011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * minibuffer.el (completion-file-name-table): Fix last change,
3751 i.e. ignore normal errors but not the other ones.
3752
0563dae9
MR
37532011-10-10 Martin Rudalics <rudalics@gmx.at>
3754
3755 * window.el (special-display-buffer-names)
3756 (special-display-regexps): Remove some remnants of earlier
3757 changes from doc-strings.
366ca7f3
MR
3758 (quit-windows-on): New function.
3759
3760 * vc/vc.el (vc-revert, vc-rollback):
3761 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3762 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3763 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3764
49677495
MR
37652011-10-09 Martin Rudalics <rudalics@gmx.at>
3766
3767 * window.el (frame-auto-hide-function): Add version tag.
3768 (Bug#9699)
3769
56f2d1e1
MA
37702011-10-09 Michael Albinus <michael.albinus@gmx.de>
3771
3772 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3773 condition.
3774
112a6592
LL
37752011-10-09 Leo Liu <sdl.web@gmail.com>
3776
3777 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3778 (Bug#9701)
3779
0812589b
GM
37802011-10-08 Glenn Morris <rgm@gnu.org>
3781
3782 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3783 before the first code statement zero indent. (Bug#9690)
3784
b2b0776e
CY
37852011-10-08 Chong Yidong <cyd@stupidchicken.com>
3786
3787 * simple.el (count-words-region): Always count in the region.
3788 Report the number of lines and characters too.
3789 (count-words): New command, which counts in the buffer if the
3790 region is inactive, as count-words-region used to.
3791 (count-words--message): New function. Handle plurals.
3792 (count-lines-region): Make it an alias for count-words-region.
3793
3794 * bindings.el (esc-map): Replace count-lines-region with
3795 count-words-region.
3796
c557cd6b
MR
37972011-10-08 Martin Rudalics <rudalics@gmx.at>
3798
3799 * window.el (window--delete): Delete dedicated frame
3800 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3801 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3802
61a57ef4 38032011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3804
3a7d293b 3805 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3806
c3833279
CY
38072011-10-07 Chong Yidong <cyd@stupidchicken.com>
3808
3809 * bindings.el ([M-left],[M-right]): Bind to left-word and
3810 right-word respectively.
3811
21ce8245
GM
38122011-10-07 Glenn Morris <rgm@gnu.org>
3813
3814 * cus-start.el (debug-on-quit): Fix custom type.
3815
6d823bb2
LMI
38162011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3817
0181e193
LMI
3818 * subr.el (define-key-after): Clarify that the function is not
3819 useful for non-menu keymaps.
3820
6d823bb2
LMI
3821 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3822
8e3459ce 38232011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3824
21ce8245 3825 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3826 in current minibuffer (Fix bug with recursive minibuffers).
3827
a1c2d21e
CY
38282011-10-06 Chong Yidong <cyd@stupidchicken.com>
3829
3830 * progmodes/gdb-mi.el (gdb): Doc fix.
3831
5a4cf282
MR
38322011-10-05 Martin Rudalics <rudalics@gmx.at>
3833
3834 * window.el (frame-auto-hide-function): New option replacing
3835 frame-auto-delete. Suggested by Stefan Monnier.
3836 (window--delete): Call frame-auto-hide-function instead of
3837 investigating frame-auto-delete.
c96111ea
MR
3838 (window-point-1, set-window-point-1): New functions.
3839 (window-in-direction, record-window-buffer, window-state-get-1)
3840 (display-buffer-record-window): Use window-point-1 instead of
3841 window-point.
3842 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3843
9854542e
SM
38442011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3845
3846 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3847
8943cfb0
GM
38482011-10-05 Glenn Morris <rgm@gnu.org>
3849
3850 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3851 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3852
647ab967
LL
38532011-10-05 Leo Liu <sdl.web@gmail.com>
3854
3855 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3856 works with buffer object.
3857
3ddfbced
SM
38582011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3859
3860 * mpc.el (mpc-tool-bar-map): Add labels.
3861
bdfa5dd2
GM
38622011-10-04 Glenn Morris <rgm@gnu.org>
3863
3864 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3865
0e2070b5
MR
38662011-10-04 Martin Rudalics <rudalics@gmx.at>
3867
3868 * window.el (window--delete): New function.
3869 (frame-auto-delete): Resuscitate option.
3870 (bury-buffer, replace-buffer-in-windows)
3871 (quit-window): Rewrite using window--delete.
3872 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3873 Pass display-buffer-mark-dedicated to window--display-buffer-2
3874 (Bug#9639).
3875
3dc61a09
SM
38762011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3877
915a9b64
SM
3878 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3879 returns a list (bug#9554). Add remote file name completion.
3880 * comint.el (comint--table-subvert): Curry and get quote&unquote
3881 functions as arguments.
3882 (comint--complete-file-name-data): Adjust call accordingly.
3883 * pcomplete.el (pcomplete--table-subvert): Remove.
3884 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3885
3dc61a09
SM
3886 * minibuffer.el (completion-table-case-fold): Use currying.
3887 (completion--styles-type, completion--cycling-threshold-type):
3888 New constants.
3889 (completion-styles, completion-category-overrides)
3890 (completion-cycle-threshold): Use them.
3891 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3892 completion-table-case-fold.
3893
8ea0a993
SB
38942011-10-03 Stephen Berman <stephen.berman@gmx.net>
3895
3896 * minibuffer.el (completion-category-overrides): Fix type of styles
3897 and add more user friendly tags (bug#9660).
3898
8c24b7f6
SM
38992011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3900
3901 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3902 (mule-input-method-string): New widget.
3903 (default-input-method, language-info-custom-alist): Use it.
3904
428fe61a
SM
39052011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3906
32c1fffd
SM
3907 * pcomplete.el: Require comint.
3908 (pcomplete--common-suffix): Remove.
3909 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3910 (pcomplete--table-subvert): Sync with comint--table-subvert.
3911 (pcomplete--entries): Use comint-completion-file-name-table.
3912 * comint.el (comint-unquote-filename): Simplify.
3913 (comint-completion-file-name-table): New function (bug#9616).
3914 (comint--complete-file-name-data): Use it.
3915
428fe61a
SM
3916 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3917 (pcmpl-gnu-tar-buffer): Remove.
3918 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
3919 around. Make sure pcomplete-suffix-list is only changed temporarily.
3920 Don't look inside the tar's file if it's too large.
428fe61a 3921
04c52e2f
CY
39222011-10-01 Chong Yidong <cyd@stupidchicken.com>
3923
ce3cefcc
CY
3924 * cus-edit.el (custom-mode-map):
3925 * epa.el (epa-key-list-mode-map):
3926 * man.el (Man-mode-map):
3927 * startup.el (splash-screen-keymap):
3928 * simple.el (special-mode-map): Use scroll-up-command and
3929 scroll-down-command.
3930
3931 * progmodes/idlw-help.el (idlwave-help-mode-map):
3932 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3933 * net/newst-plainview.el (newsticker-mode-map):
3934 * emulation/ws-mode.el (wordstar-mode-map):
3935 * emulation/vi.el (vi-com-map):
3936 * calc/calc-graph.el (calc-graph-show-dumb):
3937 * term/sun.el (terminal-init-sun):
3938 * term/ns-win.el (global-map):
3939 * progmodes/grep.el (grep-mode-map):
3940 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3941 * mail/rmail.el (rmail-mode-map):
3942 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3943
04c52e2f
CY
3944 * custom.el (custom-safe-themes, load-theme): Treat value of t for
3945 custom-safe-themes as special.
3946
79adf8c8
JD
39472011-10-01 Julien Danjou <julien@danjou.info>
3948
3949 * notifications.el (notifications-notify): Fix docstring.
3950
63bd50d3
PS
39512011-10-01 Per Starbäck <per@starback.se>
3952
3953 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
3954
199e4c7e
MR
39552011-09-30 Martin Rudalics <rudalics@gmx.at>
3956
3957 * startup.el (command-line-1): Fix last fix by inserting
3958 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 3959 (Bug#9605) and (Bug#9636)
199e4c7e 3960
fe5f08dd
EZ
39612011-09-29 Eli Zaretskii <eliz@gnu.org>
3962
3963 * simple.el (line-move): If auto-hscroll-mode is disabled and the
3964 window is hscrolled, move by logical lines. (Bug#9607)
3965 (line-move-visual): Update the doc string to the above effect.
3966
b5516bbd
MR
39672011-09-29 Martin Rudalics <rudalics@gmx.at>
3968
ccee00c0
MR
3969 * window.el (display-buffer-record-window): When WINDOW is the
3970 selected window use `point' instead of `window-point'. (Bug#9626)
3971
b5516bbd
MR
3972 * startup.el (command-line-1): Use insert-before-markers when
3973 inserting initial-scratch-message. (Bug#9605)
ccee00c0 3974
b5516bbd
MR
3975 * help.el (help-window): Remove variable.
3976
52aa0014
GM
39772011-09-29 Glenn Morris <rgm@gnu.org>
3978
3979 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
3980
df9a7357
JB
39812011-09-29 Juanma Barranquero <lekktu@gmail.com>
3982
3983 * descr-text.el (describe-char-categories): Accept category
3984 descriptions more than one line long.
3985
a8406c20
SM
39862011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3987
88d9610c
SM
3988 * simple.el (delete-trailing-whitespace): Fix last change.
3989
a5daf810
SM
3990 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3991 Don't confuse "y => 3" as the beginning of a `y' operation.
3992
a8406c20
SM
3993 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
3994 object has more than 4 slots (bug#9613).
3995
a239d4e9
JB
39962011-09-28 Juanma Barranquero <lekktu@gmail.com>
3997
3998 * subr.el (with-output-to-temp-buffer):
3999 * net/quickurl.el (quickurl, quickurl-browse-url):
4000 Fix typos in docstrings.
4001
693fbdb6
EZ
40022011-09-27 Eli Zaretskii <eliz@gnu.org>
4003
4004 * minibuffer.el (completion-styles)
4005 (completion-category-overrides): Cross reference each other in doc
4006 strings.
4007
8b457e28
GM
40082011-09-27 Glenn Morris <rgm@gnu.org>
4009
4010 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4011 to split-string. (Bug#9606)
4012
85a16208
LMI
40132011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4014
4015 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4016 (bug#9615).
4017
502f9ebd
CY
40182011-09-27 Chong Yidong <cyd@stupidchicken.com>
4019
4020 * emacs-lisp/package.el (list-packages): Fix echo area message.
4021
7690bdea
LL
40222011-09-27 Leo Liu <sdl.web@gmail.com>
4023
4024 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4025
e2ee6f30
MA
40262011-09-25 Michael Albinus <michael.albinus@gmx.de>
4027
4028 * net/dbus.el (dbus-unregister-object): Don't release services for
4029 registered signals. (Bug#9581)
4030
f3f98342
TZ
40312011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4032
4033 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4034 function that picks between cfengine 2 and 3 support
4035 automatically. Update docs accordingly.
4036
dd7aa8dd
KH
40372011-09-22 Kenichi Handa <handa@m17n.org>
4038
4039 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4040 ZERO.
4041 (indian-itrans-v5-table-for-tamil): New variable.
4042 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4043
3f2b07f8
KM
40442011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4045
4046 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4047 that's true if the current command involved collapsing of text.
4048 It's reset to false at the beginning of the next command.
4049 (allout-post-command-business): Move the cursor to the beginning
4050 of entry if the cursor is hidden and collapsing activity just
4051 happened.
4052
371d6a61
CY
40532011-09-24 Chong Yidong <cyd@stupidchicken.com>
4054
4055 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4056 tracking (Bug#9541).
4057
2ac2721a
UJ
40582011-09-24 Ulf Jasper <ulf.jasper@web.de>
4059
4060 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4061 (newsticker-show-news): Automatically load html rendering package
4062 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4063 because w3m-fill-column is let-bound" and the error "Symbol's value
4064 as variable is void: w3m-fill-column".
2ac2721a 4065
fac7ae53
MA
40662011-09-24 Michael Albinus <michael.albinus@gmx.de>
4067
4068 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4069 Release services only if they are defined. (Bug#9581)
4070
e08b633b
RS
40712011-09-23 Richard Stallman <rms@gnu.org>
4072
e488d29c
RS
4073 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4074 distinguish start of paragraph from start of its text.
4075
19c38752
RS
4076 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4077
e08b633b
RS
4078 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4079 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4080 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4081
0a39f27e
AS
40822011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4083
4084 * international/mule-diag.el (mule-diag): Insert a newline after
4085 each fontset description.
4086
db4e950d
SM
40872011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4088
4089 * simple.el (delete-trailing-whitespace):
4090 Document last change; simplify.
4091
eca3f3ea
PW
40922011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4093
d68e189a
PW
4094 * simple.el (delete-trailing-whitespace): Also delete
4095 extra newlines at the end of the buffer.
4096
eca3f3ea
PW
4097 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4098 (picture-newline): Use forward-line so as to ignore fields.
4099
01c157cc
SM
41002011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4101
4102 * subr.el (with-wrapper-hook): Fix edebug spec.
4103
022de23e
LMI
41042011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4105
4106 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4107 (bug#4538).
4108
91683089
MA
41092011-09-23 Michael Albinus <michael.albinus@gmx.de>
4110
eca3f3ea
PW
4111 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4112 Fix nasty bug using wrong cached values.
91683089 4113
5bdd6fa4
AM
41142011-09-23 Alan Mackenzie <acm@muc.de>
4115
4116 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4117
97adfb97
CY
41182011-09-23 Chong Yidong <cyd@stupidchicken.com>
4119
4120 * window.el (pop-to-buffer): Ensure right window is selected if we
4121 chose another frame.
4122
d4ef2b50
EZ
41232011-09-22 Eli Zaretskii <eliz@gnu.org>
4124
4125 * simple.el (what-cursor-position): Use get-char-property-change
4126 and next-single-char-property-change, to be able to show display
4127 properties that come from overlays as well as text properties.
4128
72258fe5
CY
41292011-09-22 Chong Yidong <cyd@stupidchicken.com>
4130
4131 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4132
4133 * cmuscheme.el (run-scheme, switch-to-scheme):
4134 * cus-edit.el (customize-group, custom-buffer-create)
4135 (customize-browse):
4136 * info.el (info):
4137 * shell.el (shell):
4138 * mail/sendmail.el (mail):
4139 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4140
8f098516
RS
41412011-09-22 Richard Stallman <rms@gnu.org>
4142
4143 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4144 move back only to line beg, don't move back over blank lines.
4145
e74f1bb6
MA
41462011-09-22 Michael Albinus <michael.albinus@gmx.de>
4147
4148 * files.el (copy-directory): Set directory attributes only in case
4149 they could be retrieved from the source directory. (Bug#9565)
4150
bfeef8b6
DK
41512011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4152
4153 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4154 (hs-find-block-beginning, hs-hide-level-recursive):
4155 Ignore strings as well as comments. (Bug#9502)
4156
7e423bb8
AS
41572011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4158
4159 * progmodes/sql.el (sql-comint-postgres):
4160 Convert port number to a string. (Bug#9566)
4161
b4d72fcf
MR
41622011-09-22 Martin Rudalics <rudalics@gmx.at>
4163
4164 * window.el (quit-window): Undedicate window when switching to
4165 previous buffer. Reported by Thierry Volpiatto
4166 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4167 (special-display-popup-frame): When popping up a new frame reset
4168 its previous buffers to nil. Simplify code.
b4d72fcf 4169
a7b88dc6
MA
41702011-09-21 Michael Albinus <michael.albinus@gmx.de>
4171
4172 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4173 and process filter, as done also in `shell-command'.
4174
cf4eacfd
MR
41752011-09-21 Martin Rudalics <rudalics@gmx.at>
4176
eca3f3ea 4177 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4178 Call set-window-start with NOFORCE argument t.
4179 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4180 (quit-window): Reword doc-string. Handle new format of
4181 quit-restore parameter. Don't delete window if it has a
4182 previous buffer we can show instead of the present one.
4183 (display-buffer-record-window): Rewrite using a new format for
4184 the quit-restore window parameter
4185 (special-display-popup-frame, display-buffer-same-window)
4186 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4187 (display-buffer-pop-up-window, display-buffer-use-some-window):
4188 Adapt symbol passed to display-buffer-record-window.
4189 * help.el (help-window-setup): Handle new format of quit-restore
4190 parameter.
4191
8d28cb95
SM
41922011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4193
94ab793f
SM
4194 * faces.el (face-list): Fix docstring (bug#9564).
4195
8d28cb95
SM
4196 * window.el (display-buffer--action-function-custom-type):
4197 Don't include internal functions in the Custom interface.
4198
3820edeb
JL
41992011-09-20 Juri Linkov <juri@jurta.org>
4200
4201 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4202 (Info-forward-node, Info-backward-node, Info-next-preorder)
4203 (Info-last-preorder): Use it. (Bug#9528)
4204
5147931d
JL
42052011-09-20 Juri Linkov <juri@jurta.org>
4206
4207 * info.el (Info-last-preorder): Visit last menu item only when
4208 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4209
cf499a1a
JD
42102011-09-20 Julien Danjou <julien@danjou.info>
4211
4212 * password-cache.el (password-cache-remove): Remove entries even if the
4213 value is nil, so that password with a nil value (negative caching) is
4214 possible to invalidate.
4215
f84e2fe2
LM
42162011-09-20 Lawrence Mitchell <wence@gmx.li>
4217
4218 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4219 all whitespace around breakpoint. (Bug#9553)
4220 (f90-find-breakpoint): Only break at whitespace inside a comment.
4221
78054a46
SM
42222011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4223
4224 * minibuffer.el (completion-file-name-table): Keep track of errors.
4225 (completion-table-with-predicate): Handle the case where pred1 is nil.
4226 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4227
345083b2
SM
42282011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4229
e24e27be
SM
4230 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4231 (debugger-return-value): Signal an error if the debugging context does
4232 not await any return value.
4233
345083b2
SM
4234 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4235 * image-mode.el (image-toggle-display-text)
4236 (image-toggle-display-image): Stay away from evil `intangible'.
4237
08d355e3
LL
42382011-09-19 Leo Liu <sdl.web@gmail.com>
4239
4240 * replace.el (occur-revert-arguments): Make it permanent-local.
4241 (occur-mode): Don't call font-lock-defontify.
4242
f01da43f
CY
42432011-09-19 Chong Yidong <cyd@stupidchicken.com>
4244
4245 * net/ldap.el (ldap-search-internal): Don't push empty search
4246 result (Bug#9508).
4247
b6072fa6
SM
42482011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4249
4250 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4251
443d6696
MA
42522011-09-19 Michael Albinus <michael.albinus@gmx.de>
4253
4254 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4255 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4256
7cc6e154
JL
42572011-09-18 Juri Linkov <juri@jurta.org>
4258
4259 * buff-menu.el (Buffer-menu-mode-map):
4260 * dired.el (dired-mode-map):
4261 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4262 (lisp-interaction-mode-map):
4263 * emacs-lisp/package.el (package-menu-mode-map):
4264 * epa.el (epa-key-list-mode-map):
4265 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4266 (menu-bar-options-menu):
4267 * outline.el (outline-mode-menu-bar-map):
4268 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4269 * vc/vc-dir.el (vc-dir-menu-map):
4270 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4271 Capitalize non-function content words in menu item strings.
4272
4273 * dired.el (dired-mode-map): Add menu item for
4274 `image-dired-dired-toggle-marked-thumbs'.
4275
80302a81
JL
42762011-09-18 Juri Linkov <juri@jurta.org>
4277
4278 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4279 to `isearch-case-fold-search' and restore its original value
4280 after the `isearch-mode' call.
4281
46c5cf66
JL
42822011-09-18 Juri Linkov <juri@jurta.org>
4283
4284 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4285 because `zgrep' returns 1 for successful matches (bug#9226).
4286
d18b513b
JL
42872011-09-18 Juri Linkov <juri@jurta.org>
4288
4289 * info.el (Info-extract-menu-node-name): Check the second match
4290 for empty string (second test-case of bug#9528).
4291 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4292 intermediate nodes to the history (first test-case of bug#9528).
4293
72753f87
JL
42942011-09-18 Juri Linkov <juri@jurta.org>
4295
4296 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4297 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4298
c9384295
JL
42992011-09-18 Juri Linkov <juri@jurta.org>
4300
1154d12e
JB
4301 * info.el (Info-file-supports-index-cookies):
4302 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4303 outputs one more line for long file names (bug#4142).
c9384295 4304
d473dce8
CY
43052011-09-18 Chong Yidong <cyd@stupidchicken.com>
4306
4307 * newcomment.el (comment-normalize-vars): If prompting for
4308 comment-start, set comment-start-skip too (Bug#8424).
4309
2176854d
JB
43102011-09-18 Johan Bockgård <bojohan@gnu.org>
4311
4312 * icomplete.el: Fix previous fix of Bug#5849.
4313 (icomplete-mode): Don't set completion-show-inline-help.
4314 (icomplete-minibuffer-setup): Set completion-show-inline-help
4315 locally during icompletion.
4316
3aace4e4
CY
43172011-09-18 Chong Yidong <cyd@stupidchicken.com>
4318
c940224f
CY
4319 * woman.el (woman2-process-escapes): Don't delete unrecognized
4320 escapes (Bug#7843).
4321
3aace4e4
CY
4322 * files.el (inhibit-first-line-modes-regexps): Add image files.
4323 (hack-local-variables-prop-line): Return nil for malformed
4324 prop-lines (Bug#9044).
4325
710dec63
MA
43262011-09-18 Michael Albinus <michael.albinus@gmx.de>
4327
4328 * net/tramp.el (top): Don't require 'shell.
4329 (tramp-methods): Fix docstring.
4330 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4331 Return complete remote file name. Handle "smb" case.
4332 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4333 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4334
4335 * net/tramp-compat.el (top): Require 'shell.
4336
4337 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4338 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4339 `tramp-current-host'.
4340 (tramp-get-remote-tmpdir): Remove.
4341
4342 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4343 `tramp-tmpdir' entries.
4344 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4345 (tramp-smb-handle-file-attributes): Ignore errors.
4346 (tramp-smb-wait-for-output): Check also for process end.
4347
5d5ac8ec
LMI
43482011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4349
4350 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4351 when sending QUIT (bug#9312).
4352
8c0f49f0
CY
43532011-09-17 Chong Yidong <cyd@stupidchicken.com>
4354
4355 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4356 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4357 occur-mode-display-occurrence.
4358 (occur-edit-mode): Add usage message.
4359 (occur-cease-edit): New command.
4360 (occur-after-change-function): Use text properties to find the
4361 position of the prefix text.
4362 (occur-engine): Set stickiness of prefix text properties.
4363
8f1383f7
GM
43642011-09-17 Glenn Morris <rgm@gnu.org>
4365
4366 * progmodes/etags.el (complete-tag):
4367 Fix call to completion-in-region. (Bug#9526)
4368
744ba0e3
JL
43692011-09-17 Juri Linkov <juri@jurta.org>
4370
4371 * textmodes/ispell.el (ispell-word): Add to the error message
4372 the word, ispell program name and current dictionary (bug#9121).
4373 (ispell-tex-arg-end): Capitalize "error" in the error message.
4374
d9bbf400
AS
43752011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4376
4377 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4378 check. (Bug#4251)
4379
8da11505
JL
43802011-09-17 Juri Linkov <juri@jurta.org>
4381
4382 * window.el (window-safe-min-height, window-safe-min-width):
4383 Fix typos (followup to bug#9522).
4384
a91adc7e
SJ
43852011-09-17 Sven Joachim <svenjoac@gmx.de>
4386
4387 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4388
064f328a
EZ
43892011-09-16 Eli Zaretskii <eliz@gnu.org>
4390
4391 * simple.el (line-move): If goal-column is set, move by logical
4392 lines, not by display lines. (Bug#971)
4393 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4394 to reflect the above change.
4395
e69df516
SM
43962011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4397
4398 * image.el (imagemagick-register-types): Use regexp-opt.
4399
cbb0f9ab
CY
44002011-09-15 Chong Yidong <cyd@stupidchicken.com>
4401
4402 * window.el (display-buffer-base-action): Rename from
4403 display-buffer-default-action. Make default value empty.
4404 (display-buffer-overriding-action): Convert to defvar.
4405 (display-buffer-fallback-action): New var.
4406
25322144
CY
44072011-09-15 Chong Yidong <cyd@stupidchicken.com>
4408
4409 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4410 declaration.
4411 (package--add-to-archive-contents): If there is a duplicate entry
4412 with an older version, remove it.
4413 (package-menu-mark-delete, package-menu-mark-install)
4414 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4415 (package-menu-mark-obsolete-for-deletion):
4416 Use package-menu-get-status instead of a regexp search.
25322144
CY
4417 (package-menu-get-status): Use tabulated-list-entry.
4418 (package-menu-mark-upgrades): New command.
d770725a 4419 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4420 (package-menu-execute): Do installation before deletion.
4421 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4422 instead of checking major-mode.
4423 (package-menu--find-upgrades): New function.
4424
7520339c
LMI
44252011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4426
4427 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4428 passwords in the log buffer.
65a046c4
LMI
4429 (smtpmail-process-filter): Update the process marker so that the
4430 "broken by peer" status message is inserted in the right place.
7520339c 4431
d3c30954
SM
44322011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4433
3fe48822
SM
4434 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4435 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4436 bibtex-completion-at-point-function.
4437 (bibtex-completion-at-point-function): Use them.
4438
1b8b3954
SM
4439 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4440
d3c30954
SM
4441 * mpc.el (mpc-constraints-tag-lookup): New function.
4442 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4443 also to browser "album|playlist".
4444
72779976
JL
44452011-09-14 Juri Linkov <juri@jurta.org>
4446
4447 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4448 (isearch-edit-string): Use length of `isearch-string' when
4449 `isearch-fail-pos' returns nil.
4450 (isearch-message): Remove duplicate code and call
4451 `isearch-fail-pos' with arg `t'.
4452
a0bf2bcd
CY
44532011-09-14 Chong Yidong <cyd@stupidchicken.com>
4454
17bb0a2d
CY
4455 * replace.el (occur-mode-goto-occurrence): Don't force using other
4456 window (Bug#9499).
4457
a0bf2bcd
CY
4458 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4459
f678e0b6
MR
44602011-09-14 Martin Rudalics <rudalics@gmx.at>
4461
4462 * window.el (display-buffer-window): Remove.
4463 (display-buffer-record-window): Use help-setup window parameter
4464 instead of variable display-buffer-window.
4465 (display-buffer-function, special-display-buffer-names)
4466 (special-display-function): Mention help-setup parameter instead
4467 of display-buffer-window in doc-string.
d3c30954
SM
4468 * help.el (help-window-setup): New argument help-window.
4469 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4470 Reword some messages.
4471 (with-help-window): Pass window used for displaying the buffer
4472 to help-window-setup. Don't set display-buffer-window.
4473
8e39b2e8
GM
44742011-09-13 Glenn Morris <rgm@gnu.org>
4475
4476 * emacs-lisp/debug.el (debugger-make-xrefs):
4477 Preserve point. (Bug#9462)
4478
85e9c04b
CY
44792011-09-13 Chong Yidong <cyd@stupidchicken.com>
4480
4481 * window.el (window-deletable-p): Use next-frame.
4482
1b36ed6a
MR
44832011-09-13 Martin Rudalics <rudalics@gmx.at>
4484
4485 * window.el (window-auto-delete): Remove.
4486 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4487 dedication and previous buffers.
1b36ed6a
MR
4488 (switch-to-prev-buffer): Don't delete window.
4489 (delete-windows-on): Delete a window's frame if and only if the
4490 window is dedicated.
4491 (replace-buffer-in-windows): Delete buffer's window or frame if
4492 and only if window is dedicated.
4493 (quit-window): Handle quit-restore as before last change.
4d61f28d 4494 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4495
ef8ef9fb
CY
44962011-09-13 Chong Yidong <cyd@stupidchicken.com>
4497
4498 * window.el (window-deletable-p): Never delete the last frame on a
4499 given terminal.
4500
b2cba41e
GM
45012011-09-13 Glenn Morris <rgm@gnu.org>
4502
4503 * help.el (describe-key-briefly): Copy previous standard-output change.
4504
51553db6 45052011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4506
4507 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4508
b7556719
GM
45092011-09-13 Glenn Morris <rgm@gnu.org>
4510
4511 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4512 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4513
64b51947
CY
45142011-09-12 Chong Yidong <cyd@stupidchicken.com>
4515
4516 * dired-aux.el (dired-mark-read-string): Don't return default
4517 value on empty input (Bug#9361).
4518 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4519 Omit initial minibuffer contents.
4520 (dired-do-chmod): Signal an error on empty input.
4521 (dired-mark-read-string): Don't return default on empty input.
4522
4523 * files.el (file-modes-symbolic-to-number): Doc fix.
4524
393a301e
SM
45252011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4526
4527 * international/mule-cmds.el (ucs-completions): Remove.
4528 (read-char-by-name): Use complete-with-action instead; add metadata.
4529
fa5660f9
CY
45302011-09-11 Chong Yidong <cyd@stupidchicken.com>
4531
4532 * window.el (display-buffer--action-function-custom-type)
4533 (display-buffer--action-custom-type): New vars.
4534 (display-buffer-alist, display-buffer-default-action)
4535 (display-buffer-overriding-action): Add defcustom types.
4536
4a592f66
CY
4537 * frame.el (delete-other-frames): Doc fix (Bug#276).
4538
73d56dbd
LMI
45392011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4540
4541 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4542
37ac18a3
CY
45432011-09-11 Chong Yidong <cyd@stupidchicken.com>
4544
4545 Change modes that used same-window-* vars to use switch-to-buffer.
4546
4547 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4548 Use switch-to-buffer.
4549
4550 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4551 (customize-browse, custom-buffer-create-other-window):
4552 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4553
4554 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4555 (Info-prev, Info-up, Info-speedbar-goto-node)
4556 (info-display-manual): Use switch-to-buffer.
4557 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4558
4559 * mail/sendmail.el (mail): Use switch-to-buffer.
4560 (mail-recover): Use switch-to-buffer-other-window.
4561
4562 * cmuscheme.el (run-scheme, switch-to-scheme):
4563 * ielm.el (ielm):
4564 * shell.el (shell):
4565 * net/rlogin.el (rlogin):
4566 * net/telnet.el (telnet, rsh):
4567 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4568
10195bd6
AS
45692011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4570
4571 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4572
b322f63a
LMI
45732011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4574
39d7fed6
LMI
4575 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4576 so don't mention it (bug#9301).
ba5a81f1 4577 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4578
ee0e9f11
LMI
4579 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4580 match `x', `w32' and `ns', like the manual says (bug#9029).
4581
0b1c89c1 4582 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4583 (process-kill-buffer-query-function): Mention the buffer name in
4584 the query.
0b1c89c1 4585
77549ea8
LMI
4586 * image-mode.el (image-next-line): The line parameter is mandatory
4587 (bug#9258).
4588
803ef892
LMI
4589 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4590 which can be useful (bug#9301).
4591
12980837
LMI
4592 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4593
91054f8f
LMI
4594 * subr.el (match-string): Mention that the current buffer should
4595 be the same as the search was done in (bug#9282).
4596
b322f63a
LMI
4597 * facemenu.el: Disable the remove-* commands if the mark isn't
4598 active (bug#9162).
4599
3199b96f
CY
46002011-09-10 Chong Yidong <cyd@stupidchicken.com>
4601
4602 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4603 of display-buffer.
4604 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4605
4606 * replace.el (occur-mode-goto-occurrence)
4607 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4608 and display-buffer.
4609
4610 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4611 display-buffer.
4612
4613 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4614 special-display and same-window variables.
4615 (mail-other-window): Use switch-to-buffer-other-window.
4616 (mail-other-frame): USe switch-to-buffer-other-frame.
4617
393a301e
SM
4618 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4619 Use display-buffer-other-frame.
3199b96f
CY
4620 (gdb-display-gdb-buffer): Use pop-to-buffer.
4621
4622 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4623
4624 * progmodes/python.el: Don't set same-window-buffer-names.
4625
4626 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4627
4628 * window.el (display-buffer-alist): Add *Python*.
4629
8319e0bf
CY
46302011-09-10 Chong Yidong <cyd@stupidchicken.com>
4631
4632 * window.el (display-buffer-alist): Add entry for buffers
4633 previously handled same-window-*.
4634 (display-buffer-alist, display-buffer-default-action)
4635 (display-buffer-overriding-action): Mark as risky.
4636 (display-buffer-alist): Document action function changes.
4637 (display-buffer--same-window-action)
4638 (display-buffer--other-frame-action): New variables.
4639 (switch-to-buffer, display-buffer-other-frame): Use them.
4640 (display-buffer): Rename reuse-frame entry to reusable-frames.
4641 (display-buffer-reuse-selected-window): Function deleted.
4642 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4643 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4644 (display-buffer-special): New function.
4645 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4646 display-buffer-reuse-or-pop-window. Split off special-display
4647 part into display-buffer-special.
4648 (display-buffer-use-some-window): Don't perform any special
4649 pop-up-frames handling.
4650 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4651 (display-buffer--maybe-same-window): Rename from
0d3ff375 4652 display-buffer-maybe-same-window.
8319e0bf 4653
919a69aa
CY
4654 * info.el: Don't set same-window-regexps.
4655 (info-setup): New function.
4656 (info-other-window, info): Call it.
4657
4658 * cus-edit.el: Don't set same-window-regexps.
4659 (customize-group): New argument.
4660 (customize-group-other-window): Use it.
4661 (customize-face, customize-face-other-window): Likewise.
4662 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4663
8319e0bf
CY
4664 * net/rlogin.el:
4665 * net/telnet.el:
4666 * progmodes/gud.el: Don't set same-window-regexps.
4667
4668 * cmuscheme.el:
4669 * ielm.el:
4670 * shell.el:
4671 * mail/sendmail.el:
4672 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4673
25173000
JL
46742011-09-10 Juri Linkov <juri@jurta.org>
4675
4676 * isearch.el (isearch-edit-string): Remove obsolete mention of
4677 `C-w' (`isearch-yank-word-or-char') from docstring.
4678 (isearch-query-replace): Fix typo in docstring (bug#9466).
4679
056e44ef
JL
46802011-09-10 Juri Linkov <juri@jurta.org>
4681
4682 * paren.el (show-paren-function): Don't show escaped parens.
4683 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4684
c3760c17
EZ
46852011-09-10 Eli Zaretskii <eliz@gnu.org>
4686
4687 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4688 (mm-default-file-encoding): Remove autoload forms, they are
4689 replaced with autoload cookies in mml.el and mm-encode.el.
4690 (mail-add-attachment): New command.
4691 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4692 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4693 the doc string.
4694 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4695
fece895e
RT
46962011-09-10 Reuben Thomas <rrt@sc3d.org>
4697
e69df516
SM
4698 * simple.el (count-words-region): Use buffer if there's no region
4699 (bug#9429).
fece895e 4700
5e68ce4a
JL
47012011-09-09 Juri Linkov <juri@jurta.org>
4702
4703 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4704 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4705 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4706
0a6b9622
AM
47072011-09-09 Alan Mackenzie <acm@muc.de>
4708
4709 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4710 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4711
14a29deb
EZ
47122011-09-09 Eli Zaretskii <eliz@gnu.org>
4713
4714 Fix for Savannah bug#9392.
4715 * simple.el (mail-encode-mml): New defvar.
4716
4717 * mail/rmail.el (mail-encode-mml): Add a defvar.
4718 (rmail-enable-mime-composing): Default to t.
4719 (rmail-forward): Use MIME method of forwarding only if both
4720 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4721 Set mail-encode-mml non-nil if the MIME method was used.
4722
4723 * mail/sendmail.el (mml-to-mime): Add autoload form.
4724 (mail-encode-mml): Add a defvar.
4725 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4726 to nil.
4727 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4728 message through mml-to-mime, and reset mail-encode-mml to nil.
4729
28c45130
GM
47302011-09-09 Glenn Morris <rgm@gnu.org>
4731
4732 * woman.el (woman-if-body): When processing an .el block,
4733 do not delete the next .el block as well. (Bug#9447)
69f4b618 4734 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4735
9b1c252e
MR
47362011-09-08 Martin Rudalics <rudalics@gmx.at>
4737
4738 * window.el (window-deletable-p): Make sure window is live before
4739 invoking window-prev-buffers.
4740
567457e3
LL
47412011-09-08 Leo Liu <sdl.web@gmail.com>
4742
4743 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4744
97f05794
JL
47452011-09-08 Juri Linkov <juri@jurta.org>
4746
4747 * progmodes/compile.el (compilation-environment): Make it
4748 a defcustom (bug#8340).
4749
8b0874b5
MR
47502011-09-08 Martin Rudalics <rudalics@gmx.at>
4751
4752 * window.el (frame-auto-delete): Rename to window-auto-delete.
4753 Make it control auto-deletion of windows and/or frames.
4754 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4755 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4756 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4757 Rewrite handling of case when window/frame can be deleted.
4758 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4759 argument t. (Bug#9456)
8b0874b5 4760
4feb6e73
CY
47612011-09-07 Chong Yidong <cyd@stupidchicken.com>
4762
4763 * help-mode.el (help-mode): Restore autoload.
4764
91ab9c13
JL
47652011-09-07 Juri Linkov <juri@jurta.org>
4766
4767 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4768 `compilation-environment'. Set buffer-local
4769 `compilation-environment' to `thisenv' later after (funcall mode).
4770 (Bug#8340)
4771
4772 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4773 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4774 instead of replacing its value. (Bug#8340)
4775
0527e251
JL
47762011-09-07 Juri Linkov <juri@jurta.org>
4777
4778 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4779 based on text properties put by `grep-filter' instead of matching
4780 escape sequences.
4781 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4782 to the value of `grep-error-screen-columns' (bug#9438).
4783
249f792c
JL
47842011-09-07 Juri Linkov <juri@jurta.org>
4785
4786 * simple.el (next-error-highlight, next-error-highlight-no-select):
4787 Doc fix (bug#9432).
4788
ff7271b9
OT
47892011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4790
4791 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4792 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4793
183fc730
LL
47942011-09-07 Leo Liu <sdl.web@gmail.com>
4795
4796 * net/rcirc.el (rcirc-mode): Conditionally initialize
4797 rcirc-input-ring.
4798
77694924
SM
47992011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4800
4801 * emacs-lisp/find-func.el (find-function-C-source): Only set
4802 find-function-C-source-directory after checking that we found a source
4803 file there (bug#9440).
4804
d809b8eb
AM
48052011-09-06 Alan Mackenzie <acm@muc.de>
4806
4807 * isearch.el (isearch-other-meta-char): Wherever a key list is
4808 unread, "unread" the prefix arg, too. This fixes bug #8901.
4809
453de99f
OG
48102011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4811
4812 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4813
90439906
JL
48142011-09-05 Juri Linkov <juri@jurta.org>
4815
4816 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4817
f62bd846
JL
48182011-09-05 Juri Linkov <juri@jurta.org>
4819
4820 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4821 keeping point where processing of grep matches begins, and
4822 continue to delete remaining escape sequences from the same point.
4823 (grep-filter): Make leading zero optional in "0?1;31m" because
4824 git-grep emits "\033[1;31m" escape sequences unlike expected
4825 "\033[01;31m" as GNU Grep does (bug#9408).
4826 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4827
045820ec
JL
48282011-09-05 Juri Linkov <juri@jurta.org>
4829
4830 * subr.el (y-or-n-p): Capitalize "yes".
4831
f5e29b9b
MA
48322011-09-04 Michael Albinus <michael.albinus@gmx.de>
4833
4834 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4835 `tramp-cache-unload-hook' where appropriate.
4836 (tramp-methods): Rename `tramp-remote-sh' to
4837 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4838 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4839
4840 * net/tramp-sh.el (top): Don't require 'shell.
4841 (tramp-methods): Add `tramp-remote-shell' and
4842 `tramp-remote-shell-args' entries.
4843 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4844 (tramp-sh-handle-shell-command): Remove.
4845 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4846 Use `tramp-remote-shell'.
4847
2784c434
CY
48482011-09-03 Chong Yidong <cyd@stupidchicken.com>
4849
393a301e 4850 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4851 (sendmail-query-once): Save directly to send-mail-function.
4852 Update message-send-mail-function too.
4853
4854 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4855
464cdf56
CS
48562011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4857
4858 * progmodes/python.el (python-mode-map): Use correct function to
4859 start python interpreter from menu-bar (as reported by Geert
4860 Kloosterman).
4861 (inferior-python-mode-map): Fix typo.
393a301e 4862 (python-shell-map): Remove.
464cdf56 4863
d37e5c87
DD
48642011-09-03 Deniz Dogan <deniz@dogan.se>
4865
4866 * net/rcirc.el (rcirc-print): Simplify code for
4867 rcirc-scroll-show-maximum-output. There is no need to walk
4868 through all windows to find the right one.
4869
f3ada0ee
CS
48702011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4871
4872 * help.el (help-return-method): Doc fix.
4873
1f3c99ca
MR
48742011-09-03 Martin Rudalics <rudalics@gmx.at>
4875
4876 * window.el (window-deletable-p): Don't return a non-nil value
4877 when there's a buffer that was shown in the window before.
4878 (Bug#9419)
393a301e
SM
4879 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4880 Set window's previous buffers to nil.
1f3c99ca 4881
a3cf097f
EZ
48822011-09-03 Eli Zaretskii <eliz@gnu.org>
4883
4884 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4885 newline before and after the tag line, so it doesn't interfere
4886 with determining the paragraph direction of bidirectional text.
4887
3d03de90
LL
48882011-09-03 Leo Liu <sdl.web@gmail.com>
4889
4890 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
4891
c3313451
CY
48922011-09-02 Chong Yidong <cyd@stupidchicken.com>
4893
393a301e 4894 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
4895 (pop-to-buffer): Change interactive spec. Pass second argument
4896 directly to display-buffer.
4897 (display-buffer): Fix interactive spec. Use functionp to
4898 distinguish between a function and a list of functions.
4899
4900 * abbrev.el (edit-abbrevs):
4901 * arc-mode.el (archive-extract):
4902 * autoinsert.el (auto-insert):
4903 * bookmark.el (bookmark-bmenu-list):
4904 * files.el (find-file):
4905 * view.el (view-buffer):
4906 * progmodes/compile.el (compilation-goto-locus):
4907 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4908
89894cd8
CY
49092011-09-02 Chong Yidong <cyd@stupidchicken.com>
4910
4911 * window.el (display-buffer-alist): Doc fix.
4912 (display-buffer): Add docstring. Don't treat
4913 display-buffer-default specially.
4914 (display-buffer-reuse-selected-window)
4915 (display-buffer-same-window, display-buffer-maybe-same-window)
4916 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4917 (display-buffer-pop-up-window)
4918 (display-buffer-reuse-or-pop-window)
4919 (display-buffer-use-some-window): New functions.
4920 (display-buffer-default-action): Use them.
393a301e 4921 (display-buffer-default): Delete.
89894cd8
CY
4922 (pop-to-buffer-1): Fix choice of actions.
4923
ae0bc9fb
SM
49242011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 * minibuffer.el (completion--insert-strings): Don't get confused by
4927 completion entries that end with an LF char.
4928
e9d90883
EZ
49292011-09-01 Eli Zaretskii <eliz@gnu.org>
4930
4931 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4932
437014c8
CY
49332011-09-01 Chong Yidong <cyd@stupidchicken.com>
4934
4935 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
4936 (display-buffer-same-window, display-buffer-other-window):
4937 New functions.
437014c8
CY
4938 (pop-to-buffer-1): New function. Use the above.
4939 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 4940 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
4941
4942 * view.el (view-buffer-other-window, view-buffer-other-frame):
4943 Just use pop-to-buffer.
4944
a5e063d5
TV
49452011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4946
4947 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
4948
793d32bb
WH
49492011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
4950
4951 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
4952
d65e4c15
RS
49532011-08-31 Richard Stallman <rms@gnu.org>
4954
4955 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4956 of the separation of rmail-view-buffer from rmail-buffer.
4957 If you say no to "replace original", the decrypt is in the
4958 view buffer. If you say yes, the decrypt goes into the
4959 rmail buffer also.
4960
f818cd2a
MR
49612011-08-31 Martin Rudalics <rudalics@gmx.at>
4962
4963 * window.el (display-buffer-window): Rewrite doc-string.
4964 (display-buffer-record-window): New function.
4965 (display-buffer-macro-specifiers)
4966 (display-buffer-even-window-sizes, display-buffer-set-height)
4967 (display-buffer-set-width, display-buffer-in-window)
4968 (display-buffer-reuse-window, display-buffer-split-specifiers)
4969 (display-buffer-side-specifiers, display-buffer-split-window-1)
4970 (display-buffer-split-window, display-buffer-split-atom-window)
4971 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4972 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
4973 (display-buffer-other-window-means-other-frame)
4974 (display-buffer-normalize-special)
4975 (display-buffer-normalize-default)
4976 (display-buffer-normalize-argument)
4977 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
4978 (display-buffer-normalize-specifiers, display-buffer-frame)
4979 (display-buffer-same-window, display-buffer-same-frame)
4980 (display-buffer-other-window)
4981 (display-buffer-same-frame-other-window)
4982 (display-buffer-other-frame, pop-to-buffer-same-window)
4983 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
4984 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
4985 (switch-to-buffer-same-frame)
4986 (switch-to-buffer-other-window-same-frame)
4987 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
4988 (display-buffer-alist-set-1, display-buffer-alist-set-2)
4989 (display-buffer-alist-set): Remove.
4990 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
4991 (special-display-regexps, special-display-function):
4992 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
4993 parameter.
4994 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
4995 (special-display-frame-alist, special-display-popup-frame)
4996 (same-window-buffer-names, same-window-regexps, same-window-p)
4997 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4998 (split-window-preferred-function, split-height-threshold)
4999 (split-width-threshold, window-splittable-p)
5000 (split-window-sensibly, window--try-to-split-window)
5001 (window--frame-usable-p, even-window-heights)
5002 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5003 (window--display-buffer-2, display-buffer-other-frame):
5004 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5005 (display-buffer-default, display-buffer-assq-regexp): New functions.
5006 (display-buffer-alist): Rewrite doc-string.
5007 (display-buffer-default-action)
5008 (display-buffer-overriding-action): New variables.
5009 (display-buffer, switch-to-buffer): Rewrite.
5010 (pop-to-buffer): Restore Emacs 23 behavior but use
5011 window-normalize-buffer-to-display.
5012 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5013 Restore Emacs 23 behavior but use
5014 window-normalize-buffer-to-switch-to.
5015 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5016 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5017 Rewrite using Emacs 23 options.
f818cd2a 5018
5bc3b51d
MA
50192011-08-31 Michael Albinus <michael.albinus@gmx.de>
5020
5021 * net/tramp.el (tramp-root-regexp): Remove.
5022 (tramp-completion-file-name-regexp-unified)
5023 (tramp-completion-file-name-regexp-separate)
5024 (tramp-completion-file-name-regexp-url): Don't use leading volume
5025 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5026 (tramp-drop-volume-letter): Simplify definition.
5027 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5028
b1a4f8e1
SM
50292011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5030
5031 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5032 (bug#9356).
5033
5664fa7b
RT
50342011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5035
b1a4f8e1 5036 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5037
9a45d6c3
JL
50382011-08-29 Juri Linkov <juri@jurta.org>
5039
5040 * isearch.el (isearch-done): Don't display message "Mark saved"
5041 when arg `edit' is non-nil to prevent its flicker in the echo area.
5042
fb87e0fb
CY
50432011-08-28 Chong Yidong <cyd@stupidchicken.com>
5044
5045 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5046 obsolete packages for deletion.
5047
09ac1c2a
CS
50482011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5049
5050 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5051 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5052 view-mode from help-mode.
5053 (help-xref-override-view-map): Remove.
5054 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5055 view-mode is not used anymore.
5056
7a1ff57f
CY
50572011-08-28 Chong Yidong <cyd@stupidchicken.com>
5058
5059 * server.el (server-port): Doc fix.
5060
b9696605
CY
5061 * cus-theme.el (custom-theme-choose-mode): Inherit from
5062 special-mode (Bug#9124).
5063 (custom-theme-choose-mode-map): Add special-mode to parent.
5064
ef8cdf8c
AM
50652011-08-28 Alan Mackenzie <acm@muc.de>
5066
5067 * progmodes/cc-fonts.el
5068 (c-make-font-lock-BO-decl-search-function): New function.
5069 (c-basic-matchers-after - "Fontify the clauses after various
5070 keywords"): Extract the three keyword lists for the 3 erroneous
5071 constructs from the list of four, and use the new function above
5072 in place of an old one.
5073
27de4e20
DD
50742011-08-28 Deniz Dogan <deniz@dogan.se>
5075
5076 * net/rcirc.el (rcirc-insert-prev-input)
5077 (rcirc-insert-next-input): Remove unused argument.
5078
356a3681
SM
50792011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5080
5081 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5082
3fc9b218
AM
50832011-08-27 Alan Mackenzie <acm@muc.de>
5084
5085 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5086 handle function pointer parameters properly.
5087
538a061c
MR
50882011-08-27 Martin Rudalics <rudalics@gmx.at>
5089
5090 * window.el (display-buffer-reuse-window): Fix case where
5091 selected window was reused with non-nil OTHER-WINDOW argument.
5092 (Bug#9381)
5093
35b1c40c
DD
50942011-08-27 Deniz Dogan <deniz@dogan.se>
5095
5096 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5097 oftc's NickServ messages.
5098
2f6a3e79
GM
50992011-08-27 Glenn Morris <rgm@gnu.org>
5100
5101 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5102
7254299e
CY
51032011-08-26 Chong Yidong <cyd@stupidchicken.com>
5104
5105 * emacs-lisp/package.el (package-install): Call package-initialize
5106 if called interactively.
5107
f8ccf167
LL
51082011-08-26 Leo Liu <sdl.web@gmail.com>
5109
5110 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5111
3e8cd5ce
JL
51122011-08-25 Juri Linkov <juri@jurta.org>
5113
5114 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5115 `search-whitespace-regexp' (bug#9364).
5116
93eb7113
JL
51172011-08-25 Juri Linkov <juri@jurta.org>
5118
5119 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5120 `regexp-search-ring' to their global values to protect from
5121 updating by `read-from-minibuffer' (bug#9185).
5122
f65d1611
JL
51232011-08-25 Juri Linkov <juri@jurta.org>
5124
5125 * textmodes/ispell.el (ispell-command-loop): Add newline
5126 at the end of the "Use option `i'..." line.
5127
f1cf7a31
JL
51282011-08-25 Juri Linkov <juri@jurta.org>
5129
5130 * battery.el (display-battery-mode): If `battery-status-function'
5131 or `battery-mode-line-format' is nil, display the message and set
5132 `display-battery-mode' to nil (bug#9363).
5133
0c95fcf7
EZ
51342011-08-25 Eli Zaretskii <eliz@gnu.org>
5135
5136 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5137 bidi-string-mark-left-to-right; they are unnecessary now.
5138
a2ebe600
DD
51392011-08-25 Deniz Dogan <deniz@dogan.se>
5140
5141 * net/quickurl.el: Documentation typo fixes.
5142
e4ed06f1
CY
51432011-08-25 Chong Yidong <cyd@stupidchicken.com>
5144
5145 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5146
e5f1c99e
GM
51472011-08-25 Glenn Morris <rgm@gnu.org>
5148
b2948976
GM
5149 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5150
e5f1c99e
GM
5151 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5152 (smtpmail-via-smtp): Handle nil response from smtp.
5153
f22f4808
JL
51542011-08-24 Juri Linkov <juri@jurta.org>
5155
5156 * proced.el (proced-marked): Inherit from `error' instead of
5157 `font-lock-warning-face'.
5158
5159 * ibuffer.el (ibuffer-marked-face): Change default face from
5160 `font-lock-warning-face' to `warning'.
5161 (ibuffer-deletion-face): Change default face from
5162 `font-lock-type-face' to `error'.
5163
5164 * battery.el (battery-update): Use the face `error' instead of
5165 `font-lock-warning-face' (bug#6117).
5166
6a93965e
JL
51672011-08-24 Juri Linkov <juri@jurta.org>
5168
5169 * faces.el (success): Change face color from "Green3" to
5170 "ForestGreen" on light background (bug#9353).
5171
1ed43b09
CY
51722011-08-24 Chong Yidong <cyd@stupidchicken.com>
5173
5664fa7b
RT
5174 * window.el (quit-window): Rename from quit-restore-window.
5175 Use same arglist as old quit-window.
1ed43b09
CY
5176 (frame-auto-delete): Doc fix.
5177
5178 * view.el (view-mode-exit): Use quit-window.
5179
11dcdbb2
JL
51802011-08-24 Juri Linkov <juri@jurta.org>
5181
5182 * isearch.el (isearch-ring-adjust1): Start visiting previous
5183 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5184 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5185 for empty search string (when the last search string is reused
5186 automatically) to adjust the isearch ring to the last element and
5187 prepare the correct index for further M-p commands (bug#9185).
5188
de62b4df
KH
51892011-08-24 Kenichi Handa <handa@m17n.org>
5190
5191 * international/ucs-normalize.el: If decomposition property of
5192 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5193 nil.
5194 (nfd, nfkd): Likewise.
5195
963b492b
SM
51962011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5199 from process filters aren't reliably transmitted to the surrounding
5200 accept-process-output.
5201 (mpc-proc-check): New function.
5202 (mpc-proc-sync): Use it (bug#8293)
5203
93b6b5e1
SM
52042011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5205
5206 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5207 Add compatibility functions (bug#9313).
5208
bca633fb
EZ
52092011-08-23 Eli Zaretskii <eliz@gnu.org>
5210
b177498a
EZ
5211 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5212
6df6ae42 5213 * international/uni-bidi.el: Regenerate.
bca633fb 5214
0902a04e
KH
52152011-08-23 Kenichi Handa <handa@m17n.org>
5216
5217 * international/charprop.el:
5218 * international/uni-bidi.el:
5219 * international/uni-category.el:
5220 * international/uni-combining.el:
5221 * international/uni-comment.el:
5222 * international/uni-decimal.el:
5223 * international/uni-decomposition.el:
5224 * international/uni-digit.el:
5225 * international/uni-lowercase.el:
5226 * international/uni-mirrored.el:
5227 * international/uni-name.el:
5228 * international/uni-numeric.el:
5229 * international/uni-old-name.el:
5230 * international/uni-titlecase.el:
5231 * international/uni-uppercase.el: Regenerate.
5232
3bbf23bc
MR
52332011-08-23 Martin Rudalics <rudalics@gmx.at>
5234
5235 * help.el (help-window-setup): Fix message displayed when other
5236 window is reused. (Bug#9341)
5237
b3fd59bd
SM
52382011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5239
1802e444
SM
5240 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5241 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5242
b3fd59bd
SM
5243 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5244 Mark obsolete.
5245 * shell.el (shell-parse-pcomplete-arguments): New function.
5246 (shell-completion-vars): Use it instead (bug#9160).
5247
4eb61348
SM
52482011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5249
867cab74
SM
5250 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5251 strings and comments (bug#9333).
5252
4eb61348
SM
5253 * emacs-lisp/debug.el (debug-arglist): New function.
5254 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5255 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5256
262a1439
JL
52572011-08-22 Juri Linkov <juri@jurta.org>
5258
56ee679c
JL
5259 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5260 Revert regexp that highlights output switches to its old
5261 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5262
262a1439
JL
5263 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5264 to check for empty output (bug#9226).
5265
f13f86fb
CY
52662011-08-22 Chong Yidong <cyd@stupidchicken.com>
5267
5268 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5269 symbol-constituent as the default, as that stops font-lock from
5270 working properly (Bug#8843).
5271
c65c9622
LMI
52722011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5273
5274 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5275 `coding-system-for-*' around the process open call to avoid
5276 auth-source side effects.
e7f2c178 5277 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5278 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5279 probe hangs.
c65c9622 5280
23a8a5ab
CY
52812011-08-21 Chong Yidong <cyd@stupidchicken.com>
5282
ff98b2dd
CY
5283 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5284
23a8a5ab
CY
5285 * emacs-lisp/find-func.el (find-function-noselect): New arg
5286 lisp-only.
5287
5288 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5289 signal an error for built-in functions (Bug#6664).
5290
f5e3c598
LMI
52912011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5292
5293 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5294 (smtpmail-try-auth-methods): Use it.
5295
a3f2468a
CY
52962011-08-21 Chong Yidong <cyd@stupidchicken.com>
5297
2c34e8da
CY
5298 * font-lock.el (font-lock-fontify-region)
5299 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5300 (font-lock-default-unfontify-buffer)
5301 (font-lock-default-fontify-region)
5302 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5303
b3fd59bd
SM
5304 * progmodes/compile.el (compilation-error-properties):
5305 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5306 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5307 `ant' regexp.
ee31aabc 5308
a3f2468a
CY
5309 * net/browse-url.el (browse-url-firefox): Don't call
5310 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5311
8e999f70
GM
53122011-08-20 Glenn Morris <rgm@gnu.org>
5313
c21a496a
GM
5314 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5315
59ee0542
GM
5316 * tutorial.el (tutorial--default-keys): Update some default bindings.
5317
8e999f70
GM
5318 * files.el (hack-local-variables): Fully ignore case for "mode:".
5319
e3715033
AM
53202011-08-20 Alan Mackenzie <acm@muc.de>
5321
5322 Resolve invalid use of a regexp in regexp-opt.
5323
4d61f28d
JB
5324 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5325 detection for a java annotation.
e3715033 5326
4d61f28d 5327 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5328 detection for a java annotation.
5329
4d61f28d
JB
5330 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5331 handling for java.
e3715033
AM
5332 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5333
04ed2e9c
CY
53342011-08-20 Chong Yidong <cyd@stupidchicken.com>
5335
5336 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5337 (Bug#9274).
5338
826cee64
AM
53392011-08-20 Alan Mackenzie <acm@muc.de>
5340
58179cce 5341 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5342 such a construct. Mainly for when jit-lock etc. starts a chunk
5343 here.
5344
58179cce 5345 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5346 variable.
58179cce 5347 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5348 c-make-font-lock-search-function.
5349 (c-make-font-lock-search-function): Use the above function.
5350 (c-make-font-lock-context-search-function): New function.
5351 (c-cpp-matchers): Enhance the preprocessor expression case with
5352 the above function
5353 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5354 which takes an expression.
5355
5356 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5357
13009bd8
MR
53582011-08-20 Martin Rudalics <rudalics@gmx.at>
5359
5360 * window.el (display-buffer-reuse-window)
5361 (display-buffer-pop-up-window): Don't reuse or split a side
5362 window.
5363
9234ff7f
GM
53642011-08-19 Glenn Morris <rgm@gnu.org>
5365
5366 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5367 Downcase "Mode:". (Bug#9331)
9234ff7f 5368
f635daa1
CY
53692011-08-18 Chong Yidong <cyd@stupidchicken.com>
5370
5371 * international/characters.el: Add L and R categories.
5372
5373 * subr.el (bidi-string-mark-left-to-right): Rename from
5374 string-mark-left-to-right. Use category search.
5375
5376 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5377
bc987f8b
JL
53782011-08-18 Juri Linkov <juri@jurta.org>
5379
5380 * faces.el (error, warning, success): New faces with definitions
5381 copied from old default values of `font-lock-warning-face',
5382 `compilation-warning', `compilation-info' (bug#6117).
5383
5384 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5385
5386 * progmodes/compile.el (compilation-error): Inherit from `error'.
5387 (compilation-warning): Inherit from `warning'.
5388 (compilation-info): Inherit from `success'.
5389
5390 * dired.el (dired-marked): Inherit from `warning'.
5391 (dired-flagged): Inherit from `error'.
5392
57173b96
LMI
53932011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5394
3e79eb87
LMI
5395 * mail/smtpmail.el (auth-source): Require to avoid problems with
5396 binding variables (bug#9298). Also clean up some unused
5397 autoloads.
5398
b3fd59bd
SM
5399 * net/network-stream.el (network-stream-open-starttls):
5400 Support using starttls.el without using gnutls-cli.
57173b96 5401
02b404de
JL
54022011-08-17 Juri Linkov <juri@jurta.org>
5403
5404 * progmodes/grep.el (rgrep): Handle the case when
5405 `grep-find-command' is a cons cell (bug#9278).
5406
8c9177f2
MR
54072011-08-17 Martin Rudalics <rudalics@gmx.at>
5408
5409 * window.el (display-buffer-pop-up-frame): Run frame creation
5410 function with BUFFER current (as special-display-popup-frame
5411 does). Reported by Drew Adams.
5412
3644a0ab
DU
54132011-08-17 Daiki Ueno <ueno@unixuser.org>
5414
5415 * epa-mail.el: Simplify GnuPG group expansion using
5416 epg-expand-group.
5417 (epa-mail-group-alist, epa-mail-group-modtime)
5418 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5419 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5420 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5421 Remove.
5422
5e617bc2 54232011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5424
5425 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5426
9c4aeabf
AM
54272011-08-16 Alan Mackenzie <acm@muc.de>
5428
5429 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5430 Correct, to avoid the inside of macros.
5431
3a99bf64
RS
54322011-08-16 Richard Stallman <rms@gnu.org>
5433
04963aa8
RS
5434 * epa-mail.el: Handle GnuPG group definitions.
5435 (epa-mail-group-alist, epa-mail-group-modtime)
5436 (epa-mail-gnupg-conf-file): New variables.
5437 (epa-mail-parse-groups, epa-mail-sync-groups)
5438 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5439 (epa-mail-expand-recipients): New functions.
5440 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5441
177549d0
RS
5442 * mail/rmail.el (rmail-epa-decrypt): New command.
5443
fe38beef
RS
5444 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5445 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5446 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5447 (epa-decrypt-armor-in-region): Make error message clearer.
5448
934eacb9
SM
54492011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5450
5451 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5452 and "a2b" to "ab" for `prefix'.
5453
d024fb4e
CY
54542011-08-14 Chong Yidong <cyd@stupidchicken.com>
5455
5456 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5457 filter groups.
de148fee
CY
5458 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5459 Fourquet (Bug#8804).
d024fb4e 5460
62f1ca49
JB
54612011-08-12 Juanma Barranquero <lekktu@gmail.com>
5462
5463 * startup.el (argi): Declare as global variable (bug#9275).
5464
9ccaaa4b
CY
54652011-08-12 Chong Yidong <cyd@stupidchicken.com>
5466
5467 * subr.el (string-mark-left-to-right): Search the entire string
5468 for RTL script, not just the terminating character. Doc fix.
5469
a3dae87a
SM
54702011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5471
6cd18349
SM
5472 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5473 New function.
5474 (js--regexp-literal, js-syntax-propertize-function): Remove.
5475 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5476 (js-mode-map): Don't rebind electric keys.
5477 (js-insert-and-indent): Remove.
5478 (js-mode): Setup electric-layout and electric-indent instead.
5479
a3dae87a
SM
5480 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5481
9d5cb631
DU
54822011-08-12 Daiki Ueno <ueno@unixuser.org>
5483
5484 * epa.el (epa-progress-callback-function): Fix the logic of
5485 displaying progress.
5486 * epa-file.el (epa-file-insert-file-contents): Make progress
5487 display more user-friendly.
5488 (epa-file-write-region): Ditto.
5489
3e26a4a2
CY
54902011-08-10 Chong Yidong <cyd@stupidchicken.com>
5491
5492 * subr.el (string-mark-left-to-right): New function.
5493
5494 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5495 Use string-mark-left-to-right.
5496 (list-buffers-noselect): Caller changed.
5497
a3dae87a
SM
5498 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5499 Use string-mark-left-to-right.
3e26a4a2
CY
5500 (tabulated-list-print): Recenter after moving point.
5501
ac8cf6e6
JL
55022011-08-10 Juri Linkov <juri@jurta.org>
5503
5504 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5505 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5506 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5507
8d96c9a4
CY
55082011-08-09 Chong Yidong <cyd@stupidchicken.com>
5509
5510 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5511 (Bug#7554).
5512
7be1c708 55132011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5514
5515 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5516 character. (Bug#6594)
5517
37e11a63
CY
55182011-08-08 Chong Yidong <cyd@stupidchicken.com>
5519
839dde57
CY
5520 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5521 (image-dired--with-db-file): New macro.
5522 (image-dired-write-tags, image-dired-remove-tag)
5523 (image-dired-create-gallery-lists, image-dired-write-comments)
5524 (image-dired-get-comment, image-dired-mark-tagged-files)
5525 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5526 (image-dired-gallery-generate): Use insert-file-contents.
5527
37e11a63
CY
5528 * time.el (display-time-world-list, display-time-world-display):
5529 * time-stamp.el (time-stamp-string):
5530 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5531 set-time-zone-rule (Bug#7337).
5532
0b4946c4
DU
55332011-08-08 Daiki Ueno <ueno@unixuser.org>
5534
5535 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5536 (epg-error-to-string, epg-errors-to-string): New function.
5537 (epg-wait-for-completion): Reverse errors list.
5538 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5539 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5540 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5541 (epg-sign-keys, epg-generate-key-from-file)
5542 (epg-generate-key-from-string): Format errors by using
5543 epg-errors-to-string (bug#9255).
5544 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5545
75bfc667
JL
55462011-08-07 Juri Linkov <juri@jurta.org>
5547
5548 * faces.el (list-faces-display): Remove extra angle bracket
5549 from `help-mode-map'.
5550
5551 * info.el (Info-history-toc-nodes): Doc fix.
5552
5553 * longlines.el (longlines-mode): Doc fix.
5554
673e08bb
SM
55552011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5556
4640dd88
SM
5557 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5558 of statements and in a few more cases (bug#9183).
5559
673e08bb
SM
5560 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5561 New functions.
5562 (cl-transform-lambda): Use them (bug#9239).
5563
89b3f019
MR
55642011-08-05 Martin Rudalics <rudalics@gmx.at>
5565
5566 * window.el (display-buffer-same-window)
5567 (display-buffer-same-frame, display-buffer-other-window)
5568 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5569 (pop-to-buffer-other-window)
5570 (pop-to-buffer-same-frame-other-window)
5571 (pop-to-buffer-other-frame): Make them defuns.
5572 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5573
640c8776
SM
55742011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5575
5576 * subr.el (make-composed-keymap): Move from C. Change calling
5577 convention, and improve docstring to bring attention to a subtle point.
5578 * minibuffer.el (completing-read-default): Adjust accordingly.
5579
63648a95
MA
55802011-08-03 Michael Albinus <michael.albinus@gmx.de>
5581
5582 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5583 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5584
5585 * net/trampver.el: Update release number.
5586
b796c9b7
SM
55872011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5588
5589 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5590 "in" (bug#9190).
5591
2239d7d5
LMI
55922011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5593
e07dd7c3
LMI
5594 * mail/sendmail.el (sendmail-query-once): Restore the current
5595 buffer after querying (bug#9074).
5596
0e6a2bd7
LMI
5597 * dired.el (dired-flagged): Use different faces for marked and
5598 flagged files (bug#6117).
5599
ce887515
LMI
5600 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5601 (bug#4433).
5602
92f2affc
LMI
5603 * ido.el (ido-mode): Switch off the message if called
5604 non-interactively.
5605
57d5aff0
LMI
5606 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5607 before 587, since it appears that that's more likely to work for
5608 more people.
5609
98cd6c18 5610 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5611 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5612 exist.
5613
b96dec83
LMI
5614 * info.el: Remove the `Info-beginning-of-buffer' function
5615 (bug#8325).
5616
b796c9b7
SM
5617 * net/network-stream.el (network-stream-open-starttls):
5618 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5619
d90e2ea0
MR
56202011-08-01 Martin Rudalics <rudalics@gmx.at>
5621
5622 * window.el (display-buffer-in-window): Don't set dedicated status
5623 of window here (Bug#9215).
5624 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5625 (display-buffer-pop-up-side-window)
b796c9b7 5626 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5627
cca09170
SM
56282011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5629
5630 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5631 before binding generated-autoload-file.
5632
027b979c
DD
56332011-08-01 Deniz Dogan <deniz@dogan.se>
5634
5635 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5636
3c7ee4f3
MA
56372011-07-30 Michael Albinus <michael.albinus@gmx.de>
5638
5639 Sync with Tramp 2.2.2.
5640
5641 * net/trampver.el: Update release number.
5642
2cc8e51a
JL
56432011-07-30 Juri Linkov <juri@jurta.org>
5644
5645 * dired-aux.el (dired-touch-initial): Remove function.
5646 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5647 current time, and `default' to the last modification time of the
5648 current marked file (bug#6887).
5649
a514d856
JM
56502011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5651
5652 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5653 numeric argument to read-number (bug#9163).
a514d856 5654
8a7eddd7
MA
56552011-07-27 Michael Albinus <michael.albinus@gmx.de>
5656
5657 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5658 connection process, it could be nil.
5659
1ddd96f5
LL
56602011-07-27 Leo Liu <sdl.web@gmail.com>
5661
5662 Simplify url handling in rcirc-mode.
5663
5664 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5665 (rcirc-browse-url-at-mouse): Remove.
5666 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5667
b248a85d
AM
56682011-07-26 Alan Mackenzie <acm@muc.de>
5669
5670 Fontify bitfield declarations properly.
5671
5672 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5673 (c-symbol-chars): Now exported as a lang variable.
5674 (c-not-primitive-type-keywords): New lang variable.
5675
5676 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5677 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5678 parsed as a bitfield declaration.
b248a85d 5679
b796c9b7
SM
5680 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5681 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5682 (c-punctuation-in): New function.
5683 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5684 declarations properly.
5685
68575ab0
UJ
56862011-07-26 Ulf Jasper <ulf.jasper@web.de>
5687
5688 * calendar/icalendar.el (icalendar--all-events): Take care of
5689 multiple vcalendars in a single file.
b796c9b7 5690 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5691
0f0a88b9
DD
56922011-07-25 Deniz Dogan <deniz@dogan.se>
5693
5694 * image.el (insert-image): Clarifying docstring.
5695
0b3f36df
MA
56962011-07-24 Michael Albinus <michael.albinus@gmx.de>
5697
5698 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5699 `tramp-send-command-and-check' if there is no error.
5700 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5701
a9901f61
AM
57022011-07-22 Alan Mackenzie <acm@muc.de>
5703
5704 Prevent cc-langs.elc being loaded at run time.
5705
5706 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5707 cc-langs.
5708
4d61f28d 5709 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5710 "(require 'cc-langs)". Quote a form so it will evaluate at
5711 (cc-mode's) compilation time.
5712
11d074b2
MA
57132011-07-22 Michael Albinus <michael.albinus@gmx.de>
5714
5715 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5716 loading. (Bug#9114)
5717
938b94c8
MR
57182011-07-21 Martin Rudalics <rudalics@gmx.at>
5719
5720 * window.el (display-buffer-pop-up-window)
5721 (display-buffer-pop-up-side-window)
5722 (display-buffer-in-side-window): Call display-buffer-set-height
5723 and display-buffer-set-width after setting the new window's
b796c9b7 5724 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5725
bfa4f190
SS
57262011-07-20 Sam Steingold <sds@gnu.org>
5727
5728 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5729 (etags-tags-included-tables): Call `convert-standard-filename' on
5730 the file names contained in TAGS so that windows Emacs can handle
5731 TAGS files created by cygwin ctags.
5732
8ca42262
LMI
57332011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5734
5735 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5736 which apparently didn't work.
5737
5db2afd2 57382011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5739
5db2afd2
RW
5740 * proced.el (proced-send-signal): For *Marked Processes* buffer
5741 put point at beginning of buffer.
5742
92e15d10
SB
57432011-07-19 Stephen Berman <stephen.berman@gmx.net>
5744
5745 * proced.el (proced-format): Make header lines align with the text
5746 (bug#1779).
5747
1bfd59e5
LMI
57482011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5749
5750 * view.el (view-buffer): Allow running in `special' modes if we're
5751 visiting a file (bug#8615).
5752
f5aae37c
MR
57532011-07-19 Martin Rudalics <rudalics@gmx.at>
5754
5755 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5756 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5757 New functions.
f5aae37c
MR
5758 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5759 more accurately.
5760
bf2c1571
AM
57612011-07-18 Alan Mackenzie <acm@muc.de>
5762
5763 Fontify declarators properly when, e.g., a jit-lock chunk begins
5764 inside a declaration.
5765
5766 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5767
b796c9b7
SM
5768 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5769 New function.
bf2c1571
AM
5770 (c-complex-decl-matchers): Insert reference to
5771 c-font-lock-enclosing-decls.
5772
5773 * progmodes/cc-engine.el (c-backward-single-comment):
5774 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5775 to nil around calls to (forward-comment -1).
5776
4e190b80
LMI
57772011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5778
12dc863d
LMI
5779 * image.el (put-image): Doc typo fix.
5780
a762e966
LMI
5781 * progmodes/etags.el (tags-search): Doc typo fix.
5782
4e190b80
LMI
5783 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5784 password if we get errors 550 to 554.
5785
f019fb21
LMI
57862011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5787
b796c9b7 5788 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5789
81746738
LMI
5790 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5791 indentation character (bug#6380).
5792
3ee3a1b5
LMI
5793 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5794
c82f64de
LMI
5795 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5796 to clarify what the problem is (bug#4291).
5797
f019fb21
LMI
5798 * simple.el (current-kill): Clarify what
5799 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5800 (auto-fill-mode): Document `auto-fill-function' in relation to
5801 `auto-fill-mode' (bug#2470).
f019fb21 5802
0794775d
LM
58032011-07-16 Lawrence Mitchell <wence@gmx.li>
5804
5805 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5806 method if slot is read-only (bug#9035).
5807
be39b8cc
MR
58082011-07-16 Martin Rudalics <rudalics@gmx.at>
5809
b796c9b7 5810 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5811 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5812 selected before, see discussion of (Bug#8615), (Bug#6954).
5813 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5814
6ccf7859
GM
58152011-07-15 Glenn Morris <rgm@gnu.org>
5816
5817 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5818 Respect help-form.
6ccf7859 5819
87e86684
LM
58202011-07-09 Lawrence Mitchell <wence@gmx.li>
5821
5822 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5823 (gnutls-negotiate): Use it.
5824
d6066239
LMI
58252011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5826
b796c9b7
SM
5827 * net/gnutls.el (gnutls-negotiate):
5828 Upcase `gnutls-algorithm-priority'.
d6066239 5829
bd23ebc0
GM
58302011-07-15 Glenn Morris <rgm@gnu.org>
5831
c65bca65
GM
5832 * jka-compr.el (jka-compr-verbose): Move from here...
5833 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5834 Add missing :version tag.
5835 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5836
478615cc
LMI
58372011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5838
7b41decb
LMI
5839 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5840 (gnutls-negotiate): Use it.
5841
dbc44fcd
LMI
5842 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5843
06789f97
LMI
5844 * info.el (Info-beginning-of-buffer): New command.
5845 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5846 announcing `b' as the key (bug#8325).
ab896c37 5847 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5848
c39da690
LMI
5849 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5850
3aa5f34b
LMI
5851 * international/mule-cmds.el
5852 (describe-specified-language-support): Make the error message
5853 clearer (bug#8905).
5854
4bf0979f
LMI
5855 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5856
478615cc
LMI
5857 * isearch.el (isearch-barrier): Add a doc string, since it's
5858 mentioned in a function doc string (bug#8678).
5859
75c68aa1
MR
58602011-07-15 Martin Rudalics <rudalics@gmx.at>
5861
5862 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5863 buffer argument (Bug#9083) and self-identifying label argument.
5864
a7c33da2
GM
58652011-07-15 Glenn Morris <rgm@gnu.org>
5866
5867 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5868
2f5c6024
LMI
58692011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5870
5871 * man.el (Man-fontify-manpage): Fix message when formatting the
5872 man page (bug#7929).
5873
0bb23927 58742011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
5875
5876 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5877 argument LRM; if non-nil, append an invisible LRM character to the
5878 buffer name.
5879 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5880 last argument non-nil, when formatting buffer names.
0bb23927
EZ
5881 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5882 paragraph direction.
cce4b0a7 5883
621ef9ab
LMI
58842011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5885
d1583c48
LMI
5886 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5887 the man page name (bug#7929).
5888
6a57fb5f
LMI
5889 * image.el (put-image): Mention the `put-image' overlay property
5890 (bug#7834).
5891
d7956b14
LMI
5892 * scroll-bar.el (set-scroll-bar-mode): Mention that
5893 `scroll-bar-mode' lists the values (bug#7772).
5894
5b2d4a66
LMI
5895 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5896 command (bug#7729).
5897
7509a874
LMI
5898 * rect.el (apply-on-rectangle): Return the point after the last
5899 operation.
5900 (string-rectangle): Go to the point after the last operation
5901 (bug#7522).
5902
4fe74b19
LMI
5903 * printing.el (pr-toggle-region): Clarify the documentation
5904 slightly (bug#7493).
5905
b796c9b7
SM
5906 * time.el (display-time-update):
5907 Allow `display-time-mail-function' to return nil (bug#7158).
5908 Fix suggested by Detlev Zundel.
ab283561 5909
fc233c9d
LMI
5910 * vc/diff.el (diff): Clarify the order the file names are read
5911 (bug#7111).
5912
43f5740b
LMI
5913 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5914 the doc string (bug#7015).
5915
f2182a76
LMI
5916 * font-lock.el (font-lock-maximum-decoration): Mention what
5917 numeric levels mean (bug#6935).
5918
621ef9ab
LMI
5919 * startup.el (initial-buffer-choice): Don't mention the `none'
5920 selection, which is against policy.
5921
adc47434
MR
59222011-07-14 Martin Rudalics <rudalics@gmx.at>
5923
b796c9b7
SM
5924 * window.el (display-buffer-normalize-special):
5925 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 5926
7e5bfb8f
EZ
59272011-07-14 Eli Zaretskii <eliz@gnu.org>
5928
5929 * subr.el (version<, version<=, version=): Mention "-CVS" and
5930 "-12345" alpha version numbers.
5931
27fa387a
CY
59322011-07-14 Chong Yidong <cyd@stupidchicken.com>
5933
5934 * bindings.el: Add advertised binding for set-mark-command
5935 (Bug#5772).
5936
8bdfa064
CY
59372011-07-14 Chong Yidong <cyd@stupidchicken.com>
5938
5939 * bindings.el (mode-line-other-buffer):
5940 * bookmark.el (bookmark-bmenu-2-window):
5941 * bs.el (bs-cycle-next, bs-cycle-previous):
5942 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5943 switch-to-buffer.
5944
5945 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 5946 Delete.
8bdfa064 5947
5eba16a3
JB
59482011-07-14 Juanma Barranquero <lekktu@gmail.com>
5949
5950 * follow.el (follow-debug-message, follow-redisplay):
5951 * jka-cmpr-hook.el (with-auto-compression-mode):
5952 Fix typos in docstrings.
5953
15853710
LMI
59542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5955
a28e4607
LMI
5956 * subr.el (with-silent-modifications): Clarify somewhat what the
5957 macro inhibits (bug#6525).
5958
15853710
LMI
5959 * simple.el (eval-expression): Note what it does if called
5960 interactively (bug#6495).
5961
bee0fcef
CY
59622011-07-13 Chong Yidong <cyd@stupidchicken.com>
5963
b796c9b7
SM
5964 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
5965 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
5966
5967 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5968 Remove switch-to-buffer.
5969
58274504
LMI
59702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5971
bd2fcc8d
LMI
5972 * files.el (make-directory): Clarify that an error will be raised
5973 if there's an error (bug#6397).
5974
0f04b32c
LMI
5975 * startup.el (initial-buffer-choice): Add `none' as a choice
5976 (bug#6234).
5977
465c5fc8
LMI
5978 * subr.el (add-hook): Clarify section about buffer-local hooks
5979 (bug#6218).
5980
58274504
LMI
5981 * dired.el (dired-flagged): Clarify doc string (bug#6117).
5982
bead9a43
JB
59832011-07-13 Juanma Barranquero <lekktu@gmail.com>
5984
5985 * tabify.el (untabify): Preserve the current column so that point
5986 doesn't move (bug#6032).
5987
3af98a7b
LMI
59882011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5989
b796c9b7
SM
5990 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
5991 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 5992
6240145a
GM
59932011-07-13 Glenn Morris <rgm@gnu.org>
5994
5995 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
5996 (dired-insert-directory): Give a message the first time
5997 if ls is found not to support --dired.
5998
1d8c2ccc
LMI
59992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6000
6001 * simple.el (toggle-truncate-lines): Clarify what is toggled
6002 (bug#5580). Text by Drew Adams.
6003
5fc4038e
CY
60042011-07-13 Chong Yidong <cyd@stupidchicken.com>
6005
6006 * simple.el (blink-matching-open): Make the error message from the
6007 last change less verbose.
6008
bf6012e5
DN
60092011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6010
6011 * font-lock.el (font-lock-comment-face): Use the high contrast
6012 "yellow" color for font-lock-comment-face on low color terminals
6013 using a dark background color (bug#4221).
6014
343c3b5a
LMI
60152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6016
7e9505c5
LMI
6017 * dired.el (dired-insert-set-properties): Make the doc string
6018 reflect what it does now (bug#5325).
6019
c26fdcf5
LMI
6020 * simple.el (blink-matching-open): Say that we were unable to find
6021 the match within the limit, if we're limited (bug#5122).
6022
bb388cc5
LMI
6023 * international/mule-cmds.el (prefer-coding-system): Add an
6024 example (bug#4869).
6025
343c3b5a
LMI
6026 * progmodes/etags.el (tags-search): Document `file-list-form'
6027 (bug#4731).
6028
2a517d45
LM
60292011-07-13 Lawrence Mitchell <wence@gmx.li>
6030
6031 * net/browse-url.el (browse-url-default-browser)
6032 (browse-url-browser-function): Make the default browser choice a
6033 bit more logical (bug#4300). Also clean up the doc string.
6034
b6c78ef2
JB
60352011-07-13 Juanma Barranquero <lekktu@gmail.com>
6036
6037 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6038 binary endings (bug#4440).
6039
1c4dd947
LMI
60402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6041
a2014063
LMI
6042 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6043 which can be pretty annoying (bug#8971).
6044
9c9c2d88
LMI
6045 * jka-compr.el (jka-compr-verbose): New variable, and use
6046 throughout (bug#8971).
6047
1c4dd947
LMI
6048 * info.el (Info-find-file): Fall back on the installation
6049 directory if we can't find the info node anywhere else.
6050
a1c9f41b
SO
60512011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6052
6053 * vc/vc.el (vc-revert-file):
6054 Don't set file time-stamp in the past. (Bug#5181)
6055
536f3d36
LMI
60562011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6057
7152b011
LMI
6058 * files.el (after-find-file): Give a better error message when
6059 trying to find a symlink that points to a file that doesn't exist
6060 (bug#4398).
6061
536f3d36
LMI
6062 * progmodes/cc-vars.el: Remove (probably) misleading comment
6063 (bug#4396).
6064
460c0fba
JB
60652011-07-12 Johan Bockgård <bojohan@gnu.org>
6066
6067 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6068
7a6bda45
CY
60692011-07-12 Chong Yidong <cyd@stupidchicken.com>
6070
6071 * mouse-sel.el: Hack restoring functionality, while keeping
6072 compatibility with 2010-07-03 changes to mouse selection.
6073 (mouse-sel-primary-overlay): New var.
6074 (mouse-sel-selection-alist): Use it.
6075 (mouse-sel-mode): Doc fix; remove points that are default features
6076 of mouse.el.
6077
c79598ef
JB
60782011-07-12 Johan Bockgård <bojohan@gnu.org>
6079
6080 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6081 Fix previous fix (bug#2490).
6082
ff8be6ef
RW
60832011-07-12 Roland Winkler <winkler@gnu.org>
6084
b796c9b7
SM
6085 * textmodes/bibtex.el (bibtex-initialize):
6086 Use pop-to-buffer-same-window.
ff8be6ef
RW
6087 (bibtex-search-entries): Fix interactive call.
6088
296ba3ee
LMI
60892011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6090
f5242a02 6091 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6092 Fontise bytecomp Error lines more correctly (bug#2490).
6093 Fix suggested by Johan Bockgård.
f5242a02 6094
296ba3ee
LMI
6095 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6096
6097 * dired-x.el (dired-guess-default): Use `delete-dups'.
6098
f69fd0d2
CY
60992011-07-12 Chong Yidong <cyd@stupidchicken.com>
6100
6101 * dired.el (dired-mark-prompt):
6102 * dired-aux.el (dired-read-shell-command): Doc fix.
6103
eab5dc07
LMI
61042011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6105
b796c9b7
SM
6106 * mail/sendmail.el (sendmail-query-once):
6107 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6108 emacs -Q.
6109
6110 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6111
eab5dc07
LMI
6112 * cus-edit.el (custom-file): Take an optional no-error variable.
6113 (customize-save-variable): Set the variable, and give a warning if
6114 running under "emacs -q".
6115
a1e65d42
JB
61162011-07-11 Juanma Barranquero <lekktu@gmail.com>
6117
6118 * loadhist.el (unload-feature-special-hooks):
6119 Add `auto-coding-functions', `fill-nobreak-predicate' and
6120 `find-directory-functions' (bug#5327).
6121
1d52da10
LMI
61222011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6123
be958f1d
LMI
6124 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6125
5bedb26c
LMI
6126 * cus-edit.el (custom-guess-name-alist): -alist variables should
6127 use the `alist' type (bug#3120). Suggested by Drew Adams.
6128
1d52da10
LMI
6129 * printing.el: Add documentation to all the `pr-toggle-' commands.
6130
cd394be1 61312011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6132
6133 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6134 backends where it makes sense (bug#2623).
6135
dcc88d8a
LMI
61362011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6137
c3de9feb
LMI
6138 * dired-x.el (dired-guess-default): Remove duplicate shell command
6139 entries (bug#2028).
8a93078b 6140 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6141 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6142
dcc88d8a
LMI
6143 * subr.el (remove-duplicates): New conveniency function.
6144
505e3645
LMI
61452011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6146
6147 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6148 (bug#1526).
6149
61502011-07-10 Martin Rudalics <rudalics@gmx.at>
6151
6152 * window.el (display-buffer-normalize-default): Don't invert
6153 meaning of even-window-heights. Reported by Eli Zaretskii
6154 <eliz@gnu.org>.
6155
455e4fa1
BR
61562011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6157
6158 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6159
8e0bc3e9
CY
61602011-07-10 Chong Yidong <cyd@stupidchicken.com>
6161
6162 * window.el (display-buffer): Fix arguments to
6163 display-buffer-reuse-window in last change.
6164
fa7c3228
CY
6165 * faces.el (link): Use a less saturated blue on light backgrounds.
6166
6167 * startup.el (fancy-startup-text, fancy-about-text)
6168 (fancy-startup-tail): Use font-lock faces, for background safety.
6169
c0a7f300
BN
61702011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6171
b796c9b7
SM
6172 * emulation/viper-cmd.el (viper-change-state-to-vi):
6173 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6174
4dc2a129
MR
61752011-07-09 Martin Rudalics <rudalics@gmx.at>
6176
6177 * window.el (display-buffer-default-specifiers): Remove.
6178 (display-buffer-macro-specifiers): Remove default specifiers.
6179 (display-buffer-alist): Default to nil.
b796c9b7 6180 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6181 (display-buffer-pop-up-window): Allow splitting internal
6182 windows. Check whether a live window was created.
6183 (display-buffer-other-window-means-other-frame)
6184 (display-buffer-normalize-arguments): Rename to
6185 display-buffer-normalize-argument and rewrite. Set the
6186 other-window specifier.
6187 (display-buffer-normalize-special): New function.
6188 (display-buffer-normalize-options): Rename to
6189 display-buffer-normalize-default and rewrite.
6190 (display-buffer-normalize-options-inhibit): Remove.
6191 (display-buffer-normalize-specifiers): Rewrite.
6192 (display-buffer): Process other-window specifier and call
6193 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6194 more faithfully.
b796c9b7 6195 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6196 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6197 (display-buffer-in-window, display-buffer-alist-set):
6198 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6199 <tassilo@member.fsf.org>.
6200
2d43b8c9
LL
62012011-07-09 Leo Liu <sdl.web@gmail.com>
6202
6203 * register.el (insert-register): Restore accidental change on
6204 2011-06-26. (Bug#9028)
6205
7f9b7c53
GM
62062011-07-09 Glenn Morris <rgm@gnu.org>
6207
6208 * subr.el (remq): Handle the empty list. (Bug#9024)
6209
f042cfd8
AS
62102011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6211
6212 * mail/sendmail.el (send-mail-function): No longer delay custom
6213 initialization.
6214 * custom.el (custom-initialize-delay): Doc fix.
6215
856b2f11
SM
62162011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6219
afae1d68
MA
62202011-07-08 Michael Albinus <michael.albinus@gmx.de>
6221
6222 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6223 human-friendly prompt.
6224
0757af94
SM
62252011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6228 provided by a particular plugin.
6229
d760b731
LMI
62302011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6231
6232 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6233 save customizations (with "emacs -Q"), just set the variable
6234 instead of erroring out.
6235
6236 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6237
cd79ce90
JL
62382011-07-08 Juri Linkov <juri@jurta.org>
6239
6240 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6241 (archive-zip-update-case): Use 7z if found by `executable-find'.
6242 The order of searching the available programs is the same as in
6243 `archive-zip-extract' (bug#8968).
6244
14cc04aa
CY
62452011-07-07 Chong Yidong <cyd@stupidchicken.com>
6246
6247 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6248 (menu-bar-options-menu): Tweak descriptions.
6249
0a1848ec
LMI
62502011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6251
6252 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6253 menu items into verb phrases (bug#1421). Also refill to fit under
6254 80 columns.
6255
f5bd0689
CY
62562011-07-07 Chong Yidong <cyd@stupidchicken.com>
6257
538e85c6
CY
6258 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6259 (Info-read-node-name): Doc fix (Bug#1084).
6260
f5bd0689
CY
6261 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6262 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6263 (end-of-sexp, beginning-of-sexp)
6264 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6265 (forward-symbol, forward-same-syntax, word-at-point)
6266 (sentence-at-point): Doc fix (Bug#1144).
6267
56ec5115
LMI
62682011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6269
f3f8e37f
LMI
6270 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6271 should cover it (bug#1281).
6272
0757af94 6273 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6274
e9fce1ac 6275 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6276 negotiation fails, then possibly try again with a non-encrypted
6277 connection (bug#9017).
6278
56ec5115
LMI
6279 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6280 be used.
6281
c2f9aec8
RS
62822011-07-07 Richard Stallman <rms@gnu.org>
6283
6284 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6285 property, and handle its changed format.
6286 Look for the correct line number.
6287 Use file's line contents (but not past first =) to find
6288 correct line in message.
6289
ef7b981d 62902011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6291
6292 * international/characters.el (build-unicode-category-table):
6293 Delete it.
0757af94 6294 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6295
0757af94 6296 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6297 to src/chartab.c.
6298 (get-char-code-property): Call unicode-property-table-internal to
6299 load a file. Call get-unicode-property-internal where necessary.
6300 (put-char-code-property): Call unicode-property-table-internal to
6301 load a file. Call put-unicode-property-internal where necessary.
6302 put-unicode-property-internal where necessary.
0757af94
SM
6303 (char-code-property-description):
6304 Call unicode-property-table-internal to load a file.
c805dec0
KH
6305
6306 * international/charprop.el:
6307 * international/uni-bidi.el:
6308 * international/uni-category.el:
6309 * international/uni-combining.el:
6310 * international/uni-comment.el:
6311 * international/uni-decimal.el:
6312 * international/uni-decomposition.el:
6313 * international/uni-digit.el:
6314 * international/uni-lowercase.el:
6315 * international/uni-mirrored.el:
6316 * international/uni-name.el:
6317 * international/uni-numeric.el:
6318 * international/uni-old-name.el:
6319 * international/uni-titlecase.el:
6320 * international/uni-uppercase.el: Regenerate.
6321
6322 * loadup.el: Load international/charprop.el before
6323 international/characters.
6324
e14b388a
CY
63252011-07-07 Chong Yidong <cyd@stupidchicken.com>
6326
6327 * window.el (next-buffer, previous-buffer): Signal an error if
6328 called from a minibuffer window.
6329
6330 * bindings.el: Revert 2011-07-04 change.
6331
354cf0ba
RS
63322011-07-06 Richard Stallman <rms@gnu.org>
6333
6334 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6335 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6336 Treat markers like ints.
6337 (rmail-mime-entity): Doc fix.
6338
a48868a7
LMI
63392011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6340
4906cd3d
LMI
6341 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6342 defcustom again for backwards compatibility.
6343
e0457abe
LMI
6344 * simple.el (shell-command-on-region): Fill.
6345
d67f7e1f
LMI
6346 * dired-aux.el (dired-kill-line): Add a doc string.
6347
fe204702
LMI
6348 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6349 to "\\sw\\|\\s_" (bug#358).
6350
a48868a7
LMI
6351 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6352 (dired-unmark-backward): Ditto.
6353 (dired-flag-backup-files): Ditto.
6354
6355 * dired-x.el (dired-mark-sexp): Ditto.
6356
aa8a705c
RS
63572011-07-06 Richard Stallman <rms@gnu.org>
6358
6359 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6360 (rmail-mime-entity): New arg TRUNCATED.
6361 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6362 New functions.
6363 (rmail-mime-save): Warn if entity is truncated.
6364 (rmail-mime-toggle-hidden): Likewise, for showing.
6365 (rmail-mime-process-multipart): Record when an entity is truncated.
6366
a9a936b9
RS
6367 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6368 if ENTITY is a string.
6369
1f2b92cb
LMI
63702011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6371
f4f73198 6372 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6373 of faces when `M-C-x'-ing their definitions (bug#8378).
6374 Also clean up the code slightly.
f4f73198 6375
12b16734 6376 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6377 because that makes the colors go away.
12b16734 6378
f0691d22
LMI
6379 * mail/sendmail.el (send-mail-function): Change the default to
6380 `sendmail-query-once'.
9e87df06 6381 (sendmail-query-once): Add an autoload cookie.
f0691d22 6382
1f2b92cb
LMI
6383 * net/network-stream.el (network-stream-open-starttls): Try using
6384 a plain connection even if the server offered STARTTLS, and we
6385 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6386 capability. This should make smtpmail.el work in slightly more
6387 configurations.
6388
1cdd2a1b
MA
63892011-07-06 Michael Albinus <michael.albinus@gmx.de>
6390
6391 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6392 New defun.
6393 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6394
fbcc67e2
MM
63952011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6396
6397 * progmodes/sql.el: Version 3.0
0757af94 6398 (sql-product-alist): Add product :completion-object,
fbcc67e2 6399 :completion-column, and :statement attributes.
0757af94 6400 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6401 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6402 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6403 ansi keywords.
6404 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6405 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6406 (sql-oracle-show-reserved-words): New function for development.
6407 (sql-product-font-lock): Simplify for source code buffers.
6408 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6409 New functions.
6410 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6411 (sql-mode-map): Add statement movement functions.
6412 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6413 New variable.
fbcc67e2
MM
6414 (sql-statement-regexp, sql-beginning-of-statement)
6415 (sql-end-of-statement, sql-signum): New functions.
0757af94 6416 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6417 (sql-show-sqli-buffer): Bug fix.
6418 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6419 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6420 with sql-interactive-mode.
6421 (sql-save-connection): Save buffer local settings.
0757af94 6422 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6423 (sql-product-interactive): Bug fix.
6424 (sql-preoutput-hold): New variable.
6425 (sql-interactive-remove-continuation-prompt): Bug fixes.
6426 (sql-debug-redirect): New variable.
6427 (sql-str-literal): New function.
6428 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6429 Redesign.
fbcc67e2
MM
6430 (sql-oracle-save-settings, sql-oracle-restore-settings)
6431 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6432 (sql-completion-object, sql-completion-column)
6433 (sql-completion-sqlbuf): New variables.
6434 (sql-build-completions-1, sql-build-completions)
6435 (sql-try-completion): New functions.
6436 (sql-read-table-name): Use them.
6437 (sql-contains-names): New buffer local variable.
6438 (sql-list-all, sql-list-table): Use it.
6439 (sql-oracle-completion-types): New variable.
6440 (sql-oracle-completion-object, sql-sqlite-completion-object)
6441 (sql-postgres-completion-object): New functions.
6442
d4eaeab1
GM
64432011-07-06 Glenn Morris <rgm@gnu.org>
6444
6445 * window.el (pop-to-buffer): Doc fix.
6446
322b7dab 64472011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6448
6449 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6450
322b7dab 64512011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6452
322b7dab 6453 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6454
322b7dab 6455 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6456
605dd5bf
CY
64572011-07-05 Chong Yidong <cyd@stupidchicken.com>
6458
6459 * button.el (button): Inherit from link face. Suggested by Dan
6460 Nicolaescu.
6461
7dbfa719
SM
64622011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6463
3db614b0
SM
6464 * progmodes/gdb-mi.el: Fit in 80 columns.
6465 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6466 switch-to-buffer.
6467
7dbfa719
SM
6468 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6469 if imenu is simply not configured (bug#8941).
6470
919d884a
KM
64712011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6472
6473 * allout.el (allout-post-undo-hook): New allout outline-change
6474 event hook to signal undo activity.
6475 (allout-post-command-business): Run allout-post-undo-hook if an
6476 undo just occurred.
7dbfa719
SM
6477 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6478 * allout-widgets.el (allout-widgets-after-undo-function):
6479 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6480 in the vicinity of an undo.
6481 (allout-widgets-mode): Include allout-widgets-after-undo-function
6482 on the new allout-post-undo-hook.
6483
450a0f09
SM
64842011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6485
6486 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6487 Let define-derived-mode define it.
6488 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6489 cycles of abbrev-table inheritance (bug#8998).
6490
2de69e00
RW
64912011-07-05 Roland Winkler <winkler@gnu.org>
6492
6493 * textmodes/bibtex.el: Add support for biblatex.
6494 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6495 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6496 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6497 (bibtex-entry-alist, bibtex-field-alist): New variables.
6498 (bibtex-entry-field-alist): Obsolete alias for
6499 bibtex-BibTeX-entry-alist.
6500 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6501 (bibtex-set-dialect): New command.
6502 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6503 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6504 Bind via bibtex-set-dialect.
2de69e00
RW
6505 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6506 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6507 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6508 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6509 Define via bibtex-set-dialect.
450a0f09
SM
6510 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6511 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6512 (bibtex-vec-push, bibtex-vec-incr): New functions.
6513 (bibtex-format-entry, bibtex-field-list)
6514 (bibtex-print-help-message, bibtex-validate)
6515 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6516
2dcdbdd9
SM
65172011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6518
6519 * progmodes/compile.el (compilation-goto-locus):
6520 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6521 * bs.el (bs-cycle-next, bs-cycle-previous):
6522 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6523 * bindings.el (mode-line-other-buffer):
6524 * autoinsert.el (auto-insert):
6525 * arc-mode.el (archive-extract):
6526 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6527
b27640fe
JB
65282011-07-05 Juanma Barranquero <lekktu@gmail.com>
6529
6530 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6531 Fix check of `emacs-lock-unlockable-modes'.
6532 Coerce true values of `emacs-lock--try-unlocking' to t.
6533
53bbe3ad
JB
65342011-07-05 Juanma Barranquero <lekktu@gmail.com>
6535
6536 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6537 * emacs-lock.el: New file.
6538
1d3cdbc7
JD
65392011-07-05 Julien Danjou <julien@danjou.info>
6540
6541 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6542 than `boundp' to check if face is set.
6543
9173deec
JB
65442011-07-05 Juanma Barranquero <lekktu@gmail.com>
6545
6546 * register.el (registerv-make):
6547 * window.el (window-min-height): Fix typos in docstrings.
6548
869795d6
JD
65492011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6550
9173deec 6551 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6552 Update doc string.
6553
b768cdcd
JB
65542011-07-04 Juanma Barranquero <lekktu@gmail.com>
6555
6556 * server.el (server-execute): Catch quit and call
6557 `server-return-error' to pass the error back to emacsclient and
6558 close the connection (bug#8942).
6559
13aa217b
KM
65602011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6561
6562 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6563 insecure exception for current topic. Also note that auto-saves
6564 are handled differently.
6565
6566 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6567 State variables for tracking auto-save inhibition situation.
6568
6569 (allout-write-contents-hook-handler): Rename from
6570 'allout-write-file-hook-handler', and describe how it depends on
6571 write-contents-functions sensitivity to non-nil value to prevent
6572 file write.
6573
6574 (allout-auto-save-hook-handler): Remove. auto-save does not check
6575 this in individual buffers, only in the starting buffer, so this
6576 is not the right way for us to inhibit auto-save in a buffer
6577 according to its condition.
6578
6579 (allout-mode): Use new allout-write-contents-hook-handler, and
6580 only with write-contents-functions. Remove auto-save provisions -
6581 they're implemented elsewhere.
6582
6583 (allout-before-change-handler): If undo is in progress, note that
6584 for attention of allout-post-command-business.
6585
6586 (allout-post-command-business): If the command we're following was
6587 an undo, check for change in the status of encrypted items and
6588 adjust auto-save inhibitions accordingly.
6589
6590 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6591 according to whether there are or aren't any plain-text topics
6592 pending encryption.
6593
2dcdbdd9 6594 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6595 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6596 if there are plain-text topics pending encryption.
13aa217b
KM
6597
6598 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6599 buffer-saved-size and some allout state to not inhibit auto-saves
6600 if there are no longer any plain-text topics pending encryption.
6601
0757af94
SM
6602 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6603 No longer provide for exemption of the current topic.
13aa217b 6604
ac89b32c
JL
66052011-07-04 Juri Linkov <juri@jurta.org>
6606
6607 Add 7z operations to delete and save changed members (bug#8968).
6608 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6609 New defcustoms.
6610 (archive-7z-write-file-member): New function.
6611 (archive-7z-summarize): Fix the number of dashes in the
6612 listing output.
6613
8fa39615
SM
66142011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6617 (bug#8958).
6618
2f11b3f1
CY
66192011-07-04 Chong Yidong <cyd@stupidchicken.com>
6620
d66fef2b
CY
6621 * bindings.el: Ignore next-buffer and previous-buffer in
6622 minibuffer-local-map.
6623
2f11b3f1
CY
6624 * font-lock.el (font-lock-builtin-face): Change light background
6625 color to dark slate blue (Bug#6693).
6626
f932a347
WD
66272011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6628
6629 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6630
c8af70e1
SM
66312011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6632
6633 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6634 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6635 Add switch-to-buffer.
6636
f158badc
LMI
66372011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6638
6639 * isearch.el (isearch-search-fun-function): Clarify further the
6640 meaning of the function returned.
6641
6d95bd46
MA
66422011-07-04 Michael Albinus <michael.albinus@gmx.de>
6643
6644 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6645
6646 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6647 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6648 Use it.
6649 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6650 `tramp-default-remote-path' does not exist.
6651 (tramp-send-command-and-read): New optional argument NOERROR.
6652 (tramp-open-connection-setup-interactive-shell)
6653 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6654 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6655 (tramp-process-sentinel): Flush also process' connection property.
6656 (tramp-sh-handle-start-file-process): Do not set process
6657 sentinel. It is done now ...
6658 (tramp-maybe-open-connection): ... here. (Bug#8929)
6659
909e6b67
MK
66602011-07-04 MON KEY <monkey@sandpframing.com>
6661
6662 * play/animate.el (animate-string): Doc fixes and allow changing
6663 the buffer name (bug#5417).
6664
66652011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6666
c8af70e1 6667 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6668
f34755dc
PE
66692011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6670
396cec72
PE
6671 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6672 This is simpler and helps future-proof the code.
6673 (timer-until): Use time-subtract and float-time.
08235028 6674 (timer--time-less-p): Use time-less-p.
f34755dc 6675
56e6cc31
JB
66762011-07-04 Juanma Barranquero <lekktu@gmail.com>
6677
3abb79e5
JB
6678 * type-break.el (timep): Use the value of `float-time' to avoid a
6679 byte-compiler warning.
6680
56e6cc31
JB
6681 * server.el (server-eval-and-print): Return any result, even nil.
6682
7b9430b4
PE
66832011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6684
6685 * type-break.el: Accept time formats that the builtins accept.
6686 (timep, type-break-time-difference): Accept any format that
6687 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6688 This is simpler and helps future-proof the code.
6689 (type-break-time-difference): Round rather than ignoring
6690 subseconds components.
6691
3034e9e7
LMI
66922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6693
6694 * info.el (Info-apropos-matches): Make non-interactive, since it
6695 doesn't seem to do anything useful as a command (bug#8829).
6696
1485f4c0
CY
66972011-07-03 Chong Yidong <cyd@stupidchicken.com>
6698
6699 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6700 Move from faces.el.
1485f4c0
CY
6701 (frame-default-terminal-background): New function.
6702
6703 * custom.el (custom-push-theme): Don't record faces in `changed'
6704 theme; this doesn't work correctly for per-frame face settings.
6705 (disable-theme): Use face-set-after-frame-default to reset faces.
6706 (custom--frame-color-default): New function.
6707
9fa3dd45
LMI
67082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6709
c8af70e1 6710 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6711 (bug#8769).
6712
6cbbc20c
KR
67132011-03-29 Kevin Ryde <user42@zip.com.au>
6714
6715 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6716 `perl-Test2' extend to match possible "fail #N" rep count
6717 (bug#8377).
6718
c7f98048
LMI
67192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6720
65676592
LMI
6721 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6722 `smtpmail-via-smtp' now returns the error instead of nil.
6723
c7f98048
LMI
6724 * isearch.el (isearch-search-fun-function): Clarify the doc string
6725 (bug#8101).
6726
56e6cc31 67272011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6728
6729 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6730 unnecessary spaces (bug#8987).
6731
2b216704
LMI
67322011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6733
6734 * net/network-stream.el (open-network-stream): Use the
6735 :end-of-capability command thoughout.
6736
67372011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6738
6739 * net/network-stream.el (open-network-stream): Add the
6740 :end-of-capability command parameter, used by pop3.el.
6741
36adf6ce
LMI
67422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6743
1ca0da0e
LMI
6744 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6745
fc00f69c
LMI
6746 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6747 for list)" (bug#6475).
6748
28fd8759 6749 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6750 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6751 an error (bug#6297).
6752
0dd8b6da
LMI
6753 * man.el (Man-reference-regexp): Allow matching possible
6754 word-wrapped references (bug#6289).
6755
ce1438d6
LMI
6756 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6757 for consistency with the other vc buffers (bug#6197).
6758 (vc-checkin): Ditto.
6759
6760 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6761
36adf6ce
LMI
6762 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6763
e83cc1f7
LMI
67642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6765
8a20ca4c
LMI
6766 * custom.el (defcustom): Clarify that :set is only used in the
6767 Customize user interface (bug#6089).
6768
83319045
LMI
6769 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6770 associated with a file, refuse to run instead of erroring out
6771 (bug#6084).
6772
a8392169
LMI
6773 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6774 the doc string, since it appears that using `fill-column' always
6775 controls the width (bug#7845).
6776
e83cc1f7
LMI
6777 * simple.el (shell-command-on-region): Say where the error output
6778 went if `shell-command-default-error-buffer' is set (bug#6857).
6779
e47ca23b
KM
67802011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6781
6782 * allout.el (allout-yank-processing): Adjust cursor position for
6783 backwards-deleted space.
6784
6785 (allout-rebullet-heading): Register changes with
6786 allout-exposure-changed-hook, so the modified topic is properly
6787 decorated.
6788
5cf56143
LMI
67892011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6790
08549772
LMI
6791 * minibuffer.el (completion-in-region): Document PREDICATE
6792 (bug#7136).
6793
48e96771
LMI
6794 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6795 of keyword/argument pairs (bug#6904).
6796
c8af70e1
SM
6797 * replace.el (multi-occur):
6798 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6799
e17d05e2
LMI
68002011-07-02 Drew Adams <drew.adams@oracle.com>
6801
6802 * dired.el (dired-mark-if): Make the message about whether it's
6803 marking or unmarking clearer (bug#8523).
6804
063b0e45
LMI
68052011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6806
6807 * disp-table.el (display-table-print-array): New function.
6808 (describe-display-table): Use it to print the vectors more pretty
6809 (Bug#8859).
6810
28545e04
MR
68112011-07-02 Martin Rudalics <rudalics@gmx.at>
6812
6813 * window.el (window-state-get-1): Don't assign clone numbers.
6814 Add clone-of item to list of window parameters.
6815 (window-state-put-2): Don't process clone numbers.
6816 (display-buffer-alist): Fix doc-string.
6817
3349e122
SM
68182011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6819
6820 * subr.el (remq): Don't allocate if it's not needed.
6821 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6822 (keymap--merge-bindings): New functions.
6823 (keymap-canonicalize): Use them to refine the canonicalization.
6824 * minibuffer.el (minibuffer-local-completion-map)
6825 (minibuffer-local-must-match-map): Move initialization from C.
6826 (minibuffer-local-filename-completion-map): Move initialization from C;
6827 don't inherit from anything here.
6828 (minibuffer-local-filename-must-match-map): Make obsolete.
6829 (completing-read-default): Use make-composed-keymap to combine
6830 minibuffer-local-filename-completion-map with either
6831 minibuffer-local-must-match-map or
6832 minibuffer-local-filename-completion-map.
6833
d224ac83
GM
68342011-07-01 Glenn Morris <rgm@gnu.org>
6835
3de63bf8
GM
6836 * type-break.el (type-break-time-sum): Use dolist.
6837
d224ac83
GM
6838 * textmodes/flyspell.el (flyspell-word-search-backward):
6839 Replace CL function.
6840
1a1e3f32
SM
68412011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6842
fe3f64d5
SM
6843 * mouse.el (mouse--strip-first-event): New function.
6844 (function-key-map): Use it to map fringe clicks to normal clicks
6845 by default.
6846
eb604e34
SM
6847 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6848 (vc-bzr-revision-completion-table): Add support for annotate and date.
6849
1a1e3f32
SM
6850 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6851 inherit from parent.
6852
5bd35902
LMI
68532011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6854
ace6c69c 6855 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 6856 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 6857
191e2bed
LMI
6858 * dired.el (dired-mode): Fix up the doc string as suggested by
6859 Drew Adams (bug#8817).
6860
5bd35902
LMI
6861 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6862 cookie, since the manual says that it should be possible to add
6863 this function to `find-file-hook' (bug#8709).
6864
eee8207a
TZ
68652011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6866
6867 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6868 here. Noted Ted Zlatanov as the maintainer.
6869 (cfengine-common-settings, cfengine-common-syntax): New functions
6870 to set up common things between `cfengine-mode' and
6871 `cfengine3-mode'.
6872 (cfengine3-mode): New mode.
6873 (cfengine3-defuns cfengine3-defuns-regex
6874 (cfengine3-class-selector-regex cfengine3-category-regex)
6875 (cfengine3-vartypes cfengine3-font-lock-keywords)
6876 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 6877 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 6878
36b148cf
MA
68792011-07-01 Michael Albinus <michael.albinus@gmx.de>
6880
6881 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6882
6883 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6884
0bf4ba9a
MR
68852011-07-01 Martin Rudalics <rudalics@gmx.at>
6886
6887 * window.el (same-window-buffer-names, same-window-regexps)
6888 (same-window-p, special-display-frame-alist)
6889 (special-display-popup-frame, special-display-function)
6890 (special-display-buffer-names, special-display-regexps)
6891 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6892 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6893 (split-window-preferred-function, split-height-threshold)
6894 (split-width-threshold, even-window-heights)
6895 (display-buffer-mark-dedicated, window-splittable-p)
6896 (split-window-sensibly, window-safely-shrinkable-p):
6897 Un-obsolete.
6898 (display-buffer): Don't spread args with function specifier
6899 because special-display-popup-frame won't like it.
6900
35837f51
PE
69012011-07-01 Paul Eggert <eggert@cs.ucla.edu>
6902
d0672f86
PE
6903 Time-stamp simplifications and fixes.
6904 These improve accuracy slightly, and future-proof the code
6905 against some potential changes to current-time format.
6906
b9444d97
PE
6907 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6908 by using time-since and float-time.
6909
0ef923dc
PE
6910 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6911 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
6912 + NNN microseconds".
6913
2f81380d
PE
6914 * type-break.el (type-break-time-sum): Rewrite using time-add.
6915
845b5c3e
PE
6916 * play/hanoi.el (hanoi-current-time-float): Remove.
6917 All uses replaced by float-time.
6918
ee6f1be0
PE
6919 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6920 This yields a more-accurate answer.
6921 (rng-time-to-float): Remove; no longer needed.
6922
fe955043
PE
6923 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6924
5777162a
PE
6925 * calendar/timeclock.el (timeclock-seconds-to-time):
6926 Defalias to seconds-to-time, since they're the same thing.
6927
3103f8b6 6928 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 6929 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
6930 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6931
0e61a35f
SM
69322011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 * window.el (bury-buffer): Don't iconify the only frame.
6935 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6936 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
6937
ddd63a1e
CY
69382011-07-01 Chong Yidong <cyd@stupidchicken.com>
6939
0e61a35f
SM
6940 * eshell/em-smart.el (eshell-smart-display-navigate-list):
6941 Add mouse-yank-primary.
ddd63a1e 6942
055f4923
TZ
69432011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6944
6945 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6946
6a2fb145
SM
69472011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6948
6949 * emacs-lisp/find-func.el (find-library--load-name): New fun.
6950 (find-library-name): Use it to find relative load names when provided
6951 absolute file name (bug#8803).
6952
fd4983f2
LMI
69532011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6954
887d14ad
LMI
6955 * textmodes/flyspell.el (flyspell-word): Consider words that
6956 differ only in case as potential doublons (bug#5687).
6957
c53dc7fc
LMI
6958 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
6959 Remove two rather uninteresting debugging-like messages to make
6960 debbugs.el more silent.
6961
fd4983f2
LMI
6962 * comint.el (comint-password-prompt-regexp): Accept "Response" as
6963 a password-like phrase.
6964
7a71b18d 69652011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
6966
6967 * progmodes/cc-guess.el: New file.
6968
6a2fb145 6969 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
6970
6971 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
6972 derived from `c-basic-common-init'.
6973
6974 * progmodes/cc-mode.el (top-level): Require cc-guess.
6975 (c-basic-common-init): Use `cc-choose-style-for-mode'.
6976
1fa280a3
LM
69772011-06-30 Lawrence Mitchell <wence@gmx.li>
6978
6979 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
6980
e6597158
AM
69812011-06-30 Alan Mackenzie <acm@muc.de>
6982
1fa280a3
LM
6983 * progmodes/cc-engine.el (c-guess-continued-construct):
6984 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
6985 lock is disabled. Name this case as "CASE G".
6986
68ba37fb
KM
69872011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
6988
6989 * allout.el (allout-yank-processing): Fix injection of extra space
6990 between bullet and non-whitespace character in first topic when
6991 pasting, ensuring that the actual spacing in the pasted topic
6992 following the bullet char is preserved. This extra space was
6993 causing pasted encrypted topics to get a decrypted status even
6994 when the content was actually still encrypted. Now the decryption
6995 status from before the paste is preserved.
6996
6997 (allout-flag-region): Set all allout overlays so they evaporate
6998 when reduced to zero length (evanescent), to prevent overlay
6999 leakage.
7000
887a0b34
GM
70012011-06-30 Glenn Morris <rgm@gnu.org>
7002
94b9acce
GM
7003 * w32-fns.el (w32-charset-info-alist): Declare.
7004
1d9b46d4
GM
7005 * find-dired.el (find-grep-options): Simplify.
7006
cc232200
GM
7007 * term/ns-win.el (ns-set-resource): Declare.
7008
28e77c46
GM
7009 * ses.el (row, col): Declare dynamic variables honestly.
7010
887a0b34
GM
7011 * textmodes/reftex-parse.el (index-tags): Declare.
7012
658d8eb8
CY
70132011-06-30 Chong Yidong <cyd@stupidchicken.com>
7014
7015 * cus-edit.el (customize-push-and-save): New function.
7016
7017 * files.el (hack-local-variables-confirm): Use it.
7018
1fa280a3
LM
7019 * custom.el (load-theme): New arg NO-CONFIRM.
7020 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7021 (custom-enabled-themes): Doc fix.
7022
7023 * cus-theme.el (customize-create-theme)
7024 (custom-theme-merge-theme): Callers to load-theme changed.
7025
bb617717
LMI
70262011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7027
d61bdd5d
LMI
7028 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7029 short URLs have at least one dot in them (bug #7614).
7030
bb617717
LMI
7031 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7032 nil, because using a pty is apparently too slow (bug #895).
7033
2f31f37a
LMI
70342011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7035
7036 * mail/sendmail.el (sendmail-query-once): New function.
7037 (sendmail-query-once-function): New variable.
7038
3076b24e
GM
70392011-06-29 Glenn Morris <rgm@gnu.org>
7040
faf2a174
GM
7041 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7042
3076b24e
GM
7043 * ses.el (top-level): Require cl when compiling.
7044 (ses-set-localvars): Fix error statement.
7045 Call it at compile time to silence a storm of warnings.
7046
5386012d
MR
70472011-06-29 Martin Rudalics <rudalics@gmx.at>
7048
7049 * window.el (normalize-live-buffer): Rename to
7050 window-normalize-buffer.
7051 (normalize-live-frame): Rename to window-normalize-frame.
7052 (normalize-any-window): Rename to window-normalize-any-window.
7053 (normalize-live-window): Rename to window-normalize-live-window.
7054 (make-window-atom): Rename to window-make-atom.
7055 (window-resize-reset): Rename to window--resize-reset.
7056 (window-resize-reset-1): Rename to window--resize-reset-1.
7057 (resize-mini-window): Rename to window--resize-mini-window.
7058 (resize-subwindows-skip-p): Rename to
7059 window--resize-subwindows-skip-p.
7060 (resize-subwindows-normal): Rename to
7061 window--resize-subwindows-normal.
7062 (resize-subwindows): Rename to window--resize-subwindows.
7063 (resize-other-windows): Rename to window--resize-siblings.
7064 (resize-this-window): Rename to window--resize-this-window.
7065 (resize-root-window): Rename to window--resize-root-window.
7066 (resize-root-window-vertically): Rename to
7067 window--resize-root-window-vertically.
7068 (normalize-buffer-to-display): Rename to
7069 window-normalize-buffer-to-display.
7070 (normalize-buffer-to-switch-to): Rename to
7071 window-normalize-buffer-to-switch-to.
7072 Correspondingly update all callers of the functions listed
7073 above.
7074 (display-buffer-alist, display-buffer-normalize-arguments)
7075 (display-buffer-normalize-options, display-buffer)
7076 (display-buffer-alist-set): Use "function" instead of
7077 "fun-with-args".
7078
1176868d
CY
70792011-06-28 Chong Yidong <cyd@stupidchicken.com>
7080
7081 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7082 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7083 debbugs.gnu.org. Mention acknowledgment email.
7084
20a7a65f
LMI
70852011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7086
7087 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7088 buffer multibyteness, since it shouldn't matter.
7089
5f45cca5
MR
70902011-06-28 Martin Rudalics <rudalics@gmx.at>
7091
7092 * window.el (display-buffer-in-side-window): Handle dedicated
7093 windows as in display-buffer-reuse-window.
7094 (display-buffer-normalize-alist): Use value of override
7095 specifier.
7096 (display-buffer-normalize-specifiers): Use value of
7097 other-window-means-other-frame specifier.
7098 (display-buffer-alist): Rewrite some texts in widgets.
7099 (display-buffer): Spread arguments when calling function
7100 specified by fun-with-args.
7101
ad85fe1f
DD
71022011-06-28 Deniz Dogan <deniz@dogan.se>
7103
1fa280a3
LM
7104 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7105 Unnest `let'.
da68c4c8 7106
ad85fe1f
DD
7107 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7108 selectors (Bug#5732).
ec49bd31 7109 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7110
a08cc025
JA
71112011-06-27 Jari Aalto <jari.aalto@cante.net>
7112
7113 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7114 (eshell-ls-date-format): New defcustom.
7115 (eshell-ls-file): Use it.
7116
e2b551c5
SM
71172011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7118
7119 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7120
8982b231
KY
71212011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7122
7123 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7124 (ange-ftp-make-tmp-name): New arg.
7125 (ange-ftp-file-local-copy): Use it.
7126
36c9fa27
J
71272011-06-27 Jambunathan K <kjambunathan@gmail.com>
7128
7129 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7130 no-conversion (Bug#8870).
7131
d68443dc
MR
71322011-06-27 Martin Rudalics <rudalics@gmx.at>
7133
7134 * window.el (window-right, window-left, window-child)
7135 (window-child-count, window-last-child)
7136 (window-iso-combination-p, walk-window-tree-1)
7137 (window-atom-check-1, window-tree-1, delete-window)
7138 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7139 new naming conventions - window-vchild, window-hchild,
7140 window-next and window-prev are now called window-top-child,
7141 window-left-child, window-next-sibling and window-prev-sibling
7142 respectively.
d615d6d2
MR
7143 (resize-window-reset): Rename to window-resize-reset.
7144 (resize-window-reset-1): Rename to window-resize-reset-1.
7145 (resize-window): Rename to window-resize.
7146 (window-min-height, window-min-width)
7147 (resize-mini-window, resize-this-window, resize-root-window)
7148 (resize-root-window-vertically, adjust-window-trailing-edge)
7149 (enlarge-window, shrink-window, maximize-window)
7150 (minimize-window, delete-window, quit-restore-window)
7151 (split-window, balance-windows, balance-windows-area-adjust)
7152 (balance-windows-area, window-state-put-2)
7153 (display-buffer-even-window-sizes, display-buffer-set-height)
7154 (display-buffer-set-width, set-window-text-height)
7155 (fit-window-to-buffer): Rename all "resize-window" prefixed
7156 calls to use the "window-resize" prefix convention.
7157 (display-buffer-alist): Fix symbol for label specifier.
7158 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7159 corresponding specifier.
7160 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7161
b6458526
VB
71622011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7163
7164 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7165 convention.
7166 (ses-call-printer): Does not pass an empty string to formatter when the
7167 cell is empty to keep from barking printer Calc math-format-value.
7168
d31fd9ac
RS
71692011-06-27 Richard Stallman <rms@gnu.org>
7170
43d5bf84
RS
7171 * battery.el (battery-mode-line-limit): New variable.
7172 (battery-update): Handle it.
7173
d31fd9ac
RS
7174 * mail/rmailmm.el (rmail-mime-process-multipart):
7175 Handle truncated messages.
7176
819a6054
GM
71772011-06-27 Glenn Morris <rgm@gnu.org>
7178
7179 * progmodes/flymake.el (flymake-err-line-patterns):
7180 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7181
cedc73f2
VB
71822011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7183
819a6054 7184 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7185 (ses--clean-!, ses--clean-_): New functions.
7186 (ses-range): Add configurability of readout order, and conversion
7187 to Calc vector.
7188
5e5d49b6
VB
7189 * ses.el (ses-repair-cell-reference-all): New function.
7190 (ses-cell-symbol): Set macro as safe, so that it can be used in
7191 formulas.
7192
56e6cc31 7193 * ses.el: Update cycle detection algorithm.
90ca8b49 7194 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7195 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7196 (ses-set-localvars): New function.
7197 (ses-make-cell): Add property-list as a cell element.
7198 (ses-cell-property-get-fun, ses-cell-property-get)
7199 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7200 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7201 New functions.
90ca8b49
VB
7202 (ses-cell-property-set, ses-cell-property-pop)
7203 (ses-cell-property-get-handle): New macro.
7204 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7205 New aliases, used for code readability.
7206 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7207 cycle detection.
7208 (ses-self-reference-early-detection): New defcustom.
fac916bf 7209 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7210 (ses-mode): Use ses-set-localvars.
7211 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7212 before lauching the update processing.
7213 (ses-initialize-Dijkstra-attempt): New function.
7214 (ses-recalculate-cell): Update for cycle detection based on
7215 Dijkstra algorithm.
7216
2bb63e81
VB
7217 * ses.el: Fix commenting and indenting convention.
7218
c9d29fb8
SM
72192011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7220
7221 * bs.el (bs-cycle-next): Complete last change.
7222
d8e4b68b
JB
72232011-06-27 Drew Adams <drew.adams@oracle.com>
7224
7225 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7226
40098786
LMI
72272011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7228
c9d29fb8
SM
7229 * net/network-stream.el (network-stream-open-starttls):
7230 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7231 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7232
40098786
LMI
7233 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7234 to binary to possibly avoid line encoding issues on Windows (among
7235 other things).
7236
468d09d4
LMI
72372011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7238
7239 * net/network-stream.el (open-network-stream): Return an :error
7240 saying what the problem was, if possible.
7241
7242 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7243 server.
7244
7245 * net/network-stream.el (network-stream-open-starttls): If we
7246 wanted to use STARTTLS, and the server offered it, but we weren't
7247 able to because we had no STARTTLS support, then close the connection.
7248 (open-network-stream): Return an :error element, if present.
7249
16f07dd7
CY
72502011-06-26 Chong Yidong <cyd@stupidchicken.com>
7251
88821ca0
CY
7252 * hl-line.el (hl-line-sticky-flag): Doc fix.
7253 (global-hl-line-sticky-flag): New option (Bug#8323).
7254 (global-hl-line-highlight): Obey it.
7255
16f07dd7
CY
7256 * vc/vc.el (vc-revert-show-diff): Default to t.
7257
6b5ccddf
KM
72582011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7259
c9d29fb8
SM
7260 * allout-widgets.el (allout-widgets-post-command-business):
7261 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7262 undecorated when an isearch is continued past, and isearch
7263 automatically collapses them. This leads to "widget leaks", where
7264 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7265 hidden widgets can slow down cursor travel, substantially.
7266 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7267 so we're doing without this nicety.
7268
7269 (allout-widgets-tally-string): Don't try to do a hash-table-count
7270 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7271 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7272 *Messages* when allout-widgets-maintain-tally is t.
7273
355f2e07
MR
72742011-06-26 Martin Rudalics <rudalics@gmx.at>
7275
7276 * window.el (display-buffer-normalize-argument): Rename to
7277 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7278 LABEL argument. Respect special-display-function when popping up
7279 a new frame. Fix code searching for a window showing the buffer
7280 on another frame.
c9d29fb8
SM
7281 (display-buffer-normalize-specifiers):
7282 Call display-buffer-normalize-arguments.
355f2e07
MR
7283 (display-buffer-in-window): Don't undedicate the window if its
7284 buffer remains the same.
7285 Reported by Drew Adams <drew.adams@oracle.com>.
7286 (display-buffer-alist): Add choice for same-window macro
7287 specfier.
7288 (display-buffer): Mention special meaning of LABEL argument in
7289 doc-string. Fix quoting. Don't pop up a new frame even as
7290 fallback.
7291
7ca8fc42
JB
72922011-06-26 Juanma Barranquero <lekktu@gmail.com>
7293
7294 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7295 avoid deleting the current window in some cases (bug#8911).
7296
bc312254
AS
72972011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7298
7299 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7300 (Bug#8934)
7301
2db18f3f
LMI
73022011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7303
c9d29fb8
SM
7304 * net/network-stream.el (network-stream-open-starttls):
7305 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7306 (network-stream-open-tls): Ditto.
7307
6302e0d3
LL
73082011-06-26 Leo Liu <sdl.web@gmail.com>
7309
7310 * register.el (registerv): New struct.
7311 (registerv-make): New function.
c9d29fb8
SM
7312 (jump-to-register, describe-register-1, insert-register):
7313 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7314 struct. (Bug#8415)
7315
5fdd4046
CY
73162011-06-26 Chong Yidong <cyd@stupidchicken.com>
7317
2afef60a
CY
7318 * vc/vc.el (vc-revert-show-diff): New defcustom.
7319 (vc-diff-internal): New arg specifying diff buffer.
7320 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7321 reuse an existing *vc-diff* buffer (Bug#8927).
7322
5fdd4046
CY
7323 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7324
e93db24a
GM
73252011-06-26 Glenn Morris <rgm@gnu.org>
7326
7327 * progmodes/f90.el (f90-critical-indent): New option.
7328 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7329 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7330 (f90-mode): Doc fix.
7331 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7332 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7333 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7334 (f90-match-end): Handle block, critical.
7335
eefff499
GM
73362011-06-25 Glenn Morris <rgm@gnu.org>
7337
f6ba4cc9
GM
7338 * calendar/diary-lib.el (diary-included-files): Doc fix.
7339 (diary-include-files): New function, extracted from
7340 diary-include-other-diary-files and diary-mark-included-diary-files.
7341 (diary-include-other-diary-files, diary-mark-included-diary-files):
7342 Just call diary-include-files.
7343 (diary-mark-entries): Reset diary-included-files on first call.
7344
16712304
GM
7345 * calendar/diary-lib.el (diary-mark-entries)
7346 (diary-mark-included-diary-files):
7347 Visit included diary-files in temp buffers.
7348
5d8e0d43
GM
7349 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7350 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7351 (f90-start-block-re, f90-imenu-generic-expression)
7352 (f90-looking-at-program-block-start, f90-no-block-limit):
7353 Add support for submodules.
7354
ccf7a5d5
GM
7355 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7356 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7357
11fdef7d 73582011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7359
7360 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7361 buffer-file-type before setting its value, to avoid disastrous
eefff499 7362 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7363
74f53697
JB
73642011-06-25 Juanma Barranquero <lekktu@gmail.com>
7365
7366 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7367
7368 * ses.el (ses-unload-function):
7369 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7370
7371 * proced.el (proced-unload-function):
7372 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7373
18a4ce5e
AR
73742011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7375
7376 * server.el (server-create-window-system-frame): Add parameters arg.
7377 (server-process-filter): Doc fix. Handle frame-parameters.
7378
519d22cc
JB
73792011-06-25 Juanma Barranquero <lekktu@gmail.com>
7380
7381 Fix bug#8730, bug#8781.
7382
7383 * loadhist.el (unload--set-major-mode): New function.
7384 (unload-feature): Use it.
7385
7386 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7387 (python-unload-function): New function.
7388
c206f5b0
SM
73892011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7390
7391 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7392
f9ad64f3
GS
73932011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7394
7395 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7396 the candidates list.
7397
7d0da90e
JB
73982011-06-24 Juanma Barranquero <lekktu@gmail.com>
7399
7400 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7401
14b4e83d
RS
74022011-06-23 Richard Stallman <rms@gnu.org>
7403
7404 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7405 (rmail-variables): Set next-error-move-function.
7406 (rmail-what-message): Take argument POS.
7407 (rmail-next-error-move): New function.
7408
273d2baf
SM
74092011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7410
7411 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7412 messages for adjacent non-terminals.
7413
56c2cc9a
RS
74142011-06-23 Richard Stallman <rms@gnu.org>
7415
7416 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7417 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7418 (rmail-start-mail): Don't specify use of rmail-mail-return;
7419 that's done by mail-bury now.
7420 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7421
d59eb518
MA
74222011-06-23 Michael Albinus <michael.albinus@gmx.de>
7423
7424 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7425 SIZE is a number.
7426
02cfc6d6
MR
74272011-06-23 Martin Rudalics <rudalics@gmx.at>
7428
7429 * window.el (get-lru-window, get-mru-window)
7430 (get-largest-window): Never return a minibuffer window.
7431 (display-buffer-pop-up-window): Fix a bug that could lead to
7432 reusing the minibuffer window.
7433 (display-buffer): Pass original specifier argument to
7434 display-buffer-function instead of the normalized one.
7435 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7436
4e323265
LL
74372011-06-22 Leo Liu <sdl.web@gmail.com>
7438
7439 * minibuffer.el (completing-read-function)
7440 (completing-read-default): Move from minibuf.c
7441
7a70468f
RS
74422011-06-22 Richard Stallman <rms@gnu.org>
7443
50718fc2
RS
7444 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7445 to Rmail even if not started by a special Rmail command.
7446
7a70468f
RS
7447 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7448 Copy the buffer currently showing just one message.
7449
297dde5a
RW
74502011-06-22 Roland Winkler <winkler@gnu.org>
7451
7452 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7453 (bibtex-clean-entry): First delete the old key so that a
7454 customized algorithm for generating the new key does not get
7455 confused by the old key.
7456 (bibtex-url): Obey regexp of first step.
7457 (bibtex-search-entries): Do not use add-to-list with local
7458 list-var.
7459
97bb1093
LMI
74602011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7461
7462 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7463 stored a user name, then query for the password first, instead of
7464 waiting for SMTP to give an error message and the trying again.
7465
1c0f1a19
JD
74662011-06-22 Lawrence Mitchell <wence@gmx.li>
7467
7468 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7469 BUFFER in call-process.
7470
396f7c9d
LMI
74712011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7472
7473 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7474 QUIT twice.
ddb7ffee
LMI
7475 (smtpmail-try-auth-methods): Require user name and password from
7476 auth-source.
396f7c9d 7477
8998d1b3
MR
74782011-06-22 Martin Rudalics <rudalics@gmx.at>
7479
7480 * window.el (display-buffer-default-specifiers)
7481 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7482 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7483 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7484
7485 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7486 (special-display-frame-alist, special-display-popup-frame):
7487 Remove duplicate declarations. These are now in window.el.
7488
4ea31e07
LMI
74892011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7490
c9d29fb8
SM
7491 * mail/smtpmail.el (smtpmail-via-smtp):
7492 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7493 server supports it. SMTP servers that support STARTTLS commonly
7494 require it.
7495
7496 * net/network-stream.el (network-stream-open-starttls): Support
7497 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7498 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7499
95f41d9a
LMI
7500 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7501 upgrades with `open-network-stream', and rely solely on
7502 auth-source for all credentials. Big changes throughout the file,
7503 but in particular:
c9d29fb8
SM
7504 (smtpmail-auth-credentials): Remove.
7505 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7506 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7507 MAIL FROM, too.
95f41d9a 7508
c9d29fb8
SM
7509 * net/network-stream.el (network-stream-open-starttls):
7510 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7511 STARTTLS.
7512 (auth-source): Require.
7513 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7514 (network-stream-certificate): Change cert-cert to cert and
7515 cert-key to key.
4ea31e07 7516
065ec2c7
MA
75172011-06-21 Michael Albinus <michael.albinus@gmx.de>
7518
7519 * net/tramp-cache.el (top): Don't load the persistency file when
7520 "emacs -Q" has been called.
7521
cd93b359
DR
75222011-06-21 Tim Harper <timcharper@gmail.com>
7523
d8e4b68b
JB
7524 * term/ns-win.el (ns-initialize-window-system):
7525 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7526 resource to NO as it is not yet supported by the NS port.
7527
ae9c0411
JB
75282011-06-21 Juanma Barranquero <lekktu@gmail.com>
7529
7530 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7531 (list-dynamic-libraries): ...not here.
7532
7f3f739f
LL
75332011-06-21 Leo Liu <sdl.web@gmail.com>
7534
7535 * subr.el (sha1): Implement sha1 using secure-hash.
7536
327c8fb1
MR
75372011-06-21 Martin Rudalics <rudalics@gmx.at>
7538
7539 * window.el (display-buffer-alist): In default value do not
7540 enforce searching a window on any but the selected frame.
7541 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7542 (display-buffer-select-window): Remove function.
7543 (display-buffer-in-window): When a window on another frame gets
7544 reused, do not select it any more but just raise its frame if
7545 necessary (Bug#8851) and (Bug#8856).
7546 (display-buffer-normalize-options): Handle pop-up-frames related
7547 options more faithfully.
7548 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7549 window if it is on another frame.
c9d29fb8
SM
7550 (display-buffer-alist, display-buffer-default-specifiers):
7551 Don't make new frame unsplittable by default.
9e9de014
MR
7552 (display-buffer-normalize-argument): Fix doc-string typo and use
7553 'same-frame-other-window instead of 'other-window when associating
7554 with display-buffer-macro-specifiers.
327c8fb1 7555
7cf3f556
VB
75562011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7557
7558 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7559 New functions.
7560 (5x5-mode-map, 5x5-mode-menu): Bind them.
7561 (5x5-draw-grid): Tweak the solver's rendering.
7562
60a406cf
SM
75632011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7564
7565 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7566 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7567
d8e4b68b 75682011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7569
7570 * menu-bar.el: Use function variable instead of switch-to-buffer.
7571 (menu-bar-select-buffer-function): New variable.
60a406cf 7572 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7573
478d6f95
SM
75742011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7575
7576 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7577 variable's status.
7578
ca530739
JD
75792011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7580
7581 * x-dnd.el (x-dnd-version-from-flags)
7582 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7583 and long as number (Bug#8899).
7584 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7585
bcd70d97
SM
75862011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7587
60a406cf 7588 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7589 (completion-try-completion, completion-all-completions): Compute the
7590 metadata argument if it's missing; make it optional (bug#8795).
7591
60a406cf 7592 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7593 (widget-complete): Use new :completion-function property.
7594 (widget-completions-at-point): New function.
7595 (default): Use :completion-function instead of :complete.
60a406cf
SM
7596 (widget-default-completions): Rename from widget-default-complete;
7597 Rewrite.
bcd70d97
SM
7598 (widget-string-complete, widget-file-complete, widget-color-complete):
7599 Remove functions.
7600 (file, symbol, function, variable, coding-system, color):
7601 * international/mule-cmds.el (default-input-method, charset)
7602 (language-info-custom-alist):
7603 * cus-edit.el (face): Use new property :completions.
7604
7605 * progmodes/pascal.el (pascal-completions-at-point): New function.
7606 (pascal-mode): Use it.
7607 (pascal-mode-map): Use completion-at-point.
7608 (pascal-toggle-completions): Make obsolete.
7609 (pascal-complete-word, pascal-show-completions):
7610 * progmodes/octave-mod.el (octave-complete-symbol):
7611 Redefine as obsolete alias.
7612 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7613 Signal absence of completion info for old Octave,
7614 (inferior-octave-complete): Redefine as obsolete alias.
7615 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7616 (meta-completions-at-point): Rename from meta-complete-symbol and
7617 adapt it for use on completion-at-point-functions.
7618 (meta-common-mode): Use it.
7619 (meta-looking-at-backward, meta-match-buffer): Remove.
7620 (meta-complete-symbol): Redefine as obsolete alias.
7621 (meta-common-mode-map): Use completion-at-point.
7622 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7623 (makefile-mode-map): Use completion-at-point.
7624 (makefile-completions-at-point): Rename from makefile-complete and
7625 adapt it for use on completion-at-point-functions.
7626 (makefile-mode): Use it.
7627 (makefile-complete): Redefine as obsolete alias.
7628
aebf69c8
DD
76292011-06-20 Deniz Dogan <deniz@dogan.se>
7630
7631 * net/rcirc.el: Delete trailing whitespaces once and for all.
7632
bfbbb27d
DC
76332011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7634
7635 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7636
d264a46b
CY
76372011-06-19 Chong Yidong <cyd@stupidchicken.com>
7638
4ca009e5
CY
7639 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7640
d264a46b
CY
7641 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7642
fbf5b3ce
MR
76432011-06-19 Martin Rudalics <rudalics@gmx.at>
7644
7645 * window.el (display-buffer-other-window-means-other-frame):
7646 Call display-buffer-normalize-alist.
7647 (display-buffer-normalize-specifiers-1): Rename to
7648 display-buffer-normalize-argument. New argument other-frame.
7649 Rewrite.
7650 (display-buffer-normalize-specifiers-2): Rename to
7651 display-buffer-normalize-options.
7652 (display-buffer-normalize-alist-1): New function.
7653 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7654 display-buffer-normalize-alist.
7655 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7656 (display-buffer-normalize-options-inhibit): New variable.
7657 (display-buffer-normalize-specifiers): Rewrite calling
7658 display-buffer-normalize-alist,
7659 display-buffer-normalize-argument, and
7660 display-buffer-normalize-options. Don't call the latter if
7661 display-buffer-normalize-options-inhibit is non-nil.
7662 (frame-auto-delete): New option.
7663 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7664 (window-list-no-nils, window-state-ignored-parameters)
7665 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7666 (window-state-put-1, window-state-put-2, window-state-put):
7667 New functions.
9a028c23
MR
7668 (display-buffer-normalize-options): Move special-display-p group
7669 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7670
6d10d800
CY
76712011-06-18 Chong Yidong <cyd@stupidchicken.com>
7672
6420d28b
CY
7673 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7674 groups (Bug#8776).
7675 (rx-submatch-n): New function.
7676 (rx): Document it.
7677
ddb8b596
CY
7678 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7679 (Bug#8768).
7680
7681 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7682
77080289
CY
7683 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7684
61dfb316
CY
7685 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7686 anytime existing face settings are present (Bug#8889).
7687
6d10d800
CY
7688 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7689 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7690 Remove unused argument.
7691
be3fb2b8
MR
76922011-06-18 Martin Rudalics <rudalics@gmx.at>
7693
bcd70d97
SM
7694 * window.el (display-buffer-default-specifiers):
7695 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7696 pop-up-window-min-width, and another reuse-window specifier
7697 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7698 (display-buffer-normalize-specifiers-2):
7699 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7700 pop-up-windows is unset. Add a reuse-window specifier for the
7701 case popping up a new window fails.
7702 (special-display-popup-frame): Remove double quoting.
28dec25a 7703 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7704
1c6d8c76
SM
77052011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7706
7707 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7708 according to comint-completion-addsuffix.
7709
7710 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7711 (pcomplete-suffix-list): Mark as obsolete.
7712 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7713 pcomplete-seen in the closure.
7714 (pcomplete-comint-setup): Setup completion-at-point as well.
7715 (pcomplete--entries): New function.
7716 (pcomplete--env-regexp): New var.
7717 (pcomplete-entries): Rewrite to work with partial-completion and
7718 without relying on pcomplete-suffix-list.
7719 (pcomplete-pare-list): Remove, unused.
7720
25aef8b8
MR
77212011-06-17 Martin Rudalics <rudalics@gmx.at>
7722
7723 * window.el (display-buffer-alist): Set pop-up-window-min-height
7724 and pop-up-window-min-width in default value. Reported by
7725 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7726 other-window-means-other-frame.
7727 (display-buffer-macro-specifiers): Comment out entry for
7728 other-window specifier.
7729 (display-buffer-other-window-means-other-frame): New function.
7730 (display-buffer-normalize-specifiers-1): New arguments
7731 buffer-name and label. Treat other-window case specially.
7732 (display-buffer-normalize-specifiers-2): Treat other-window case
7733 specially.
7734 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7735 (display-buffer-normalize-specifiers):
7736 Call display-buffer-normalize-specifiers-3.
25aef8b8 7737
dbad4f69
MR
77382011-06-17 Martin Rudalics <rudalics@gmx.at>
7739
7740 * window.el (same-window-p): Fix two typos introduced when
7741 adding with-no-warnings.
d1067961
MR
7742 (display-buffer-normalize-specifiers-1): Don't check
7743 pop-up-frames for 'unset initialization.
7744 (display-buffer-normalize-specifiers-2): Major rewrite using
7745 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7746 (pop-up-frames, display-buffer-reuse-frames)
7747 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7748 Suggested by David Engster <deng@randomsample.de>.
7749 (even-window-heights): Initialize to 'unset.
7750 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7751 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7752 other window case.
dbad4f69 7753
9b9c9e3a
MR
77542011-06-16 Martin Rudalics <rudalics@gmx.at>
7755
bcd70d97
SM
7756 * window.el (display-buffer-normalize-specifiers-1):
7757 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7758 second argument of display-buffer (Bug#8865).
981d5c09
MR
7759 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7760 (switch-to-buffer-other-window-same-frame)
7761 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7762 Adams (Bug#8875).
9c2755e9
MR
7763 (display-buffer): Don't check noninteractive when calling
7764 display-buffer-pop-up-frame.
7765 (display-buffer-pop-up-frame): Never pop up a frame in
7766 noninteractive mode (Bug#8857).
67222e1d
MR
7767 (enlarge-window, shrink-window): Don't report an error when the
7768 window can't be resized as requested (Bug#8862).
9b9c9e3a 7769
2b75be67
SM
77702011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7771
9ffdd3ba
SM
7772 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7773
cb581a67
SM
7774 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7775
2b75be67
SM
7776 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7777
8c0e3589
AM
77782011-06-15 Alan Mackenzie <acm@muc.de>
7779
cb581a67
SM
7780 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7781 for declarators, disable knr checking to speed up for normal files.
7782 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7783
b96e6cde
LMI
77842011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7785
4bba86e6
LMI
7786 * net/network-stream.el (open-network-stream): Add the keyword
7787 :always-query-capabilities for the case where you want to force a
7788 `plain' network connection, but the protocol still requires the
7789 capabilitiy command (i.e., SMTP and EHLO).
7790
2b75be67 7791 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7792 consistency with other `-live-p' functions.
7793
efdcdbf8
SM
77942011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * window.el (same-window-buffer-names, same-window-regexps)
7797 (special-display-frame-alist, special-display-popup-frame)
7798 (special-display-function, special-display-buffer-names)
7799 (special-display-regexps, pop-up-frame-alist)
7800 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7801 (pop-up-windows, split-window-preferred-function)
7802 (split-height-threshold, split-width-threshold, even-window-heights)
7803 (display-buffer-mark-dedicated): Don't encourage the use of
7804 display-buffer-alist from Elisp code.
7805
c5cde042
DN
78062011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7807
7808 * progmodes/python.el (python-mode): Derive from prog-mode.
7809 * progmodes/ps-mode.el (ps-mode):
7810 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7811 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7812 * progmodes/ld-script.el (ld-script-mode): Likewise.
7813
baa1c9ab
MR
78142011-06-15 Martin Rudalics <rudalics@gmx.at>
7815
7816 * window.el (display-buffer-alist): Trim default value to avoid
7817 popping up a new frame (Bug#8857) or reusing an arbitrary window
7818 on another frame.
7819 (display-buffer): Do not fall back on popping up a new frame in
7820 batch mode (Bug#8857).
7821
c5dd5a51
CY
78222011-06-14 Chong Yidong <cyd@stupidchicken.com>
7823
7824 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7825 (custom-theme-summary): New function.
7826 (customize-themes): Use it.
7827
d647b7c4
GM
78282011-06-13 Glenn Morris <rgm@gnu.org>
7829
7830 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7831
9481c002
MR
78322011-06-13 Martin Rudalics <rudalics@gmx.at>
7833
357f93d2
MR
7834 * help.el (help-window): Remove variable.
7835 (help-window-point-marker, temp-buffer-max-height)
7836 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7837 (help-print-return-message): Don't set help-window.
7838 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7839 (help-window-setup-finish): Remove.
7840 (help-window-display-message, help-window-setup)
7841 (with-help-window): Major rewrite based on new
7842 display-buffer-window variable.
7843
7844 * help-mode.el (help-mode-finish): Remove help-window related
7845 code.
7846
7847 * view.el (view-exits-all-viewing-windows): Remove reference to
7848 view-return-to-alist in doc-string.
7849 (view-return-to-alist): Make obsolete.
7850 (view-buffer): Call pop-to-buffer-same-window and remove
7851 undo-window code.
7852 (view-buffer-other-window): Call pop-to-buffer-other-window and
7853 simplify code. Ignore second argument.
7854 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7855 simplify code. Ignore second argument.
7856 (view-return-to-alist-update): Make obsolete.
7857 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7858 Rewrite using quit-restore window parameters.
2b75be67
SM
7859 (view-mode-exit): Rename second argument to EXIT-ONLY.
7860 Rewrite using quit-restore-window.
357f93d2
MR
7861 (View-exit, View-exit-and-edit, View-leave, View-quit)
7862 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7863 appropriate arguments.
7864 (view-end-message): Use quit-restore window parameter.
7865
9481c002
MR
7866 * window.el (display-buffer-function): Rewrite doc-string.
7867 (display-buffer-window, display-buffer-alist): New variables.
7868 (display-buffer-split-specifiers)
7869 (display-buffer-side-specifiers)
7870 (display-buffer-macro-specifiers): New constants.
7871 (display-buffer-even-window-sizes, display-buffer-set-height)
7872 (display-buffer-set-width, display-buffer-select-window)
7873 (display-buffer-in-window, display-buffer-reuse-window)
7874 (display-buffer-split-window-1, display-buffer-split-window)
7875 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7876 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7877 (display-buffer-in-side-window, normalize-buffer-to-display)
7878 (display-buffer-normalize-specifiers-1)
7879 (display-buffer-normalize-specifiers-2)
2b75be67
SM
7880 (display-buffer-normalize-specifiers, display-buffer-frame):
7881 New functions.
9481c002
MR
7882 (display-buffer): Major rewrite.
7883 (display-buffer-other-window, display-buffer-other-frame)
7884 (pop-to-buffer, switch-to-buffer-other-window)
7885 (switch-to-buffer-other-frame): Rewrite.
7886 (display-buffer-same-window, display-buffer-same-frame)
7887 (display-buffer-same-frame-other-window)
7888 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7889 (pop-to-buffer-other-window)
7890 (pop-to-buffer-same-frame-other-window)
7891 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7892 (switch-to-buffer-other-window-same-frame): New functions.
7893 (same-window-p, special-display-p): Rewrite disabling warnings.
7894 Make obsolete.
7895 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7896 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7897 Make obsolete
7898 (same-window-buffer-names, same-window-regexps)
7899 (special-display-frame-alist, special-display-popup-frame)
7900 (special-display-function, special-display-buffer-names)
7901 (special-display-regexps, pop-up-frame-alist)
7902 (pop-up-frame-function, split-window-preferred-function)
7903 (split-height-threshold, split-width-threshold)
7904 (even-window-heights): Make obsolete.
7905
9db51aca
GM
79062011-06-12 Glenn Morris <rgm@gnu.org>
7907
7908 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 7909 Misc simplifications.
9db51aca 7910
39cffb44
MR
79112011-06-12 Martin Rudalics <rudalics@gmx.at>
7912
7913 * window.el (window-safely-shrinkable-p): Restore function which
7914 was inadvertently removed in change from 2011-06-11. Declare as
7915 obsolete.
7916
2b75be67
SM
7917 * calendar/calendar.el (calendar-generate-window):
7918 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
7919 window-safely-shrinkable-p.
7920
a8955be7
GM
79212011-06-12 Glenn Morris <rgm@gnu.org>
7922
7923 * progmodes/fortran.el (fortran-mode-syntax-table):
7924 * progmodes/f90.el (f90-mode-syntax-table):
7925 Set % to punctuation. (Bug#8820)
7926 (f90-find-tag-default): Remove, no longer needed.
7927
f0d4059d
DC
79282011-06-12 Daniel Colascione <dan.colascione@gmail.com>
7929
7930 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7931
1100a63c
CY
79322011-06-11 Chong Yidong <cyd@stupidchicken.com>
7933
7934 * image.el (image-animated-p): Return animation delay in seconds.
7935 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7936 (image-animate-timeout): Remove DELAY argument. Don't assume
7937 every subimage has the same delay; get it from image-animated-p.
7938 (image-animate): Caller changed.
7939
def722bf
MA
79402011-06-11 Michael Albinus <michael.albinus@gmx.de>
7941
7942 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7943 to ignored backtrace functions.
7944
0a2bb1a9
GM
79452011-06-11 Glenn Morris <rgm@gnu.org>
7946
7947 * calendar/appt.el (appt-disp-window-function): Doc fix.
7948 (appt-check): Handle overlapping appointments. (Bug#8337)
7949
6198ccd0
MR
79502011-06-11 Martin Rudalics <rudalics@gmx.at>
7951
7952 * window.el (window-tree-1, window-tree): New functions, moving
7953 the latter to window.el.
7954 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7955 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7956 (bw-refresh-edges): Remove.
7957 (balance-windows-1, balance-windows-2): New functions.
7958 (balance-windows): Rewrite in terms of window tree functions,
7959 balance-windows-1 and balance-windows-2.
7960 (bw-adjust-window): Remove.
7961 (balance-windows-area-adjust): New function with functionality of
7962 bw-adjust-window but using resize-window.
2b75be67
SM
7963 (set-window-text-height): Rewrite doc-string.
7964 Use normalize-live-window and resize-window.
7965 (enlarge-window-horizontally, shrink-window-horizontally):
7966 Rename argument to DELTA.
6198ccd0
MR
7967 (window-buffer-height): New function.
7968 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
7969 Rewrite using new window resize routines.
2b75be67
SM
7970 (kill-buffer-and-window, mouse-autoselect-window-select):
7971 Use ignore-errors instead of condition-case.
6198ccd0
MR
7972 (quit-window): Call delete-frame instead of delete-windows-on
7973 for the only buffer on frame.
7974
9397e56f
MR
79752011-06-10 Martin Rudalics <rudalics@gmx.at>
7976
7977 * loadup.el (top-level): Load window before files for the sake
7978 of replace-buffer-in-windows.
7979
7980 * files.el (read-buffer-to-switch)
7981 (switch-to-buffer-other-window)
2b75be67
SM
7982 (switch-to-buffer-other-frame, display-buffer-other-frame):
7983 Move to window.el.
9397e56f
MR
7984
7985 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
7986 (previous-buffer): Move to window.el.
7987
7988 * bindings.el (unbury-buffer): Move to window.el.
7989
7990 * window.el (delete-other-windows-vertically): Move after
7991 definition of delete-other-windows.
7992 (other-window, delete-windows-on, replace-buffer-in-windows):
7993 Move here from window.c.
7994 (record-window-buffer, unrecord-window-buffer)
7995 (set-window-buffer-start-and-point, switch-to-prev-buffer)
7996 (switch-to-next-buffer): New functions.
7997 (get-next-valid-buffer, last-buffer, next-buffer): Move here
7998 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
7999 (previous-buffer): Move here from simple.el.
8000 Call switch-to-prev-buffer.
9397e56f
MR
8001 (bury-buffer): Move here from buffer.c. Switch to previous
8002 buffer when window cannot be deleted.
8003 (unbury-buffer): Move here from bindings.el.
8004 (ctl-x-map): Move binding for other-window from window.c to
8005 here.
8006 (read-buffer-to-switch, switch-to-buffer-other-window)
8007 (switch-to-buffer-other-frame): Move here from files.el.
8008 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8009 (switch-to-buffer): Move here from buffer.c.
8010 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8011
562dd5e9
MR
80122011-06-10 Martin Rudalics <rudalics@gmx.at>
8013
8014 * window.el (window-min-height, window-min-width): Move here
8015 from window.c. Add defcustoms and rewrite doc-strings.
8016 (resize-mini-window, resize-window): New functions.
8017 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8018 Move here from window.c.
8019 (maximize-window, minimize-window): New functions.
8020 (delete-window, delete-other-windows, split-window): Move here
8021 from window.c.
8022 (window-split-min-size): New function.
8023 (split-window-keep-point): Mention split-window-above-each-other
8024 instead of split-window-vertically.
2b75be67 8025 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8026 Rename split-window-vertically to split-window-above-each-other
8027 and provide defalias for old definition.
8028 (split-window-side-by-side, split-window-horizontally):
8029 Rename split-window-horizontally to split-window-side-by-side
8030 and provide defalias for the old definition.
562dd5e9
MR
8031 (ctl-x-map): Move bindings for delete-window,
8032 delete-other-windows and enlarge-window here from window.c.
8033 Replace bindings for split-window-vertically and
8034 split-window-horizontally by bindings for
8035 split-window-above-each-other and split-window-side-by-side.
8036
8037 * cus-start.el (all): Remove entries for window-min-height and
8038 window-min-width. Add entries for window-splits and
8039 window-nest.
8040
f0da764a
GM
80412011-06-09 Glenn Morris <rgm@gnu.org>
8042
80675c21
GM
8043 * calendar/appt.el (appt-mode-line): New function.
8044 (appt-check, appt-disp-window): Use it.
8045
f0da764a
GM
8046 * files.el (hack-one-local-variable-eval-safep):
8047 Allow minor-modes with explicit +/-1 arguments.
8048
59f623b7
TZ
80492011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8050
8051 * term/xterm.el (xterm): Add defgroup.
8052 (xterm-extra-capabilities): Add defcustom to supply known xterm
8053 capabilities, skip querying them, or query them (default).
8054 (terminal-init-xterm): Use it.
8055 (terminal-init-xterm-modify-other-keys): New function to set up
8056 modifyOtherKeys support to simplify `terminal-init-xterm'.
8057
9aab8e0d
MR
80582011-06-09 Martin Rudalics <rudalics@gmx.at>
8059
8060 * window.el (resize-window-reset, resize-window-reset-1)
8061 (resize-subwindows-skip-p, resize-subwindows-normal)
8062 (resize-subwindows, resize-other-windows, resize-this-window)
8063 (resize-root-window, resize-root-window-vertically)
8064 (window-deletable-p, window-or-subwindow-p)
8065 (frame-root-window-p): New functions.
8066
e8b08aee
GM
80672011-06-09 Glenn Morris <rgm@gnu.org>
8068
8069 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8070 (ange-ftp-get-files): Use it.
8071
254c37a5
AK
80722011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8073
8074 * mail/sendmail.el (mail-recover-1, mail-recover):
8075 * files.el (recover-file, recover-session):
8076 Handle dired-listing-switches not being just a single short option.
8077
35d7dbd3
GM
80782011-06-09 Glenn Morris <rgm@gnu.org>
8079
8080 * calendar/appt.el (appt-display-message, appt-disp-window):
8081 Handle lists of appointments.
8082
387522b2
MR
80832011-06-08 Martin Rudalics <rudalics@gmx.at>
8084
2b75be67
SM
8085 * window.el (one-window-p): Move down in code.
8086 Rewrite doc-string.
8087 (window-current-scroll-bars): Rewrite doc-string.
8088 Normalize live window argument.
387522b2
MR
8089 (walk-windows, get-window-with-predicate, count-windows):
8090 Rewrite doc-string. Use window-list-1.
8091 (window-in-direction-2, window-in-direction, get-mru-window):
8092 New functions.
8093
d8e4b68b 80942011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8095
8096 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8097 Doc fix (Bug#8713).
8098
80992011-06-08 Chong Yidong <cyd@stupidchicken.com>
8100
8101 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8102
81032011-06-08 Juanma Barranquero <lekktu@gmail.com>
8104
8105 * loadhist.el (unload-feature-special-hooks):
8106 Add `comint-output-filter-functions'.
8107
0de12c52
IK
81082011-06-08 Ivan Kanis <gnu@kanis.fr>
8109
8110 * calendar/appt.el (appt-check): Move some initializations into the let.
8111
f3d1777e
MR
81122011-06-08 Martin Rudalics <rudalics@gmx.at>
8113
8114 * window.el (window-height): Defalias to window-total-height.
8115 (window-width): Defalias to window-body-width.
8116
18af70d0
CY
81172011-06-07 Chong Yidong <cyd@stupidchicken.com>
8118
8119 * image-mode.el (image-toggle-animation): New command.
8120 (image-mode-map): Bind it to RET.
8121 (image-mode): Update message.
8122 (image-toggle-display-image): Avoid a spurious cache flush.
8123 (image-transform-rotation): Doc fix.
8124 (image-transform-properties): Return quickly in the normal case.
8125 (image-animate-loop): Rename from image-animate-max-time.
8126
2b75be67 8127 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8128 (create-animated-image): Remove unnecessary function.
8129 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8130 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8131 (image-animate-timer): Use car-safe.
8132 (image-animate-timeout): Rename argument.
8133
190b47e6
MR
81342011-06-07 Martin Rudalics <rudalics@gmx.at>
8135
8136 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8137 window.c. Rename first argument to ALL-FRAMES.
8138 Rephrase doc-strings.
8139 (get-buffer-window-list): Rewrite using window-list-1.
8140 Rephrase doc-string.
a1511caf
MR
8141 (window-safe-min-height, window-safe-min-width): New constants.
8142 (window-size-ignore, window-min-size, window-min-size-1)
8143 (window-sizable, window-sizable-p, window-size-fixed-1)
8144 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8145 (window-max-delta-1, window-max-delta, window-resizable)
8146 (window-resizable-p, window-total-height, window-total-width)
8147 (window-body-width): New functions.
8148 (window-full-height-p, window-full-width-p): Rewrite using
8149 window-total-size.
8150 (window-body-height): Rewrite using window-body-size.
190b47e6 8151
85cc1f11
MR
81522011-06-06 Martin Rudalics <rudalics@gmx.at>
8153
8154 * window.el (window-right, window-left, window-child)
8155 (window-child-count, window-last-child, window-any-p)
8156 (normalize-live-buffer, normalize-live-frame)
8157 (normalize-any-window, normalize-live-window)
8158 (window-iso-combination-p, window-iso-combined-p)
8159 (window-iso-combinations)
8160 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8161 (windows-with-parameter, window-with-parameter)
8162 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8163 (window-atom-check, window-side-check, window-check):
8164 New functions.
85cc1f11
MR
8165 (ignore-window-parameters, window-sides, window-sides-vertical)
8166 (window-sides-slots): New variables.
8167 (window-size-fixed): Move down in code. Minor doc-string fix.
8168
e7156492
AS
81692011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8170
8171 * comint.el (comint-dynamic-complete-as-filename)
8172 (comint-dynamic-complete-filename): Correctly call
8173 completion-in-region.
8174
7e821d0d
DD
81752011-06-05 Deniz Dogan <deniz@dogan.se>
8176
8177 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8178 in last change.
8179
ac09b8a1
DD
81802011-06-05 Deniz Dogan <deniz@dogan.se>
8181
8182 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8183 (rcirc): Use it to prompt for encryption.
8184
34699b85
RW
81852011-06-05 Roland Winkler <winkler@gnu.org>
8186
8187 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8188 (bibtex-search-entries): New command bound to C-c C-a.
8189 (bibtex-display-entries): New function.
8190
004dedd3
RW
81912011-06-05 Roland Winkler <winkler@gnu.org>
8192
8193 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8194 (bibtex-insert-kill): After yanking insert newline if necessary.
8195 (bibtex-initialize): Call bibtex-string-files-init only once.
8196 (bibtex-mode): Do not call easy-menu-add.
8197 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8198 (bibtex-yank): Set arg properly if nil.
8199
022fe7ce
RW
82002011-06-05 Roland Winkler <winkler@gnu.org>
8201
2b75be67
SM
8202 * textmodes/bibtex.el (bibtex-search-entry-globally):
8203 New variable.
022fe7ce
RW
8204 (bibtex-search-entry): Use it.
8205
b7c3692a
RW
82062011-06-05 Roland Winkler <winkler@gnu.org>
8207
8208 * textmodes/bibtex.el (bibtex-entry-format): New option
8209 sort-fields.
8210 (bibtex-format-entry, bibtex-reformat): Honor this option.
8211 (bibtex-parse-entry): Return fields in proper order.
8212
8eda563d
JB
82132011-06-05 Juanma Barranquero <lekktu@gmail.com>
8214
8215 * doc-view.el (doc-view-remove-if): Move computation of result out
8216 of `dolist' to silence misleading lexical-binding warning.
8217
7dbe3dbc
CY
82182011-06-04 Chong Yidong <cyd@stupidchicken.com>
8219
8220 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8221 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8222
0c33dd17
MA
82232011-06-04 Michael Albinus <michael.albinus@gmx.de>
8224
8225 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8226 "SunOS 5.10".
8227
f8f91c2b
MA
82282011-06-04 Michael Albinus <michael.albinus@gmx.de>
8229
8230 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8231 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8232 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8233 (tramp-parse-putty):
8234 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8235 (tramp-completion-function-alist-ssh)
8236 (tramp-completion-function-alist-telnet)
8237 (tramp-completion-function-alist-su)
8238 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8239 cookie.
8240
8241 * net/tramp-ftp.el:
8242 * net/tramp-sh.el:
8243 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8244 load "tramp.el" `tramp-set-completion-function'.
8245
e17d9003
SM
82462011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8247
8248 * shell.el: Require and use pcomplete.
8249 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8250 (shell-completion-vars): Set pcomplete-default-completion-function.
8251
6c4cab03
DD
82522011-06-04 Deniz Dogan <deniz@dogan.se>
8253
8254 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8255 `memq' (Bug#8799).
8256
ea9fafe0
SM
82572011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8258
8259 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8260
b3e945d3
JB
82612011-06-02 Juanma Barranquero <lekktu@gmail.com>
8262
8263 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8264 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8265 * vc/log-view.el (log-view-beginning-of-defun):
8266 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8267 (smerge-refine-forward, smerge-refine-chopup-region):
8268 Silence warning for unused `dotimes' counter variables.
8269
7d520089
SM
82702011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * net/tramp.el (tramp-with-progress-reporter): Rename from
8273 with-progress-reporter. Use `declare'.
8274 * net/tramp-smb.el:
8275 * net/tramp-sh.el:
8276 * net/tramp-gvfs.el: Update all uses.
8277
a1c2400f
JB
82782011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8279
8280 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8281 buffer isn't killed before making it current.
8282
2403c841
SM
82832011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 Silence various byte-compiler warnings.
8286 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8287 `access-type' and new obsolescence format.
8288 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8289 new format.
8290 (byte-compile-check-variable): New `access-type' argument.
8291 Only warn if the access-type is obsolete.
8292 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8293 (byte-compile-variable-set): Adjust callers.
8294 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8295 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8296 setting it as obsolete.
8297 * simple.el (minibuffer-completing-symbol):
8298 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8299 access as obsolete.
8300 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8301 obsolete yet.
8302 * international/quail.el (quail-mouse-choose-completion): Remove unused
8303 code referring to obsolete var.
8304 (quail-choose-completion-string): Remove.
8305 * server.el (server-clients-with, server-kill-buffer-query-function)
8306 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8307 * proced.el (proced-send-signal):
8308 * emacs-lisp/lisp.el (lisp-complete-symbol):
8309 Replace completion-annotate-function with completion-extra-properties.
8310
2462470b
SM
83112011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8312
fb5b2591
SM
8313 * simple.el (goto-line): Use read-number.
8314 (overriding-map-is-bound): Remove.
8315 (saved-overriding-map): Change default.
8316 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8317 Take the map as argument.
8318 (universal-argument, negative-argument, digit-argument): Use it.
8319 (restore-overriding-map): Adjust.
8320 (do-auto-fill): Use fill-forward-paragraph.
8321 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8322
fd6fa53f
SM
8323 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8324 (minibuffer-inactive-mode): New major mode.
8325 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8326 the *Messages* buffer" hack.
8327 (mouse-popup-menubar): Don't burp if the event is a normal key.
8328
2462470b
SM
8329 Miscellaneous tweaks.
8330 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8331 lexical scoping as in subr.el's dolist and dotimes.
8332 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8333 Silence compiler warning.
8334 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8335 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8336 * international/ccl.el (ccl-compile): Trivial simplification.
8337 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8338 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8339 `printflag' argument.
8340 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8341 Purecopy the whole obsolescence data.
8342
108bf785
LL
83432011-06-01 Leo Liu <sdl.web@gmail.com>
8344
8345 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8346 improve doc-string as suggested by Marco Pessotto
8347 <melmothx@gmail.com>.
8348 (rcirc-print): Fix last change.
8349
30a23501
SM
83502011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8351
8352 * minibuffer.el (complete-with-action): Return nil for the metadata and
8353 boundaries of non-functional tables.
8354 (completion-table-dynamic): Return nil for the metadata.
8355 (completion-table-with-terminator): Add default case, using
8356 complete-with-action.
8357 (completion--metadata): New function.
8358 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8359 to try and avoid pathological performance problems.
8360 (completion--embedded-envvar-table): Return `category' metadata.
8361
bcd54f83
LMI
83622011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8363
8364 * subr.el (process-alive-p): New tiny convenience function.
8365
e227544d
SM
83662011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8367
8368 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8369 content but also its previous major mode.
8370
e8296fdc
HE
83712011-05-31 Helmut Eller <eller.helmut@gmail.com>
8372
4d61f28d 8373 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8374 *Backtrace* buffer when we exit with C-M-c.
8375
620c53a6
SM
83762011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8377
8378 * minibuffer.el: Add metadata method to completion tables.
8379 (completion-category-overrides): New defcustom.
8380 (completion-metadata, completion--field-metadata)
8381 (completion-metadata-get, completion--styles)
8382 (completion--cycle-threshold): New functions.
8383 (completion-try-completion, completion-all-completions):
8384 Add `metadata' argument to choose completion-styles.
8385 (completion--do-completion): Use metadata to choose cycling.
8386 (completion-all-sorted-completions): Use metadata for sorting.
8387 Remove :completion-cycle-penalty which is not needed any more.
8388 (completion--try-word-completion): Add `metadata' argument.
8389 (minibuffer-completion-help): Check metadata for annotation function
8390 and sorting.
8391 (completion-file-name-table): Return `category' metadata.
8392 (minibuffer-completing-file-name): Make obsolete.
8393 * simple.el (minibuffer-completing-symbol): Make obsolete.
8394 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8395 completion-try-completion.
8396
1257e755
SM
83972011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8398
8399 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8400
3767e706
LL
84012011-05-30 Leo Liu <sdl.web@gmail.com>
8402
8403 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8404 (rcirc-print): Decode all incoming messages (bug#8744).
8405 (rcirc-decode-coding-system): Allow value nil for automatic coding
8406 system detection.
3767e706 8407
d1a5d56a
GM
84082011-06-01 Glenn Morris <rgm@gnu.org>
8409
8410 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8411
e8cbec34
CY
84122011-05-29 Chong Yidong <cyd@stupidchicken.com>
8413
8414 * image.el (image-animate-max-time): Allow nil and t values.
8415 Default to nil.
8416 (create-animated-image): Doc fix.
8417 (image-animate-start): Remove second arg; just use
8418 image-animate-max-time.
8419 (image-animate-timeout): Doc fix. Args changed.
8420
8421 * image-mode.el (image-toggle-display-image): Ensure that the
8422 image spec passed to the animate timer is the same object as in
58179cce 8423 the buffer's display property (Bug#6981).
e8cbec34
CY
8424 (image-transform-properties): Doc fix.
8425
8426 * image.el (image-animate-max-time): Default to nil.
8427
159daf87
MR
84282011-05-29 Martin Rudalics <rudalics@gmx.at>
8429
8430 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8431 entire buffer list (Bug#8184).
8432
d66c4c7c
CY
84332011-05-29 Chong Yidong <cyd@stupidchicken.com>
8434
8435 * image.el (imagemagick-types-inhibit)
8436 (imagemagick-register-types): Doc fix.
8437
80aec780
DD
84382011-05-29 Deniz Dogan <deniz@dogan.se>
8439
8440 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8441 default.
8442
1dd3c2d9
CY
84432011-05-29 Chong Yidong <cyd@stupidchicken.com>
8444
8445 * select.el: Don't perform clipboard-manager saving in hooks;
8446 leave the hooks empty.
8447
60e56523
LL
84482011-05-28 Leo Liu <sdl.web@gmail.com>
8449
8450 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8451 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8452 (occur-edit-mode): New major mode (Bug#8463).
8453 (occur-after-change-function): New function.
8454 (occur-engine): Give Occur tags a read-only property.
8455
2b1e1a22
KR
84562011-05-28 Kevin Ryde <user42@zip.com.au>
8457
8458 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8459
5d344e88
CY
84602011-05-28 Chong Yidong <cyd@stupidchicken.com>
8461
8e6ca83d
CY
8462 * bindings.el (help-echo): Make the initial non-indicator dash
8463 empty on graphical terminals (Bug#7295).
8464
5d344e88
CY
8465 * files.el (auto-mode-alist): Move config rule after the
8466 in-stripping one (Bug#8547).
8467
bfbbace7
CY
8468 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8469
fbeba6e2
CY
8470 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8471 setting (Bug#8740).
8472
60ed8c72
AA
84732011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8474
4ac619f0
AA
8475 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8476 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8477 (Bug#8539).
60ed8c72 8478
23db196e
CY
84792011-05-28 Chong Yidong <cyd@stupidchicken.com>
8480
8481 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8482
5012f24c
DK
84832011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8484
8485 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8486 (hs-hide-block-at-point, hs-find-block-beginning)
8487 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8488 (Bug#8279).
8489
6a639b16
GM
84902011-05-28 Glenn Morris <rgm@gnu.org>
8491
8492 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8493
d43eaf2c
CY
84942011-05-28 Chong Yidong <cyd@stupidchicken.com>
8495
5199bde1
CY
8496 * help-fns.el (describe-function-1): If the function is a derived
8497 major mode, print the parent mode.
8498
d43eaf2c
CY
8499 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8500 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8501
423428a8
SM
85022011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8503
0ff8e1ba 8504 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8505 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8506 * progmodes/etags.el (tags-completion-at-point-function):
8507 * info-look.el (info-lookup-completions-at-point): Mark as
8508 non-exclusive.
8509 (info-complete): Adjust accordingly.
8510
423428a8
SM
8511 * info-look.el: Convert to lexical-binding and completion-at-point.
8512 (info-lookup-completions-at-point): New function.
8513 (info-complete): Use it and completion-in-region.
8514
b74aa22b
DA
85152011-05-28 Drew Adams <drew.adams@oracle.com>
8516
8517 * isearch.el: Let M-e start with point at the first mismatched char.
8518 (isearch-fail-pos): New function.
8519 (isearch-edit-string): Use it.
8520
66e2e71d
DK
85212011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8522
8523 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8524
b1890b0f 85252011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8526
8527 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8528 traversal functions for avl-trees.
8529 (avl-tree--stack): New struct.
8530 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8531 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8532 (avl-tree--do-enter): Add optional `updatefun' arg.
8533 Change return value.
eb95d01d 8534 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8535 (avl-tree--do-delete): Add `test' and `nilflag' args.
8536 Change return value.
eb95d01d
TC
8537 (avl-tree-member): Add optional `nilflag'
8538 (avl-tree-member-p): New function.
8539 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8540 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8541 (avl-tree-stack-empty-p): New functions.
8542
3769ddcf
TC
8543 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8544 avl-tree--del-balance1 and make it work both ways.
8545 (avl-tree--del-balance2): Remove.
8546 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8547 make it work both ways.
8548 (avl-tree--enter-balance2): Remove.
8549 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8550 New macros.
8551 (avl-tree--mapc, avl-tree-map): Add direction argument.
8552
eb95d01d 85532011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8554
8555 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8556
a9f737ee
CY
85572011-05-27 Chong Yidong <cyd@stupidchicken.com>
8558
8559 * select.el: Support clipboard managers with built-in function
8560 x-clipboard-manager-save, via delete-frame-functions and
8561 kill-emacs-hook.
8562 (xselect-convert-to-targets): Add MULTIPLE target to list.
8563 (xselect-convert-to-save-targets): New function.
8564
c92a1e54
KH
85652011-05-27 Kenichi Handa <handa@m17n.org>
8566
8567 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8568 let-binding rfc2047-encode-encoded-words to nil.
8569
e145f188
GM
85702011-05-27 Glenn Morris <rgm@gnu.org>
8571
5ec8a862
GM
8572 * mail/emacsbug.el: Don't require url-util.
8573
4b29d9fb
GM
8574 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8575
e145f188
GM
8576 * files.el (set-auto-mode):
8577 Also respect mode: entries at the end of the file. (Bug#8586)
8578
7d15102b
GM
85792011-05-26 Glenn Morris <rgm@gnu.org>
8580
98f593b8
GM
8581 * files.el (hack-local-variables-prop-line, hack-local-variables):
8582 Downcase mode names, as seems to be traditional.
27b48e63 8583 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8584
7d15102b
GM
8585 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8586 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8587
51d5b4ec
JD
85882011-05-25 Julien Danjou <julien@danjou.info>
8589
8590 * textmodes/rst.el (rst-define-level-faces): Do not define face
8591 symbol if it is already defined.
8592
91513f63
VB
85932011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8594
8595 * play/5x5.el (5x5-new-game, 5x5-randomize):
8596 Reset 5x5-solver-output to nil when a new grid is cast.
8597 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8598 these debugging traces, as defmacro breaks the compiled code.
8599
4d90d6d0
DK
86002011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8601
8602 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8603
e1b90ef6
LL
86042011-05-24 Leo Liu <sdl.web@gmail.com>
8605
8606 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8607 (vc-bzr-sha1): Adapt.
8608
d8e4b68b 8609 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8610
8611 * bindings.el: Provide sha1 feature.
8612
db0406bb 86132011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8614
8615 * mail/sendmail.el: Require `rfc2047'.
8616 (mail-insert-from-field): Do not perform RFC2047 encoding.
8617 (mail-encode-header): New function.
8618 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8619 buffer to the return value of select-message-coding-system.
8620 Call mail-encode-header.
b8d747b9
KH
8621
8622 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8623
db0406bb 86242011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8625
4d90d6d0
DK
8626 * mail/supercite.el (sc-default-cite-frame):
8627 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8628
eb8a5e9b
GM
86292011-05-24 Glenn Morris <rgm@gnu.org>
8630
f8630703
GM
8631 * progmodes/python.el (brm-menu): Declare.
8632
8831bbed
GM
8633 * emulation/viper.el (viper-set-hooks): Declare.
8634
eb8a5e9b
GM
8635 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8636 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8637 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8638 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8639 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8640 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8641
a2a25d24
SM
86422011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8643
8644 Add an :exit-function for completion-at-point.
8645
8646 * minibuffer.el (completion--done): New fun.
8647 (completion--do-completion): Use it. New arg `expect-exact'.
8648 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8649 since completion--do-completion does it for us now.
8650 (minibuffer-force-complete): Use completion--done and
8651 completion--replace. Handle sole-completion case with more care.
8652 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8653 (completion-extra-properties): New var.
8654 (completion-annotate-function): Make obsolete.
8655 (minibuffer-completion-help): Adjust accordingly.
8656 Use completion-list-insert-choice-function.
8657 (completion-at-point, completion-help-at-point):
8658 Bind completion-extra-properties.
8659 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8660 * simple.el (completion-list-insert-choice-function): New var.
8661 (completion-setup-function): Preserve it.
8662 (choose-completion): Pay attention to it, shuffle the code a bit.
8663 (choose-completion-string): New arg `insert-function'.
8664
8665 * textmodes/bibtex.el: Convert to lexical binding.
8666 (bibtex-mode-map): Use completion-at-point.
8667 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8668 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8669 (bibtex-complete): Define as obsolete alias.
8670 (bibtex-complete-internal): Remove.
8671 (bibtex-format-entry): Remove unused sub-group in regexp.
8672 * shell.el (shell--command-completion-data)
8673 (shell-environment-variable-completion):
8674 * pcomplete.el (pcomplete-completions-at-point):
8675 * comint.el (comint--complete-file-name-data): Use :exit-function
8676 instead of completion-table-with-terminator so it also works for
8677 choose-completion.
8678
e44e373d
SM
86792011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8680
4f91a816
SM
8681 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8682
782fc819
SM
8683 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8684 (bug#8710).
8685
e44e373d
SM
8686 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8687
381987c3
KM
86882011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8689
8690 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8691 customization variable and implement: If non-nil, auto-fill will
8692 be inhibited while on topic's header line.
8693
b776bc70
VB
86942011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8695
8696 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8697 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8698 always have a solution in grid size = 5 cases.
8699 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8700 (5x5-solver-output, 5x5-log-buffer): New vars.
8701 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8702 Make these variables buffer local to achieve 5x5 multi-session-ness.
8703 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8704 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8705 (5x5-solve-suggest): New funs.
8706 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8707 randomize a grid so that we ensure that there is always a solution.
8708 (5x5-make-random-grid): Allow other movement than flipping.
8709
7de88b6e
KR
87102011-05-23 Kevin Ryde <user42@zip.com.au>
8711
8712 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8713 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8714 advice and passes PREDICATE.
8715
b1ef1257
SM
87162011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8717
bbca48fe
SM
8718 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8719 byte-compile-lambda if it's actually a lambda.
8720
b1ef1257
SM
8721 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8722 Fix function quoting. Use backquote better.
8723
92a9cc65
YS
87242011-05-22 Yuanle Song <sylecn@gmail.com>
8725
8726 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8727 matching (Bug#8516).
8728
f0fb8059
JA
87292011-01-22 Jari Aalto <jari.aalto@cante.net>
8730
8731 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8732 different face (Bug#8178).
8733
d5b44c93
CY
87342011-05-22 Chong Yidong <cyd@stupidchicken.com>
8735
8736 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8737 defface (Bug#8144).
8738
79106a44
SM
87392011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8740
9c848d8a
SM
8741 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8742 funcall as well (bug#8712). Warn when performing those conversions.
8743 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8744
79106a44
SM
8745 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8746
88dfa756
GM
87472011-05-22 Glenn Morris <rgm@gnu.org>
8748
8749 * files.el (hack-local-variables-prop-line): Small simplifications.
8750 (hack-local-variables, hack-local-variables-prop-line):
8751 If MODE-ONLY, return the mode, rather than just `t'.
8752
b7cf2c79
SM
87532011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8754
8755 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8756
3f1a8558
GM
87572011-05-21 Glenn Morris <rgm@gnu.org>
8758
7e4ccca3
GM
8759 * files.el (hack-local-variables-prop-line, hack-local-variables):
8760 If only interested in the mode, don't bother doing the other stuff.
8761
637d46ca
GM
8762 * image-mode.el (image-after-revert-hook):
8763 Redraw all frames on which the image is visible. (Bug#8567)
8764
973d955b
GM
8765 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8766
3f1a8558
GM
8767 * wid-edit.el (widget-checklist-match-inline):
8768 Fix 2011-04-19 change. (Bug#8649)
8769
96479927
SM
87702011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8771
1dcf791f
SM
8772 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8773 Also allow singlespace after single-letter capitals followed by a dot.
8774
96479927
SM
8775 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8776 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8777
35fd0881
N
87782011-05-20 Nix <nix@esperi.org.uk>
8779
8780 * files.el (basic-save-buffer-2):
8781 Fix handling of break-hardlink-on-save with non-existent files.
8782
82745640
DD
87832011-05-19 Deniz Dogan <deniz@dogan.se>
8784
8785 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8786 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8787
4a720484
GM
87882011-05-19 Glenn Morris <rgm@gnu.org>
8789
d1f21341
GM
8790 * progmodes/f90.el (f90-type-def-re):
8791 Handle "type, bind(c)". (Bug#8691)
8792
4a720484
GM
8793 * emacs-lisp/autoload.el (batch-update-autoloads):
8794 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8795
2fb0a219
MA
87962011-05-18 Michael Albinus <michael.albinus@gmx.de>
8797
8798 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8799 property for the correct connection in case of multihops.
8800
e565dd37
GM
88012011-05-18 Glenn Morris <rgm@gnu.org>
8802
c2571358 8803 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8804 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8805
e565dd37
GM
8806 Rationalize calendar handling of day and month abbrev-arrays.
8807 * calendar/calendar.el (calendar-customized-p): New function.
8808 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8809 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8810 Add :set function.
8811 (calendar-abbrev-length, calendar-day-abbrev-array)
8812 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8813 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8814 Elements may no longer be nil.
8815 (calendar-day-name, calendar-month-name):
8816 Update for changed nature of abbrev arrays.
8817 * calendar/diary-lib.el (diary-name-pattern):
8818 Update for changed nature of abbrev arrays.
8819 (diary-mark-entries-1): Update calendar-make-alist calls.
8820 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8821 * calendar/cal-html.el (cal-html-day-abbrev-array):
8822 Simply inherit from calendar-day-abbrev-array.
8823
1d99a745
SM
88242011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * progmodes/grep.el (grep-mode): Disable default
8827 compilation-directory-matcher setting (bug#8684).
8828
7c1d9aa0
MA
88292011-05-17 Michael Albinus <michael.albinus@gmx.de>
8830
8831 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8832 instead of "head" and "tail". There were problems with SunOS 5.9,
8833 and it performs better.
8834
3952e9d8
GM
88352011-05-17 Glenn Morris <rgm@gnu.org>
8836
2dd12e7f
GM
8837 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8838
e4157b9c
GM
8839 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8840 Replace obsolete function.
8841
8e249bbd
GM
8842 * shell.el (pcomplete-parse-arguments-function): Declare.
8843
3952e9d8
GM
8844 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8845 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8846 (appt-check): Doc fixes.
8847 (appt-disp-window-function, appt-delete-window-function):
8848 Remove needless special case in custom :type.
8849 (appt-display-count): Default to 0, not nil.
8850 (appt-check): Reset appt-display-count to 0, not nil.
8851
c71a0d48 88522011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8853
c71a0d48
GM
8854 * progmodes/python.el (python-font-lock-keywords):
8855 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 8856
31d55be9
SM
88572011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8858
8859 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8860
3bfacb2f
KR
88612011-05-16 Kevin Ryde <user42@zip.com.au>
8862
8863 * info-look.el (makefile-automake-mode): New setups, looking in
8864 automake manual, then makefile-mode.
8865 (makefile-mode): Remove automake manual, have it just in
8866 makefile-automake-mode since there's various things different or
8867 not relevant to plain make.
8868 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8869 believe a hypothetical automake-mode would go to makefile-mode,
8870 not the other way around.
8871
c8e83751
CY
88722011-05-15 Chong Yidong <cyd@stupidchicken.com>
8873
5e9e35cd
CY
8874 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8875 hunk-end tags (Bug#8672).
8876
c8e83751
CY
8877 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8878 vc-annotate-show-diff-revision-at-line (Bug#8671).
8879
50b23e5a
GM
88802011-05-14 Glenn Morris <rgm@gnu.org>
8881
7210a739
GM
8882 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8883 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
8884 (change-log-font-lock-keywords): Also handle multiple author lines
8885 with leading tabs. (Bug#8644)
7210a739 8886
4691905a
GM
8887 * calendar/appt.el (appt-check): Rename some local variables.
8888 Some simplification/reordering.
8889
50b23e5a
GM
8890 * mail/feedmail.el (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)
8894 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
8895 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8896 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
8897 (feedmail-binmail-gnulinuxish-template):
8898 Rename from feedmail-binmail-linuxish-template.
8899 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8900 Use insert-buffer-substring.
8901
215cda7c
BC
89022011-05-14 Bill Carpenter <bill@carpenter.org>
8903
8904 * mail/feedmail.el (feedmail-patch-level): Increase.
8905 (feedmail-debug): New custom group.
8906 (feedmail-confirm-outgoing-timeout)
8907 (feedmail-sendmail-f-doesnt-sell-me-out)
8908 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8909 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8910 (feedmail-sender-line, feedmail-from-line)
8911 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 8912 (feedmail-spray-this-address)
215cda7c
BC
8913 (feedmail-spray-address-fiddle-plex-list)
8914 (feedmail-queue-use-send-time-for-date)
8915 (feedmail-queue-use-send-time-for-message-id)
8916 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8917 (feedmail-buffer-eating-function):
8918 Doc fixes.
8919 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8920 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8921 (feedmail-message-action-scroll-down): New functions.
8922 (feedmail-queue-directory, feedmail-queue-draft-directory):
8923 Use expand-file-name.
8924 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8925 Remove C-v help entry.
8926 (feedmail-queue-buffer-file-name): New variable.
8927 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8928 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8929 (feedmail-message-action-send-strong, feedmail-message-action-edit)
8930 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8931 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8932 (feedmail-message-action-toggle-spray)
8933 (feedmail-run-the-queue-no-prompts)
8934 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8935 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8936 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8937 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8938 (feedmail-envelope-deducer, feedmail-fiddle-from)
8939 (feedmail-fiddle-sender, feedmail-default-date-generator)
8940 (feedmail-fiddle-date, feedmail-fiddle-message-id)
8941 (feedmail-fiddle-spray-address)
8942 (feedmail-fiddle-list-of-spray-fiddle-plexes)
8943 (feedmail-fiddle-list-of-fiddle-plexes)
8944 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8945 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8946 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8947 Change default. Doc fix.
8948 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8949 (feedmail-binmail-linuxish-template): New constant.
8950 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
8951 Respect feedmail-sendmail-f-doesnt-sell-me-out.
8952 (feedmail-send-it): Add debug call.
8953 Use feedmail-queue-buffer-file-name, and
8954 feedmail-send-it-immediately-wrapper.
8955 (feedmail-message-action-send): Add debug call.
8956 Use feedmail-send-it-immediately-wrapper.
8957 (feedmail-queue-express-to-queue): Add debug call.
8958 Run feedmail-queue-express-hook.
8959 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
8960 (feedmail-message-action-help-blat):
8961 Rename from feedmail-queue-send-edit-prompt-help-first.
8962 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
8963 Check line-endings. Handle errors better.
8964 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
8965 Doc fix. Add debug call.
8966 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
8967 Use feedmail-queue-send-edit-prompt-inner.
8968 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
8969 (feedmail-queue-send-edit-prompt-inner): New function, extracted
8970 from feedmail-queue-send-edit-prompt.
8971 (feedmail-queue-send-edit-prompt-help)
8972 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
8973 (feedmail-tidy-up-slug): Add debug call.
8974 Respect feedmail-queue-slug-suspect-regexp.
8975 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
8976 (feedmail-dump-message-to-queue): Add debug call.
8977 Expand queue-directory.
8978 (feedmail-dump-message-to-queue): Change message slightly.
8979 Use feedmail-say-chatter.
8980 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
8981 (feedmail-send-it-immediately-wrapper): New function.
8982 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
8983 Insert empty string rather than newline. Handle full-frame case.
8984 Use catch/throw. Use feedmail-say-chatter.
8985 (feedmail-fiddle-from): Try mail-host-address.
8986 (feedmail-default-message-id-generator): Doc fix.
8987 Bind system-time-locale. Handle missing end.
8988 (feedmail-fiddle-x-mailer): Add debug call.
8989 Handle feedmail-x-mailer-line being nil.
8990 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
8991 Add debug call. Use buffer-substring-no-properties.
8992 (feedmail-say-debug, feedmail-say-chatter): New functions.
8993 (feedmail-find-eoh): Give an explicit error.
8994
42c7e61e
UJ
89952011-05-13 Ulf Jasper <ulf.jasper@web.de>
8996
c2571358 8997 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 8998 family from helvetica to sans.
c2571358 8999 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9000 etc/images/newsticker.
9001
c2571358 9002 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9003 family from helvetica to sans.
9004
9005 * net/newst-plainview.el (newsticker-new-item-face)
9006 (newsticker-old-item-face, newsticker-immortal-item-face)
9007 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9008 (newsticker-statistics-face): Change default family from
42c7e61e 9009 helvetica to sans.
c2571358 9010 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9011 etc/images/newsticker.
9012
9013 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9014 (newsticker--process-auto-mark-filter-match): : Tell user about
9015 auto-marking.
9016
8497a297
DV
90172011-05-13 Didier Verna <didier@xemacs.org>
9018
9019 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9020 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9021 TODO entries.
8497a297
DV
9022 (lisp-lambda-list-keyword-parameter-indentation)
9023 (lisp-lambda-list-keyword-parameter-alignment)
9024 (lisp-lambda-list-keyword-alignment): New customizable user options.
9025 (lisp-indent-defun-method): Improve docstring.
9026 (extended-loop-p): Fix comment.
9027 (lisp-indent-lambda-list-keywords-regexp): New variable.
9028 (lisp-indent-lambda-list): New function.
9029 (lisp-indent-259): Use it.
9030 (lisp-indent-defmethod): Support for more than one
9031 method qualifier and properly indent methods lambda-lists.
9032 (defgeneric): Provide a missing common-lisp-indent-function property.
9033
f278f87f
SM
90342011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9035
9036 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9037 bounds for the empty string (bug#8667).
9038
5233edd7
GM
90392011-05-13 Glenn Morris <rgm@gnu.org>
9040
5237a44f
GM
9041 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9042
8340026c 9043 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9044 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9045
5233edd7 9046 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9047 (appt-time-msg-list): Doc fix.
a5464014 9048 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9049
92d10796
AS
90502011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9051
9052 * progmodes/ld-script.el (ld-script-keywords)
9053 (ld-script-builtins): Update keywords list.
9054
914a0ae1
SM
90552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9056
c89be45f
SM
9057 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9058
914a0ae1
SM
9059 * shell.el (shell-completion-vars): New function.
9060 (shell-mode):
9061 * simple.el (read-shell-command): Use it.
9062 (blink-matching-open): No need for " [...]" in minibuffer-message.
9063
98dc3df3
GM
90642011-05-12 Glenn Morris <rgm@gnu.org>
9065
9066 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9067 (appt-check): Simplify.
9068
d2fc7e3d 90692011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9070
4d61f28d 9071 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9072 literal "/dev/null".
9073
d2fc7e3d 90742011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9075
9076 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9077 Fix typo.
9078
d2fc7e3d 90792011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9080
3f254caa
SM
9081 * progmodes/which-func.el (which-function):
9082 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9083 which might not be defined (Bug#8260).
9084
d45885f7
GM
90852011-05-12 Glenn Morris <rgm@gnu.org>
9086
9087 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9088 Let byte-compile-initial-macro-environment always take precedence.
9089
488086f4
SM
90902011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9091
9092 * net/rcirc.el: Add support for SSL/TLS connections.
9093 (rcirc-server-alist): New field `encryption'.
9094 (rcirc): Check `encryption' settings.
9095 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9096 Merge make-local-variable into `set'.
9097 (rcirc--connection-open-p): New function.
9098 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9099 the process is not a network process (e.g. running gnutls-cli).
9100 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9101 Make rcirc-(en|de)code-coding-system local here.
9102 (rcirc-mode): Merge make-local-variable into `set'.
9103 (rcirc-parent-buffer): Make permanent buffer-local.
9104 (rcirc-multiline-minor-mode): Don't do it here.
9105 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9106 there's no server buffer.
9107
7d3b9d44
GM
91082011-05-11 Glenn Morris <rgm@gnu.org>
9109
f64049c6
GM
9110 * newcomment.el (comment-kill): Prefix "unused" local.
9111
93c9df73
GM
9112 * term/w32console.el (get-screen-color): Declare.
9113
7d3b9d44
GM
9114 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9115 Handle symbol elements of byte-compile-initial-macro-environment.
9116
9e2dd53f
LL
91172011-05-10 Leo Liu <sdl.web@gmail.com>
9118
488086f4
SM
9119 * bookmark.el (bookmark-bmenu-mode-map):
9120 Bind bookmark-bmenu-search to `/'.
8b340240 9121
9e2dd53f 9122 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9123 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9124 (Footnote-unicode): New function.
9125 (footnote-style-alist): Add unicode style to the list.
9126 (footnote-style): Doc fix.
9e2dd53f 9127
79b70037
GM
91282011-05-10 Jim Meyering <meyering@redhat.com>
9129
9130 Fix doubled-word typos.
9131 * international/quail.el (quail-insert-kbd-layout): and and -> and
9132 * kermit.el: and and -> and
9133 * net/ldap.el (ldap-search-internal): to to -> to
9134 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9135 * progmodes/js.el (js-mode): and and -> and
9136 * textmodes/artist.el (artist-move-to-xy): at at -> at
9137 (artist-draw-region-trim-line-endings): if if -> if
9138 And Safetyc -> Safety.
9139 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9140
b8f82dc1 91412011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9142 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9143
9144 * files.el (hack-one-local-variable-eval-safep):
9145 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9146
4f99f44b
GM
91472011-05-10 Glenn Morris <rgm@gnu.org>
9148
9149 * calendar/diary-lib.el (diary-list-entries-hook)
9150 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9151 (diary-nongregorian-marking-hook, diary-list-entries)
9152 (diary-include-other-diary-files, diary-mark-entries)
9153 (diary-mark-included-diary-files): Doc fixes.
9154
84f29e6b
JB
91552011-05-09 Juanma Barranquero <lekktu@gmail.com>
9156
9157 * misc.el: Require tabulated-list.el during compilation.
9158
9bedd73a
CY
91592011-05-09 Chong Yidong <cyd@stupidchicken.com>
9160
488086f4
SM
9161 * progmodes/compile.el (compilation-start):
9162 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9163 (compilation-filter-hook): Doc fix.
9164
797c735c
DD
91652011-05-09 Deniz Dogan <deniz@dogan.se>
9166
9167 * wdired.el: Remove outdated installation comment. Fix usage
9168 comment.
9169
5f4b1dfe
JB
91702011-05-09 Juanma Barranquero <lekktu@gmail.com>
9171
9172 * misc.el: Implement new command `list-dynamic-libraries'.
9173 (list-dynamic-libraries--loaded-only-p): New variable.
9174 (list-dynamic-libraries--refresh): New function.
9175 (list-dynamic-libraries): New command.
9176
4c44026c
CY
91772011-05-09 Chong Yidong <cyd@stupidchicken.com>
9178
488086f4
SM
9179 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9180 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9181 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9182 higher priority to avoid clobbering by gnu.
9183
027f966d
CY
91842011-05-08 Chong Yidong <cyd@stupidchicken.com>
9185
9186 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9187 if the face has existing theme settings (Bug#8454).
9188
085f5d7d
CY
91892011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9190
488086f4
SM
9191 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9192 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9193
2a86a00c
RS
9194 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9195 special file names `.' and `..' (Bug#8259).
9196
d9c54a06
CY
91972011-05-08 Chong Yidong <cyd@stupidchicken.com>
9198
488086f4
SM
9199 * progmodes/grep.el (grep-mode-font-lock-keywords):
9200 Remove buffer-changing entries.
d9c54a06
CY
9201 (grep-filter): New function.
9202 (grep-mode): Add it to compilation-filter-hook.
9203
9204 * progmodes/compile.el (compilation-filter-hook)
9205 (compilation-filter-start): New defvars.
9206 (compilation-filter): Call compilation-filter-hook prior to
9207 updating the process mark.
9208
c4662635
SM
92092011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9210
9211 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9212
b0512a1d
EZ
92132011-05-07 Eli Zaretskii <eliz@gnu.org>
9214
605c9376
EZ
9215 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9216 mailclient-send-it even if window-system is nil. (Bug#8595)
9217
c4662635
SM
9218 * term/w32console.el (terminal-init-w32console):
9219 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9220 background-mode. (Bug#8597)
9221
d1dc2cc2
SM
92222011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9223
9224 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9225 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9226 New functions.
9227 (defgeneric, eieio--defmethod): Use them.
9228 (eieio-defgeneric): Remove.
9229 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9230
915d1300
GM
92312011-05-07 Glenn Morris <rgm@gnu.org>
9232
a3961c3e
GM
9233 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9234 Use let rather than let*.
9235 (timeclock-find-discrep): Remove unused local.
9236
314347b9
GM
9237 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9238
915d1300
GM
9239 * calendar/appt.el (appt-time-msg-list): Doc fix.
9240
275b59b0
NF
92412011-05-06 Noah Friedman <friedman@splode.com>
9242
9243 * apropos.el (apropos-print-doc): Only use
9244 emacs-lisp-docstring-fill-column when it is bound to an integer,
9245 per that variable's documentation.
9246
6c19f744
SM
92472011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9248
9249 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9250 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9251
60f884b2
GM
92522011-05-06 Glenn Morris <rgm@gnu.org>
9253
5006e634
GM
9254 * calendar/appt.el (appt-message-warning-time): Doc fix.
9255 (appt-warning-time-regexp): New option.
9256 (appt-make-list): Respect appt-message-warning-time.
9257
548d0a63
GM
9258 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9259 New options.
9260 (diary-add-to-list): Strip comments from the displayed string.
9261 (diary-mode): Set comment-start and comment-end.
9262
60f884b2
GM
9263 * vc/diff-mode.el (smerge-refine-subst): Declare.
9264 (diff-refine-hunk): Don't require smerge-mode when compiling.
9265
989681bb
JB
92662011-05-06 Juanma Barranquero <lekktu@gmail.com>
9267
9268 * simple.el (list-processes): Return nil as the docstring says.
9269
a6bc05e1
MA
92702011-05-05 Michael Albinus <michael.albinus@gmx.de>
9271
9272 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9273 to "".
9274 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9275 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9276 determining of binary transfer. (Bug#7383)
9277
23c22e9a
MA
92782011-05-05 Michael Albinus <michael.albinus@gmx.de>
9279
c4662635
SM
9280 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9281 Fix port computation bug. (Bug#8618)
23c22e9a 9282
0bff894f
GM
92832011-05-05 Glenn Morris <rgm@gnu.org>
9284
b8296902
GM
9285 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9286
1f522ce8
GM
9287 * simple.el (shell-dynamic-complete-functions)
9288 (comint-dynamic-complete-functions): Declare.
9289
cf5bee67
GM
9290 * net/network-stream.el (gnutls-negotiate):
9291 * simple.el (tabulated-list-print): Fix declarations.
9292
9293 * progmodes/gud.el (syntax-symbol, syntax-point):
9294 Remove unnecessary and incorrect declarations.
9295
0bff894f
GM
9296 * emacs-lisp/check-declare.el (check-declare-scan):
9297 Handle byte-compile-initial-macro-environment in bytecomp.el
9298
9869b3ae
SM
92992011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9300
9301 Fix earlier half-done eieio-defmethod change (bug#8338).
9302 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9303 Streamline and change calling convention.
9304 (defmethod): Adjust accordingly and simplify.
9305 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9306 new eieio--defmethod.
9307 (slot-boundp): Minor CSE simplification.
9308
9c1d5ac5
MZ
93092011-05-05 Milan Zamazal <pdm@zamazal.org>
9310
9311 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9312 (glasses-make-readable): Use glasses-separate-capital-groups.
9313
455c834e
JB
93142011-05-05 Juanma Barranquero <lekktu@gmail.com>
9315
9316 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9317 (warning-series): Doc fix.
9318 (display-warning): Don't try to create the buffer if we just found it.
9319
9ed7c8cb
CY
93202011-05-04 Chong Yidong <cyd@stupidchicken.com>
9321
9322 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9323 (autoload-find-generated-file): New function.
9324 (generate-file-autoloads): Bind generated-autoload-file to
9325 buffer-file-name.
9869b3ae
SM
9326 (update-file-autoloads, update-directory-autoloads):
9327 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9328 output file (Bug#7989).
9329 (batch-update-autoloads): Doc fix.
9330
0898ca10
JB
93312011-05-04 Juanma Barranquero <lekktu@gmail.com>
9332
9333 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9334
31dfb76c
GM
93352011-05-04 Glenn Morris <rgm@gnu.org>
9336
f330b642
GM
9337 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9338 function, so it follows changes in calendar-date-style.
9339 (diary-fancy-date-matcher): New function.
9340 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9341 (diary-fancy-font-lock-fontify-region-function):
9342 Use diary-fancy-date-pattern as a function.
9343
31dfb76c
GM
9344 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9345 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9346
48e79d6a
TZ
93472011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9348
9349 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9350 instead of positional arguments. Allow :keylist and :crlfiles
9351 arguments.
9352 (open-gnutls-stream): Call it.
9353
9354 * net/network-stream.el (network-stream-open-starttls): Adjust to
9355 call `gnutls-negotiate' with :process and :hostname arguments.
9356
dd5a5ee0
SM
93572011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9358
ef80fc09
SM
9359 * minibuffer.el (completion--message): New function.
9360 (completion--do-completion, minibuffer-complete)
9361 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9362 (completion--do-completion): Don't ignore completion-auto-help when in
9363 icomplete-mode.
9364
dd5a5ee0
SM
9365 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9366 internal encoding (e.g. tibetan zero is not whitespace).
9367 (global-whitespace-mode): Prefer save-current-buffer.
9368 (whitespace-trailing-regexp): Remove useless save-match-data.
9369 (whitespace-empty-at-bob-regexp): Minor simplification.
9370
b7d22a83
CY
93712011-05-03 Chong Yidong <cyd@stupidchicken.com>
9372
9373 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9374
5192af46
AM
93752011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9376
9377 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9378 Use `concat' to create string for insertion.
5192af46 9379
5767d190
SM
93802011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9383 Avoid open-line which runs post-self-insert-hook.
9384 (bibtex-fill-entry): Remove unused `end' var.
9385
bf242939
AM
93862011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9387
5767d190
SM
9388 * textmodes/ispell.el (ispell-add-per-file-word-list):
9389 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9390
25666126
LL
93912011-05-03 Leo Liu <sdl.web@gmail.com>
9392
9393 * isearch.el (isearch-yank-pop): New command.
5767d190 9394 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9395 (isearch-forward): Mention it.
9396
52d3c2d0
SM
93972011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9398
1bcace58
SM
9399 * simple.el (minibuffer-complete-shell-command): Remove.
9400 (minibuffer-local-shell-command-map): Use completion-at-point.
9401 (read-shell-command): Setup completion vars here instead.
9402 (read-expression-map): Bind TAB to symbol completion.
9403
52d3c2d0
SM
9404 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9405 error directly rather via storing it into `results'.
9406
35813471
LL
94072011-05-02 Leo Liu <sdl.web@gmail.com>
9408
9409 * vc/diff.el: Fix description.
9410
e793a940
LMI
94112011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9412
9413 * server.el (server-eval-at): New function.
9414
8de66e05
LMI
94152011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9416
9417 * net/network-stream.el (open-network-stream): Take a :nowait
9418 parameter and pass it on to `make-network-process'.
9419 (network-stream-open-plain): Ditto.
9420
dcb79f20
AS
94212011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9422
9423 * faces.el (face-spec-set-match-display): Don't match toolkit
9424 options on terminal frames.
9425
14a7fbd8
SM
94262011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9427
7eabc1be
SM
9428 * progmodes/pascal.el: Use lexical binding.
9429 (pascal-mode-map): Remove author preferences.
9430
14a7fbd8
SM
9431 * pcomplete.el (pcomplete-std-complete): Don't abuse
9432 completion-at-point.
9433
50f84510
JB
94342011-04-28 Juanma Barranquero <lekktu@gmail.com>
9435
6e087a44
JB
9436 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9437 removing code that has been dead since 1991 or so.
9438
50f84510
JB
9439 * startup.el (command-line): When warning about "_emacs", use a
9440 delayed warning to allow the user to filter it out.
9441
0ba690bd
DD
94422011-04-28 Deniz Dogan <deniz@dogan.se>
9443
9444 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9445 user has not joined.
9446
08abfaad
SM
94472011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9448
9449 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9450 aren't any completions at point.
9451
638f053a
JB
94522011-04-28 Juanma Barranquero <lekktu@gmail.com>
9453
9454 * subr.el (display-delayed-warnings): New function.
9455 (delayed-warnings-hook): New variable.
9456
8fff8daa
SM
94572011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9458
08abfaad
SM
9459 * minibuffer.el (completion-at-point, completion-help-at-point):
9460 Don't presume that a given completion-at-point-function will always
9461 use the same calling convention.
9462
8fff8daa
SM
9463 * pcomplete.el (pcomplete-completions-at-point):
9464 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9465 pcomplete-seen is non-nil.
9466 (pcomplete-comint-setup): Also recognize the new comint/shell
9467 completion functions.
9468 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9469 pcomplete-seen is non-nil.
9470
841a1577 94712011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9472
841a1577 9473 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9474 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9475 the first character in the entry. This allows for code to add its
211ec907
UJ
9476 own uid to the entry.
9477 (icalendar--convert-float-to-ical): Add export of
9478 `diary-float'-entries save for those with the optional DAY
9479 argument.
9480
2a782793
DC
94812011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9482
9483 * subr.el (shell-quote-argument): Use alternate escaping strategy
9484 when we spot a variable reference in a string.
9485
0438ce91
DC
94862011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9487
9488 * cus-start.el (all): Define customization for debug-on-event.
9489
841a1577 94902011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9491
9492 * subr.el (shell-quote-argument): Escape correctly under Windows.
9493
d090ed6c
SM
94942011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9497
bfd31217
MA
94982011-04-25 Michael Albinus <michael.albinus@gmx.de>
9499
d090ed6c
SM
9500 * net/tramp.el (tramp-process-actions): Add POS argument.
9501 Delete region between POS and (pos).
bfd31217 9502
d090ed6c
SM
9503 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9504 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9505 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9506
9507 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9508 position in `tramp-process-actions' call.
9509
9510 * net/trampver.el: Update release number.
9511
e92f3bd3
SM
95122011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9513
850256b5
SM
9514 * custom.el (defcustom): Obey lexical-binding.
9515
e92f3bd3
SM
9516 Fix octave-inf completion problems reported by Alexander Klimov.
9517 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9518 Inherit from octave-mode-syntax-table.
9519 (inferior-octave-mode): Set info-lookup-mode.
9520 (inferior-octave-completion-at-point): New function.
9521 (inferior-octave-complete): Use it and completion-in-region.
9522 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9523 comint-filename-completion.
9524 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9525 symbol elements which shouldn't be word elements.
9526 (octave-font-lock-keywords, octave-beginning-of-defun)
9527 (octave-function-header-regexp): Adjust regexps accordingly.
9528 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9529
cd22b309
JB
95302011-04-25 Juanma Barranquero <lekktu@gmail.com>
9531
9532 * net/gnutls.el (gnutls-errorp): Declare before first use.
9533
8b492194
TZ
95342011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9535
9536 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9537 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9538 default trustfile exists before going to use it. Add missing
5a5fa834 9539 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9540 Reported by Claudio Bley <claudio.bley@gmail.com>.
9541 (open-gnutls-stream): Add usage example.
9542
9543 * net/network-stream.el (network-stream-open-starttls): Give host
9544 parameter to `gnutls-negotiate'.
9545 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9546 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9547
841a1577 95482011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9549
cd22b309
JB
9550 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9551 Use correct match group (bug#8438).
05842630 9552
3ba7869c
CY
95532011-04-24 Chong Yidong <cyd@stupidchicken.com>
9554
512e3ae1
CY
9555 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9556 (package-menu--generate): New arg specifying packages to show.
9557 (package-menu-refresh, package-menu-execute, list-packages):
9558 Callers changed.
9559 (package-show-package-list): New function, replacing deleted
9560 package--list-packages (renamed because it is non-internal).
9561
9562 * finder.el (finder-list-matches): Use package-show-package-list
9563 instead of deleted package--list-packages.
9564
e92f3bd3
SM
9565 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9566 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9567 (vc-annotate-mode-map): Bind it to RET.
9568
7031be6d
UR
95692011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9570
9571 * progmodes/etags.el (next-file): Don't use set-buffer to change
9572 buffers (Bug#8478).
9573
4ef177aa
CY
95742011-04-24 Chong Yidong <cyd@stupidchicken.com>
9575
c8d173eb
CY
9576 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9577
4ef177aa
CY
9578 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9579 (apropos-accumulator): Doc fix.
9580 (apropos-function, apropos-macro, apropos-command)
9581 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9582 (apropos-plist): Add face property.
9583 (apropos-symbols-internal): Fix indentation.
9584 (apropos-print): Simplify help, and recognize apropos-multi-type.
9585 (apropos-print-doc): Use button-type-get to extract the button's
9586 face property. Fill docstring (Bug#8352).
9587
4ffd0d6b 95882011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9589
9590 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9591
c6c32125 9592 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9593 (mpuz-mode-map): Use mapc.
c6c32125
JB
9594 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9595 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9596 Fix typos in docstrings.
9597
58d468b4
JB
9598 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9599 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9600
6470c3c6
JB
9601 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9602
4ffd0d6b 96032011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9604
9605 * minibuffer.el (completion--do-completion): Avoid the "Next char
9606 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9607
3ad8bad0
CY
9608 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9609 mouse-2 into unread-command-events, it is interpreted correctly.
9610
71d73c9c 9611 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9612 (image-toggle-display): Doc fix.
71d73c9c 9613
841a1577 96142011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9615
4ffd0d6b
GM
9616 * textmodes/page.el (what-page): Use line-number-at-pos to
9617 calculate line number (Bug#6825).
6e1dbaa9 9618
c2fb1b60
JB
96192011-04-22 Juanma Barranquero <lekktu@gmail.com>
9620
9621 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9622 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9623 Pass argument NO-DEFAULT to `find-tag-interactive'.
9624
e02f48d7
JB
96252011-04-22 Juanma Barranquero <lekktu@gmail.com>
9626
9627 Lexical-binding cleanup.
9628
9629 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9630 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9631 * progmodes/ada-prj.el (ada-prj-initialize-values)
9632 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9633 (ada-prj-show-value):
9634 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9635 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9636 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9637 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9638 * progmodes/bug-reference.el (bug-reference-push-button):
9639 * progmodes/fortran.el (fortran-line-length):
9640 * progmodes/glasses.el (glasses-change):
9641 * progmodes/octave-mod.el (octave-fill-paragraph):
9642 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9643 (python-pdbtrack-grub-for-buffer, python-sentinel):
9644 * progmodes/sql.el (sql-save-connection):
9645 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9646 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9647 Mark unused parameters.
9648
9649 * progmodes/compile.el (compilation--flush-directory-cache)
9650 (compilation--flush-parse, compile-internal): Mark unused parameters.
9651 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9652 (compilation-next-error-function): Remove unused variable `timestamp'.
9653
9654 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9655 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9656
9657 * progmodes/dcl-mode.el (dcl-end-of-command):
9658 Remove unused variable `start'.
9659 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9660 (dcl-option-value-basic, dcl-option-value-offset)
9661 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9662 Mark unused parameters.
9663 (dcl-save-local-variable): Remove unused variable `val'.
9664 (mode): Declare.
9665
9666 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9667 Mark unused parameters.
9668 (delphi-ignore-changes): Move before first use.
9669 (delphi-charset-token-at): Remove unused variable `start'.
9670 (delphi-else-start): Remove unused variable `if-count'.
9671 (delphi-comment-block-start, delphi-comment-block-end):
9672 Remove unused variable `kind'.
9673 (delphi-indent-line): Remove unused variable `new-point'.
9674
9675 * progmodes/ebrowse.el (ebrowse-files-list)
9676 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9677 Mark unused parameters. Don't quote `lambda'.
9678 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9679 Don't quote `lambda'.
9680 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9681 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9682 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9683 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9684 Use `ignore-errors'.
9685 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9686 (ebrowse-view/find-file-and-search-pattern)
9687 (ebrowse-view/find-member-declaration/definition):
9688 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9689 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9690 Rename parameter PREFIX-ARG to PREFIX.
9691 (ebrowse-tags-read-name): Remove unused variables `start' and
9692 `member-info'.
9693 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9694 to `tags-file'.
9695
9696 * progmodes/etags.el (local-find-tag-hook): Declare.
9697 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9698 Mark unused parameters.
9699
9700 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9701 (executable-interpret): Mark unused parameter.
9702
9703 * progmodes/flymake.el (flymake-process-sentinel)
9704 (flymake-after-change-function)
9705 (flymake-create-temp-with-folder-structure)
9706 (flymake-get-include-dirs-dot): Mark unused parameters.
9707 (flymake-safe-delete-directory): Remove unused variable `err'.
9708
9709 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9710 (speedbar-timer-fn, speedbar-line-text)
9711 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9712 (speedbar-center-buffer-smartly): Declare functions.
9713 (gdb-find-watch-expression): Remove unused variable `array'.
9714 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9715 (gdb-starting): Mark unused parameters.
9716 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9717 (gdb-table-string): Remove unused variable `res'.
9718 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9719 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9720 (gdb-display-buffer): Remove unused variable `cur-size'.
9721
9722 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9723 allow lexical-binding compilation.
9724 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9725 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9726 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9727 Mark unused parameters.
9728 (gud-gdb-marker-filter): Remove unused variable `match'.
9729 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9730 lambda expressions and funcall them, instead of using `fset'.
9731
9732 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9733 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9734
9735 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9736 variable `header-beg'; use `let'.
9737
9738 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9739 `restart', `last-sexp' and `at-do'.
9740
9741 * progmodes/js.el (js--debug): Mark unused parameter.
9742 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9743 (js--splice-into-items): Remove unused variable `item'.
9744 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9745
9746 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9747 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9748 (makefile-complete): Remove unused variable `try'.
9749 (makefile-fill-paragraph, makefile-match-function-end):
9750 Mark unused parameters.
9751
9752 * progmodes/octave-inf.el (inferior-octave-complete):
9753 Remove unused variable `proc'.
9754 (inferior-octave-output-digest): Mark unused parameter.
9755
9756 * progmodes/perl-mode.el (perl-calculate-indent):
9757 Remove unused variable `err'.
9758
9759 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9760 (prolog-indent-line): Mark unused parameters.
9761 (prolog-indent-line): Remove unused variable `beg'.
9762
9763 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9764 (reporter-dont-compact-list): Declare.
9765
9766 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9767 Remove unused variable `char'.
9768 (sh-debug): Mark unused parameter.
9769 (sh-get-indent-info): Remove unused variable `start'.
9770 (sh-calculate-indent): Remove unused variable `var'.
9771
9772 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9773 (simula-electric-keyword): Remove unused variable `null'.
9774 (simula-search-backward, simula-search-forward): Remove unused
9775 variables `begin' and `end'.
9776
9777 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9778 Remove unused variable `pos'.
9779 (vera-electric-tab, vera-comment-uncomment-region):
9780 Mark unused parameters.
9781 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9782
7ede3b65
CY
97832011-04-22 Chong Yidong <cyd@stupidchicken.com>
9784
9785 * emacs-lisp/package.el (package--builtins, package-alist)
9786 (package-load-descriptor, package-built-in-p, package-activate)
9787 (define-package, package-installed-p)
9788 (package-compute-transaction, package-buffer-info)
9789 (package--push): Doc fix. Distinguish more clearly between
9790 version strings and version lists.
9791
121656e9
JB
97922011-04-21 Juanma Barranquero <lekktu@gmail.com>
9793
9794 Lexical-binding cleanup.
9795
9796 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9797 (5x5-make-mutate-best):
9798 * play/fortune.el (fortune-in-buffer):
9799 * play/gomoku.el (gomoku-init-display):
9800 * play/solitaire.el (solitaire, solitaire-do-check):
9801 * play/tetris.el (tetris-default-update-speed-function):
9802 Mark unused parameters.
9803
9804 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9805 (bubbles--shift): Remove unused variable `char-org'.
9806 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9807 (bubbles--show-images): Remove unused variable `char'.
9808
9809 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9810 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9811 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9812 (decipher-analyze-buffer): Use ?\s.
9813 (decipher-make-checkpoint): Remove unused variable `mapping'.
9814
9815 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9816
9817 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9818 Remove unused variable `result'; use `let'.
9819
9820 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9821 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9822 (gametree-children-shown-p, gametree-compute-reduced-score):
9823 Use `ignore-errors'.
9824
9825 * play/handwrite.el (ps-lpr-switches): Declare.
9826 (handwrite): Remove unused variables `pmin' and `lastp'.
9827
9828 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9829
9830 * play/landmark.el (landmark-init-display)
9831 (landmark-update-naught-weights): Mark unused parameters.
9832 (landmark-y): Remove unused variable `noise'. Simplify.
9833 (landmark-human-plays): Remove unused variable `score'.
9834
9835 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9836 (mpuz-try-proposal): Remove unused variable `game'.
9837
9838 * play/zone.el (life-patterns): Declare.
9839
80f499c7
JB
98402011-04-20 Juanma Barranquero <lekktu@gmail.com>
9841
9842 * vc/vc.el (ediff-vc-internal): Declare function.
9843
024ff170
SM
98442011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9845
c0a193ea
SM
9846 * shell.el: Use lexical-binding and std completion UI.
9847 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9848 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9849 comint-preoutput-filter-functions rather than on
9850 comint-output-filter-functions.
9851 (shell-command-completion, shell--command-completion-data)
9852 (shell-filename-completion, shell-environment-variable-completion)
9853 (shell-c-a-p-replace-by-expanded-directory): New functions.
9854 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9855 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9856 (shell-dynamic-complete-environment-variable): Use them.
9857 (shell-dynamic-complete-as-environment-variable)
9858 (shell-dynamic-complete-as-command): Remove.
9859 (shell-match-partial-variable): Match past point.
9860 * comint.el: Clean up use of completion-at-point-functions.
9861 (comint-completion-at-point): New function.
9862 (comint-mode): Use it completion-at-point-functions.
9863 (comint-dynamic-complete): Make it obsolete.
9864 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9865 (comint-c-a-p-replace-by-expanded-history): New function.
9866 (comint-dynamic-complete-functions)
9867 (comint-replace-by-expanded-history): Use it.
9868 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9869 termination strings. Try harder to avoid second try-completion.
9870 (completion-in-region-mode-map): Disable bindings that don't work yet.
9871
2dbaa080
SM
9872 * comint.el: Use lexical-binding. Require CL.
9873 (comint-dynamic-complete-functions): Use comint-filename-completion.
9874 (comint-completion-addsuffix): Tweak custom type.
9875 (comint-filename-completion, comint--common-suffix)
9876 (comint--common-quoted-suffix, comint--table-subvert)
9877 (comint--complete-file-name-data): New functions.
9878 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9879 (comint-dynamic-list-filename-completions): Use them.
9880 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 9881
2dbaa080
SM
9882 * minibuffer.el (completion-in-region-mode):
9883 Keep completion-in-region-mode--predicate global.
9884 (completion-in-region--postch):
9885 Assume completion-in-region-mode--predicate is not null.
9886
c79a6f38
SM
9887 * progmodes/flymake.el (flymake-start-syntax-check-process):
9888 Obey `dir'. Simplify.
9889
024ff170
SM
9890 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9891 we're in VC after all.
9892
1c6c854e
CS
98932011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
9894
9895 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 9896 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
9897 (vc-version-diff): Use vc-diff-build-argument-list-internal.
9898
bed7f140
SM
98992011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9900
332e62ab
SM
9901 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9902 add sanity check.
9903
bed7f140
SM
9904 * obsolete/erc-hecomplete.el: Make obsolete.
9905 * obsolete/: Standardize obsolescence info in the header.
9906
f195c582
GM
99072011-04-20 Glenn Morris <rgm@gnu.org>
9908
9909 * calendar/solar.el (solar-horizontal-coordinates):
9910 Use the longitude argument rather than `calendar-longitude'.
9911 (solar-date-next-longitude): Remove unused locals.
9912
cb79b8c0
VJL
99132011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9914
9915 * whitespace.el: New version 13.2.1.
9916
99172011-04-20 felix <EmacsWiki> (tiny change)
9918
d8e4b68b 9919 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
9920 switching between major modes on a file.
9921
602ea69d
SM
99222011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9923
9924 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9925 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9926 multi-line comments as well.
9927
06b60517
JB
99282011-04-19 Juanma Barranquero <lekktu@gmail.com>
9929
9930 Lexical-binding cleanup.
9931
9932 * arc-mode.el (archive-mode-revert):
9933 * cmuscheme.el (scheme-interactively-start-process):
9934 * custom.el (custom-initialize-delay):
9935 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9936 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9937 * emacs-lock.el (emacs-lock-clear-sentinel):
9938 * ezimage.el (defezimage):
9939 * follow.el (follow-avoid-tail-recenter):
9940 * fringe.el (set-fringe-mode-1):
9941 * generic-x.el (bat-generic-mode-compile):
9942 * help-mode.el (help-info-variable, help-do-xref)
9943 (help-mode-revert-buffer):
9944 * help.el (view-emacs-todo):
9945 * iswitchb.el (iswitchb-completion-help):
9946 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9947 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9948 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9949 * locate.el (locate-update):
9950 * longlines.el (longlines-encode-region)
9951 (longlines-after-change-function):
9952 * outline.el (outline-isearch-open-invisible):
9953 * ps-def.el (declare-function, charset-dimension, char-width)
9954 (encode-char):
9955 * ps-mule.el (ps-mule-plot-string):
9956 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9957 (recentf-edit-list-select, recentf-edit-list-validate)
9958 (recentf-open-files-action):
9959 * rect.el (delete-whitespace-rectangle-line)
9960 (rectangle-number-line-callback):
9961 * register.el (window-configuration-to-register)
9962 (frame-configuration-to-register):
9963 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
9964 * select.el (xselect-convert-to-string, xselect-convert-to-length)
9965 (xselect-convert-to-targets, xselect-convert-to-delete)
9966 (xselect-convert-to-filename, xselect-convert-to-charpos)
9967 (xselect-convert-to-lineno, xselect-convert-to-colno)
9968 (xselect-convert-to-os, xselect-convert-to-host)
9969 (xselect-convert-to-user, xselect-convert-to-class)
9970 (xselect-convert-to-name, xselect-convert-to-integer)
9971 (xselect-convert-to-atom, xselect-convert-to-identity):
9972 * subr.el (declare, ignore, process-kill-without-query)
9973 (text-clone-maintain):
9974 * terminal.el (te-get-char, te-tic-sentinel):
9975 * tool-bar.el (tool-bar-make-keymap):
9976 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
9977 * type-break.el (type-break-mode, type-break-noninteractive-query):
9978 * view.el (View-back-to-mark):
9979 * wid-browse.el (widget-browse-action, widget-browse-widget)
9980 (widget-browse-widgets, widget-browse-sexp):
9981 * widget.el (define-widget-keywords):
9982 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
9983 Mark unused parameters.
9984
9985 * align.el (align-adjust-col-for-rule): Mark unused parameter.
9986 (align-areas): Remove unused variable `look'.
9987 (align-region): Remove unused variables `real-end' and `pos-list'.
9988
9989 * apropos.el (apropos-score-doc): Remove unused variable `i'.
9990
9991 * bindings.el (mode-line-modified, mode-line-remote):
9992 Mark unused parameters.
9993 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
9994
9995 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
9996 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
9997
9998 * comint.el (comint-history-isearch-pop-state)
9999 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10000 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10001 (comint-substitute-in-file-name): Doc fix.
10002
10003 * completion.el (cmpl-statistics-block): Mark unused parameter.
10004 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10005 (save-completions-to-file, load-completions-from-file):
10006 Remove unused local variable `e'.
10007
10008 * composite.el (compose-chars): Remove unused variable `len'.
10009 (lgstring-insert-glyph): Remove unused variable `g'.
10010 (compose-glyph-string): Remove unused variables `ascent',
10011 `descent', `lbearing' and `rbearing'.
10012 (compose-glyph-string-relative): Remove unused variables
10013 `lbearing', `rbearing' and `wadjust'.
10014 (compose-gstring-for-graphic): Remove unused variables `header',
10015 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10016 (compose-gstring-for-terminal): Remove unused variables `header'
10017 and `nchars'. Use `let', not `let*'.
10018
10019 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10020 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10021 (Custom-buffer-done, custom-buffer-create-internal)
10022 (custom-browse-visibility-action, custom-browse-group-tag-action)
10023 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10024 (widget-magic-mouse-down-action, custom-toggle-parent)
10025 (custom-add-parent-links, custom-toggle-hide-variable)
10026 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10027 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10028 (custom-face-menu-create, custom-variable-menu-create, get)
10029 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10030 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10031 (customize-apropos): Remove unused variable `tests'.
10032 (custom-group-value-create): Remove unused variable `hidden-p'.
10033 (sort-fold-case): Declare.
10034
10035 * cus-theme.el (custom-reset-standard-faces-list)
10036 (custom-reset-standard-variables-list): Declare.
10037 (customize-create-theme, custom-theme-revert, custom-theme-write)
10038 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10039 Mark unused parameters.
10040
10041 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10042
10043 * delim-col.el (delimit-columns-max): Move defvar before first use.
10044
10045 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10046 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10047
10048 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10049 (auto-insert): Declare.
10050 (desktop-restore-file-buffer): Rename desktop-* parameters;
10051 mark unused ones.
10052 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10053 (desktop-buffer): Rename desktop-* parameters.
10054
10055 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10056 (dframe-reposition-frame-xemacs, dframe-help-echo)
10057 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10058 Mark unused parameters.
10059
10060 * dired-aux.el (backup-extract-version-start, overwrite-query)
10061 (overwrite-backup-query, rename-regexp-query)
10062 (rename-non-directory-query): Declare.
10063 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10064 (dired-add-entry): Remove unused variable `orig-file-name'.
10065 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10066 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10067 `dired-copy-preserve-time' directly.
10068 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10069 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10070
10071 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10072 (dired-virtual-revert, dired-make-relative-symlink):
10073 Mark unused parameters.
10074 (manual-program): Declare.
10075 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10076 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10077 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10078
10079 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10080
10081 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10082
10083 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10084 Declare.
10085
10086 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10087
10088 * electric.el (Electric-command-loop): Rename parameter
10089 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10090
10091 * expand.el (expand-in-literal): Remove unused variable `here'.
10092
10093 * facemenu.el (facemenu-add-new-color):
10094 Remove unused variable `docstring'.
10095
10096 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10097 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10098 (face-attr-construct): Mark unused parameter. Doc fix.
10099 (read-color): Remove unused variable `hex-string'.
10100
10101 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10102 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10103 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10104 (display-buffer-other-frame): Remove unused variable `old-window'.
10105 (kill-buffer-hook): Declare.
10106 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10107 Mark unused parameters.
10108 (after-find-file): Pass 1 to `auto-save-mode', not t.
10109
10110 * files-x.el (auto-insert): Declare.
10111 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10112
10113 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10114 variable `buf'. Mark unused parameter.
06b60517
JB
10115 (find-lisp-insert-directory): Mark unused parameter.
10116
10117 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10118 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10119 (format-common-tail): Remove, unused.
10120 (format-deannotate-region): Remove unused variable `loc'.
10121 (format-annotate-region): Remove unused variable `p'.
10122 (format-annotate-single-property-change): Remove unused variables
10123 `default' and `tail'.
10124
10125 * forms.el (read-file-filter): Declare.
10126 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10127
10128 * frame.el (frame-creation-function-alist): Mark unused parameter.
10129 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10130
10131 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10132 Remove unused parameters.
10133 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10134 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10135
10136 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10137 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10138 (hfy-prepare-tag-map): Mark unused parameters.
10139 (htmlfontify-buffer): Use `called-interactively-p'.
10140
10141 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10142 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10143 (ibuffer-do-occur): Mark unused parameters.
10144 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10145 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10146
10147 * ibuffer.el: Don't quote `lambda'.
10148 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10149 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10150 Mark unused parameters.
10151
10152 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10153 (ido-completing-read): Mark unused parameters.
10154 (ido-copy-current-word): Mark unused parameters;
10155 remove unused variable `name'.
10156 (ido-sort-merged-list): Remove unused parameter `dirs'.
10157
10158 * ielm.el (ielm-input-sender): Mark unused parameter.
10159 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10160 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10161 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10162 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10163 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10164
10165 * image-dired.el (image-dired-display-thumbs): Remove unused
10166 variables `curr-file' and `count'.
10167 (image-dired-remove-tag): Remove unused variable `start'.
10168 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10169 variable `curr-file'
10170 (image-dired-rotate-original): Remove unused variable `temp-file'.
10171 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10172 Remove unused variable `file'.
10173 (image-dired-gallery-generate): Remove unused variable `curr'.
10174 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10175
10176 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10177
10178 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10179
10180 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10181
10182 * isearch.el (minibuffer-history-symbol): Declare.
10183 (isearch-edit-string): Remove unused variable `err'.
10184 (isearch-message-prefix, isearch-message-suffix):
10185 Mark unused parameters.
10186
10187 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10188
10189 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10190
10191 * makesum.el (double-column): Remove unused variable `cnt'.
10192
10193 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10194 (ido-ignore-item-temp-list): Declare.
10195
10196 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10197 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10198 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10199 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10200 `mouse-col-delta'.
10201
10202 * mouse-sel.el (mouse-extend-internal):
10203 Remove unused variable `orig-window-frame'.
10204
10205 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10206 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10207 Move declarations before first use.
10208 (pcomplete-opt): Mark unused parameters; doc fix.
10209
10210 * proced.el (proced-revert): Mark unused parameter.
10211 (proced-send-signal): Remove unused variable `err'.
10212
10213 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10214 Rename parameter PREFIX-ARG to ARG.
10215 (ps-basic-plot-string, ps-basic-plot-whitespace):
10216 Mark unused parameters.
10217
10218 * replace.el (replace-count): Define.
10219 (occur-revert-function): Mark unused parameters.
10220 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10221 (isearch-case-fold-search, isearch-string): Declare.
10222 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10223 bind `case-fold-search'. Remove unused variables `beg' and `end',
10224 and simplify.
10225 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10226 COUNT and bind `replace-count'.
10227 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10228 to COUNT.
10229
10230 * savehist.el (print-readably, print-string-length): Declare.
10231
10232 * shadowfile.el (shadow-expand-cluster-in-file-name):
10233 Remove unused variable `cluster'.
10234 (shadow-copy-file): Remove unused variable `i'.
10235 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10236 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10237 (shadow-define-literal-group, shadow-define-regexp-group)
10238 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10239
10240 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10241 (shell): Use `called-interactively-p'.
10242 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10243
10244 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10245 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10246 (delete-backward-char): Remove unused variable `ocol'.
10247 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10248 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10249 (event-apply-hyper-modifier, event-apply-shift-modifier)
10250 (event-apply-control-modifier, event-apply-meta-modifier):
10251 Mark unused parameters.
10252 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10253 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10254
10255 * speedbar.el (speedbar-ignored-directory-expressions)
10256 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10257 (speedbar-find-file, speedbar-dir-follow)
10258 (speedbar-directory-buttons-follow, speedbar-tag-find)
10259 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10260 (speedbar-buffers-line-directory, speedbar-buffer-click):
10261 Mark unused parameters.
10262 (speedbar-tag-file): Remove unused variable `mode'.
10263 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10264
10265 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10266
10267 * talk.el (talk): Remove unused variable `display'.
10268
10269 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10270 (tar-write-region-annotate): Mark unused parameter.
10271
10272 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10273 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10274 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10275 warning by another.
10276
10277 * time-stamp.el (time-stamp-string-preprocess):
10278 Remove unused variable `require-padding'.
10279
10280 * tree-widget.el (widget-glyph-enable): Declare.
10281 (tree-widget-action): Mark unused parameter.
10282
10283 * w32-fns.el (x-get-selection): Mark unused parameter.
10284 (autoload-make-program, generated-autoload-file): Declare.
10285
10286 * wdired.el (wdired-revert): Mark unused parameters.
10287 (wdired-xcase-word): Remove unused variable `err'.
10288
10289 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10290 (whitespace-help-scroll): Remove unused variable `data-help'.
10291
10292 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10293 (widget-image-insert, widget-after-change, default)
10294 (widget-default-format-handler, widget-default-notify)
10295 (widget-default-prompt-value, widget-info-link-action)
10296 (widget-url-link-action, widget-function-link-action)
10297 (widget-variable-link-action, widget-file-link-action)
10298 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10299 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10300 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10301 (widget-insert-button-action, widget-delete-button-action, visibility)
10302 (widget-documentation-link-action, widget-documentation-string-action)
10303 (widget-const-prompt-value, widget-regexp-match, symbol)
10304 (widget-coding-system-prompt-value)
10305 (widget-key-sequence-value-to-external, sexp)
10306 (widget-sexp-value-to-internal, character, vector, cons)
10307 (widget-choice-prompt-value, widget-boolean-prompt-value)
10308 (widget-color--choose-action): Mark unused parameters.
10309 (widget-item-match-inline, widget-choice-match-inline)
10310 (widget-checklist-match, widget-checklist-match-inline)
10311 (widget-group-match): Rename parameter VALUES to VALS.
10312 (widget-field-value-set): Remove unused variable `size'.
10313 (widget-color-action): Remove unused variables `value' and `start'.
10314
10315 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10316 variable `dir'. Doc fix.
06b60517
JB
10317 (windmove-find-other-window): Don't pass it.
10318
10319 * window.el (count-windows): Mark unused parameter.
10320 (bw-adjust-window): Remove unused variable `err'.
10321
10322 * woman.el (woman-file-name): Remove unused variable `default'.
10323 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10324 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10325 (global-font-lock-mode): Declare.
10326 (woman-decode-region): Mark unused parameter.
10327 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10328
10329 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10330 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10331 (x-dnd-handle-moz-url): Remove unused variable `title'.
10332 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10333
10334 * xml.el (xml-parse-tag, xml-parse-attlist):
10335 Remove unused variable `pos'.
10336
bc4f7f3d
GM
103372011-04-19 Glenn Morris <rgm@gnu.org>
10338
10339 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10340 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10341 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10342 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10343 * calendar/cal-html.el (cal-html-insert-minical):
10344 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10345 (calendar-mark-date-pattern):
10346 Prefix "unused" locals.
10347
10348 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10349 optional argument `style'.
10350
10351 * calendar/appt.el (appt-make-list):
10352 * calendar/cal-china.el (calendar-chinese-date-string):
10353 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10354 (diary-hebrew-yahrzeit):
10355 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10356 * calendar/calendar.el (calendar-generate-window):
10357 * calendar/time-date.el (time-to-days):
10358 Remove unused local variables.
10359
16a43933
CY
103602011-04-18 Chong Yidong <cyd@stupidchicken.com>
10361
10362 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10363 glyphless-char-display table.
10364 (tabulated-list-glyphless-char-display): New var.
10365
7eed1860
SS
103662011-04-18 Sam Steingold <sds@gnu.org>
10367
10368 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10369 to acknowledgments.
10370
4d2d1ccd
GM
103712011-04-17 Glenn Morris <rgm@gnu.org>
10372
10373 * calendar/diary-lib.el (diary-sexp-entry):
10374 * calendar/holidays.el (holiday-sexp):
10375 Set debug-on-error rather than the removed stack-trace-on-error.
10376
239da61d
GM
103772011-04-16 Glenn Morris <rgm@gnu.org>
10378
10379 * progmodes/f90.el: Use lexical-binding.
10380 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10381
8b05752a
SM
103822011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10383
daca8ba5
SM
10384 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10385 (mail-mode): Setup mailalias completion here instead.
10386 * mail/mailalias.el: Use lexical-binding.
10387 (pattern, mailalias-done): Declare dynamic.
10388 (mail-completion-at-point-function): New function, from mail-complete.
10389 (mail-complete): Use it.
10390 (mail-completion-expand): New function.
10391 (mail-get-names): Use it.
10392 (mail-directory, mail-directory-process, mail-directory-stream):
10393 Don't use `pattern' for lexically bound arg.
10394
6f542485
SM
10395 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10396
037e7c3f
SM
10397 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10398 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10399 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10400
8b05752a
SM
10401 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10402 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10403 (byte-interactive-p): Define them again, for use when inlining
10404 old code.
10405
49093f60
JB
104062011-04-15 Juanma Barranquero <lekktu@gmail.com>
10407
10408 * loadup.el: Use `string-to-number', not `string-to-int'.
10409
b5b8e7de
SM
104102011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10411
10412 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10413 gud-gdb-complete-command.
10414 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10415 (gud-gdb-completion-at-point): New function.
10416 (gud-gdb-completions): Remove.
10417
f42efeb5
MA
104182011-04-14 Michael Albinus <michael.albinus@gmx.de>
10419
49093f60
JB
10420 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10421 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10422 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10423 whether `executable-find' is bound.
f42efeb5
MA
10424
10425 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10426
e240cc21
SM
104272011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10428
10429 * minibuffer.el (completion-in-region-mode-predicate)
10430 (completion-in-region-mode--predicate): New vars.
10431 (completion-in-region, completion-in-region--postch)
10432 (completion-in-region-mode): Use them.
10433 (completion--capf-wrapper): Also return the hook function.
10434 (completion-at-point, completion-help-at-point):
10435 Adjust and provide a predicate.
c2bd2ab0
SM
10436
10437 Preserve arg names for advice of subr and lexical functions (bug#8457).
10438 * help-fns.el (help-function-arglist): Consolidate the subr and
10439 new-byte-code cases. Add argument `preserve-names' to extract names
10440 from the docstring when needed.
10441 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10442 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10443 (ad-arglist): Use help-function-arglist's new arg.
10444 (ad-definition-type): Use cond.
10445
c183f693
JB
104462011-04-13 Juanma Barranquero <lekktu@gmail.com>
10447
06641a47
JB
10448 * autorevert.el (auto-revert-handler):
10449 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10450 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10451 Don't quote lambda.
10452
c183f693
JB
10453 * image-mode.el (image-transform-set-scale):
10454 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10455
1e3b6001
G
104562011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10457
10458 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10459 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10460 Upgrades via gnutls-cli are too slow to be done opportunistically.
10461
2d6af8dd
JB
104622011-04-12 Juanma Barranquero <lekktu@gmail.com>
10463
10464 * dframe.el (dframe-current-frame): Remove spurious quote.
10465
c0749a51
GM
104662011-04-12 Glenn Morris <rgm@gnu.org>
10467
088d0d61
GM
10468 * calendar/cal-tex.el (cal-tex-end-document):
10469 Try to automatically use latin1 input if needed.
10470
c0749a51
GM
10471 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10472 Don't try to cons a mark onto an empty element.
10473
5c90fde0
LL
104742011-04-11 Leo Liu <sdl.web@gmail.com>
10475
10476 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10477 buffers.
10478 (ido-kill-buffer-at-head): Support killing virtual buffers.
10479
369e974d
CY
104802011-04-10 Chong Yidong <cyd@stupidchicken.com>
10481
10482 * minibuffer.el (completion-show-inline-help): New var.
10483 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10484 (minibuffer-force-complete, minibuffer-complete-word):
10485 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10486
10487 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10488 to avoid interference from inline help (Bug#5849).
10489
37f1c930
LL
104902011-04-10 Leo Liu <sdl.web@gmail.com>
10491
099c39a4
JB
10492 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10493 Fix typo.
37f1c930 10494
a32d4040
CY
104952011-04-09 Chong Yidong <cyd@stupidchicken.com>
10496
10497 * image-mode.el (image-toggle-display-image): Signal an error if
10498 not in Image mode.
10499 (image-transform-mode, image-transform-resize)
10500 (image-transform-set-rotation): Doc fix.
daca8ba5 10501 (image-transform-set-resize): Delete.
a32d4040
CY
10502 (image-transform-set-scale, image-transform-fit-to-height)
10503 (image-transform-fit-to-width): Handle image-toggle-display-image
10504 and image-transform-resize directly.
10505
099c39a4 105062011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10507
10508 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10509 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10510 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10511 (doc-view-mode-map): Add bindings for the new functions.
10512
099c39a4 105132011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10514
4d61f28d 10515 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10516 Fix typo in docstring.
10517
3726838a
EZ
105182011-04-08 Eli Zaretskii <eliz@gnu.org>
10519
04f33f1e
EZ
10520 * files.el (file-size-human-readable): Produce one digit after
10521 decimal, like "ls -lh" does.
10522
10523 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10524 the file size representation.
10525
3726838a
EZ
10526 * simple.el (list-processes): If async subprocesses are not
10527 available, error out with a clear error message.
10528
cbb59342
CY
105292011-04-08 Chong Yidong <cyd@stupidchicken.com>
10530
10531 * help.el (help-form-show): New function, to be called from C.
10532 Put help-form output in a buffer named differently than *Help*.
10533
e3971c44
EZ
105342011-04-08 Eli Zaretskii <eliz@gnu.org>
10535
10536 * files.el (file-size-human-readable): New function.
10537
10538 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10539 computing the representation inline. Don't require `cl'.
10540
12544bbe
GM
105412011-04-08 Glenn Morris <rgm@gnu.org>
10542
a1de6c6a
GM
10543 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10544
3c4671f4
GM
10545 * net/browse-url.el (browse-url-firefox):
10546 Test system-type, not system-configuration.
10547
b605679c
GM
10548 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10549 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10550 Use log-edit-empty-buffer-p. (Bug#7598)
10551
56442f0c
GM
10552 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10553 (rlogin-mode-map): Initialize in the defvar.
10554 (rlogin): Use ignore-errors.
10555
12544bbe
GM
10556 * replace.el (occur-mode-map): Some fixes for menu items.
10557
eb237b0f
AH
105582011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10559
10560 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10561
7d668f2c
CY
105622011-04-06 Chong Yidong <cyd@stupidchicken.com>
10563
e67a13ab
CY
10564 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10565 issuing unused warnings.
10566
10567 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10568 macro directly.
10569
7d668f2c
CY
10570 * simple.el: Lisp reimplement of list-processes. Based on an
10571 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10572 (process-menu-mode): New major mode.
10573 (list-processes--refresh, list-processes):
10574 (process-menu-visit-buffer): New functions.
10575
10576 * files.el (save-buffers-kill-emacs): Don't assume any return
10577 value of list-processes, which is undocumented anyway.
10578
a83ec3c9
CY
105792011-04-06 Chong Yidong <cyd@stupidchicken.com>
10580
10581 * emacs-lisp/tabulated-list.el: New file.
10582
e91a96fe
CY
10583 * emacs-lisp/package.el: Use Tabulated List mode.
10584 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10585 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10586 table format using Tabulated List mode variables.
10587 (package--push): New macro, replacing package-list-maybe-add.
10588 (package-menu--generate): Use package--push. Renamed from
10589 package--generate-package-list.
10590 (package-menu-refresh, list-packages): Use it.
daca8ba5 10591 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10592 Return insertion data instead of inserting it directly.
099c39a4
JB
10593 (package-menu-describe-package, package-menu-execute):
10594 Use tabulated-list-get-id.
e91a96fe
CY
10595 (package-menu-mark-delete, package-menu-mark-install)
10596 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10597 (package-menu-mark-obsolete-for-deletion):
10598 Use tabulated-list-put-tag.
e91a96fe
CY
10599 (package--list-packages, package-menu-revert)
10600 (package-menu-get-package, package-menu-get-version)
10601 (package-menu-sort-by-column): Functions deleted.
10602 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10603 (package-menu--status-predicate, package-menu--version-predicate)
10604 (package-menu--name-predicate)
10605 (package-menu--description-predicate): Handle arguments in the
10606 Tabulated List format.
10607 (package-list-packages-no-fetch): Call list-packages.
10608
3e214b50
JB
106092011-04-06 Juanma Barranquero <lekktu@gmail.com>
10610
10611 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10612 (after-find-file): Don't bind it.
3e214b50
JB
10613 (revert-buffer-in-progress-p): New variable.
10614 (revert-buffer): Bind it.
10615 Pass nil for `after-find-file-from-revert-buffer'.
10616
10617 * saveplace.el (save-place-find-file-hook): Use new variable
10618 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10619
3f0f1700
GM
106202011-04-06 Glenn Morris <rgm@gnu.org>
10621
c0274801
GM
10622 * Makefile.in (AUTOGEN_VCS): New variable.
10623 (autoloads): Use $AUTOGEN_VCS.
10624
3f0f1700
GM
10625 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10626 * calendar/calendar.el (calendar-mode-map):
10627 Check for toolkit scroll bars. (Bug#8305)
10628
41ea9e48
CY
106292011-04-05 Chong Yidong <cyd@stupidchicken.com>
10630
10631 * minibuffer.el (completion-in-region--postch)
10632 (completion-in-region-mode): Remove unnecessary messages.
10633
6194c800
JB
106342011-04-05 Juanma Barranquero <lekktu@gmail.com>
10635
33256f14
JB
10636 * font-lock.el (font-lock-refresh-defaults):
10637 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10638 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10639
6194c800
JB
10640 * info.el (Info-directory-list, Info-read-node-name-2)
10641 (Info-split-parameter-string): Doc fixes.
10642 (Info-virtual-nodes): Reflow docstring.
10643 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10644 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10645 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10646 Fix typos in docstrings.
10647 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10648 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10649 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10650 (Info-restore-desktop-buffer): Mark unused parameters.
10651 (Info-directory-find-file, Info-directory-find-node)
10652 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10653 (Info-virtual-index-find-node, Info-apropos-find-file)
10654 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10655 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10656 (Info-virtual-index): Remove unused local variable `nodename'.
10657
b87a8200 106582011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10659
b87a8200
DD
10660 * net/rcirc.el: Update my e-mail address.
10661 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10662
3b2ff876
CY
106632011-04-05 Chong Yidong <cyd@stupidchicken.com>
10664
10665 * startup.el (command-line): Save the cursor's theme-face
10666 directly, instead of using face-override-spec.
10667
10668 * custom.el (load-theme): Minor optimization in assigning faces.
10669
8d17e7ca
JB
106702011-04-04 Juanma Barranquero <lekktu@gmail.com>
10671
10672 * help-fns.el (describe-variable): Complete all variables having
10673 documentation, including keywords.
10674 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10675
2fbc1934
JB
106762011-04-04 Juanma Barranquero <lekktu@gmail.com>
10677
10678 Convert to lexical-binding.
10679
10680 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10681 (bs--get-marked-string, bs--get-modified-string)
10682 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10683 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10684 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10685
10686 * ehelp.el (electric-help-execute-extended)
10687 (electric-help-ctrl-x-prefix):
10688 * hexl.el (hexl-revert-buffer-function):
10689 * linum.el (linum-after-change, linum-after-scroll):
10690 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10691
10692 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10693
74f50695
DU
106942011-04-04 Daiki Ueno <ueno@unixuser.org>
10695
10696 * epa-dired.el:
10697 * epa-mail.el:
10698 * epa-hook.el:
10699 * epa-file.el:
10700 * epa.el:
10701 * epg.el: Use lexical binding.
10702
c11325f7
CY
107032011-04-03 Chong Yidong <cyd@stupidchicken.com>
10704
0d9e9a12
CY
10705 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10706
c11325f7 10707 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10708 dictionary case for flyspell-mark-duplications-exceptions.
10709 Use regexp matching for languages.
c11325f7
CY
10710 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10711 default dictionary (Bug#7926).
10712
da91b5f2
CY
107132011-04-02 Chong Yidong <cyd@stupidchicken.com>
10714
099c39a4
JB
10715 * emacs-lisp/package.el (package--with-work-buffer):
10716 Recognize https URLs.
da91b5f2 10717
099c39a4
JB
10718 * net/network-stream.el: Move from gnus/proto-stream.el.
10719 Change prefix to network-stream throughout.
da91b5f2
CY
10720 (open-protocol-stream): Merge into open-network-stream, leaving
10721 open-protocol-stream as an alias. Handle nil BUFFER args.
10722
10723 * subr.el (open-network-stream): Move to net/network-stream.el.
10724
afa8e9f6
GM
107252011-04-02 Glenn Morris <rgm@gnu.org>
10726
1d2e369d
GM
10727 * find-dired.el (find-exec-terminator): New option.
10728 (find-ls-option): Test for -ls support.
10729 (find-ls-subdir-switches): Test for -b in find-ls-option.
10730 (find-dired, find-grep-dired): Doc fixes.
10731 (find-dired): Use find-exec-terminator.
10732
8abb7da8 10733 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10734 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10735 (find-name-arg): Remove purecopy.
8abb7da8 10736
f3ca7378
GM
10737 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10738 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10739 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10740 accordingly. Don't add the null-device if not needed.
10741
afa8e9f6
GM
10742 * files.el (save-some-buffers): Doc fix.
10743
35eae264
EZ
107442011-04-02 Eli Zaretskii <eliz@gnu.org>
10745
10746 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10747
26b51db5
JB
107482011-04-01 Juanma Barranquero <lekktu@gmail.com>
10749
10750 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10751 Use `dolist' rather than `mapcar'.
10752
7200d79c
SM
107532011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10754
03408648 10755 Add lexical binding.
7200d79c 10756
03408648
SM
10757 * subr.el (apply-partially): Use new closures rather than CL.
10758 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10759 (dolist, dotimes): Use slightly different expansion for lexical code.
10760 (functionp): Move to C.
10761 (letrec): New macro.
10762 (with-wrapper-hook): Use it and apply-partially instead of CL.
10763 (eval-after-load): Preserve lexical-binding.
10764 (save-window-excursion, with-output-to-temp-buffer): Turn them
10765 into macros.
7200d79c 10766
03408648
SM
10767 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10768
10769 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10770 than the arglist.
10771 (help-add-fundoc-usage): Don't add `Not documented'.
10772 (help-function-arglist): Handle closures, subroutines, and new
10773 byte-code-functions.
10774 (help-make-usage): Remove leading underscores.
10775 (describe-function-1): Handle closures.
10776 (describe-variable): Use special-variable-p for completion.
10777
10778 * files.el (lexical-binding): Declare safe.
f488fb65 10779
03408648
SM
10780 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10781 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10782 (pcase): Add `let' pattern.
10783 Change memoization so it actually works.
10784 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10785 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10786 <let>: New case.
f488fb65 10787
03408648
SM
10788 * emacs-lisp/macroexp.el: Use lexical binding.
10789 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10790 Don't convert ' to #' without checking that it's indeed quoting
10791 a lambda.
10792
10793 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10794 Use eval-sexp-add-defvars.
03408648
SM
10795 (eval-sexp-add-defvars): New fun.
10796
10797 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10798
10799 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10800 Don't autoload.
10801 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10802 than the internal `byte-compile-lambda'.
10803 (defmethod): Don't hide code under quotes.
10804 (eieio-defmethod): New `code' argument.
10805
10806 * emacs-lisp/eieio-comp.el: Remove.
10807
10808 * emacs-lisp/edebug.el (edebug-eval-defun)
10809 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10810 (edebug-toggle): Avoid `eval'.
10811
10812 * emacs-lisp/disass.el (disassemble-internal): Handle new
10813 `closure' objects.
10814 (disassemble-1): Handle new byte codes.
10815
10816 * emacs-lisp/cl.el (pushnew): Silence warning.
10817
10818 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10819 (cl-byte-compile-throw): Remove.
10820 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10821
10822 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10823 closures.
10824
10825 * emacs-lisp/cconv.el: New file.
10826
10827 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10828 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10829 (byte-compile-initial-macro-environment):
10830 Handle declare-function here.
10831 (byte-compile--lexical-environment): New var.
10832 (byte-stack-ref, byte-stack-set, byte-discardN)
10833 (byte-discardN-preserve-tos): New lap codes.
10834 (byte-interactive-p): Don't use any more.
10835 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10836 New macros.
10837 (byte-compile-lapcode): Use them and handle new lap codes.
10838 (byte-compile-obsolete): Remove.
10839 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10840 (byte-compile-arglist-warn): Check late def of inlinable funs.
10841 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10842 since they should have been expanded by now.
10843 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10844 (byte-compile-from-buffer): Remove unused second arg.
10845 (byte-compile-preprocess): New function.
10846 (byte-compile-toplevel-file-form): New function to distinguish
10847 file-form calls from outside from file-form calls from hunk-handlers.
10848 (byte-compile-file-form): Simplify.
10849 (byte-compile-file-form-defsubst): Remove.
10850 (byte-compile-file-form-defmumble): Simplify now that
10851 byte-compile-lambda always returns a byte-code-function.
10852 (byte-compile): Preprocess.
10853 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10854 Remove, not used any more.
10855 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10856 (byte-compile-make-args-desc): New funs.
10857 (byte-compile-lambda): Handle lexical functions. Always return
10858 a byte-code-function.
10859 (byte-compile-reserved-constants): New var, to make up room for
10860 closed-over variables.
10861 (byte-compile-constants-vector): Obey it.
10862 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10863 (byte-compile-macroexpand-declare-function): New function.
10864 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10865 byte-code-functions.
10866 (byte-compile-form): Check obsolescence here.
10867 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10868 (byte-compile-variable-ref): Remove.
10869 (byte-compile-dynamic-variable-op): New fun.
10870 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10871 (byte-compile-variable-set): New funs.
10872 (byte-compile-discard): Add 2 args.
10873 (byte-compile-stack-ref, byte-compile-stack-set)
10874 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10875 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10876 macroexpand-all instead.
10877 (byte-compile-quote-form): Remove.
10878 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10879 (byte-compile-bind, byte-compile-unbind): New funs.
10880 (byte-compile-let): Handle let* and lexical binding.
10881 (byte-compile-let*): Remove.
10882 (byte-compile-catch, byte-compile-unwind-protect)
10883 (byte-compile-track-mouse, byte-compile-condition-case):
10884 Handle a new :fun-body form, used for lexical scoping.
10885 (byte-compile-save-window-excursion)
10886 (byte-compile-with-output-to-temp-buffer): Remove.
10887 (byte-compile-defun): Simplify.
10888 (byte-compile-stack-adjustment): New fun.
10889 (byte-compile-out): Use it.
10890 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10891
10892 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10893 handler any more.
10894
10895 * emacs-lisp/byte-opt.el: Use lexical binding.
10896 (byte-inline-lapcode): Remove (to bytecomp).
10897 (byte-compile-inline-expand): Pay attention to inlining to/from
10898 lexically bound code.
10899 (byte-compile-unfold-lambda): Don't handle byte-code-functions
10900 any more.
10901 (byte-optimize-form-code-walker): Don't handle save-window-excursion
10902 any more and don't call compiler-macros.
10903 (byte-compile-splice-in-already-compiled-code): Remove.
10904 (byte-code): Don't inline any more.
10905 (disassemble-offset): Receive `bytes' as argument rather than via
10906 dynamic scoping.
10907 (byte-compile-tag-number): Declare before first use.
10908 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10909 `return' even if make-spliceable.
10910 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10911 obsolete interactive-p.
10912 (byte-optimize-lapcode): Optimize new lap-codes.
10913 Don't trip up on new form of `byte-constant' lap code.
10914
10915 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10916
10917 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10918
10919 * custom.el (custom-initialize-default, custom-declare-variable):
10920 Use `defvar'.
10921
10922 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10923 New variables.
10924 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10925 (COMPILE_FIRST): Add macroexp and cconv.
10926 * makefile.w32-in: Mirror changes in Makefile.in.
10927
10928 * vc/cvs-status.el:
10929 * vc/diff-mode.el:
10930 * vc/log-edit.el:
10931 * vc/log-view.el:
10932 * vc/smerge-mode.el:
10933 * textmodes/bibtex-style.el:
10934 * textmodes/css.el:
10935 * startup.el:
10936 * uniquify.el:
da91b5f2
CY
10937 * minibuffer.el:
10938 * newcomment.el:
10939 * reveal.el:
10940 * server.el:
10941 * mpc.el:
10942 * emacs-lisp/smie.el:
10943 * doc-view.el:
10944 * dired.el:
03408648
SM
10945 * abbrev.el: Use lexical binding.
10946
0f0c1f27
EZ
109472011-04-01 Eli Zaretskii <eliz@gnu.org>
10948
10949 * info.el (info-display-manual): New function.
10950
c82b2579
SM
109512011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10952
10953 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10954
221ddf68
TH
109552011-03-31 Tassilo Horn <tassilo@member.fsf.org>
10956
10957 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 10958 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 10959
cba6e77e
GM
109602011-03-31 Glenn Morris <rgm@gnu.org>
10961
e040639f
GM
10962 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
10963
cba6e77e
GM
10964 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
10965
6d0f1c9e
CS
109662011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
10967
10968 * progmodes/python.el (python-default-interpreter)
10969 (python-python-command-args, python-jython-command-args)
10970 (python-which-shell, python-which-args, python-which-bufname)
10971 (python-file-queue, python-comint-output-filter-function)
10972 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
10973 variables and functions.
10974
3e2d70fd
SM
109752011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10976
10977 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
10978 (completion-in-region-mode): New minor mode.
10979 (completion-in-region): Use it.
10980 (completion-in-region--data, completion-in-region-mode-map): New vars.
10981 (completion-in-region--postch): New function.
10982 (completion--capf-misbehave-funs, completion--capf-safe-funs):
10983 New vars.
10984 (completion--capf-wrapper): New function.
10985 (completion-at-point): Use it to track well-behavedness of
10986 hook functions.
10987 (completion-help-at-point): New command.
10988
f3e4086c
JM
109892011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
10990
10991 * vc/add-log.el (add-change-log-entry): Don't use whitespace
10992 syntax class to search for whitespace on a single line
10993 (Message-ID: <4D938140.4030905@redhat.com>).
10994
eb7ffc14
LL
109952011-03-30 Leo Liu <sdl.web@gmail.com>
10996
10997 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
10998 New commands.
10999 (edit-abbrevs-map): Bind them here.
11000 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11001
d806ab68
KM
110022011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11003
11004 * allout.el (allout-hide-by-annotation, allout-flag-region):
11005 Reduce possibility of overlay leakage by making them volatile.
11006
11007 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11008 hash is not shared between buffers. Mode initialization is
11009 responsible for giving it a useful starting value.
11010 (allout-item-span): Reduce possibility of overlay leakage by
11011 making them volatile.
11012 (allout-widgets-count-buttons-in-region): Add diagnostic function
11013 for tracking down button overlay leaks.
11014
ea622834
LL
110152011-03-29 Leo Liu <sdl.web@gmail.com>
11016
11017 * ido.el (ido-read-internal): Use the default history var
11018 minibuffer-history if no HISTORY is specified.
11019
b62f8267
G
110202011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11021
03408648
SM
11022 * net/imap.el (imap-shell-open, imap-process-connection-type):
11023 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11024 Kerberos, SSL, other subprocesses.
11025
947b6566
LL
110262011-03-28 Leo Liu <sdl.web@gmail.com>
11027
11028 * abbrev.el (abbrev-table-empty-p): New function.
11029 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11030 nonempty ones. (Bug#5937)
11031
5ffb62aa
JD
110322011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11033
11034 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11035
7a097943
LL
110362011-03-27 Leo Liu <sdl.web@gmail.com>
11037
11038 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11039 for foreground and background colors.
11040 (ansi-color-make-color-map): Adapt.
11041
c5b40130
LL
110422011-03-25 Leo Liu <sdl.web@gmail.com>
11043
1f48f7d2
LL
11044 * midnight.el (midnight-time-float): Remove. Note it calculates
11045 the microsecond component incorrectly and seconds-to-time does the
11046 same job.
625897ec 11047 Remove redundant (require 'timer).
1f48f7d2 11048
c5b40130
LL
11049 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11050 (ido-completions): Remove unused arguments. (Bug#8329)
11051
d86d2721
SM
110522011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11053
11054 * minibuffer.el (completion--flush-all-sorted-completions):
11055 Remove itself from hook.
11056 (completion-at-point): Let the functions perform the completion
11057 immediately and return nil or t.
11058 * comint.el (comint-dynamic-complete-functions): Now identical to
11059 completion-at-point-functions.
11060 (comint-dynamic-list-input-ring): Remove unused var `index'.
11061 (comint--match-partial-filename, comint--unquote&expand-filename):
11062 New funs, split from comint-match-partial-filename.
11063 (comint-dynamic-complete): Use completion-at-point.
11064 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11065
e8974c48
DA
110662011-03-24 Drew Adams <drew.adams@oracle.com>
11067
11068 * thingatpt.el: Support `defun'.
11069
def71b5e
LL
110702011-03-23 Leo Liu <sdl.web@gmail.com>
11071
cb5af48e
LL
11072 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11073
def71b5e
LL
11074 * help-mode.el (help-mode-finish): Tweak regexp.
11075
927c53e7
GM
110762011-03-23 Glenn Morris <rgm@gnu.org>
11077
18d05bed
GM
11078 * eshell/esh-opt.el (eshell-eval-using-options):
11079 Do not bind unused local variable `eshell-option-stub'.
11080
927c53e7
GM
11081 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11082
9d0da923
JB
110832011-03-22 Juanma Barranquero <lekktu@gmail.com>
11084
11085 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11086 keymap variable in `with-no-warnings' to avoid a warning when the
11087 keymap has been already `defconst'ed.
11088
4b978a67
LL
110892011-03-22 Leo Liu <sdl.web@gmail.com>
11090
11091 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11092 encode all chars in abbrevs; otherwise use emacs-mule or
11093 utf-8-emacs. (Bug#8308)
11094
5fd62452
JB
110952011-03-22 Juanma Barranquero <lekktu@gmail.com>
11096
0b1596c6
JB
11097 * simple.el (backward-delete-char-untabify):
11098 Avoid warning about using `delete-backward-char'.
11099
5fd62452
JB
11100 * image.el (image-type-file-name-regexps): Make it variable.
11101 `imagemagick-register-types' modifies it, and the user may want
11102 to add new extensions for known image types.
11103 (imagemagick-register-types): Throw error if not using ImageMagick.
11104
0b4e93f1
LL
111052011-03-22 Leo Liu <sdl.web@gmail.com>
11106
11107 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11108 located before rcirc-prompt-end-marker.
11109 (rcirc-complete): Error if point is not after rcirc prompt.
11110 Handle the case when table is nil.
9882e214 11111 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11112
fccee4ab
CY
111132011-03-22 Chong Yidong <cyd@stupidchicken.com>
11114
11115 * custom.el (custom--inhibit-theme-enable): Make it affect only
11116 custom-theme-set-variables and custom-theme-set-faces.
11117 (provide-theme): Ignore custom--inhibit-theme-enable.
11118 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11119 (custom-enabling-themes): Delete variable.
d86d2721
SM
11120 (enable-theme): Accept only loaded themes as arguments.
11121 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11122 (custom-enabled-themes): Forbid themes from setting this.
11123 Eliminate use of custom-enabling-themes.
11124 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11125
af896da6
LL
111262011-03-21 Leo Liu <sdl.web@gmail.com>
11127
11128 * ido.el (ido-read-internal): Add ido-selected to history instead
11129 of user input.
11130
78f64af0
SM
111312011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11132
11133 * subr.el (deferred-action-list, deferred-action-function):
11134 Mark obsolete.
11135
b16ac1ec
LL
111362011-03-21 Leo Liu <sdl.web@gmail.com>
11137
810f7698
LL
11138 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11139 change on 2011-02-13 (bug#8309).
11140
b16ac1ec
LL
11141 * minibuffer.el (read-file-name-function): Change default value.
11142 (read-file-name--defaults): Rename from read-file-name-defaults.
11143 (read-file-name-default): Rename from read-file-name.
11144 (read-file-name): Call read-file-name-function.
11145
4e05e67e
GM
111462011-03-21 Glenn Morris <rgm@gnu.org>
11147
11148 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11149 Doc fixes.
11150
4359915b
CY
111512011-03-21 Chong Yidong <cyd@stupidchicken.com>
11152
11153 * cus-theme.el: Add missing provide statement.
11154 (customize-create-theme): Extract theme value correctly.
11155 (custom-theme-visit-theme): Autoload.
11156 (customize-create-theme): Prompt before inserting default faces.
11157
1fe275ee
JB
111582011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11159
11160 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11161 units and musical notes.
11162
cd394be1 111632011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11164
11165 * ido.el (ido-read-internal): Use completing-read-default.
11166 (ido-completing-read): Fix compatibility with completing-read.
11167
7d476bde
CO
111682011-03-20 Christian Ohler <ohler@gnu.org>
11169
11170 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11171 (ert-delete-all-tests): Use `called-interactively-p' rather than
11172 `interactive-p'.
11173 (ert--make-xrefs-region): Respect END.
11174
fe0fb33e
CY
111752011-03-19 Chong Yidong <cyd@stupidchicken.com>
11176
ff854b0b
CY
11177 * dired-aux.el (dired-create-directory): Signal an error if the
11178 directory already exists (Bug#8246).
11179
fe0fb33e
CY
11180 * facemenu.el (list-colors-display): Call list-faces-display
11181 inside with-help-window.
11182 (list-colors-print): Use display property to align the final
11183 column, instead of checking window-width.
11184
576bce32
EZ
111852011-03-19 Eli Zaretskii <eliz@gnu.org>
11186
4d61f28d 11187 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11188 windows-nt systems.
11189 (emerge-protect-metachars): Quote correctly for ms-dos and
11190 windows-nt systems.
11191
89c41d68 111922011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11193
11194 * info.el (info-initialize): Replace all uses of `:' with
11195 path-separator for compatibility with non-Unix systems.
11196 Cache quoting of path-separator. (Bug#8258)
11197
b14e3e21 111982011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11199
11200 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11201 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11202 (mouse-avoidance-mode): Fix typos in docstrings.
11203
4525ce3e
CY
112042011-03-19 Chong Yidong <cyd@stupidchicken.com>
11205
11206 * startup.el (package-subdirectory-regexp): Move from package.el.
11207 Omit \\` and \\', and let callers add them.
11208
11209 * emacs-lisp/package.el (package-strip-version)
11210 (package-load-all-descriptors): Add \\` and \\' to
11211 package-subdirectory-regexp before using it.
11212 (package-untar-buffer): New arg DIR; ensure that file untars only
11213 into this expected directory. Remove superfluous delete-region.
11214 (package-unpack): Caller changed.
11215 (package-tar-file-info): Use package-subdirectory-regexp.
11216
a904a09a 112172011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11218
a904a09a
SM
11219 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11220 diff-mode-shared-map (bug#8284).
11221 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11222
112232011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11224
11225 * calendar/time-date.el (format-seconds): Use assoc instead of
11226 assoc-string, since assoc-string doesn't exist in XEmacs.
11227
171fc304
JB
112282011-03-17 Juanma Barranquero <lekktu@gmail.com>
11229
11230 * custom.el (custom-known-themes): Reflow docstring.
11231 (custom-theme-load-path): Fix typo in docstring.
11232 (load-theme): Fix typo in error message.
11233 (custom-available-themes, custom-variable-theme-value):
11234 Use `let', not `let*'.
11235
d71990a1
JB
112362011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11237
11238 * calc/README: Mention inclusion of musical notes.
11239
11240 * calc/calc-units.el (calc-lu-quant): Rename from
11241 `calc-logunits-quantity'.
11242 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11243 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11244 (calc-db): Rename from `calc-dblevel'.
11245 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11246 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11247 (calc-np): Rename from `calc-nplevel'.
11248 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11249 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11250 (calc-lu-plus): Rename from `calc-logunits-add'.
11251 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11252 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11253 (calc-lu-minus): Rename from `calc-logunits-sub'.
11254 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11255 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11256 (calc-lu-times): Rename from `calc-logunits-mul'.
11257 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11258 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11259 (calc-lu-divide): Rename from `calc-logunits-div'.
11260 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11261 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11262
11263 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11264 functions being autoloaded.
11265
11266 * calc/calc.el (calc-lu-power-reference): Rename from
11267 `calc-logunits-power-reference'.
11268 (calc-lu-field-reference): Rename from
11269 `calc-logunits-field-reference'.
11270
7a71b18d
GM
11271 * calc/calc-help.el (calc-l-prefix-help):
11272 Mention musical note functions.
d71990a1 11273
40c2934b
SM
112742011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11275
11276 * minibuffer.el (completion-all-sorted-completions):
11277 Use :completion-cycle-penalty text property if present.
11278
b0911414
KM
112792011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11280
11281 * allout.el (allout-yank-processing): Adjust for new rebulleting
11282 regime so bullet being yanked is used without prompting the user
11283 for a choice.
11284
8a05b668
JB
112852011-03-16 Juanma Barranquero <lekktu@gmail.com>
11286
11287 * startup.el (command-line): Warn the user that _emacs is deprecated.
11288
5ba5fb81
JB
112892011-03-16 Juanma Barranquero <lekktu@gmail.com>
11290
11291 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11292 (delphi-verbose, delphi-comment-face, delphi-string-face)
11293 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11294 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11295 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11296 (delphi-new-comment-line, delphi-font-lock-defaults)
11297 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11298 Fix typos in docstrings.
11299
2dab465b
KM
113002011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11301
5ba5fb81 11302 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11303 Invert the roles of character and string values for INSTEAD, so a
11304 string is used for the more common case of a defaulting prompt.
11305
0adf5618
SM
113062011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11307
11308 * progmodes/ruby-mode.el (ruby-backward-sexp):
11309 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11310 * play/gamegrid.el (gamegrid-make-face):
11311 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11312 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11313 * notifications.el (notifications-notify):
11314 * net/xesam.el (xesam-search-engines):
11315 * net/quickurl.el (quickurl-list-insert):
11316 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11317
d72700e5
CY
113182011-03-15 Chong Yidong <cyd@stupidchicken.com>
11319
11320 * startup.el (command-line): Update package subdirectory regexp.
11321
49c5410a
SM
113222011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11323
c6eee9aa
SM
11324 * allout.el (allout-abbreviate-flattened-numbering)
11325 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11326
49c5410a
SM
11327 * subr.el (read-char-choice): Only show the cursor after the prompt,
11328 not after the answer.
11329
047b2bb9
KR
113302011-03-15 Kevin Ryde <user42@zip.com.au>
11331
11332 * help-fns.el (variable-at-point): Skip leading quotes, if any
11333 (bug#8253).
11334
0a57d256
SM
113352011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11336
11337 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11338 warning message.
11339
77c992bc
MA
113402011-03-14 Michael Albinus <michael.albinus@gmx.de>
11341
11342 * shell.el (shell): When called interactively, offer to change the
11343 shell file name on remote hosts.
11344
eebc475d
TZ
113452011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11346
11347 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11348 integration for LDAP parameters. The host, base, user or binddn,
11349 and secret tokens can be specified in a netrc file, for instance.
11350 This is optional because an `auth-source' parameter must be
11351 specified in the search attributes.
11352
9d05d1ba
JB
113532011-03-13 Juanma Barranquero <lekktu@gmail.com>
11354
11355 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11356
09d9db2c
GM
113572011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11358
11359 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11360 into declaration. Remove redundant and harmful binding.
11361
113622011-03-12 Eli Zaretskii <eliz@gnu.org>
11363
11364 * files.el (file-ownership-preserved-p): Pass `integer' as an
11365 explicit 2nd argument to `file-attributes'. If the file's owner
11366 is the Administrators group on Windows, and the current user is
11367 Administrator, consider that a match.
11368
11369 * server.el (server-ensure-safe-dir): Consider server directory
11370 safe on MS-Windows if its owner is the Administrators group while
11371 the current Emacs user is Administrator. Use `=' to compare
11372 numerical UIDs, since they could be integers or floats.
11373
219bd536
JB
113742011-03-12 Juanma Barranquero <lekktu@gmail.com>
11375
11376 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11377
f3afd36b
MA
113782011-03-12 Michael Albinus <michael.albinus@gmx.de>
11379
11380 Sync with Tramp 2.2.1.
11381
11382 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11383
11384 * net/trampver.el: Update release number.
11385
3aaaa6f1
SM
113862011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11387
94642599
SM
11388 * progmodes/compile.el (compilation--previous-directory): Fix up
11389 various nil/dead-marker mismatches (bug#8014).
11390 (compilation-directory-properties, compilation-error-properties):
11391 Don't call it at a position past the one we're about to change.
11392
3aaaa6f1
SM
11393 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11394 Disable obsolescence warnings in the file that declares it.
11395
14239447
KM
113962011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11397
099c39a4
JB
11398 * allout-widgets.el (allout-widgets-tally):
11399 Initialize allout-widgets-tally as a hash table rather than nil to
11400 prevent mode-line redisplay warnings. Also, clarify the module
11401 description and fix a comment typo.
14239447 11402
135e287c
JB
114032011-03-11 Juanma Barranquero <lekktu@gmail.com>
11404
11405 * help-fns.el (describe-variable): Don't complete keywords.
11406 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11407
ffbf300e
CY
114082011-03-10 Chong Yidong <cyd@stupidchicken.com>
11409
ba08b241
CY
11410 * emacs-lisp/package.el (package-version-join): Impose a standard
11411 string representation for pre/alpha/beta version lists.
11412 (package-unpack-single): Standardize the directory name by passing
11413 it through package-version-join.
11414 (package-strip-rcs-id): Accept any version string that does not
11415 signal an error in version-to-list.
ffbf300e 11416
f346fd6b
MA
114172011-03-10 Michael Albinus <michael.albinus@gmx.de>
11418
11419 * simple.el (delete-trailing-whitespace): Return nil for the
11420 benefit of `write-file-functions'.
11421
ccb55d27
GM
114222011-03-10 Glenn Morris <rgm@gnu.org>
11423
5ceaac0c
GM
11424 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11425
02da65ff
GM
11426 * vc/vc-git.el (vc-git-program): New option.
11427 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11428 (vc-git--call): Use it.
11429
b2f603cc
GM
11430 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11431
5772caab
GM
11432 * cus-edit.el (Custom-newline): If no button at point, look
11433 for a subgroup button at start-of-line. (Bug#2298)
11434
ccb55d27
GM
11435 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11436
ec6ecaed
JD
114372011-03-10 Julien Danjou <julien@danjou.info>
11438
11439 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11440 `cursor-type' is nil.
11441
9d5aa01d
JB
114422011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11443
11444 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11445
b6a5875b
KM
114462011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11447
7a71b18d 11448 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11449 preserves the existing header prefix, rebulleting it if necessary,
11450 rather than replacing it. This is necessary for proper operation
11451 of cooperative addons like allout-widgets.
1154d12e
JB
11452 (allout-make-topic-prefix, allout-rebullet-heading):
11453 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11454 value as alternate bullet to be used, instead of prompting the user
11455 for a bullet character.
b6a5875b 11456
ee545c35
MA
114572011-03-09 Michael Albinus <michael.albinus@gmx.de>
11458
d86d2721
SM
11459 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11460 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11461 `tramp-default-port'.
11462
c47971d7
DD
114632011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11464
11465 * net/rcirc.el (rcirc-handler-001): Remove useless
11466 with-rcirc-process-buffer.
11467 (rcirc-check-auth-status): Swap arguments to string-match.
11468
13522cb4
GM
114692011-03-09 Glenn Morris <rgm@gnu.org>
11470
0be6f4f1
GM
11471 * shell.el (shell-mode):
11472 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11473
13522cb4
GM
11474 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11475 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11476
515de2e3
CY
114772011-03-08 Chong Yidong <cyd@stupidchicken.com>
11478
11479 * emacs-lisp/package.el (package-refresh-contents)
11480 (package-menu-execute): Use condition-case-no-debug.
11481
b511b994
MA
114822011-03-08 Michael Albinus <michael.albinus@gmx.de>
11483
11484 * simple.el (shell-command-to-string): Use `process-file'.
11485
11486 * emacs-lisp/package.el (package-tar-file-info): Handle also
11487 remote files.
11488
d86d2721
SM
11489 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11490 Use `equal' for upload base check.
b511b994 11491
25bbfb31
AM
114922011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11493
11494 * textmodes/texinfo.el (texinfo-environments):
11495 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11496
be996521
GM
114972011-03-08 Glenn Morris <rgm@gnu.org>
11498
e9c8529f
GM
11499 * cus-start.el (cursor-in-non-selected-windows):
11500 Fix :set quoting oddness. (Bug#8192)
11501
be996521
GM
11502 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11503 in some setf expressions. (Bug#2159)
11504
2bb5649e
CY
115052011-03-08 Chong Yidong <cyd@stupidchicken.com>
11506
11507 * custom.el (custom-available-themes): Return themes in
11508 alphabetical order.
11509
33383987 11510See ChangeLog.15 for earlier changes.
e3d51b27
MR
11511
11512;; Local Variables:
11513;; coding: utf-8
e3d51b27
MR
11514;; End:
11515
acaf905b 11516 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11517
11518 This file is part of GNU Emacs.
11519
11520 GNU Emacs is free software: you can redistribute it and/or modify
11521 it under the terms of the GNU General Public License as published by
11522 the Free Software Foundation, either version 3 of the License, or
11523 (at your option) any later version.
11524
11525 GNU Emacs is distributed in the hope that it will be useful,
11526 but WITHOUT ANY WARRANTY; without even the implied warranty of
11527 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11528 GNU General Public License for more details.
11529
11530 You should have received a copy of the GNU General Public License
11531 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.