Merge changes made in No Gnus
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
899cb7cb
KY
12012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * mail/sendmail.el (mail-encode-header):
4 Bind rfc2047-encode-encoded-words to nil.
5
3809f91d
GM
62012-03-13 Glenn Morris <rgm@gnu.org>
7
8 * calendar/calendar.el (calendar-string-spread):
9 Handle non-unit-width characters a bit better. (Bug#10978)
10
9e345a01
LL
112012-03-13 Leo Liu <sdl.web@gmail.com>
12
13 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14 directory and file as argument (Bug#10822).
15
4a07df36
KS
162012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17
18 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
19 For dynamically generated code, follow $PC.
20 (gdb-disassembly-handler-custom): Handle no function name case.
21
4aaa9356
TL
222012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
23
24 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
25 * emulation/ws-mode.el (ws-query-replace):
26 * sort.el (sort-regexp-fields):
27 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
28
225979da
SM
292012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
30
31 * dabbrev.el: Fix cycle completion order (bug#10963).
32 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
33 (dabbrev-completion): Don't use an obarray; provide
34 a cycle-sort-function.
35
e2f1fdab
LL
362012-03-12 Leo Liu <sdl.web@gmail.com>
37
38 * simple.el (kill-new): Use equal-including-properties for
39 comparison.
40 (kill-do-not-save-duplicates): Doc fix.
41
b19490ed
SM
422012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
43
44 * dabbrev.el: Fix cycle completion (bug#10963).
45 Use lexical binding and wrap to 80 columns.
46 (dabbrev-completion): Delay computing the list of completions.
47
4b05d722
KH
482012-03-12 Kenichi Handa <handa@m17n.org>
49
50 * international/quail.el (quail-insert-kbd-layout): Surround each
51 row by LRO and PDF instead of inserting many LRMs. Pad the left
52 and right of each non-spacing marks. Insert invisible space
53 between lower and upper characters to prevent composition.
54
dbbc2e69
SM
552012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * minibuffer.el (minibuffer-complete): Don't get confused when the
58 function is run twice via different commands (bug#10958).
59 (complete-with-action): Fix docstring.
60
292112ed
CY
612012-03-12 Chong Yidong <cyd@gnu.org>
62
5d1ac394
CY
63 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
64 (nxml-completion-at-point-function): New function.
65 (nxml-mode): Use it.
66 (nxml-bind-meta-tab-to-complete-flag): Default to t.
67
292112ed
CY
68 * emacs-lisp/package.el (package-unpack, package-unpack-single):
69 Load generated autoloads file before byte compiling (Bug#10970).
70 (package--make-autoloads-and-compile): New helper fun.
71
4098f8f7
CS
722012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
73
74 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
75
8f754691
MA
762012-03-11 Michael Albinus <michael.albinus@gmx.de>
77
78 * autorevert.el (auto-revert-handler): Ensure, that
79 file-readable-p is applied only for local files or in
80 auto-revert-tail-mode.
81
e29ab36b
AS
822012-03-11 Andreas Schwab <schwab@linux-m68k.org>
83
dbbc2e69
SM
84 * server.el (server-eval-at): Handle non-tcp connections.
85 Decode result string.
ad0bf5b6 86
e29ab36b
AS
87 * server.el (server-msg-size): New constant.
88 (server-reply-print): New function.
89 (server-eval-and-print): Use it.
90 (server-eval-at): Use server-quote-arg and server-unquote-arg.
91 Handle -print-nonl.
92
de5939ba
CS
932012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
94
95 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
96 (Bug#10987).
97
0c93eabf
CY
982012-03-11 Chong Yidong <cyd@gnu.org>
99
397a688f
CY
100 * simple.el (goto-line): Doc fix (Bug#9938).
101
2cc775f9
CY
102 * subr.el (save-window-excursion): Doc fix (Bug#9979).
103
0c93eabf
CY
104 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
105 when finished (Bug#10963).
106
c491fa41
MR
1072012-03-11 Martin Rudalics <rudalics@gmx.at>
108
109 * window.el (split-window-below): Fix bug in case where
110 split-window-keep-point is nil (Bug#10971).
111
300e8fa5
JL
1122012-03-11 Juri Linkov <juri@jurta.org>
113
114 * replace.el (replace-highlight): Set isearch-word to nil
115 unconditionally. (Bug#10887)
116
dbf6c5a1
EZ
1172012-03-10 Eli Zaretskii <eliz@gnu.org>
118
119 * net/mairix.el (mairix-replace-invalid-chars): Rename from
120 mairix-replace-illegal-chars; all callers changed. Don't remove
121 ^, ~, and = characters: they are meaningful in mairix search
122 specs.
123 (mairix-widget-create-query): Add usage information about mairix
124 search forms: negating words, searching for substrings, etc.
125
b9e501de
JP
1262012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
127
128 * international/fontset.el (font-encoding-alist): Add an entry for
129 ksx1001 (Bug#5667).
130
92795c91
RS
1312012-03-10 Richard Stallman <rms@gnu.org>
132
1694e6c1
RS
133 * mail/sendmail.el (mail-encode-header):
134 Set rfc2047-encode-encoded-words.
135
607e8555
RS
136 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
137
de3bc99a
RS
138 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
139 view buffer means not swapped.
140 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
141 (rmail-write-region-annotate): Error if real text has disappeared.
142
92795c91
RS
143 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
144
699bd04e
CY
1452012-03-10 Chong Yidong <cyd@gnu.org>
146
147 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
148 * emulation/cua-base.el (cua--init-keymaps):
149 Add delete-forward-char to remappings (Bug#9666).
699bd04e 150
570a1714
MR
1512012-03-10 Martin Rudalics <rudalics@gmx.at>
152
dbbc2e69
SM
153 * speedbar.el (speedbar-unhighlight-one-tag-line):
154 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 155
82dcf4e4
CY
1562012-03-10 Chong Yidong <cyd@gnu.org>
157
7a2c7ca7
CY
158 * minibuffer.el (completion-in-region, completion-help-at-point):
159 Give the completion field overlay a high priority (Bug#6830).
160
82dcf4e4
CY
161 * dired.el (dired-goto-file): Recognize absolute file name
162 listings (Bug#7126).
163 (dired-goto-file-1): New helper function.
164 (dired-toggle-read-only): Inhibit warnings.
165
052e28ac
MA
1662012-03-09 Michael Albinus <michael.albinus@gmx.de>
167
168 * net/dbus.el: (dbus-property-handler): Return empty array if
169 there are no properties.
170
95d5e396
LL
1712012-03-09 Leo Liu <sdl.web@gmail.com>
172
173 * savehist.el (savehist-printable): Stricter check for string
174 value (Bug#10937).
175
3f018d6d
EZ
1762012-03-09 Eli Zaretskii <eliz@gnu.org>
177
dbbc2e69
SM
178 * mail/smtpmail.el (smtpmail-send-it):
179 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
180 valid mbox format.
181
f7fd3d79
GM
1822012-03-09 Glenn Morris <rgm@gnu.org>
183
184 * files.el (dir-locals-find-file):
185 Don't check result is regular, readable.
186 (dir-locals-read-from-file): Demote errors.
187
6ff6e72f
EZ
1882012-03-08 Eli Zaretskii <eliz@gnu.org>
189
dbbc2e69
SM
190 * international/quail.el (quail-insert-kbd-layout):
191 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
192 layout cell, to prevent their reordering by bidi display engine.
193 For details, see the discussion in
194 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
195
9cec7834
AM
1962012-03-08 Alan Mackenzie <acm@muc.de>
197
198 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
199 the starting position; make it extend the marked region when
200 invoked repeatedly - all under appropriate circumstances.
201 Fixes bugs #5525, #10906.
202
9a40b8d4
GM
2032012-03-08 Glenn Morris <rgm@gnu.org>
204
205 * files.el (locate-dominating-file, dir-locals-find-file):
206 Undo 2012-03-06 change.
207
7a08ed35
EZ
2082012-03-07 Eli Zaretskii <eliz@gnu.org>
209
dbbc2e69
SM
210 * international/quail.el (quail-help):
211 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
212 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
213 for the reason.
214
5aca4f71 2152012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
216
217 Avoid superfluous registering of signals. (Bug#10807)
218
219 * notifications.el (notifications-on-action-object)
220 (notifications-on-close-object): New defvars.
221 (notifications-on-action-signal, notifications-on-closed-signal):
222 Unregister the signal if not needed any longer.
223 (notifications-notify): Register `notifications-action-signal' or
224 `notifications-closed-signal', if :on-action or :on-close has been
225 passed as argument.
226
78e8b10a
CY
2272012-03-07 Chong Yidong <cyd@gnu.org>
228
229 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
230 non-X platforms.
231
69481eb8
GM
2322012-03-06 Glenn Morris <rgm@gnu.org>
233
234 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
235 (x-disown-selection-internal, x-get-selection-internal):
236 Doc fix (add arglist signatures). (Bug#10783)
237
133b8e11
KS
2382012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
239
240 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
241 Handle breakpoints with no "type".
242
99a83064
GM
2432012-03-06 Glenn Morris <rgm@gnu.org>
244
245 * files.el (locate-dominating-file): Add optional predicate argument.
246 (dir-locals-find-file): Make use of above change.
247
17798e78
TTN
2482012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
249
250 * info.el (Info-insert-dir): Also try "dir.gz".
251
eb182446
GM
2522012-03-06 Glenn Morris <rgm@gnu.org>
253
8f2114ee
GM
254 * files.el (dir-locals-find-file):
255 Ignore non-readable or non-regular files. (Bug#10928)
256
eb182446
GM
257 * files.el (locate-dominating-file): Doc fix.
258
24679323
AS
2592012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
260
261 * calendar/calendar.el (calendar-set-mode-line):
262 `getenv' returns a string. (Bug#10951)
263
01d972a9
LL
2642012-03-05 Leo Liu <sdl.web@gmail.com>
265
109aa8a9
LL
266 * simple.el (backward-delete-char-untabify): Constrain point to
267 field (Bug#10939).
268
01d972a9
LL
269 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
270
10607bea
CY
2712012-03-05 Chong Yidong <cyd@gnu.org>
272
273 * simple.el (count-words): If called from Lisp, return the word
274 count, for symmetry with `count-lines'. Arglist changed.
275 (count-words--message): Args changed. Consolidate counting code
276 from count-words and count-words-region.
277 (count-words-region): Caller changed.
278 (count-lines-region): Make it an obsolete alias.
279
5dd11cfe
TH
2802012-03-04 Tassilo Horn <tassilo@member.fsf.org>
281
282 * saveplace.el (save-place-to-alist)
283 (save-place-ignore-files-regexp): Allow value nil to disable this
284 feature.
285
c349f4e6
CY
2862012-03-04 Chong Yidong <cyd@gnu.org>
287
288 * faces.el (face-spec-reset-face): For the default face, reset the
289 attributes to default values (Bug#10748).
290
e627be4c
LMI
2912012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
292
293 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
294 previous patch: Check `message-send-mail-function', and not the
295 default function (bug#10897).
296
ebeabff4
MA
2972012-03-04 Michael Albinus <michael.albinus@gmx.de>
298
a41a6cf4
MA
299 * notifications.el (notifications-on-action-signal)
300 (notifications-on-closed-signal): Check for unique service name of
301 incoming event. Fix error in removing entry.
ebeabff4 302 (top): Register for signals with wildcard service name.
a41a6cf4 303 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 304
c1ca42b4
CY
3052012-03-04 Chong Yidong <cyd@gnu.org>
306
307 * cus-start.el: Make x-select-enable-clipboard-manager
308 customizable.
309
ea16568d
GM
3102012-03-04 Glenn Morris <rgm@gnu.org>
311
312 * abbrev.el (copy-abbrev-table, abbrev-table-p)
313 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
314 (expand-abbrev, define-abbrev-table): Doc fixes.
315
fbae4637
LMI
3162012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
317
318 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
319 `message-default-send-mail-function' and not `send-mail-function'
320 when doing the prompting for `sendmail-query-once' before sending
321 in Message buffers (bug#10897).
322
a1e7225c
LMI
323 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
324 This is inconsistent with all the other stream functions, which leave
325 the setting up to the higher levels (if so wanted) (bug#10931).
326
56d093a9
AM
3272012-03-02 Alan Mackenzie <acm@muc.de>
328
329 Depessimize the handling of very large macros.
330
331 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
332 (c-macro-cache-syntactic): New variables to implement a one
333 element macro cache.
334 (c-invalidate-macro-cache): New function.
335 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
336 Adapt to use the new cache.
337 (c-state-safe-place): Use better the cache of safe positions.
338 (c-state-semi-nonlit-pos-cache)
339 (c-state-semi-nonlit-pos-cache-limit):
340 New variables for...
341 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
342 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
343 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
344 Use c-state-semi-safe-place.
56d093a9 345
dbbc2e69
SM
346 * progmodes/cc-langs.el (c-get-state-before-change-functions):
347 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 348
817e5c3d
MA
3492012-03-02 Michael Albinus <michael.albinus@gmx.de>
350
dbbc2e69
SM
351 * jka-compr.el (jka-compr-call-process):
352 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
353 not remote.
354
a032a702
MA
3552012-03-01 Michael Albinus <michael.albinus@gmx.de>
356
357 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
358 access of FILE2, if FILE1 does not exist.
359
99a54f21
MA
360 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
361 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
362
363 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
364 Add "PAGER=" to `process-environment'.
365
f6561e1f
MM
3662012-03-01 Michael R. Mauger <mmaug@yahoo.com>
367
368 * progmodes/sql.el: Bug fix
369 (sql-get-login-ext): Save login values in globals.
370 (sql-get-login): Use new version of `sql-get-login-ext'.
371 (sql-interactive-mode): Set global `sql-connection' to nil.
372 (sql-connect): Set global values for connection.
373 (sql-product-interactive): Save global values as buffer local.
374
2d44d9cc
LL
3752012-02-29 Leo Liu <sdl.web@gmail.com>
376
377 * abbrev.el (define-abbrevs): Reset sys to nil.
378
96b49301 3792012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
380
bf7f9bc5
JB
381 * files.el (file-equal-p): Rename from `files-equal-p'.
382 Return nil when one or both files don't exist.
96b49301 383 (file-subdir-of-p): Now only top directory must exists,
384 return nil if it doesn't.
bf7f9bc5
JB
385 (copy-directory): No need to test with `file-subdir-of-p' after
386 creating dir.
387 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
388 to `file-equal-p'.
96b49301 389
44e97401
GM
3902012-02-28 Glenn Morris <rgm@gnu.org>
391
392 * shell.el (shell-mode):
393 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
394 * play/landmark.el (landmark-font-lock-face-O):
395 * play/handwrite.el (handwrite):
396 * play/gomoku.el (gomoku-O):
397 * net/browse-url.el (browse-url-browser-display):
398 * international/mule.el (define-charset):
399 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
400 * filesets.el (filesets-find-file-delay):
401 * eshell/em-xtra.el (eshell-xtra):
402 * eshell/em-unix.el (eshell-grep):
403 * emulation/viper.el (viper-mode):
404 * emacs-lisp/regexp-opt.el (regexp-opt-group):
405 * emacs-lisp/easymenu.el (easy-menu-define):
406 * calendar/timeclock.el (timeclock-use-display-time):
407 * bs.el (bs-mode):
408 * bookmark.el (bookmark-save-flag):
409 Doc fix (standardize possessive apostrophe usage).
410
c98c6276
CY
4112012-02-27 Chong Yidong <cyd@gnu.org>
412
bf7f9bc5
JB
413 * emulation/viper-cmd.el (viper-intercept-ESC-key):
414 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 415
c98c6276
CY
416 * font-lock.el (font-lock-specified-p): Rename from
417 font-lock-spec-present. Callers changed.
418
9c62cd04 4192012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 420
bf7f9bc5
JB
421 * emacs-lisp/package.el (package-compute-transaction):
422 Handle holding a package version to t in package-load-list.
8ac9e529 423
530739c9
MA
4242012-02-26 Michael Albinus <michael.albinus@gmx.de>
425
426 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
427 (tramp-get-inode, tramp-get-device): Use cached values.
428
487915d7
AM
4292012-02-26 Alan Mackenzie <acm@muc.de>
430
431 Check there is a font-lock specification before doing initial
432 fontification.
433
434 * font-core.el (font-lock-mode): Move the conditional from
435 :after-hook to font-lock-initial-fontify.
436 (font-lock-default-function): Move the check for a specification
437 to font-lock-spec-present.
438
439 * font-lock.el (font-lock-initial-fontify): call ...
440 (font-lock-spec-present): New function.
441
4fd96557
JB
4422012-02-26 Jim Blandy <jimb@red-bean.com>
443
444 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
445 (gdb-send): Apply it to the operand of the '-interpreter-exec
446 console' command, so that we can pass arguments with (say) quotes
447 in them. Store exact string sent in gdb-debug-log (Bug#10765).
448
9a4888c0
CY
4492012-02-26 Chong Yidong <cyd@gnu.org>
450
07498861
CY
451 * help-fns.el (describe-function-1): Clarify description of
452 remapping (Bug#10844).
453
9a4888c0
CY
454 * files.el (files-equal-p): Doc fix.
455 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
456 and quit the loop once a mismatch is found.
457
ea8fb88d
JB
4582012-02-25 Juanma Barranquero <lekktu@gmail.com>
459
460 * bs.el (bs--show-with-configuration): Don't throw an error
461 if the window cannot be split; otherwise, subsequent calls to
462 bs-show fail, restoring a stale window config. (Bug#10882)
463
525795c1
JD
4642012-02-25 Jan Djärv <jan.h.d@swipnet.se>
465
466 * term/ns-win.el (global-map): Bind ns-drag-file to
467 ns-find-file (Bug#5855, Bug#10050).
468
f008086f
AS
4692012-02-25 Andreas Schwab <schwab@linux-m68k.org>
470
471 * calendar/parse-time.el (parse-time-string): Allow extractor to
472 return nil.
473
a3fcfa99
MA
4742012-02-25 Michael Albinus <michael.albinus@gmx.de>
475
91027d08
JB
476 * net/tramp.el (tramp-file-name-for-operation):
477 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
478
479 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
480 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
481 Add COPY-CONTENTS argument.
a3fcfa99 482
67b0de11
CY
4832012-02-25 Chong Yidong <cyd@gnu.org>
484
485 Add custom groups for VC backends, for consistency with vc-bzr.
486
487 * vc/vc-arch.el (vc-arch):
488 * vc/vc-cvs.el (vc-cvs):
489 * vc/vc-git.el (vc-git):
490 * vc/vc-hg.el (vc-hg):
491 * vc/vc-mtn.el (vc-mtn):
492 * vc/vc-rcs.el (vc-rcs):
493 * vc/vc-sccs.el (vc-sccs):
494 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
495 All relevant defcustoms reassigned.
496
3c9dfce6
CY
4972012-02-25 Chong Yidong <cyd@gnu.org>
498
1339bf43
CY
499 * newcomment.el (comment-styles): Add autoload (Bug#10868).
500
3c9dfce6
CY
501 * term/x-win.el (x-initialize-window-system): Reduce default for
502 x-selection-timeout to 5 seconds (Bug#8869).
503
53a46cd0 5042012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 505
53a46cd0 506 * files.el (file-subdir-of-p): Fix typo.
14a8a663 507
25b2e303 5082012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
509
ec70a47d
GM
510 * files.el (files-equal-p, file-subdir-of-p): New functions.
511 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 512 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
513 * dired-aux.el (dired-copy-file-recursive): Same.
514 (dired-create-files): Modify destination when source is equal to
515 dest when copying files.
53a46cd0 516 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 517
914260cd
MA
5182012-02-24 Michael Albinus <michael.albinus@gmx.de>
519
520 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
521 (Bug#10874)
522
2cb228f7
AM
5232012-02-23 Alan Mackenzie <acm@muc.de>
524
525 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
526 parameter "after-hook:" to allow the expansion to run code after
527 the execution of the mode hooks.
528
529 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 530 from font-lock-mode-internal.
2cb228f7 531
91027d08 532 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
533 :after-hook.
534
8f0fde21
SM
5352012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
536
3e88618b
SM
537 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
538 (completion--cache-all-sorted-completions): New function.
539 (completion-all-sorted-completions): Use it.
540 (completion--do-completion, minibuffer-force-complete):
541 Use it to re-instate the flush hook.
542
8f0fde21
SM
543 * icomplete.el (icomplete-completions): Replace last fix with a better
544 one (bug#10850).
545
8e911f6f
DG
5462012-02-23 Dmitry Gutov <dgutov@yandex.ru>
547
548 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
549 when it might call us back infinitely (bug#10797).
550
49fe4321
GM
5512012-02-23 Glenn Morris <rgm@gnu.org>
552
553 * minibuffer.el (completion-category-overrides): Doc fix.
554
b291b572
SM
5552012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
556
557 * minibuffer.el (completion-table-with-context): Fix inf-loop.
558 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
559
31a9ef2e
GM
5602012-02-23 Glenn Morris <rgm@gnu.org>
561
5e6e6794 562 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
563 (authors-obsolete-files-regexps, authors-ignored-files)
564 (authors-ambiguous-files, authors-renamed-files-alist):
565 Add more entries.
566
0bd1e074
JL
5672012-02-23 Juri Linkov <juri@jurta.org>
568
569 * isearch.el (isearch-occur): Sync interactive spec with occur's
570 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
571
b617673c
JL
572 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
573
19e9789e
JL
5742012-02-22 Juri Linkov <juri@jurta.org>
575
576 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
577 (ucs-insert): Doc fix. Check for hex digits in the string.
578 Don't display `nil' in the error message. (Bug#10857)
579
f41ce09d
AM
5802012-02-22 Alan Mackenzie <acm@muc.de>
581
7a71b18d 582 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 583
ac2eceee
GM
5842012-02-22 Glenn Morris <rgm@gnu.org>
585
586 * ffap.el (ffap-c-path):
587 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
588
abd1f678
CY
5892012-02-22 Chong Yidong <cyd@gnu.org>
590
591 * custom.el (load-theme): Doc fix.
592
f25aef2e
GM
5932012-02-22 Glenn Morris <rgm@gnu.org>
594
595 * dired-x.el (dired-guess-shell-alist-default):
596 Remove escape sequences from nroff output. (Bug#172)
597
5f8dc2ca
GM
5982012-02-21 Glenn Morris <rgm@gnu.org>
599
6ff86ec4
GM
600 * vc/emerge.el (emerge-defvar-local):
601 Set `permanent-local' property rather than unused `preserved'.
602
be3223a3 603 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
604 (picture-mode-map): Use it. (Bug#10860)
605 (picture-mode): Doc fix.
606
3fe58f4f
JB
6072012-02-21 Juanma Barranquero <lekktu@gmail.com>
608
609 * newcomment.el (uncomment-region-default): Remove unused binding.
610
f9a998c3
GM
6112012-02-21 Glenn Morris <rgm@gnu.org>
612
613 * textmodes/picture.el (picture-motion, picture-motion-reverse)
614 (picture-self-insert, picture-tab-chars): Doc fix.
615 (picture-mode-map): Fix C-a, C-e.
616
c6029348
GM
6172012-02-20 Glenn Morris <rgm@gnu.org>
618
619 * emacs-lisp/authors.el (authors-aliases): Add another entry.
620
ab1ce9d7
LL
6212012-02-20 Leo Liu <sdl.web@gmail.com>
622
623 * icomplete.el (icomplete-completions): Check FROM arg before
624 passing to substring (Bug#10850).
625
0fd40f89
CY
6262012-02-19 Chong Yidong <cyd@gnu.org>
627
628 * comint.el: Require ansi-color.
629 (comint-output-filter-functions): Add ansi-color-process-output.
630
631 * ansi-color.el: Don't set comint-output-filter-functions; it is
632 now in the initial value defined in comint.el.
633 (ansi-color-apply-face-function): New variable.
634 (ansi-color-apply-on-region): Use it.
635 (ansi-color-apply-overlay-face): New function.
636
637 * shell.el (shell): No need to require ansi-color.
638 (shell-mode): Use ansi-color-apply-face-function to highlight
639 color escapes using font-lock-face property (Bug#10835).
640
20af2394
CY
6412012-02-19 Chong Yidong <cyd@gnu.org>
642
643 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
644 mode-line formats (Bug#10839).
645
e23a3fbe
GM
6462012-02-18 Glenn Morris <rgm@gnu.org>
647
b474519e
GM
648 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
649
650 * mail/undigest.el (unforward-rmail-message): Doc fix.
651
e23a3fbe
GM
652 * saveplace.el (save-place-ignore-files-regexp): Add :version.
653
57939ff4
EZ
6542012-02-18 Eli Zaretskii <eliz@gnu.org>
655
656 * international/characters.el (script-list): Sync with the latest
657 Unicode Character Database.
658
0c23686e
AS
6592012-02-18 Andreas Schwab <schwab@linux-m68k.org>
660
661 * international/titdic-cnv.el: Remove duplicate coding tag.
662 * language/cham.el: Likewise.
663 * language/tai-viet.el: Likewise.
664
6818b449
GM
6652012-02-18 Glenn Morris <rgm@gnu.org>
666
667 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
668 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
669 (calendar-bahai-all-holidays-flag, calendar-other-dates):
670 * calendar/diary-lib.el (diary-abbreviated-year-flag):
671 * calendar/holidays.el (holiday-bahai-holidays)
672 (calendar-holidays, list-holidays):
673 Use utf-8 Bahá'í in doc-strings, menus, etc.
674
0311a3fc
TH
6752012-02-17 Tassilo Horn <tassilo@member.fsf.org>
676
677 * saveplace.el (save-place-ignore-files-regexp): New variable
678 allowing for excluding files from saving their location of point.
679 The default value matches the temporary commit message editing
680 files from Git, SVN, Bazaar, and Mercurial.
681 (save-place-to-alist): Use it.
682
eb864a71
LM
6832012-02-17 Lawrence Mitchell <wence@gmx.li>
684 Stefan Monnier <monnier@iro.umontreal.ca>
685
686 * newcomment.el (uncomment-region-default): Don't leave extra space
687 when an arg is provided (bug#8150).
688
ee0ce425
TZ
6892012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
690
eb864a71 691 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 692
95ddf442
GM
6932012-02-17 Glenn Morris <rgm@gnu.org>
694
695 * net/socks.el: Require network-stream. (Bug#10599)
696
48dd1e39 6972012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
698
699 * international/charprop.el:
700 * international/uni-name.el:
701 * international/uni-old-name.el:
702 * international/uni-comment.el: Regenerate.
703
d68cd087
GM
7042012-02-16 Glenn Morris <rgm@gnu.org>
705
706 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
707 Interactively in calendar buffer, give an error if not on a date.
708
13932042
GM
7092012-02-15 Glenn Morris <rgm@gnu.org>
710
711 * shell.el (shell-delimiter-argument-list):
712 Revert 2011-02-17 change. (Bug#8027)
713
c3a70e2b
CY
7142012-02-15 Chong Yidong <cyd@gnu.org>
715
60236b0d
CY
716 * minibuffer.el (completion-at-point-functions): Doc fix.
717
c3a70e2b
CY
718 * custom.el (defcustom): Doc fix; note use of defvar.
719
9f26dc24
GM
7202012-02-15 Glenn Morris <rgm@gnu.org>
721
722 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
723 Doc fixes.
724
6546b134
GM
7252012-02-14 Glenn Morris <rgm@gnu.org>
726
727 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
728
d29b2b4c
LI
7292012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
730
731 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
732 way the ports list is computed.
835bdcba
LI
733 (smtpmail-query-smtp-server): Prompt the user for a port number if
734 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 735
08dcdbc9
TZ
7362012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
737
738 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
739
2605051a
GM
7402012-02-13 Glenn Morris <rgm@gnu.org>
741
742 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
743
7ee99f32
TZ
7442012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
745
746 * net/gnutls.el (gnutls-trustfiles): New variable.
747 (gnutls-negotiate): Use it.
748
5f0af64f
LI
7492012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
750
751 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
752 does its stuff if Gnus is running.
753
c14fcc95
AM
7542012-02-13 Alan Mackenzie <acm@muc.de>
755
756 Fix a loop in c-set-fl-decl-start.
757
7a71b18d 758 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
759 c-backward-syntactic-ws actually moves backwards.
760
142b4d90
LL
7612012-02-13 Leo Liu <sdl.web@gmail.com>
762
763 * net/rcirc.el (rcirc-markup-attributes): Move point to the
764 beginning so that all \C-o chars are removed.
765
fa9958a6
TZ
7662012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
767
768 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
769 tag.
770
0bc5886a
AM
7712012-02-12 Alan Mackenzie <acm@muc.de>
772
773 Fix infinite loop with long macros.
774 * cc-engine.el (c-state-safe-place): Handle macros properly.
775
d4bd55e7
CY
7762012-02-12 Chong Yidong <cyd@gnu.org>
777
778 * window.el (display-buffer): Doc fix (Bug#10785).
779
66f3fe22
GM
7802012-02-12 Glenn Morris <rgm@gnu.org>
781
bd7da63e
GM
782 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
783 (x-disown-selection-internal, x-get-selection-internal):
784 Sync docs with the xselect.c versions.
785
66f3fe22
GM
786 * allout-widgets.el: Add missing license notice.
787
3e0d2fa7
GM
7882012-02-11 Glenn Morris <rgm@gnu.org>
789
cfecdf09
GM
790 * select.el (x-get-selection-internal, x-own-selection-internal)
791 (x-disown-selection-internal):
792 * x-dnd.el (x-get-selection-internal): Update declarations.
793
6d216d7f
GM
794 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
795
2bed3f04
GM
796 * window.el (window-sides-slots):
797 * tool-bar.el (tool-bar-position):
798 * term/xterm.el (xterm-extra-capabilities):
799 * ses.el (ses-self-reference-early-detection):
800 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
801 (verilog-auto-wire-type)
802 (verilog-auto-delete-trailing-whitespace)
803 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
804 (verilog-auto-tieoff-declaration):
805 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
806 (sql-oracle-statement-starters, sql-oracle-scan-on):
807 * progmodes/prolog.el (prolog-align-comments-flag)
808 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
809 (prolog-left-indent-regexp, prolog-paren-indent-p)
810 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
811 (prolog-types, prolog-mode-specificators)
812 (prolog-determinism-specificators, prolog-directives)
813 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
814 (prolog-electric-dot-flag)
815 (prolog-electric-dot-full-predicate-template)
816 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
817 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
818 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
819 (prolog-program-switches, prolog-prompt-regexp)
820 (prolog-debug-on-string, prolog-debug-off-string)
821 (prolog-trace-on-string, prolog-trace-off-string)
822 (prolog-zip-on-string, prolog-zip-off-string)
823 (prolog-use-standard-consult-compile-method-flag)
824 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
825 (prolog-imenu-max-lines, prolog-info-predicate-index)
826 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
827 (prolog-char-quote-workaround):
828 * progmodes/cc-vars.el (c-defun-tactic):
829 * net/tramp.el (tramp-encoding-command-interactive)
830 (tramp-local-end-of-line):
831 * net/soap-client.el (soap-client):
832 * net/netrc.el (netrc-file):
833 * net/gnutls.el (gnutls):
834 * minibuffer.el (completion-category-overrides)
835 (completion-cycle-threshold)
836 (completion-pcm-complete-word-inserts-delimiters):
837 * man.el (Man-name-local-regexp):
838 * mail/feedmail.el (feedmail-display-full-frame):
839 * international/characters.el (glyphless-char-display-control):
840 * eshell/em-ls.el (eshell-ls-date-format):
841 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
842 (lisp-lambda-list-keyword-parameter-indentation)
843 (lisp-lambda-list-keyword-parameter-alignment):
844 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
845 * dired-x.el (dired-omit-verbose):
846 * cus-theme.el (custom-theme-allow-multiple-selections):
847 * calc/calc.el (calc-highlight-selections-with-faces)
848 (calc-lu-field-reference, calc-lu-power-reference)
849 (calc-note-threshold):
850 * battery.el (battery-mode-line-limit):
851 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
852 (archive-7z-update):
853 * allout.el (allout-prefixed-keybindings)
854 (allout-unprefixed-keybindings)
855 (allout-inhibit-auto-fill-on-headline)
856 (allout-flattened-numbering-abbreviation):
857 * allout-widgets.el (allout-widgets-auto-activation)
858 (allout-widgets-icons-dark-subdir)
859 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
860 (allout-widgets-theme-dark-background)
861 (allout-widgets-theme-light-background)
862 (allout-widgets-item-image-properties-emacs)
863 (allout-widgets-item-image-properties-xemacs)
864 (allout-widgets-run-unit-tests-on-load)
865 (allout-widgets-time-decoration-activity)
866 (allout-widgets-hook-error-post-time)
867 (allout-widgets-track-decoration):
868 Add missing :version tags to new defcustoms and defgroups.
869
5fec1b8e
GM
870 * progmodes/sql.el (sql-ansi-statement-starters)
871 (sql-oracle-statement-starters): Add custom type.
872
3e0d2fa7
GM
873 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
874 (prolog-system-version): Give it a type.
875
90b671e2
EZ
8762012-02-11 Eli Zaretskii <eliz@gnu.org>
877
878 * term/pc-win.el (x-select-text, x-selection-owner-p)
879 (x-own-selection-internal, x-disown-selection-internal)
880 (x-get-selection-internal): Sync doc strings and argument lists
881 with xselect.c, common-win.el and x-win.el. (Bug#10783)
882
5eac0c02
LL
8832012-02-11 Leo Liu <sdl.web@gmail.com>
884
885 * progmodes/python.el (python-end-of-statement): Fix infinite
886 loop. (Bug#10788)
887
f82cb659
GM
8882012-02-10 Glenn Morris <rgm@gnu.org>
889
890 * international/mule-cmds.el (unify-8859-on-encoding-mode)
891 (unify-8859-on-decoding-mode): Properly mark as obsolete.
892
cc26d239
LI
8932012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
894
895 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
896 about SMTP before checking the From header.
897
91027d08 898 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
899 into own function for reuse by emacsbug.el.
900
1be3ca5a
LL
9012012-02-10 Leo Liu <sdl.web@gmail.com>
902
903 * subr.el (condition-case-unless-debug): Rename from
904 condition-case-no-debug. All callers changed.
905 (with-demoted-errors): Fix caller.
906
907 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
908 * nxml/rng-valid.el (rng-do-some-validation):
909 * emacs-lisp/package.el (package-refresh-contents)
910 (package-menu-execute):
911 * desktop.el (desktop-create-buffer):
91027d08 912 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 913
b011fbfe
GM
9142012-02-10 Glenn Morris <rgm@gnu.org>
915
b2096d72
GM
916 * textmodes/bibtex.el:
917 Add missing :version tags for new/changed defcustoms.
918
b011fbfe
GM
919 * files.el (remote-file-name-inhibit-cache): Doc fixes.
920
4c7e65bf
LI
9212012-02-09 Lars Ingebrigtsen <larsi@rusty>
922
923 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
924 (smtpmail-via-smtp): Use it, or fall back on the From address.
925 (smtpmail-send-it): Ditto.
926
f3934f6f
SM
9272012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
928
929 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
930 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
931 (byte-compile-tmp-var): New const.
932 (byte-compile-defvar): Use it to minimize .elc size.
933 Just use `defvar' rather than simulate it (bug#10761).
934
a075a2c5
GM
9352012-02-09 Glenn Morris <rgm@gnu.org>
936
cf3aa21b
GM
937 * files.el (rename-uniquely): Doc fix. (Bug#3806)
938
354998cd
GM
939 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
940 Add :version tags.
941
83274125 942 * progmodes/compile.el (compilation-first-column)
34c071c6 943 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
83274125 944
dab3703d
GM
945 * vc/log-view.el (log-view-toggle-entry-display):
946 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
947
3f88cd72
GM
948 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
949 (report-emacs-bug-can-use-xdg-email):
950 (report-emacs-bug-insert-to-mailer): Doc fixes.
951 (report-emacs-bug): Message fix.
952
d95b247d
GM
953 * net/browse-url.el (browse-url-can-use-xdg-open)
954 (browse-url-xdg-open): Doc fixes.
955
a075a2c5
GM
956 * electric.el (electric-indent-mode, electric-pair-mode)
957 (electric-layout-rules, electric-layout-mode): Doc fixes.
958 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
959
ffb6157e
MR
9602012-02-08 Martin Rudalics <rudalics@gmx.at>
961
962 * server.el (server-unselect-display): Don't inadvertently kill
963 the current buffer. (Bug#10729)
964
e1ac4066
GM
9652012-02-08 Glenn Morris <rgm@gnu.org>
966
34e8a2da
GM
967 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
968 (sql-list-table): Doc fixes.
969
b4ac6e8c
GM
970 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
971 Comment out (does nothing).
972
e1ac4066
GM
973 * completion.el (dynamic-completion-mode):
974 * dirtrack.el (dirtrack-debug-mode):
975 * electric.el (electric-layout-mode):
976 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
977 * face-remap.el (text-scale-mode, buffer-face-mode):
978 * iimage.el (iimage-mode):
979 * image-mode.el (image-transform-mode):
980 * minibuffer.el (completion-in-region-mode):
981 * scroll-lock.el (scroll-lock-mode):
982 * simple.el (next-error-follow-minor-mode):
983 * tar-mode.el (tar-subfile-mode):
984 * tooltip.el (tooltip-mode):
985 * vcursor.el (vcursor-use-vcursor-map):
986 * wid-browse.el (widget-minor-mode):
987 * emulation/tpu-edt.el (tpu-edt-mode):
988 * emulation/tpu-extras.el (tpu-cursor-free-mode):
989 * international/iso-ascii.el (iso-ascii-mode):
990 * language/thai-util.el (thai-word-mode):
991 * mail/supercite.el (sc-minor-mode):
992 * net/goto-addr.el (goto-address-mode):
993 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
994 * progmodes/cwarn.el (cwarn-mode):
995 * progmodes/flymake.el (flymake-mode):
996 * progmodes/glasses.el (glasses-mode):
997 * progmodes/hideshow.el (hs-minor-mode):
998 * progmodes/pascal.el (pascal-outline-mode):
999 * textmodes/enriched.el (enriched-mode):
1000 * vc/smerge-mode.el (smerge-mode):
1001 Doc fixes (minor mode argument).
1002
5e0d957f
EZ
10032012-02-07 Eli Zaretskii <eliz@gnu.org>
1004
1005 * ls-lisp.el (ls-lisp-sanitize): New function.
1006 (ls-lisp-insert-directory): Use it to fix or remove any elements
1007 in file-alist with missing attributes. (Bug#4673)
1008
98d7371e
AM
10092012-02-07 Alan Mackenzie <acm@muc.de>
1010
1011 Fix spurious recognition of c-in-knr-argdecl.
1012
1013 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1014 putative K&R region.
1015
667ced3a
AM
10162012-02-07 Alan Mackenzie <acm@muc.de>
1017
eb864a71
LM
1018 * progmodes/cc-engine.el (c-forward-objc-directive):
1019 Prevent looping in "#pragma mark @implementation".
667ced3a 1020
5b77774d
MA
10212012-02-07 Michael Albinus <michael.albinus@gmx.de>
1022
1023 * notifications.el (notifications-on-closed-signal): Make `reason'
1024 optional. (Bug#10744)
1025
af008560
GM
10262012-02-07 Glenn Morris <rgm@gnu.org>
1027
60d47423
GM
1028 * emacs-lisp/easy-mmode.el (define-minor-mode):
1029 Doc fixes for the macro and the mode it defines.
1030
dd605cc4
GM
1031 * image.el (imagemagick-types-inhibit): Doc fix.
1032
af008560
GM
1033 * cus-start.el (imagemagick-render-type): Add it.
1034
5cc59a37
LI
10352012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1036
1037 * progmodes/cc-mode.el
1038 (c-standard-font-lock-fontify-region-function): Set the default at
1039 load time, too, so that `font-lock-fontify-buffer' can be called
1040 without setting up the entire mode first. This fixes a bug in
1041 `mm-inline-text' with C MIME parts.
1042
9a6dd747
CY
10432012-02-06 Chong Yidong <cyd@gnu.org>
1044
2d16b285
CY
1045 * simple.el (list-processes--refresh): Delete exited processes
1046 (Bug#8094).
1047
171e9b6e
CY
1048 * comint.el (comint-next-prompt): next-single-char-property-change
1049 and prev-single-char-property-change never return nil (Bug#8657).
1050
9a6dd747
CY
1051 * custom.el (defcustom): Doc fix (Bug#9711).
1052
aa4589a7
CY
10532012-02-05 Chong Yidong <cyd@gnu.org>
1054
5c2a252f
CY
1055 * cus-edit.el (custom-variable-reset-backup): Quote the value
1056 before storing it in the customized-value property (Bug#6712).
4aab9006 1057 (custom-display): Add a customization type tag.
983b9602 1058 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1059
aa4589a7
CY
1060 * wid-edit.el (widget-field-value-get): New optional arg to
1061 suppress trailing whitespace truncation.
1062 (character): Use it (Bug#2689).
1063
1ff980ae
AS
10642012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1065
1066 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1067 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1068
03988c98
CY
10692012-02-05 Chong Yidong <cyd@gnu.org>
1070
eeb6cc88
CY
1071 * cus-edit.el (custom-variable-value-create): For mismatched
1072 types, show the current value (Bug#7600).
1073
03988c98
CY
1074 * custom.el (defcustom): Doc fix.
1075
f8cdeef0
GM
10762012-02-05 Glenn Morris <rgm@gnu.org>
1077
1078 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1079
0696d255
JB
10802012-02-05 Juanma Barranquero <lekktu@gmail.com>
1081
1082 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1083 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1084 (pp-last-sexp): Use `looking-at-p'.
1085
34c99998
GM
10862012-02-04 Glenn Morris <rgm@gnu.org>
1087
8f05da42
GM
1088 * files.el (revert-buffer):
1089 Doc fix (mention revert-buffer-in-progress-p).
1090
f160676e
GM
1091 * emacs-lisp/ert-x.el (ert-simulate-command):
1092 Check deferred-action-list (which is obsolete) is bound.
1093
c7291ad9
GM
1094 * subr.el (with-wrapper-hook): Doc fixes.
1095
34c99998
GM
1096 * simple.el (filter-buffer-substring-functions)
1097 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1098
6283a7d3
LL
10992012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1100
1101 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1102 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1103
e96e3013
LL
11042012-02-04 Leo Liu <sdl.web@gmail.com>
1105
1106 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1107
8ded50f2
GM
11082012-02-04 Glenn Morris <rgm@gnu.org>
1109
82ff1d13
GM
1110 * image.el (image-extension-data): Add obsolete alias.
1111
987a0a16
GM
1112 * isearch.el (isearch-update): Doc fix.
1113
ea32ef46
GM
1114 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1115
8ded50f2
GM
1116 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1117
eea14f31
GM
11182012-02-03 Glenn Morris <rgm@gnu.org>
1119
1120 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1121 (image-animate-timeout): Doc fix.
1122
1123 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1124
12f381b7
GM
11252012-02-02 Glenn Morris <rgm@gnu.org>
1126
953cebf5
GM
1127 * server.el (server-auth-dir): Doc fix.
1128 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1129
12f381b7
GM
1130 * subr.el (run-mode-hooks): Doc fix.
1131
953a8c3b
JL
11322012-02-02 Juri Linkov <juri@jurta.org>
1133
1134 * image-mode.el (image-toggle-display-image): Remove tautological
1135 `major-mode' from the `derived-mode-p' test.
1136
c5d3843c
KH
11372012-02-02 Kenichi Handa <handa@m17n.org>
1138
9f6e692e 1139 * composite.el (compose-region): Cancel previous change.
c5d3843c 1140
159462d4 11412012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1142
1143 * composite.el (compose-region, compose-string): Signal error for
1144 a null string component (Bug#6988).
1145
9f562668
CY
11462012-02-01 Chong Yidong <cyd@gnu.org>
1147
e2cef717
CY
1148 * view.el (view-buffer-other-window, view-buffer-other-frame):
1149 Handle special modes like view-buffer (Bug#10650).
1150 (view-buffer): Simplify.
1151
9f562668
CY
1152 * frame.el (set-frame-font): Tweak meaning of third argument.
1153
9f6e692e
JB
1154 * dynamic-setting.el (font-setting-change-default-font):
1155 Use set-frame-font (Bug#9982).
9f562668 1156
781acb9f
GM
11572012-02-01 Glenn Morris <rgm@gnu.org>
1158
6035be52
GM
1159 * progmodes/compile.el (compilation-internal-error-properties):
1160 Respect compilation-first-column in the "*compilation*" buffer.
1161
781acb9f
GM
1162 * emacs-lisp/easy-mmode.el (define-minor-mode):
1163 Relax :variable's test for a named function.
1164
abbceb00
AM
11652012-01-31 Alan Mackenzie <acm@muc.de>
1166
1167 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1168 off by one error.
1169
fce3fdeb
CY
11702012-01-31 Chong Yidong <cyd@gnu.org>
1171
1172 * frame.el (set-frame-font): New arg ALL-FRAMES.
1173
1174 * menu-bar.el (menu-set-font): Use set-frame-font.
1175
1176 * faces.el (face-spec-reset-face): Don't apply unspecified
1177 attribute values to the default face.
1178
47893581
JB
11792012-01-31 Juanma Barranquero <lekktu@gmail.com>
1180
1181 * progmodes/cwarn.el (cwarn): Remove dead link.
1182 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1183 Remove * from defcustom docstrings.
1184 (turn-on-cwarn-mode): Make obsolete.
1185 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1186 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1187
e58e988a
GM
11882012-01-31 Glenn Morris <rgm@gnu.org>
1189
60dc2671 1190 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1191 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1192 Allow named functions to be used as the cdr of :variable.
e58e988a 1193
7a3f511d
GM
11942012-01-30 Glenn Morris <rgm@gnu.org>
1195
1196 * emacs-lisp/authors.el (authors-fixed-entries):
1197 Remove reference to deleted file rnewspost.el.
1198
cb882333
JB
11992012-01-29 Juanma Barranquero <lekktu@gmail.com>
1200
1201 * window.el (window-with-parameter): Remove unused variable `windows'.
1202 (window--side-check): Remove unused variable `code'.
1203 (window--resize-siblings): Remove unused variable `first'.
1204 (adjust-window-trailing-edge): Remove unused variable `failed'.
1205 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1206 Use `let', not `let*'.
1207 (balance-windows-2): Remove unused variable `found'.
1208 (window--state-put-2): Remove unused variable `splits'.
1209 (window-state-put): Remove unused variable `selected'.
1210 (same-window-p): Use `string-match-p'.
1211 (display-buffer-assq-regexp): Remove unused variable `value'.
1212 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1213 Mark argument ALIST as ignored.
1214 (pop-to-buffer): Remove unused variable `old-window'.
1215
907201af
EZ
12162012-01-29 Eli Zaretskii <eliz@gnu.org>
1217
1218 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1219 and .lzma compressed files.
1220
ea162670
CY
12212012-01-29 Chong Yidong <cyd@gnu.org>
1222
5b95ee8a
CY
1223 * frame.el (window-system-default-frame-alist): Doc fix.
1224
ea162670
CY
1225 * dynamic-setting.el (font-setting-change-default-font): Don't
1226 change the default face if SET-FONT argument is non-nil (Bug#9982).
1227
d6e6f4b1
SB
12282012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1229
1230 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1231
0f29fa41 12322012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1233
1234 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1235 breakpoints in files outside current directory (Bug#6098).
1236
db174434
CY
12372012-01-29 Chong Yidong <cyd@gnu.org>
1238
6b25e4e2
SE
1239 * progmodes/python.el: Require ansi-color at top-level.
1240
6df6ae42
JB
1241 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1242 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1243 (lisp-mode-abbrev-table): Add doc.
1244 (lisp-mode-variables): Don't set local-abbrev-table.
1245 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1246
e70ee681
RW
12472012-01-28 Roland Winkler <winkler@gnu.org>
1248
1249 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1250
ace88aa2
RW
12512012-01-28 Roland Winkler <winkler@gnu.org>
1252
1253 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1254 (bibtex-set-dialect): Use it. Either set global values of
1255 dialect-dependent variables or bind these variables buffer-locally
1256 (Bug#10254).
1257 (bibtex-mode): Call bibtex-set-dialect via
1258 hack-local-variables-hook.
eb864a71
LM
1259 (bibtex-dialect): Update docstring.
1260 Add safe-local-variable predicate.
ace88aa2
RW
1261 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1262 bibtex-set-dialect.
1263 (bibtex-mode-map): Define menu for each dialect.
1264 (bibtex-entry): Fix docstring.
1265
93376c5b
CY
12662012-01-28 Chong Yidong <cyd@gnu.org>
1267
1268 * eshell/esh-arg.el (eshell-quote-argument): New function.
1269
1270 * eshell/esh-ext.el (eshell-invoke-batch-file):
1271 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1272 first arg to eshell-parse-command (Bug#10523).
1273
4372494f
DA
12742012-01-28 Drew Adams <drew.adams@oracle.com>
1275
1276 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1277 `default-directory' is non-nil.
1278
4d4ec1f8
EZ
12792012-01-28 Eli Zaretskii <eliz@gnu.org>
1280
1281 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1282 line that displays system-configuration-options. (Bug#9924)
1283
7c188927
DA
12842012-01-28 Drew Adams <drew.adams@oracle.com>
1285
1286 * descr-text.el (describe-char): Show information about POS, in
1287 addition to information about the character at POS. Improve and
1288 update the doc string. Change "code point" to "code point in
1289 charset", to avoid confusion with the character's Unicode code
1290 point shown above that. (Bug#10129)
1291
e0da685a
EZ
12922012-01-28 Eli Zaretskii <eliz@gnu.org>
1293
1294 * descr-text.el (describe-char): Show the raw character, not only
1295 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1296 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1297 for the reasons.
1298
70550acf
PH
12992012-01-28 Phil Hagelberg <phil@hagelb.org>
1300
eb864a71
LM
1301 * emacs-lisp/package.el (package-install):
1302 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1303
0ce8e868
CY
13042012-01-28 Chong Yidong <cyd@gnu.org>
1305
cb882333
JB
1306 * emacs-lisp/package.el (package-maybe-load-descriptor):
1307 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1308 (package-maybe-load-descriptor): Use it.
1309 (package-download-transaction): Fully load required packages
1310 inside the loop, so that `require' calls work (Bug#10593).
1311 (package-install): No need to call package-initialize now.
1312
2e7f3bea
CY
13132012-01-28 Chong Yidong <cyd@gnu.org>
1314
6e9bad14
CY
1315 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1316
f823b8ca
CY
1317 * tooltip.el (tooltip-mode): Doc fix.
1318 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1319
2680c309
CY
1320 * frame.el (set-cursor-color): Doc fix (Bug#352).
1321
d7a9e63b
CY
1322 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1323 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1324
2e7f3bea
CY
1325 * cus-edit.el (custom-buffer-create-internal): Fix search button
1326 action (Bug#10542).
2ae01800 1327 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1328
fc4f7a23
EW
13292012-01-27 Eduard Wiebe <usenet@pusto.de>
1330
1331 * dired.el (dired-mark-files-regexp):
1332 Include any subdirectory components. (Bug#10445)
1333
7dd37071
ML
13342012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1335
1336 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1337 Handle [host]:port syntax. (Bug#10533)
1338
a268160b
AH
13392012-01-27 Alex Harsanyi <harsanyi@mac.com>
1340
1341 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1342
e43273ef
GM
13432012-01-26 Glenn Morris <rgm@gnu.org>
1344
1345 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1346 * term.el (term-raw-escape-map): Use Control-X-prefix.
1347 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1348
1edf595d
MR
13492012-01-25 Martin Rudalics <rudalics@gmx.at>
1350
1351 * window.el (window-state-get, window--state-get-1): Don't deal
1352 with fixed-sizeness of windows. Simplify code.
1353
fa8eafef
JC
13542012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1355
6df6ae42
JB
1356 * window.el (window--state-get-1, window--state-put-2):
1357 Don't save and restore the mark.
fa8eafef 1358
0b21c100
CY
13592012-01-25 Chong Yidong <cyd@gnu.org>
1360
1361 * custom.el (custom-variable-p): Doc fix.
1362
5ae1a6c8
GM
13632012-01-25 Glenn Morris <rgm@gnu.org>
1364
40047858
GM
1365 * dired.el (dired-goto-file): Handle some of the more common
1366 characters that `ls -b' escapes. (Bug#10596)
1367
5ddce96c
GM
1368 * progmodes/compile.el (compilation-next-error-function):
1369 Respect compilation-first-column in the "*compilation*" buffer.
1370 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1371
5ae1a6c8
GM
1372 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1373
b559f1a9
GM
13742012-01-24 Glenn Morris <rgm@gnu.org>
1375
1376 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1377
6725d21a
JD
13782012-01-24 Julien Danjou <julien@danjou.info>
1379
1380 * color.el (color-rgb-to-hsl): Fix value computing.
1381 (color-hue-to-rgb): New function.
1382 (color-hsl-to-rgb): New function.
1383 (color-clamp, color-saturate-hsl, color-saturate-name)
1384 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1385 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1386
70df4bbe
GM
13872012-01-24 Glenn Morris <rgm@gnu.org>
1388
1389 * vc/vc-rcs.el (vc-rcs-create-tag):
1390 * vc/vc-sccs.el (vc-sccs-create-tag):
1391 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1392
802a2ae2
ML
13932012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1394
1395 * eshell/esh-util.el (eshell-read-hosts-file):
1396 Skip comment lines. (Bug#10549)
1397
d7128bb1
ML
1398 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1399
d1a5c3b4
JB
14002012-01-23 Juanma Barranquero <lekktu@gmail.com>
1401
2724d9c7
JB
1402 * subr.el (display-delayed-warnings): Doc fix.
1403 (collapse-delayed-warnings): New function to collapse identical
1404 adjacent warnings.
1405 (delayed-warnings-hook): Add it.
d1a5c3b4 1406
a5509865
MA
14072012-01-22 Michael Albinus <michael.albinus@gmx.de>
1408
1409 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1410
1411 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1412 properties, when "login-as" is set.
1413
1414 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1415 (tramp-default-user-alist): Don't add "pscp".
1416 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1417 property "login-as", if set. (Bug#10530)
1418
cc6d5805
MA
14192012-01-21 Michael Albinus <michael.albinus@gmx.de>
1420
1421 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1422 "plink1" and "psftp". (Bug#10530)
1423
14242012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1425
1426 * international/mule-cmds.el (prefer-coding-system): Show a
1427 warning message if the default value of file-name-coding-system
1428 was not changed.
1429
f0960428
JC
14302012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1431
cb882333
JB
1432 * windmove.el (windmove-reference-loc):
1433 Fix windmove-reference-loc miscalculation.
f0960428 1434
dd6f2a63
JB
14352012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1436
1437 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1438 default unit.
1439
7b447e9b
GM
14402012-01-21 Glenn Morris <rgm@gnu.org>
1441
117a9ea1
GM
1442 * international/mule.el (auto-coding-alist): Add .tbz.
1443
7b447e9b
GM
1444 * files.el (local-enable-local-variables): Doc fix.
1445 (inhibit-local-variables-regexps): Rename from
1446 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1447 Doc fix. Add some extensions from auto-coding-alist.
1448 (inhibit-local-variables-suffixes):
1449 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1450 (inhibit-local-variables-p):
1451 New function, extracted from set-auto-mode-1.
1452 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1453 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1454 (hack-local-variables): Doc fix. Make the mode-only case
1455 respect enable-local-variables and friends.
1456 Respect inhibit-local-variables-regexps for file-locals, but
1457 not for directory-locals.
1458 (set-visited-file-name):
1459 Take account of inhibit-local-variables-regexps.
1460 Whether it applies may change as the file name is changed.
1461 * jka-cmpr-hook.el (jka-compr-install):
1462 * jka-compr.el (jka-compr-uninstall):
1463 Update for inhibit-first-line-modes-suffixes name change.
1464
dd6e3cdd
MR
14652012-01-20 Martin Rudalics <rudalics@gmx.at>
1466
1467 * help-macro.el (make-help-screen): Temporarily restore original
1468 binding for minor-mode-map-alist (Bug#10454).
1469
0d0deb38
JD
14702012-01-19 Julien Danjou <julien@danjou.info>
1471
1472 * color.el (color-name-to-rgb): Use the white color to find the max
1473 color component value and return correctly computed values.
1474 (color-name-to-rgb): Add missing float conversion for max value.
1475
34a02f46
MR
14762012-01-19 Martin Rudalics <rudalics@gmx.at>
1477
1478 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1479 special state value for window-persistent-parameters.
1480 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1481 (window--state-put-2): Reset all window parameters to nil before
1482 assigning values of persistent parameters.
1483
606c44c4
AM
14842012-01-18 Alan Mackenzie <acm@muc.de>
1485
1486 Eliminate sluggishness and hangs in fontification of "semicolon
1487 deserts".
1488
cb882333
JB
1489 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1490 Change value 10000 -> 3000.
606c44c4
AM
1491 (c-state-safe-place): Reformulate so it doesn't stack up an
1492 infinite number of wrong entries in c-state-nonlit-pos-cache.
1493 (c-determine-limit-get-base, c-determine-limit): New functions to
1494 determine backward search limits disregarding literals.
1495 (c-find-decl-spots): Amend commenting.
1496 (c-cheap-inside-bracelist-p): New function which detects "={".
1497
1498 * progmodes/cc-fonts.el
1499 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1500 backward search.
1501 (c-font-lock-declarations): Fix an occurrence of point being
1502 undefined. Check additionally for point being in a bracelist or
1503 near a macro invocation without a semicolon so as to avoid a
1504 fruitless time consuming search for a declarator. Give a more
1505 precise search limit for declarators using the new
1506 c-determine-limit.
1507
f3860cea
GM
15082012-01-18 Glenn Morris <rgm@gnu.org>
1509
1510 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1511 (set-auto-mode): Doc fixes.
1512
1db03b16
GM
15132012-01-17 Glenn Morris <rgm@gnu.org>
1514
0e6038be
GM
1515 * isearch.el (search-nonincremental-instead): Fix doc typo.
1516
1db03b16
GM
1517 * dired.el (dired-insert-directory): Handle newlines in directory name.
1518 (dired-build-subdir-alist): Unescape newlines in directory name.
1519
4cb0aa75
MA
15202012-01-17 Michael Albinus <michael.albinus@gmx.de>
1521
1522 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1523 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1524 (tramp-action-terminal): Use it. (Bug#10530)
1525
1d00653d
SM
15262012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1529
6a6ee00d
MR
15302012-01-16 Martin Rudalics <rudalics@gmx.at>
1531
1532 * window.el (window-state-ignored-parameters): Remove variable.
1533 (window--state-get-1): Rename argument MARKERS to IGNORE.
1534 Handle persistent window parameters. Make copy of clone-of
1535 parameter only if requested. (Bug#10348)
1536 (window--state-put-2): Install a window parameter only if it has
1537 a non-nil value or an existing parameter shall be overwritten.
1538
97912def
MA
15392012-01-15 Michael Albinus <michael.albinus@gmx.de>
1540
1541 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1542
688070a5
EZ
15432012-01-14 Eli Zaretskii <eliz@gnu.org>
1544
1545 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1546 don't pass the (nil) value of `upnode' to string-match.
1547
301afadc
CY
15482012-01-14 Chong Yidong <cyd@gnu.org>
1549
1550 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1551 Fix values recognized by the cursorBlink resource.
301afadc 1552
9e5788aa
PE
15532012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1554
1555 * epg.el (epg--make-temp-file): Avoid permission race condition
1556 when running on old Emacs versions (bug#10403).
1557
3cdb7f5a
GM
15582012-01-14 Glenn Morris <rgm@gnu.org>
1559
1560 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1561
8c82b1b4
AM
15622012-01-13 Alan Mackenzie <acm@muc.de>
1563
1564 Fix filling for when filladapt mode is enabled.
1565
1566 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1567 c-mask-paragraph, pass in `fill-paragraph' rather than
1568 `fill-region-as-paragraph'. (This is a reversion of a previous
1569 change.)
eb864a71
LM
1570 * progmodes/cc-mode.el (c-basic-common-init):
1571 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1572
e517eda4
GM
15732012-01-13 Glenn Morris <rgm@gnu.org>
1574
1498536e
GM
1575 * dired.el (dired-switches-escape-p): New function.
1576 (dired-insert-directory): Use dired-switches-escape-p.
1577 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1578
e517eda4
GM
1579 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1580
328f984d
GM
15812012-01-12 Glenn Morris <rgm@gnu.org>
1582
1583 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1584 changes in adaptive-fill-regexp. (Bug#10276)
1585
2cc769a8
AM
15862012-01-11 Alan Mackenzie <acm@muc.de>
1587
1588 Fix Emacs bug #10463 - put `widen's around the critical spots.
1589
1d00653d 1590 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1591 widen around each invocation of c-state-pp-to-literal. Remove an
1592 unused let variable.
1593
e52c37fa
GM
15942012-01-11 Glenn Morris <rgm@gnu.org>
1595
1596 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1597 Doc fix.
e52c37fa 1598
96f8741e
CY
15992012-01-10 Chong Yidong <cyd@gnu.org>
1600
1d00653d
SM
1601 * net/network-stream.el (network-stream-open-starttls):
1602 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1603 response to the capability command.
1604
b09a806e
GM
16052012-01-10 Glenn Morris <rgm@gnu.org>
1606
1607 * mail/unrmail.el (unrmail): Tweak previous change.
1608
7655cb66
CY
16092012-01-09 Chong Yidong <cyd@gnu.org>
1610
1611 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1612
9d5a8f0b
AM
16132012-01-08 Alan Mackenzie <acm@muc.de>
1614
1615 Optimise font locking in long enum definitions.
1616
1617 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1618 arm to a cond form to handle enums.
1619 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1620 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1621
9a0115ab 16222012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1623
1624 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1625 (Bug#10401)
6bb72cbd 1626
f186bb95
LMI
16272012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1628
29232a68
LMI
1629 * faces.el (set-face-attribute): Clarify the meaning of the nil
1630 frame (bug#10294).
1631
4e5d086d
LMI
1632 * subr.el (with-selected-frame): Mention that the selected frame
1633 is restored (bug#9980).
1634
8e66aebe
LMI
1635 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1636 (bug#9759).
1637
cd394be1 1638 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1639 (password-read): Don't autoload unused function.
1640
adf4e762
JB
16412012-01-07 Juanma Barranquero <lekktu@gmail.com>
1642
1643 * progmodes/which-func.el (which-func-mode): Turn into a
1644 non-interactive function and mark as obsolete (bug#10428).
1645
89bd9ccd
CY
16462012-01-06 Chong Yidong <cyd@gnu.org>
1647
1648 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1649 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1650 functions, along with 1 and -1.
1651
4afee9d5
EZ
16522012-01-06 Eli Zaretskii <eliz@gnu.org>
1653
1654 * time.el (display-time-load-average)
1655 (display-time-default-load-average): Doc fixes. See the thread
1656 starting at
1657 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1658 for the details.
1659
536aea70
GM
16602012-01-06 Glenn Morris <rgm@gnu.org>
1661
665ae865
GM
1662 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1663 has no messages. (Bug#10377)
1664
c869783d
GM
1665 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1666 than Info-edit. (Bug#10385)
1667
2bb4227e
GM
1668 * time.el (display-time-load-average, display-time-next-load-average):
1669 Doc fixes.
1670
7d5944b9
GM
1671 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1672 local setting of buffer-read-only to the input buffer. (Bug#10419)
1673
536aea70
GM
1674 * calendar/calendar.el (calendar-mode):
1675 Locally set scroll-margin to 0. (Bug#10379)
1676
7dccca16
UM
16772012-01-06 Ulrich Mueller <ulm@gentoo.org>
1678
1679 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1680
afbb7930
GM
16812012-01-05 Glenn Morris <rgm@gnu.org>
1682
1683 * eshell/em-unix.el (diff-no-select): Autoload it.
1684 (eshell/diff): Use diff-no-select. (Bug#10420)
1685
04482335
CY
16862012-01-05 Chong Yidong <cyd@gnu.org>
1687
7baca3bc
CY
1688 * shell.el (shell-dynamic-complete-functions): Revert last change.
1689 (shell-command-completion-function): New function.
1690 (shell-completion-vars): Use it to implement
1691 shell-completion-execonly (Bug#10417).
1692
04482335
CY
1693 * custom.el (enable-theme): Don't set custom-safe-themes.
1694
1d00653d
SM
1695 * cus-theme.el (custom-theme-merge-theme):
1696 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1697
bb5aa5d6
MM
16982012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1699
1700 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1701 first prompt in `sql-interacive-mode'.
1702 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1703 keywords.
6df6ae42 1704 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1705 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1706 context of original buffer. Invoke `sql-login-hook'.
1707
a7183d7c
EZ
17082012-01-04 Eli Zaretskii <eliz@gnu.org>
1709
1710 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1711 letters in cite-prefix.
1712
a1eacd1e
LMI
17132012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1714
1715 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1716
787cdb34
CY
17172012-01-03 Chong Yidong <cyd@gnu.org>
1718
1d00653d
SM
1719 * shell.el (shell-dynamic-complete-functions):
1720 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1721 comint-filename-completion first (Bug#10417).
1722
30710442
RS
17232012-01-02 Richard Stallman <rms@gnu.org>
1724
1725 * battery.el (battery-status-function):
1726 Detect when to use battery-yeeloong-sysfs.
1727 (battery-echo-area-format): Add string for Yeeloong.
1728 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1729 (battery-yeeloong-sysfs): New function.
1730
f75bfc33
CY
17312012-01-02 Chong Yidong <cyd@gnu.org>
1732
1733 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1734 (dirtrack): Merge code for handling relative filenames in prompt
1735 from shell-dir-cookie-watcher.
1736 (dirtrack-debug-message): New arg to avoid excess format calls.
1737
1738 * shell.el (shell-dir-cookie-re): Variable deleted.
1739 (shell-dir-cookie-watcher): Function deleted.
1740 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1741 with dirtrack-mode.
1742
651e947e
EZ
17432012-01-01 Eli Zaretskii <eliz@gnu.org>
1744
1d00653d
SM
1745 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1746 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1747 libgnutls-26.dll.
1748
94d4c7dc
AS
17492011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1750
1751 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1752
8d43f3cd
EZ
17532011-12-31 Eli Zaretskii <eliz@gnu.org>
1754
1755 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1756 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1757
98c8795a
MA
17582011-12-29 Michael Albinus <michael.albinus@gmx.de>
1759
1760 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1761 also for alternative shells.
1762 (tramp-open-connection-setup-interactive-shell): Check, whether
1763 the shell is a busybox.
1764 (tramp-send-command): Don't suppress multiple prompts for
1765 busyboxes, it hurts.
1766
51281b32
CY
17672011-12-28 Chong Yidong <cyd@gnu.org>
1768
1769 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1770 (gdb-get-source-file): Move mode line update to
1771 gdb-get-source-file (Bug#10087).
1772
2170cb53
CY
17732011-12-25 Chong Yidong <cyd@gnu.org>
1774
1775 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1776 gud-gdb-marker-filter without taking it as an argument.
1777 (gud-gdb-run-command-fetch-lines): Caller changed.
1778 (gud-gdb-completion-function): New variable.
1779 (gud-gdb-completion-at-point): Use it.
1780 (gud-gdb-completions-1): Split from gud-gdb-completions.
1781
1782 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1783 function as separate arguments.
1784 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1785 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1786 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1787 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1788 (gdb-stopped, def-gdb-auto-update-trigger)
1789 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1790 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1791 Callers changed.
2170cb53
CY
1792 (gud-gdbmi-completions): New function.
1793 (gdb): Use it for generating the completion table.
1794
be8b11bb
AM
17952011-12-24 Alan Mackenzie <acm@muc.de>
1796
1797 Introduce a mechanism to widen the region used in context font
1d00653d 1798 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1799
1d00653d
SM
1800 * progmodes/cc-langs.el (c-before-font-lock-functions):
1801 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1802 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1803 functions to be run just before context (etc.) font locking.
1804
1805 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1806 New, functionality extracted from
be8b11bb 1807 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1808 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1809 (c-after-change): Set c-in-after-change-fontification.
1810 (c-set-fl-decl-start): Rejig its interface, so it can be called
1811 from both after-change and context fontifying.
b81d40f0
JB
1812 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1813 New functions.
1814 (c-standard-font-lock-fontify-region-function): New variable.
1815 (c-font-lock-fontify-region): New function.
be8b11bb 1816
341cf6ac
JL
18172011-12-24 Juri Linkov <juri@jurta.org>
1818
1819 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1820 (Bug#10348)
1821
bffcee0a
MA
18222011-12-23 Michael Albinus <michael.albinus@gmx.de>
1823
1824 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1825 existence of source file. (Bug#10325)
1826
cb5e207c
AM
18272011-12-23 Alan Mackenzie <acm@muc.de>
1828
1829 Fix unstable fontification inside templates.
1830
b81d40f0
JB
1831 * progmodes/cc-langs.el (c-before-font-lock-functions):
1832 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1833 additionally has c-set-fl-decl-start. The other languages (apart
1834 from AWK) have that as a single entry.
1835
b81d40f0
JB
1836 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1837 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1838 c-set-fl-decl-start.
1839
b81d40f0
JB
1840 * progmodes/cc-mode.el (c-common-init, c-after-change):
1841 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1842 (c-set-fl-decl-start): New function, extracted from
1843 c-font-lock-enclosing-decls and enhanced.
1844
60ff536c
JB
18452011-12-23 Juanma Barranquero <lekktu@gmail.com>
1846
1847 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1848
1c4757d6
JL
18492011-12-22 Juri Linkov <juri@jurta.org>
1850
1851 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1852
d031f2c7
CY
18532011-12-22 Chong Yidong <cyd@gnu.org>
1854
1855 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1856
bace743a
DA
18572011-12-21 Drew Adams <drew.adams@oracle.com>
1858
1859 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1860
728a1f2b
JC
18612011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1862
1863 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1864
0d373f73
TZ
18652011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1866
fec0aaa4
TZ
1867 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1868 highlighting and support. Fix up comments for capitalization.
1869 (cfengine-mode-debug): New var.
1870 (cfengine3-mode): Change the modeline indicator to "CFE3".
1871 (cfengine3-font-lock-keywords): Improve defun highlighting.
1872 (cfengine2-actions): Rename from `cfengine-actions'.
1873 (cfengine2-font-lock-keywords): Rename from
1874 `cfengine-font-lock-keywords'.
1875 (cfengine2-imenu-expression): Rename from
1876 `cfengine-imenu-expression'.
1877 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1878 (cfengine2-beginning-of-defun): Rename from
1879 `cfengine-beginning-of-defun'.
1880 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1881 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1882 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1883 modeline indicator to "CFE2".
1884 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1885 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 1886
bc86f573
CY
18872011-12-21 Chong Yidong <cyd@gnu.org>
1888
1889 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1890 filename argument.
1891
d45ba96b
MR
18922011-12-20 Martin Rudalics <rudalics@gmx.at>
1893
1894 * window.el (window-normalize-buffer-to-display): Remove.
1895 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1896
a6198c90
CY
18972011-12-19 Chong Yidong <cyd@gnu.org>
1898
1899 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1900 Don't signal an error in a predicate function; return non-nil.
1901 (vc-dir-mark-file): Move the error here.
1902 (vc-dir-mark-unmark): If acting on the region, keep going if one
1903 of the entries cannot be marked/unmarked.
1904 (vc-dir-mark-all-files): If current entry is a directory, mark
1905 only child files, as documented.
1906
34c5fb55
VB
19072011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
1908
1909 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1910 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1911 addition.
1912
c803b2b7
JD
19132011-12-18 Jan Djärv <jan.h.d@swipnet.se>
1914
1915 * term/ns-win.el (ns-get-selection-internal)
1916 (ns-store-selection-internal): Declare.
1154d12e
JB
1917 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1918 Declare as obsolete.
1919 (ns-get-pasteboard, ns-paste-secondary):
1920 Use ns-get-selection-internal.
1921 (ns-set-pasteboard, ns-copy-including-secondary):
1922 Use ns-store-selection-internal.
c803b2b7 1923
9cff91f8 19242011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
1925
1926 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 1927 (vc-deduce-fileset): Doc fix.
99a289d9 1928
f16c898a
AS
19292011-12-16 Andreas Schwab <schwab@linux-m68k.org>
1930
1931 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1932
763237c4
SS
19332011-12-13 Sam Steingold <sds@gnu.org>
1934
1935 * man.el (Man-getpage-in-background): When running under a
1936 window-system, ignore $MANWIDTH and $COLUMNS.
1937
5fc1c122
KH
19382011-12-15 Kenichi Handa <handa@m17n.org>
1939
1940 * language/ethio-util.el: Change coding tag to utf-8-emacs.
1941 (setup-ethiopic-environment-internal): Comment out key-binding for
1942 ethio-toggle-punctuation.
1943
13d49cbb
AM
19442011-12-13 Alan Mackenzie <acm@muc.de>
1945
898169a2
AM
1946 Add the switch statement to AWK Mode.
1947
7a71b18d 1948 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
1949 "default" to the keywords regexp.
1950
7a71b18d 1951 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 1952 expression as the rest.
1d00653d
SM
1953 (c-nonlabel-token-key): Allow string literals for AWK.
1954 Refactor for the other modes.
898169a2 1955
13d49cbb 1956 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 1957 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
1958 routines. Limit backward searching in c-font-lock-enclosing.decl.
1959
1960 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1961 pp-state and literal type in addition to the limits.
1d00653d 1962 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 1963 (c-state-literal-at): Use the above new defun.
1d00653d
SM
1964 (c-slow-in-literal, c-fast-in-literal): Remove.
1965 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
1966
1967 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
1968 being in a literal. Add a limit for backward searching.
1969
1970 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
1971 c-slow-in-literal.
1972
15e0efc7
SM
19732011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
1976
454592a6
MR
19772011-12-13 Martin Rudalics <rudalics@gmx.at>
1978
1979 * window.el (delete-other-windows): Use correct frame in call to
1980 window-with-parameter.
1981
87393f26
DP
19822011-12-12 Daniel Pfeiffer <occitan@t-online.de>
1983
1984 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
1985 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
1986 (makefile-gmake-statements, makefile-makepp-statements):
1987 Use it and add new makepp keywords.
1988 (makefile-makepp-font-lock-keywords): Add new patterns.
1989 (makefile-match-function-end): Match new [...] and [[...]].
1990
11636b22
JB
19912011-12-11 Juanma Barranquero <lekktu@gmail.com>
1992
1993 * ses.el (ses-call-printer-return, ses-cell-property-get)
1994 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
1995 (ses-create-cell-variable, ses-reset-header-string)
1996 (ses-cell-set-formula, ses-repair-cell-reference-all)
1997 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
1998 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
1999 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2000 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2001 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2002 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2003 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2004 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2005 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2006 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2007 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2008 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2009
cf018193
VB
20102011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2011
2012 * ses.el: The overall change is to add cell renaming, that is
2013 setting fancy names for cell symbols other than name matching
2014 "\\`[A-Z]+[0-9]+\\'" regexp .
2015 (ses-create-cell-variable): New defun.
2016 (ses-relocate-formula): Relocate formulas only for cells the
2017 symbols of which are not renamed, i.e. symbols whose names do not
2018 match regexp "\\`[A-Z]+[0-9]+\\'".
2019 (ses-relocate-all): Relocate values only for cells the symbols of
2020 which are not renamed.
2021 (ses-load): Create cells variables as the (ses-cell ...) are read,
2022 in order to check row col consistency with cell symbol name only
2023 for cells that are not renamed.
2024 (ses-replace-name-in-formula): New defun.
2025 (ses-rename-cell): New defun.
2026
ee957461
CY
20272011-12-11 Chong Yidong <cyd@gnu.org>
2028
2029 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2030 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2031
9a9e9ef0
MR
20322011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2033
2034 * window.el (other-window): Fix docstring.
2035
92a8eba5
EZ
20362011-12-10 Eli Zaretskii <eliz@gnu.org>
2037
2038 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2039 `from' or `to' address before taking its substring.
2040 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2041 encoded name is chopped in the middle of the encoded string, and
2042 thus displayed encoded.
2043
e152e577
JB
20442011-12-10 Juanma Barranquero <lekktu@gmail.com>
2045
2046 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2047
e5d84bfe
EZ
20482011-12-10 Eli Zaretskii <eliz@gnu.org>
2049
2050 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2051 to use texinfo-update-node and commands that call it if the
2052 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2053 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2054 (texinfo-all-menus-update, texinfo-master-menu)
2055 (texinfo-update-node, texinfo-every-node-update)
2056 (texinfo-multiple-files-update): Doc fix. Warn against updating
2057 all the @node lines.
2058 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2059 argument is numeric. Explain better in the doc string what the
2060 function really does.
2061 (texinfo-insert-master-menu-list): Improve the error message
2062 displayed if there's no menu in the Top node.
2063 (Bug#2975) See also this thread:
e5d84bfe
EZ
2064 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2065
1d84e9bb
MG
20662011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2067
2068 * speedbar.el (speedbar-supported-extension-expressions):
2069 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2070
382c953b
JB
20712011-12-09 Juanma Barranquero <lekktu@gmail.com>
2072
2073 * printing.el (pr-mode-alist):
2074 * simple.el (filter-buffer-substring-functions)
2075 (completion-list-insert-choice-function):
2076 * window.el (window-with-parameter, window-atom-root)
2077 (window-sides-slots, window-size-fixed, window-min-delta)
2078 (window-max-delta, window--resize-mini-window)
2079 (window--resize-child-windows-normal, window-tree)
2080 (delete-other-windows, quit-window, split-window)
2081 (display-buffer-record-window, special-display-buffer-names)
2082 (special-display-regexps, special-display-popup-frame)
2083 (same-window-p, split-window-sensibly)
2084 (display-buffer-overriding-action, display-buffer-alist)
2085 (display-buffer-base-action, display-buffer, switch-to-buffer)
2086 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2087 (fit-window-to-buffer, recenter-positions)
2088 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2089 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2090 and remove unneeded backslashes in docstrings.
2091
39c9faef
SM
20922011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2093
98449af8
SM
2094 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2095
39c9faef
SM
2096 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2097 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2098 end in ".mk".
2099 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2100 when reading the makefile (bug#10116).
2101
86ed9fdc
SM
21022011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2103
2104 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2105 (bug#10116).
2106
5580f89d
GM
21072011-12-06 Glenn Morris <rgm@gnu.org>
2108
2109 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2110
28d3917c
CY
21112011-12-06 Chong Yidong <cyd@gnu.org>
2112
2113 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2114
a98edce9
JB
21152011-12-06 Juanma Barranquero <lekktu@gmail.com>
2116
2117 * textmodes/table.el (table-shorten-cell): Fix typo.
2118
e65adfac
CG
21192011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2120
2121 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2122
71cc0b74
EZ
21232011-12-05 Eli Zaretskii <eliz@gnu.org>
2124
2125 * descr-text.el (describe-char): Fix display of strong
2126 right-to-left characters and directional embeddings and overrides.
2127
2128 * simple.el (what-cursor-position): Fix display of codepoints of
2129 strong right-to-left characters.
2130
315bc30d
CY
21312011-12-05 Chong Yidong <cyd@gnu.org>
2132
2133 * faces.el (read-color): Doc fix.
2134
58a70b94
GM
21352011-12-05 Glenn Morris <rgm@gnu.org>
2136
2137 * align.el (align--set-marker): Add doc-string.
2138 Don't try to move something that is not a marker. (Bug#10216)
2139
5158face
GM
21402011-12-04 Glenn Morris <rgm@gnu.org>
2141
2142 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2143 overly zealous deletion of trailing whitespace.
2144
520fca41
JB
21452011-12-04 Juanma Barranquero <lekktu@gmail.com>
2146
2147 * server.el (server-delete-client): On Windows, do not try to delete
2148 the only terminal.
2149 (server-process-filter): On Windows, treat requests for a tty frame as
2150 if they were for a GUI frame if the running server is in GUI mode.
2151
5e605a2e
GM
21522011-12-03 Glenn Morris <rgm@gnu.org>
2153
2154 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2155
5c3fe83f
SM
21562011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2157
6f5e57e7
SM
2158 * electric.el: Streamline electric-indent's hook.
2159 (electric-indent-chars): Revert to simple list.
2160 (electric-indent-functions): New var.
2161 (electric-indent-post-self-insert-function): Use it.
2162
5c3fe83f
SM
2163 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2164 there's no inferior buffer (bug#10196).
2165 (prolog-consult-compile): Don't use toggle-read-only.
2166
6bdac736
MA
21672011-12-02 Michael Albinus <michael.albinus@gmx.de>
2168
2169 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2170 interrupt. (Bug#10187)
2171
6131ba7f
SM
21722011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2173
99c79fee
SM
2174 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2175 (bug#9160).
2176
6131ba7f
SM
2177 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2178 (bug#10191).
2179
cb0a02ea
JL
21802011-12-02 Juri Linkov <juri@jurta.org>
2181
2182 * info.el (Info-search): Display "end of manual" when Isearch
2183 reaches the end of single-file Info manual. (Bug#9918)
2184
66e0570c
EZ
21852011-12-02 Eli Zaretskii <eliz@gnu.org>
2186
2187 * isearch.el (isearch-message-prefix): Run the input method part
2188 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2189
02b16839
JL
21902011-12-02 Juri Linkov <juri@jurta.org>
2191
2192 * isearch.el (isearch-occur): Use `word-search-regexp' for
2193 `isearch-word'.
2194 (isearch-search-and-update): Add condition for `isearch-word' and
2195 call `word-search-regexp'. (Bug#10145)
2196
0b950688
GM
21972011-12-01 Glenn Morris <rgm@gnu.org>
2198
2199 * eshell/em-hist.el (eshell-hist-initialize):
2200 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2201 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2202
9505c3c7
SM
22032011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2204
2205 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2206
1bbe96b2 22072011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2208
a1beca85
SM
2209 * progmodes/verilog-mode.el (verilog-pretty-expr):
2210 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2211 verilog, such as += *= and the like.
2212 (verilog-assignment-operator-re): Regular expression to find the
2213 assigment operator in a verilog assignment.
2214 (verilog-assignment-operation-re): Regular expression to find an
2215 assignment statement for pretty-expr.
2216 (verilog-in-attribute-p): Query returns true if point is in an
2217 attribute context; used to skip these for expression line up from
2218 pretty-expr.
2219 (verilog-in-parameter-p): Query returns true if point is in an
2220 parameter definition context; used to skip these for expression
2221 line up from pretty-expr.
2222 (verilog-in-parenthesis-p): Query returns true if point is in a
2223 parenthetical expression, specifically ( ) but not [ ] or { };
2224 used by pretty-expr.
2225 (verilog-just-one-space): If there is no space, don't add one.
2226 (verilog-get-lineup-indent-2): Specifically skip just attribute
2227 contexts for expression lineup, rather than skipping all
2228 parenthetical expressions.
2229 (verilog-calculate-indent): Fix comment, and fix indent.
2230 (verilog-do-indent): Indent declarations in lists (suggested by
2231 Joachim Lechner).
2232 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2233 skeleton items.
2234 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2235 by Alain Mellan).
2236
1bbe96b2 22372011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2238
2239 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2240 parameters with embedded comments. Reported by Ray Stevens.
2241 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2242 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2243 Reported by Tim Holt.
2244 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2245 instantiated by upper module causing wrong expansion until AUTOed a
2246 second time. Reported by K C Buckenmaier.
2247 (verilog-diff-auto): Fix showing .* as a difference when
2248 `verilog-auto-star-save' off. Reported by Dan Dever.
2249 (verilog-auto-reset, verilog-read-always-signals)
2250 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2251 temporary signals in reset list if
2252 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2253 style to each signal's assignment type, bug381.
2254 Reported by Thomas Esposito.
6288f0ca
WS
2255 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2256 (verilog-uvm-statement-re): Support UVM indentation and
2257 highlighting, with old OVM keywords only.
a1beca85 2258 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2259 Support AUTOTIEOFF creating non-wire data types.
2260 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2261 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2262 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2263 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2264 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2265 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2266 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2267 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2268 non-numeric vector width. Reported by Alex Reed.
2269 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2270 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2271 (verilog-auto-delete-trailing-whitespace):
2272 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2273 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2274 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2275 Fix verilog-scan-cache corruption when running user AUTO expansion
2276 hooks that call indentation routines.
2277 (verilog-simplify-range-expression): Fix typo ignoring lower case
2278 identifiers.
2279 (verilog-delete-auto): Fix delete-autos to also remove user created
2280 automatics, as long as they start with AUTO.
2281 (verilog-batch-diff-auto, verilog-diff-auto)
2282 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2283 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2284 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2285 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2286 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2287 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2288 is disabled and its cache will get corrupt, causing AUTOS not to
2289 expand. Instead use only -quick functions.
2290 (verilog-scan-region): Fix scanning over escaped quotes.
2291 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2292 (verilog-re-search-backward-quick)
2293 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2294 related functions now ignore strings, to fix misparsing of strings
2295 with magic comments embedded in them.
a1beca85
SM
2296 (verilog-read-auto-template):
2297 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2298 Reported by Brad Dobbie.
2299 (verilog-read-auto-template):
2300 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2301 Reported by Brad Dobbie.
6288f0ca
WS
2302 (verilog-auto-inst, verilog-auto-inst-param)
2303 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2304 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2305 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2306 debugging templates without merge conflicts, bug357.
2307 Reported by Brad Dobbie.
2308 (verilog-read-auto-template):
2309 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2310 Reported by Brad Dobbie.
2311 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2312 abbrevs so user won't be asked to save.
2313 (verilog-read-auto-lisp-present): Fix to start at beginning of
2314 buffer in case called outside of verilog-auto.
2315 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2316 to "X-2". Reported by Matthew Myers.
2317 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2318 all inputs from module templates. Reported by Leith Johnson.
2319 (verilog-module-inside-filename-p): Fix locating programs as with
2320 modules.
2321 (verilog-auto-inst-port): Fix vl-width expressions when using
2322 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2323 (verilog-decls-get-regs, verilog-decls-get-signals,
2324 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2325 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2326 verilog-read-decls): Combine reg and wire structures into one var
2327 structure to represent SystemVerilog concepts.
2328 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2329 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2330 (verilog-auto-wire-type, verilog-insert-definition):
2331 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2332 SystemVerilog "logic" keyword instead of "wire"/"reg".
2333 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2334 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2335 ifdef or generate if so there's not a driver conflict).
2336 Reported by Matthew Myers.
2337 (verilog-auto-declare-nettype, verilog-insert-definition):
2338 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2339 `default_nettype none. Reported by Julian Gorfajn.
2340 (verilog-read-always-signals-recurse, verilog-read-decls)
2341 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2342 malformed end statement, bug325. Reported by Joshua Wise and
2343 Andrew Drake.
2344 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2345 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2346 when expanding .* in interfaces, bug320.
2347 Reported by Pierre-David Pfister.
6288f0ca 2348 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2349 name and open parenthesis, bug317.
2350 Reported by Pierre-David Pfister.
6288f0ca
WS
2351 (verilog-simplify-range-expression): Fix simplification of
2352 multiplications inside AUTOWIRE connections, bug303.
2353 (verilog-auto-inst-port): Support parameter expansion in
2354 multidimensional arrays.
2355 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2356 after "assert property". Reported by Julian Gorfajn.
2357 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2358 with multiplication, bug303.
2359 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2360 Reported by Jan Frode Lonnum.
2361
1bbe96b2
GM
23622011-11-30 Juanma Barranquero <lekktu@gmail.com>
2363
2364 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2365 (hfy-shell-file-name, hfy-shell):
2366 * international/fontset.el (x-decompose-font-name): Fix typos.
2367
23682011-11-29 Ken Brown <kbrown@cornell.edu>
2369
2370 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2371 (gdb-version): Remove defvar.
2372 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2373 (gdb-gud-context-command, gdb-non-stop-handler)
2374 (gdb-current-context-command, gdb-stopped): Use it.
2375 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2376 (gdb-non-stop-handler): Don't enable pretty-printing here.
2377 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2378 non-stop mode. Use the following.
2379 (gdb-check-target-async): New defun.
2380 (gud-watch, gdb-stopped): Fix whitespace.
2381 (gdb-get-source-file): Don't try to display the source file if
2382 `gdb-main-file' is nil.
2383
23842011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2385
2386 * align.el: Try to generate fewer markers (bug#10047).
2387 (align--set-marker): New macro.
2388 (align-region): Use it.
2389
c935221f
SM
23902011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2391
2392 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2393
e70b5064
CY
23942011-11-29 Chong Yidong <cyd@gnu.org>
2395
2396 * indent.el (indent-for-tab-command, indent-according-to-mode):
2397 Doc fix.
2398 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2399
f3af92b7
MA
24002011-11-29 Michael Albinus <michael.albinus@gmx.de>
2401
2402 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2403 aware of remote file names. (Bug#10124)
2404
ed472be9
CY
24052011-11-29 Chong Yidong <cyd@gnu.org>
2406
2407 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2408
24510c22
SM
24092011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2410
2411 * files.el (find-file): Don't use force-same-window (bug#10144).
2412 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2413 use pop-to-buffer if the selected window can't be used.
2414 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2415
c60c3703
EZ
24162011-11-28 Eli Zaretskii <eliz@gnu.org>
2417
2418 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2419 special-mode-map.
2420
e95def75
CY
24212011-11-28 Chong Yidong <cyd@gnu.org>
2422
2423 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2424
c3f1c606
NR
24252011-11-27 Nick Roberts <nickrob@snap.net.nz>
2426
2427 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2428 gdb-get-source-file-list on gdb-create-source-file-list.
2429
00db469c
EZ
24302011-11-26 Eli Zaretskii <eliz@gnu.org>
2431
2432 * whitespace.el (whitespace-newline): Use a different foreground
2433 color for 16-color light-background displays.
2434
4ad3bc2a
CY
24352011-11-24 Chong Yidong <cyd@gnu.org>
2436
2437 * window.el (display-buffer--special-action): Doc fix.
2438
e9fce1ac
JB
24392011-11-25 Juanma Barranquero <lekktu@gmail.com>
2440
2441 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2442 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2443 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2444 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2445 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2446 (avl-tree-stack-first):
2447 * emacs-lisp/cconv.el (cconv--analyse-use):
2448 * net/gnutls.el (gnutls-negotiate): Fix typos.
2449
cb825e5d
GM
24502011-11-24 Glenn Morris <rgm@gnu.org>
2451
3adbe224
GM
2452 * lpr.el (lpr-windows-system, lpr-lp-system):
2453 * mail/binhex.el (binhex-begin-line):
2454 * progmodes/grep.el (grep-history, grep-find-history):
2455 * textmodes/flyspell.el:
2456 * vc/pcvs-defs.el (cvs-global-menu):
2457 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2458 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2459 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2460
321decc8
GM
2461 * net/tls.el: Fix case of "GnuTLS".
2462
420b63ad
GM
2463 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2464
cb825e5d
GM
2465 * version.el (emacs-build-system): Give it a doc-string.
2466
a0649f08
JL
24672011-11-24 Juri Linkov <juri@jurta.org>
2468
2469 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2470
c0bc0fd4
GM
24712011-11-24 Glenn Morris <rgm@gnu.org>
2472
2473 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2474 if called on a non-mime message just toggle the headers. (Bug#8006)
2475
20db1522
JB
24762011-11-24 Juanma Barranquero <lekktu@gmail.com>
2477
2478 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2479 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2480 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2481 (allout-rebullet-heading, allout-open-sibtopic)
2482 (allout-toggle-current-subtree-encryption)
2483 (allout-toggle-subtree-encryption, allout-encrypt-string)
2484 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2485 (allout-distinctive-bullets-string, allout-auto-activation):
2486 * window.el (window-normalize-buffer-to-display):
2487 * progmodes/verilog-mode.el (verilog-batch-indent):
2488 * textmodes/bibtex.el (bibtex-field-braces-opt)
2489 (bibtex-field-strings-opt):
2490 * vc/cvs-status.el (cvs-tree-merge):
2491 Fix typos.
2492
7262a87c
MA
24932011-11-23 Michael Albinus <michael.albinus@gmx.de>
2494
2495 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2496 `non-essential' to t, in order to avoid remote connections.
2497
283430a1
EZ
24982011-11-23 Eli Zaretskii <eliz@gnu.org>
2499
a1beca85
SM
2500 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2501 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2502 case-insensitively.
2503
d2992a38
ML
25042011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2505
2506 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2507
50419064
GM
25082011-11-23 Glenn Morris <rgm@gnu.org>
2509
da94eca1
GM
2510 * paths.el (rmail-file-name): Reformat the doc-string so that it
2511 is picked up.
2512
9aac4de2
GM
2513 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2514 (rmail-auto-file): Ignore case in the "special" field names,
2515 as mail-fetch-field does for all others.
2516
8038d2d2
GM
2517 * mail/rmail.el (rmail-forward):
2518 * mail/rmailkwd.el (rmail-set-label):
2519 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2520 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2521
f3fe222a
GM
2522 * mail/rmail.el (rmail-current-message): Doc fix.
2523
50419064
GM
2524 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2525
28109f49
SM
25262011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2529
394c65f1
GM
25302011-11-22 Glenn Morris <rgm@gnu.org>
2531
2532 * mail/rmailmm.el (test-rmail-mime-handler)
2533 (test-rmail-mime-bulk-handler)
2534 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2535
f2a0aa3a
JL
25362011-11-21 Juri Linkov <juri@jurta.org>
2537
1154d12e
JB
2538 * calc/calc.el (calc-read-key-sequence):
2539 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2540
9c34a344
LMI
25412011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2542
2543 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2544 Tell the caller that the next line needs recomputation, even
2545 though it doesn't start a sexp (bug#10094).
2546
f04a3be9
SM
25472011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2548
2549 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2550
7978747f
SM
25512011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2552
f04a3be9
SM
2553 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2554 Use force-same-window.
7978747f 2555
fe7a3057
JB
25562011-11-20 Juanma Barranquero <lekktu@gmail.com>
2557
2558 * descr-text.el (describe-char-unicode-data):
2559 * json.el (json-string-escape):
2560 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2561 (Footnote-unicode, Footnote-style-p):
2562 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2563
24901d61
CY
25642011-11-20 Chong Yidong <cyd@gnu.org>
2565
2566 * window.el (replace-buffer-in-windows): Restore interactive spec.
2567
bac7ff22
SM
25682011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2569
24f3d7b9
SM
2570 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2571
bac7ff22
SM
2572 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2573 (byte-compile-global-not-obsolete-vars): New var.
2574 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2575 Use it.
2576 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2577
cd1181db
JB
25782011-11-20 Juanma Barranquero <lekktu@gmail.com>
2579
2580 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2581 * progmodes/pascal.el (electric-pascal-equal):
2582 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2583 * xml.el (xml-substitute-special): Fix typos.
2584
7fb18e9e
GM
25852011-11-20 Glenn Morris <rgm@gnu.org>
2586
2587 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2588 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2589 Doc fixes.
2590 (rmail-decode-mime-charset): Mark as obsolete.
2591
2592 * mail/rmailsum.el (rmail-message-regexp-p-1):
2593 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2594 Before using mime functions, check they are set. (Bug#10077)
2595
d5a6b3ba
JL
25962011-11-19 Juri Linkov <juri@jurta.org>
2597
2598 * info.el (Info-finder-find-node): Use `package--builtins' instead
2599 of `package-alist'. Use node names formed by the pattern "Keyword "
2600 and the keyword name.
2601
e981b61f
AS
26022011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2603
1d00653d 2604 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2605
3ffbc301
JL
26062011-11-19 Juri Linkov <juri@jurta.org>
2607
2608 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2609 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2610 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2611 `old-history', `old-history-forward'. Add let-binding
2612 `window-selected'. Remove calls to `kill-buffer',
2613 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2614 before calling `Info-find-node', so `Info-find-node-2' will reread
2615 the Info file. Restore window positions only when `window-selected'
2616 is non-nil.
2617
30c62133
JL
26182011-11-19 Juri Linkov <juri@jurta.org>
2619
2620 * isearch.el (isearch-lazy-highlight-new-loop):
2621 Remove condition `(not isearch-error)'. (Bug#9918)
2622
2623 * misearch.el (multi-isearch-search-fun): Add condition
2624 `(not bound)' to ignore lazy-highlighting search.
2625 Add the search-failed message "end of multi" when the end of
2626 multi-sequence is reached. Uncapitalize the search-failed
2627 message "Repeat for next buffer".
2628
2629 * info.el (Info-search): Add the search-failed message
2630 "end of the manual" when the end of the manual is reached
2631 in Isearch mode.
2632
645ca9cf
JL
26332011-11-19 Juri Linkov <juri@jurta.org>
2634
2635 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2636 Use non-destructive `remove' instead of `delete' because
2637 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2638 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2639
df754f66
JL
26402011-11-19 Juri Linkov <juri@jurta.org>
2641
2642 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2643 to nil instead of binding `search-ring' and `regexp-search-ring'.
2644 (Bug#9185)
2645
0e23d96a
EZ
26462011-11-19 Eli Zaretskii <eliz@gnu.org>
2647
2648 * simple.el (line-move): Force movement by logical lines for any
2649 hscrolled window, not only when auto-hscroll-mode is on.
2650 (line-move-visual): Update doc string to that effect. (Bug#10076)
2651
8a6ccb66
AS
26522011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2653
2654 * language/european.el (macintosh): Define as alias for mac-roman.
2655
49ae5b39
EZ
26562011-11-19 Eli Zaretskii <eliz@gnu.org>
2657
2658 * mail/rmailmm.el (rmail-mime-display-header)
2659 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2660 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2661 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2662 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2663 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2664 of a raw aref.
2665 (rmail-mime-entity-segment): To get past the tagline, move forward
2666 2 more lines, to account for the 2 empty lines that precede and
2667 follow the line with the buttons.
2668 (rmail-mime-update-tagline): Move one more line, to get past the
2669 empty line that follows the buttons in the tagline. (Bug#9520)
2670
c56cad4a
MR
26712011-11-19 Martin Rudalics <rudalics@gmx.at>
2672
2673 * window.el (window-max-delta-1, window-min-delta-1)
2674 (window-min-size-1, window-state-get-1, window-state-put-1)
2675 (window-state-put-2): Use "window--" prefix.
2676
cbe71af3
SM
26772011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2678
2ad52c60
SM
2679 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2680 (smie-warning-count): New var.
2681 (smie-set-prec2tab): Use it.
2682 (smie-bnf->prec2): Improve warnings. Add docstring.
2683 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2684 (smie-bnf--set-class): New function.
2685 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2686 corner case.
2687
6944dbc1
SM
2688 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2689 (compilation-error-properties, compilation-move-to-column):
2690 Handle compilation-first-column while in the target buffer.
2691
c400c4d7
SM
2692 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2693 Don't hardcode point-min==1.
2694
6dbe3e96
SM
2695 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2696 (eshell-rewrite-for-command): Remove workaround.
2697 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2698 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2699 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2700
cbe71af3
SM
2701 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2702
a8e1496d
GM
27032011-11-17 Glenn Morris <rgm@gnu.org>
2704
2705 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2706 Ignore buffer-local generated-autoload-file if it is the same
2707 as the global value. (Bug#10049)
2708
df85d315
JB
27092011-11-17 Juanma Barranquero <lekktu@gmail.com>
2710
2711 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2712 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2713 (reftex-toc-previous-heading, reftex-toc-max-level)
2714 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2715 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2716 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2717 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2718 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2719 (reftex-toc-rename-label, reftex-toc-visit-location)
2720 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2721 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2722 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2723 leaving "*toc*" only for references to the buffer.
2724
a0c2d0ae
MR
27252011-11-17 Martin Rudalics <rudalics@gmx.at>
2726
2727 * window.el (window-resize, delete-window, split-window):
2728 Replace window-splits by window-combination-resize.
1d00653d 2729 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2730
35c0bac8
GM
27312011-11-17 Glenn Morris <rgm@gnu.org>
2732
2733 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2734 Make bash entry derive from sh entry, not shell entry.
2735
d0c8fc8a
MA
27362011-11-16 Michael Albinus <michael.albinus@gmx.de>
2737
d0c8fc8a
MA
2738 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2739 properties of linked files. (Bug#9879)
2740
7262a87c
MA
2741 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2742 local file name.
2743
7877f373
JB
27442011-11-16 Juanma Barranquero <lekktu@gmail.com>
2745
2746 * menu-bar.el (menu-bar-file-menu):
2747 * printing.el (pr-ps-utility):
2748 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2749 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2750 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2751 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2752 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2753 (icalendar--convert-cyclic-to-ical)
2754 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2755 (icalendar--convert-ical-to-diary)
2756 (icalendar--convert-recurring-to-diary)
2757 (icalendar--convert-non-recurring-all-day-to-diary)
2758 (icalendar-import-format-sample):
2759 * progmodes/idlw-shell.el (idlwave-shell-mode):
2760 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2761 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2762 (vhdl-ps-print-init): Fix typos.
2763
10649b82
KM
27642011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2765
9d0cfcd6
GM
2766 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2767 FSF and collapse date sequence, obscure author/maintainer email address
2768 better, remove extra version line, track relocation of author's webpage.
10649b82 2769
9d0cfcd6
GM
2770 * progmodes/python.el (python-pdbtrack-input-prompt)
2771 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2772 regular python pdb prompts. Adjustments shamelessly taken exactly as
2773 suggested in EmacsWiki page (tiny change):
2774 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2775
58179cce
JB
27762011-11-16 Juanma Barranquero <lekktu@gmail.com>
2777
2778 * expand.el (expand-pos, expand-index, expand-point):
2779 Remove redundant info from docstring.
2780 (expand-add-abbrevs): Doc fix.
2781 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2782 (expand-sample-perl-mode-expand-list): Fix typos.
2783
2784 * net/dbus.el (dbus-event-member-name):
2785 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2786 * term/pc-win.el (msdos-create-frame-with-faces):
2787 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2788
b6f67890
MR
27892011-11-16 Martin Rudalics <rudalics@gmx.at>
2790
2791 * window.el (split-window, window-state-get-1)
2792 (window-state-put-1, window-state-put-2): Rename occurrences of
2793 window-nest to window-combination-limit.
1d00653d 2794 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2795
ce7ddba0
CY
27962011-11-16 Chong Yidong <cyd@gnu.org>
2797
2798 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2799 regexp (Bug#10033).
2800
3ae704f4
SM
28012011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2802
2803 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2804 `completing-read' will remove *Completions* and will preserve
2805 current-buffer for us.
2806 (tmm-add-prompt): Users of *Completions* will always (re)set its
2807 major mode.
2808 (tmm-old-comp-map): Remove.
2809
6ad1cdde
GM
28102011-11-16 Glenn Morris <rgm@gnu.org>
2811
2812 * mail/rmailedit.el: Require rmailmm when compiling.
2813 (rmail-old-mime-state): New declaration.
2814 (rmail-edit-current-message): If editing a mime message,
2815 edit the "raw" message from the mbox buffer.
2816 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2817
d20faa20
GM
28182011-11-15 Glenn Morris <rgm@gnu.org>
2819
2820 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2821 which wasn't being used. Add optional arg to force given state.
2822 (rmail-mime): Add optional arg to force given state.
2823
c7015153
JB
28242011-11-15 Juanma Barranquero <lekktu@gmail.com>
2825
2826 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2827 * frame.el (display-mm-dimensions-alist):
2828 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2829 (outline-move-subtree-down):
2830 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2831 (newsticker--treeview-do-get-node):
2832 * net/quickurl.el (quickurl-list-buffer-name):
2833 * progmodes/dcl-mode.el (dcl-mode):
2834 * progmodes/gdb-mi.el (gdb-mapcar*):
2835 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2836
45261b50
GM
28372011-11-15 Glenn Morris <rgm@gnu.org>
2838
2839 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2840 in a boolean sense, so just make it a boolean, and fix the doc.
2841 (rmail-show-mime-function, rmail-mime-feature)
2842 (rmail-require-mime-maybe): Doc fixes.
2843 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2844
2845 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2846
0d26e0b6
JB
28472011-11-15 Juanma Barranquero <lekktu@gmail.com>
2848
2849 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2850 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2851 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2852 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2853
447f30f6
GM
28542011-11-15 Glenn Morris <rgm@gnu.org>
2855
672b871d
GM
2856 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2857 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2858 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2859 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2860 (rmail-mime, rmail-show-mime): Doc fixes.
2861
f6aa5bb1
GM
2862 * term/ns-win.el (mode-line-frame-identification):
2863 Leave it alone. (Bug#10051)
2864
947cd66b
GM
2865 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2866
447f30f6
GM
2867 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2868 Handle empty buffers. (Bug#9978)
2869
0b381c7e
JB
28702011-11-14 Juanma Barranquero <lekktu@gmail.com>
2871
2872 * international/mule.el (define-charset):
2873 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2874 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2875 * progmodes/verilog-mode.el (verilog-backward-token):
2876 * textmodes/ispell.el (lookup-words):
2877 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2878
71e027ac
GM
28792011-11-14 Glenn Morris <rgm@gnu.org>
2880
56632ce4
GM
2881 * progmodes/executable.el
2882 (executable-make-buffer-file-executable-if-script-p):
2883 Handle file-modes returning nil.
2884
40500957
GM
2885 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2886 message - not necessary, and causes problems. (Bug#9831)
2887
071c2340
GM
2888 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2889
d3cfca60
GM
2890 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2891
71e027ac
GM
2892 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2893 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
2894 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2895
89d61221
MR
28962011-11-12 Martin Rudalics <rudalics@gmx.at>
2897
2898 * window.el (window-resize, delete-window): Use window-splits
2899 variable instead of function.
2900 (window-state-get-1, window-state-put-2, window-state-put):
2901 Don't deal with windows' splits status.
2902
98282f6f
GM
29032011-11-12 Glenn Morris <rgm@gnu.org>
2904
2905 * apropos.el (apropos-do-all, apropos-library, apropos-value)
2906 (apropos-documentation): Doc fixes.
2907
40a8bdf6
JB
29082011-11-11 Juanma Barranquero <lekktu@gmail.com>
2909
2910 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2911 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2912
65bd19ff
SM
29132011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2914
2915 * electric.el (electric-indent-post-self-insert-function): Make it
2916 possible for a char to only indent in some circumstances.
2917 (electric-indent-mode): Simplify.
2918
54f9154c
MR
29192011-11-11 Martin Rudalics <rudalics@gmx.at>
2920
2921 * window.el (windows-with-parameter): Remove unused function.
2922 (windows-at-side): Rename to window-at-side-list.
2923 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
2924 (window-side-check, window-size-ignore, window-size-fixed-1)
2925 (window-in-direction-2): Prefix with "window--".
2926 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 2927
68cbc58b
GM
29282011-11-11 Glenn Morris <rgm@gnu.org>
2929
2930 * subr.el (eval-after-load): If FILE is already loaded,
2931 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
2932
b2621720
GM
29332011-11-10 Glenn Morris <rgm@gnu.org>
2934
9a4de110
GM
2935 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2936 Call svn via vc-svn-command rather than vc-do-command.
2937 (vc-svn-command): Add --non-interactive. (Bug#9993)
2938 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2939
b2621720
GM
2940 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2941 Add toggle-read-only. (Bug#7292)
2942 * files.el (toggle-read-only): Mention that it should only
2943 be used interactively. (Bug#10006)
2944
1dce7193
SM
29452011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2946
d9ac1a1e
SM
2947 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2948 Adjust regexp for OCaml warnings.
2949
0c325082
SM
2950 * electric.el (electric-pair-post-self-insert-function): Let user
2951 turn it off buffer-locally (bug#9932).
2952
90132c14
SM
2953 * progmodes/python.el (python-beginning-of-statement):
2954 Rewrite (bug#2703).
2955
1dce7193
SM
2956 * progmodes/compile.el: Better handle TABs (bug#9749).
2957 (compilation-internal-error-properties)
2958 (compilation-next-error-function): Obey the target buffer's
2959 compilation-error-screen-columns.
2960
c4e7c63a
JB
29612011-11-09 Juanma Barranquero <lekktu@gmail.com>
2962
2963 * progmodes/meta-mode.el: Remove obsolete comments.
2964 (meta-right-comment-regexp, meta-ignore-comment-regexp):
2965 Fix typos in docstrings.
2966
2cffd681
MR
29672011-11-09 Martin Rudalics <rudalics@gmx.at>
2968
2969 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 2970 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
2971 (window--resizable): New function. Make all callers of
2972 window-resizable call window--resizable instead.
2973 (window-resizable): Rewrite in terms of window--resizable.
2974
0edcba87
GM
29752011-11-08 Glenn Morris <rgm@gnu.org>
2976
2977 * progmodes/delphi.el (delphi-mode-syntax-table):
2978 Let define-derived-mode define a proper syntax table. (Bug#9994)
2979
4b0d61e3
SM
29802011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2981
2982 * window.el: Stay away from defsubst.
2983 (window-list-no-nils): Remove.
2984 (window-state-get-1, window-state-get): Use backquote instead.
2985
cd394be1 29862011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 2987
4b0d61e3 2988 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 2989 Fix incorrect use of default argument in `completing-read'.
2990
e1c2c6f2
MR
29912011-11-08 Martin Rudalics <rudalics@gmx.at>
2992
2993 * window.el (display-buffer-function, special-display-function):
2994 Mention display-buffer-record-window but do not mention
2995 help-setup parameter in doc-strings.
b3f4a882 2996 (window-min-delta): Fix doc-string typo.
e1c2c6f2 2997
105216ed
CY
29982011-11-08 Chong Yidong <cyd@gnu.org>
2999
3000 * window.el (window-total-height, window-total-width): Doc fix.
3001 (window-body-size): Move from C.
3002 (window-body-height, window-body-width): Move to C.
3003
0a9f9ab5
SM
30042011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3005
3006 * window.el: Make special-display like display-buffer-alist (bug#9532).
3007 (display-buffer--special-action): New function, morphed
3008 from display-buffer--special.
3009 (display-buffer): Use it to handle special-display-buffers at higher
3010 priority (just after display-buffer-alist).
3011 (display-buffer-fallback-action, display-buffer--other-frame-action)
3012 (pop-to-buffer-same-window): Remove display-buffer--special.
3013
a769dd15
GM
30142011-11-07 Glenn Morris <rgm@gnu.org>
3015
3016 * calendar/cal-menu.el (cal-menu-set-date-title):
3017 Do nothing if not in a calendar. (Bug#9976)
3018
05a61ee3
SM
30192011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3020
3021 * files.el (find-file): Always use selected-window.
3022
be7f5545
MR
30232011-11-07 Martin Rudalics <rudalics@gmx.at>
3024
3025 * window.el (window-combinations): Make WINDOW argument
3026 mandatory. Rewrite doc-string.
3027 (walk-window-subtree, window-atom-check, window-min-delta)
3028 (window-max-delta, window--resize-this-window)
3029 (window--resize-root-window-vertically, window-tree)
3030 (balance-windows, window-state-put): Rewrite doc-strings as to
3031 not mention the term "subwindow".
3032 (window--resize-subwindows-skip-p): Rename to
3033 window--resize-child-windows-skip-p.
3034 (window--resize-subwindows-normal): Rename to
3035 window--resize-child-windows-normal.
3036 (window--resize-subwindows): Rename to
3037 window--resize-child-windows.
3038 (window-or-subwindow-p): Rename to window--in-subtree-p.
3039
3c6702ef
ML
30402011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3041
3042 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3043 Ensure that mbox format messages end in two newlines (Bug#9974).
3044
49745b39
CY
30452011-11-06 Chong Yidong <cyd@gnu.org>
3046
3047 * window.el (window-combination-p): Function deleted; its
3048 side-effect is not used in any existing code.
3049 (window-combinations, window-combined-p): Call window-*-child
3050 directly.
3051
24300f5f
CY
30522011-11-05 Chong Yidong <cyd@gnu.org>
3053
3054 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3055 (window-size-ignore, window-state-get): Callers changed.
3056 (window-normalize-window): Rename from window-normalize-any-window.
3057 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3058 (window-normalize-live-window): Delete.
447f16b8
CY
3059 (window-combination-p, window-combined-p, window-combinations)
3060 (walk-window-subtree, window-atom-root, window-min-size)
3061 (window-sizable, window-sizable-p, window-size-fixed-p)
3062 (window-min-delta, window-max-delta, window-resizable)
3063 (window-resizable-p, window-full-height-p, window-full-width-p)
3064 (window-current-scroll-bars, window-point-1, set-window-point-1)
3065 (window-at-side-p, window-in-direction, window-resize)
3066 (adjust-window-trailing-edge, maximize-window, minimize-window)
3067 (window-deletable-p, delete-window, delete-other-windows)
3068 (record-window-buffer, unrecord-window-buffer)
3069 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3070 (quit-window, split-window, window-state-put)
3071 (set-window-text-height, fit-window-to-buffer)
3072 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3073
89bd5ee1
EZ
30742011-11-04 Eli Zaretskii <eliz@gnu.org>
3075
53479029
EZ
3076 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3077 rfc2047-decode-string.
3078 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3079 warnings.
3080
89bd5ee1
EZ
3081 * window.el (window-body-height, window-body-width): Mention in
3082 the doc string that the return values are in frame's canonical
3083 units. (Bug#9949)
3084
bd17fdee
AM
30852011-11-03 Alan Mackenzie <acm@muc.de>
3086
3087 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3088 change in cc-engine.el.
3089
acc825c5
SM
30902011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3093
1885e5b8
MR
30942011-11-02 Martin Rudalics <rudalics@gmx.at>
3095
3096 * window.el (quit-window): Call unrecord-window-buffer after
3097 showing another buffer in the window. (Bug#9937)
acc825c5 3098 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3099
ebe06da9
JB
31002011-11-02 Juanma Barranquero <lekktu@gmail.com>
3101
3102 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3103 Accept status with more than 9 shelves. (Bug#9935)
3104 Reported by Colin D Bennett <colin@gibibit.com>.
3105
4ee88440
MR
31062011-11-01 Martin Rudalics <rudalics@gmx.at>
3107
3108 * help.el (with-help-window): Don't reference
3109 temp-buffer-show-specifiers in doc-string.
3110
08e1d82c
AS
31112011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3112
3113 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3114 menu-item.
3115
84bd6e9e
VJL
31162011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3117
3118 * whitespace.el: New version 13.2.2.
3119 (whitespace-newline-mode): Disable properly. Reported by Sarah
3120 <EmacsWiki>.
3121
dba0634a
UJ
31222011-10-30 Ulf Jasper <ulf.jasper@web.de>
3123
3124 * net/newst-treeview.el: Remove "Time-stamp".
3125 (newsticker--group-manage-orphan-feeds): Do not call
3126 newsticker--treeview-tree-update.
db22a3c2
JB
3127 (newsticker-treeview-update, newsticker-treeview):
3128 Call newsticker--treeview-tree-update if necessary.
dba0634a 3129
3d8daefe
MR
31302011-10-30 Martin Rudalics <rudalics@gmx.at>
3131
3132 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3133 (window-iso-combinations): Remove "iso-" infix.
3134 Suggested by Chong Yidong.
3d8daefe
MR
3135 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3136 (window-max-delta-1, window-resize, window--resize-siblings)
3137 (window--resize-this-window, adjust-window-trailing-edge)
3138 (split-window, balance-windows-1)
3139 (shrink-window-if-larger-than-buffer):
3140 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3141 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3142
1bc4c3ae
SM
31432011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3144
3145 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3146 in place (bug#9907).
3147 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3148 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3149 (eshell-structure-basic-command, eshell-rewrite-while-command)
3150 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3151 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3152 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3153 (eshell-do-pipelines-synchronously, eshell-eval-command):
3154 Use backquotes and prefer setq to set.
3155 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3156 (eshell-macrop): Use functionp.
c1e2f5fa 3157 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3158
30b65d9c
CY
31592011-10-30 Chong Yidong <cyd@gnu.org>
3160
3161 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3162 instead of set-mark (Bug#9810).
3163
2d197ffb
CY
31642011-10-30 Chong Yidong <cyd@gnu.org>
3165
3166 * window.el (split-window-below, split-window-right): Rename from
3167 split-window-above-each-other and split-window-side-by-side
3168 respectively. All callers changed.
3169 (split-window-sensibly, split-window-sensibly): Use them.
3170 (split-window-keep-point): Doc fix.
3171
3172 * isearch.el: Add isearch-scroll property to split-window-below
3173 and split-window-right.
3174
3175 * follow.el (follow-mode):
3176 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3177 * progmodes/ada-xref.el (ada-gdb-application):
3178 * emulation/vip.el (vip-buffer-in-two-windows):
3179 * image-dired.el (image-dired-dired-with-window-configuration):
3180 * dired-x.el (dired-do-find-marked-files):
3181 * dired.el (dired-pop-to-buffer):
3182 * bs.el (bs--show-with-configuration):
3183 * vc/emerge.el (emerge-setup-windows):
3184 * textmodes/two-column.el (2C-two-columns):
3185 * textmodes/reftex-toc.el (reftex-toc):
3186 * progmodes/gdb-mi.el (gdb-setup-windows):
3187 * progmodes/fortran.el (fortran-window-create):
3188 * net/newst-treeview.el (newsticker--treeview-window-init):
3189 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3190 * emulation/tpu-edt.el (tpu-gold-map):
3191 * emulation/crisp.el (crisp-mode-map):
3192 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3193
38bb2ca8
CY
31942011-10-29 Chong Yidong <cyd@gnu.org>
3195
aa4de341
CY
3196 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3197
e1eb5385
CY
3198 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3199
5d2ece3c
CY
3200 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3201 forged Ispell output (Bug#7904).
3202
38bb2ca8
CY
3203 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3204
d0af9f77
SM
32052011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3206
3207 * doc-view.el: Avoid ugly errors about not finding nil.
3208 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3209 (doc-view-dvipdf-program, doc-view-unoconv-program)
3210 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3211 Avoid nil or absolute file name as default value.
3212 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3213
52bedd34
AM
32142011-10-28 Alan Mackenzie <acm@muc.de>
3215
db22a3c2 3216 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3217
7e43cfa5
AM
32182011-10-28 Alan Mackenzie <acm@muc.de>
3219
3220 Amend the handling of c-beginning/end-of-defun in nested declaration
3221 scopes.
3222
52bedd34
AM
3223 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3224 cc-langs.el. Change it to a defcustom.
7e43cfa5 3225
52bedd34
AM
3226 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3227 cc-vars.el.
7e43cfa5 3228
d0af9f77
SM
3229 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3230 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3231
52bedd34 3232 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3233 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3234 (c-widen-to-enclosing-decl-scope): New function.
3235 (c-while-widening-to-decl-block): New macro.
3236 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3237 outward for defun boundaries, and correspondingly change symbol
3238 `respect-enclosure' to `go-outward'.
3239 (c-declaration-limits): Change algorithm to report only the "innermost"
3240 defun's boundaries.
3241
1a2ce9ee
DD
32422011-10-28 Deniz Dogan <deniz@dogan.se>
3243
3244 * net/rcirc.el (rcirc-mode): Use hard newlines.
3245
bc97a826
AM
32462011-10-28 Alan Mackenzie <acm@muc.de>
3247
3248 Amend to indent and fontify macros "which include their own semicolon"
3249 correctly, using the "virtual semicolon" mechanism.
3250
52bedd34 3251 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3252
d0af9f77 3253 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3254 Recode to scan one line at a time rather than having \n and \r
58179cce 3255 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3256 (c-forward-label): Amend for virtual semicolons.
58179cce 3257 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3258
52bedd34
AM
3259 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3260 of the new C macros.
bc97a826 3261
52bedd34 3262 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3263 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3264 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3265 (c-opt-cpp-macro-define): Make into a full language variable.
3266 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3267 AWK Mode (including \n, \r) removed, no longer needed.
3268
d0af9f77
SM
3269 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3270 Invoke c-make-macro-with-semi-re.
bc97a826 3271
52bedd34
AM
3272 * progmodes/cc-vars.el (c-macro-with-semi-re):
3273 (c-macro-names-with-semicolon): New variables.
58179cce 3274 (c-make-macro-with-semi-re): New function.
bc97a826 3275
7a6c0941
SM
32762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * vc/log-edit.el: Fill empty field rather than adding new one.
3279 (log-edit-add-field): New function.
3280 (log-edit-insert-changelog): Use it.
3281
b0c4cdcf
ML
32822011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3283
3284 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3285
ee1f1da9
SM
32862011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3287
3288 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3289 (gdb--check-interpreter): New function.
3290 (gdb): Use it.
3291
51bc5f8b
GM
32922011-10-27 Glenn Morris <rgm@gnu.org>
3293
416a2c45
GM
3294 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3295 (least-positive-float, least-negative-float)
3296 (least-positive-normalized-float, least-negative-normalized-float)
3297 (float-epsilon, float-negative-epsilon):
3298 Remove unnecessary declarations.
3299
3300 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3301 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3302 (least-positive-float, least-negative-float)
3303 (least-positive-normalized-float, least-negative-normalized-float)
3304 (float-epsilon, float-negative-epsilon): Add doc-strings,
3305 based on those in cl.texi.
3306
51bc5f8b
GM
3307 * files.el (set-visited-file-name): If the major-mode changed,
3308 reload the local variables. (Bug#9796)
3309
15de15c6
CY
33102011-10-27 Chong Yidong <cyd@gnu.org>
3311
3312 * subr.el (change-major-mode-after-body-hook): New hook.
3313 (run-mode-hooks): Run it.
3314
ee1f1da9
SM
3315 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3316 Use change-major-mode-before-body-hook.
15de15c6
CY
3317
3318 * simple.el (fundamental-mode):
3319 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3320 change introducing fundamental-mode-hook.
3321
5430d399
JB
33222011-10-26 Juanma Barranquero <lekktu@gmail.com>
3323
acc825c5 3324 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3325
ad74a69e
MA
33262011-10-26 Michael Albinus <michael.albinus@gmx.de>
3327
3328 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3329 tramp.el explicitly. (Bug#7583)
ad74a69e 3330
71d4c2a5
SM
33312011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3332
3333 * progmodes/octave-mod.el:
3334 * progmodes/octave-inf.el: Update maintainer.
3335
b1f6fa26
CY
33362011-10-26 Chong Yidong <cyd@gnu.org>
3337
3338 * subr.el (with-wrapper-hook): Rewrite doc.
3339
3f04efd6
MA
33402011-10-25 Michael Albinus <michael.albinus@gmx.de>
3341
3342 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3343 filenames "/method:foo:". (Bug#9793)
3f04efd6 3344
410488d3
SM
33452011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3348 (bug#9865).
3349
c1ebb47e
GM
33502011-10-24 Glenn Morris <rgm@gnu.org>
3351
3352 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3353
7f5c46c7
MA
33542011-10-24 Michael Albinus <michael.albinus@gmx.de>
3355
3356 * notifications.el: Add the requirement of a running D-Bus session
3357 bus to the Commentary.
3358
db2440b6
JL
33592011-10-24 Juri Linkov <juri@jurta.org>
3360
3361 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3362 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3363 (Bug#9364)
3364
feecf435
JL
33652011-10-24 Juri Linkov <juri@jurta.org>
3366
3367 * info.el (Info-following-node-name-re): Add newline to the list
3368 of allowed characters for leading space. (Bug#9824)
3369
a3839de2
SM
33702011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3371
acc825c5
SM
3372 * progmodes/octave-inf.el (inferior-octave-mode-map):
3373 Fix C-c C-h binding.
a3839de2
SM
3374 * progmodes/octave-mod.el (octave-help): Remove.
3375
09388e76
MA
33762011-10-23 Michael Albinus <michael.albinus@gmx.de>
3377
3378 Sync with Tramp 2.2.3.
3379
3380 * net/tramp-cache.el (top): Pacify byte-compiler using
3381 `init-file-user' and `site-run-file'.
3382
3383 * net/trampver.el: Update release number.
3384
86c60681
CY
33852011-10-23 Chong Yidong <cyd@gnu.org>
3386
3387 * files.el (toggle-read-only): Remove obsolete comment about
3388 version control.
3389
3390 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3391 for toggle-read-only. Note that this hasn't called vc-next-action
3392 since 2008-05-02, though it wasn't documented at the time.
3393
a3839de2
SM
3394 * vc/ediff-init.el (ediff-toggle-read-only-function):
3395 Use toggle-read-only.
86c60681 3396
cd5495ff
AM
33972011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3398
3399 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3400 of c-parse-state.
3401
00b77525 3402 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3403 correct faulty logical expression.
cd5495ff
AM
3404 (c-parse-state-state, c-record-parse-state-state):
3405 (c-replay-parse-state-state): New defvar/defuns.
3406 (c-debug-parse-state): Use new functions.
3407
42ee24ed
MR
34082011-10-22 Martin Rudalics <rudalics@gmx.at>
3409
3410 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3411 last fix. Use window-in-direction correctly.
42ee24ed 3412
a7dee7e7
CY
34132011-10-21 Chong Yidong <cyd@gnu.org>
3414
3415 * progmodes/idlwave.el (idlwave-mode):
3416 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3417 require-final-newline; that's done in prog-mode.
3418 Suggested by Stefan Monnier.
a7dee7e7 3419
e07b9a6d
MR
34202011-10-21 Martin Rudalics <rudalics@gmx.at>
3421
3422 * mouse.el (mouse-drag-window-above)
3423 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3424 (mouse-drag-mode-line-1, mouse-drag-header-line)
3425 (mouse-drag-vertical-line-rightward-window): Remove.
3426 (mouse-drag-line): New function.
3427 (mouse-drag-mode-line, mouse-drag-header-line)
3428 (mouse-drag-vertical-line): Call mouse-drag-line.
3429 * window.el (window-at-side-p, windows-at-side): New functions.
3430
7e1361d9
UM
34312011-10-21 Ulrich Mueller <ulm@gentoo.org>
3432
3433 * tar-mode.el (tar-grind-file-mode):
3434 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3435
30fcaf3a
CY
34362011-10-21 Chong Yidong <cyd@gnu.org>
3437
3438 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3439 * progmodes/vera-mode.el (vera-mode):
3440 Use mode-require-final-newline.
30fcaf3a 3441
516eddb0
GM
34422011-10-20 Glenn Morris <rgm@gnu.org>
3443
db22a3c2 3444 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3445
10d5f513
CS
34462011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3447
3448 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3449
ac6c8639
CY
34502011-10-20 Chong Yidong <cyd@gnu.org>
3451
3452 * emulation/cua-base.el (cua-mode):
3453 * mail/footnote.el (footnote-mode):
3454 * mail/mailabbrev.el (mail-abbrevs-mode):
3455 * net/xesam.el (xesam-minor-mode):
3456 * progmodes/bug-reference.el (bug-reference-mode):
3457 * progmodes/cap-words.el (capitalized-words-mode):
3458 * progmodes/compile.el (compilation-minor-mode)
3459 (compilation-shell-minor-mode):
3460 * progmodes/gud.el (gud-tooltip-mode):
3461 * progmodes/hideif.el (hide-ifdef-mode):
3462 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3463 * progmodes/subword.el (subword-mode):
3464 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3465 * progmodes/which-func.el (which-function-mode):
3466 * term/tvi970.el (tvi970-set-keypad-mode):
3467 * term/vt100.el (vt100-wide-mode):
3468 * textmodes/flyspell.el (flyspell-mode):
3469 * textmodes/ispell.el (ispell-minor-mode):
3470 * textmodes/nroff-mode.el (nroff-electric-mode):
3471 * textmodes/paragraphs.el (use-hard-newlines):
3472 * textmodes/refill.el (refill-mode):
3473 * textmodes/reftex.el (reftex-mode):
3474 * textmodes/rst.el (rst-minor-mode):
3475 * textmodes/sgml-mode.el (html-autoview-mode)
3476 (sgml-electric-tag-pair-mode):
3477 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3478 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3479 * emulation/crisp.el (crisp-mode):
3480 * emacs-lisp/eldoc.el (eldoc-mode):
3481 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3482 minor mode behavior.
3483
aa42ab43
JL
34842011-10-19 Juri Linkov <juri@jurta.org>
3485
3486 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3487 the list of hard-coded chars with escape-glyph face.
3488
89400f1d
SM
34892011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3490
3491 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3492
305c07f6
MA
34932011-10-19 Michael Albinus <michael.albinus@gmx.de>
3494
3495 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3496 running process.
3497
13754b54
GM
34982011-10-19 Glenn Morris <rgm@gnu.org>
3499
3500 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3501 Ignore ignored files. (Bug#9726)
3502
06e21633
CY
35032011-10-19 Chong Yidong <cyd@gnu.org>
3504
3505 Doc fix for minor modes, stating that an omitted argument enables
3506 the mode unconditionally when called from Lisp.
3507
3508 * abbrev.el (abbrev-mode):
3509 * allout.el (allout-mode):
3510 * autoinsert.el (auto-insert-mode):
3511 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3512 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3513 (global-auto-revert-mode):
3514 * battery.el (display-battery-mode):
3515 * composite.el (global-auto-composition-mode)
3516 (auto-composition-mode):
3517 * delsel.el (delete-selection-mode):
3518 * desktop.el (desktop-save-mode):
3519 * dired-x.el (dired-omit-mode):
3520 * dirtrack.el (dirtrack-mode):
3521 * doc-view.el (doc-view-minor-mode):
3522 * double.el (double-mode):
3523 * electric.el (electric-indent-mode, electric-pair-mode):
3524 * emacs-lock.el (emacs-lock-mode):
3525 * epa-hook.el (auto-encryption-mode):
3526 * follow.el (follow-mode):
3527 * font-core.el (font-lock-mode):
3528 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3529 * help.el (temp-buffer-resize-mode):
3530 * hilit-chg.el (highlight-changes-mode)
3531 (highlight-changes-visible-mode):
3532 * hi-lock.el (hi-lock-mode):
3533 * hl-line.el (hl-line-mode, global-hl-line-mode):
3534 * icomplete.el (icomplete-mode):
3535 * ido.el (ido-everywhere):
3536 * image-file.el (auto-image-file-mode):
3537 * image-mode.el (image-minor-mode):
3538 * iswitchb.el (iswitchb-mode):
3539 * jka-cmpr-hook.el (auto-compression-mode):
3540 * linum.el (linum-mode):
3541 * longlines.el (longlines-mode):
3542 * master.el (master-mode):
3543 * mb-depth.el (minibuffer-depth-indicate-mode):
3544 * menu-bar.el (menu-bar-mode):
3545 * minibuf-eldef.el (minibuffer-electric-default-mode):
3546 * mouse-sel.el (mouse-sel-mode):
3547 * msb.el (msb-mode):
3548 * mwheel.el (mouse-wheel-mode):
3549 * outline.el (outline-minor-mode):
3550 * paren.el (show-paren-mode):
3551 * recentf.el (recentf-mode):
3552 * reveal.el (reveal-mode, global-reveal-mode):
3553 * rfn-eshadow.el (file-name-shadow-mode):
3554 * ruler-mode.el (ruler-mode):
3555 * savehist.el (savehist-mode):
3556 * scroll-all.el (scroll-all-mode):
3557 * scroll-bar.el (scroll-bar-mode):
3558 * server.el (server-mode):
3559 * shell.el (shell-dirtrack-mode):
3560 * simple.el (auto-fill-mode, transient-mark-mode)
3561 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3562 (line-number-mode, column-number-mode, size-indication-mode)
3563 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3564 * strokes.el (strokes-mode):
3565 * time.el (display-time-mode):
3566 * t-mouse.el (gpm-mouse-mode):
3567 * tool-bar.el (tool-bar-mode):
3568 * tooltip.el (tooltip-mode):
3569 * type-break.el (type-break-mode-line-message-mode)
3570 (type-break-query-mode):
3571 * view.el (view-mode):
3572 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3573 (global-whitespace-mode, global-whitespace-newline-mode):
3574 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3575
a3839de2
SM
3576 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3577 Fix autogenerated docstring.
06e21633 3578
5214e501
JL
35792011-10-19 Juri Linkov <juri@jurta.org>
3580
3581 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3582 by checking environment variables "DESKTOP_SESSION" and
3583 "XDG_CURRENT_DESKTOP". (Bug#9779)
3584
195f8db9
JL
35852011-10-19 Juri Linkov <juri@jurta.org>
3586
3587 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3588 (browse-url-chromium-program, browse-url-chromium-arguments):
3589 New defcustoms.
3590 (browse-url-default-browser): Check for `browse-url-chromium' and
3591 call `browse-url-chromium-program'.
3592 (browse-url-chromium): New command. (Bug#9779)
3593
343a34ff
JB
35942011-10-18 Juanma Barranquero <lekktu@gmail.com>
3595
3596 * facemenu.el (list-colors-duplicates): On Windows, detect more
3597 duplicates by assuming that only colors matching "^System" are
3598 special "system colors". (Bug#9722)
3599
6978a151
SM
36002011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3603 to distinguish the author from the committer.
3604
6a80b297
MA
36052011-10-18 Michael Albinus <michael.albinus@gmx.de>
3606
3607 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3608
b31a5677
JK
36092011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3610
3611 * international/mule.el (sgml-html-meta-auto-coding-function):
3612 Add support for detecting encoding in HTML5 specified only as
3613 <meta charset="UTF-8">. Implementation just makes http-equiv and
3614 content-type parts from HTML4 encoding string optional. (Bug#9716)
3615
80c6d77f
GM
36162011-10-18 Glenn Morris <rgm@gnu.org>
3617
3618 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3619
08b0fee8
CY
36202011-10-18 Chong Yidong <cyd@gnu.org>
3621
3622 * faces.el (cursor): Doc fix.
3623
67e729a5
CY
36242011-10-17 Chong Yidong <cyd@gnu.org>
3625
3626 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3627
343a34ff 36282011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3629
3630 * dirtrack.el (dirtrack): Support shell buffers with path
3631 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3632
0bc06380
TZ
36332011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3634
3635 * json.el: Bump version to 1.3 and note change in History.
3636 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3637
8b79f3e0
SM
36382011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3639
5a7c536b
SM
3640 * comint.el (comint-insert-input, comint-send-input)
3641 (comint-get-old-input-default, comint-backward-matching-input)
3642 (comint-next-prompt): Use nil instead of `input' for field property of
3643 past user input (bug#114).
3644
96a8a0df
SM
3645 * minibuffer.el (completion--replace): Inherit surrounding properties
3646 (bug#114).
3647 (minibuffer-complete-and-exit): Use it.
3648
8b79f3e0
SM
3649 * comint.el (comint--table-subvert): Quote the all-completions output
3650 (bug#9160).
3651
b8f7ff0d
MR
36522011-10-17 Martin Rudalics <rudalics@gmx.at>
3653
8b79f3e0 3654 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3655
b8f7ff0d 3656 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3657 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3658 entries and separate them from frame entries.
3659
c235b555
GM
36602011-10-15 Glenn Morris <rgm@gnu.org>
3661
3662 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3663 Doc fixes.
3664
6bbfa6e1
CY
36652011-10-15 Chong Yidong <cyd@stupidchicken.com>
3666
8b79f3e0
SM
3667 * net/network-stream.el (network-stream-open-starttls):
3668 Improve detection of failure due to lack of TLS support.
ec5c990d 3669
6bbfa6e1
CY
3670 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3671 putting the input text in front and in bold.
3672
98488977
SM
36732011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3d1337be
SM
3675 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3676
ee0b45e4
SM
3677 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3678 empty buffer.
3679
98488977
SM
3680 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3681 unread-command-events rather than pushing yet-another event.
3682
186f4720
EZ
36832011-10-14 Eli Zaretskii <eliz@gnu.org>
3684
3685 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3686 the explanation of the possible choices. Make the options passed
3687 to completing-read shorter.
3688
8b7a997c
AM
36892011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3690
3691 * textmodes/flyspell.el (flyspell-large-region): Make sure
3692 extended character mode is used if defined (Bug#1339).
3693
12587bbb
EZ
36942011-10-13 Eli Zaretskii <eliz@gnu.org>
3695
3696 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3697 character info for LRE, LRO, RLE, and RLO characters by appending
3698 an invisible PDF.
12587bbb 3699
bad41229
SM
37002011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3701
3702 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3703 even in case of error; add debug spec; simplify data flow.
3704 (with-timeout-handler): Remove.
3705
28dbc92f
MA
37062011-10-12 Michael Albinus <michael.albinus@gmx.de>
3707
3708 Fix Bug#6019, Bug#9315.
3709
3710 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3711 complete `buffer-file-name', the local file name part could look
3712 remotely (for example on VMS).
3713
3714 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3715 `tramp-run-real-handler'.
3716 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3717 already quoted by '"'.
3718
3719 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3720 Let `file-name-handler-alist' be nil, the local file name part
3721 could look remotely (for example on VMS).
3722
e1b0b23a
SM
37232011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3724
3725 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3726 from here...
3727 (flyspell-post-command-hook): ...to here.
3728
a120bde9
SM
37292011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3730
3731 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3732 if not needed.
3733 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3734 using completion. Protect against "slow" callers.
3735 Remove the "message hack".
3736
7ce7717b
JL
37372011-10-11 Juri Linkov <juri@jurta.org>
3738
3739 * isearch.el (isearch-lazy-highlight-word): New variable.
3740 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3741 Use it. (Bug#9727)
3742
c02ee9d6
GM
37432011-10-11 Glenn Morris <rgm@gnu.org>
3744
3745 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3746 like f90-previous-statement does.
3747
93e616fd 37482011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3749
1f190e73 3750 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3751 only in interactive use, to avoid error.
3752
af7b6078
SM
37532011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 * minibuffer.el (completion-file-name-table): Fix last change,
3756 i.e. ignore normal errors but not the other ones.
3757
0563dae9
MR
37582011-10-10 Martin Rudalics <rudalics@gmx.at>
3759
3760 * window.el (special-display-buffer-names)
3761 (special-display-regexps): Remove some remnants of earlier
3762 changes from doc-strings.
366ca7f3
MR
3763 (quit-windows-on): New function.
3764
3765 * vc/vc.el (vc-revert, vc-rollback):
3766 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3767 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3768 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3769
49677495
MR
37702011-10-09 Martin Rudalics <rudalics@gmx.at>
3771
3772 * window.el (frame-auto-hide-function): Add version tag.
3773 (Bug#9699)
3774
56f2d1e1
MA
37752011-10-09 Michael Albinus <michael.albinus@gmx.de>
3776
3777 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3778 condition.
3779
112a6592
LL
37802011-10-09 Leo Liu <sdl.web@gmail.com>
3781
3782 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3783 (Bug#9701)
3784
0812589b
GM
37852011-10-08 Glenn Morris <rgm@gnu.org>
3786
3787 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3788 before the first code statement zero indent. (Bug#9690)
3789
b2b0776e
CY
37902011-10-08 Chong Yidong <cyd@stupidchicken.com>
3791
3792 * simple.el (count-words-region): Always count in the region.
3793 Report the number of lines and characters too.
3794 (count-words): New command, which counts in the buffer if the
3795 region is inactive, as count-words-region used to.
3796 (count-words--message): New function. Handle plurals.
3797 (count-lines-region): Make it an alias for count-words-region.
3798
3799 * bindings.el (esc-map): Replace count-lines-region with
3800 count-words-region.
3801
c557cd6b
MR
38022011-10-08 Martin Rudalics <rudalics@gmx.at>
3803
3804 * window.el (window--delete): Delete dedicated frame
3805 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3806 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3807
61a57ef4 38082011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3809
3a7d293b 3810 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3811
c3833279
CY
38122011-10-07 Chong Yidong <cyd@stupidchicken.com>
3813
3814 * bindings.el ([M-left],[M-right]): Bind to left-word and
3815 right-word respectively.
3816
21ce8245
GM
38172011-10-07 Glenn Morris <rgm@gnu.org>
3818
3819 * cus-start.el (debug-on-quit): Fix custom type.
3820
6d823bb2
LMI
38212011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3822
0181e193
LMI
3823 * subr.el (define-key-after): Clarify that the function is not
3824 useful for non-menu keymaps.
3825
6d823bb2
LMI
3826 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3827
8e3459ce 38282011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3829
21ce8245 3830 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3831 in current minibuffer (Fix bug with recursive minibuffers).
3832
a1c2d21e
CY
38332011-10-06 Chong Yidong <cyd@stupidchicken.com>
3834
3835 * progmodes/gdb-mi.el (gdb): Doc fix.
3836
5a4cf282
MR
38372011-10-05 Martin Rudalics <rudalics@gmx.at>
3838
3839 * window.el (frame-auto-hide-function): New option replacing
3840 frame-auto-delete. Suggested by Stefan Monnier.
3841 (window--delete): Call frame-auto-hide-function instead of
3842 investigating frame-auto-delete.
c96111ea
MR
3843 (window-point-1, set-window-point-1): New functions.
3844 (window-in-direction, record-window-buffer, window-state-get-1)
3845 (display-buffer-record-window): Use window-point-1 instead of
3846 window-point.
3847 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3848
9854542e
SM
38492011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3850
3851 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3852
8943cfb0
GM
38532011-10-05 Glenn Morris <rgm@gnu.org>
3854
3855 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3856 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3857
647ab967
LL
38582011-10-05 Leo Liu <sdl.web@gmail.com>
3859
3860 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3861 works with buffer object.
3862
3ddfbced
SM
38632011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * mpc.el (mpc-tool-bar-map): Add labels.
3866
bdfa5dd2
GM
38672011-10-04 Glenn Morris <rgm@gnu.org>
3868
3869 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3870
0e2070b5
MR
38712011-10-04 Martin Rudalics <rudalics@gmx.at>
3872
3873 * window.el (window--delete): New function.
3874 (frame-auto-delete): Resuscitate option.
3875 (bury-buffer, replace-buffer-in-windows)
3876 (quit-window): Rewrite using window--delete.
3877 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3878 Pass display-buffer-mark-dedicated to window--display-buffer-2
3879 (Bug#9639).
3880
3dc61a09
SM
38812011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3882
915a9b64
SM
3883 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3884 returns a list (bug#9554). Add remote file name completion.
3885 * comint.el (comint--table-subvert): Curry and get quote&unquote
3886 functions as arguments.
3887 (comint--complete-file-name-data): Adjust call accordingly.
3888 * pcomplete.el (pcomplete--table-subvert): Remove.
3889 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3890
3dc61a09
SM
3891 * minibuffer.el (completion-table-case-fold): Use currying.
3892 (completion--styles-type, completion--cycling-threshold-type):
3893 New constants.
3894 (completion-styles, completion-category-overrides)
3895 (completion-cycle-threshold): Use them.
3896 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3897 completion-table-case-fold.
3898
8ea0a993
SB
38992011-10-03 Stephen Berman <stephen.berman@gmx.net>
3900
3901 * minibuffer.el (completion-category-overrides): Fix type of styles
3902 and add more user friendly tags (bug#9660).
3903
8c24b7f6
SM
39042011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3905
3906 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3907 (mule-input-method-string): New widget.
3908 (default-input-method, language-info-custom-alist): Use it.
3909
428fe61a
SM
39102011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3911
32c1fffd
SM
3912 * pcomplete.el: Require comint.
3913 (pcomplete--common-suffix): Remove.
3914 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3915 (pcomplete--table-subvert): Sync with comint--table-subvert.
3916 (pcomplete--entries): Use comint-completion-file-name-table.
3917 * comint.el (comint-unquote-filename): Simplify.
3918 (comint-completion-file-name-table): New function (bug#9616).
3919 (comint--complete-file-name-data): Use it.
3920
428fe61a
SM
3921 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3922 (pcmpl-gnu-tar-buffer): Remove.
3923 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
3924 around. Make sure pcomplete-suffix-list is only changed temporarily.
3925 Don't look inside the tar's file if it's too large.
428fe61a 3926
04c52e2f
CY
39272011-10-01 Chong Yidong <cyd@stupidchicken.com>
3928
ce3cefcc
CY
3929 * cus-edit.el (custom-mode-map):
3930 * epa.el (epa-key-list-mode-map):
3931 * man.el (Man-mode-map):
3932 * startup.el (splash-screen-keymap):
3933 * simple.el (special-mode-map): Use scroll-up-command and
3934 scroll-down-command.
3935
3936 * progmodes/idlw-help.el (idlwave-help-mode-map):
3937 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3938 * net/newst-plainview.el (newsticker-mode-map):
3939 * emulation/ws-mode.el (wordstar-mode-map):
3940 * emulation/vi.el (vi-com-map):
3941 * calc/calc-graph.el (calc-graph-show-dumb):
3942 * term/sun.el (terminal-init-sun):
3943 * term/ns-win.el (global-map):
3944 * progmodes/grep.el (grep-mode-map):
3945 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3946 * mail/rmail.el (rmail-mode-map):
3947 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3948
04c52e2f
CY
3949 * custom.el (custom-safe-themes, load-theme): Treat value of t for
3950 custom-safe-themes as special.
3951
79adf8c8
JD
39522011-10-01 Julien Danjou <julien@danjou.info>
3953
3954 * notifications.el (notifications-notify): Fix docstring.
3955
63bd50d3
PS
39562011-10-01 Per Starbäck <per@starback.se>
3957
3958 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
3959
199e4c7e
MR
39602011-09-30 Martin Rudalics <rudalics@gmx.at>
3961
3962 * startup.el (command-line-1): Fix last fix by inserting
3963 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 3964 (Bug#9605) and (Bug#9636)
199e4c7e 3965
fe5f08dd
EZ
39662011-09-29 Eli Zaretskii <eliz@gnu.org>
3967
3968 * simple.el (line-move): If auto-hscroll-mode is disabled and the
3969 window is hscrolled, move by logical lines. (Bug#9607)
3970 (line-move-visual): Update the doc string to the above effect.
3971
b5516bbd
MR
39722011-09-29 Martin Rudalics <rudalics@gmx.at>
3973
ccee00c0
MR
3974 * window.el (display-buffer-record-window): When WINDOW is the
3975 selected window use `point' instead of `window-point'. (Bug#9626)
3976
b5516bbd
MR
3977 * startup.el (command-line-1): Use insert-before-markers when
3978 inserting initial-scratch-message. (Bug#9605)
ccee00c0 3979
b5516bbd
MR
3980 * help.el (help-window): Remove variable.
3981
52aa0014
GM
39822011-09-29 Glenn Morris <rgm@gnu.org>
3983
3984 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
3985
df9a7357
JB
39862011-09-29 Juanma Barranquero <lekktu@gmail.com>
3987
3988 * descr-text.el (describe-char-categories): Accept category
3989 descriptions more than one line long.
3990
a8406c20
SM
39912011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3992
88d9610c
SM
3993 * simple.el (delete-trailing-whitespace): Fix last change.
3994
a5daf810
SM
3995 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3996 Don't confuse "y => 3" as the beginning of a `y' operation.
3997
a8406c20
SM
3998 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
3999 object has more than 4 slots (bug#9613).
4000
a239d4e9
JB
40012011-09-28 Juanma Barranquero <lekktu@gmail.com>
4002
4003 * subr.el (with-output-to-temp-buffer):
4004 * net/quickurl.el (quickurl, quickurl-browse-url):
4005 Fix typos in docstrings.
4006
693fbdb6
EZ
40072011-09-27 Eli Zaretskii <eliz@gnu.org>
4008
4009 * minibuffer.el (completion-styles)
4010 (completion-category-overrides): Cross reference each other in doc
4011 strings.
4012
8b457e28
GM
40132011-09-27 Glenn Morris <rgm@gnu.org>
4014
4015 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4016 to split-string. (Bug#9606)
4017
85a16208
LMI
40182011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4019
4020 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4021 (bug#9615).
4022
502f9ebd
CY
40232011-09-27 Chong Yidong <cyd@stupidchicken.com>
4024
4025 * emacs-lisp/package.el (list-packages): Fix echo area message.
4026
7690bdea
LL
40272011-09-27 Leo Liu <sdl.web@gmail.com>
4028
4029 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4030
e2ee6f30
MA
40312011-09-25 Michael Albinus <michael.albinus@gmx.de>
4032
4033 * net/dbus.el (dbus-unregister-object): Don't release services for
4034 registered signals. (Bug#9581)
4035
f3f98342
TZ
40362011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4037
4038 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4039 function that picks between cfengine 2 and 3 support
4040 automatically. Update docs accordingly.
4041
dd7aa8dd
KH
40422011-09-22 Kenichi Handa <handa@m17n.org>
4043
4044 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4045 ZERO.
4046 (indian-itrans-v5-table-for-tamil): New variable.
4047 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4048
3f2b07f8
KM
40492011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4050
4051 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4052 that's true if the current command involved collapsing of text.
4053 It's reset to false at the beginning of the next command.
4054 (allout-post-command-business): Move the cursor to the beginning
4055 of entry if the cursor is hidden and collapsing activity just
4056 happened.
4057
371d6a61
CY
40582011-09-24 Chong Yidong <cyd@stupidchicken.com>
4059
4060 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4061 tracking (Bug#9541).
4062
2ac2721a
UJ
40632011-09-24 Ulf Jasper <ulf.jasper@web.de>
4064
4065 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4066 (newsticker-show-news): Automatically load html rendering package
4067 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4068 because w3m-fill-column is let-bound" and the error "Symbol's value
4069 as variable is void: w3m-fill-column".
2ac2721a 4070
fac7ae53
MA
40712011-09-24 Michael Albinus <michael.albinus@gmx.de>
4072
4073 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4074 Release services only if they are defined. (Bug#9581)
4075
e08b633b
RS
40762011-09-23 Richard Stallman <rms@gnu.org>
4077
e488d29c
RS
4078 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4079 distinguish start of paragraph from start of its text.
4080
19c38752
RS
4081 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4082
e08b633b
RS
4083 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4084 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4085 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4086
0a39f27e
AS
40872011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4088
4089 * international/mule-diag.el (mule-diag): Insert a newline after
4090 each fontset description.
4091
db4e950d
SM
40922011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4093
4094 * simple.el (delete-trailing-whitespace):
4095 Document last change; simplify.
4096
eca3f3ea
PW
40972011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4098
d68e189a
PW
4099 * simple.el (delete-trailing-whitespace): Also delete
4100 extra newlines at the end of the buffer.
4101
eca3f3ea
PW
4102 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4103 (picture-newline): Use forward-line so as to ignore fields.
4104
01c157cc
SM
41052011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4107 * subr.el (with-wrapper-hook): Fix edebug spec.
4108
022de23e
LMI
41092011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4110
4111 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4112 (bug#4538).
4113
91683089
MA
41142011-09-23 Michael Albinus <michael.albinus@gmx.de>
4115
eca3f3ea
PW
4116 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4117 Fix nasty bug using wrong cached values.
91683089 4118
5bdd6fa4
AM
41192011-09-23 Alan Mackenzie <acm@muc.de>
4120
4121 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4122
97adfb97
CY
41232011-09-23 Chong Yidong <cyd@stupidchicken.com>
4124
4125 * window.el (pop-to-buffer): Ensure right window is selected if we
4126 chose another frame.
4127
d4ef2b50
EZ
41282011-09-22 Eli Zaretskii <eliz@gnu.org>
4129
4130 * simple.el (what-cursor-position): Use get-char-property-change
4131 and next-single-char-property-change, to be able to show display
4132 properties that come from overlays as well as text properties.
4133
72258fe5
CY
41342011-09-22 Chong Yidong <cyd@stupidchicken.com>
4135
4136 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4137
4138 * cmuscheme.el (run-scheme, switch-to-scheme):
4139 * cus-edit.el (customize-group, custom-buffer-create)
4140 (customize-browse):
4141 * info.el (info):
4142 * shell.el (shell):
4143 * mail/sendmail.el (mail):
4144 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4145
8f098516
RS
41462011-09-22 Richard Stallman <rms@gnu.org>
4147
4148 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4149 move back only to line beg, don't move back over blank lines.
4150
e74f1bb6
MA
41512011-09-22 Michael Albinus <michael.albinus@gmx.de>
4152
4153 * files.el (copy-directory): Set directory attributes only in case
4154 they could be retrieved from the source directory. (Bug#9565)
4155
bfeef8b6
DK
41562011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4157
4158 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4159 (hs-find-block-beginning, hs-hide-level-recursive):
4160 Ignore strings as well as comments. (Bug#9502)
4161
7e423bb8
AS
41622011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4163
4164 * progmodes/sql.el (sql-comint-postgres):
4165 Convert port number to a string. (Bug#9566)
4166
b4d72fcf
MR
41672011-09-22 Martin Rudalics <rudalics@gmx.at>
4168
4169 * window.el (quit-window): Undedicate window when switching to
4170 previous buffer. Reported by Thierry Volpiatto
4171 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4172 (special-display-popup-frame): When popping up a new frame reset
4173 its previous buffers to nil. Simplify code.
b4d72fcf 4174
a7b88dc6
MA
41752011-09-21 Michael Albinus <michael.albinus@gmx.de>
4176
4177 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4178 and process filter, as done also in `shell-command'.
4179
cf4eacfd
MR
41802011-09-21 Martin Rudalics <rudalics@gmx.at>
4181
eca3f3ea 4182 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4183 Call set-window-start with NOFORCE argument t.
4184 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4185 (quit-window): Reword doc-string. Handle new format of
4186 quit-restore parameter. Don't delete window if it has a
4187 previous buffer we can show instead of the present one.
4188 (display-buffer-record-window): Rewrite using a new format for
4189 the quit-restore window parameter
4190 (special-display-popup-frame, display-buffer-same-window)
4191 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4192 (display-buffer-pop-up-window, display-buffer-use-some-window):
4193 Adapt symbol passed to display-buffer-record-window.
4194 * help.el (help-window-setup): Handle new format of quit-restore
4195 parameter.
4196
8d28cb95
SM
41972011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4198
94ab793f
SM
4199 * faces.el (face-list): Fix docstring (bug#9564).
4200
8d28cb95
SM
4201 * window.el (display-buffer--action-function-custom-type):
4202 Don't include internal functions in the Custom interface.
4203
3820edeb
JL
42042011-09-20 Juri Linkov <juri@jurta.org>
4205
4206 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4207 (Info-forward-node, Info-backward-node, Info-next-preorder)
4208 (Info-last-preorder): Use it. (Bug#9528)
4209
5147931d
JL
42102011-09-20 Juri Linkov <juri@jurta.org>
4211
4212 * info.el (Info-last-preorder): Visit last menu item only when
4213 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4214
cf499a1a
JD
42152011-09-20 Julien Danjou <julien@danjou.info>
4216
4217 * password-cache.el (password-cache-remove): Remove entries even if the
4218 value is nil, so that password with a nil value (negative caching) is
4219 possible to invalidate.
4220
f84e2fe2
LM
42212011-09-20 Lawrence Mitchell <wence@gmx.li>
4222
4223 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4224 all whitespace around breakpoint. (Bug#9553)
4225 (f90-find-breakpoint): Only break at whitespace inside a comment.
4226
78054a46
SM
42272011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4228
4229 * minibuffer.el (completion-file-name-table): Keep track of errors.
4230 (completion-table-with-predicate): Handle the case where pred1 is nil.
4231 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4232
345083b2
SM
42332011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4234
e24e27be
SM
4235 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4236 (debugger-return-value): Signal an error if the debugging context does
4237 not await any return value.
4238
345083b2
SM
4239 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4240 * image-mode.el (image-toggle-display-text)
4241 (image-toggle-display-image): Stay away from evil `intangible'.
4242
08d355e3
LL
42432011-09-19 Leo Liu <sdl.web@gmail.com>
4244
4245 * replace.el (occur-revert-arguments): Make it permanent-local.
4246 (occur-mode): Don't call font-lock-defontify.
4247
f01da43f
CY
42482011-09-19 Chong Yidong <cyd@stupidchicken.com>
4249
4250 * net/ldap.el (ldap-search-internal): Don't push empty search
4251 result (Bug#9508).
4252
b6072fa6
SM
42532011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4254
4255 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4256
443d6696
MA
42572011-09-19 Michael Albinus <michael.albinus@gmx.de>
4258
4259 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4260 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4261
7cc6e154
JL
42622011-09-18 Juri Linkov <juri@jurta.org>
4263
4264 * buff-menu.el (Buffer-menu-mode-map):
4265 * dired.el (dired-mode-map):
4266 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4267 (lisp-interaction-mode-map):
4268 * emacs-lisp/package.el (package-menu-mode-map):
4269 * epa.el (epa-key-list-mode-map):
4270 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4271 (menu-bar-options-menu):
4272 * outline.el (outline-mode-menu-bar-map):
4273 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4274 * vc/vc-dir.el (vc-dir-menu-map):
4275 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4276 Capitalize non-function content words in menu item strings.
4277
4278 * dired.el (dired-mode-map): Add menu item for
4279 `image-dired-dired-toggle-marked-thumbs'.
4280
80302a81
JL
42812011-09-18 Juri Linkov <juri@jurta.org>
4282
4283 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4284 to `isearch-case-fold-search' and restore its original value
4285 after the `isearch-mode' call.
4286
46c5cf66
JL
42872011-09-18 Juri Linkov <juri@jurta.org>
4288
4289 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4290 because `zgrep' returns 1 for successful matches (bug#9226).
4291
d18b513b
JL
42922011-09-18 Juri Linkov <juri@jurta.org>
4293
4294 * info.el (Info-extract-menu-node-name): Check the second match
4295 for empty string (second test-case of bug#9528).
4296 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4297 intermediate nodes to the history (first test-case of bug#9528).
4298
72753f87
JL
42992011-09-18 Juri Linkov <juri@jurta.org>
4300
4301 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4302 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4303
c9384295
JL
43042011-09-18 Juri Linkov <juri@jurta.org>
4305
1154d12e
JB
4306 * info.el (Info-file-supports-index-cookies):
4307 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4308 outputs one more line for long file names (bug#4142).
c9384295 4309
d473dce8
CY
43102011-09-18 Chong Yidong <cyd@stupidchicken.com>
4311
4312 * newcomment.el (comment-normalize-vars): If prompting for
4313 comment-start, set comment-start-skip too (Bug#8424).
4314
2176854d
JB
43152011-09-18 Johan Bockgård <bojohan@gnu.org>
4316
4317 * icomplete.el: Fix previous fix of Bug#5849.
4318 (icomplete-mode): Don't set completion-show-inline-help.
4319 (icomplete-minibuffer-setup): Set completion-show-inline-help
4320 locally during icompletion.
4321
3aace4e4
CY
43222011-09-18 Chong Yidong <cyd@stupidchicken.com>
4323
c940224f
CY
4324 * woman.el (woman2-process-escapes): Don't delete unrecognized
4325 escapes (Bug#7843).
4326
3aace4e4
CY
4327 * files.el (inhibit-first-line-modes-regexps): Add image files.
4328 (hack-local-variables-prop-line): Return nil for malformed
4329 prop-lines (Bug#9044).
4330
710dec63
MA
43312011-09-18 Michael Albinus <michael.albinus@gmx.de>
4332
4333 * net/tramp.el (top): Don't require 'shell.
4334 (tramp-methods): Fix docstring.
4335 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4336 Return complete remote file name. Handle "smb" case.
4337 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4338 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4339
4340 * net/tramp-compat.el (top): Require 'shell.
4341
4342 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4343 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4344 `tramp-current-host'.
4345 (tramp-get-remote-tmpdir): Remove.
4346
4347 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4348 `tramp-tmpdir' entries.
4349 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4350 (tramp-smb-handle-file-attributes): Ignore errors.
4351 (tramp-smb-wait-for-output): Check also for process end.
4352
5d5ac8ec
LMI
43532011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4354
4355 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4356 when sending QUIT (bug#9312).
4357
8c0f49f0
CY
43582011-09-17 Chong Yidong <cyd@stupidchicken.com>
4359
4360 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4361 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4362 occur-mode-display-occurrence.
4363 (occur-edit-mode): Add usage message.
4364 (occur-cease-edit): New command.
4365 (occur-after-change-function): Use text properties to find the
4366 position of the prefix text.
4367 (occur-engine): Set stickiness of prefix text properties.
4368
8f1383f7
GM
43692011-09-17 Glenn Morris <rgm@gnu.org>
4370
4371 * progmodes/etags.el (complete-tag):
4372 Fix call to completion-in-region. (Bug#9526)
4373
744ba0e3
JL
43742011-09-17 Juri Linkov <juri@jurta.org>
4375
4376 * textmodes/ispell.el (ispell-word): Add to the error message
4377 the word, ispell program name and current dictionary (bug#9121).
4378 (ispell-tex-arg-end): Capitalize "error" in the error message.
4379
d9bbf400
AS
43802011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4381
4382 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4383 check. (Bug#4251)
4384
8da11505
JL
43852011-09-17 Juri Linkov <juri@jurta.org>
4386
4387 * window.el (window-safe-min-height, window-safe-min-width):
4388 Fix typos (followup to bug#9522).
4389
a91adc7e
SJ
43902011-09-17 Sven Joachim <svenjoac@gmx.de>
4391
4392 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4393
064f328a
EZ
43942011-09-16 Eli Zaretskii <eliz@gnu.org>
4395
4396 * simple.el (line-move): If goal-column is set, move by logical
4397 lines, not by display lines. (Bug#971)
4398 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4399 to reflect the above change.
4400
e69df516
SM
44012011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4402
4403 * image.el (imagemagick-register-types): Use regexp-opt.
4404
cbb0f9ab
CY
44052011-09-15 Chong Yidong <cyd@stupidchicken.com>
4406
4407 * window.el (display-buffer-base-action): Rename from
4408 display-buffer-default-action. Make default value empty.
4409 (display-buffer-overriding-action): Convert to defvar.
4410 (display-buffer-fallback-action): New var.
4411
25322144
CY
44122011-09-15 Chong Yidong <cyd@stupidchicken.com>
4413
4414 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4415 declaration.
4416 (package--add-to-archive-contents): If there is a duplicate entry
4417 with an older version, remove it.
4418 (package-menu-mark-delete, package-menu-mark-install)
4419 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4420 (package-menu-mark-obsolete-for-deletion):
4421 Use package-menu-get-status instead of a regexp search.
25322144
CY
4422 (package-menu-get-status): Use tabulated-list-entry.
4423 (package-menu-mark-upgrades): New command.
d770725a 4424 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4425 (package-menu-execute): Do installation before deletion.
4426 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4427 instead of checking major-mode.
4428 (package-menu--find-upgrades): New function.
4429
7520339c
LMI
44302011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4431
4432 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4433 passwords in the log buffer.
65a046c4
LMI
4434 (smtpmail-process-filter): Update the process marker so that the
4435 "broken by peer" status message is inserted in the right place.
7520339c 4436
d3c30954
SM
44372011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4438
3fe48822
SM
4439 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4440 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4441 bibtex-completion-at-point-function.
4442 (bibtex-completion-at-point-function): Use them.
4443
1b8b3954
SM
4444 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4445
d3c30954
SM
4446 * mpc.el (mpc-constraints-tag-lookup): New function.
4447 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4448 also to browser "album|playlist".
4449
72779976
JL
44502011-09-14 Juri Linkov <juri@jurta.org>
4451
4452 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4453 (isearch-edit-string): Use length of `isearch-string' when
4454 `isearch-fail-pos' returns nil.
4455 (isearch-message): Remove duplicate code and call
4456 `isearch-fail-pos' with arg `t'.
4457
a0bf2bcd
CY
44582011-09-14 Chong Yidong <cyd@stupidchicken.com>
4459
17bb0a2d
CY
4460 * replace.el (occur-mode-goto-occurrence): Don't force using other
4461 window (Bug#9499).
4462
a0bf2bcd
CY
4463 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4464
f678e0b6
MR
44652011-09-14 Martin Rudalics <rudalics@gmx.at>
4466
4467 * window.el (display-buffer-window): Remove.
4468 (display-buffer-record-window): Use help-setup window parameter
4469 instead of variable display-buffer-window.
4470 (display-buffer-function, special-display-buffer-names)
4471 (special-display-function): Mention help-setup parameter instead
4472 of display-buffer-window in doc-string.
d3c30954
SM
4473 * help.el (help-window-setup): New argument help-window.
4474 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4475 Reword some messages.
4476 (with-help-window): Pass window used for displaying the buffer
4477 to help-window-setup. Don't set display-buffer-window.
4478
8e39b2e8
GM
44792011-09-13 Glenn Morris <rgm@gnu.org>
4480
4481 * emacs-lisp/debug.el (debugger-make-xrefs):
4482 Preserve point. (Bug#9462)
4483
85e9c04b
CY
44842011-09-13 Chong Yidong <cyd@stupidchicken.com>
4485
4486 * window.el (window-deletable-p): Use next-frame.
4487
1b36ed6a
MR
44882011-09-13 Martin Rudalics <rudalics@gmx.at>
4489
4490 * window.el (window-auto-delete): Remove.
4491 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4492 dedication and previous buffers.
1b36ed6a
MR
4493 (switch-to-prev-buffer): Don't delete window.
4494 (delete-windows-on): Delete a window's frame if and only if the
4495 window is dedicated.
4496 (replace-buffer-in-windows): Delete buffer's window or frame if
4497 and only if window is dedicated.
4498 (quit-window): Handle quit-restore as before last change.
4d61f28d 4499 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4500
ef8ef9fb
CY
45012011-09-13 Chong Yidong <cyd@stupidchicken.com>
4502
4503 * window.el (window-deletable-p): Never delete the last frame on a
4504 given terminal.
4505
b2cba41e
GM
45062011-09-13 Glenn Morris <rgm@gnu.org>
4507
4508 * help.el (describe-key-briefly): Copy previous standard-output change.
4509
51553db6 45102011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4511
4512 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4513
b7556719
GM
45142011-09-13 Glenn Morris <rgm@gnu.org>
4515
4516 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4517 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4518
64b51947
CY
45192011-09-12 Chong Yidong <cyd@stupidchicken.com>
4520
4521 * dired-aux.el (dired-mark-read-string): Don't return default
4522 value on empty input (Bug#9361).
4523 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4524 Omit initial minibuffer contents.
4525 (dired-do-chmod): Signal an error on empty input.
4526 (dired-mark-read-string): Don't return default on empty input.
4527
4528 * files.el (file-modes-symbolic-to-number): Doc fix.
4529
393a301e
SM
45302011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4531
4532 * international/mule-cmds.el (ucs-completions): Remove.
4533 (read-char-by-name): Use complete-with-action instead; add metadata.
4534
fa5660f9
CY
45352011-09-11 Chong Yidong <cyd@stupidchicken.com>
4536
4537 * window.el (display-buffer--action-function-custom-type)
4538 (display-buffer--action-custom-type): New vars.
4539 (display-buffer-alist, display-buffer-default-action)
4540 (display-buffer-overriding-action): Add defcustom types.
4541
4a592f66
CY
4542 * frame.el (delete-other-frames): Doc fix (Bug#276).
4543
73d56dbd
LMI
45442011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4545
4546 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4547
37ac18a3
CY
45482011-09-11 Chong Yidong <cyd@stupidchicken.com>
4549
4550 Change modes that used same-window-* vars to use switch-to-buffer.
4551
4552 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4553 Use switch-to-buffer.
4554
4555 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4556 (customize-browse, custom-buffer-create-other-window):
4557 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4558
4559 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4560 (Info-prev, Info-up, Info-speedbar-goto-node)
4561 (info-display-manual): Use switch-to-buffer.
4562 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4563
4564 * mail/sendmail.el (mail): Use switch-to-buffer.
4565 (mail-recover): Use switch-to-buffer-other-window.
4566
4567 * cmuscheme.el (run-scheme, switch-to-scheme):
4568 * ielm.el (ielm):
4569 * shell.el (shell):
4570 * net/rlogin.el (rlogin):
4571 * net/telnet.el (telnet, rsh):
4572 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4573
10195bd6
AS
45742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4575
4576 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4577
b322f63a
LMI
45782011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4579
39d7fed6
LMI
4580 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4581 so don't mention it (bug#9301).
ba5a81f1 4582 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4583
ee0e9f11
LMI
4584 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4585 match `x', `w32' and `ns', like the manual says (bug#9029).
4586
0b1c89c1 4587 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4588 (process-kill-buffer-query-function): Mention the buffer name in
4589 the query.
0b1c89c1 4590
77549ea8
LMI
4591 * image-mode.el (image-next-line): The line parameter is mandatory
4592 (bug#9258).
4593
803ef892
LMI
4594 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4595 which can be useful (bug#9301).
4596
12980837
LMI
4597 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4598
91054f8f
LMI
4599 * subr.el (match-string): Mention that the current buffer should
4600 be the same as the search was done in (bug#9282).
4601
b322f63a
LMI
4602 * facemenu.el: Disable the remove-* commands if the mark isn't
4603 active (bug#9162).
4604
3199b96f
CY
46052011-09-10 Chong Yidong <cyd@stupidchicken.com>
4606
4607 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4608 of display-buffer.
4609 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4610
4611 * replace.el (occur-mode-goto-occurrence)
4612 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4613 and display-buffer.
4614
4615 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4616 display-buffer.
4617
4618 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4619 special-display and same-window variables.
4620 (mail-other-window): Use switch-to-buffer-other-window.
4621 (mail-other-frame): USe switch-to-buffer-other-frame.
4622
393a301e
SM
4623 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4624 Use display-buffer-other-frame.
3199b96f
CY
4625 (gdb-display-gdb-buffer): Use pop-to-buffer.
4626
4627 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4628
4629 * progmodes/python.el: Don't set same-window-buffer-names.
4630
4631 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4632
4633 * window.el (display-buffer-alist): Add *Python*.
4634
8319e0bf
CY
46352011-09-10 Chong Yidong <cyd@stupidchicken.com>
4636
4637 * window.el (display-buffer-alist): Add entry for buffers
4638 previously handled same-window-*.
4639 (display-buffer-alist, display-buffer-default-action)
4640 (display-buffer-overriding-action): Mark as risky.
4641 (display-buffer-alist): Document action function changes.
4642 (display-buffer--same-window-action)
4643 (display-buffer--other-frame-action): New variables.
4644 (switch-to-buffer, display-buffer-other-frame): Use them.
4645 (display-buffer): Rename reuse-frame entry to reusable-frames.
4646 (display-buffer-reuse-selected-window): Function deleted.
4647 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4648 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4649 (display-buffer-special): New function.
4650 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4651 display-buffer-reuse-or-pop-window. Split off special-display
4652 part into display-buffer-special.
4653 (display-buffer-use-some-window): Don't perform any special
4654 pop-up-frames handling.
4655 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4656 (display-buffer--maybe-same-window): Rename from
0d3ff375 4657 display-buffer-maybe-same-window.
8319e0bf 4658
919a69aa
CY
4659 * info.el: Don't set same-window-regexps.
4660 (info-setup): New function.
4661 (info-other-window, info): Call it.
4662
4663 * cus-edit.el: Don't set same-window-regexps.
4664 (customize-group): New argument.
4665 (customize-group-other-window): Use it.
4666 (customize-face, customize-face-other-window): Likewise.
4667 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4668
8319e0bf
CY
4669 * net/rlogin.el:
4670 * net/telnet.el:
4671 * progmodes/gud.el: Don't set same-window-regexps.
4672
4673 * cmuscheme.el:
4674 * ielm.el:
4675 * shell.el:
4676 * mail/sendmail.el:
4677 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4678
25173000
JL
46792011-09-10 Juri Linkov <juri@jurta.org>
4680
4681 * isearch.el (isearch-edit-string): Remove obsolete mention of
4682 `C-w' (`isearch-yank-word-or-char') from docstring.
4683 (isearch-query-replace): Fix typo in docstring (bug#9466).
4684
056e44ef
JL
46852011-09-10 Juri Linkov <juri@jurta.org>
4686
4687 * paren.el (show-paren-function): Don't show escaped parens.
4688 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4689
c3760c17
EZ
46902011-09-10 Eli Zaretskii <eliz@gnu.org>
4691
4692 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4693 (mm-default-file-encoding): Remove autoload forms, they are
4694 replaced with autoload cookies in mml.el and mm-encode.el.
4695 (mail-add-attachment): New command.
4696 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4697 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4698 the doc string.
4699 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4700
fece895e
RT
47012011-09-10 Reuben Thomas <rrt@sc3d.org>
4702
e69df516
SM
4703 * simple.el (count-words-region): Use buffer if there's no region
4704 (bug#9429).
fece895e 4705
5e68ce4a
JL
47062011-09-09 Juri Linkov <juri@jurta.org>
4707
4708 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4709 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4710 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4711
0a6b9622
AM
47122011-09-09 Alan Mackenzie <acm@muc.de>
4713
4714 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4715 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4716
14a29deb
EZ
47172011-09-09 Eli Zaretskii <eliz@gnu.org>
4718
4719 Fix for Savannah bug#9392.
4720 * simple.el (mail-encode-mml): New defvar.
4721
4722 * mail/rmail.el (mail-encode-mml): Add a defvar.
4723 (rmail-enable-mime-composing): Default to t.
4724 (rmail-forward): Use MIME method of forwarding only if both
4725 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4726 Set mail-encode-mml non-nil if the MIME method was used.
4727
4728 * mail/sendmail.el (mml-to-mime): Add autoload form.
4729 (mail-encode-mml): Add a defvar.
4730 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4731 to nil.
4732 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4733 message through mml-to-mime, and reset mail-encode-mml to nil.
4734
28c45130
GM
47352011-09-09 Glenn Morris <rgm@gnu.org>
4736
4737 * woman.el (woman-if-body): When processing an .el block,
4738 do not delete the next .el block as well. (Bug#9447)
69f4b618 4739 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4740
9b1c252e
MR
47412011-09-08 Martin Rudalics <rudalics@gmx.at>
4742
4743 * window.el (window-deletable-p): Make sure window is live before
4744 invoking window-prev-buffers.
4745
567457e3
LL
47462011-09-08 Leo Liu <sdl.web@gmail.com>
4747
4748 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4749
97f05794
JL
47502011-09-08 Juri Linkov <juri@jurta.org>
4751
4752 * progmodes/compile.el (compilation-environment): Make it
4753 a defcustom (bug#8340).
4754
8b0874b5
MR
47552011-09-08 Martin Rudalics <rudalics@gmx.at>
4756
4757 * window.el (frame-auto-delete): Rename to window-auto-delete.
4758 Make it control auto-deletion of windows and/or frames.
4759 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4760 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4761 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4762 Rewrite handling of case when window/frame can be deleted.
4763 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4764 argument t. (Bug#9456)
8b0874b5 4765
4feb6e73
CY
47662011-09-07 Chong Yidong <cyd@stupidchicken.com>
4767
4768 * help-mode.el (help-mode): Restore autoload.
4769
91ab9c13
JL
47702011-09-07 Juri Linkov <juri@jurta.org>
4771
4772 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4773 `compilation-environment'. Set buffer-local
4774 `compilation-environment' to `thisenv' later after (funcall mode).
4775 (Bug#8340)
4776
4777 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4778 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4779 instead of replacing its value. (Bug#8340)
4780
0527e251
JL
47812011-09-07 Juri Linkov <juri@jurta.org>
4782
4783 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4784 based on text properties put by `grep-filter' instead of matching
4785 escape sequences.
4786 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4787 to the value of `grep-error-screen-columns' (bug#9438).
4788
249f792c
JL
47892011-09-07 Juri Linkov <juri@jurta.org>
4790
4791 * simple.el (next-error-highlight, next-error-highlight-no-select):
4792 Doc fix (bug#9432).
4793
ff7271b9
OT
47942011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4795
4796 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4797 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4798
183fc730
LL
47992011-09-07 Leo Liu <sdl.web@gmail.com>
4800
4801 * net/rcirc.el (rcirc-mode): Conditionally initialize
4802 rcirc-input-ring.
4803
77694924
SM
48042011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4805
4806 * emacs-lisp/find-func.el (find-function-C-source): Only set
4807 find-function-C-source-directory after checking that we found a source
4808 file there (bug#9440).
4809
d809b8eb
AM
48102011-09-06 Alan Mackenzie <acm@muc.de>
4811
4812 * isearch.el (isearch-other-meta-char): Wherever a key list is
4813 unread, "unread" the prefix arg, too. This fixes bug #8901.
4814
453de99f
OG
48152011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4816
4817 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4818
90439906
JL
48192011-09-05 Juri Linkov <juri@jurta.org>
4820
4821 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4822
f62bd846
JL
48232011-09-05 Juri Linkov <juri@jurta.org>
4824
4825 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4826 keeping point where processing of grep matches begins, and
4827 continue to delete remaining escape sequences from the same point.
4828 (grep-filter): Make leading zero optional in "0?1;31m" because
4829 git-grep emits "\033[1;31m" escape sequences unlike expected
4830 "\033[01;31m" as GNU Grep does (bug#9408).
4831 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4832
045820ec
JL
48332011-09-05 Juri Linkov <juri@jurta.org>
4834
4835 * subr.el (y-or-n-p): Capitalize "yes".
4836
f5e29b9b
MA
48372011-09-04 Michael Albinus <michael.albinus@gmx.de>
4838
4839 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4840 `tramp-cache-unload-hook' where appropriate.
4841 (tramp-methods): Rename `tramp-remote-sh' to
4842 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4843 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4844
4845 * net/tramp-sh.el (top): Don't require 'shell.
4846 (tramp-methods): Add `tramp-remote-shell' and
4847 `tramp-remote-shell-args' entries.
4848 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4849 (tramp-sh-handle-shell-command): Remove.
4850 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4851 Use `tramp-remote-shell'.
4852
2784c434
CY
48532011-09-03 Chong Yidong <cyd@stupidchicken.com>
4854
393a301e 4855 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4856 (sendmail-query-once): Save directly to send-mail-function.
4857 Update message-send-mail-function too.
4858
4859 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4860
464cdf56
CS
48612011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4862
4863 * progmodes/python.el (python-mode-map): Use correct function to
4864 start python interpreter from menu-bar (as reported by Geert
4865 Kloosterman).
4866 (inferior-python-mode-map): Fix typo.
393a301e 4867 (python-shell-map): Remove.
464cdf56 4868
d37e5c87
DD
48692011-09-03 Deniz Dogan <deniz@dogan.se>
4870
4871 * net/rcirc.el (rcirc-print): Simplify code for
4872 rcirc-scroll-show-maximum-output. There is no need to walk
4873 through all windows to find the right one.
4874
f3ada0ee
CS
48752011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4876
4877 * help.el (help-return-method): Doc fix.
4878
1f3c99ca
MR
48792011-09-03 Martin Rudalics <rudalics@gmx.at>
4880
4881 * window.el (window-deletable-p): Don't return a non-nil value
4882 when there's a buffer that was shown in the window before.
4883 (Bug#9419)
393a301e
SM
4884 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4885 Set window's previous buffers to nil.
1f3c99ca 4886
a3cf097f
EZ
48872011-09-03 Eli Zaretskii <eliz@gnu.org>
4888
4889 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4890 newline before and after the tag line, so it doesn't interfere
4891 with determining the paragraph direction of bidirectional text.
4892
3d03de90
LL
48932011-09-03 Leo Liu <sdl.web@gmail.com>
4894
4895 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
4896
c3313451
CY
48972011-09-02 Chong Yidong <cyd@stupidchicken.com>
4898
393a301e 4899 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
4900 (pop-to-buffer): Change interactive spec. Pass second argument
4901 directly to display-buffer.
4902 (display-buffer): Fix interactive spec. Use functionp to
4903 distinguish between a function and a list of functions.
4904
4905 * abbrev.el (edit-abbrevs):
4906 * arc-mode.el (archive-extract):
4907 * autoinsert.el (auto-insert):
4908 * bookmark.el (bookmark-bmenu-list):
4909 * files.el (find-file):
4910 * view.el (view-buffer):
4911 * progmodes/compile.el (compilation-goto-locus):
4912 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4913
89894cd8
CY
49142011-09-02 Chong Yidong <cyd@stupidchicken.com>
4915
4916 * window.el (display-buffer-alist): Doc fix.
4917 (display-buffer): Add docstring. Don't treat
4918 display-buffer-default specially.
4919 (display-buffer-reuse-selected-window)
4920 (display-buffer-same-window, display-buffer-maybe-same-window)
4921 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4922 (display-buffer-pop-up-window)
4923 (display-buffer-reuse-or-pop-window)
4924 (display-buffer-use-some-window): New functions.
4925 (display-buffer-default-action): Use them.
393a301e 4926 (display-buffer-default): Delete.
89894cd8
CY
4927 (pop-to-buffer-1): Fix choice of actions.
4928
ae0bc9fb
SM
49292011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * minibuffer.el (completion--insert-strings): Don't get confused by
4932 completion entries that end with an LF char.
4933
e9d90883
EZ
49342011-09-01 Eli Zaretskii <eliz@gnu.org>
4935
4936 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4937
437014c8
CY
49382011-09-01 Chong Yidong <cyd@stupidchicken.com>
4939
4940 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
4941 (display-buffer-same-window, display-buffer-other-window):
4942 New functions.
437014c8
CY
4943 (pop-to-buffer-1): New function. Use the above.
4944 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 4945 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
4946
4947 * view.el (view-buffer-other-window, view-buffer-other-frame):
4948 Just use pop-to-buffer.
4949
a5e063d5
TV
49502011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4951
4952 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
4953
793d32bb
WH
49542011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
4955
4956 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
4957
d65e4c15
RS
49582011-08-31 Richard Stallman <rms@gnu.org>
4959
4960 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4961 of the separation of rmail-view-buffer from rmail-buffer.
4962 If you say no to "replace original", the decrypt is in the
4963 view buffer. If you say yes, the decrypt goes into the
4964 rmail buffer also.
4965
f818cd2a
MR
49662011-08-31 Martin Rudalics <rudalics@gmx.at>
4967
4968 * window.el (display-buffer-window): Rewrite doc-string.
4969 (display-buffer-record-window): New function.
4970 (display-buffer-macro-specifiers)
4971 (display-buffer-even-window-sizes, display-buffer-set-height)
4972 (display-buffer-set-width, display-buffer-in-window)
4973 (display-buffer-reuse-window, display-buffer-split-specifiers)
4974 (display-buffer-side-specifiers, display-buffer-split-window-1)
4975 (display-buffer-split-window, display-buffer-split-atom-window)
4976 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4977 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
4978 (display-buffer-other-window-means-other-frame)
4979 (display-buffer-normalize-special)
4980 (display-buffer-normalize-default)
4981 (display-buffer-normalize-argument)
4982 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
4983 (display-buffer-normalize-specifiers, display-buffer-frame)
4984 (display-buffer-same-window, display-buffer-same-frame)
4985 (display-buffer-other-window)
4986 (display-buffer-same-frame-other-window)
4987 (display-buffer-other-frame, pop-to-buffer-same-window)
4988 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
4989 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
4990 (switch-to-buffer-same-frame)
4991 (switch-to-buffer-other-window-same-frame)
4992 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
4993 (display-buffer-alist-set-1, display-buffer-alist-set-2)
4994 (display-buffer-alist-set): Remove.
4995 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
4996 (special-display-regexps, special-display-function):
4997 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
4998 parameter.
4999 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5000 (special-display-frame-alist, special-display-popup-frame)
5001 (same-window-buffer-names, same-window-regexps, same-window-p)
5002 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5003 (split-window-preferred-function, split-height-threshold)
5004 (split-width-threshold, window-splittable-p)
5005 (split-window-sensibly, window--try-to-split-window)
5006 (window--frame-usable-p, even-window-heights)
5007 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5008 (window--display-buffer-2, display-buffer-other-frame):
5009 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5010 (display-buffer-default, display-buffer-assq-regexp): New functions.
5011 (display-buffer-alist): Rewrite doc-string.
5012 (display-buffer-default-action)
5013 (display-buffer-overriding-action): New variables.
5014 (display-buffer, switch-to-buffer): Rewrite.
5015 (pop-to-buffer): Restore Emacs 23 behavior but use
5016 window-normalize-buffer-to-display.
5017 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5018 Restore Emacs 23 behavior but use
5019 window-normalize-buffer-to-switch-to.
5020 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5021 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5022 Rewrite using Emacs 23 options.
f818cd2a 5023
5bc3b51d
MA
50242011-08-31 Michael Albinus <michael.albinus@gmx.de>
5025
5026 * net/tramp.el (tramp-root-regexp): Remove.
5027 (tramp-completion-file-name-regexp-unified)
5028 (tramp-completion-file-name-regexp-separate)
5029 (tramp-completion-file-name-regexp-url): Don't use leading volume
5030 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5031 (tramp-drop-volume-letter): Simplify definition.
5032 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5033
b1a4f8e1
SM
50342011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5037 (bug#9356).
5038
5664fa7b
RT
50392011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5040
b1a4f8e1 5041 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5042
9a45d6c3
JL
50432011-08-29 Juri Linkov <juri@jurta.org>
5044
5045 * isearch.el (isearch-done): Don't display message "Mark saved"
5046 when arg `edit' is non-nil to prevent its flicker in the echo area.
5047
fb87e0fb
CY
50482011-08-28 Chong Yidong <cyd@stupidchicken.com>
5049
5050 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5051 obsolete packages for deletion.
5052
09ac1c2a
CS
50532011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5054
5055 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5056 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5057 view-mode from help-mode.
5058 (help-xref-override-view-map): Remove.
5059 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5060 view-mode is not used anymore.
5061
7a1ff57f
CY
50622011-08-28 Chong Yidong <cyd@stupidchicken.com>
5063
5064 * server.el (server-port): Doc fix.
5065
b9696605
CY
5066 * cus-theme.el (custom-theme-choose-mode): Inherit from
5067 special-mode (Bug#9124).
5068 (custom-theme-choose-mode-map): Add special-mode to parent.
5069
ef8cdf8c
AM
50702011-08-28 Alan Mackenzie <acm@muc.de>
5071
5072 * progmodes/cc-fonts.el
5073 (c-make-font-lock-BO-decl-search-function): New function.
5074 (c-basic-matchers-after - "Fontify the clauses after various
5075 keywords"): Extract the three keyword lists for the 3 erroneous
5076 constructs from the list of four, and use the new function above
5077 in place of an old one.
5078
27de4e20
DD
50792011-08-28 Deniz Dogan <deniz@dogan.se>
5080
5081 * net/rcirc.el (rcirc-insert-prev-input)
5082 (rcirc-insert-next-input): Remove unused argument.
5083
356a3681
SM
50842011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5087
3fc9b218
AM
50882011-08-27 Alan Mackenzie <acm@muc.de>
5089
5090 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5091 handle function pointer parameters properly.
5092
538a061c
MR
50932011-08-27 Martin Rudalics <rudalics@gmx.at>
5094
5095 * window.el (display-buffer-reuse-window): Fix case where
5096 selected window was reused with non-nil OTHER-WINDOW argument.
5097 (Bug#9381)
5098
35b1c40c
DD
50992011-08-27 Deniz Dogan <deniz@dogan.se>
5100
5101 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5102 oftc's NickServ messages.
5103
2f6a3e79
GM
51042011-08-27 Glenn Morris <rgm@gnu.org>
5105
5106 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5107
7254299e
CY
51082011-08-26 Chong Yidong <cyd@stupidchicken.com>
5109
5110 * emacs-lisp/package.el (package-install): Call package-initialize
5111 if called interactively.
5112
f8ccf167
LL
51132011-08-26 Leo Liu <sdl.web@gmail.com>
5114
5115 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5116
3e8cd5ce
JL
51172011-08-25 Juri Linkov <juri@jurta.org>
5118
5119 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5120 `search-whitespace-regexp' (bug#9364).
5121
93eb7113
JL
51222011-08-25 Juri Linkov <juri@jurta.org>
5123
5124 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5125 `regexp-search-ring' to their global values to protect from
5126 updating by `read-from-minibuffer' (bug#9185).
5127
f65d1611
JL
51282011-08-25 Juri Linkov <juri@jurta.org>
5129
5130 * textmodes/ispell.el (ispell-command-loop): Add newline
5131 at the end of the "Use option `i'..." line.
5132
f1cf7a31
JL
51332011-08-25 Juri Linkov <juri@jurta.org>
5134
5135 * battery.el (display-battery-mode): If `battery-status-function'
5136 or `battery-mode-line-format' is nil, display the message and set
5137 `display-battery-mode' to nil (bug#9363).
5138
0c95fcf7
EZ
51392011-08-25 Eli Zaretskii <eliz@gnu.org>
5140
5141 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5142 bidi-string-mark-left-to-right; they are unnecessary now.
5143
a2ebe600
DD
51442011-08-25 Deniz Dogan <deniz@dogan.se>
5145
5146 * net/quickurl.el: Documentation typo fixes.
5147
e4ed06f1
CY
51482011-08-25 Chong Yidong <cyd@stupidchicken.com>
5149
5150 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5151
e5f1c99e
GM
51522011-08-25 Glenn Morris <rgm@gnu.org>
5153
b2948976
GM
5154 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5155
e5f1c99e
GM
5156 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5157 (smtpmail-via-smtp): Handle nil response from smtp.
5158
f22f4808
JL
51592011-08-24 Juri Linkov <juri@jurta.org>
5160
5161 * proced.el (proced-marked): Inherit from `error' instead of
5162 `font-lock-warning-face'.
5163
5164 * ibuffer.el (ibuffer-marked-face): Change default face from
5165 `font-lock-warning-face' to `warning'.
5166 (ibuffer-deletion-face): Change default face from
5167 `font-lock-type-face' to `error'.
5168
5169 * battery.el (battery-update): Use the face `error' instead of
5170 `font-lock-warning-face' (bug#6117).
5171
6a93965e
JL
51722011-08-24 Juri Linkov <juri@jurta.org>
5173
5174 * faces.el (success): Change face color from "Green3" to
5175 "ForestGreen" on light background (bug#9353).
5176
1ed43b09
CY
51772011-08-24 Chong Yidong <cyd@stupidchicken.com>
5178
5664fa7b
RT
5179 * window.el (quit-window): Rename from quit-restore-window.
5180 Use same arglist as old quit-window.
1ed43b09
CY
5181 (frame-auto-delete): Doc fix.
5182
5183 * view.el (view-mode-exit): Use quit-window.
5184
11dcdbb2
JL
51852011-08-24 Juri Linkov <juri@jurta.org>
5186
5187 * isearch.el (isearch-ring-adjust1): Start visiting previous
5188 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5189 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5190 for empty search string (when the last search string is reused
5191 automatically) to adjust the isearch ring to the last element and
5192 prepare the correct index for further M-p commands (bug#9185).
5193
de62b4df
KH
51942011-08-24 Kenichi Handa <handa@m17n.org>
5195
5196 * international/ucs-normalize.el: If decomposition property of
5197 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5198 nil.
5199 (nfd, nfkd): Likewise.
5200
963b492b
SM
52012011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5202
5203 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5204 from process filters aren't reliably transmitted to the surrounding
5205 accept-process-output.
5206 (mpc-proc-check): New function.
5207 (mpc-proc-sync): Use it (bug#8293)
5208
93b6b5e1
SM
52092011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5210
5211 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5212 Add compatibility functions (bug#9313).
5213
bca633fb
EZ
52142011-08-23 Eli Zaretskii <eliz@gnu.org>
5215
b177498a
EZ
5216 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5217
6df6ae42 5218 * international/uni-bidi.el: Regenerate.
bca633fb 5219
0902a04e
KH
52202011-08-23 Kenichi Handa <handa@m17n.org>
5221
5222 * international/charprop.el:
5223 * international/uni-bidi.el:
5224 * international/uni-category.el:
5225 * international/uni-combining.el:
5226 * international/uni-comment.el:
5227 * international/uni-decimal.el:
5228 * international/uni-decomposition.el:
5229 * international/uni-digit.el:
5230 * international/uni-lowercase.el:
5231 * international/uni-mirrored.el:
5232 * international/uni-name.el:
5233 * international/uni-numeric.el:
5234 * international/uni-old-name.el:
5235 * international/uni-titlecase.el:
5236 * international/uni-uppercase.el: Regenerate.
5237
3bbf23bc
MR
52382011-08-23 Martin Rudalics <rudalics@gmx.at>
5239
5240 * help.el (help-window-setup): Fix message displayed when other
5241 window is reused. (Bug#9341)
5242
b3fd59bd
SM
52432011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5244
1802e444
SM
5245 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5246 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5247
b3fd59bd
SM
5248 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5249 Mark obsolete.
5250 * shell.el (shell-parse-pcomplete-arguments): New function.
5251 (shell-completion-vars): Use it instead (bug#9160).
5252
4eb61348
SM
52532011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5254
867cab74
SM
5255 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5256 strings and comments (bug#9333).
5257
4eb61348
SM
5258 * emacs-lisp/debug.el (debug-arglist): New function.
5259 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5260 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5261
262a1439
JL
52622011-08-22 Juri Linkov <juri@jurta.org>
5263
56ee679c
JL
5264 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5265 Revert regexp that highlights output switches to its old
5266 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5267
262a1439
JL
5268 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5269 to check for empty output (bug#9226).
5270
f13f86fb
CY
52712011-08-22 Chong Yidong <cyd@stupidchicken.com>
5272
5273 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5274 symbol-constituent as the default, as that stops font-lock from
5275 working properly (Bug#8843).
5276
c65c9622
LMI
52772011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5278
5279 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5280 `coding-system-for-*' around the process open call to avoid
5281 auth-source side effects.
e7f2c178 5282 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5283 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5284 probe hangs.
c65c9622 5285
23a8a5ab
CY
52862011-08-21 Chong Yidong <cyd@stupidchicken.com>
5287
ff98b2dd
CY
5288 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5289
23a8a5ab
CY
5290 * emacs-lisp/find-func.el (find-function-noselect): New arg
5291 lisp-only.
5292
5293 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5294 signal an error for built-in functions (Bug#6664).
5295
f5e3c598
LMI
52962011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5297
5298 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5299 (smtpmail-try-auth-methods): Use it.
5300
a3f2468a
CY
53012011-08-21 Chong Yidong <cyd@stupidchicken.com>
5302
2c34e8da
CY
5303 * font-lock.el (font-lock-fontify-region)
5304 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5305 (font-lock-default-unfontify-buffer)
5306 (font-lock-default-fontify-region)
5307 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5308
b3fd59bd
SM
5309 * progmodes/compile.el (compilation-error-properties):
5310 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5311 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5312 `ant' regexp.
ee31aabc 5313
a3f2468a
CY
5314 * net/browse-url.el (browse-url-firefox): Don't call
5315 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5316
8e999f70
GM
53172011-08-20 Glenn Morris <rgm@gnu.org>
5318
c21a496a
GM
5319 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5320
59ee0542
GM
5321 * tutorial.el (tutorial--default-keys): Update some default bindings.
5322
8e999f70
GM
5323 * files.el (hack-local-variables): Fully ignore case for "mode:".
5324
e3715033
AM
53252011-08-20 Alan Mackenzie <acm@muc.de>
5326
5327 Resolve invalid use of a regexp in regexp-opt.
5328
4d61f28d
JB
5329 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5330 detection for a java annotation.
e3715033 5331
4d61f28d 5332 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5333 detection for a java annotation.
5334
4d61f28d
JB
5335 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5336 handling for java.
e3715033
AM
5337 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5338
04ed2e9c
CY
53392011-08-20 Chong Yidong <cyd@stupidchicken.com>
5340
5341 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5342 (Bug#9274).
5343
826cee64
AM
53442011-08-20 Alan Mackenzie <acm@muc.de>
5345
58179cce 5346 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5347 such a construct. Mainly for when jit-lock etc. starts a chunk
5348 here.
5349
58179cce 5350 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5351 variable.
58179cce 5352 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5353 c-make-font-lock-search-function.
5354 (c-make-font-lock-search-function): Use the above function.
5355 (c-make-font-lock-context-search-function): New function.
5356 (c-cpp-matchers): Enhance the preprocessor expression case with
5357 the above function
5358 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5359 which takes an expression.
5360
5361 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5362
13009bd8
MR
53632011-08-20 Martin Rudalics <rudalics@gmx.at>
5364
5365 * window.el (display-buffer-reuse-window)
5366 (display-buffer-pop-up-window): Don't reuse or split a side
5367 window.
5368
9234ff7f
GM
53692011-08-19 Glenn Morris <rgm@gnu.org>
5370
5371 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5372 Downcase "Mode:". (Bug#9331)
9234ff7f 5373
f635daa1
CY
53742011-08-18 Chong Yidong <cyd@stupidchicken.com>
5375
5376 * international/characters.el: Add L and R categories.
5377
5378 * subr.el (bidi-string-mark-left-to-right): Rename from
5379 string-mark-left-to-right. Use category search.
5380
5381 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5382
bc987f8b
JL
53832011-08-18 Juri Linkov <juri@jurta.org>
5384
5385 * faces.el (error, warning, success): New faces with definitions
5386 copied from old default values of `font-lock-warning-face',
5387 `compilation-warning', `compilation-info' (bug#6117).
5388
5389 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5390
5391 * progmodes/compile.el (compilation-error): Inherit from `error'.
5392 (compilation-warning): Inherit from `warning'.
5393 (compilation-info): Inherit from `success'.
5394
5395 * dired.el (dired-marked): Inherit from `warning'.
5396 (dired-flagged): Inherit from `error'.
5397
57173b96
LMI
53982011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5399
3e79eb87
LMI
5400 * mail/smtpmail.el (auth-source): Require to avoid problems with
5401 binding variables (bug#9298). Also clean up some unused
5402 autoloads.
5403
b3fd59bd
SM
5404 * net/network-stream.el (network-stream-open-starttls):
5405 Support using starttls.el without using gnutls-cli.
57173b96 5406
02b404de
JL
54072011-08-17 Juri Linkov <juri@jurta.org>
5408
5409 * progmodes/grep.el (rgrep): Handle the case when
5410 `grep-find-command' is a cons cell (bug#9278).
5411
8c9177f2
MR
54122011-08-17 Martin Rudalics <rudalics@gmx.at>
5413
5414 * window.el (display-buffer-pop-up-frame): Run frame creation
5415 function with BUFFER current (as special-display-popup-frame
5416 does). Reported by Drew Adams.
5417
3644a0ab
DU
54182011-08-17 Daiki Ueno <ueno@unixuser.org>
5419
5420 * epa-mail.el: Simplify GnuPG group expansion using
5421 epg-expand-group.
5422 (epa-mail-group-alist, epa-mail-group-modtime)
5423 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5424 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5425 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5426 Remove.
5427
5e617bc2 54282011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5429
5430 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5431
9c4aeabf
AM
54322011-08-16 Alan Mackenzie <acm@muc.de>
5433
5434 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5435 Correct, to avoid the inside of macros.
5436
3a99bf64
RS
54372011-08-16 Richard Stallman <rms@gnu.org>
5438
04963aa8
RS
5439 * epa-mail.el: Handle GnuPG group definitions.
5440 (epa-mail-group-alist, epa-mail-group-modtime)
5441 (epa-mail-gnupg-conf-file): New variables.
5442 (epa-mail-parse-groups, epa-mail-sync-groups)
5443 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5444 (epa-mail-expand-recipients): New functions.
5445 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5446
177549d0
RS
5447 * mail/rmail.el (rmail-epa-decrypt): New command.
5448
fe38beef
RS
5449 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5450 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5451 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5452 (epa-decrypt-armor-in-region): Make error message clearer.
5453
934eacb9
SM
54542011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5455
5456 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5457 and "a2b" to "ab" for `prefix'.
5458
d024fb4e
CY
54592011-08-14 Chong Yidong <cyd@stupidchicken.com>
5460
5461 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5462 filter groups.
de148fee
CY
5463 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5464 Fourquet (Bug#8804).
d024fb4e 5465
62f1ca49
JB
54662011-08-12 Juanma Barranquero <lekktu@gmail.com>
5467
5468 * startup.el (argi): Declare as global variable (bug#9275).
5469
9ccaaa4b
CY
54702011-08-12 Chong Yidong <cyd@stupidchicken.com>
5471
5472 * subr.el (string-mark-left-to-right): Search the entire string
5473 for RTL script, not just the terminating character. Doc fix.
5474
a3dae87a
SM
54752011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5476
6cd18349
SM
5477 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5478 New function.
5479 (js--regexp-literal, js-syntax-propertize-function): Remove.
5480 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5481 (js-mode-map): Don't rebind electric keys.
5482 (js-insert-and-indent): Remove.
5483 (js-mode): Setup electric-layout and electric-indent instead.
5484
a3dae87a
SM
5485 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5486
9d5cb631
DU
54872011-08-12 Daiki Ueno <ueno@unixuser.org>
5488
5489 * epa.el (epa-progress-callback-function): Fix the logic of
5490 displaying progress.
5491 * epa-file.el (epa-file-insert-file-contents): Make progress
5492 display more user-friendly.
5493 (epa-file-write-region): Ditto.
5494
3e26a4a2
CY
54952011-08-10 Chong Yidong <cyd@stupidchicken.com>
5496
5497 * subr.el (string-mark-left-to-right): New function.
5498
5499 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5500 Use string-mark-left-to-right.
5501 (list-buffers-noselect): Caller changed.
5502
a3dae87a
SM
5503 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5504 Use string-mark-left-to-right.
3e26a4a2
CY
5505 (tabulated-list-print): Recenter after moving point.
5506
ac8cf6e6
JL
55072011-08-10 Juri Linkov <juri@jurta.org>
5508
5509 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5510 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5511 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5512
8d96c9a4
CY
55132011-08-09 Chong Yidong <cyd@stupidchicken.com>
5514
5515 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5516 (Bug#7554).
5517
7be1c708 55182011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5519
5520 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5521 character. (Bug#6594)
5522
37e11a63
CY
55232011-08-08 Chong Yidong <cyd@stupidchicken.com>
5524
839dde57
CY
5525 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5526 (image-dired--with-db-file): New macro.
5527 (image-dired-write-tags, image-dired-remove-tag)
5528 (image-dired-create-gallery-lists, image-dired-write-comments)
5529 (image-dired-get-comment, image-dired-mark-tagged-files)
5530 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5531 (image-dired-gallery-generate): Use insert-file-contents.
5532
37e11a63
CY
5533 * time.el (display-time-world-list, display-time-world-display):
5534 * time-stamp.el (time-stamp-string):
5535 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5536 set-time-zone-rule (Bug#7337).
5537
0b4946c4
DU
55382011-08-08 Daiki Ueno <ueno@unixuser.org>
5539
5540 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5541 (epg-error-to-string, epg-errors-to-string): New function.
5542 (epg-wait-for-completion): Reverse errors list.
5543 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5544 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5545 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5546 (epg-sign-keys, epg-generate-key-from-file)
5547 (epg-generate-key-from-string): Format errors by using
5548 epg-errors-to-string (bug#9255).
5549 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5550
75bfc667
JL
55512011-08-07 Juri Linkov <juri@jurta.org>
5552
5553 * faces.el (list-faces-display): Remove extra angle bracket
5554 from `help-mode-map'.
5555
5556 * info.el (Info-history-toc-nodes): Doc fix.
5557
5558 * longlines.el (longlines-mode): Doc fix.
5559
673e08bb
SM
55602011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5561
4640dd88
SM
5562 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5563 of statements and in a few more cases (bug#9183).
5564
673e08bb
SM
5565 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5566 New functions.
5567 (cl-transform-lambda): Use them (bug#9239).
5568
89b3f019
MR
55692011-08-05 Martin Rudalics <rudalics@gmx.at>
5570
5571 * window.el (display-buffer-same-window)
5572 (display-buffer-same-frame, display-buffer-other-window)
5573 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5574 (pop-to-buffer-other-window)
5575 (pop-to-buffer-same-frame-other-window)
5576 (pop-to-buffer-other-frame): Make them defuns.
5577 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5578
640c8776
SM
55792011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * subr.el (make-composed-keymap): Move from C. Change calling
5582 convention, and improve docstring to bring attention to a subtle point.
5583 * minibuffer.el (completing-read-default): Adjust accordingly.
5584
63648a95
MA
55852011-08-03 Michael Albinus <michael.albinus@gmx.de>
5586
5587 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5588 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5589
5590 * net/trampver.el: Update release number.
5591
b796c9b7
SM
55922011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5593
5594 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5595 "in" (bug#9190).
5596
2239d7d5
LMI
55972011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5598
e07dd7c3
LMI
5599 * mail/sendmail.el (sendmail-query-once): Restore the current
5600 buffer after querying (bug#9074).
5601
0e6a2bd7
LMI
5602 * dired.el (dired-flagged): Use different faces for marked and
5603 flagged files (bug#6117).
5604
ce887515
LMI
5605 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5606 (bug#4433).
5607
92f2affc
LMI
5608 * ido.el (ido-mode): Switch off the message if called
5609 non-interactively.
5610
57d5aff0
LMI
5611 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5612 before 587, since it appears that that's more likely to work for
5613 more people.
5614
98cd6c18 5615 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5616 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5617 exist.
5618
b96dec83
LMI
5619 * info.el: Remove the `Info-beginning-of-buffer' function
5620 (bug#8325).
5621
b796c9b7
SM
5622 * net/network-stream.el (network-stream-open-starttls):
5623 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5624
d90e2ea0
MR
56252011-08-01 Martin Rudalics <rudalics@gmx.at>
5626
5627 * window.el (display-buffer-in-window): Don't set dedicated status
5628 of window here (Bug#9215).
5629 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5630 (display-buffer-pop-up-side-window)
b796c9b7 5631 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5632
cca09170
SM
56332011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5636 before binding generated-autoload-file.
5637
027b979c
DD
56382011-08-01 Deniz Dogan <deniz@dogan.se>
5639
5640 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5641
3c7ee4f3
MA
56422011-07-30 Michael Albinus <michael.albinus@gmx.de>
5643
5644 Sync with Tramp 2.2.2.
5645
5646 * net/trampver.el: Update release number.
5647
2cc8e51a
JL
56482011-07-30 Juri Linkov <juri@jurta.org>
5649
5650 * dired-aux.el (dired-touch-initial): Remove function.
5651 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5652 current time, and `default' to the last modification time of the
5653 current marked file (bug#6887).
5654
a514d856
JM
56552011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5656
5657 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5658 numeric argument to read-number (bug#9163).
a514d856 5659
8a7eddd7
MA
56602011-07-27 Michael Albinus <michael.albinus@gmx.de>
5661
5662 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5663 connection process, it could be nil.
5664
1ddd96f5
LL
56652011-07-27 Leo Liu <sdl.web@gmail.com>
5666
5667 Simplify url handling in rcirc-mode.
5668
5669 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5670 (rcirc-browse-url-at-mouse): Remove.
5671 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5672
b248a85d
AM
56732011-07-26 Alan Mackenzie <acm@muc.de>
5674
5675 Fontify bitfield declarations properly.
5676
5677 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5678 (c-symbol-chars): Now exported as a lang variable.
5679 (c-not-primitive-type-keywords): New lang variable.
5680
5681 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5682 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5683 parsed as a bitfield declaration.
b248a85d 5684
b796c9b7
SM
5685 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5686 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5687 (c-punctuation-in): New function.
5688 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5689 declarations properly.
5690
68575ab0
UJ
56912011-07-26 Ulf Jasper <ulf.jasper@web.de>
5692
5693 * calendar/icalendar.el (icalendar--all-events): Take care of
5694 multiple vcalendars in a single file.
b796c9b7 5695 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5696
0f0a88b9
DD
56972011-07-25 Deniz Dogan <deniz@dogan.se>
5698
5699 * image.el (insert-image): Clarifying docstring.
5700
0b3f36df
MA
57012011-07-24 Michael Albinus <michael.albinus@gmx.de>
5702
5703 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5704 `tramp-send-command-and-check' if there is no error.
5705 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5706
a9901f61
AM
57072011-07-22 Alan Mackenzie <acm@muc.de>
5708
5709 Prevent cc-langs.elc being loaded at run time.
5710
5711 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5712 cc-langs.
5713
4d61f28d 5714 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5715 "(require 'cc-langs)". Quote a form so it will evaluate at
5716 (cc-mode's) compilation time.
5717
11d074b2
MA
57182011-07-22 Michael Albinus <michael.albinus@gmx.de>
5719
5720 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5721 loading. (Bug#9114)
5722
938b94c8
MR
57232011-07-21 Martin Rudalics <rudalics@gmx.at>
5724
5725 * window.el (display-buffer-pop-up-window)
5726 (display-buffer-pop-up-side-window)
5727 (display-buffer-in-side-window): Call display-buffer-set-height
5728 and display-buffer-set-width after setting the new window's
b796c9b7 5729 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5730
bfa4f190
SS
57312011-07-20 Sam Steingold <sds@gnu.org>
5732
5733 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5734 (etags-tags-included-tables): Call `convert-standard-filename' on
5735 the file names contained in TAGS so that windows Emacs can handle
5736 TAGS files created by cygwin ctags.
5737
8ca42262
LMI
57382011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5739
5740 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5741 which apparently didn't work.
5742
5db2afd2 57432011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5744
5db2afd2
RW
5745 * proced.el (proced-send-signal): For *Marked Processes* buffer
5746 put point at beginning of buffer.
5747
92e15d10
SB
57482011-07-19 Stephen Berman <stephen.berman@gmx.net>
5749
5750 * proced.el (proced-format): Make header lines align with the text
5751 (bug#1779).
5752
1bfd59e5
LMI
57532011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5754
5755 * view.el (view-buffer): Allow running in `special' modes if we're
5756 visiting a file (bug#8615).
5757
f5aae37c
MR
57582011-07-19 Martin Rudalics <rudalics@gmx.at>
5759
5760 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5761 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5762 New functions.
f5aae37c
MR
5763 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5764 more accurately.
5765
bf2c1571
AM
57662011-07-18 Alan Mackenzie <acm@muc.de>
5767
5768 Fontify declarators properly when, e.g., a jit-lock chunk begins
5769 inside a declaration.
5770
5771 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5772
b796c9b7
SM
5773 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5774 New function.
bf2c1571
AM
5775 (c-complex-decl-matchers): Insert reference to
5776 c-font-lock-enclosing-decls.
5777
5778 * progmodes/cc-engine.el (c-backward-single-comment):
5779 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5780 to nil around calls to (forward-comment -1).
5781
4e190b80
LMI
57822011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5783
12dc863d
LMI
5784 * image.el (put-image): Doc typo fix.
5785
a762e966
LMI
5786 * progmodes/etags.el (tags-search): Doc typo fix.
5787
4e190b80
LMI
5788 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5789 password if we get errors 550 to 554.
5790
f019fb21
LMI
57912011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5792
b796c9b7 5793 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5794
81746738
LMI
5795 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5796 indentation character (bug#6380).
5797
3ee3a1b5
LMI
5798 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5799
c82f64de
LMI
5800 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5801 to clarify what the problem is (bug#4291).
5802
f019fb21
LMI
5803 * simple.el (current-kill): Clarify what
5804 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5805 (auto-fill-mode): Document `auto-fill-function' in relation to
5806 `auto-fill-mode' (bug#2470).
f019fb21 5807
0794775d
LM
58082011-07-16 Lawrence Mitchell <wence@gmx.li>
5809
5810 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5811 method if slot is read-only (bug#9035).
5812
be39b8cc
MR
58132011-07-16 Martin Rudalics <rudalics@gmx.at>
5814
b796c9b7 5815 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5816 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5817 selected before, see discussion of (Bug#8615), (Bug#6954).
5818 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5819
6ccf7859
GM
58202011-07-15 Glenn Morris <rgm@gnu.org>
5821
5822 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5823 Respect help-form.
6ccf7859 5824
87e86684
LM
58252011-07-09 Lawrence Mitchell <wence@gmx.li>
5826
5827 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5828 (gnutls-negotiate): Use it.
5829
d6066239
LMI
58302011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5831
b796c9b7
SM
5832 * net/gnutls.el (gnutls-negotiate):
5833 Upcase `gnutls-algorithm-priority'.
d6066239 5834
bd23ebc0
GM
58352011-07-15 Glenn Morris <rgm@gnu.org>
5836
c65bca65
GM
5837 * jka-compr.el (jka-compr-verbose): Move from here...
5838 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5839 Add missing :version tag.
5840 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5841
478615cc
LMI
58422011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5843
7b41decb
LMI
5844 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5845 (gnutls-negotiate): Use it.
5846
dbc44fcd
LMI
5847 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5848
06789f97
LMI
5849 * info.el (Info-beginning-of-buffer): New command.
5850 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5851 announcing `b' as the key (bug#8325).
ab896c37 5852 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5853
c39da690
LMI
5854 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5855
3aa5f34b
LMI
5856 * international/mule-cmds.el
5857 (describe-specified-language-support): Make the error message
5858 clearer (bug#8905).
5859
4bf0979f
LMI
5860 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5861
478615cc
LMI
5862 * isearch.el (isearch-barrier): Add a doc string, since it's
5863 mentioned in a function doc string (bug#8678).
5864
75c68aa1
MR
58652011-07-15 Martin Rudalics <rudalics@gmx.at>
5866
5867 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5868 buffer argument (Bug#9083) and self-identifying label argument.
5869
a7c33da2
GM
58702011-07-15 Glenn Morris <rgm@gnu.org>
5871
5872 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5873
2f5c6024
LMI
58742011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5875
5876 * man.el (Man-fontify-manpage): Fix message when formatting the
5877 man page (bug#7929).
5878
0bb23927 58792011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
5880
5881 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5882 argument LRM; if non-nil, append an invisible LRM character to the
5883 buffer name.
5884 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5885 last argument non-nil, when formatting buffer names.
0bb23927
EZ
5886 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5887 paragraph direction.
cce4b0a7 5888
621ef9ab
LMI
58892011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5890
d1583c48
LMI
5891 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5892 the man page name (bug#7929).
5893
6a57fb5f
LMI
5894 * image.el (put-image): Mention the `put-image' overlay property
5895 (bug#7834).
5896
d7956b14
LMI
5897 * scroll-bar.el (set-scroll-bar-mode): Mention that
5898 `scroll-bar-mode' lists the values (bug#7772).
5899
5b2d4a66
LMI
5900 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5901 command (bug#7729).
5902
7509a874
LMI
5903 * rect.el (apply-on-rectangle): Return the point after the last
5904 operation.
5905 (string-rectangle): Go to the point after the last operation
5906 (bug#7522).
5907
4fe74b19
LMI
5908 * printing.el (pr-toggle-region): Clarify the documentation
5909 slightly (bug#7493).
5910
b796c9b7
SM
5911 * time.el (display-time-update):
5912 Allow `display-time-mail-function' to return nil (bug#7158).
5913 Fix suggested by Detlev Zundel.
ab283561 5914
fc233c9d
LMI
5915 * vc/diff.el (diff): Clarify the order the file names are read
5916 (bug#7111).
5917
43f5740b
LMI
5918 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5919 the doc string (bug#7015).
5920
f2182a76
LMI
5921 * font-lock.el (font-lock-maximum-decoration): Mention what
5922 numeric levels mean (bug#6935).
5923
621ef9ab
LMI
5924 * startup.el (initial-buffer-choice): Don't mention the `none'
5925 selection, which is against policy.
5926
adc47434
MR
59272011-07-14 Martin Rudalics <rudalics@gmx.at>
5928
b796c9b7
SM
5929 * window.el (display-buffer-normalize-special):
5930 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 5931
7e5bfb8f
EZ
59322011-07-14 Eli Zaretskii <eliz@gnu.org>
5933
5934 * subr.el (version<, version<=, version=): Mention "-CVS" and
5935 "-12345" alpha version numbers.
5936
27fa387a
CY
59372011-07-14 Chong Yidong <cyd@stupidchicken.com>
5938
5939 * bindings.el: Add advertised binding for set-mark-command
5940 (Bug#5772).
5941
8bdfa064
CY
59422011-07-14 Chong Yidong <cyd@stupidchicken.com>
5943
5944 * bindings.el (mode-line-other-buffer):
5945 * bookmark.el (bookmark-bmenu-2-window):
5946 * bs.el (bs-cycle-next, bs-cycle-previous):
5947 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5948 switch-to-buffer.
5949
5950 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 5951 Delete.
8bdfa064 5952
5eba16a3
JB
59532011-07-14 Juanma Barranquero <lekktu@gmail.com>
5954
5955 * follow.el (follow-debug-message, follow-redisplay):
5956 * jka-cmpr-hook.el (with-auto-compression-mode):
5957 Fix typos in docstrings.
5958
15853710
LMI
59592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5960
a28e4607
LMI
5961 * subr.el (with-silent-modifications): Clarify somewhat what the
5962 macro inhibits (bug#6525).
5963
15853710
LMI
5964 * simple.el (eval-expression): Note what it does if called
5965 interactively (bug#6495).
5966
bee0fcef
CY
59672011-07-13 Chong Yidong <cyd@stupidchicken.com>
5968
b796c9b7
SM
5969 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
5970 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
5971
5972 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5973 Remove switch-to-buffer.
5974
58274504
LMI
59752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5976
bd2fcc8d
LMI
5977 * files.el (make-directory): Clarify that an error will be raised
5978 if there's an error (bug#6397).
5979
0f04b32c
LMI
5980 * startup.el (initial-buffer-choice): Add `none' as a choice
5981 (bug#6234).
5982
465c5fc8
LMI
5983 * subr.el (add-hook): Clarify section about buffer-local hooks
5984 (bug#6218).
5985
58274504
LMI
5986 * dired.el (dired-flagged): Clarify doc string (bug#6117).
5987
bead9a43
JB
59882011-07-13 Juanma Barranquero <lekktu@gmail.com>
5989
5990 * tabify.el (untabify): Preserve the current column so that point
5991 doesn't move (bug#6032).
5992
3af98a7b
LMI
59932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5994
b796c9b7
SM
5995 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
5996 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 5997
6240145a
GM
59982011-07-13 Glenn Morris <rgm@gnu.org>
5999
6000 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6001 (dired-insert-directory): Give a message the first time
6002 if ls is found not to support --dired.
6003
1d8c2ccc
LMI
60042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6005
6006 * simple.el (toggle-truncate-lines): Clarify what is toggled
6007 (bug#5580). Text by Drew Adams.
6008
5fc4038e
CY
60092011-07-13 Chong Yidong <cyd@stupidchicken.com>
6010
6011 * simple.el (blink-matching-open): Make the error message from the
6012 last change less verbose.
6013
bf6012e5
DN
60142011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6015
6016 * font-lock.el (font-lock-comment-face): Use the high contrast
6017 "yellow" color for font-lock-comment-face on low color terminals
6018 using a dark background color (bug#4221).
6019
343c3b5a
LMI
60202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6021
7e9505c5
LMI
6022 * dired.el (dired-insert-set-properties): Make the doc string
6023 reflect what it does now (bug#5325).
6024
c26fdcf5
LMI
6025 * simple.el (blink-matching-open): Say that we were unable to find
6026 the match within the limit, if we're limited (bug#5122).
6027
bb388cc5
LMI
6028 * international/mule-cmds.el (prefer-coding-system): Add an
6029 example (bug#4869).
6030
343c3b5a
LMI
6031 * progmodes/etags.el (tags-search): Document `file-list-form'
6032 (bug#4731).
6033
2a517d45
LM
60342011-07-13 Lawrence Mitchell <wence@gmx.li>
6035
6036 * net/browse-url.el (browse-url-default-browser)
6037 (browse-url-browser-function): Make the default browser choice a
6038 bit more logical (bug#4300). Also clean up the doc string.
6039
b6c78ef2
JB
60402011-07-13 Juanma Barranquero <lekktu@gmail.com>
6041
6042 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6043 binary endings (bug#4440).
6044
1c4dd947
LMI
60452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6046
a2014063
LMI
6047 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6048 which can be pretty annoying (bug#8971).
6049
9c9c2d88
LMI
6050 * jka-compr.el (jka-compr-verbose): New variable, and use
6051 throughout (bug#8971).
6052
1c4dd947
LMI
6053 * info.el (Info-find-file): Fall back on the installation
6054 directory if we can't find the info node anywhere else.
6055
a1c9f41b
SO
60562011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6057
6058 * vc/vc.el (vc-revert-file):
6059 Don't set file time-stamp in the past. (Bug#5181)
6060
536f3d36
LMI
60612011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6062
7152b011
LMI
6063 * files.el (after-find-file): Give a better error message when
6064 trying to find a symlink that points to a file that doesn't exist
6065 (bug#4398).
6066
536f3d36
LMI
6067 * progmodes/cc-vars.el: Remove (probably) misleading comment
6068 (bug#4396).
6069
460c0fba
JB
60702011-07-12 Johan Bockgård <bojohan@gnu.org>
6071
6072 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6073
7a6bda45
CY
60742011-07-12 Chong Yidong <cyd@stupidchicken.com>
6075
6076 * mouse-sel.el: Hack restoring functionality, while keeping
6077 compatibility with 2010-07-03 changes to mouse selection.
6078 (mouse-sel-primary-overlay): New var.
6079 (mouse-sel-selection-alist): Use it.
6080 (mouse-sel-mode): Doc fix; remove points that are default features
6081 of mouse.el.
6082
c79598ef
JB
60832011-07-12 Johan Bockgård <bojohan@gnu.org>
6084
6085 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6086 Fix previous fix (bug#2490).
6087
ff8be6ef
RW
60882011-07-12 Roland Winkler <winkler@gnu.org>
6089
b796c9b7
SM
6090 * textmodes/bibtex.el (bibtex-initialize):
6091 Use pop-to-buffer-same-window.
ff8be6ef
RW
6092 (bibtex-search-entries): Fix interactive call.
6093
296ba3ee
LMI
60942011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6095
f5242a02 6096 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6097 Fontise bytecomp Error lines more correctly (bug#2490).
6098 Fix suggested by Johan Bockgård.
f5242a02 6099
296ba3ee
LMI
6100 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6101
6102 * dired-x.el (dired-guess-default): Use `delete-dups'.
6103
f69fd0d2
CY
61042011-07-12 Chong Yidong <cyd@stupidchicken.com>
6105
6106 * dired.el (dired-mark-prompt):
6107 * dired-aux.el (dired-read-shell-command): Doc fix.
6108
eab5dc07
LMI
61092011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6110
b796c9b7
SM
6111 * mail/sendmail.el (sendmail-query-once):
6112 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6113 emacs -Q.
6114
6115 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6116
eab5dc07
LMI
6117 * cus-edit.el (custom-file): Take an optional no-error variable.
6118 (customize-save-variable): Set the variable, and give a warning if
6119 running under "emacs -q".
6120
a1e65d42
JB
61212011-07-11 Juanma Barranquero <lekktu@gmail.com>
6122
6123 * loadhist.el (unload-feature-special-hooks):
6124 Add `auto-coding-functions', `fill-nobreak-predicate' and
6125 `find-directory-functions' (bug#5327).
6126
1d52da10
LMI
61272011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6128
be958f1d
LMI
6129 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6130
5bedb26c
LMI
6131 * cus-edit.el (custom-guess-name-alist): -alist variables should
6132 use the `alist' type (bug#3120). Suggested by Drew Adams.
6133
1d52da10
LMI
6134 * printing.el: Add documentation to all the `pr-toggle-' commands.
6135
cd394be1 61362011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6137
6138 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6139 backends where it makes sense (bug#2623).
6140
dcc88d8a
LMI
61412011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6142
c3de9feb
LMI
6143 * dired-x.el (dired-guess-default): Remove duplicate shell command
6144 entries (bug#2028).
8a93078b 6145 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6146 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6147
dcc88d8a
LMI
6148 * subr.el (remove-duplicates): New conveniency function.
6149
505e3645
LMI
61502011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6151
6152 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6153 (bug#1526).
6154
61552011-07-10 Martin Rudalics <rudalics@gmx.at>
6156
6157 * window.el (display-buffer-normalize-default): Don't invert
6158 meaning of even-window-heights. Reported by Eli Zaretskii
6159 <eliz@gnu.org>.
6160
455e4fa1
BR
61612011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6162
6163 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6164
8e0bc3e9
CY
61652011-07-10 Chong Yidong <cyd@stupidchicken.com>
6166
6167 * window.el (display-buffer): Fix arguments to
6168 display-buffer-reuse-window in last change.
6169
fa7c3228
CY
6170 * faces.el (link): Use a less saturated blue on light backgrounds.
6171
6172 * startup.el (fancy-startup-text, fancy-about-text)
6173 (fancy-startup-tail): Use font-lock faces, for background safety.
6174
c0a7f300
BN
61752011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6176
b796c9b7
SM
6177 * emulation/viper-cmd.el (viper-change-state-to-vi):
6178 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6179
4dc2a129
MR
61802011-07-09 Martin Rudalics <rudalics@gmx.at>
6181
6182 * window.el (display-buffer-default-specifiers): Remove.
6183 (display-buffer-macro-specifiers): Remove default specifiers.
6184 (display-buffer-alist): Default to nil.
b796c9b7 6185 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6186 (display-buffer-pop-up-window): Allow splitting internal
6187 windows. Check whether a live window was created.
6188 (display-buffer-other-window-means-other-frame)
6189 (display-buffer-normalize-arguments): Rename to
6190 display-buffer-normalize-argument and rewrite. Set the
6191 other-window specifier.
6192 (display-buffer-normalize-special): New function.
6193 (display-buffer-normalize-options): Rename to
6194 display-buffer-normalize-default and rewrite.
6195 (display-buffer-normalize-options-inhibit): Remove.
6196 (display-buffer-normalize-specifiers): Rewrite.
6197 (display-buffer): Process other-window specifier and call
6198 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6199 more faithfully.
b796c9b7 6200 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6201 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6202 (display-buffer-in-window, display-buffer-alist-set):
6203 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6204 <tassilo@member.fsf.org>.
6205
2d43b8c9
LL
62062011-07-09 Leo Liu <sdl.web@gmail.com>
6207
6208 * register.el (insert-register): Restore accidental change on
6209 2011-06-26. (Bug#9028)
6210
7f9b7c53
GM
62112011-07-09 Glenn Morris <rgm@gnu.org>
6212
6213 * subr.el (remq): Handle the empty list. (Bug#9024)
6214
f042cfd8
AS
62152011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6216
6217 * mail/sendmail.el (send-mail-function): No longer delay custom
6218 initialization.
6219 * custom.el (custom-initialize-delay): Doc fix.
6220
856b2f11
SM
62212011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6224
afae1d68
MA
62252011-07-08 Michael Albinus <michael.albinus@gmx.de>
6226
6227 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6228 human-friendly prompt.
6229
0757af94
SM
62302011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6233 provided by a particular plugin.
6234
d760b731
LMI
62352011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6236
6237 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6238 save customizations (with "emacs -Q"), just set the variable
6239 instead of erroring out.
6240
6241 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6242
cd79ce90
JL
62432011-07-08 Juri Linkov <juri@jurta.org>
6244
6245 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6246 (archive-zip-update-case): Use 7z if found by `executable-find'.
6247 The order of searching the available programs is the same as in
6248 `archive-zip-extract' (bug#8968).
6249
14cc04aa
CY
62502011-07-07 Chong Yidong <cyd@stupidchicken.com>
6251
6252 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6253 (menu-bar-options-menu): Tweak descriptions.
6254
0a1848ec
LMI
62552011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6256
6257 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6258 menu items into verb phrases (bug#1421). Also refill to fit under
6259 80 columns.
6260
f5bd0689
CY
62612011-07-07 Chong Yidong <cyd@stupidchicken.com>
6262
538e85c6
CY
6263 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6264 (Info-read-node-name): Doc fix (Bug#1084).
6265
f5bd0689
CY
6266 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6267 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6268 (end-of-sexp, beginning-of-sexp)
6269 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6270 (forward-symbol, forward-same-syntax, word-at-point)
6271 (sentence-at-point): Doc fix (Bug#1144).
6272
56ec5115
LMI
62732011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6274
f3f8e37f
LMI
6275 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6276 should cover it (bug#1281).
6277
0757af94 6278 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6279
e9fce1ac 6280 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6281 negotiation fails, then possibly try again with a non-encrypted
6282 connection (bug#9017).
6283
56ec5115
LMI
6284 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6285 be used.
6286
c2f9aec8
RS
62872011-07-07 Richard Stallman <rms@gnu.org>
6288
6289 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6290 property, and handle its changed format.
6291 Look for the correct line number.
6292 Use file's line contents (but not past first =) to find
6293 correct line in message.
6294
ef7b981d 62952011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6296
6297 * international/characters.el (build-unicode-category-table):
6298 Delete it.
0757af94 6299 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6300
0757af94 6301 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6302 to src/chartab.c.
6303 (get-char-code-property): Call unicode-property-table-internal to
6304 load a file. Call get-unicode-property-internal where necessary.
6305 (put-char-code-property): Call unicode-property-table-internal to
6306 load a file. Call put-unicode-property-internal where necessary.
6307 put-unicode-property-internal where necessary.
0757af94
SM
6308 (char-code-property-description):
6309 Call unicode-property-table-internal to load a file.
c805dec0
KH
6310
6311 * international/charprop.el:
6312 * international/uni-bidi.el:
6313 * international/uni-category.el:
6314 * international/uni-combining.el:
6315 * international/uni-comment.el:
6316 * international/uni-decimal.el:
6317 * international/uni-decomposition.el:
6318 * international/uni-digit.el:
6319 * international/uni-lowercase.el:
6320 * international/uni-mirrored.el:
6321 * international/uni-name.el:
6322 * international/uni-numeric.el:
6323 * international/uni-old-name.el:
6324 * international/uni-titlecase.el:
6325 * international/uni-uppercase.el: Regenerate.
6326
6327 * loadup.el: Load international/charprop.el before
6328 international/characters.
6329
e14b388a
CY
63302011-07-07 Chong Yidong <cyd@stupidchicken.com>
6331
6332 * window.el (next-buffer, previous-buffer): Signal an error if
6333 called from a minibuffer window.
6334
6335 * bindings.el: Revert 2011-07-04 change.
6336
354cf0ba
RS
63372011-07-06 Richard Stallman <rms@gnu.org>
6338
6339 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6340 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6341 Treat markers like ints.
6342 (rmail-mime-entity): Doc fix.
6343
a48868a7
LMI
63442011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6345
4906cd3d
LMI
6346 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6347 defcustom again for backwards compatibility.
6348
e0457abe
LMI
6349 * simple.el (shell-command-on-region): Fill.
6350
d67f7e1f
LMI
6351 * dired-aux.el (dired-kill-line): Add a doc string.
6352
fe204702
LMI
6353 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6354 to "\\sw\\|\\s_" (bug#358).
6355
a48868a7
LMI
6356 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6357 (dired-unmark-backward): Ditto.
6358 (dired-flag-backup-files): Ditto.
6359
6360 * dired-x.el (dired-mark-sexp): Ditto.
6361
aa8a705c
RS
63622011-07-06 Richard Stallman <rms@gnu.org>
6363
6364 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6365 (rmail-mime-entity): New arg TRUNCATED.
6366 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6367 New functions.
6368 (rmail-mime-save): Warn if entity is truncated.
6369 (rmail-mime-toggle-hidden): Likewise, for showing.
6370 (rmail-mime-process-multipart): Record when an entity is truncated.
6371
a9a936b9
RS
6372 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6373 if ENTITY is a string.
6374
1f2b92cb
LMI
63752011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6376
f4f73198 6377 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6378 of faces when `M-C-x'-ing their definitions (bug#8378).
6379 Also clean up the code slightly.
f4f73198 6380
12b16734 6381 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6382 because that makes the colors go away.
12b16734 6383
f0691d22
LMI
6384 * mail/sendmail.el (send-mail-function): Change the default to
6385 `sendmail-query-once'.
9e87df06 6386 (sendmail-query-once): Add an autoload cookie.
f0691d22 6387
1f2b92cb
LMI
6388 * net/network-stream.el (network-stream-open-starttls): Try using
6389 a plain connection even if the server offered STARTTLS, and we
6390 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6391 capability. This should make smtpmail.el work in slightly more
6392 configurations.
6393
1cdd2a1b
MA
63942011-07-06 Michael Albinus <michael.albinus@gmx.de>
6395
6396 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6397 New defun.
6398 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6399
fbcc67e2
MM
64002011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6401
6402 * progmodes/sql.el: Version 3.0
0757af94 6403 (sql-product-alist): Add product :completion-object,
fbcc67e2 6404 :completion-column, and :statement attributes.
0757af94 6405 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6406 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6407 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6408 ansi keywords.
6409 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6410 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6411 (sql-oracle-show-reserved-words): New function for development.
6412 (sql-product-font-lock): Simplify for source code buffers.
6413 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6414 New functions.
6415 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6416 (sql-mode-map): Add statement movement functions.
6417 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6418 New variable.
fbcc67e2
MM
6419 (sql-statement-regexp, sql-beginning-of-statement)
6420 (sql-end-of-statement, sql-signum): New functions.
0757af94 6421 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6422 (sql-show-sqli-buffer): Bug fix.
6423 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6424 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6425 with sql-interactive-mode.
6426 (sql-save-connection): Save buffer local settings.
0757af94 6427 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6428 (sql-product-interactive): Bug fix.
6429 (sql-preoutput-hold): New variable.
6430 (sql-interactive-remove-continuation-prompt): Bug fixes.
6431 (sql-debug-redirect): New variable.
6432 (sql-str-literal): New function.
6433 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6434 Redesign.
fbcc67e2
MM
6435 (sql-oracle-save-settings, sql-oracle-restore-settings)
6436 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6437 (sql-completion-object, sql-completion-column)
6438 (sql-completion-sqlbuf): New variables.
6439 (sql-build-completions-1, sql-build-completions)
6440 (sql-try-completion): New functions.
6441 (sql-read-table-name): Use them.
6442 (sql-contains-names): New buffer local variable.
6443 (sql-list-all, sql-list-table): Use it.
6444 (sql-oracle-completion-types): New variable.
6445 (sql-oracle-completion-object, sql-sqlite-completion-object)
6446 (sql-postgres-completion-object): New functions.
6447
d4eaeab1
GM
64482011-07-06 Glenn Morris <rgm@gnu.org>
6449
6450 * window.el (pop-to-buffer): Doc fix.
6451
322b7dab 64522011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6453
6454 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6455
322b7dab 64562011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6457
322b7dab 6458 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6459
322b7dab 6460 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6461
605dd5bf
CY
64622011-07-05 Chong Yidong <cyd@stupidchicken.com>
6463
6464 * button.el (button): Inherit from link face. Suggested by Dan
6465 Nicolaescu.
6466
7dbfa719
SM
64672011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6468
3db614b0
SM
6469 * progmodes/gdb-mi.el: Fit in 80 columns.
6470 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6471 switch-to-buffer.
6472
7dbfa719
SM
6473 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6474 if imenu is simply not configured (bug#8941).
6475
919d884a
KM
64762011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6477
6478 * allout.el (allout-post-undo-hook): New allout outline-change
6479 event hook to signal undo activity.
6480 (allout-post-command-business): Run allout-post-undo-hook if an
6481 undo just occurred.
7dbfa719
SM
6482 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6483 * allout-widgets.el (allout-widgets-after-undo-function):
6484 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6485 in the vicinity of an undo.
6486 (allout-widgets-mode): Include allout-widgets-after-undo-function
6487 on the new allout-post-undo-hook.
6488
450a0f09
SM
64892011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6490
6491 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6492 Let define-derived-mode define it.
6493 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6494 cycles of abbrev-table inheritance (bug#8998).
6495
2de69e00
RW
64962011-07-05 Roland Winkler <winkler@gnu.org>
6497
6498 * textmodes/bibtex.el: Add support for biblatex.
6499 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6500 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6501 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6502 (bibtex-entry-alist, bibtex-field-alist): New variables.
6503 (bibtex-entry-field-alist): Obsolete alias for
6504 bibtex-BibTeX-entry-alist.
6505 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6506 (bibtex-set-dialect): New command.
6507 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6508 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6509 Bind via bibtex-set-dialect.
2de69e00
RW
6510 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6511 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6512 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6513 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6514 Define via bibtex-set-dialect.
450a0f09
SM
6515 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6516 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6517 (bibtex-vec-push, bibtex-vec-incr): New functions.
6518 (bibtex-format-entry, bibtex-field-list)
6519 (bibtex-print-help-message, bibtex-validate)
6520 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6521
2dcdbdd9
SM
65222011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6524 * progmodes/compile.el (compilation-goto-locus):
6525 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6526 * bs.el (bs-cycle-next, bs-cycle-previous):
6527 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6528 * bindings.el (mode-line-other-buffer):
6529 * autoinsert.el (auto-insert):
6530 * arc-mode.el (archive-extract):
6531 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6532
b27640fe
JB
65332011-07-05 Juanma Barranquero <lekktu@gmail.com>
6534
6535 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6536 Fix check of `emacs-lock-unlockable-modes'.
6537 Coerce true values of `emacs-lock--try-unlocking' to t.
6538
53bbe3ad
JB
65392011-07-05 Juanma Barranquero <lekktu@gmail.com>
6540
6541 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6542 * emacs-lock.el: New file.
6543
1d3cdbc7
JD
65442011-07-05 Julien Danjou <julien@danjou.info>
6545
6546 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6547 than `boundp' to check if face is set.
6548
9173deec
JB
65492011-07-05 Juanma Barranquero <lekktu@gmail.com>
6550
6551 * register.el (registerv-make):
6552 * window.el (window-min-height): Fix typos in docstrings.
6553
869795d6
JD
65542011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6555
9173deec 6556 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6557 Update doc string.
6558
b768cdcd
JB
65592011-07-04 Juanma Barranquero <lekktu@gmail.com>
6560
6561 * server.el (server-execute): Catch quit and call
6562 `server-return-error' to pass the error back to emacsclient and
6563 close the connection (bug#8942).
6564
13aa217b
KM
65652011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6566
6567 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6568 insecure exception for current topic. Also note that auto-saves
6569 are handled differently.
6570
6571 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6572 State variables for tracking auto-save inhibition situation.
6573
6574 (allout-write-contents-hook-handler): Rename from
6575 'allout-write-file-hook-handler', and describe how it depends on
6576 write-contents-functions sensitivity to non-nil value to prevent
6577 file write.
6578
6579 (allout-auto-save-hook-handler): Remove. auto-save does not check
6580 this in individual buffers, only in the starting buffer, so this
6581 is not the right way for us to inhibit auto-save in a buffer
6582 according to its condition.
6583
6584 (allout-mode): Use new allout-write-contents-hook-handler, and
6585 only with write-contents-functions. Remove auto-save provisions -
6586 they're implemented elsewhere.
6587
6588 (allout-before-change-handler): If undo is in progress, note that
6589 for attention of allout-post-command-business.
6590
6591 (allout-post-command-business): If the command we're following was
6592 an undo, check for change in the status of encrypted items and
6593 adjust auto-save inhibitions accordingly.
6594
6595 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6596 according to whether there are or aren't any plain-text topics
6597 pending encryption.
6598
2dcdbdd9 6599 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6600 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6601 if there are plain-text topics pending encryption.
13aa217b
KM
6602
6603 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6604 buffer-saved-size and some allout state to not inhibit auto-saves
6605 if there are no longer any plain-text topics pending encryption.
6606
0757af94
SM
6607 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6608 No longer provide for exemption of the current topic.
13aa217b 6609
ac89b32c
JL
66102011-07-04 Juri Linkov <juri@jurta.org>
6611
6612 Add 7z operations to delete and save changed members (bug#8968).
6613 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6614 New defcustoms.
6615 (archive-7z-write-file-member): New function.
6616 (archive-7z-summarize): Fix the number of dashes in the
6617 listing output.
6618
8fa39615
SM
66192011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6620
6621 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6622 (bug#8958).
6623
2f11b3f1
CY
66242011-07-04 Chong Yidong <cyd@stupidchicken.com>
6625
d66fef2b
CY
6626 * bindings.el: Ignore next-buffer and previous-buffer in
6627 minibuffer-local-map.
6628
2f11b3f1
CY
6629 * font-lock.el (font-lock-builtin-face): Change light background
6630 color to dark slate blue (Bug#6693).
6631
f932a347
WD
66322011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6633
6634 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6635
c8af70e1
SM
66362011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6639 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6640 Add switch-to-buffer.
6641
f158badc
LMI
66422011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6643
6644 * isearch.el (isearch-search-fun-function): Clarify further the
6645 meaning of the function returned.
6646
6d95bd46
MA
66472011-07-04 Michael Albinus <michael.albinus@gmx.de>
6648
6649 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6650
6651 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6652 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6653 Use it.
6654 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6655 `tramp-default-remote-path' does not exist.
6656 (tramp-send-command-and-read): New optional argument NOERROR.
6657 (tramp-open-connection-setup-interactive-shell)
6658 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6659 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6660 (tramp-process-sentinel): Flush also process' connection property.
6661 (tramp-sh-handle-start-file-process): Do not set process
6662 sentinel. It is done now ...
6663 (tramp-maybe-open-connection): ... here. (Bug#8929)
6664
909e6b67
MK
66652011-07-04 MON KEY <monkey@sandpframing.com>
6666
6667 * play/animate.el (animate-string): Doc fixes and allow changing
6668 the buffer name (bug#5417).
6669
66702011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6671
c8af70e1 6672 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6673
f34755dc
PE
66742011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6675
396cec72
PE
6676 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6677 This is simpler and helps future-proof the code.
6678 (timer-until): Use time-subtract and float-time.
08235028 6679 (timer--time-less-p): Use time-less-p.
f34755dc 6680
56e6cc31
JB
66812011-07-04 Juanma Barranquero <lekktu@gmail.com>
6682
3abb79e5
JB
6683 * type-break.el (timep): Use the value of `float-time' to avoid a
6684 byte-compiler warning.
6685
56e6cc31
JB
6686 * server.el (server-eval-and-print): Return any result, even nil.
6687
7b9430b4
PE
66882011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6689
6690 * type-break.el: Accept time formats that the builtins accept.
6691 (timep, type-break-time-difference): Accept any format that
6692 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6693 This is simpler and helps future-proof the code.
6694 (type-break-time-difference): Round rather than ignoring
6695 subseconds components.
6696
3034e9e7
LMI
66972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6698
6699 * info.el (Info-apropos-matches): Make non-interactive, since it
6700 doesn't seem to do anything useful as a command (bug#8829).
6701
1485f4c0
CY
67022011-07-03 Chong Yidong <cyd@stupidchicken.com>
6703
6704 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6705 Move from faces.el.
1485f4c0
CY
6706 (frame-default-terminal-background): New function.
6707
6708 * custom.el (custom-push-theme): Don't record faces in `changed'
6709 theme; this doesn't work correctly for per-frame face settings.
6710 (disable-theme): Use face-set-after-frame-default to reset faces.
6711 (custom--frame-color-default): New function.
6712
9fa3dd45
LMI
67132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6714
c8af70e1 6715 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6716 (bug#8769).
6717
6cbbc20c
KR
67182011-03-29 Kevin Ryde <user42@zip.com.au>
6719
6720 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6721 `perl-Test2' extend to match possible "fail #N" rep count
6722 (bug#8377).
6723
c7f98048
LMI
67242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6725
65676592
LMI
6726 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6727 `smtpmail-via-smtp' now returns the error instead of nil.
6728
c7f98048
LMI
6729 * isearch.el (isearch-search-fun-function): Clarify the doc string
6730 (bug#8101).
6731
56e6cc31 67322011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6733
6734 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6735 unnecessary spaces (bug#8987).
6736
2b216704
LMI
67372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6738
6739 * net/network-stream.el (open-network-stream): Use the
6740 :end-of-capability command thoughout.
6741
67422011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6743
6744 * net/network-stream.el (open-network-stream): Add the
6745 :end-of-capability command parameter, used by pop3.el.
6746
36adf6ce
LMI
67472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6748
1ca0da0e
LMI
6749 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6750
fc00f69c
LMI
6751 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6752 for list)" (bug#6475).
6753
28fd8759 6754 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6755 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6756 an error (bug#6297).
6757
0dd8b6da
LMI
6758 * man.el (Man-reference-regexp): Allow matching possible
6759 word-wrapped references (bug#6289).
6760
ce1438d6
LMI
6761 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6762 for consistency with the other vc buffers (bug#6197).
6763 (vc-checkin): Ditto.
6764
6765 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6766
36adf6ce
LMI
6767 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6768
e83cc1f7
LMI
67692011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6770
8a20ca4c
LMI
6771 * custom.el (defcustom): Clarify that :set is only used in the
6772 Customize user interface (bug#6089).
6773
83319045
LMI
6774 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6775 associated with a file, refuse to run instead of erroring out
6776 (bug#6084).
6777
a8392169
LMI
6778 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6779 the doc string, since it appears that using `fill-column' always
6780 controls the width (bug#7845).
6781
e83cc1f7
LMI
6782 * simple.el (shell-command-on-region): Say where the error output
6783 went if `shell-command-default-error-buffer' is set (bug#6857).
6784
e47ca23b
KM
67852011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6786
6787 * allout.el (allout-yank-processing): Adjust cursor position for
6788 backwards-deleted space.
6789
6790 (allout-rebullet-heading): Register changes with
6791 allout-exposure-changed-hook, so the modified topic is properly
6792 decorated.
6793
5cf56143
LMI
67942011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6795
08549772
LMI
6796 * minibuffer.el (completion-in-region): Document PREDICATE
6797 (bug#7136).
6798
48e96771
LMI
6799 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6800 of keyword/argument pairs (bug#6904).
6801
c8af70e1
SM
6802 * replace.el (multi-occur):
6803 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6804
e17d05e2
LMI
68052011-07-02 Drew Adams <drew.adams@oracle.com>
6806
6807 * dired.el (dired-mark-if): Make the message about whether it's
6808 marking or unmarking clearer (bug#8523).
6809
063b0e45
LMI
68102011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6811
6812 * disp-table.el (display-table-print-array): New function.
6813 (describe-display-table): Use it to print the vectors more pretty
6814 (Bug#8859).
6815
28545e04
MR
68162011-07-02 Martin Rudalics <rudalics@gmx.at>
6817
6818 * window.el (window-state-get-1): Don't assign clone numbers.
6819 Add clone-of item to list of window parameters.
6820 (window-state-put-2): Don't process clone numbers.
6821 (display-buffer-alist): Fix doc-string.
6822
3349e122
SM
68232011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6824
6825 * subr.el (remq): Don't allocate if it's not needed.
6826 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6827 (keymap--merge-bindings): New functions.
6828 (keymap-canonicalize): Use them to refine the canonicalization.
6829 * minibuffer.el (minibuffer-local-completion-map)
6830 (minibuffer-local-must-match-map): Move initialization from C.
6831 (minibuffer-local-filename-completion-map): Move initialization from C;
6832 don't inherit from anything here.
6833 (minibuffer-local-filename-must-match-map): Make obsolete.
6834 (completing-read-default): Use make-composed-keymap to combine
6835 minibuffer-local-filename-completion-map with either
6836 minibuffer-local-must-match-map or
6837 minibuffer-local-filename-completion-map.
6838
d224ac83
GM
68392011-07-01 Glenn Morris <rgm@gnu.org>
6840
3de63bf8
GM
6841 * type-break.el (type-break-time-sum): Use dolist.
6842
d224ac83
GM
6843 * textmodes/flyspell.el (flyspell-word-search-backward):
6844 Replace CL function.
6845
1a1e3f32
SM
68462011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6847
fe3f64d5
SM
6848 * mouse.el (mouse--strip-first-event): New function.
6849 (function-key-map): Use it to map fringe clicks to normal clicks
6850 by default.
6851
eb604e34
SM
6852 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6853 (vc-bzr-revision-completion-table): Add support for annotate and date.
6854
1a1e3f32
SM
6855 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6856 inherit from parent.
6857
5bd35902
LMI
68582011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6859
ace6c69c 6860 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 6861 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 6862
191e2bed
LMI
6863 * dired.el (dired-mode): Fix up the doc string as suggested by
6864 Drew Adams (bug#8817).
6865
5bd35902
LMI
6866 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6867 cookie, since the manual says that it should be possible to add
6868 this function to `find-file-hook' (bug#8709).
6869
eee8207a
TZ
68702011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6871
6872 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6873 here. Noted Ted Zlatanov as the maintainer.
6874 (cfengine-common-settings, cfengine-common-syntax): New functions
6875 to set up common things between `cfengine-mode' and
6876 `cfengine3-mode'.
6877 (cfengine3-mode): New mode.
6878 (cfengine3-defuns cfengine3-defuns-regex
6879 (cfengine3-class-selector-regex cfengine3-category-regex)
6880 (cfengine3-vartypes cfengine3-font-lock-keywords)
6881 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 6882 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 6883
36b148cf
MA
68842011-07-01 Michael Albinus <michael.albinus@gmx.de>
6885
6886 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6887
6888 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6889
0bf4ba9a
MR
68902011-07-01 Martin Rudalics <rudalics@gmx.at>
6891
6892 * window.el (same-window-buffer-names, same-window-regexps)
6893 (same-window-p, special-display-frame-alist)
6894 (special-display-popup-frame, special-display-function)
6895 (special-display-buffer-names, special-display-regexps)
6896 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6897 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6898 (split-window-preferred-function, split-height-threshold)
6899 (split-width-threshold, even-window-heights)
6900 (display-buffer-mark-dedicated, window-splittable-p)
6901 (split-window-sensibly, window-safely-shrinkable-p):
6902 Un-obsolete.
6903 (display-buffer): Don't spread args with function specifier
6904 because special-display-popup-frame won't like it.
6905
35837f51
PE
69062011-07-01 Paul Eggert <eggert@cs.ucla.edu>
6907
d0672f86
PE
6908 Time-stamp simplifications and fixes.
6909 These improve accuracy slightly, and future-proof the code
6910 against some potential changes to current-time format.
6911
b9444d97
PE
6912 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6913 by using time-since and float-time.
6914
0ef923dc
PE
6915 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6916 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
6917 + NNN microseconds".
6918
2f81380d
PE
6919 * type-break.el (type-break-time-sum): Rewrite using time-add.
6920
845b5c3e
PE
6921 * play/hanoi.el (hanoi-current-time-float): Remove.
6922 All uses replaced by float-time.
6923
ee6f1be0
PE
6924 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6925 This yields a more-accurate answer.
6926 (rng-time-to-float): Remove; no longer needed.
6927
fe955043
PE
6928 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6929
5777162a
PE
6930 * calendar/timeclock.el (timeclock-seconds-to-time):
6931 Defalias to seconds-to-time, since they're the same thing.
6932
3103f8b6 6933 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 6934 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
6935 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6936
0e61a35f
SM
69372011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6938
6939 * window.el (bury-buffer): Don't iconify the only frame.
6940 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6941 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
6942
ddd63a1e
CY
69432011-07-01 Chong Yidong <cyd@stupidchicken.com>
6944
0e61a35f
SM
6945 * eshell/em-smart.el (eshell-smart-display-navigate-list):
6946 Add mouse-yank-primary.
ddd63a1e 6947
055f4923
TZ
69482011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6949
6950 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6951
6a2fb145
SM
69522011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6953
6954 * emacs-lisp/find-func.el (find-library--load-name): New fun.
6955 (find-library-name): Use it to find relative load names when provided
6956 absolute file name (bug#8803).
6957
fd4983f2
LMI
69582011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6959
887d14ad
LMI
6960 * textmodes/flyspell.el (flyspell-word): Consider words that
6961 differ only in case as potential doublons (bug#5687).
6962
c53dc7fc
LMI
6963 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
6964 Remove two rather uninteresting debugging-like messages to make
6965 debbugs.el more silent.
6966
fd4983f2
LMI
6967 * comint.el (comint-password-prompt-regexp): Accept "Response" as
6968 a password-like phrase.
6969
7a71b18d 69702011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
6971
6972 * progmodes/cc-guess.el: New file.
6973
6a2fb145 6974 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
6975
6976 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
6977 derived from `c-basic-common-init'.
6978
6979 * progmodes/cc-mode.el (top-level): Require cc-guess.
6980 (c-basic-common-init): Use `cc-choose-style-for-mode'.
6981
1fa280a3
LM
69822011-06-30 Lawrence Mitchell <wence@gmx.li>
6983
6984 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
6985
e6597158
AM
69862011-06-30 Alan Mackenzie <acm@muc.de>
6987
1fa280a3
LM
6988 * progmodes/cc-engine.el (c-guess-continued-construct):
6989 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
6990 lock is disabled. Name this case as "CASE G".
6991
68ba37fb
KM
69922011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
6993
6994 * allout.el (allout-yank-processing): Fix injection of extra space
6995 between bullet and non-whitespace character in first topic when
6996 pasting, ensuring that the actual spacing in the pasted topic
6997 following the bullet char is preserved. This extra space was
6998 causing pasted encrypted topics to get a decrypted status even
6999 when the content was actually still encrypted. Now the decryption
7000 status from before the paste is preserved.
7001
7002 (allout-flag-region): Set all allout overlays so they evaporate
7003 when reduced to zero length (evanescent), to prevent overlay
7004 leakage.
7005
887a0b34
GM
70062011-06-30 Glenn Morris <rgm@gnu.org>
7007
94b9acce
GM
7008 * w32-fns.el (w32-charset-info-alist): Declare.
7009
1d9b46d4
GM
7010 * find-dired.el (find-grep-options): Simplify.
7011
cc232200
GM
7012 * term/ns-win.el (ns-set-resource): Declare.
7013
28e77c46
GM
7014 * ses.el (row, col): Declare dynamic variables honestly.
7015
887a0b34
GM
7016 * textmodes/reftex-parse.el (index-tags): Declare.
7017
658d8eb8
CY
70182011-06-30 Chong Yidong <cyd@stupidchicken.com>
7019
7020 * cus-edit.el (customize-push-and-save): New function.
7021
7022 * files.el (hack-local-variables-confirm): Use it.
7023
1fa280a3
LM
7024 * custom.el (load-theme): New arg NO-CONFIRM.
7025 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7026 (custom-enabled-themes): Doc fix.
7027
7028 * cus-theme.el (customize-create-theme)
7029 (custom-theme-merge-theme): Callers to load-theme changed.
7030
bb617717
LMI
70312011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7032
d61bdd5d
LMI
7033 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7034 short URLs have at least one dot in them (bug #7614).
7035
bb617717
LMI
7036 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7037 nil, because using a pty is apparently too slow (bug #895).
7038
2f31f37a
LMI
70392011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7040
7041 * mail/sendmail.el (sendmail-query-once): New function.
7042 (sendmail-query-once-function): New variable.
7043
3076b24e
GM
70442011-06-29 Glenn Morris <rgm@gnu.org>
7045
faf2a174
GM
7046 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7047
3076b24e
GM
7048 * ses.el (top-level): Require cl when compiling.
7049 (ses-set-localvars): Fix error statement.
7050 Call it at compile time to silence a storm of warnings.
7051
5386012d
MR
70522011-06-29 Martin Rudalics <rudalics@gmx.at>
7053
7054 * window.el (normalize-live-buffer): Rename to
7055 window-normalize-buffer.
7056 (normalize-live-frame): Rename to window-normalize-frame.
7057 (normalize-any-window): Rename to window-normalize-any-window.
7058 (normalize-live-window): Rename to window-normalize-live-window.
7059 (make-window-atom): Rename to window-make-atom.
7060 (window-resize-reset): Rename to window--resize-reset.
7061 (window-resize-reset-1): Rename to window--resize-reset-1.
7062 (resize-mini-window): Rename to window--resize-mini-window.
7063 (resize-subwindows-skip-p): Rename to
7064 window--resize-subwindows-skip-p.
7065 (resize-subwindows-normal): Rename to
7066 window--resize-subwindows-normal.
7067 (resize-subwindows): Rename to window--resize-subwindows.
7068 (resize-other-windows): Rename to window--resize-siblings.
7069 (resize-this-window): Rename to window--resize-this-window.
7070 (resize-root-window): Rename to window--resize-root-window.
7071 (resize-root-window-vertically): Rename to
7072 window--resize-root-window-vertically.
7073 (normalize-buffer-to-display): Rename to
7074 window-normalize-buffer-to-display.
7075 (normalize-buffer-to-switch-to): Rename to
7076 window-normalize-buffer-to-switch-to.
7077 Correspondingly update all callers of the functions listed
7078 above.
7079 (display-buffer-alist, display-buffer-normalize-arguments)
7080 (display-buffer-normalize-options, display-buffer)
7081 (display-buffer-alist-set): Use "function" instead of
7082 "fun-with-args".
7083
1176868d
CY
70842011-06-28 Chong Yidong <cyd@stupidchicken.com>
7085
7086 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7087 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7088 debbugs.gnu.org. Mention acknowledgment email.
7089
20a7a65f
LMI
70902011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7091
7092 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7093 buffer multibyteness, since it shouldn't matter.
7094
5f45cca5
MR
70952011-06-28 Martin Rudalics <rudalics@gmx.at>
7096
7097 * window.el (display-buffer-in-side-window): Handle dedicated
7098 windows as in display-buffer-reuse-window.
7099 (display-buffer-normalize-alist): Use value of override
7100 specifier.
7101 (display-buffer-normalize-specifiers): Use value of
7102 other-window-means-other-frame specifier.
7103 (display-buffer-alist): Rewrite some texts in widgets.
7104 (display-buffer): Spread arguments when calling function
7105 specified by fun-with-args.
7106
ad85fe1f
DD
71072011-06-28 Deniz Dogan <deniz@dogan.se>
7108
1fa280a3
LM
7109 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7110 Unnest `let'.
da68c4c8 7111
ad85fe1f
DD
7112 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7113 selectors (Bug#5732).
ec49bd31 7114 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7115
a08cc025
JA
71162011-06-27 Jari Aalto <jari.aalto@cante.net>
7117
7118 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7119 (eshell-ls-date-format): New defcustom.
7120 (eshell-ls-file): Use it.
7121
e2b551c5
SM
71222011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7123
7124 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7125
8982b231
KY
71262011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7127
7128 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7129 (ange-ftp-make-tmp-name): New arg.
7130 (ange-ftp-file-local-copy): Use it.
7131
36c9fa27
J
71322011-06-27 Jambunathan K <kjambunathan@gmail.com>
7133
7134 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7135 no-conversion (Bug#8870).
7136
d68443dc
MR
71372011-06-27 Martin Rudalics <rudalics@gmx.at>
7138
7139 * window.el (window-right, window-left, window-child)
7140 (window-child-count, window-last-child)
7141 (window-iso-combination-p, walk-window-tree-1)
7142 (window-atom-check-1, window-tree-1, delete-window)
7143 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7144 new naming conventions - window-vchild, window-hchild,
7145 window-next and window-prev are now called window-top-child,
7146 window-left-child, window-next-sibling and window-prev-sibling
7147 respectively.
d615d6d2
MR
7148 (resize-window-reset): Rename to window-resize-reset.
7149 (resize-window-reset-1): Rename to window-resize-reset-1.
7150 (resize-window): Rename to window-resize.
7151 (window-min-height, window-min-width)
7152 (resize-mini-window, resize-this-window, resize-root-window)
7153 (resize-root-window-vertically, adjust-window-trailing-edge)
7154 (enlarge-window, shrink-window, maximize-window)
7155 (minimize-window, delete-window, quit-restore-window)
7156 (split-window, balance-windows, balance-windows-area-adjust)
7157 (balance-windows-area, window-state-put-2)
7158 (display-buffer-even-window-sizes, display-buffer-set-height)
7159 (display-buffer-set-width, set-window-text-height)
7160 (fit-window-to-buffer): Rename all "resize-window" prefixed
7161 calls to use the "window-resize" prefix convention.
7162 (display-buffer-alist): Fix symbol for label specifier.
7163 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7164 corresponding specifier.
7165 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7166
b6458526
VB
71672011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7168
7169 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7170 convention.
7171 (ses-call-printer): Does not pass an empty string to formatter when the
7172 cell is empty to keep from barking printer Calc math-format-value.
7173
d31fd9ac
RS
71742011-06-27 Richard Stallman <rms@gnu.org>
7175
43d5bf84
RS
7176 * battery.el (battery-mode-line-limit): New variable.
7177 (battery-update): Handle it.
7178
d31fd9ac
RS
7179 * mail/rmailmm.el (rmail-mime-process-multipart):
7180 Handle truncated messages.
7181
819a6054
GM
71822011-06-27 Glenn Morris <rgm@gnu.org>
7183
7184 * progmodes/flymake.el (flymake-err-line-patterns):
7185 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7186
cedc73f2
VB
71872011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7188
819a6054 7189 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7190 (ses--clean-!, ses--clean-_): New functions.
7191 (ses-range): Add configurability of readout order, and conversion
7192 to Calc vector.
7193
5e5d49b6
VB
7194 * ses.el (ses-repair-cell-reference-all): New function.
7195 (ses-cell-symbol): Set macro as safe, so that it can be used in
7196 formulas.
7197
56e6cc31 7198 * ses.el: Update cycle detection algorithm.
90ca8b49 7199 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7200 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7201 (ses-set-localvars): New function.
7202 (ses-make-cell): Add property-list as a cell element.
7203 (ses-cell-property-get-fun, ses-cell-property-get)
7204 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7205 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7206 New functions.
90ca8b49
VB
7207 (ses-cell-property-set, ses-cell-property-pop)
7208 (ses-cell-property-get-handle): New macro.
7209 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7210 New aliases, used for code readability.
7211 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7212 cycle detection.
7213 (ses-self-reference-early-detection): New defcustom.
fac916bf 7214 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7215 (ses-mode): Use ses-set-localvars.
7216 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7217 before lauching the update processing.
7218 (ses-initialize-Dijkstra-attempt): New function.
7219 (ses-recalculate-cell): Update for cycle detection based on
7220 Dijkstra algorithm.
7221
2bb63e81
VB
7222 * ses.el: Fix commenting and indenting convention.
7223
c9d29fb8
SM
72242011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * bs.el (bs-cycle-next): Complete last change.
7227
d8e4b68b
JB
72282011-06-27 Drew Adams <drew.adams@oracle.com>
7229
7230 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7231
40098786
LMI
72322011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7233
c9d29fb8
SM
7234 * net/network-stream.el (network-stream-open-starttls):
7235 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7236 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7237
40098786
LMI
7238 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7239 to binary to possibly avoid line encoding issues on Windows (among
7240 other things).
7241
468d09d4
LMI
72422011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7243
7244 * net/network-stream.el (open-network-stream): Return an :error
7245 saying what the problem was, if possible.
7246
7247 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7248 server.
7249
7250 * net/network-stream.el (network-stream-open-starttls): If we
7251 wanted to use STARTTLS, and the server offered it, but we weren't
7252 able to because we had no STARTTLS support, then close the connection.
7253 (open-network-stream): Return an :error element, if present.
7254
16f07dd7
CY
72552011-06-26 Chong Yidong <cyd@stupidchicken.com>
7256
88821ca0
CY
7257 * hl-line.el (hl-line-sticky-flag): Doc fix.
7258 (global-hl-line-sticky-flag): New option (Bug#8323).
7259 (global-hl-line-highlight): Obey it.
7260
16f07dd7
CY
7261 * vc/vc.el (vc-revert-show-diff): Default to t.
7262
6b5ccddf
KM
72632011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7264
c9d29fb8
SM
7265 * allout-widgets.el (allout-widgets-post-command-business):
7266 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7267 undecorated when an isearch is continued past, and isearch
7268 automatically collapses them. This leads to "widget leaks", where
7269 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7270 hidden widgets can slow down cursor travel, substantially.
7271 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7272 so we're doing without this nicety.
7273
7274 (allout-widgets-tally-string): Don't try to do a hash-table-count
7275 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7276 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7277 *Messages* when allout-widgets-maintain-tally is t.
7278
355f2e07
MR
72792011-06-26 Martin Rudalics <rudalics@gmx.at>
7280
7281 * window.el (display-buffer-normalize-argument): Rename to
7282 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7283 LABEL argument. Respect special-display-function when popping up
7284 a new frame. Fix code searching for a window showing the buffer
7285 on another frame.
c9d29fb8
SM
7286 (display-buffer-normalize-specifiers):
7287 Call display-buffer-normalize-arguments.
355f2e07
MR
7288 (display-buffer-in-window): Don't undedicate the window if its
7289 buffer remains the same.
7290 Reported by Drew Adams <drew.adams@oracle.com>.
7291 (display-buffer-alist): Add choice for same-window macro
7292 specfier.
7293 (display-buffer): Mention special meaning of LABEL argument in
7294 doc-string. Fix quoting. Don't pop up a new frame even as
7295 fallback.
7296
7ca8fc42
JB
72972011-06-26 Juanma Barranquero <lekktu@gmail.com>
7298
7299 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7300 avoid deleting the current window in some cases (bug#8911).
7301
bc312254
AS
73022011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7303
7304 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7305 (Bug#8934)
7306
2db18f3f
LMI
73072011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7308
c9d29fb8
SM
7309 * net/network-stream.el (network-stream-open-starttls):
7310 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7311 (network-stream-open-tls): Ditto.
7312
6302e0d3
LL
73132011-06-26 Leo Liu <sdl.web@gmail.com>
7314
7315 * register.el (registerv): New struct.
7316 (registerv-make): New function.
c9d29fb8
SM
7317 (jump-to-register, describe-register-1, insert-register):
7318 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7319 struct. (Bug#8415)
7320
5fdd4046
CY
73212011-06-26 Chong Yidong <cyd@stupidchicken.com>
7322
2afef60a
CY
7323 * vc/vc.el (vc-revert-show-diff): New defcustom.
7324 (vc-diff-internal): New arg specifying diff buffer.
7325 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7326 reuse an existing *vc-diff* buffer (Bug#8927).
7327
5fdd4046
CY
7328 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7329
e93db24a
GM
73302011-06-26 Glenn Morris <rgm@gnu.org>
7331
7332 * progmodes/f90.el (f90-critical-indent): New option.
7333 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7334 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7335 (f90-mode): Doc fix.
7336 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7337 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7338 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7339 (f90-match-end): Handle block, critical.
7340
eefff499
GM
73412011-06-25 Glenn Morris <rgm@gnu.org>
7342
f6ba4cc9
GM
7343 * calendar/diary-lib.el (diary-included-files): Doc fix.
7344 (diary-include-files): New function, extracted from
7345 diary-include-other-diary-files and diary-mark-included-diary-files.
7346 (diary-include-other-diary-files, diary-mark-included-diary-files):
7347 Just call diary-include-files.
7348 (diary-mark-entries): Reset diary-included-files on first call.
7349
16712304
GM
7350 * calendar/diary-lib.el (diary-mark-entries)
7351 (diary-mark-included-diary-files):
7352 Visit included diary-files in temp buffers.
7353
5d8e0d43
GM
7354 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7355 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7356 (f90-start-block-re, f90-imenu-generic-expression)
7357 (f90-looking-at-program-block-start, f90-no-block-limit):
7358 Add support for submodules.
7359
ccf7a5d5
GM
7360 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7361 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7362
11fdef7d 73632011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7364
7365 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7366 buffer-file-type before setting its value, to avoid disastrous
eefff499 7367 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7368
74f53697
JB
73692011-06-25 Juanma Barranquero <lekktu@gmail.com>
7370
7371 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7372
7373 * ses.el (ses-unload-function):
7374 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7375
7376 * proced.el (proced-unload-function):
7377 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7378
18a4ce5e
AR
73792011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7380
7381 * server.el (server-create-window-system-frame): Add parameters arg.
7382 (server-process-filter): Doc fix. Handle frame-parameters.
7383
519d22cc
JB
73842011-06-25 Juanma Barranquero <lekktu@gmail.com>
7385
7386 Fix bug#8730, bug#8781.
7387
7388 * loadhist.el (unload--set-major-mode): New function.
7389 (unload-feature): Use it.
7390
7391 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7392 (python-unload-function): New function.
7393
c206f5b0
SM
73942011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7397
f9ad64f3
GS
73982011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7399
7400 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7401 the candidates list.
7402
7d0da90e
JB
74032011-06-24 Juanma Barranquero <lekktu@gmail.com>
7404
7405 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7406
14b4e83d
RS
74072011-06-23 Richard Stallman <rms@gnu.org>
7408
7409 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7410 (rmail-variables): Set next-error-move-function.
7411 (rmail-what-message): Take argument POS.
7412 (rmail-next-error-move): New function.
7413
273d2baf
SM
74142011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7415
7416 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7417 messages for adjacent non-terminals.
7418
56c2cc9a
RS
74192011-06-23 Richard Stallman <rms@gnu.org>
7420
7421 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7422 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7423 (rmail-start-mail): Don't specify use of rmail-mail-return;
7424 that's done by mail-bury now.
7425 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7426
d59eb518
MA
74272011-06-23 Michael Albinus <michael.albinus@gmx.de>
7428
7429 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7430 SIZE is a number.
7431
02cfc6d6
MR
74322011-06-23 Martin Rudalics <rudalics@gmx.at>
7433
7434 * window.el (get-lru-window, get-mru-window)
7435 (get-largest-window): Never return a minibuffer window.
7436 (display-buffer-pop-up-window): Fix a bug that could lead to
7437 reusing the minibuffer window.
7438 (display-buffer): Pass original specifier argument to
7439 display-buffer-function instead of the normalized one.
7440 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7441
4e323265
LL
74422011-06-22 Leo Liu <sdl.web@gmail.com>
7443
7444 * minibuffer.el (completing-read-function)
7445 (completing-read-default): Move from minibuf.c
7446
7a70468f
RS
74472011-06-22 Richard Stallman <rms@gnu.org>
7448
50718fc2
RS
7449 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7450 to Rmail even if not started by a special Rmail command.
7451
7a70468f
RS
7452 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7453 Copy the buffer currently showing just one message.
7454
297dde5a
RW
74552011-06-22 Roland Winkler <winkler@gnu.org>
7456
7457 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7458 (bibtex-clean-entry): First delete the old key so that a
7459 customized algorithm for generating the new key does not get
7460 confused by the old key.
7461 (bibtex-url): Obey regexp of first step.
7462 (bibtex-search-entries): Do not use add-to-list with local
7463 list-var.
7464
97bb1093
LMI
74652011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7466
7467 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7468 stored a user name, then query for the password first, instead of
7469 waiting for SMTP to give an error message and the trying again.
7470
1c0f1a19
JD
74712011-06-22 Lawrence Mitchell <wence@gmx.li>
7472
7473 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7474 BUFFER in call-process.
7475
396f7c9d
LMI
74762011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7477
7478 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7479 QUIT twice.
ddb7ffee
LMI
7480 (smtpmail-try-auth-methods): Require user name and password from
7481 auth-source.
396f7c9d 7482
8998d1b3
MR
74832011-06-22 Martin Rudalics <rudalics@gmx.at>
7484
7485 * window.el (display-buffer-default-specifiers)
7486 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7487 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7488 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7489
7490 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7491 (special-display-frame-alist, special-display-popup-frame):
7492 Remove duplicate declarations. These are now in window.el.
7493
4ea31e07
LMI
74942011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7495
c9d29fb8
SM
7496 * mail/smtpmail.el (smtpmail-via-smtp):
7497 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7498 server supports it. SMTP servers that support STARTTLS commonly
7499 require it.
7500
7501 * net/network-stream.el (network-stream-open-starttls): Support
7502 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7503 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7504
95f41d9a
LMI
7505 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7506 upgrades with `open-network-stream', and rely solely on
7507 auth-source for all credentials. Big changes throughout the file,
7508 but in particular:
c9d29fb8
SM
7509 (smtpmail-auth-credentials): Remove.
7510 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7511 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7512 MAIL FROM, too.
95f41d9a 7513
c9d29fb8
SM
7514 * net/network-stream.el (network-stream-open-starttls):
7515 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7516 STARTTLS.
7517 (auth-source): Require.
7518 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7519 (network-stream-certificate): Change cert-cert to cert and
7520 cert-key to key.
4ea31e07 7521
065ec2c7
MA
75222011-06-21 Michael Albinus <michael.albinus@gmx.de>
7523
7524 * net/tramp-cache.el (top): Don't load the persistency file when
7525 "emacs -Q" has been called.
7526
cd93b359
DR
75272011-06-21 Tim Harper <timcharper@gmail.com>
7528
d8e4b68b
JB
7529 * term/ns-win.el (ns-initialize-window-system):
7530 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7531 resource to NO as it is not yet supported by the NS port.
7532
ae9c0411
JB
75332011-06-21 Juanma Barranquero <lekktu@gmail.com>
7534
7535 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7536 (list-dynamic-libraries): ...not here.
7537
7f3f739f
LL
75382011-06-21 Leo Liu <sdl.web@gmail.com>
7539
7540 * subr.el (sha1): Implement sha1 using secure-hash.
7541
327c8fb1
MR
75422011-06-21 Martin Rudalics <rudalics@gmx.at>
7543
7544 * window.el (display-buffer-alist): In default value do not
7545 enforce searching a window on any but the selected frame.
7546 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7547 (display-buffer-select-window): Remove function.
7548 (display-buffer-in-window): When a window on another frame gets
7549 reused, do not select it any more but just raise its frame if
7550 necessary (Bug#8851) and (Bug#8856).
7551 (display-buffer-normalize-options): Handle pop-up-frames related
7552 options more faithfully.
7553 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7554 window if it is on another frame.
c9d29fb8
SM
7555 (display-buffer-alist, display-buffer-default-specifiers):
7556 Don't make new frame unsplittable by default.
9e9de014
MR
7557 (display-buffer-normalize-argument): Fix doc-string typo and use
7558 'same-frame-other-window instead of 'other-window when associating
7559 with display-buffer-macro-specifiers.
327c8fb1 7560
7cf3f556
VB
75612011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7562
7563 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7564 New functions.
7565 (5x5-mode-map, 5x5-mode-menu): Bind them.
7566 (5x5-draw-grid): Tweak the solver's rendering.
7567
60a406cf
SM
75682011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7569
7570 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7571 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7572
d8e4b68b 75732011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7574
7575 * menu-bar.el: Use function variable instead of switch-to-buffer.
7576 (menu-bar-select-buffer-function): New variable.
60a406cf 7577 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7578
478d6f95
SM
75792011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7580
7581 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7582 variable's status.
7583
ca530739
JD
75842011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7585
7586 * x-dnd.el (x-dnd-version-from-flags)
7587 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7588 and long as number (Bug#8899).
7589 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7590
bcd70d97
SM
75912011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7592
60a406cf 7593 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7594 (completion-try-completion, completion-all-completions): Compute the
7595 metadata argument if it's missing; make it optional (bug#8795).
7596
60a406cf 7597 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7598 (widget-complete): Use new :completion-function property.
7599 (widget-completions-at-point): New function.
7600 (default): Use :completion-function instead of :complete.
60a406cf
SM
7601 (widget-default-completions): Rename from widget-default-complete;
7602 Rewrite.
bcd70d97
SM
7603 (widget-string-complete, widget-file-complete, widget-color-complete):
7604 Remove functions.
7605 (file, symbol, function, variable, coding-system, color):
7606 * international/mule-cmds.el (default-input-method, charset)
7607 (language-info-custom-alist):
7608 * cus-edit.el (face): Use new property :completions.
7609
7610 * progmodes/pascal.el (pascal-completions-at-point): New function.
7611 (pascal-mode): Use it.
7612 (pascal-mode-map): Use completion-at-point.
7613 (pascal-toggle-completions): Make obsolete.
7614 (pascal-complete-word, pascal-show-completions):
7615 * progmodes/octave-mod.el (octave-complete-symbol):
7616 Redefine as obsolete alias.
7617 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7618 Signal absence of completion info for old Octave,
7619 (inferior-octave-complete): Redefine as obsolete alias.
7620 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7621 (meta-completions-at-point): Rename from meta-complete-symbol and
7622 adapt it for use on completion-at-point-functions.
7623 (meta-common-mode): Use it.
7624 (meta-looking-at-backward, meta-match-buffer): Remove.
7625 (meta-complete-symbol): Redefine as obsolete alias.
7626 (meta-common-mode-map): Use completion-at-point.
7627 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7628 (makefile-mode-map): Use completion-at-point.
7629 (makefile-completions-at-point): Rename from makefile-complete and
7630 adapt it for use on completion-at-point-functions.
7631 (makefile-mode): Use it.
7632 (makefile-complete): Redefine as obsolete alias.
7633
aebf69c8
DD
76342011-06-20 Deniz Dogan <deniz@dogan.se>
7635
7636 * net/rcirc.el: Delete trailing whitespaces once and for all.
7637
bfbbb27d
DC
76382011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7639
7640 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7641
d264a46b
CY
76422011-06-19 Chong Yidong <cyd@stupidchicken.com>
7643
4ca009e5
CY
7644 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7645
d264a46b
CY
7646 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7647
fbf5b3ce
MR
76482011-06-19 Martin Rudalics <rudalics@gmx.at>
7649
7650 * window.el (display-buffer-other-window-means-other-frame):
7651 Call display-buffer-normalize-alist.
7652 (display-buffer-normalize-specifiers-1): Rename to
7653 display-buffer-normalize-argument. New argument other-frame.
7654 Rewrite.
7655 (display-buffer-normalize-specifiers-2): Rename to
7656 display-buffer-normalize-options.
7657 (display-buffer-normalize-alist-1): New function.
7658 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7659 display-buffer-normalize-alist.
7660 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7661 (display-buffer-normalize-options-inhibit): New variable.
7662 (display-buffer-normalize-specifiers): Rewrite calling
7663 display-buffer-normalize-alist,
7664 display-buffer-normalize-argument, and
7665 display-buffer-normalize-options. Don't call the latter if
7666 display-buffer-normalize-options-inhibit is non-nil.
7667 (frame-auto-delete): New option.
7668 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7669 (window-list-no-nils, window-state-ignored-parameters)
7670 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7671 (window-state-put-1, window-state-put-2, window-state-put):
7672 New functions.
9a028c23
MR
7673 (display-buffer-normalize-options): Move special-display-p group
7674 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7675
6d10d800
CY
76762011-06-18 Chong Yidong <cyd@stupidchicken.com>
7677
6420d28b
CY
7678 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7679 groups (Bug#8776).
7680 (rx-submatch-n): New function.
7681 (rx): Document it.
7682
ddb8b596
CY
7683 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7684 (Bug#8768).
7685
7686 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7687
77080289
CY
7688 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7689
61dfb316
CY
7690 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7691 anytime existing face settings are present (Bug#8889).
7692
6d10d800
CY
7693 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7694 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7695 Remove unused argument.
7696
be3fb2b8
MR
76972011-06-18 Martin Rudalics <rudalics@gmx.at>
7698
bcd70d97
SM
7699 * window.el (display-buffer-default-specifiers):
7700 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7701 pop-up-window-min-width, and another reuse-window specifier
7702 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7703 (display-buffer-normalize-specifiers-2):
7704 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7705 pop-up-windows is unset. Add a reuse-window specifier for the
7706 case popping up a new window fails.
7707 (special-display-popup-frame): Remove double quoting.
28dec25a 7708 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7709
1c6d8c76
SM
77102011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7711
7712 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7713 according to comint-completion-addsuffix.
7714
7715 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7716 (pcomplete-suffix-list): Mark as obsolete.
7717 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7718 pcomplete-seen in the closure.
7719 (pcomplete-comint-setup): Setup completion-at-point as well.
7720 (pcomplete--entries): New function.
7721 (pcomplete--env-regexp): New var.
7722 (pcomplete-entries): Rewrite to work with partial-completion and
7723 without relying on pcomplete-suffix-list.
7724 (pcomplete-pare-list): Remove, unused.
7725
25aef8b8
MR
77262011-06-17 Martin Rudalics <rudalics@gmx.at>
7727
7728 * window.el (display-buffer-alist): Set pop-up-window-min-height
7729 and pop-up-window-min-width in default value. Reported by
7730 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7731 other-window-means-other-frame.
7732 (display-buffer-macro-specifiers): Comment out entry for
7733 other-window specifier.
7734 (display-buffer-other-window-means-other-frame): New function.
7735 (display-buffer-normalize-specifiers-1): New arguments
7736 buffer-name and label. Treat other-window case specially.
7737 (display-buffer-normalize-specifiers-2): Treat other-window case
7738 specially.
7739 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7740 (display-buffer-normalize-specifiers):
7741 Call display-buffer-normalize-specifiers-3.
25aef8b8 7742
dbad4f69
MR
77432011-06-17 Martin Rudalics <rudalics@gmx.at>
7744
7745 * window.el (same-window-p): Fix two typos introduced when
7746 adding with-no-warnings.
d1067961
MR
7747 (display-buffer-normalize-specifiers-1): Don't check
7748 pop-up-frames for 'unset initialization.
7749 (display-buffer-normalize-specifiers-2): Major rewrite using
7750 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7751 (pop-up-frames, display-buffer-reuse-frames)
7752 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7753 Suggested by David Engster <deng@randomsample.de>.
7754 (even-window-heights): Initialize to 'unset.
7755 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7756 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7757 other window case.
dbad4f69 7758
9b9c9e3a
MR
77592011-06-16 Martin Rudalics <rudalics@gmx.at>
7760
bcd70d97
SM
7761 * window.el (display-buffer-normalize-specifiers-1):
7762 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7763 second argument of display-buffer (Bug#8865).
981d5c09
MR
7764 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7765 (switch-to-buffer-other-window-same-frame)
7766 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7767 Adams (Bug#8875).
9c2755e9
MR
7768 (display-buffer): Don't check noninteractive when calling
7769 display-buffer-pop-up-frame.
7770 (display-buffer-pop-up-frame): Never pop up a frame in
7771 noninteractive mode (Bug#8857).
67222e1d
MR
7772 (enlarge-window, shrink-window): Don't report an error when the
7773 window can't be resized as requested (Bug#8862).
9b9c9e3a 7774
2b75be67
SM
77752011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7776
9ffdd3ba
SM
7777 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7778
cb581a67
SM
7779 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7780
2b75be67
SM
7781 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7782
8c0e3589
AM
77832011-06-15 Alan Mackenzie <acm@muc.de>
7784
cb581a67
SM
7785 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7786 for declarators, disable knr checking to speed up for normal files.
7787 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7788
b96e6cde
LMI
77892011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7790
4bba86e6
LMI
7791 * net/network-stream.el (open-network-stream): Add the keyword
7792 :always-query-capabilities for the case where you want to force a
7793 `plain' network connection, but the protocol still requires the
7794 capabilitiy command (i.e., SMTP and EHLO).
7795
2b75be67 7796 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7797 consistency with other `-live-p' functions.
7798
efdcdbf8
SM
77992011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7800
7801 * window.el (same-window-buffer-names, same-window-regexps)
7802 (special-display-frame-alist, special-display-popup-frame)
7803 (special-display-function, special-display-buffer-names)
7804 (special-display-regexps, pop-up-frame-alist)
7805 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7806 (pop-up-windows, split-window-preferred-function)
7807 (split-height-threshold, split-width-threshold, even-window-heights)
7808 (display-buffer-mark-dedicated): Don't encourage the use of
7809 display-buffer-alist from Elisp code.
7810
c5cde042
DN
78112011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7812
7813 * progmodes/python.el (python-mode): Derive from prog-mode.
7814 * progmodes/ps-mode.el (ps-mode):
7815 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7816 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7817 * progmodes/ld-script.el (ld-script-mode): Likewise.
7818
baa1c9ab
MR
78192011-06-15 Martin Rudalics <rudalics@gmx.at>
7820
7821 * window.el (display-buffer-alist): Trim default value to avoid
7822 popping up a new frame (Bug#8857) or reusing an arbitrary window
7823 on another frame.
7824 (display-buffer): Do not fall back on popping up a new frame in
7825 batch mode (Bug#8857).
7826
c5dd5a51
CY
78272011-06-14 Chong Yidong <cyd@stupidchicken.com>
7828
7829 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7830 (custom-theme-summary): New function.
7831 (customize-themes): Use it.
7832
d647b7c4
GM
78332011-06-13 Glenn Morris <rgm@gnu.org>
7834
7835 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7836
9481c002
MR
78372011-06-13 Martin Rudalics <rudalics@gmx.at>
7838
357f93d2
MR
7839 * help.el (help-window): Remove variable.
7840 (help-window-point-marker, temp-buffer-max-height)
7841 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7842 (help-print-return-message): Don't set help-window.
7843 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7844 (help-window-setup-finish): Remove.
7845 (help-window-display-message, help-window-setup)
7846 (with-help-window): Major rewrite based on new
7847 display-buffer-window variable.
7848
7849 * help-mode.el (help-mode-finish): Remove help-window related
7850 code.
7851
7852 * view.el (view-exits-all-viewing-windows): Remove reference to
7853 view-return-to-alist in doc-string.
7854 (view-return-to-alist): Make obsolete.
7855 (view-buffer): Call pop-to-buffer-same-window and remove
7856 undo-window code.
7857 (view-buffer-other-window): Call pop-to-buffer-other-window and
7858 simplify code. Ignore second argument.
7859 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7860 simplify code. Ignore second argument.
7861 (view-return-to-alist-update): Make obsolete.
7862 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7863 Rewrite using quit-restore window parameters.
2b75be67
SM
7864 (view-mode-exit): Rename second argument to EXIT-ONLY.
7865 Rewrite using quit-restore-window.
357f93d2
MR
7866 (View-exit, View-exit-and-edit, View-leave, View-quit)
7867 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7868 appropriate arguments.
7869 (view-end-message): Use quit-restore window parameter.
7870
9481c002
MR
7871 * window.el (display-buffer-function): Rewrite doc-string.
7872 (display-buffer-window, display-buffer-alist): New variables.
7873 (display-buffer-split-specifiers)
7874 (display-buffer-side-specifiers)
7875 (display-buffer-macro-specifiers): New constants.
7876 (display-buffer-even-window-sizes, display-buffer-set-height)
7877 (display-buffer-set-width, display-buffer-select-window)
7878 (display-buffer-in-window, display-buffer-reuse-window)
7879 (display-buffer-split-window-1, display-buffer-split-window)
7880 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7881 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7882 (display-buffer-in-side-window, normalize-buffer-to-display)
7883 (display-buffer-normalize-specifiers-1)
7884 (display-buffer-normalize-specifiers-2)
2b75be67
SM
7885 (display-buffer-normalize-specifiers, display-buffer-frame):
7886 New functions.
9481c002
MR
7887 (display-buffer): Major rewrite.
7888 (display-buffer-other-window, display-buffer-other-frame)
7889 (pop-to-buffer, switch-to-buffer-other-window)
7890 (switch-to-buffer-other-frame): Rewrite.
7891 (display-buffer-same-window, display-buffer-same-frame)
7892 (display-buffer-same-frame-other-window)
7893 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7894 (pop-to-buffer-other-window)
7895 (pop-to-buffer-same-frame-other-window)
7896 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7897 (switch-to-buffer-other-window-same-frame): New functions.
7898 (same-window-p, special-display-p): Rewrite disabling warnings.
7899 Make obsolete.
7900 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7901 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7902 Make obsolete
7903 (same-window-buffer-names, same-window-regexps)
7904 (special-display-frame-alist, special-display-popup-frame)
7905 (special-display-function, special-display-buffer-names)
7906 (special-display-regexps, pop-up-frame-alist)
7907 (pop-up-frame-function, split-window-preferred-function)
7908 (split-height-threshold, split-width-threshold)
7909 (even-window-heights): Make obsolete.
7910
9db51aca
GM
79112011-06-12 Glenn Morris <rgm@gnu.org>
7912
7913 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 7914 Misc simplifications.
9db51aca 7915
39cffb44
MR
79162011-06-12 Martin Rudalics <rudalics@gmx.at>
7917
7918 * window.el (window-safely-shrinkable-p): Restore function which
7919 was inadvertently removed in change from 2011-06-11. Declare as
7920 obsolete.
7921
2b75be67
SM
7922 * calendar/calendar.el (calendar-generate-window):
7923 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
7924 window-safely-shrinkable-p.
7925
a8955be7
GM
79262011-06-12 Glenn Morris <rgm@gnu.org>
7927
7928 * progmodes/fortran.el (fortran-mode-syntax-table):
7929 * progmodes/f90.el (f90-mode-syntax-table):
7930 Set % to punctuation. (Bug#8820)
7931 (f90-find-tag-default): Remove, no longer needed.
7932
f0d4059d
DC
79332011-06-12 Daniel Colascione <dan.colascione@gmail.com>
7934
7935 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7936
1100a63c
CY
79372011-06-11 Chong Yidong <cyd@stupidchicken.com>
7938
7939 * image.el (image-animated-p): Return animation delay in seconds.
7940 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7941 (image-animate-timeout): Remove DELAY argument. Don't assume
7942 every subimage has the same delay; get it from image-animated-p.
7943 (image-animate): Caller changed.
7944
def722bf
MA
79452011-06-11 Michael Albinus <michael.albinus@gmx.de>
7946
7947 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7948 to ignored backtrace functions.
7949
0a2bb1a9
GM
79502011-06-11 Glenn Morris <rgm@gnu.org>
7951
7952 * calendar/appt.el (appt-disp-window-function): Doc fix.
7953 (appt-check): Handle overlapping appointments. (Bug#8337)
7954
6198ccd0
MR
79552011-06-11 Martin Rudalics <rudalics@gmx.at>
7956
7957 * window.el (window-tree-1, window-tree): New functions, moving
7958 the latter to window.el.
7959 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7960 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7961 (bw-refresh-edges): Remove.
7962 (balance-windows-1, balance-windows-2): New functions.
7963 (balance-windows): Rewrite in terms of window tree functions,
7964 balance-windows-1 and balance-windows-2.
7965 (bw-adjust-window): Remove.
7966 (balance-windows-area-adjust): New function with functionality of
7967 bw-adjust-window but using resize-window.
2b75be67
SM
7968 (set-window-text-height): Rewrite doc-string.
7969 Use normalize-live-window and resize-window.
7970 (enlarge-window-horizontally, shrink-window-horizontally):
7971 Rename argument to DELTA.
6198ccd0
MR
7972 (window-buffer-height): New function.
7973 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
7974 Rewrite using new window resize routines.
2b75be67
SM
7975 (kill-buffer-and-window, mouse-autoselect-window-select):
7976 Use ignore-errors instead of condition-case.
6198ccd0
MR
7977 (quit-window): Call delete-frame instead of delete-windows-on
7978 for the only buffer on frame.
7979
9397e56f
MR
79802011-06-10 Martin Rudalics <rudalics@gmx.at>
7981
7982 * loadup.el (top-level): Load window before files for the sake
7983 of replace-buffer-in-windows.
7984
7985 * files.el (read-buffer-to-switch)
7986 (switch-to-buffer-other-window)
2b75be67
SM
7987 (switch-to-buffer-other-frame, display-buffer-other-frame):
7988 Move to window.el.
9397e56f
MR
7989
7990 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
7991 (previous-buffer): Move to window.el.
7992
7993 * bindings.el (unbury-buffer): Move to window.el.
7994
7995 * window.el (delete-other-windows-vertically): Move after
7996 definition of delete-other-windows.
7997 (other-window, delete-windows-on, replace-buffer-in-windows):
7998 Move here from window.c.
7999 (record-window-buffer, unrecord-window-buffer)
8000 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8001 (switch-to-next-buffer): New functions.
8002 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8003 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8004 (previous-buffer): Move here from simple.el.
8005 Call switch-to-prev-buffer.
9397e56f
MR
8006 (bury-buffer): Move here from buffer.c. Switch to previous
8007 buffer when window cannot be deleted.
8008 (unbury-buffer): Move here from bindings.el.
8009 (ctl-x-map): Move binding for other-window from window.c to
8010 here.
8011 (read-buffer-to-switch, switch-to-buffer-other-window)
8012 (switch-to-buffer-other-frame): Move here from files.el.
8013 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8014 (switch-to-buffer): Move here from buffer.c.
8015 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8016
562dd5e9
MR
80172011-06-10 Martin Rudalics <rudalics@gmx.at>
8018
8019 * window.el (window-min-height, window-min-width): Move here
8020 from window.c. Add defcustoms and rewrite doc-strings.
8021 (resize-mini-window, resize-window): New functions.
8022 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8023 Move here from window.c.
8024 (maximize-window, minimize-window): New functions.
8025 (delete-window, delete-other-windows, split-window): Move here
8026 from window.c.
8027 (window-split-min-size): New function.
8028 (split-window-keep-point): Mention split-window-above-each-other
8029 instead of split-window-vertically.
2b75be67 8030 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8031 Rename split-window-vertically to split-window-above-each-other
8032 and provide defalias for old definition.
8033 (split-window-side-by-side, split-window-horizontally):
8034 Rename split-window-horizontally to split-window-side-by-side
8035 and provide defalias for the old definition.
562dd5e9
MR
8036 (ctl-x-map): Move bindings for delete-window,
8037 delete-other-windows and enlarge-window here from window.c.
8038 Replace bindings for split-window-vertically and
8039 split-window-horizontally by bindings for
8040 split-window-above-each-other and split-window-side-by-side.
8041
8042 * cus-start.el (all): Remove entries for window-min-height and
8043 window-min-width. Add entries for window-splits and
8044 window-nest.
8045
f0da764a
GM
80462011-06-09 Glenn Morris <rgm@gnu.org>
8047
80675c21
GM
8048 * calendar/appt.el (appt-mode-line): New function.
8049 (appt-check, appt-disp-window): Use it.
8050
f0da764a
GM
8051 * files.el (hack-one-local-variable-eval-safep):
8052 Allow minor-modes with explicit +/-1 arguments.
8053
59f623b7
TZ
80542011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8055
8056 * term/xterm.el (xterm): Add defgroup.
8057 (xterm-extra-capabilities): Add defcustom to supply known xterm
8058 capabilities, skip querying them, or query them (default).
8059 (terminal-init-xterm): Use it.
8060 (terminal-init-xterm-modify-other-keys): New function to set up
8061 modifyOtherKeys support to simplify `terminal-init-xterm'.
8062
9aab8e0d
MR
80632011-06-09 Martin Rudalics <rudalics@gmx.at>
8064
8065 * window.el (resize-window-reset, resize-window-reset-1)
8066 (resize-subwindows-skip-p, resize-subwindows-normal)
8067 (resize-subwindows, resize-other-windows, resize-this-window)
8068 (resize-root-window, resize-root-window-vertically)
8069 (window-deletable-p, window-or-subwindow-p)
8070 (frame-root-window-p): New functions.
8071
e8b08aee
GM
80722011-06-09 Glenn Morris <rgm@gnu.org>
8073
8074 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8075 (ange-ftp-get-files): Use it.
8076
254c37a5
AK
80772011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8078
8079 * mail/sendmail.el (mail-recover-1, mail-recover):
8080 * files.el (recover-file, recover-session):
8081 Handle dired-listing-switches not being just a single short option.
8082
35d7dbd3
GM
80832011-06-09 Glenn Morris <rgm@gnu.org>
8084
8085 * calendar/appt.el (appt-display-message, appt-disp-window):
8086 Handle lists of appointments.
8087
387522b2
MR
80882011-06-08 Martin Rudalics <rudalics@gmx.at>
8089
2b75be67
SM
8090 * window.el (one-window-p): Move down in code.
8091 Rewrite doc-string.
8092 (window-current-scroll-bars): Rewrite doc-string.
8093 Normalize live window argument.
387522b2
MR
8094 (walk-windows, get-window-with-predicate, count-windows):
8095 Rewrite doc-string. Use window-list-1.
8096 (window-in-direction-2, window-in-direction, get-mru-window):
8097 New functions.
8098
d8e4b68b 80992011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8100
8101 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8102 Doc fix (Bug#8713).
8103
81042011-06-08 Chong Yidong <cyd@stupidchicken.com>
8105
8106 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8107
81082011-06-08 Juanma Barranquero <lekktu@gmail.com>
8109
8110 * loadhist.el (unload-feature-special-hooks):
8111 Add `comint-output-filter-functions'.
8112
0de12c52
IK
81132011-06-08 Ivan Kanis <gnu@kanis.fr>
8114
8115 * calendar/appt.el (appt-check): Move some initializations into the let.
8116
f3d1777e
MR
81172011-06-08 Martin Rudalics <rudalics@gmx.at>
8118
8119 * window.el (window-height): Defalias to window-total-height.
8120 (window-width): Defalias to window-body-width.
8121
18af70d0
CY
81222011-06-07 Chong Yidong <cyd@stupidchicken.com>
8123
8124 * image-mode.el (image-toggle-animation): New command.
8125 (image-mode-map): Bind it to RET.
8126 (image-mode): Update message.
8127 (image-toggle-display-image): Avoid a spurious cache flush.
8128 (image-transform-rotation): Doc fix.
8129 (image-transform-properties): Return quickly in the normal case.
8130 (image-animate-loop): Rename from image-animate-max-time.
8131
2b75be67 8132 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8133 (create-animated-image): Remove unnecessary function.
8134 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8135 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8136 (image-animate-timer): Use car-safe.
8137 (image-animate-timeout): Rename argument.
8138
190b47e6
MR
81392011-06-07 Martin Rudalics <rudalics@gmx.at>
8140
8141 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8142 window.c. Rename first argument to ALL-FRAMES.
8143 Rephrase doc-strings.
8144 (get-buffer-window-list): Rewrite using window-list-1.
8145 Rephrase doc-string.
a1511caf
MR
8146 (window-safe-min-height, window-safe-min-width): New constants.
8147 (window-size-ignore, window-min-size, window-min-size-1)
8148 (window-sizable, window-sizable-p, window-size-fixed-1)
8149 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8150 (window-max-delta-1, window-max-delta, window-resizable)
8151 (window-resizable-p, window-total-height, window-total-width)
8152 (window-body-width): New functions.
8153 (window-full-height-p, window-full-width-p): Rewrite using
8154 window-total-size.
8155 (window-body-height): Rewrite using window-body-size.
190b47e6 8156
85cc1f11
MR
81572011-06-06 Martin Rudalics <rudalics@gmx.at>
8158
8159 * window.el (window-right, window-left, window-child)
8160 (window-child-count, window-last-child, window-any-p)
8161 (normalize-live-buffer, normalize-live-frame)
8162 (normalize-any-window, normalize-live-window)
8163 (window-iso-combination-p, window-iso-combined-p)
8164 (window-iso-combinations)
8165 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8166 (windows-with-parameter, window-with-parameter)
8167 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8168 (window-atom-check, window-side-check, window-check):
8169 New functions.
85cc1f11
MR
8170 (ignore-window-parameters, window-sides, window-sides-vertical)
8171 (window-sides-slots): New variables.
8172 (window-size-fixed): Move down in code. Minor doc-string fix.
8173
e7156492
AS
81742011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8175
8176 * comint.el (comint-dynamic-complete-as-filename)
8177 (comint-dynamic-complete-filename): Correctly call
8178 completion-in-region.
8179
7e821d0d
DD
81802011-06-05 Deniz Dogan <deniz@dogan.se>
8181
8182 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8183 in last change.
8184
ac09b8a1
DD
81852011-06-05 Deniz Dogan <deniz@dogan.se>
8186
8187 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8188 (rcirc): Use it to prompt for encryption.
8189
34699b85
RW
81902011-06-05 Roland Winkler <winkler@gnu.org>
8191
8192 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8193 (bibtex-search-entries): New command bound to C-c C-a.
8194 (bibtex-display-entries): New function.
8195
004dedd3
RW
81962011-06-05 Roland Winkler <winkler@gnu.org>
8197
8198 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8199 (bibtex-insert-kill): After yanking insert newline if necessary.
8200 (bibtex-initialize): Call bibtex-string-files-init only once.
8201 (bibtex-mode): Do not call easy-menu-add.
8202 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8203 (bibtex-yank): Set arg properly if nil.
8204
022fe7ce
RW
82052011-06-05 Roland Winkler <winkler@gnu.org>
8206
2b75be67
SM
8207 * textmodes/bibtex.el (bibtex-search-entry-globally):
8208 New variable.
022fe7ce
RW
8209 (bibtex-search-entry): Use it.
8210
b7c3692a
RW
82112011-06-05 Roland Winkler <winkler@gnu.org>
8212
8213 * textmodes/bibtex.el (bibtex-entry-format): New option
8214 sort-fields.
8215 (bibtex-format-entry, bibtex-reformat): Honor this option.
8216 (bibtex-parse-entry): Return fields in proper order.
8217
8eda563d
JB
82182011-06-05 Juanma Barranquero <lekktu@gmail.com>
8219
8220 * doc-view.el (doc-view-remove-if): Move computation of result out
8221 of `dolist' to silence misleading lexical-binding warning.
8222
7dbe3dbc
CY
82232011-06-04 Chong Yidong <cyd@stupidchicken.com>
8224
8225 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8226 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8227
0c33dd17
MA
82282011-06-04 Michael Albinus <michael.albinus@gmx.de>
8229
8230 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8231 "SunOS 5.10".
8232
f8f91c2b
MA
82332011-06-04 Michael Albinus <michael.albinus@gmx.de>
8234
8235 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8236 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8237 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8238 (tramp-parse-putty):
8239 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8240 (tramp-completion-function-alist-ssh)
8241 (tramp-completion-function-alist-telnet)
8242 (tramp-completion-function-alist-su)
8243 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8244 cookie.
8245
8246 * net/tramp-ftp.el:
8247 * net/tramp-sh.el:
8248 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8249 load "tramp.el" `tramp-set-completion-function'.
8250
e17d9003
SM
82512011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8252
8253 * shell.el: Require and use pcomplete.
8254 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8255 (shell-completion-vars): Set pcomplete-default-completion-function.
8256
6c4cab03
DD
82572011-06-04 Deniz Dogan <deniz@dogan.se>
8258
8259 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8260 `memq' (Bug#8799).
8261
ea9fafe0
SM
82622011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8263
8264 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8265
b3e945d3
JB
82662011-06-02 Juanma Barranquero <lekktu@gmail.com>
8267
8268 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8269 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8270 * vc/log-view.el (log-view-beginning-of-defun):
8271 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8272 (smerge-refine-forward, smerge-refine-chopup-region):
8273 Silence warning for unused `dotimes' counter variables.
8274
7d520089
SM
82752011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8276
8277 * net/tramp.el (tramp-with-progress-reporter): Rename from
8278 with-progress-reporter. Use `declare'.
8279 * net/tramp-smb.el:
8280 * net/tramp-sh.el:
8281 * net/tramp-gvfs.el: Update all uses.
8282
a1c2400f
JB
82832011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8284
8285 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8286 buffer isn't killed before making it current.
8287
2403c841
SM
82882011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8289
8290 Silence various byte-compiler warnings.
8291 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8292 `access-type' and new obsolescence format.
8293 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8294 new format.
8295 (byte-compile-check-variable): New `access-type' argument.
8296 Only warn if the access-type is obsolete.
8297 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8298 (byte-compile-variable-set): Adjust callers.
8299 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8300 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8301 setting it as obsolete.
8302 * simple.el (minibuffer-completing-symbol):
8303 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8304 access as obsolete.
8305 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8306 obsolete yet.
8307 * international/quail.el (quail-mouse-choose-completion): Remove unused
8308 code referring to obsolete var.
8309 (quail-choose-completion-string): Remove.
8310 * server.el (server-clients-with, server-kill-buffer-query-function)
8311 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8312 * proced.el (proced-send-signal):
8313 * emacs-lisp/lisp.el (lisp-complete-symbol):
8314 Replace completion-annotate-function with completion-extra-properties.
8315
2462470b
SM
83162011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8317
fb5b2591
SM
8318 * simple.el (goto-line): Use read-number.
8319 (overriding-map-is-bound): Remove.
8320 (saved-overriding-map): Change default.
8321 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8322 Take the map as argument.
8323 (universal-argument, negative-argument, digit-argument): Use it.
8324 (restore-overriding-map): Adjust.
8325 (do-auto-fill): Use fill-forward-paragraph.
8326 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8327
fd6fa53f
SM
8328 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8329 (minibuffer-inactive-mode): New major mode.
8330 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8331 the *Messages* buffer" hack.
8332 (mouse-popup-menubar): Don't burp if the event is a normal key.
8333
2462470b
SM
8334 Miscellaneous tweaks.
8335 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8336 lexical scoping as in subr.el's dolist and dotimes.
8337 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8338 Silence compiler warning.
8339 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8340 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8341 * international/ccl.el (ccl-compile): Trivial simplification.
8342 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8343 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8344 `printflag' argument.
8345 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8346 Purecopy the whole obsolescence data.
8347
108bf785
LL
83482011-06-01 Leo Liu <sdl.web@gmail.com>
8349
8350 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8351 improve doc-string as suggested by Marco Pessotto
8352 <melmothx@gmail.com>.
8353 (rcirc-print): Fix last change.
8354
30a23501
SM
83552011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8356
8357 * minibuffer.el (complete-with-action): Return nil for the metadata and
8358 boundaries of non-functional tables.
8359 (completion-table-dynamic): Return nil for the metadata.
8360 (completion-table-with-terminator): Add default case, using
8361 complete-with-action.
8362 (completion--metadata): New function.
8363 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8364 to try and avoid pathological performance problems.
8365 (completion--embedded-envvar-table): Return `category' metadata.
8366
bcd54f83
LMI
83672011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8368
8369 * subr.el (process-alive-p): New tiny convenience function.
8370
e227544d
SM
83712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8374 content but also its previous major mode.
8375
e8296fdc
HE
83762011-05-31 Helmut Eller <eller.helmut@gmail.com>
8377
4d61f28d 8378 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8379 *Backtrace* buffer when we exit with C-M-c.
8380
620c53a6
SM
83812011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 * minibuffer.el: Add metadata method to completion tables.
8384 (completion-category-overrides): New defcustom.
8385 (completion-metadata, completion--field-metadata)
8386 (completion-metadata-get, completion--styles)
8387 (completion--cycle-threshold): New functions.
8388 (completion-try-completion, completion-all-completions):
8389 Add `metadata' argument to choose completion-styles.
8390 (completion--do-completion): Use metadata to choose cycling.
8391 (completion-all-sorted-completions): Use metadata for sorting.
8392 Remove :completion-cycle-penalty which is not needed any more.
8393 (completion--try-word-completion): Add `metadata' argument.
8394 (minibuffer-completion-help): Check metadata for annotation function
8395 and sorting.
8396 (completion-file-name-table): Return `category' metadata.
8397 (minibuffer-completing-file-name): Make obsolete.
8398 * simple.el (minibuffer-completing-symbol): Make obsolete.
8399 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8400 completion-try-completion.
8401
1257e755
SM
84022011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8403
8404 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8405
3767e706
LL
84062011-05-30 Leo Liu <sdl.web@gmail.com>
8407
8408 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8409 (rcirc-print): Decode all incoming messages (bug#8744).
8410 (rcirc-decode-coding-system): Allow value nil for automatic coding
8411 system detection.
3767e706 8412
d1a5d56a
GM
84132011-06-01 Glenn Morris <rgm@gnu.org>
8414
8415 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8416
e8cbec34
CY
84172011-05-29 Chong Yidong <cyd@stupidchicken.com>
8418
8419 * image.el (image-animate-max-time): Allow nil and t values.
8420 Default to nil.
8421 (create-animated-image): Doc fix.
8422 (image-animate-start): Remove second arg; just use
8423 image-animate-max-time.
8424 (image-animate-timeout): Doc fix. Args changed.
8425
8426 * image-mode.el (image-toggle-display-image): Ensure that the
8427 image spec passed to the animate timer is the same object as in
58179cce 8428 the buffer's display property (Bug#6981).
e8cbec34
CY
8429 (image-transform-properties): Doc fix.
8430
8431 * image.el (image-animate-max-time): Default to nil.
8432
159daf87
MR
84332011-05-29 Martin Rudalics <rudalics@gmx.at>
8434
8435 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8436 entire buffer list (Bug#8184).
8437
d66c4c7c
CY
84382011-05-29 Chong Yidong <cyd@stupidchicken.com>
8439
8440 * image.el (imagemagick-types-inhibit)
8441 (imagemagick-register-types): Doc fix.
8442
80aec780
DD
84432011-05-29 Deniz Dogan <deniz@dogan.se>
8444
8445 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8446 default.
8447
1dd3c2d9
CY
84482011-05-29 Chong Yidong <cyd@stupidchicken.com>
8449
8450 * select.el: Don't perform clipboard-manager saving in hooks;
8451 leave the hooks empty.
8452
60e56523
LL
84532011-05-28 Leo Liu <sdl.web@gmail.com>
8454
8455 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8456 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8457 (occur-edit-mode): New major mode (Bug#8463).
8458 (occur-after-change-function): New function.
8459 (occur-engine): Give Occur tags a read-only property.
8460
2b1e1a22
KR
84612011-05-28 Kevin Ryde <user42@zip.com.au>
8462
8463 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8464
5d344e88
CY
84652011-05-28 Chong Yidong <cyd@stupidchicken.com>
8466
8e6ca83d
CY
8467 * bindings.el (help-echo): Make the initial non-indicator dash
8468 empty on graphical terminals (Bug#7295).
8469
5d344e88
CY
8470 * files.el (auto-mode-alist): Move config rule after the
8471 in-stripping one (Bug#8547).
8472
bfbbace7
CY
8473 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8474
fbeba6e2
CY
8475 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8476 setting (Bug#8740).
8477
60ed8c72
AA
84782011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8479
4ac619f0
AA
8480 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8481 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8482 (Bug#8539).
60ed8c72 8483
23db196e
CY
84842011-05-28 Chong Yidong <cyd@stupidchicken.com>
8485
8486 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8487
5012f24c
DK
84882011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8489
8490 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8491 (hs-hide-block-at-point, hs-find-block-beginning)
8492 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8493 (Bug#8279).
8494
6a639b16
GM
84952011-05-28 Glenn Morris <rgm@gnu.org>
8496
8497 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8498
d43eaf2c
CY
84992011-05-28 Chong Yidong <cyd@stupidchicken.com>
8500
5199bde1
CY
8501 * help-fns.el (describe-function-1): If the function is a derived
8502 major mode, print the parent mode.
8503
d43eaf2c
CY
8504 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8505 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8506
423428a8
SM
85072011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8508
0ff8e1ba 8509 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8510 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8511 * progmodes/etags.el (tags-completion-at-point-function):
8512 * info-look.el (info-lookup-completions-at-point): Mark as
8513 non-exclusive.
8514 (info-complete): Adjust accordingly.
8515
423428a8
SM
8516 * info-look.el: Convert to lexical-binding and completion-at-point.
8517 (info-lookup-completions-at-point): New function.
8518 (info-complete): Use it and completion-in-region.
8519
b74aa22b
DA
85202011-05-28 Drew Adams <drew.adams@oracle.com>
8521
8522 * isearch.el: Let M-e start with point at the first mismatched char.
8523 (isearch-fail-pos): New function.
8524 (isearch-edit-string): Use it.
8525
66e2e71d
DK
85262011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8527
8528 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8529
b1890b0f 85302011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8531
8532 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8533 traversal functions for avl-trees.
8534 (avl-tree--stack): New struct.
8535 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8536 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8537 (avl-tree--do-enter): Add optional `updatefun' arg.
8538 Change return value.
eb95d01d 8539 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8540 (avl-tree--do-delete): Add `test' and `nilflag' args.
8541 Change return value.
eb95d01d
TC
8542 (avl-tree-member): Add optional `nilflag'
8543 (avl-tree-member-p): New function.
8544 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8545 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8546 (avl-tree-stack-empty-p): New functions.
8547
3769ddcf
TC
8548 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8549 avl-tree--del-balance1 and make it work both ways.
8550 (avl-tree--del-balance2): Remove.
8551 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8552 make it work both ways.
8553 (avl-tree--enter-balance2): Remove.
8554 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8555 New macros.
8556 (avl-tree--mapc, avl-tree-map): Add direction argument.
8557
eb95d01d 85582011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8559
8560 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8561
a9f737ee
CY
85622011-05-27 Chong Yidong <cyd@stupidchicken.com>
8563
8564 * select.el: Support clipboard managers with built-in function
8565 x-clipboard-manager-save, via delete-frame-functions and
8566 kill-emacs-hook.
8567 (xselect-convert-to-targets): Add MULTIPLE target to list.
8568 (xselect-convert-to-save-targets): New function.
8569
c92a1e54
KH
85702011-05-27 Kenichi Handa <handa@m17n.org>
8571
8572 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8573 let-binding rfc2047-encode-encoded-words to nil.
8574
e145f188
GM
85752011-05-27 Glenn Morris <rgm@gnu.org>
8576
5ec8a862
GM
8577 * mail/emacsbug.el: Don't require url-util.
8578
4b29d9fb
GM
8579 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8580
e145f188
GM
8581 * files.el (set-auto-mode):
8582 Also respect mode: entries at the end of the file. (Bug#8586)
8583
7d15102b
GM
85842011-05-26 Glenn Morris <rgm@gnu.org>
8585
98f593b8
GM
8586 * files.el (hack-local-variables-prop-line, hack-local-variables):
8587 Downcase mode names, as seems to be traditional.
27b48e63 8588 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8589
7d15102b
GM
8590 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8591 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8592
51d5b4ec
JD
85932011-05-25 Julien Danjou <julien@danjou.info>
8594
8595 * textmodes/rst.el (rst-define-level-faces): Do not define face
8596 symbol if it is already defined.
8597
91513f63
VB
85982011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8599
8600 * play/5x5.el (5x5-new-game, 5x5-randomize):
8601 Reset 5x5-solver-output to nil when a new grid is cast.
8602 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8603 these debugging traces, as defmacro breaks the compiled code.
8604
4d90d6d0
DK
86052011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8606
8607 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8608
e1b90ef6
LL
86092011-05-24 Leo Liu <sdl.web@gmail.com>
8610
8611 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8612 (vc-bzr-sha1): Adapt.
8613
d8e4b68b 8614 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8615
8616 * bindings.el: Provide sha1 feature.
8617
db0406bb 86182011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8619
8620 * mail/sendmail.el: Require `rfc2047'.
8621 (mail-insert-from-field): Do not perform RFC2047 encoding.
8622 (mail-encode-header): New function.
8623 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8624 buffer to the return value of select-message-coding-system.
8625 Call mail-encode-header.
b8d747b9
KH
8626
8627 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8628
db0406bb 86292011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8630
4d90d6d0
DK
8631 * mail/supercite.el (sc-default-cite-frame):
8632 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8633
eb8a5e9b
GM
86342011-05-24 Glenn Morris <rgm@gnu.org>
8635
f8630703
GM
8636 * progmodes/python.el (brm-menu): Declare.
8637
8831bbed
GM
8638 * emulation/viper.el (viper-set-hooks): Declare.
8639
eb8a5e9b
GM
8640 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8641 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8642 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8643 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8644 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8645 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8646
a2a25d24
SM
86472011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8648
8649 Add an :exit-function for completion-at-point.
8650
8651 * minibuffer.el (completion--done): New fun.
8652 (completion--do-completion): Use it. New arg `expect-exact'.
8653 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8654 since completion--do-completion does it for us now.
8655 (minibuffer-force-complete): Use completion--done and
8656 completion--replace. Handle sole-completion case with more care.
8657 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8658 (completion-extra-properties): New var.
8659 (completion-annotate-function): Make obsolete.
8660 (minibuffer-completion-help): Adjust accordingly.
8661 Use completion-list-insert-choice-function.
8662 (completion-at-point, completion-help-at-point):
8663 Bind completion-extra-properties.
8664 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8665 * simple.el (completion-list-insert-choice-function): New var.
8666 (completion-setup-function): Preserve it.
8667 (choose-completion): Pay attention to it, shuffle the code a bit.
8668 (choose-completion-string): New arg `insert-function'.
8669
8670 * textmodes/bibtex.el: Convert to lexical binding.
8671 (bibtex-mode-map): Use completion-at-point.
8672 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8673 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8674 (bibtex-complete): Define as obsolete alias.
8675 (bibtex-complete-internal): Remove.
8676 (bibtex-format-entry): Remove unused sub-group in regexp.
8677 * shell.el (shell--command-completion-data)
8678 (shell-environment-variable-completion):
8679 * pcomplete.el (pcomplete-completions-at-point):
8680 * comint.el (comint--complete-file-name-data): Use :exit-function
8681 instead of completion-table-with-terminator so it also works for
8682 choose-completion.
8683
e44e373d
SM
86842011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8685
4f91a816
SM
8686 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8687
782fc819
SM
8688 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8689 (bug#8710).
8690
e44e373d
SM
8691 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8692
381987c3
KM
86932011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8694
8695 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8696 customization variable and implement: If non-nil, auto-fill will
8697 be inhibited while on topic's header line.
8698
b776bc70
VB
86992011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8700
8701 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8702 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8703 always have a solution in grid size = 5 cases.
8704 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8705 (5x5-solver-output, 5x5-log-buffer): New vars.
8706 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8707 Make these variables buffer local to achieve 5x5 multi-session-ness.
8708 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8709 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8710 (5x5-solve-suggest): New funs.
8711 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8712 randomize a grid so that we ensure that there is always a solution.
8713 (5x5-make-random-grid): Allow other movement than flipping.
8714
7de88b6e
KR
87152011-05-23 Kevin Ryde <user42@zip.com.au>
8716
8717 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8718 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8719 advice and passes PREDICATE.
8720
b1ef1257
SM
87212011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8722
bbca48fe
SM
8723 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8724 byte-compile-lambda if it's actually a lambda.
8725
b1ef1257
SM
8726 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8727 Fix function quoting. Use backquote better.
8728
92a9cc65
YS
87292011-05-22 Yuanle Song <sylecn@gmail.com>
8730
8731 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8732 matching (Bug#8516).
8733
f0fb8059
JA
87342011-01-22 Jari Aalto <jari.aalto@cante.net>
8735
8736 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8737 different face (Bug#8178).
8738
d5b44c93
CY
87392011-05-22 Chong Yidong <cyd@stupidchicken.com>
8740
8741 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8742 defface (Bug#8144).
8743
79106a44
SM
87442011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8745
9c848d8a
SM
8746 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8747 funcall as well (bug#8712). Warn when performing those conversions.
8748 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8749
79106a44
SM
8750 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8751
88dfa756
GM
87522011-05-22 Glenn Morris <rgm@gnu.org>
8753
8754 * files.el (hack-local-variables-prop-line): Small simplifications.
8755 (hack-local-variables, hack-local-variables-prop-line):
8756 If MODE-ONLY, return the mode, rather than just `t'.
8757
b7cf2c79
SM
87582011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8761
3f1a8558
GM
87622011-05-21 Glenn Morris <rgm@gnu.org>
8763
7e4ccca3
GM
8764 * files.el (hack-local-variables-prop-line, hack-local-variables):
8765 If only interested in the mode, don't bother doing the other stuff.
8766
637d46ca
GM
8767 * image-mode.el (image-after-revert-hook):
8768 Redraw all frames on which the image is visible. (Bug#8567)
8769
973d955b
GM
8770 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8771
3f1a8558
GM
8772 * wid-edit.el (widget-checklist-match-inline):
8773 Fix 2011-04-19 change. (Bug#8649)
8774
96479927
SM
87752011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8776
1dcf791f
SM
8777 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8778 Also allow singlespace after single-letter capitals followed by a dot.
8779
96479927
SM
8780 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8781 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8782
35fd0881
N
87832011-05-20 Nix <nix@esperi.org.uk>
8784
8785 * files.el (basic-save-buffer-2):
8786 Fix handling of break-hardlink-on-save with non-existent files.
8787
82745640
DD
87882011-05-19 Deniz Dogan <deniz@dogan.se>
8789
8790 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8791 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8792
4a720484
GM
87932011-05-19 Glenn Morris <rgm@gnu.org>
8794
d1f21341
GM
8795 * progmodes/f90.el (f90-type-def-re):
8796 Handle "type, bind(c)". (Bug#8691)
8797
4a720484
GM
8798 * emacs-lisp/autoload.el (batch-update-autoloads):
8799 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8800
2fb0a219
MA
88012011-05-18 Michael Albinus <michael.albinus@gmx.de>
8802
8803 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8804 property for the correct connection in case of multihops.
8805
e565dd37
GM
88062011-05-18 Glenn Morris <rgm@gnu.org>
8807
c2571358 8808 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8809 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8810
e565dd37
GM
8811 Rationalize calendar handling of day and month abbrev-arrays.
8812 * calendar/calendar.el (calendar-customized-p): New function.
8813 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8814 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8815 Add :set function.
8816 (calendar-abbrev-length, calendar-day-abbrev-array)
8817 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8818 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8819 Elements may no longer be nil.
8820 (calendar-day-name, calendar-month-name):
8821 Update for changed nature of abbrev arrays.
8822 * calendar/diary-lib.el (diary-name-pattern):
8823 Update for changed nature of abbrev arrays.
8824 (diary-mark-entries-1): Update calendar-make-alist calls.
8825 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8826 * calendar/cal-html.el (cal-html-day-abbrev-array):
8827 Simply inherit from calendar-day-abbrev-array.
8828
1d99a745
SM
88292011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8830
8831 * progmodes/grep.el (grep-mode): Disable default
8832 compilation-directory-matcher setting (bug#8684).
8833
7c1d9aa0
MA
88342011-05-17 Michael Albinus <michael.albinus@gmx.de>
8835
8836 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8837 instead of "head" and "tail". There were problems with SunOS 5.9,
8838 and it performs better.
8839
3952e9d8
GM
88402011-05-17 Glenn Morris <rgm@gnu.org>
8841
2dd12e7f
GM
8842 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8843
e4157b9c
GM
8844 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8845 Replace obsolete function.
8846
8e249bbd
GM
8847 * shell.el (pcomplete-parse-arguments-function): Declare.
8848
3952e9d8
GM
8849 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8850 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8851 (appt-check): Doc fixes.
8852 (appt-disp-window-function, appt-delete-window-function):
8853 Remove needless special case in custom :type.
8854 (appt-display-count): Default to 0, not nil.
8855 (appt-check): Reset appt-display-count to 0, not nil.
8856
c71a0d48 88572011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8858
c71a0d48
GM
8859 * progmodes/python.el (python-font-lock-keywords):
8860 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 8861
31d55be9
SM
88622011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8863
8864 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8865
3bfacb2f
KR
88662011-05-16 Kevin Ryde <user42@zip.com.au>
8867
8868 * info-look.el (makefile-automake-mode): New setups, looking in
8869 automake manual, then makefile-mode.
8870 (makefile-mode): Remove automake manual, have it just in
8871 makefile-automake-mode since there's various things different or
8872 not relevant to plain make.
8873 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8874 believe a hypothetical automake-mode would go to makefile-mode,
8875 not the other way around.
8876
c8e83751
CY
88772011-05-15 Chong Yidong <cyd@stupidchicken.com>
8878
5e9e35cd
CY
8879 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8880 hunk-end tags (Bug#8672).
8881
c8e83751
CY
8882 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8883 vc-annotate-show-diff-revision-at-line (Bug#8671).
8884
50b23e5a
GM
88852011-05-14 Glenn Morris <rgm@gnu.org>
8886
7210a739
GM
8887 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8888 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
8889 (change-log-font-lock-keywords): Also handle multiple author lines
8890 with leading tabs. (Bug#8644)
7210a739 8891
4691905a
GM
8892 * calendar/appt.el (appt-check): Rename some local variables.
8893 Some simplification/reordering.
8894
50b23e5a
GM
8895 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
8896 (feedmail-sendmail-f-doesnt-sell-me-out)
8897 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8898 (feedmail-debug-sit-for, feedmail-queue-express-hook)
8899 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
8900 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8901 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
8902 (feedmail-binmail-gnulinuxish-template):
8903 Rename from feedmail-binmail-linuxish-template.
8904 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8905 Use insert-buffer-substring.
8906
215cda7c
BC
89072011-05-14 Bill Carpenter <bill@carpenter.org>
8908
8909 * mail/feedmail.el (feedmail-patch-level): Increase.
8910 (feedmail-debug): New custom group.
8911 (feedmail-confirm-outgoing-timeout)
8912 (feedmail-sendmail-f-doesnt-sell-me-out)
8913 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8914 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8915 (feedmail-sender-line, feedmail-from-line)
8916 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 8917 (feedmail-spray-this-address)
215cda7c
BC
8918 (feedmail-spray-address-fiddle-plex-list)
8919 (feedmail-queue-use-send-time-for-date)
8920 (feedmail-queue-use-send-time-for-message-id)
8921 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8922 (feedmail-buffer-eating-function):
8923 Doc fixes.
8924 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8925 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8926 (feedmail-message-action-scroll-down): New functions.
8927 (feedmail-queue-directory, feedmail-queue-draft-directory):
8928 Use expand-file-name.
8929 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8930 Remove C-v help entry.
8931 (feedmail-queue-buffer-file-name): New variable.
8932 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8933 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8934 (feedmail-message-action-send-strong, feedmail-message-action-edit)
8935 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8936 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8937 (feedmail-message-action-toggle-spray)
8938 (feedmail-run-the-queue-no-prompts)
8939 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8940 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8941 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8942 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8943 (feedmail-envelope-deducer, feedmail-fiddle-from)
8944 (feedmail-fiddle-sender, feedmail-default-date-generator)
8945 (feedmail-fiddle-date, feedmail-fiddle-message-id)
8946 (feedmail-fiddle-spray-address)
8947 (feedmail-fiddle-list-of-spray-fiddle-plexes)
8948 (feedmail-fiddle-list-of-fiddle-plexes)
8949 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8950 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8951 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8952 Change default. Doc fix.
8953 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8954 (feedmail-binmail-linuxish-template): New constant.
8955 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
8956 Respect feedmail-sendmail-f-doesnt-sell-me-out.
8957 (feedmail-send-it): Add debug call.
8958 Use feedmail-queue-buffer-file-name, and
8959 feedmail-send-it-immediately-wrapper.
8960 (feedmail-message-action-send): Add debug call.
8961 Use feedmail-send-it-immediately-wrapper.
8962 (feedmail-queue-express-to-queue): Add debug call.
8963 Run feedmail-queue-express-hook.
8964 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
8965 (feedmail-message-action-help-blat):
8966 Rename from feedmail-queue-send-edit-prompt-help-first.
8967 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
8968 Check line-endings. Handle errors better.
8969 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
8970 Doc fix. Add debug call.
8971 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
8972 Use feedmail-queue-send-edit-prompt-inner.
8973 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
8974 (feedmail-queue-send-edit-prompt-inner): New function, extracted
8975 from feedmail-queue-send-edit-prompt.
8976 (feedmail-queue-send-edit-prompt-help)
8977 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
8978 (feedmail-tidy-up-slug): Add debug call.
8979 Respect feedmail-queue-slug-suspect-regexp.
8980 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
8981 (feedmail-dump-message-to-queue): Add debug call.
8982 Expand queue-directory.
8983 (feedmail-dump-message-to-queue): Change message slightly.
8984 Use feedmail-say-chatter.
8985 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
8986 (feedmail-send-it-immediately-wrapper): New function.
8987 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
8988 Insert empty string rather than newline. Handle full-frame case.
8989 Use catch/throw. Use feedmail-say-chatter.
8990 (feedmail-fiddle-from): Try mail-host-address.
8991 (feedmail-default-message-id-generator): Doc fix.
8992 Bind system-time-locale. Handle missing end.
8993 (feedmail-fiddle-x-mailer): Add debug call.
8994 Handle feedmail-x-mailer-line being nil.
8995 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
8996 Add debug call. Use buffer-substring-no-properties.
8997 (feedmail-say-debug, feedmail-say-chatter): New functions.
8998 (feedmail-find-eoh): Give an explicit error.
8999
42c7e61e
UJ
90002011-05-13 Ulf Jasper <ulf.jasper@web.de>
9001
c2571358 9002 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9003 family from helvetica to sans.
c2571358 9004 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9005 etc/images/newsticker.
9006
c2571358 9007 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9008 family from helvetica to sans.
9009
9010 * net/newst-plainview.el (newsticker-new-item-face)
9011 (newsticker-old-item-face, newsticker-immortal-item-face)
9012 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9013 (newsticker-statistics-face): Change default family from
42c7e61e 9014 helvetica to sans.
c2571358 9015 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9016 etc/images/newsticker.
9017
9018 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9019 (newsticker--process-auto-mark-filter-match): : Tell user about
9020 auto-marking.
9021
8497a297
DV
90222011-05-13 Didier Verna <didier@xemacs.org>
9023
9024 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9025 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9026 TODO entries.
8497a297
DV
9027 (lisp-lambda-list-keyword-parameter-indentation)
9028 (lisp-lambda-list-keyword-parameter-alignment)
9029 (lisp-lambda-list-keyword-alignment): New customizable user options.
9030 (lisp-indent-defun-method): Improve docstring.
9031 (extended-loop-p): Fix comment.
9032 (lisp-indent-lambda-list-keywords-regexp): New variable.
9033 (lisp-indent-lambda-list): New function.
9034 (lisp-indent-259): Use it.
9035 (lisp-indent-defmethod): Support for more than one
9036 method qualifier and properly indent methods lambda-lists.
9037 (defgeneric): Provide a missing common-lisp-indent-function property.
9038
f278f87f
SM
90392011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9040
9041 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9042 bounds for the empty string (bug#8667).
9043
5233edd7
GM
90442011-05-13 Glenn Morris <rgm@gnu.org>
9045
5237a44f
GM
9046 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9047
8340026c 9048 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9049 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9050
5233edd7 9051 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9052 (appt-time-msg-list): Doc fix.
a5464014 9053 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9054
92d10796
AS
90552011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9056
9057 * progmodes/ld-script.el (ld-script-keywords)
9058 (ld-script-builtins): Update keywords list.
9059
914a0ae1
SM
90602011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9061
c89be45f
SM
9062 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9063
914a0ae1
SM
9064 * shell.el (shell-completion-vars): New function.
9065 (shell-mode):
9066 * simple.el (read-shell-command): Use it.
9067 (blink-matching-open): No need for " [...]" in minibuffer-message.
9068
98dc3df3
GM
90692011-05-12 Glenn Morris <rgm@gnu.org>
9070
9071 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9072 (appt-check): Simplify.
9073
d2fc7e3d 90742011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9075
4d61f28d 9076 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9077 literal "/dev/null".
9078
d2fc7e3d 90792011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9080
9081 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9082 Fix typo.
9083
d2fc7e3d 90842011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9085
3f254caa
SM
9086 * progmodes/which-func.el (which-function):
9087 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9088 which might not be defined (Bug#8260).
9089
d45885f7
GM
90902011-05-12 Glenn Morris <rgm@gnu.org>
9091
9092 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9093 Let byte-compile-initial-macro-environment always take precedence.
9094
488086f4
SM
90952011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9096
9097 * net/rcirc.el: Add support for SSL/TLS connections.
9098 (rcirc-server-alist): New field `encryption'.
9099 (rcirc): Check `encryption' settings.
9100 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9101 Merge make-local-variable into `set'.
9102 (rcirc--connection-open-p): New function.
9103 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9104 the process is not a network process (e.g. running gnutls-cli).
9105 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9106 Make rcirc-(en|de)code-coding-system local here.
9107 (rcirc-mode): Merge make-local-variable into `set'.
9108 (rcirc-parent-buffer): Make permanent buffer-local.
9109 (rcirc-multiline-minor-mode): Don't do it here.
9110 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9111 there's no server buffer.
9112
7d3b9d44
GM
91132011-05-11 Glenn Morris <rgm@gnu.org>
9114
f64049c6
GM
9115 * newcomment.el (comment-kill): Prefix "unused" local.
9116
93c9df73
GM
9117 * term/w32console.el (get-screen-color): Declare.
9118
7d3b9d44
GM
9119 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9120 Handle symbol elements of byte-compile-initial-macro-environment.
9121
9e2dd53f
LL
91222011-05-10 Leo Liu <sdl.web@gmail.com>
9123
488086f4
SM
9124 * bookmark.el (bookmark-bmenu-mode-map):
9125 Bind bookmark-bmenu-search to `/'.
8b340240 9126
9e2dd53f 9127 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9128 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9129 (Footnote-unicode): New function.
9130 (footnote-style-alist): Add unicode style to the list.
9131 (footnote-style): Doc fix.
9e2dd53f 9132
79b70037
GM
91332011-05-10 Jim Meyering <meyering@redhat.com>
9134
9135 Fix doubled-word typos.
9136 * international/quail.el (quail-insert-kbd-layout): and and -> and
9137 * kermit.el: and and -> and
9138 * net/ldap.el (ldap-search-internal): to to -> to
9139 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9140 * progmodes/js.el (js-mode): and and -> and
9141 * textmodes/artist.el (artist-move-to-xy): at at -> at
9142 (artist-draw-region-trim-line-endings): if if -> if
9143 And Safetyc -> Safety.
9144 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9145
b8f82dc1 91462011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9147 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9148
9149 * files.el (hack-one-local-variable-eval-safep):
9150 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9151
4f99f44b
GM
91522011-05-10 Glenn Morris <rgm@gnu.org>
9153
9154 * calendar/diary-lib.el (diary-list-entries-hook)
9155 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9156 (diary-nongregorian-marking-hook, diary-list-entries)
9157 (diary-include-other-diary-files, diary-mark-entries)
9158 (diary-mark-included-diary-files): Doc fixes.
9159
84f29e6b
JB
91602011-05-09 Juanma Barranquero <lekktu@gmail.com>
9161
9162 * misc.el: Require tabulated-list.el during compilation.
9163
9bedd73a
CY
91642011-05-09 Chong Yidong <cyd@stupidchicken.com>
9165
488086f4
SM
9166 * progmodes/compile.el (compilation-start):
9167 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9168 (compilation-filter-hook): Doc fix.
9169
797c735c
DD
91702011-05-09 Deniz Dogan <deniz@dogan.se>
9171
9172 * wdired.el: Remove outdated installation comment. Fix usage
9173 comment.
9174
5f4b1dfe
JB
91752011-05-09 Juanma Barranquero <lekktu@gmail.com>
9176
9177 * misc.el: Implement new command `list-dynamic-libraries'.
9178 (list-dynamic-libraries--loaded-only-p): New variable.
9179 (list-dynamic-libraries--refresh): New function.
9180 (list-dynamic-libraries): New command.
9181
4c44026c
CY
91822011-05-09 Chong Yidong <cyd@stupidchicken.com>
9183
488086f4
SM
9184 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9185 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9186 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9187 higher priority to avoid clobbering by gnu.
9188
027f966d
CY
91892011-05-08 Chong Yidong <cyd@stupidchicken.com>
9190
9191 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9192 if the face has existing theme settings (Bug#8454).
9193
085f5d7d
CY
91942011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9195
488086f4
SM
9196 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9197 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9198
2a86a00c
RS
9199 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9200 special file names `.' and `..' (Bug#8259).
9201
d9c54a06
CY
92022011-05-08 Chong Yidong <cyd@stupidchicken.com>
9203
488086f4
SM
9204 * progmodes/grep.el (grep-mode-font-lock-keywords):
9205 Remove buffer-changing entries.
d9c54a06
CY
9206 (grep-filter): New function.
9207 (grep-mode): Add it to compilation-filter-hook.
9208
9209 * progmodes/compile.el (compilation-filter-hook)
9210 (compilation-filter-start): New defvars.
9211 (compilation-filter): Call compilation-filter-hook prior to
9212 updating the process mark.
9213
c4662635
SM
92142011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9215
9216 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9217
b0512a1d
EZ
92182011-05-07 Eli Zaretskii <eliz@gnu.org>
9219
605c9376
EZ
9220 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9221 mailclient-send-it even if window-system is nil. (Bug#8595)
9222
c4662635
SM
9223 * term/w32console.el (terminal-init-w32console):
9224 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9225 background-mode. (Bug#8597)
9226
d1dc2cc2
SM
92272011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9228
9229 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9230 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9231 New functions.
9232 (defgeneric, eieio--defmethod): Use them.
9233 (eieio-defgeneric): Remove.
9234 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9235
915d1300
GM
92362011-05-07 Glenn Morris <rgm@gnu.org>
9237
a3961c3e
GM
9238 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9239 Use let rather than let*.
9240 (timeclock-find-discrep): Remove unused local.
9241
314347b9
GM
9242 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9243
915d1300
GM
9244 * calendar/appt.el (appt-time-msg-list): Doc fix.
9245
275b59b0
NF
92462011-05-06 Noah Friedman <friedman@splode.com>
9247
9248 * apropos.el (apropos-print-doc): Only use
9249 emacs-lisp-docstring-fill-column when it is bound to an integer,
9250 per that variable's documentation.
9251
6c19f744
SM
92522011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9253
9254 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9255 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9256
60f884b2
GM
92572011-05-06 Glenn Morris <rgm@gnu.org>
9258
5006e634
GM
9259 * calendar/appt.el (appt-message-warning-time): Doc fix.
9260 (appt-warning-time-regexp): New option.
9261 (appt-make-list): Respect appt-message-warning-time.
9262
548d0a63
GM
9263 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9264 New options.
9265 (diary-add-to-list): Strip comments from the displayed string.
9266 (diary-mode): Set comment-start and comment-end.
9267
60f884b2
GM
9268 * vc/diff-mode.el (smerge-refine-subst): Declare.
9269 (diff-refine-hunk): Don't require smerge-mode when compiling.
9270
989681bb
JB
92712011-05-06 Juanma Barranquero <lekktu@gmail.com>
9272
9273 * simple.el (list-processes): Return nil as the docstring says.
9274
a6bc05e1
MA
92752011-05-05 Michael Albinus <michael.albinus@gmx.de>
9276
9277 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9278 to "".
9279 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9280 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9281 determining of binary transfer. (Bug#7383)
9282
23c22e9a
MA
92832011-05-05 Michael Albinus <michael.albinus@gmx.de>
9284
c4662635
SM
9285 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9286 Fix port computation bug. (Bug#8618)
23c22e9a 9287
0bff894f
GM
92882011-05-05 Glenn Morris <rgm@gnu.org>
9289
b8296902
GM
9290 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9291
1f522ce8
GM
9292 * simple.el (shell-dynamic-complete-functions)
9293 (comint-dynamic-complete-functions): Declare.
9294
cf5bee67
GM
9295 * net/network-stream.el (gnutls-negotiate):
9296 * simple.el (tabulated-list-print): Fix declarations.
9297
9298 * progmodes/gud.el (syntax-symbol, syntax-point):
9299 Remove unnecessary and incorrect declarations.
9300
0bff894f
GM
9301 * emacs-lisp/check-declare.el (check-declare-scan):
9302 Handle byte-compile-initial-macro-environment in bytecomp.el
9303
9869b3ae
SM
93042011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9305
9306 Fix earlier half-done eieio-defmethod change (bug#8338).
9307 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9308 Streamline and change calling convention.
9309 (defmethod): Adjust accordingly and simplify.
9310 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9311 new eieio--defmethod.
9312 (slot-boundp): Minor CSE simplification.
9313
9c1d5ac5
MZ
93142011-05-05 Milan Zamazal <pdm@zamazal.org>
9315
9316 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9317 (glasses-make-readable): Use glasses-separate-capital-groups.
9318
455c834e
JB
93192011-05-05 Juanma Barranquero <lekktu@gmail.com>
9320
9321 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9322 (warning-series): Doc fix.
9323 (display-warning): Don't try to create the buffer if we just found it.
9324
9ed7c8cb
CY
93252011-05-04 Chong Yidong <cyd@stupidchicken.com>
9326
9327 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9328 (autoload-find-generated-file): New function.
9329 (generate-file-autoloads): Bind generated-autoload-file to
9330 buffer-file-name.
9869b3ae
SM
9331 (update-file-autoloads, update-directory-autoloads):
9332 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9333 output file (Bug#7989).
9334 (batch-update-autoloads): Doc fix.
9335
0898ca10
JB
93362011-05-04 Juanma Barranquero <lekktu@gmail.com>
9337
9338 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9339
31dfb76c
GM
93402011-05-04 Glenn Morris <rgm@gnu.org>
9341
f330b642
GM
9342 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9343 function, so it follows changes in calendar-date-style.
9344 (diary-fancy-date-matcher): New function.
9345 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9346 (diary-fancy-font-lock-fontify-region-function):
9347 Use diary-fancy-date-pattern as a function.
9348
31dfb76c
GM
9349 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9350 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9351
48e79d6a
TZ
93522011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9353
9354 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9355 instead of positional arguments. Allow :keylist and :crlfiles
9356 arguments.
9357 (open-gnutls-stream): Call it.
9358
9359 * net/network-stream.el (network-stream-open-starttls): Adjust to
9360 call `gnutls-negotiate' with :process and :hostname arguments.
9361
dd5a5ee0
SM
93622011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9363
ef80fc09
SM
9364 * minibuffer.el (completion--message): New function.
9365 (completion--do-completion, minibuffer-complete)
9366 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9367 (completion--do-completion): Don't ignore completion-auto-help when in
9368 icomplete-mode.
9369
dd5a5ee0
SM
9370 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9371 internal encoding (e.g. tibetan zero is not whitespace).
9372 (global-whitespace-mode): Prefer save-current-buffer.
9373 (whitespace-trailing-regexp): Remove useless save-match-data.
9374 (whitespace-empty-at-bob-regexp): Minor simplification.
9375
b7d22a83
CY
93762011-05-03 Chong Yidong <cyd@stupidchicken.com>
9377
9378 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9379
5192af46
AM
93802011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9381
9382 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9383 Use `concat' to create string for insertion.
5192af46 9384
5767d190
SM
93852011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9388 Avoid open-line which runs post-self-insert-hook.
9389 (bibtex-fill-entry): Remove unused `end' var.
9390
bf242939
AM
93912011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9392
5767d190
SM
9393 * textmodes/ispell.el (ispell-add-per-file-word-list):
9394 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9395
25666126
LL
93962011-05-03 Leo Liu <sdl.web@gmail.com>
9397
9398 * isearch.el (isearch-yank-pop): New command.
5767d190 9399 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9400 (isearch-forward): Mention it.
9401
52d3c2d0
SM
94022011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9403
1bcace58
SM
9404 * simple.el (minibuffer-complete-shell-command): Remove.
9405 (minibuffer-local-shell-command-map): Use completion-at-point.
9406 (read-shell-command): Setup completion vars here instead.
9407 (read-expression-map): Bind TAB to symbol completion.
9408
52d3c2d0
SM
9409 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9410 error directly rather via storing it into `results'.
9411
35813471
LL
94122011-05-02 Leo Liu <sdl.web@gmail.com>
9413
9414 * vc/diff.el: Fix description.
9415
e793a940
LMI
94162011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9417
9418 * server.el (server-eval-at): New function.
9419
8de66e05
LMI
94202011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9421
9422 * net/network-stream.el (open-network-stream): Take a :nowait
9423 parameter and pass it on to `make-network-process'.
9424 (network-stream-open-plain): Ditto.
9425
dcb79f20
AS
94262011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9427
9428 * faces.el (face-spec-set-match-display): Don't match toolkit
9429 options on terminal frames.
9430
14a7fbd8
SM
94312011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9432
7eabc1be
SM
9433 * progmodes/pascal.el: Use lexical binding.
9434 (pascal-mode-map): Remove author preferences.
9435
14a7fbd8
SM
9436 * pcomplete.el (pcomplete-std-complete): Don't abuse
9437 completion-at-point.
9438
50f84510
JB
94392011-04-28 Juanma Barranquero <lekktu@gmail.com>
9440
6e087a44
JB
9441 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9442 removing code that has been dead since 1991 or so.
9443
50f84510
JB
9444 * startup.el (command-line): When warning about "_emacs", use a
9445 delayed warning to allow the user to filter it out.
9446
0ba690bd
DD
94472011-04-28 Deniz Dogan <deniz@dogan.se>
9448
9449 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9450 user has not joined.
9451
08abfaad
SM
94522011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9455 aren't any completions at point.
9456
638f053a
JB
94572011-04-28 Juanma Barranquero <lekktu@gmail.com>
9458
9459 * subr.el (display-delayed-warnings): New function.
9460 (delayed-warnings-hook): New variable.
9461
8fff8daa
SM
94622011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9463
08abfaad
SM
9464 * minibuffer.el (completion-at-point, completion-help-at-point):
9465 Don't presume that a given completion-at-point-function will always
9466 use the same calling convention.
9467
8fff8daa
SM
9468 * pcomplete.el (pcomplete-completions-at-point):
9469 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9470 pcomplete-seen is non-nil.
9471 (pcomplete-comint-setup): Also recognize the new comint/shell
9472 completion functions.
9473 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9474 pcomplete-seen is non-nil.
9475
841a1577 94762011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9477
841a1577 9478 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9479 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9480 the first character in the entry. This allows for code to add its
211ec907
UJ
9481 own uid to the entry.
9482 (icalendar--convert-float-to-ical): Add export of
9483 `diary-float'-entries save for those with the optional DAY
9484 argument.
9485
2a782793
DC
94862011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9487
9488 * subr.el (shell-quote-argument): Use alternate escaping strategy
9489 when we spot a variable reference in a string.
9490
0438ce91
DC
94912011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9492
9493 * cus-start.el (all): Define customization for debug-on-event.
9494
841a1577 94952011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9496
9497 * subr.el (shell-quote-argument): Escape correctly under Windows.
9498
d090ed6c
SM
94992011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9502
bfd31217
MA
95032011-04-25 Michael Albinus <michael.albinus@gmx.de>
9504
d090ed6c
SM
9505 * net/tramp.el (tramp-process-actions): Add POS argument.
9506 Delete region between POS and (pos).
bfd31217 9507
d090ed6c
SM
9508 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9509 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9510 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9511
9512 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9513 position in `tramp-process-actions' call.
9514
9515 * net/trampver.el: Update release number.
9516
e92f3bd3
SM
95172011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9518
850256b5
SM
9519 * custom.el (defcustom): Obey lexical-binding.
9520
e92f3bd3
SM
9521 Fix octave-inf completion problems reported by Alexander Klimov.
9522 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9523 Inherit from octave-mode-syntax-table.
9524 (inferior-octave-mode): Set info-lookup-mode.
9525 (inferior-octave-completion-at-point): New function.
9526 (inferior-octave-complete): Use it and completion-in-region.
9527 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9528 comint-filename-completion.
9529 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9530 symbol elements which shouldn't be word elements.
9531 (octave-font-lock-keywords, octave-beginning-of-defun)
9532 (octave-function-header-regexp): Adjust regexps accordingly.
9533 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9534
cd22b309
JB
95352011-04-25 Juanma Barranquero <lekktu@gmail.com>
9536
9537 * net/gnutls.el (gnutls-errorp): Declare before first use.
9538
8b492194
TZ
95392011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9540
9541 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9542 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9543 default trustfile exists before going to use it. Add missing
5a5fa834 9544 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9545 Reported by Claudio Bley <claudio.bley@gmail.com>.
9546 (open-gnutls-stream): Add usage example.
9547
9548 * net/network-stream.el (network-stream-open-starttls): Give host
9549 parameter to `gnutls-negotiate'.
9550 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9551 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9552
841a1577 95532011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9554
cd22b309
JB
9555 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9556 Use correct match group (bug#8438).
05842630 9557
3ba7869c
CY
95582011-04-24 Chong Yidong <cyd@stupidchicken.com>
9559
512e3ae1
CY
9560 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9561 (package-menu--generate): New arg specifying packages to show.
9562 (package-menu-refresh, package-menu-execute, list-packages):
9563 Callers changed.
9564 (package-show-package-list): New function, replacing deleted
9565 package--list-packages (renamed because it is non-internal).
9566
9567 * finder.el (finder-list-matches): Use package-show-package-list
9568 instead of deleted package--list-packages.
9569
e92f3bd3
SM
9570 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9571 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9572 (vc-annotate-mode-map): Bind it to RET.
9573
7031be6d
UR
95742011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9575
9576 * progmodes/etags.el (next-file): Don't use set-buffer to change
9577 buffers (Bug#8478).
9578
4ef177aa
CY
95792011-04-24 Chong Yidong <cyd@stupidchicken.com>
9580
c8d173eb
CY
9581 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9582
4ef177aa
CY
9583 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9584 (apropos-accumulator): Doc fix.
9585 (apropos-function, apropos-macro, apropos-command)
9586 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9587 (apropos-plist): Add face property.
9588 (apropos-symbols-internal): Fix indentation.
9589 (apropos-print): Simplify help, and recognize apropos-multi-type.
9590 (apropos-print-doc): Use button-type-get to extract the button's
9591 face property. Fill docstring (Bug#8352).
9592
4ffd0d6b 95932011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9594
9595 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9596
c6c32125 9597 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9598 (mpuz-mode-map): Use mapc.
c6c32125
JB
9599 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9600 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9601 Fix typos in docstrings.
9602
58d468b4
JB
9603 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9604 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9605
6470c3c6
JB
9606 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9607
4ffd0d6b 96082011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9609
9610 * minibuffer.el (completion--do-completion): Avoid the "Next char
9611 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9612
3ad8bad0
CY
9613 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9614 mouse-2 into unread-command-events, it is interpreted correctly.
9615
71d73c9c 9616 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9617 (image-toggle-display): Doc fix.
71d73c9c 9618
841a1577 96192011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9620
4ffd0d6b
GM
9621 * textmodes/page.el (what-page): Use line-number-at-pos to
9622 calculate line number (Bug#6825).
6e1dbaa9 9623
c2fb1b60
JB
96242011-04-22 Juanma Barranquero <lekktu@gmail.com>
9625
9626 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9627 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9628 Pass argument NO-DEFAULT to `find-tag-interactive'.
9629
e02f48d7
JB
96302011-04-22 Juanma Barranquero <lekktu@gmail.com>
9631
9632 Lexical-binding cleanup.
9633
9634 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9635 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9636 * progmodes/ada-prj.el (ada-prj-initialize-values)
9637 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9638 (ada-prj-show-value):
9639 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9640 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9641 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9642 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9643 * progmodes/bug-reference.el (bug-reference-push-button):
9644 * progmodes/fortran.el (fortran-line-length):
9645 * progmodes/glasses.el (glasses-change):
9646 * progmodes/octave-mod.el (octave-fill-paragraph):
9647 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9648 (python-pdbtrack-grub-for-buffer, python-sentinel):
9649 * progmodes/sql.el (sql-save-connection):
9650 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9651 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9652 Mark unused parameters.
9653
9654 * progmodes/compile.el (compilation--flush-directory-cache)
9655 (compilation--flush-parse, compile-internal): Mark unused parameters.
9656 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9657 (compilation-next-error-function): Remove unused variable `timestamp'.
9658
9659 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9660 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9661
9662 * progmodes/dcl-mode.el (dcl-end-of-command):
9663 Remove unused variable `start'.
9664 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9665 (dcl-option-value-basic, dcl-option-value-offset)
9666 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9667 Mark unused parameters.
9668 (dcl-save-local-variable): Remove unused variable `val'.
9669 (mode): Declare.
9670
9671 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9672 Mark unused parameters.
9673 (delphi-ignore-changes): Move before first use.
9674 (delphi-charset-token-at): Remove unused variable `start'.
9675 (delphi-else-start): Remove unused variable `if-count'.
9676 (delphi-comment-block-start, delphi-comment-block-end):
9677 Remove unused variable `kind'.
9678 (delphi-indent-line): Remove unused variable `new-point'.
9679
9680 * progmodes/ebrowse.el (ebrowse-files-list)
9681 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9682 Mark unused parameters. Don't quote `lambda'.
9683 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9684 Don't quote `lambda'.
9685 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9686 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9687 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9688 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9689 Use `ignore-errors'.
9690 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9691 (ebrowse-view/find-file-and-search-pattern)
9692 (ebrowse-view/find-member-declaration/definition):
9693 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9694 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9695 Rename parameter PREFIX-ARG to PREFIX.
9696 (ebrowse-tags-read-name): Remove unused variables `start' and
9697 `member-info'.
9698 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9699 to `tags-file'.
9700
9701 * progmodes/etags.el (local-find-tag-hook): Declare.
9702 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9703 Mark unused parameters.
9704
9705 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9706 (executable-interpret): Mark unused parameter.
9707
9708 * progmodes/flymake.el (flymake-process-sentinel)
9709 (flymake-after-change-function)
9710 (flymake-create-temp-with-folder-structure)
9711 (flymake-get-include-dirs-dot): Mark unused parameters.
9712 (flymake-safe-delete-directory): Remove unused variable `err'.
9713
9714 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9715 (speedbar-timer-fn, speedbar-line-text)
9716 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9717 (speedbar-center-buffer-smartly): Declare functions.
9718 (gdb-find-watch-expression): Remove unused variable `array'.
9719 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9720 (gdb-starting): Mark unused parameters.
9721 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9722 (gdb-table-string): Remove unused variable `res'.
9723 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9724 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9725 (gdb-display-buffer): Remove unused variable `cur-size'.
9726
9727 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9728 allow lexical-binding compilation.
9729 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9730 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9731 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9732 Mark unused parameters.
9733 (gud-gdb-marker-filter): Remove unused variable `match'.
9734 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9735 lambda expressions and funcall them, instead of using `fset'.
9736
9737 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9738 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9739
9740 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9741 variable `header-beg'; use `let'.
9742
9743 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9744 `restart', `last-sexp' and `at-do'.
9745
9746 * progmodes/js.el (js--debug): Mark unused parameter.
9747 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9748 (js--splice-into-items): Remove unused variable `item'.
9749 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9750
9751 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9752 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9753 (makefile-complete): Remove unused variable `try'.
9754 (makefile-fill-paragraph, makefile-match-function-end):
9755 Mark unused parameters.
9756
9757 * progmodes/octave-inf.el (inferior-octave-complete):
9758 Remove unused variable `proc'.
9759 (inferior-octave-output-digest): Mark unused parameter.
9760
9761 * progmodes/perl-mode.el (perl-calculate-indent):
9762 Remove unused variable `err'.
9763
9764 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9765 (prolog-indent-line): Mark unused parameters.
9766 (prolog-indent-line): Remove unused variable `beg'.
9767
9768 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9769 (reporter-dont-compact-list): Declare.
9770
9771 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9772 Remove unused variable `char'.
9773 (sh-debug): Mark unused parameter.
9774 (sh-get-indent-info): Remove unused variable `start'.
9775 (sh-calculate-indent): Remove unused variable `var'.
9776
9777 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9778 (simula-electric-keyword): Remove unused variable `null'.
9779 (simula-search-backward, simula-search-forward): Remove unused
9780 variables `begin' and `end'.
9781
9782 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9783 Remove unused variable `pos'.
9784 (vera-electric-tab, vera-comment-uncomment-region):
9785 Mark unused parameters.
9786 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9787
7ede3b65
CY
97882011-04-22 Chong Yidong <cyd@stupidchicken.com>
9789
9790 * emacs-lisp/package.el (package--builtins, package-alist)
9791 (package-load-descriptor, package-built-in-p, package-activate)
9792 (define-package, package-installed-p)
9793 (package-compute-transaction, package-buffer-info)
9794 (package--push): Doc fix. Distinguish more clearly between
9795 version strings and version lists.
9796
121656e9
JB
97972011-04-21 Juanma Barranquero <lekktu@gmail.com>
9798
9799 Lexical-binding cleanup.
9800
9801 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9802 (5x5-make-mutate-best):
9803 * play/fortune.el (fortune-in-buffer):
9804 * play/gomoku.el (gomoku-init-display):
9805 * play/solitaire.el (solitaire, solitaire-do-check):
9806 * play/tetris.el (tetris-default-update-speed-function):
9807 Mark unused parameters.
9808
9809 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9810 (bubbles--shift): Remove unused variable `char-org'.
9811 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9812 (bubbles--show-images): Remove unused variable `char'.
9813
9814 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9815 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9816 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9817 (decipher-analyze-buffer): Use ?\s.
9818 (decipher-make-checkpoint): Remove unused variable `mapping'.
9819
9820 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9821
9822 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9823 Remove unused variable `result'; use `let'.
9824
9825 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9826 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9827 (gametree-children-shown-p, gametree-compute-reduced-score):
9828 Use `ignore-errors'.
9829
9830 * play/handwrite.el (ps-lpr-switches): Declare.
9831 (handwrite): Remove unused variables `pmin' and `lastp'.
9832
9833 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9834
9835 * play/landmark.el (landmark-init-display)
9836 (landmark-update-naught-weights): Mark unused parameters.
9837 (landmark-y): Remove unused variable `noise'. Simplify.
9838 (landmark-human-plays): Remove unused variable `score'.
9839
9840 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9841 (mpuz-try-proposal): Remove unused variable `game'.
9842
9843 * play/zone.el (life-patterns): Declare.
9844
80f499c7
JB
98452011-04-20 Juanma Barranquero <lekktu@gmail.com>
9846
9847 * vc/vc.el (ediff-vc-internal): Declare function.
9848
024ff170
SM
98492011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9850
c0a193ea
SM
9851 * shell.el: Use lexical-binding and std completion UI.
9852 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9853 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9854 comint-preoutput-filter-functions rather than on
9855 comint-output-filter-functions.
9856 (shell-command-completion, shell--command-completion-data)
9857 (shell-filename-completion, shell-environment-variable-completion)
9858 (shell-c-a-p-replace-by-expanded-directory): New functions.
9859 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9860 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9861 (shell-dynamic-complete-environment-variable): Use them.
9862 (shell-dynamic-complete-as-environment-variable)
9863 (shell-dynamic-complete-as-command): Remove.
9864 (shell-match-partial-variable): Match past point.
9865 * comint.el: Clean up use of completion-at-point-functions.
9866 (comint-completion-at-point): New function.
9867 (comint-mode): Use it completion-at-point-functions.
9868 (comint-dynamic-complete): Make it obsolete.
9869 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9870 (comint-c-a-p-replace-by-expanded-history): New function.
9871 (comint-dynamic-complete-functions)
9872 (comint-replace-by-expanded-history): Use it.
9873 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9874 termination strings. Try harder to avoid second try-completion.
9875 (completion-in-region-mode-map): Disable bindings that don't work yet.
9876
2dbaa080
SM
9877 * comint.el: Use lexical-binding. Require CL.
9878 (comint-dynamic-complete-functions): Use comint-filename-completion.
9879 (comint-completion-addsuffix): Tweak custom type.
9880 (comint-filename-completion, comint--common-suffix)
9881 (comint--common-quoted-suffix, comint--table-subvert)
9882 (comint--complete-file-name-data): New functions.
9883 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9884 (comint-dynamic-list-filename-completions): Use them.
9885 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 9886
2dbaa080
SM
9887 * minibuffer.el (completion-in-region-mode):
9888 Keep completion-in-region-mode--predicate global.
9889 (completion-in-region--postch):
9890 Assume completion-in-region-mode--predicate is not null.
9891
c79a6f38
SM
9892 * progmodes/flymake.el (flymake-start-syntax-check-process):
9893 Obey `dir'. Simplify.
9894
024ff170
SM
9895 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9896 we're in VC after all.
9897
1c6c854e
CS
98982011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
9899
9900 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 9901 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
9902 (vc-version-diff): Use vc-diff-build-argument-list-internal.
9903
bed7f140
SM
99042011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9905
332e62ab
SM
9906 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9907 add sanity check.
9908
bed7f140
SM
9909 * obsolete/erc-hecomplete.el: Make obsolete.
9910 * obsolete/: Standardize obsolescence info in the header.
9911
f195c582
GM
99122011-04-20 Glenn Morris <rgm@gnu.org>
9913
9914 * calendar/solar.el (solar-horizontal-coordinates):
9915 Use the longitude argument rather than `calendar-longitude'.
9916 (solar-date-next-longitude): Remove unused locals.
9917
cb79b8c0
VJL
99182011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9919
9920 * whitespace.el: New version 13.2.1.
9921
99222011-04-20 felix <EmacsWiki> (tiny change)
9923
d8e4b68b 9924 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
9925 switching between major modes on a file.
9926
602ea69d
SM
99272011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9928
9929 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9930 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9931 multi-line comments as well.
9932
06b60517
JB
99332011-04-19 Juanma Barranquero <lekktu@gmail.com>
9934
9935 Lexical-binding cleanup.
9936
9937 * arc-mode.el (archive-mode-revert):
9938 * cmuscheme.el (scheme-interactively-start-process):
9939 * custom.el (custom-initialize-delay):
9940 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9941 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9942 * emacs-lock.el (emacs-lock-clear-sentinel):
9943 * ezimage.el (defezimage):
9944 * follow.el (follow-avoid-tail-recenter):
9945 * fringe.el (set-fringe-mode-1):
9946 * generic-x.el (bat-generic-mode-compile):
9947 * help-mode.el (help-info-variable, help-do-xref)
9948 (help-mode-revert-buffer):
9949 * help.el (view-emacs-todo):
9950 * iswitchb.el (iswitchb-completion-help):
9951 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9952 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9953 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9954 * locate.el (locate-update):
9955 * longlines.el (longlines-encode-region)
9956 (longlines-after-change-function):
9957 * outline.el (outline-isearch-open-invisible):
9958 * ps-def.el (declare-function, charset-dimension, char-width)
9959 (encode-char):
9960 * ps-mule.el (ps-mule-plot-string):
9961 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9962 (recentf-edit-list-select, recentf-edit-list-validate)
9963 (recentf-open-files-action):
9964 * rect.el (delete-whitespace-rectangle-line)
9965 (rectangle-number-line-callback):
9966 * register.el (window-configuration-to-register)
9967 (frame-configuration-to-register):
9968 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
9969 * select.el (xselect-convert-to-string, xselect-convert-to-length)
9970 (xselect-convert-to-targets, xselect-convert-to-delete)
9971 (xselect-convert-to-filename, xselect-convert-to-charpos)
9972 (xselect-convert-to-lineno, xselect-convert-to-colno)
9973 (xselect-convert-to-os, xselect-convert-to-host)
9974 (xselect-convert-to-user, xselect-convert-to-class)
9975 (xselect-convert-to-name, xselect-convert-to-integer)
9976 (xselect-convert-to-atom, xselect-convert-to-identity):
9977 * subr.el (declare, ignore, process-kill-without-query)
9978 (text-clone-maintain):
9979 * terminal.el (te-get-char, te-tic-sentinel):
9980 * tool-bar.el (tool-bar-make-keymap):
9981 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
9982 * type-break.el (type-break-mode, type-break-noninteractive-query):
9983 * view.el (View-back-to-mark):
9984 * wid-browse.el (widget-browse-action, widget-browse-widget)
9985 (widget-browse-widgets, widget-browse-sexp):
9986 * widget.el (define-widget-keywords):
9987 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
9988 Mark unused parameters.
9989
9990 * align.el (align-adjust-col-for-rule): Mark unused parameter.
9991 (align-areas): Remove unused variable `look'.
9992 (align-region): Remove unused variables `real-end' and `pos-list'.
9993
9994 * apropos.el (apropos-score-doc): Remove unused variable `i'.
9995
9996 * bindings.el (mode-line-modified, mode-line-remote):
9997 Mark unused parameters.
9998 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
9999
10000 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10001 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10002
10003 * comint.el (comint-history-isearch-pop-state)
10004 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10005 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10006 (comint-substitute-in-file-name): Doc fix.
10007
10008 * completion.el (cmpl-statistics-block): Mark unused parameter.
10009 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10010 (save-completions-to-file, load-completions-from-file):
10011 Remove unused local variable `e'.
10012
10013 * composite.el (compose-chars): Remove unused variable `len'.
10014 (lgstring-insert-glyph): Remove unused variable `g'.
10015 (compose-glyph-string): Remove unused variables `ascent',
10016 `descent', `lbearing' and `rbearing'.
10017 (compose-glyph-string-relative): Remove unused variables
10018 `lbearing', `rbearing' and `wadjust'.
10019 (compose-gstring-for-graphic): Remove unused variables `header',
10020 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10021 (compose-gstring-for-terminal): Remove unused variables `header'
10022 and `nchars'. Use `let', not `let*'.
10023
10024 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10025 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10026 (Custom-buffer-done, custom-buffer-create-internal)
10027 (custom-browse-visibility-action, custom-browse-group-tag-action)
10028 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10029 (widget-magic-mouse-down-action, custom-toggle-parent)
10030 (custom-add-parent-links, custom-toggle-hide-variable)
10031 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10032 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10033 (custom-face-menu-create, custom-variable-menu-create, get)
10034 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10035 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10036 (customize-apropos): Remove unused variable `tests'.
10037 (custom-group-value-create): Remove unused variable `hidden-p'.
10038 (sort-fold-case): Declare.
10039
10040 * cus-theme.el (custom-reset-standard-faces-list)
10041 (custom-reset-standard-variables-list): Declare.
10042 (customize-create-theme, custom-theme-revert, custom-theme-write)
10043 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10044 Mark unused parameters.
10045
10046 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10047
10048 * delim-col.el (delimit-columns-max): Move defvar before first use.
10049
10050 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10051 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10052
10053 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10054 (auto-insert): Declare.
10055 (desktop-restore-file-buffer): Rename desktop-* parameters;
10056 mark unused ones.
10057 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10058 (desktop-buffer): Rename desktop-* parameters.
10059
10060 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10061 (dframe-reposition-frame-xemacs, dframe-help-echo)
10062 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10063 Mark unused parameters.
10064
10065 * dired-aux.el (backup-extract-version-start, overwrite-query)
10066 (overwrite-backup-query, rename-regexp-query)
10067 (rename-non-directory-query): Declare.
10068 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10069 (dired-add-entry): Remove unused variable `orig-file-name'.
10070 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10071 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10072 `dired-copy-preserve-time' directly.
10073 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10074 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10075
10076 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10077 (dired-virtual-revert, dired-make-relative-symlink):
10078 Mark unused parameters.
10079 (manual-program): Declare.
10080 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10081 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10082 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10083
10084 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10085
10086 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10087
10088 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10089 Declare.
10090
10091 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10092
10093 * electric.el (Electric-command-loop): Rename parameter
10094 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10095
10096 * expand.el (expand-in-literal): Remove unused variable `here'.
10097
10098 * facemenu.el (facemenu-add-new-color):
10099 Remove unused variable `docstring'.
10100
10101 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10102 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10103 (face-attr-construct): Mark unused parameter. Doc fix.
10104 (read-color): Remove unused variable `hex-string'.
10105
10106 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10107 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10108 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10109 (display-buffer-other-frame): Remove unused variable `old-window'.
10110 (kill-buffer-hook): Declare.
10111 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10112 Mark unused parameters.
10113 (after-find-file): Pass 1 to `auto-save-mode', not t.
10114
10115 * files-x.el (auto-insert): Declare.
10116 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10117
10118 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10119 variable `buf'. Mark unused parameter.
06b60517
JB
10120 (find-lisp-insert-directory): Mark unused parameter.
10121
10122 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10123 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10124 (format-common-tail): Remove, unused.
10125 (format-deannotate-region): Remove unused variable `loc'.
10126 (format-annotate-region): Remove unused variable `p'.
10127 (format-annotate-single-property-change): Remove unused variables
10128 `default' and `tail'.
10129
10130 * forms.el (read-file-filter): Declare.
10131 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10132
10133 * frame.el (frame-creation-function-alist): Mark unused parameter.
10134 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10135
10136 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10137 Remove unused parameters.
10138 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10139 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10140
10141 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10142 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10143 (hfy-prepare-tag-map): Mark unused parameters.
10144 (htmlfontify-buffer): Use `called-interactively-p'.
10145
10146 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10147 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10148 (ibuffer-do-occur): Mark unused parameters.
10149 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10150 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10151
10152 * ibuffer.el: Don't quote `lambda'.
10153 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10154 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10155 Mark unused parameters.
10156
10157 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10158 (ido-completing-read): Mark unused parameters.
10159 (ido-copy-current-word): Mark unused parameters;
10160 remove unused variable `name'.
10161 (ido-sort-merged-list): Remove unused parameter `dirs'.
10162
10163 * ielm.el (ielm-input-sender): Mark unused parameter.
10164 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10165 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10166 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10167 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10168 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10169
10170 * image-dired.el (image-dired-display-thumbs): Remove unused
10171 variables `curr-file' and `count'.
10172 (image-dired-remove-tag): Remove unused variable `start'.
10173 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10174 variable `curr-file'
10175 (image-dired-rotate-original): Remove unused variable `temp-file'.
10176 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10177 Remove unused variable `file'.
10178 (image-dired-gallery-generate): Remove unused variable `curr'.
10179 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10180
10181 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10182
10183 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10184
10185 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10186
10187 * isearch.el (minibuffer-history-symbol): Declare.
10188 (isearch-edit-string): Remove unused variable `err'.
10189 (isearch-message-prefix, isearch-message-suffix):
10190 Mark unused parameters.
10191
10192 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10193
10194 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10195
10196 * makesum.el (double-column): Remove unused variable `cnt'.
10197
10198 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10199 (ido-ignore-item-temp-list): Declare.
10200
10201 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10202 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10203 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10204 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10205 `mouse-col-delta'.
10206
10207 * mouse-sel.el (mouse-extend-internal):
10208 Remove unused variable `orig-window-frame'.
10209
10210 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10211 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10212 Move declarations before first use.
10213 (pcomplete-opt): Mark unused parameters; doc fix.
10214
10215 * proced.el (proced-revert): Mark unused parameter.
10216 (proced-send-signal): Remove unused variable `err'.
10217
10218 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10219 Rename parameter PREFIX-ARG to ARG.
10220 (ps-basic-plot-string, ps-basic-plot-whitespace):
10221 Mark unused parameters.
10222
10223 * replace.el (replace-count): Define.
10224 (occur-revert-function): Mark unused parameters.
10225 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10226 (isearch-case-fold-search, isearch-string): Declare.
10227 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10228 bind `case-fold-search'. Remove unused variables `beg' and `end',
10229 and simplify.
10230 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10231 COUNT and bind `replace-count'.
10232 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10233 to COUNT.
10234
10235 * savehist.el (print-readably, print-string-length): Declare.
10236
10237 * shadowfile.el (shadow-expand-cluster-in-file-name):
10238 Remove unused variable `cluster'.
10239 (shadow-copy-file): Remove unused variable `i'.
10240 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10241 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10242 (shadow-define-literal-group, shadow-define-regexp-group)
10243 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10244
10245 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10246 (shell): Use `called-interactively-p'.
10247 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10248
10249 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10250 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10251 (delete-backward-char): Remove unused variable `ocol'.
10252 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10253 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10254 (event-apply-hyper-modifier, event-apply-shift-modifier)
10255 (event-apply-control-modifier, event-apply-meta-modifier):
10256 Mark unused parameters.
10257 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10258 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10259
10260 * speedbar.el (speedbar-ignored-directory-expressions)
10261 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10262 (speedbar-find-file, speedbar-dir-follow)
10263 (speedbar-directory-buttons-follow, speedbar-tag-find)
10264 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10265 (speedbar-buffers-line-directory, speedbar-buffer-click):
10266 Mark unused parameters.
10267 (speedbar-tag-file): Remove unused variable `mode'.
10268 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10269
10270 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10271
10272 * talk.el (talk): Remove unused variable `display'.
10273
10274 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10275 (tar-write-region-annotate): Mark unused parameter.
10276
10277 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10278 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10279 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10280 warning by another.
10281
10282 * time-stamp.el (time-stamp-string-preprocess):
10283 Remove unused variable `require-padding'.
10284
10285 * tree-widget.el (widget-glyph-enable): Declare.
10286 (tree-widget-action): Mark unused parameter.
10287
10288 * w32-fns.el (x-get-selection): Mark unused parameter.
10289 (autoload-make-program, generated-autoload-file): Declare.
10290
10291 * wdired.el (wdired-revert): Mark unused parameters.
10292 (wdired-xcase-word): Remove unused variable `err'.
10293
10294 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10295 (whitespace-help-scroll): Remove unused variable `data-help'.
10296
10297 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10298 (widget-image-insert, widget-after-change, default)
10299 (widget-default-format-handler, widget-default-notify)
10300 (widget-default-prompt-value, widget-info-link-action)
10301 (widget-url-link-action, widget-function-link-action)
10302 (widget-variable-link-action, widget-file-link-action)
10303 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10304 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10305 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10306 (widget-insert-button-action, widget-delete-button-action, visibility)
10307 (widget-documentation-link-action, widget-documentation-string-action)
10308 (widget-const-prompt-value, widget-regexp-match, symbol)
10309 (widget-coding-system-prompt-value)
10310 (widget-key-sequence-value-to-external, sexp)
10311 (widget-sexp-value-to-internal, character, vector, cons)
10312 (widget-choice-prompt-value, widget-boolean-prompt-value)
10313 (widget-color--choose-action): Mark unused parameters.
10314 (widget-item-match-inline, widget-choice-match-inline)
10315 (widget-checklist-match, widget-checklist-match-inline)
10316 (widget-group-match): Rename parameter VALUES to VALS.
10317 (widget-field-value-set): Remove unused variable `size'.
10318 (widget-color-action): Remove unused variables `value' and `start'.
10319
10320 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10321 variable `dir'. Doc fix.
06b60517
JB
10322 (windmove-find-other-window): Don't pass it.
10323
10324 * window.el (count-windows): Mark unused parameter.
10325 (bw-adjust-window): Remove unused variable `err'.
10326
10327 * woman.el (woman-file-name): Remove unused variable `default'.
10328 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10329 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10330 (global-font-lock-mode): Declare.
10331 (woman-decode-region): Mark unused parameter.
10332 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10333
10334 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10335 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10336 (x-dnd-handle-moz-url): Remove unused variable `title'.
10337 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10338
10339 * xml.el (xml-parse-tag, xml-parse-attlist):
10340 Remove unused variable `pos'.
10341
bc4f7f3d
GM
103422011-04-19 Glenn Morris <rgm@gnu.org>
10343
10344 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10345 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10346 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10347 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10348 * calendar/cal-html.el (cal-html-insert-minical):
10349 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10350 (calendar-mark-date-pattern):
10351 Prefix "unused" locals.
10352
10353 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10354 optional argument `style'.
10355
10356 * calendar/appt.el (appt-make-list):
10357 * calendar/cal-china.el (calendar-chinese-date-string):
10358 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10359 (diary-hebrew-yahrzeit):
10360 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10361 * calendar/calendar.el (calendar-generate-window):
10362 * calendar/time-date.el (time-to-days):
10363 Remove unused local variables.
10364
16a43933
CY
103652011-04-18 Chong Yidong <cyd@stupidchicken.com>
10366
10367 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10368 glyphless-char-display table.
10369 (tabulated-list-glyphless-char-display): New var.
10370
7eed1860
SS
103712011-04-18 Sam Steingold <sds@gnu.org>
10372
10373 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10374 to acknowledgments.
10375
4d2d1ccd
GM
103762011-04-17 Glenn Morris <rgm@gnu.org>
10377
10378 * calendar/diary-lib.el (diary-sexp-entry):
10379 * calendar/holidays.el (holiday-sexp):
10380 Set debug-on-error rather than the removed stack-trace-on-error.
10381
239da61d
GM
103822011-04-16 Glenn Morris <rgm@gnu.org>
10383
10384 * progmodes/f90.el: Use lexical-binding.
10385 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10386
8b05752a
SM
103872011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10388
daca8ba5
SM
10389 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10390 (mail-mode): Setup mailalias completion here instead.
10391 * mail/mailalias.el: Use lexical-binding.
10392 (pattern, mailalias-done): Declare dynamic.
10393 (mail-completion-at-point-function): New function, from mail-complete.
10394 (mail-complete): Use it.
10395 (mail-completion-expand): New function.
10396 (mail-get-names): Use it.
10397 (mail-directory, mail-directory-process, mail-directory-stream):
10398 Don't use `pattern' for lexically bound arg.
10399
6f542485
SM
10400 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10401
037e7c3f
SM
10402 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10403 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10404 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10405
8b05752a
SM
10406 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10407 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10408 (byte-interactive-p): Define them again, for use when inlining
10409 old code.
10410
49093f60
JB
104112011-04-15 Juanma Barranquero <lekktu@gmail.com>
10412
10413 * loadup.el: Use `string-to-number', not `string-to-int'.
10414
b5b8e7de
SM
104152011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10418 gud-gdb-complete-command.
10419 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10420 (gud-gdb-completion-at-point): New function.
10421 (gud-gdb-completions): Remove.
10422
f42efeb5
MA
104232011-04-14 Michael Albinus <michael.albinus@gmx.de>
10424
49093f60
JB
10425 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10426 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10427 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10428 whether `executable-find' is bound.
f42efeb5
MA
10429
10430 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10431
e240cc21
SM
104322011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10433
10434 * minibuffer.el (completion-in-region-mode-predicate)
10435 (completion-in-region-mode--predicate): New vars.
10436 (completion-in-region, completion-in-region--postch)
10437 (completion-in-region-mode): Use them.
10438 (completion--capf-wrapper): Also return the hook function.
10439 (completion-at-point, completion-help-at-point):
10440 Adjust and provide a predicate.
c2bd2ab0
SM
10441
10442 Preserve arg names for advice of subr and lexical functions (bug#8457).
10443 * help-fns.el (help-function-arglist): Consolidate the subr and
10444 new-byte-code cases. Add argument `preserve-names' to extract names
10445 from the docstring when needed.
10446 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10447 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10448 (ad-arglist): Use help-function-arglist's new arg.
10449 (ad-definition-type): Use cond.
10450
c183f693
JB
104512011-04-13 Juanma Barranquero <lekktu@gmail.com>
10452
06641a47
JB
10453 * autorevert.el (auto-revert-handler):
10454 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10455 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10456 Don't quote lambda.
10457
c183f693
JB
10458 * image-mode.el (image-transform-set-scale):
10459 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10460
1e3b6001
G
104612011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10462
10463 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10464 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10465 Upgrades via gnutls-cli are too slow to be done opportunistically.
10466
2d6af8dd
JB
104672011-04-12 Juanma Barranquero <lekktu@gmail.com>
10468
10469 * dframe.el (dframe-current-frame): Remove spurious quote.
10470
c0749a51
GM
104712011-04-12 Glenn Morris <rgm@gnu.org>
10472
088d0d61
GM
10473 * calendar/cal-tex.el (cal-tex-end-document):
10474 Try to automatically use latin1 input if needed.
10475
c0749a51
GM
10476 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10477 Don't try to cons a mark onto an empty element.
10478
5c90fde0
LL
104792011-04-11 Leo Liu <sdl.web@gmail.com>
10480
10481 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10482 buffers.
10483 (ido-kill-buffer-at-head): Support killing virtual buffers.
10484
369e974d
CY
104852011-04-10 Chong Yidong <cyd@stupidchicken.com>
10486
10487 * minibuffer.el (completion-show-inline-help): New var.
10488 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10489 (minibuffer-force-complete, minibuffer-complete-word):
10490 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10491
10492 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10493 to avoid interference from inline help (Bug#5849).
10494
37f1c930
LL
104952011-04-10 Leo Liu <sdl.web@gmail.com>
10496
099c39a4
JB
10497 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10498 Fix typo.
37f1c930 10499
a32d4040
CY
105002011-04-09 Chong Yidong <cyd@stupidchicken.com>
10501
10502 * image-mode.el (image-toggle-display-image): Signal an error if
10503 not in Image mode.
10504 (image-transform-mode, image-transform-resize)
10505 (image-transform-set-rotation): Doc fix.
daca8ba5 10506 (image-transform-set-resize): Delete.
a32d4040
CY
10507 (image-transform-set-scale, image-transform-fit-to-height)
10508 (image-transform-fit-to-width): Handle image-toggle-display-image
10509 and image-transform-resize directly.
10510
099c39a4 105112011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10512
10513 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10514 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10515 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10516 (doc-view-mode-map): Add bindings for the new functions.
10517
099c39a4 105182011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10519
4d61f28d 10520 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10521 Fix typo in docstring.
10522
3726838a
EZ
105232011-04-08 Eli Zaretskii <eliz@gnu.org>
10524
04f33f1e
EZ
10525 * files.el (file-size-human-readable): Produce one digit after
10526 decimal, like "ls -lh" does.
10527
10528 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10529 the file size representation.
10530
3726838a
EZ
10531 * simple.el (list-processes): If async subprocesses are not
10532 available, error out with a clear error message.
10533
cbb59342
CY
105342011-04-08 Chong Yidong <cyd@stupidchicken.com>
10535
10536 * help.el (help-form-show): New function, to be called from C.
10537 Put help-form output in a buffer named differently than *Help*.
10538
e3971c44
EZ
105392011-04-08 Eli Zaretskii <eliz@gnu.org>
10540
10541 * files.el (file-size-human-readable): New function.
10542
10543 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10544 computing the representation inline. Don't require `cl'.
10545
12544bbe
GM
105462011-04-08 Glenn Morris <rgm@gnu.org>
10547
a1de6c6a
GM
10548 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10549
3c4671f4
GM
10550 * net/browse-url.el (browse-url-firefox):
10551 Test system-type, not system-configuration.
10552
b605679c
GM
10553 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10554 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10555 Use log-edit-empty-buffer-p. (Bug#7598)
10556
56442f0c
GM
10557 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10558 (rlogin-mode-map): Initialize in the defvar.
10559 (rlogin): Use ignore-errors.
10560
12544bbe
GM
10561 * replace.el (occur-mode-map): Some fixes for menu items.
10562
eb237b0f
AH
105632011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10564
10565 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10566
7d668f2c
CY
105672011-04-06 Chong Yidong <cyd@stupidchicken.com>
10568
e67a13ab
CY
10569 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10570 issuing unused warnings.
10571
10572 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10573 macro directly.
10574
7d668f2c
CY
10575 * simple.el: Lisp reimplement of list-processes. Based on an
10576 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10577 (process-menu-mode): New major mode.
10578 (list-processes--refresh, list-processes):
10579 (process-menu-visit-buffer): New functions.
10580
10581 * files.el (save-buffers-kill-emacs): Don't assume any return
10582 value of list-processes, which is undocumented anyway.
10583
a83ec3c9
CY
105842011-04-06 Chong Yidong <cyd@stupidchicken.com>
10585
10586 * emacs-lisp/tabulated-list.el: New file.
10587
e91a96fe
CY
10588 * emacs-lisp/package.el: Use Tabulated List mode.
10589 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10590 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10591 table format using Tabulated List mode variables.
10592 (package--push): New macro, replacing package-list-maybe-add.
10593 (package-menu--generate): Use package--push. Renamed from
10594 package--generate-package-list.
10595 (package-menu-refresh, list-packages): Use it.
daca8ba5 10596 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10597 Return insertion data instead of inserting it directly.
099c39a4
JB
10598 (package-menu-describe-package, package-menu-execute):
10599 Use tabulated-list-get-id.
e91a96fe
CY
10600 (package-menu-mark-delete, package-menu-mark-install)
10601 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10602 (package-menu-mark-obsolete-for-deletion):
10603 Use tabulated-list-put-tag.
e91a96fe
CY
10604 (package--list-packages, package-menu-revert)
10605 (package-menu-get-package, package-menu-get-version)
10606 (package-menu-sort-by-column): Functions deleted.
10607 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10608 (package-menu--status-predicate, package-menu--version-predicate)
10609 (package-menu--name-predicate)
10610 (package-menu--description-predicate): Handle arguments in the
10611 Tabulated List format.
10612 (package-list-packages-no-fetch): Call list-packages.
10613
3e214b50
JB
106142011-04-06 Juanma Barranquero <lekktu@gmail.com>
10615
10616 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10617 (after-find-file): Don't bind it.
3e214b50
JB
10618 (revert-buffer-in-progress-p): New variable.
10619 (revert-buffer): Bind it.
10620 Pass nil for `after-find-file-from-revert-buffer'.
10621
10622 * saveplace.el (save-place-find-file-hook): Use new variable
10623 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10624
3f0f1700
GM
106252011-04-06 Glenn Morris <rgm@gnu.org>
10626
c0274801
GM
10627 * Makefile.in (AUTOGEN_VCS): New variable.
10628 (autoloads): Use $AUTOGEN_VCS.
10629
3f0f1700
GM
10630 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10631 * calendar/calendar.el (calendar-mode-map):
10632 Check for toolkit scroll bars. (Bug#8305)
10633
41ea9e48
CY
106342011-04-05 Chong Yidong <cyd@stupidchicken.com>
10635
10636 * minibuffer.el (completion-in-region--postch)
10637 (completion-in-region-mode): Remove unnecessary messages.
10638
6194c800
JB
106392011-04-05 Juanma Barranquero <lekktu@gmail.com>
10640
33256f14
JB
10641 * font-lock.el (font-lock-refresh-defaults):
10642 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10643 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10644
6194c800
JB
10645 * info.el (Info-directory-list, Info-read-node-name-2)
10646 (Info-split-parameter-string): Doc fixes.
10647 (Info-virtual-nodes): Reflow docstring.
10648 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10649 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10650 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10651 Fix typos in docstrings.
10652 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10653 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10654 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10655 (Info-restore-desktop-buffer): Mark unused parameters.
10656 (Info-directory-find-file, Info-directory-find-node)
10657 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10658 (Info-virtual-index-find-node, Info-apropos-find-file)
10659 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10660 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10661 (Info-virtual-index): Remove unused local variable `nodename'.
10662
b87a8200 106632011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10664
b87a8200
DD
10665 * net/rcirc.el: Update my e-mail address.
10666 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10667
3b2ff876
CY
106682011-04-05 Chong Yidong <cyd@stupidchicken.com>
10669
10670 * startup.el (command-line): Save the cursor's theme-face
10671 directly, instead of using face-override-spec.
10672
10673 * custom.el (load-theme): Minor optimization in assigning faces.
10674
8d17e7ca
JB
106752011-04-04 Juanma Barranquero <lekktu@gmail.com>
10676
10677 * help-fns.el (describe-variable): Complete all variables having
10678 documentation, including keywords.
10679 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10680
2fbc1934
JB
106812011-04-04 Juanma Barranquero <lekktu@gmail.com>
10682
10683 Convert to lexical-binding.
10684
10685 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10686 (bs--get-marked-string, bs--get-modified-string)
10687 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10688 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10689 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10690
10691 * ehelp.el (electric-help-execute-extended)
10692 (electric-help-ctrl-x-prefix):
10693 * hexl.el (hexl-revert-buffer-function):
10694 * linum.el (linum-after-change, linum-after-scroll):
10695 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10696
10697 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10698
74f50695
DU
106992011-04-04 Daiki Ueno <ueno@unixuser.org>
10700
10701 * epa-dired.el:
10702 * epa-mail.el:
10703 * epa-hook.el:
10704 * epa-file.el:
10705 * epa.el:
10706 * epg.el: Use lexical binding.
10707
c11325f7
CY
107082011-04-03 Chong Yidong <cyd@stupidchicken.com>
10709
0d9e9a12
CY
10710 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10711
c11325f7 10712 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10713 dictionary case for flyspell-mark-duplications-exceptions.
10714 Use regexp matching for languages.
c11325f7
CY
10715 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10716 default dictionary (Bug#7926).
10717
da91b5f2
CY
107182011-04-02 Chong Yidong <cyd@stupidchicken.com>
10719
099c39a4
JB
10720 * emacs-lisp/package.el (package--with-work-buffer):
10721 Recognize https URLs.
da91b5f2 10722
099c39a4
JB
10723 * net/network-stream.el: Move from gnus/proto-stream.el.
10724 Change prefix to network-stream throughout.
da91b5f2
CY
10725 (open-protocol-stream): Merge into open-network-stream, leaving
10726 open-protocol-stream as an alias. Handle nil BUFFER args.
10727
10728 * subr.el (open-network-stream): Move to net/network-stream.el.
10729
afa8e9f6
GM
107302011-04-02 Glenn Morris <rgm@gnu.org>
10731
1d2e369d
GM
10732 * find-dired.el (find-exec-terminator): New option.
10733 (find-ls-option): Test for -ls support.
10734 (find-ls-subdir-switches): Test for -b in find-ls-option.
10735 (find-dired, find-grep-dired): Doc fixes.
10736 (find-dired): Use find-exec-terminator.
10737
8abb7da8 10738 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10739 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10740 (find-name-arg): Remove purecopy.
8abb7da8 10741
f3ca7378
GM
10742 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10743 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10744 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10745 accordingly. Don't add the null-device if not needed.
10746
afa8e9f6
GM
10747 * files.el (save-some-buffers): Doc fix.
10748
35eae264
EZ
107492011-04-02 Eli Zaretskii <eliz@gnu.org>
10750
10751 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10752
26b51db5
JB
107532011-04-01 Juanma Barranquero <lekktu@gmail.com>
10754
10755 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10756 Use `dolist' rather than `mapcar'.
10757
7200d79c
SM
107582011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10759
03408648 10760 Add lexical binding.
7200d79c 10761
03408648
SM
10762 * subr.el (apply-partially): Use new closures rather than CL.
10763 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10764 (dolist, dotimes): Use slightly different expansion for lexical code.
10765 (functionp): Move to C.
10766 (letrec): New macro.
10767 (with-wrapper-hook): Use it and apply-partially instead of CL.
10768 (eval-after-load): Preserve lexical-binding.
10769 (save-window-excursion, with-output-to-temp-buffer): Turn them
10770 into macros.
7200d79c 10771
03408648
SM
10772 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10773
10774 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10775 than the arglist.
10776 (help-add-fundoc-usage): Don't add `Not documented'.
10777 (help-function-arglist): Handle closures, subroutines, and new
10778 byte-code-functions.
10779 (help-make-usage): Remove leading underscores.
10780 (describe-function-1): Handle closures.
10781 (describe-variable): Use special-variable-p for completion.
10782
10783 * files.el (lexical-binding): Declare safe.
f488fb65 10784
03408648
SM
10785 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10786 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10787 (pcase): Add `let' pattern.
10788 Change memoization so it actually works.
10789 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10790 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10791 <let>: New case.
f488fb65 10792
03408648
SM
10793 * emacs-lisp/macroexp.el: Use lexical binding.
10794 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10795 Don't convert ' to #' without checking that it's indeed quoting
10796 a lambda.
10797
10798 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10799 Use eval-sexp-add-defvars.
03408648
SM
10800 (eval-sexp-add-defvars): New fun.
10801
10802 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10803
10804 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10805 Don't autoload.
10806 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10807 than the internal `byte-compile-lambda'.
10808 (defmethod): Don't hide code under quotes.
10809 (eieio-defmethod): New `code' argument.
10810
10811 * emacs-lisp/eieio-comp.el: Remove.
10812
10813 * emacs-lisp/edebug.el (edebug-eval-defun)
10814 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10815 (edebug-toggle): Avoid `eval'.
10816
10817 * emacs-lisp/disass.el (disassemble-internal): Handle new
10818 `closure' objects.
10819 (disassemble-1): Handle new byte codes.
10820
10821 * emacs-lisp/cl.el (pushnew): Silence warning.
10822
10823 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10824 (cl-byte-compile-throw): Remove.
10825 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10826
10827 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10828 closures.
10829
10830 * emacs-lisp/cconv.el: New file.
10831
10832 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10833 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10834 (byte-compile-initial-macro-environment):
10835 Handle declare-function here.
10836 (byte-compile--lexical-environment): New var.
10837 (byte-stack-ref, byte-stack-set, byte-discardN)
10838 (byte-discardN-preserve-tos): New lap codes.
10839 (byte-interactive-p): Don't use any more.
10840 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10841 New macros.
10842 (byte-compile-lapcode): Use them and handle new lap codes.
10843 (byte-compile-obsolete): Remove.
10844 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10845 (byte-compile-arglist-warn): Check late def of inlinable funs.
10846 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10847 since they should have been expanded by now.
10848 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10849 (byte-compile-from-buffer): Remove unused second arg.
10850 (byte-compile-preprocess): New function.
10851 (byte-compile-toplevel-file-form): New function to distinguish
10852 file-form calls from outside from file-form calls from hunk-handlers.
10853 (byte-compile-file-form): Simplify.
10854 (byte-compile-file-form-defsubst): Remove.
10855 (byte-compile-file-form-defmumble): Simplify now that
10856 byte-compile-lambda always returns a byte-code-function.
10857 (byte-compile): Preprocess.
10858 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10859 Remove, not used any more.
10860 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10861 (byte-compile-make-args-desc): New funs.
10862 (byte-compile-lambda): Handle lexical functions. Always return
10863 a byte-code-function.
10864 (byte-compile-reserved-constants): New var, to make up room for
10865 closed-over variables.
10866 (byte-compile-constants-vector): Obey it.
10867 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10868 (byte-compile-macroexpand-declare-function): New function.
10869 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10870 byte-code-functions.
10871 (byte-compile-form): Check obsolescence here.
10872 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10873 (byte-compile-variable-ref): Remove.
10874 (byte-compile-dynamic-variable-op): New fun.
10875 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10876 (byte-compile-variable-set): New funs.
10877 (byte-compile-discard): Add 2 args.
10878 (byte-compile-stack-ref, byte-compile-stack-set)
10879 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10880 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10881 macroexpand-all instead.
10882 (byte-compile-quote-form): Remove.
10883 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10884 (byte-compile-bind, byte-compile-unbind): New funs.
10885 (byte-compile-let): Handle let* and lexical binding.
10886 (byte-compile-let*): Remove.
10887 (byte-compile-catch, byte-compile-unwind-protect)
10888 (byte-compile-track-mouse, byte-compile-condition-case):
10889 Handle a new :fun-body form, used for lexical scoping.
10890 (byte-compile-save-window-excursion)
10891 (byte-compile-with-output-to-temp-buffer): Remove.
10892 (byte-compile-defun): Simplify.
10893 (byte-compile-stack-adjustment): New fun.
10894 (byte-compile-out): Use it.
10895 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10896
10897 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10898 handler any more.
10899
10900 * emacs-lisp/byte-opt.el: Use lexical binding.
10901 (byte-inline-lapcode): Remove (to bytecomp).
10902 (byte-compile-inline-expand): Pay attention to inlining to/from
10903 lexically bound code.
10904 (byte-compile-unfold-lambda): Don't handle byte-code-functions
10905 any more.
10906 (byte-optimize-form-code-walker): Don't handle save-window-excursion
10907 any more and don't call compiler-macros.
10908 (byte-compile-splice-in-already-compiled-code): Remove.
10909 (byte-code): Don't inline any more.
10910 (disassemble-offset): Receive `bytes' as argument rather than via
10911 dynamic scoping.
10912 (byte-compile-tag-number): Declare before first use.
10913 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10914 `return' even if make-spliceable.
10915 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10916 obsolete interactive-p.
10917 (byte-optimize-lapcode): Optimize new lap-codes.
10918 Don't trip up on new form of `byte-constant' lap code.
10919
10920 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10921
10922 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10923
10924 * custom.el (custom-initialize-default, custom-declare-variable):
10925 Use `defvar'.
10926
10927 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10928 New variables.
10929 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10930 (COMPILE_FIRST): Add macroexp and cconv.
10931 * makefile.w32-in: Mirror changes in Makefile.in.
10932
10933 * vc/cvs-status.el:
10934 * vc/diff-mode.el:
10935 * vc/log-edit.el:
10936 * vc/log-view.el:
10937 * vc/smerge-mode.el:
10938 * textmodes/bibtex-style.el:
10939 * textmodes/css.el:
10940 * startup.el:
10941 * uniquify.el:
da91b5f2
CY
10942 * minibuffer.el:
10943 * newcomment.el:
10944 * reveal.el:
10945 * server.el:
10946 * mpc.el:
10947 * emacs-lisp/smie.el:
10948 * doc-view.el:
10949 * dired.el:
03408648
SM
10950 * abbrev.el: Use lexical binding.
10951
0f0c1f27
EZ
109522011-04-01 Eli Zaretskii <eliz@gnu.org>
10953
10954 * info.el (info-display-manual): New function.
10955
c82b2579
SM
109562011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10957
10958 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10959
221ddf68
TH
109602011-03-31 Tassilo Horn <tassilo@member.fsf.org>
10961
10962 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 10963 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 10964
cba6e77e
GM
109652011-03-31 Glenn Morris <rgm@gnu.org>
10966
e040639f
GM
10967 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
10968
cba6e77e
GM
10969 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
10970
6d0f1c9e
CS
109712011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
10972
10973 * progmodes/python.el (python-default-interpreter)
10974 (python-python-command-args, python-jython-command-args)
10975 (python-which-shell, python-which-args, python-which-bufname)
10976 (python-file-queue, python-comint-output-filter-function)
10977 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
10978 variables and functions.
10979
3e2d70fd
SM
109802011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10981
10982 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
10983 (completion-in-region-mode): New minor mode.
10984 (completion-in-region): Use it.
10985 (completion-in-region--data, completion-in-region-mode-map): New vars.
10986 (completion-in-region--postch): New function.
10987 (completion--capf-misbehave-funs, completion--capf-safe-funs):
10988 New vars.
10989 (completion--capf-wrapper): New function.
10990 (completion-at-point): Use it to track well-behavedness of
10991 hook functions.
10992 (completion-help-at-point): New command.
10993
f3e4086c
JM
109942011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
10995
10996 * vc/add-log.el (add-change-log-entry): Don't use whitespace
10997 syntax class to search for whitespace on a single line
10998 (Message-ID: <4D938140.4030905@redhat.com>).
10999
eb7ffc14
LL
110002011-03-30 Leo Liu <sdl.web@gmail.com>
11001
11002 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11003 New commands.
11004 (edit-abbrevs-map): Bind them here.
11005 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11006
d806ab68
KM
110072011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11008
11009 * allout.el (allout-hide-by-annotation, allout-flag-region):
11010 Reduce possibility of overlay leakage by making them volatile.
11011
11012 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11013 hash is not shared between buffers. Mode initialization is
11014 responsible for giving it a useful starting value.
11015 (allout-item-span): Reduce possibility of overlay leakage by
11016 making them volatile.
11017 (allout-widgets-count-buttons-in-region): Add diagnostic function
11018 for tracking down button overlay leaks.
11019
ea622834
LL
110202011-03-29 Leo Liu <sdl.web@gmail.com>
11021
11022 * ido.el (ido-read-internal): Use the default history var
11023 minibuffer-history if no HISTORY is specified.
11024
b62f8267
G
110252011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11026
03408648
SM
11027 * net/imap.el (imap-shell-open, imap-process-connection-type):
11028 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11029 Kerberos, SSL, other subprocesses.
11030
947b6566
LL
110312011-03-28 Leo Liu <sdl.web@gmail.com>
11032
11033 * abbrev.el (abbrev-table-empty-p): New function.
11034 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11035 nonempty ones. (Bug#5937)
11036
5ffb62aa
JD
110372011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11038
11039 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11040
7a097943
LL
110412011-03-27 Leo Liu <sdl.web@gmail.com>
11042
11043 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11044 for foreground and background colors.
11045 (ansi-color-make-color-map): Adapt.
11046
c5b40130
LL
110472011-03-25 Leo Liu <sdl.web@gmail.com>
11048
1f48f7d2
LL
11049 * midnight.el (midnight-time-float): Remove. Note it calculates
11050 the microsecond component incorrectly and seconds-to-time does the
11051 same job.
625897ec 11052 Remove redundant (require 'timer).
1f48f7d2 11053
c5b40130
LL
11054 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11055 (ido-completions): Remove unused arguments. (Bug#8329)
11056
d86d2721
SM
110572011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11058
11059 * minibuffer.el (completion--flush-all-sorted-completions):
11060 Remove itself from hook.
11061 (completion-at-point): Let the functions perform the completion
11062 immediately and return nil or t.
11063 * comint.el (comint-dynamic-complete-functions): Now identical to
11064 completion-at-point-functions.
11065 (comint-dynamic-list-input-ring): Remove unused var `index'.
11066 (comint--match-partial-filename, comint--unquote&expand-filename):
11067 New funs, split from comint-match-partial-filename.
11068 (comint-dynamic-complete): Use completion-at-point.
11069 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11070
e8974c48
DA
110712011-03-24 Drew Adams <drew.adams@oracle.com>
11072
11073 * thingatpt.el: Support `defun'.
11074
def71b5e
LL
110752011-03-23 Leo Liu <sdl.web@gmail.com>
11076
cb5af48e
LL
11077 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11078
def71b5e
LL
11079 * help-mode.el (help-mode-finish): Tweak regexp.
11080
927c53e7
GM
110812011-03-23 Glenn Morris <rgm@gnu.org>
11082
18d05bed
GM
11083 * eshell/esh-opt.el (eshell-eval-using-options):
11084 Do not bind unused local variable `eshell-option-stub'.
11085
927c53e7
GM
11086 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11087
9d0da923
JB
110882011-03-22 Juanma Barranquero <lekktu@gmail.com>
11089
11090 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11091 keymap variable in `with-no-warnings' to avoid a warning when the
11092 keymap has been already `defconst'ed.
11093
4b978a67
LL
110942011-03-22 Leo Liu <sdl.web@gmail.com>
11095
11096 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11097 encode all chars in abbrevs; otherwise use emacs-mule or
11098 utf-8-emacs. (Bug#8308)
11099
5fd62452
JB
111002011-03-22 Juanma Barranquero <lekktu@gmail.com>
11101
0b1596c6
JB
11102 * simple.el (backward-delete-char-untabify):
11103 Avoid warning about using `delete-backward-char'.
11104
5fd62452
JB
11105 * image.el (image-type-file-name-regexps): Make it variable.
11106 `imagemagick-register-types' modifies it, and the user may want
11107 to add new extensions for known image types.
11108 (imagemagick-register-types): Throw error if not using ImageMagick.
11109
0b4e93f1
LL
111102011-03-22 Leo Liu <sdl.web@gmail.com>
11111
11112 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11113 located before rcirc-prompt-end-marker.
11114 (rcirc-complete): Error if point is not after rcirc prompt.
11115 Handle the case when table is nil.
9882e214 11116 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11117
fccee4ab
CY
111182011-03-22 Chong Yidong <cyd@stupidchicken.com>
11119
11120 * custom.el (custom--inhibit-theme-enable): Make it affect only
11121 custom-theme-set-variables and custom-theme-set-faces.
11122 (provide-theme): Ignore custom--inhibit-theme-enable.
11123 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11124 (custom-enabling-themes): Delete variable.
d86d2721
SM
11125 (enable-theme): Accept only loaded themes as arguments.
11126 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11127 (custom-enabled-themes): Forbid themes from setting this.
11128 Eliminate use of custom-enabling-themes.
11129 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11130
af896da6
LL
111312011-03-21 Leo Liu <sdl.web@gmail.com>
11132
11133 * ido.el (ido-read-internal): Add ido-selected to history instead
11134 of user input.
11135
78f64af0
SM
111362011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11137
11138 * subr.el (deferred-action-list, deferred-action-function):
11139 Mark obsolete.
11140
b16ac1ec
LL
111412011-03-21 Leo Liu <sdl.web@gmail.com>
11142
810f7698
LL
11143 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11144 change on 2011-02-13 (bug#8309).
11145
b16ac1ec
LL
11146 * minibuffer.el (read-file-name-function): Change default value.
11147 (read-file-name--defaults): Rename from read-file-name-defaults.
11148 (read-file-name-default): Rename from read-file-name.
11149 (read-file-name): Call read-file-name-function.
11150
4e05e67e
GM
111512011-03-21 Glenn Morris <rgm@gnu.org>
11152
11153 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11154 Doc fixes.
11155
4359915b
CY
111562011-03-21 Chong Yidong <cyd@stupidchicken.com>
11157
11158 * cus-theme.el: Add missing provide statement.
11159 (customize-create-theme): Extract theme value correctly.
11160 (custom-theme-visit-theme): Autoload.
11161 (customize-create-theme): Prompt before inserting default faces.
11162
1fe275ee
JB
111632011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11164
11165 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11166 units and musical notes.
11167
cd394be1 111682011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11169
11170 * ido.el (ido-read-internal): Use completing-read-default.
11171 (ido-completing-read): Fix compatibility with completing-read.
11172
7d476bde
CO
111732011-03-20 Christian Ohler <ohler@gnu.org>
11174
11175 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11176 (ert-delete-all-tests): Use `called-interactively-p' rather than
11177 `interactive-p'.
11178 (ert--make-xrefs-region): Respect END.
11179
fe0fb33e
CY
111802011-03-19 Chong Yidong <cyd@stupidchicken.com>
11181
ff854b0b
CY
11182 * dired-aux.el (dired-create-directory): Signal an error if the
11183 directory already exists (Bug#8246).
11184
fe0fb33e
CY
11185 * facemenu.el (list-colors-display): Call list-faces-display
11186 inside with-help-window.
11187 (list-colors-print): Use display property to align the final
11188 column, instead of checking window-width.
11189
576bce32
EZ
111902011-03-19 Eli Zaretskii <eliz@gnu.org>
11191
4d61f28d 11192 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11193 windows-nt systems.
11194 (emerge-protect-metachars): Quote correctly for ms-dos and
11195 windows-nt systems.
11196
89c41d68 111972011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11198
11199 * info.el (info-initialize): Replace all uses of `:' with
11200 path-separator for compatibility with non-Unix systems.
11201 Cache quoting of path-separator. (Bug#8258)
11202
b14e3e21 112032011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11204
11205 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11206 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11207 (mouse-avoidance-mode): Fix typos in docstrings.
11208
4525ce3e
CY
112092011-03-19 Chong Yidong <cyd@stupidchicken.com>
11210
11211 * startup.el (package-subdirectory-regexp): Move from package.el.
11212 Omit \\` and \\', and let callers add them.
11213
11214 * emacs-lisp/package.el (package-strip-version)
11215 (package-load-all-descriptors): Add \\` and \\' to
11216 package-subdirectory-regexp before using it.
11217 (package-untar-buffer): New arg DIR; ensure that file untars only
11218 into this expected directory. Remove superfluous delete-region.
11219 (package-unpack): Caller changed.
11220 (package-tar-file-info): Use package-subdirectory-regexp.
11221
a904a09a 112222011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11223
a904a09a
SM
11224 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11225 diff-mode-shared-map (bug#8284).
11226 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11227
112282011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11229
11230 * calendar/time-date.el (format-seconds): Use assoc instead of
11231 assoc-string, since assoc-string doesn't exist in XEmacs.
11232
171fc304
JB
112332011-03-17 Juanma Barranquero <lekktu@gmail.com>
11234
11235 * custom.el (custom-known-themes): Reflow docstring.
11236 (custom-theme-load-path): Fix typo in docstring.
11237 (load-theme): Fix typo in error message.
11238 (custom-available-themes, custom-variable-theme-value):
11239 Use `let', not `let*'.
11240
d71990a1
JB
112412011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11242
11243 * calc/README: Mention inclusion of musical notes.
11244
11245 * calc/calc-units.el (calc-lu-quant): Rename from
11246 `calc-logunits-quantity'.
11247 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11248 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11249 (calc-db): Rename from `calc-dblevel'.
11250 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11251 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11252 (calc-np): Rename from `calc-nplevel'.
11253 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11254 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11255 (calc-lu-plus): Rename from `calc-logunits-add'.
11256 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11257 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11258 (calc-lu-minus): Rename from `calc-logunits-sub'.
11259 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11260 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11261 (calc-lu-times): Rename from `calc-logunits-mul'.
11262 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11263 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11264 (calc-lu-divide): Rename from `calc-logunits-div'.
11265 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11266 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11267
11268 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11269 functions being autoloaded.
11270
11271 * calc/calc.el (calc-lu-power-reference): Rename from
11272 `calc-logunits-power-reference'.
11273 (calc-lu-field-reference): Rename from
11274 `calc-logunits-field-reference'.
11275
7a71b18d
GM
11276 * calc/calc-help.el (calc-l-prefix-help):
11277 Mention musical note functions.
d71990a1 11278
40c2934b
SM
112792011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11280
11281 * minibuffer.el (completion-all-sorted-completions):
11282 Use :completion-cycle-penalty text property if present.
11283
b0911414
KM
112842011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11285
11286 * allout.el (allout-yank-processing): Adjust for new rebulleting
11287 regime so bullet being yanked is used without prompting the user
11288 for a choice.
11289
8a05b668
JB
112902011-03-16 Juanma Barranquero <lekktu@gmail.com>
11291
11292 * startup.el (command-line): Warn the user that _emacs is deprecated.
11293
5ba5fb81
JB
112942011-03-16 Juanma Barranquero <lekktu@gmail.com>
11295
11296 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11297 (delphi-verbose, delphi-comment-face, delphi-string-face)
11298 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11299 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11300 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11301 (delphi-new-comment-line, delphi-font-lock-defaults)
11302 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11303 Fix typos in docstrings.
11304
2dab465b
KM
113052011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11306
5ba5fb81 11307 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11308 Invert the roles of character and string values for INSTEAD, so a
11309 string is used for the more common case of a defaulting prompt.
11310
0adf5618
SM
113112011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11312
11313 * progmodes/ruby-mode.el (ruby-backward-sexp):
11314 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11315 * play/gamegrid.el (gamegrid-make-face):
11316 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11317 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11318 * notifications.el (notifications-notify):
11319 * net/xesam.el (xesam-search-engines):
11320 * net/quickurl.el (quickurl-list-insert):
11321 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11322
d72700e5
CY
113232011-03-15 Chong Yidong <cyd@stupidchicken.com>
11324
11325 * startup.el (command-line): Update package subdirectory regexp.
11326
49c5410a
SM
113272011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11328
c6eee9aa
SM
11329 * allout.el (allout-abbreviate-flattened-numbering)
11330 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11331
49c5410a
SM
11332 * subr.el (read-char-choice): Only show the cursor after the prompt,
11333 not after the answer.
11334
047b2bb9
KR
113352011-03-15 Kevin Ryde <user42@zip.com.au>
11336
11337 * help-fns.el (variable-at-point): Skip leading quotes, if any
11338 (bug#8253).
11339
0a57d256
SM
113402011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11341
11342 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11343 warning message.
11344
77c992bc
MA
113452011-03-14 Michael Albinus <michael.albinus@gmx.de>
11346
11347 * shell.el (shell): When called interactively, offer to change the
11348 shell file name on remote hosts.
11349
eebc475d
TZ
113502011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11351
11352 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11353 integration for LDAP parameters. The host, base, user or binddn,
11354 and secret tokens can be specified in a netrc file, for instance.
11355 This is optional because an `auth-source' parameter must be
11356 specified in the search attributes.
11357
9d05d1ba
JB
113582011-03-13 Juanma Barranquero <lekktu@gmail.com>
11359
11360 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11361
09d9db2c
GM
113622011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11363
11364 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11365 into declaration. Remove redundant and harmful binding.
11366
113672011-03-12 Eli Zaretskii <eliz@gnu.org>
11368
11369 * files.el (file-ownership-preserved-p): Pass `integer' as an
11370 explicit 2nd argument to `file-attributes'. If the file's owner
11371 is the Administrators group on Windows, and the current user is
11372 Administrator, consider that a match.
11373
11374 * server.el (server-ensure-safe-dir): Consider server directory
11375 safe on MS-Windows if its owner is the Administrators group while
11376 the current Emacs user is Administrator. Use `=' to compare
11377 numerical UIDs, since they could be integers or floats.
11378
219bd536
JB
113792011-03-12 Juanma Barranquero <lekktu@gmail.com>
11380
11381 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11382
f3afd36b
MA
113832011-03-12 Michael Albinus <michael.albinus@gmx.de>
11384
11385 Sync with Tramp 2.2.1.
11386
11387 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11388
11389 * net/trampver.el: Update release number.
11390
3aaaa6f1
SM
113912011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11392
94642599
SM
11393 * progmodes/compile.el (compilation--previous-directory): Fix up
11394 various nil/dead-marker mismatches (bug#8014).
11395 (compilation-directory-properties, compilation-error-properties):
11396 Don't call it at a position past the one we're about to change.
11397
3aaaa6f1
SM
11398 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11399 Disable obsolescence warnings in the file that declares it.
11400
14239447
KM
114012011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11402
099c39a4
JB
11403 * allout-widgets.el (allout-widgets-tally):
11404 Initialize allout-widgets-tally as a hash table rather than nil to
11405 prevent mode-line redisplay warnings. Also, clarify the module
11406 description and fix a comment typo.
14239447 11407
135e287c
JB
114082011-03-11 Juanma Barranquero <lekktu@gmail.com>
11409
11410 * help-fns.el (describe-variable): Don't complete keywords.
11411 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11412
ffbf300e
CY
114132011-03-10 Chong Yidong <cyd@stupidchicken.com>
11414
ba08b241
CY
11415 * emacs-lisp/package.el (package-version-join): Impose a standard
11416 string representation for pre/alpha/beta version lists.
11417 (package-unpack-single): Standardize the directory name by passing
11418 it through package-version-join.
11419 (package-strip-rcs-id): Accept any version string that does not
11420 signal an error in version-to-list.
ffbf300e 11421
f346fd6b
MA
114222011-03-10 Michael Albinus <michael.albinus@gmx.de>
11423
11424 * simple.el (delete-trailing-whitespace): Return nil for the
11425 benefit of `write-file-functions'.
11426
ccb55d27
GM
114272011-03-10 Glenn Morris <rgm@gnu.org>
11428
5ceaac0c
GM
11429 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11430
02da65ff
GM
11431 * vc/vc-git.el (vc-git-program): New option.
11432 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11433 (vc-git--call): Use it.
11434
b2f603cc
GM
11435 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11436
5772caab
GM
11437 * cus-edit.el (Custom-newline): If no button at point, look
11438 for a subgroup button at start-of-line. (Bug#2298)
11439
ccb55d27
GM
11440 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11441
ec6ecaed
JD
114422011-03-10 Julien Danjou <julien@danjou.info>
11443
11444 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11445 `cursor-type' is nil.
11446
9d5aa01d
JB
114472011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11448
11449 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11450
b6a5875b
KM
114512011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11452
7a71b18d 11453 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11454 preserves the existing header prefix, rebulleting it if necessary,
11455 rather than replacing it. This is necessary for proper operation
11456 of cooperative addons like allout-widgets.
1154d12e
JB
11457 (allout-make-topic-prefix, allout-rebullet-heading):
11458 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11459 value as alternate bullet to be used, instead of prompting the user
11460 for a bullet character.
b6a5875b 11461
ee545c35
MA
114622011-03-09 Michael Albinus <michael.albinus@gmx.de>
11463
d86d2721
SM
11464 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11465 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11466 `tramp-default-port'.
11467
c47971d7
DD
114682011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11469
11470 * net/rcirc.el (rcirc-handler-001): Remove useless
11471 with-rcirc-process-buffer.
11472 (rcirc-check-auth-status): Swap arguments to string-match.
11473
13522cb4
GM
114742011-03-09 Glenn Morris <rgm@gnu.org>
11475
0be6f4f1
GM
11476 * shell.el (shell-mode):
11477 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11478
13522cb4
GM
11479 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11480 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11481
515de2e3
CY
114822011-03-08 Chong Yidong <cyd@stupidchicken.com>
11483
11484 * emacs-lisp/package.el (package-refresh-contents)
11485 (package-menu-execute): Use condition-case-no-debug.
11486
b511b994
MA
114872011-03-08 Michael Albinus <michael.albinus@gmx.de>
11488
11489 * simple.el (shell-command-to-string): Use `process-file'.
11490
11491 * emacs-lisp/package.el (package-tar-file-info): Handle also
11492 remote files.
11493
d86d2721
SM
11494 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11495 Use `equal' for upload base check.
b511b994 11496
25bbfb31
AM
114972011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11498
11499 * textmodes/texinfo.el (texinfo-environments):
11500 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11501
be996521
GM
115022011-03-08 Glenn Morris <rgm@gnu.org>
11503
e9c8529f
GM
11504 * cus-start.el (cursor-in-non-selected-windows):
11505 Fix :set quoting oddness. (Bug#8192)
11506
be996521
GM
11507 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11508 in some setf expressions. (Bug#2159)
11509
2bb5649e
CY
115102011-03-08 Chong Yidong <cyd@stupidchicken.com>
11511
11512 * custom.el (custom-available-themes): Return themes in
11513 alphabetical order.
11514
33383987 11515See ChangeLog.15 for earlier changes.
e3d51b27
MR
11516
11517;; Local Variables:
11518;; coding: utf-8
e3d51b27
MR
11519;; End:
11520
acaf905b 11521 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11522
11523 This file is part of GNU Emacs.
11524
11525 GNU Emacs is free software: you can redistribute it and/or modify
11526 it under the terms of the GNU General Public License as published by
11527 the Free Software Foundation, either version 3 of the License, or
11528 (at your option) any later version.
11529
11530 GNU Emacs is distributed in the hope that it will be useful,
11531 but WITHOUT ANY WARRANTY; without even the implied warranty of
11532 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11533 GNU General Public License for more details.
11534
11535 You should have received a copy of the GNU General Public License
11536 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.