Adjust NEWS entry for recent change
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9e345a01
LL
12012-03-13 Leo Liu <sdl.web@gmail.com>
2
3 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4 directory and file as argument (Bug#10822).
5
4a07df36
KS
62012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7
8 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9 For dynamically generated code, follow $PC.
10 (gdb-disassembly-handler-custom): Handle no function name case.
11
4aaa9356
TL
122012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13
14 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15 * emulation/ws-mode.el (ws-query-replace):
16 * sort.el (sort-regexp-fields):
17 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
18
225979da
SM
192012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * dabbrev.el: Fix cycle completion order (bug#10963).
22 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
23 (dabbrev-completion): Don't use an obarray; provide
24 a cycle-sort-function.
25
e2f1fdab
LL
262012-03-12 Leo Liu <sdl.web@gmail.com>
27
28 * simple.el (kill-new): Use equal-including-properties for
29 comparison.
30 (kill-do-not-save-duplicates): Doc fix.
31
b19490ed
SM
322012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * dabbrev.el: Fix cycle completion (bug#10963).
35 Use lexical binding and wrap to 80 columns.
36 (dabbrev-completion): Delay computing the list of completions.
37
4b05d722
KH
382012-03-12 Kenichi Handa <handa@m17n.org>
39
40 * international/quail.el (quail-insert-kbd-layout): Surround each
41 row by LRO and PDF instead of inserting many LRMs. Pad the left
42 and right of each non-spacing marks. Insert invisible space
43 between lower and upper characters to prevent composition.
44
dbbc2e69
SM
452012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 * minibuffer.el (minibuffer-complete): Don't get confused when the
48 function is run twice via different commands (bug#10958).
49 (complete-with-action): Fix docstring.
50
292112ed
CY
512012-03-12 Chong Yidong <cyd@gnu.org>
52
5d1ac394
CY
53 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
54 (nxml-completion-at-point-function): New function.
55 (nxml-mode): Use it.
56 (nxml-bind-meta-tab-to-complete-flag): Default to t.
57
292112ed
CY
58 * emacs-lisp/package.el (package-unpack, package-unpack-single):
59 Load generated autoloads file before byte compiling (Bug#10970).
60 (package--make-autoloads-and-compile): New helper fun.
61
4098f8f7
CS
622012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
63
64 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
65
8f754691
MA
662012-03-11 Michael Albinus <michael.albinus@gmx.de>
67
68 * autorevert.el (auto-revert-handler): Ensure, that
69 file-readable-p is applied only for local files or in
70 auto-revert-tail-mode.
71
e29ab36b
AS
722012-03-11 Andreas Schwab <schwab@linux-m68k.org>
73
dbbc2e69
SM
74 * server.el (server-eval-at): Handle non-tcp connections.
75 Decode result string.
ad0bf5b6 76
e29ab36b
AS
77 * server.el (server-msg-size): New constant.
78 (server-reply-print): New function.
79 (server-eval-and-print): Use it.
80 (server-eval-at): Use server-quote-arg and server-unquote-arg.
81 Handle -print-nonl.
82
de5939ba
CS
832012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
84
85 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
86 (Bug#10987).
87
0c93eabf
CY
882012-03-11 Chong Yidong <cyd@gnu.org>
89
397a688f
CY
90 * simple.el (goto-line): Doc fix (Bug#9938).
91
2cc775f9
CY
92 * subr.el (save-window-excursion): Doc fix (Bug#9979).
93
0c93eabf
CY
94 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
95 when finished (Bug#10963).
96
c491fa41
MR
972012-03-11 Martin Rudalics <rudalics@gmx.at>
98
99 * window.el (split-window-below): Fix bug in case where
100 split-window-keep-point is nil (Bug#10971).
101
300e8fa5
JL
1022012-03-11 Juri Linkov <juri@jurta.org>
103
104 * replace.el (replace-highlight): Set isearch-word to nil
105 unconditionally. (Bug#10887)
106
dbf6c5a1
EZ
1072012-03-10 Eli Zaretskii <eliz@gnu.org>
108
109 * net/mairix.el (mairix-replace-invalid-chars): Rename from
110 mairix-replace-illegal-chars; all callers changed. Don't remove
111 ^, ~, and = characters: they are meaningful in mairix search
112 specs.
113 (mairix-widget-create-query): Add usage information about mairix
114 search forms: negating words, searching for substrings, etc.
115
b9e501de
JP
1162012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
117
118 * international/fontset.el (font-encoding-alist): Add an entry for
119 ksx1001 (Bug#5667).
120
92795c91
RS
1212012-03-10 Richard Stallman <rms@gnu.org>
122
1694e6c1
RS
123 * mail/sendmail.el (mail-encode-header):
124 Set rfc2047-encode-encoded-words.
125
607e8555
RS
126 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
127
de3bc99a
RS
128 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
129 view buffer means not swapped.
130 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
131 (rmail-write-region-annotate): Error if real text has disappeared.
132
92795c91
RS
133 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
134
699bd04e
CY
1352012-03-10 Chong Yidong <cyd@gnu.org>
136
137 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
138 * emulation/cua-base.el (cua--init-keymaps):
139 Add delete-forward-char to remappings (Bug#9666).
699bd04e 140
570a1714
MR
1412012-03-10 Martin Rudalics <rudalics@gmx.at>
142
dbbc2e69
SM
143 * speedbar.el (speedbar-unhighlight-one-tag-line):
144 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 145
82dcf4e4
CY
1462012-03-10 Chong Yidong <cyd@gnu.org>
147
7a2c7ca7
CY
148 * minibuffer.el (completion-in-region, completion-help-at-point):
149 Give the completion field overlay a high priority (Bug#6830).
150
82dcf4e4
CY
151 * dired.el (dired-goto-file): Recognize absolute file name
152 listings (Bug#7126).
153 (dired-goto-file-1): New helper function.
154 (dired-toggle-read-only): Inhibit warnings.
155
052e28ac
MA
1562012-03-09 Michael Albinus <michael.albinus@gmx.de>
157
158 * net/dbus.el: (dbus-property-handler): Return empty array if
159 there are no properties.
160
95d5e396
LL
1612012-03-09 Leo Liu <sdl.web@gmail.com>
162
163 * savehist.el (savehist-printable): Stricter check for string
164 value (Bug#10937).
165
3f018d6d
EZ
1662012-03-09 Eli Zaretskii <eliz@gnu.org>
167
dbbc2e69
SM
168 * mail/smtpmail.el (smtpmail-send-it):
169 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
170 valid mbox format.
171
f7fd3d79
GM
1722012-03-09 Glenn Morris <rgm@gnu.org>
173
174 * files.el (dir-locals-find-file):
175 Don't check result is regular, readable.
176 (dir-locals-read-from-file): Demote errors.
177
6ff6e72f
EZ
1782012-03-08 Eli Zaretskii <eliz@gnu.org>
179
dbbc2e69
SM
180 * international/quail.el (quail-insert-kbd-layout):
181 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
182 layout cell, to prevent their reordering by bidi display engine.
183 For details, see the discussion in
184 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
185
9cec7834
AM
1862012-03-08 Alan Mackenzie <acm@muc.de>
187
188 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
189 the starting position; make it extend the marked region when
190 invoked repeatedly - all under appropriate circumstances.
191 Fixes bugs #5525, #10906.
192
9a40b8d4
GM
1932012-03-08 Glenn Morris <rgm@gnu.org>
194
195 * files.el (locate-dominating-file, dir-locals-find-file):
196 Undo 2012-03-06 change.
197
7a08ed35
EZ
1982012-03-07 Eli Zaretskii <eliz@gnu.org>
199
dbbc2e69
SM
200 * international/quail.el (quail-help):
201 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
202 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
203 for the reason.
204
5aca4f71 2052012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
206
207 Avoid superfluous registering of signals. (Bug#10807)
208
209 * notifications.el (notifications-on-action-object)
210 (notifications-on-close-object): New defvars.
211 (notifications-on-action-signal, notifications-on-closed-signal):
212 Unregister the signal if not needed any longer.
213 (notifications-notify): Register `notifications-action-signal' or
214 `notifications-closed-signal', if :on-action or :on-close has been
215 passed as argument.
216
78e8b10a
CY
2172012-03-07 Chong Yidong <cyd@gnu.org>
218
219 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
220 non-X platforms.
221
69481eb8
GM
2222012-03-06 Glenn Morris <rgm@gnu.org>
223
224 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
225 (x-disown-selection-internal, x-get-selection-internal):
226 Doc fix (add arglist signatures). (Bug#10783)
227
133b8e11
KS
2282012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
229
230 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
231 Handle breakpoints with no "type".
232
99a83064
GM
2332012-03-06 Glenn Morris <rgm@gnu.org>
234
235 * files.el (locate-dominating-file): Add optional predicate argument.
236 (dir-locals-find-file): Make use of above change.
237
17798e78
TTN
2382012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
239
240 * info.el (Info-insert-dir): Also try "dir.gz".
241
eb182446
GM
2422012-03-06 Glenn Morris <rgm@gnu.org>
243
8f2114ee
GM
244 * files.el (dir-locals-find-file):
245 Ignore non-readable or non-regular files. (Bug#10928)
246
eb182446
GM
247 * files.el (locate-dominating-file): Doc fix.
248
24679323
AS
2492012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
250
251 * calendar/calendar.el (calendar-set-mode-line):
252 `getenv' returns a string. (Bug#10951)
253
01d972a9
LL
2542012-03-05 Leo Liu <sdl.web@gmail.com>
255
109aa8a9
LL
256 * simple.el (backward-delete-char-untabify): Constrain point to
257 field (Bug#10939).
258
01d972a9
LL
259 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
260
10607bea
CY
2612012-03-05 Chong Yidong <cyd@gnu.org>
262
263 * simple.el (count-words): If called from Lisp, return the word
264 count, for symmetry with `count-lines'. Arglist changed.
265 (count-words--message): Args changed. Consolidate counting code
266 from count-words and count-words-region.
267 (count-words-region): Caller changed.
268 (count-lines-region): Make it an obsolete alias.
269
5dd11cfe
TH
2702012-03-04 Tassilo Horn <tassilo@member.fsf.org>
271
272 * saveplace.el (save-place-to-alist)
273 (save-place-ignore-files-regexp): Allow value nil to disable this
274 feature.
275
c349f4e6
CY
2762012-03-04 Chong Yidong <cyd@gnu.org>
277
278 * faces.el (face-spec-reset-face): For the default face, reset the
279 attributes to default values (Bug#10748).
280
e627be4c
LMI
2812012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
282
283 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
284 previous patch: Check `message-send-mail-function', and not the
285 default function (bug#10897).
286
ebeabff4
MA
2872012-03-04 Michael Albinus <michael.albinus@gmx.de>
288
a41a6cf4
MA
289 * notifications.el (notifications-on-action-signal)
290 (notifications-on-closed-signal): Check for unique service name of
291 incoming event. Fix error in removing entry.
ebeabff4 292 (top): Register for signals with wildcard service name.
a41a6cf4 293 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 294
c1ca42b4
CY
2952012-03-04 Chong Yidong <cyd@gnu.org>
296
297 * cus-start.el: Make x-select-enable-clipboard-manager
298 customizable.
299
ea16568d
GM
3002012-03-04 Glenn Morris <rgm@gnu.org>
301
302 * abbrev.el (copy-abbrev-table, abbrev-table-p)
303 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
304 (expand-abbrev, define-abbrev-table): Doc fixes.
305
fbae4637
LMI
3062012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
307
308 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
309 `message-default-send-mail-function' and not `send-mail-function'
310 when doing the prompting for `sendmail-query-once' before sending
311 in Message buffers (bug#10897).
312
a1e7225c
LMI
313 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
314 This is inconsistent with all the other stream functions, which leave
315 the setting up to the higher levels (if so wanted) (bug#10931).
316
56d093a9
AM
3172012-03-02 Alan Mackenzie <acm@muc.de>
318
319 Depessimize the handling of very large macros.
320
321 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
322 (c-macro-cache-syntactic): New variables to implement a one
323 element macro cache.
324 (c-invalidate-macro-cache): New function.
325 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
326 Adapt to use the new cache.
327 (c-state-safe-place): Use better the cache of safe positions.
328 (c-state-semi-nonlit-pos-cache)
329 (c-state-semi-nonlit-pos-cache-limit):
330 New variables for...
331 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
332 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
333 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
334 Use c-state-semi-safe-place.
56d093a9 335
dbbc2e69
SM
336 * progmodes/cc-langs.el (c-get-state-before-change-functions):
337 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 338
817e5c3d
MA
3392012-03-02 Michael Albinus <michael.albinus@gmx.de>
340
dbbc2e69
SM
341 * jka-compr.el (jka-compr-call-process):
342 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
343 not remote.
344
a032a702
MA
3452012-03-01 Michael Albinus <michael.albinus@gmx.de>
346
347 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
348 access of FILE2, if FILE1 does not exist.
349
99a54f21
MA
350 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
351 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
352
353 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
354 Add "PAGER=" to `process-environment'.
355
f6561e1f
MM
3562012-03-01 Michael R. Mauger <mmaug@yahoo.com>
357
358 * progmodes/sql.el: Bug fix
359 (sql-get-login-ext): Save login values in globals.
360 (sql-get-login): Use new version of `sql-get-login-ext'.
361 (sql-interactive-mode): Set global `sql-connection' to nil.
362 (sql-connect): Set global values for connection.
363 (sql-product-interactive): Save global values as buffer local.
364
2d44d9cc
LL
3652012-02-29 Leo Liu <sdl.web@gmail.com>
366
367 * abbrev.el (define-abbrevs): Reset sys to nil.
368
96b49301 3692012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
370
bf7f9bc5
JB
371 * files.el (file-equal-p): Rename from `files-equal-p'.
372 Return nil when one or both files don't exist.
96b49301 373 (file-subdir-of-p): Now only top directory must exists,
374 return nil if it doesn't.
bf7f9bc5
JB
375 (copy-directory): No need to test with `file-subdir-of-p' after
376 creating dir.
377 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
378 to `file-equal-p'.
96b49301 379
44e97401
GM
3802012-02-28 Glenn Morris <rgm@gnu.org>
381
382 * shell.el (shell-mode):
383 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
384 * play/landmark.el (landmark-font-lock-face-O):
385 * play/handwrite.el (handwrite):
386 * play/gomoku.el (gomoku-O):
387 * net/browse-url.el (browse-url-browser-display):
388 * international/mule.el (define-charset):
389 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
390 * filesets.el (filesets-find-file-delay):
391 * eshell/em-xtra.el (eshell-xtra):
392 * eshell/em-unix.el (eshell-grep):
393 * emulation/viper.el (viper-mode):
394 * emacs-lisp/regexp-opt.el (regexp-opt-group):
395 * emacs-lisp/easymenu.el (easy-menu-define):
396 * calendar/timeclock.el (timeclock-use-display-time):
397 * bs.el (bs-mode):
398 * bookmark.el (bookmark-save-flag):
399 Doc fix (standardize possessive apostrophe usage).
400
c98c6276
CY
4012012-02-27 Chong Yidong <cyd@gnu.org>
402
bf7f9bc5
JB
403 * emulation/viper-cmd.el (viper-intercept-ESC-key):
404 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 405
c98c6276
CY
406 * font-lock.el (font-lock-specified-p): Rename from
407 font-lock-spec-present. Callers changed.
408
9c62cd04 4092012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 410
bf7f9bc5
JB
411 * emacs-lisp/package.el (package-compute-transaction):
412 Handle holding a package version to t in package-load-list.
8ac9e529 413
530739c9
MA
4142012-02-26 Michael Albinus <michael.albinus@gmx.de>
415
416 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
417 (tramp-get-inode, tramp-get-device): Use cached values.
418
487915d7
AM
4192012-02-26 Alan Mackenzie <acm@muc.de>
420
421 Check there is a font-lock specification before doing initial
422 fontification.
423
424 * font-core.el (font-lock-mode): Move the conditional from
425 :after-hook to font-lock-initial-fontify.
426 (font-lock-default-function): Move the check for a specification
427 to font-lock-spec-present.
428
429 * font-lock.el (font-lock-initial-fontify): call ...
430 (font-lock-spec-present): New function.
431
4fd96557
JB
4322012-02-26 Jim Blandy <jimb@red-bean.com>
433
434 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
435 (gdb-send): Apply it to the operand of the '-interpreter-exec
436 console' command, so that we can pass arguments with (say) quotes
437 in them. Store exact string sent in gdb-debug-log (Bug#10765).
438
9a4888c0
CY
4392012-02-26 Chong Yidong <cyd@gnu.org>
440
07498861
CY
441 * help-fns.el (describe-function-1): Clarify description of
442 remapping (Bug#10844).
443
9a4888c0
CY
444 * files.el (files-equal-p): Doc fix.
445 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
446 and quit the loop once a mismatch is found.
447
ea8fb88d
JB
4482012-02-25 Juanma Barranquero <lekktu@gmail.com>
449
450 * bs.el (bs--show-with-configuration): Don't throw an error
451 if the window cannot be split; otherwise, subsequent calls to
452 bs-show fail, restoring a stale window config. (Bug#10882)
453
525795c1
JD
4542012-02-25 Jan Djärv <jan.h.d@swipnet.se>
455
456 * term/ns-win.el (global-map): Bind ns-drag-file to
457 ns-find-file (Bug#5855, Bug#10050).
458
f008086f
AS
4592012-02-25 Andreas Schwab <schwab@linux-m68k.org>
460
461 * calendar/parse-time.el (parse-time-string): Allow extractor to
462 return nil.
463
a3fcfa99
MA
4642012-02-25 Michael Albinus <michael.albinus@gmx.de>
465
91027d08
JB
466 * net/tramp.el (tramp-file-name-for-operation):
467 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
468
469 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
470 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
471 Add COPY-CONTENTS argument.
a3fcfa99 472
67b0de11
CY
4732012-02-25 Chong Yidong <cyd@gnu.org>
474
475 Add custom groups for VC backends, for consistency with vc-bzr.
476
477 * vc/vc-arch.el (vc-arch):
478 * vc/vc-cvs.el (vc-cvs):
479 * vc/vc-git.el (vc-git):
480 * vc/vc-hg.el (vc-hg):
481 * vc/vc-mtn.el (vc-mtn):
482 * vc/vc-rcs.el (vc-rcs):
483 * vc/vc-sccs.el (vc-sccs):
484 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
485 All relevant defcustoms reassigned.
486
3c9dfce6
CY
4872012-02-25 Chong Yidong <cyd@gnu.org>
488
1339bf43
CY
489 * newcomment.el (comment-styles): Add autoload (Bug#10868).
490
3c9dfce6
CY
491 * term/x-win.el (x-initialize-window-system): Reduce default for
492 x-selection-timeout to 5 seconds (Bug#8869).
493
53a46cd0 4942012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 495
53a46cd0 496 * files.el (file-subdir-of-p): Fix typo.
14a8a663 497
25b2e303 4982012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
499
ec70a47d
GM
500 * files.el (files-equal-p, file-subdir-of-p): New functions.
501 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 502 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
503 * dired-aux.el (dired-copy-file-recursive): Same.
504 (dired-create-files): Modify destination when source is equal to
505 dest when copying files.
53a46cd0 506 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 507
914260cd
MA
5082012-02-24 Michael Albinus <michael.albinus@gmx.de>
509
510 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
511 (Bug#10874)
512
2cb228f7
AM
5132012-02-23 Alan Mackenzie <acm@muc.de>
514
515 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
516 parameter "after-hook:" to allow the expansion to run code after
517 the execution of the mode hooks.
518
519 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 520 from font-lock-mode-internal.
2cb228f7 521
91027d08 522 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
523 :after-hook.
524
8f0fde21
SM
5252012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
526
3e88618b
SM
527 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
528 (completion--cache-all-sorted-completions): New function.
529 (completion-all-sorted-completions): Use it.
530 (completion--do-completion, minibuffer-force-complete):
531 Use it to re-instate the flush hook.
532
8f0fde21
SM
533 * icomplete.el (icomplete-completions): Replace last fix with a better
534 one (bug#10850).
535
8e911f6f
DG
5362012-02-23 Dmitry Gutov <dgutov@yandex.ru>
537
538 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
539 when it might call us back infinitely (bug#10797).
540
49fe4321
GM
5412012-02-23 Glenn Morris <rgm@gnu.org>
542
543 * minibuffer.el (completion-category-overrides): Doc fix.
544
b291b572
SM
5452012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 * minibuffer.el (completion-table-with-context): Fix inf-loop.
548 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
549
31a9ef2e
GM
5502012-02-23 Glenn Morris <rgm@gnu.org>
551
5e6e6794 552 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
553 (authors-obsolete-files-regexps, authors-ignored-files)
554 (authors-ambiguous-files, authors-renamed-files-alist):
555 Add more entries.
556
0bd1e074
JL
5572012-02-23 Juri Linkov <juri@jurta.org>
558
559 * isearch.el (isearch-occur): Sync interactive spec with occur's
560 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
561
b617673c
JL
562 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
563
19e9789e
JL
5642012-02-22 Juri Linkov <juri@jurta.org>
565
566 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
567 (ucs-insert): Doc fix. Check for hex digits in the string.
568 Don't display `nil' in the error message. (Bug#10857)
569
f41ce09d
AM
5702012-02-22 Alan Mackenzie <acm@muc.de>
571
7a71b18d 572 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 573
ac2eceee
GM
5742012-02-22 Glenn Morris <rgm@gnu.org>
575
576 * ffap.el (ffap-c-path):
577 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
578
abd1f678
CY
5792012-02-22 Chong Yidong <cyd@gnu.org>
580
581 * custom.el (load-theme): Doc fix.
582
f25aef2e
GM
5832012-02-22 Glenn Morris <rgm@gnu.org>
584
585 * dired-x.el (dired-guess-shell-alist-default):
586 Remove escape sequences from nroff output. (Bug#172)
587
5f8dc2ca
GM
5882012-02-21 Glenn Morris <rgm@gnu.org>
589
6ff86ec4
GM
590 * vc/emerge.el (emerge-defvar-local):
591 Set `permanent-local' property rather than unused `preserved'.
592
be3223a3 593 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
594 (picture-mode-map): Use it. (Bug#10860)
595 (picture-mode): Doc fix.
596
3fe58f4f
JB
5972012-02-21 Juanma Barranquero <lekktu@gmail.com>
598
599 * newcomment.el (uncomment-region-default): Remove unused binding.
600
f9a998c3
GM
6012012-02-21 Glenn Morris <rgm@gnu.org>
602
603 * textmodes/picture.el (picture-motion, picture-motion-reverse)
604 (picture-self-insert, picture-tab-chars): Doc fix.
605 (picture-mode-map): Fix C-a, C-e.
606
c6029348
GM
6072012-02-20 Glenn Morris <rgm@gnu.org>
608
609 * emacs-lisp/authors.el (authors-aliases): Add another entry.
610
ab1ce9d7
LL
6112012-02-20 Leo Liu <sdl.web@gmail.com>
612
613 * icomplete.el (icomplete-completions): Check FROM arg before
614 passing to substring (Bug#10850).
615
0fd40f89
CY
6162012-02-19 Chong Yidong <cyd@gnu.org>
617
618 * comint.el: Require ansi-color.
619 (comint-output-filter-functions): Add ansi-color-process-output.
620
621 * ansi-color.el: Don't set comint-output-filter-functions; it is
622 now in the initial value defined in comint.el.
623 (ansi-color-apply-face-function): New variable.
624 (ansi-color-apply-on-region): Use it.
625 (ansi-color-apply-overlay-face): New function.
626
627 * shell.el (shell): No need to require ansi-color.
628 (shell-mode): Use ansi-color-apply-face-function to highlight
629 color escapes using font-lock-face property (Bug#10835).
630
20af2394
CY
6312012-02-19 Chong Yidong <cyd@gnu.org>
632
633 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
634 mode-line formats (Bug#10839).
635
e23a3fbe
GM
6362012-02-18 Glenn Morris <rgm@gnu.org>
637
b474519e
GM
638 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
639
640 * mail/undigest.el (unforward-rmail-message): Doc fix.
641
e23a3fbe
GM
642 * saveplace.el (save-place-ignore-files-regexp): Add :version.
643
57939ff4
EZ
6442012-02-18 Eli Zaretskii <eliz@gnu.org>
645
646 * international/characters.el (script-list): Sync with the latest
647 Unicode Character Database.
648
0c23686e
AS
6492012-02-18 Andreas Schwab <schwab@linux-m68k.org>
650
651 * international/titdic-cnv.el: Remove duplicate coding tag.
652 * language/cham.el: Likewise.
653 * language/tai-viet.el: Likewise.
654
6818b449
GM
6552012-02-18 Glenn Morris <rgm@gnu.org>
656
657 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
658 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
659 (calendar-bahai-all-holidays-flag, calendar-other-dates):
660 * calendar/diary-lib.el (diary-abbreviated-year-flag):
661 * calendar/holidays.el (holiday-bahai-holidays)
662 (calendar-holidays, list-holidays):
663 Use utf-8 Bahá'í in doc-strings, menus, etc.
664
0311a3fc
TH
6652012-02-17 Tassilo Horn <tassilo@member.fsf.org>
666
667 * saveplace.el (save-place-ignore-files-regexp): New variable
668 allowing for excluding files from saving their location of point.
669 The default value matches the temporary commit message editing
670 files from Git, SVN, Bazaar, and Mercurial.
671 (save-place-to-alist): Use it.
672
eb864a71
LM
6732012-02-17 Lawrence Mitchell <wence@gmx.li>
674 Stefan Monnier <monnier@iro.umontreal.ca>
675
676 * newcomment.el (uncomment-region-default): Don't leave extra space
677 when an arg is provided (bug#8150).
678
ee0ce425
TZ
6792012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
680
eb864a71 681 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 682
95ddf442
GM
6832012-02-17 Glenn Morris <rgm@gnu.org>
684
685 * net/socks.el: Require network-stream. (Bug#10599)
686
48dd1e39 6872012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
688
689 * international/charprop.el:
690 * international/uni-name.el:
691 * international/uni-old-name.el:
692 * international/uni-comment.el: Regenerate.
693
d68cd087
GM
6942012-02-16 Glenn Morris <rgm@gnu.org>
695
696 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
697 Interactively in calendar buffer, give an error if not on a date.
698
13932042
GM
6992012-02-15 Glenn Morris <rgm@gnu.org>
700
701 * shell.el (shell-delimiter-argument-list):
702 Revert 2011-02-17 change. (Bug#8027)
703
c3a70e2b
CY
7042012-02-15 Chong Yidong <cyd@gnu.org>
705
60236b0d
CY
706 * minibuffer.el (completion-at-point-functions): Doc fix.
707
c3a70e2b
CY
708 * custom.el (defcustom): Doc fix; note use of defvar.
709
9f26dc24
GM
7102012-02-15 Glenn Morris <rgm@gnu.org>
711
712 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
713 Doc fixes.
714
6546b134
GM
7152012-02-14 Glenn Morris <rgm@gnu.org>
716
717 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
718
d29b2b4c
LI
7192012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
720
721 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
722 way the ports list is computed.
835bdcba
LI
723 (smtpmail-query-smtp-server): Prompt the user for a port number if
724 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 725
08dcdbc9
TZ
7262012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
727
728 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
729
2605051a
GM
7302012-02-13 Glenn Morris <rgm@gnu.org>
731
732 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
733
7ee99f32
TZ
7342012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
735
736 * net/gnutls.el (gnutls-trustfiles): New variable.
737 (gnutls-negotiate): Use it.
738
5f0af64f
LI
7392012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
740
741 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
742 does its stuff if Gnus is running.
743
c14fcc95
AM
7442012-02-13 Alan Mackenzie <acm@muc.de>
745
746 Fix a loop in c-set-fl-decl-start.
747
7a71b18d 748 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
749 c-backward-syntactic-ws actually moves backwards.
750
142b4d90
LL
7512012-02-13 Leo Liu <sdl.web@gmail.com>
752
753 * net/rcirc.el (rcirc-markup-attributes): Move point to the
754 beginning so that all \C-o chars are removed.
755
fa9958a6
TZ
7562012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
757
758 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
759 tag.
760
0bc5886a
AM
7612012-02-12 Alan Mackenzie <acm@muc.de>
762
763 Fix infinite loop with long macros.
764 * cc-engine.el (c-state-safe-place): Handle macros properly.
765
d4bd55e7
CY
7662012-02-12 Chong Yidong <cyd@gnu.org>
767
768 * window.el (display-buffer): Doc fix (Bug#10785).
769
66f3fe22
GM
7702012-02-12 Glenn Morris <rgm@gnu.org>
771
bd7da63e
GM
772 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
773 (x-disown-selection-internal, x-get-selection-internal):
774 Sync docs with the xselect.c versions.
775
66f3fe22
GM
776 * allout-widgets.el: Add missing license notice.
777
3e0d2fa7
GM
7782012-02-11 Glenn Morris <rgm@gnu.org>
779
cfecdf09
GM
780 * select.el (x-get-selection-internal, x-own-selection-internal)
781 (x-disown-selection-internal):
782 * x-dnd.el (x-get-selection-internal): Update declarations.
783
6d216d7f
GM
784 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
785
2bed3f04
GM
786 * window.el (window-sides-slots):
787 * tool-bar.el (tool-bar-position):
788 * term/xterm.el (xterm-extra-capabilities):
789 * ses.el (ses-self-reference-early-detection):
790 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
791 (verilog-auto-wire-type)
792 (verilog-auto-delete-trailing-whitespace)
793 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
794 (verilog-auto-tieoff-declaration):
795 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
796 (sql-oracle-statement-starters, sql-oracle-scan-on):
797 * progmodes/prolog.el (prolog-align-comments-flag)
798 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
799 (prolog-left-indent-regexp, prolog-paren-indent-p)
800 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
801 (prolog-types, prolog-mode-specificators)
802 (prolog-determinism-specificators, prolog-directives)
803 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
804 (prolog-electric-dot-flag)
805 (prolog-electric-dot-full-predicate-template)
806 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
807 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
808 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
809 (prolog-program-switches, prolog-prompt-regexp)
810 (prolog-debug-on-string, prolog-debug-off-string)
811 (prolog-trace-on-string, prolog-trace-off-string)
812 (prolog-zip-on-string, prolog-zip-off-string)
813 (prolog-use-standard-consult-compile-method-flag)
814 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
815 (prolog-imenu-max-lines, prolog-info-predicate-index)
816 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
817 (prolog-char-quote-workaround):
818 * progmodes/cc-vars.el (c-defun-tactic):
819 * net/tramp.el (tramp-encoding-command-interactive)
820 (tramp-local-end-of-line):
821 * net/soap-client.el (soap-client):
822 * net/netrc.el (netrc-file):
823 * net/gnutls.el (gnutls):
824 * minibuffer.el (completion-category-overrides)
825 (completion-cycle-threshold)
826 (completion-pcm-complete-word-inserts-delimiters):
827 * man.el (Man-name-local-regexp):
828 * mail/feedmail.el (feedmail-display-full-frame):
829 * international/characters.el (glyphless-char-display-control):
830 * eshell/em-ls.el (eshell-ls-date-format):
831 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
832 (lisp-lambda-list-keyword-parameter-indentation)
833 (lisp-lambda-list-keyword-parameter-alignment):
834 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
835 * dired-x.el (dired-omit-verbose):
836 * cus-theme.el (custom-theme-allow-multiple-selections):
837 * calc/calc.el (calc-highlight-selections-with-faces)
838 (calc-lu-field-reference, calc-lu-power-reference)
839 (calc-note-threshold):
840 * battery.el (battery-mode-line-limit):
841 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
842 (archive-7z-update):
843 * allout.el (allout-prefixed-keybindings)
844 (allout-unprefixed-keybindings)
845 (allout-inhibit-auto-fill-on-headline)
846 (allout-flattened-numbering-abbreviation):
847 * allout-widgets.el (allout-widgets-auto-activation)
848 (allout-widgets-icons-dark-subdir)
849 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
850 (allout-widgets-theme-dark-background)
851 (allout-widgets-theme-light-background)
852 (allout-widgets-item-image-properties-emacs)
853 (allout-widgets-item-image-properties-xemacs)
854 (allout-widgets-run-unit-tests-on-load)
855 (allout-widgets-time-decoration-activity)
856 (allout-widgets-hook-error-post-time)
857 (allout-widgets-track-decoration):
858 Add missing :version tags to new defcustoms and defgroups.
859
5fec1b8e
GM
860 * progmodes/sql.el (sql-ansi-statement-starters)
861 (sql-oracle-statement-starters): Add custom type.
862
3e0d2fa7
GM
863 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
864 (prolog-system-version): Give it a type.
865
90b671e2
EZ
8662012-02-11 Eli Zaretskii <eliz@gnu.org>
867
868 * term/pc-win.el (x-select-text, x-selection-owner-p)
869 (x-own-selection-internal, x-disown-selection-internal)
870 (x-get-selection-internal): Sync doc strings and argument lists
871 with xselect.c, common-win.el and x-win.el. (Bug#10783)
872
5eac0c02
LL
8732012-02-11 Leo Liu <sdl.web@gmail.com>
874
875 * progmodes/python.el (python-end-of-statement): Fix infinite
876 loop. (Bug#10788)
877
f82cb659
GM
8782012-02-10 Glenn Morris <rgm@gnu.org>
879
880 * international/mule-cmds.el (unify-8859-on-encoding-mode)
881 (unify-8859-on-decoding-mode): Properly mark as obsolete.
882
cc26d239
LI
8832012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
884
885 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
886 about SMTP before checking the From header.
887
91027d08 888 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
889 into own function for reuse by emacsbug.el.
890
1be3ca5a
LL
8912012-02-10 Leo Liu <sdl.web@gmail.com>
892
893 * subr.el (condition-case-unless-debug): Rename from
894 condition-case-no-debug. All callers changed.
895 (with-demoted-errors): Fix caller.
896
897 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
898 * nxml/rng-valid.el (rng-do-some-validation):
899 * emacs-lisp/package.el (package-refresh-contents)
900 (package-menu-execute):
901 * desktop.el (desktop-create-buffer):
91027d08 902 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 903
b011fbfe
GM
9042012-02-10 Glenn Morris <rgm@gnu.org>
905
b2096d72
GM
906 * textmodes/bibtex.el:
907 Add missing :version tags for new/changed defcustoms.
908
b011fbfe
GM
909 * files.el (remote-file-name-inhibit-cache): Doc fixes.
910
4c7e65bf
LI
9112012-02-09 Lars Ingebrigtsen <larsi@rusty>
912
913 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
914 (smtpmail-via-smtp): Use it, or fall back on the From address.
915 (smtpmail-send-it): Ditto.
916
f3934f6f
SM
9172012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
918
919 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
920 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
921 (byte-compile-tmp-var): New const.
922 (byte-compile-defvar): Use it to minimize .elc size.
923 Just use `defvar' rather than simulate it (bug#10761).
924
a075a2c5
GM
9252012-02-09 Glenn Morris <rgm@gnu.org>
926
cf3aa21b
GM
927 * files.el (rename-uniquely): Doc fix. (Bug#3806)
928
354998cd
GM
929 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
930 Add :version tags.
931
83274125 932 * progmodes/compile.el (compilation-first-column)
34c071c6 933 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
83274125 934
dab3703d
GM
935 * vc/log-view.el (log-view-toggle-entry-display):
936 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
937
3f88cd72
GM
938 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
939 (report-emacs-bug-can-use-xdg-email):
940 (report-emacs-bug-insert-to-mailer): Doc fixes.
941 (report-emacs-bug): Message fix.
942
d95b247d
GM
943 * net/browse-url.el (browse-url-can-use-xdg-open)
944 (browse-url-xdg-open): Doc fixes.
945
a075a2c5
GM
946 * electric.el (electric-indent-mode, electric-pair-mode)
947 (electric-layout-rules, electric-layout-mode): Doc fixes.
948 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
949
ffb6157e
MR
9502012-02-08 Martin Rudalics <rudalics@gmx.at>
951
952 * server.el (server-unselect-display): Don't inadvertently kill
953 the current buffer. (Bug#10729)
954
e1ac4066
GM
9552012-02-08 Glenn Morris <rgm@gnu.org>
956
34e8a2da
GM
957 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
958 (sql-list-table): Doc fixes.
959
b4ac6e8c
GM
960 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
961 Comment out (does nothing).
962
e1ac4066
GM
963 * completion.el (dynamic-completion-mode):
964 * dirtrack.el (dirtrack-debug-mode):
965 * electric.el (electric-layout-mode):
966 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
967 * face-remap.el (text-scale-mode, buffer-face-mode):
968 * iimage.el (iimage-mode):
969 * image-mode.el (image-transform-mode):
970 * minibuffer.el (completion-in-region-mode):
971 * scroll-lock.el (scroll-lock-mode):
972 * simple.el (next-error-follow-minor-mode):
973 * tar-mode.el (tar-subfile-mode):
974 * tooltip.el (tooltip-mode):
975 * vcursor.el (vcursor-use-vcursor-map):
976 * wid-browse.el (widget-minor-mode):
977 * emulation/tpu-edt.el (tpu-edt-mode):
978 * emulation/tpu-extras.el (tpu-cursor-free-mode):
979 * international/iso-ascii.el (iso-ascii-mode):
980 * language/thai-util.el (thai-word-mode):
981 * mail/supercite.el (sc-minor-mode):
982 * net/goto-addr.el (goto-address-mode):
983 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
984 * progmodes/cwarn.el (cwarn-mode):
985 * progmodes/flymake.el (flymake-mode):
986 * progmodes/glasses.el (glasses-mode):
987 * progmodes/hideshow.el (hs-minor-mode):
988 * progmodes/pascal.el (pascal-outline-mode):
989 * textmodes/enriched.el (enriched-mode):
990 * vc/smerge-mode.el (smerge-mode):
991 Doc fixes (minor mode argument).
992
5e0d957f
EZ
9932012-02-07 Eli Zaretskii <eliz@gnu.org>
994
995 * ls-lisp.el (ls-lisp-sanitize): New function.
996 (ls-lisp-insert-directory): Use it to fix or remove any elements
997 in file-alist with missing attributes. (Bug#4673)
998
98d7371e
AM
9992012-02-07 Alan Mackenzie <acm@muc.de>
1000
1001 Fix spurious recognition of c-in-knr-argdecl.
1002
1003 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1004 putative K&R region.
1005
667ced3a
AM
10062012-02-07 Alan Mackenzie <acm@muc.de>
1007
eb864a71
LM
1008 * progmodes/cc-engine.el (c-forward-objc-directive):
1009 Prevent looping in "#pragma mark @implementation".
667ced3a 1010
5b77774d
MA
10112012-02-07 Michael Albinus <michael.albinus@gmx.de>
1012
1013 * notifications.el (notifications-on-closed-signal): Make `reason'
1014 optional. (Bug#10744)
1015
af008560
GM
10162012-02-07 Glenn Morris <rgm@gnu.org>
1017
60d47423
GM
1018 * emacs-lisp/easy-mmode.el (define-minor-mode):
1019 Doc fixes for the macro and the mode it defines.
1020
dd605cc4
GM
1021 * image.el (imagemagick-types-inhibit): Doc fix.
1022
af008560
GM
1023 * cus-start.el (imagemagick-render-type): Add it.
1024
5cc59a37
LI
10252012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1026
1027 * progmodes/cc-mode.el
1028 (c-standard-font-lock-fontify-region-function): Set the default at
1029 load time, too, so that `font-lock-fontify-buffer' can be called
1030 without setting up the entire mode first. This fixes a bug in
1031 `mm-inline-text' with C MIME parts.
1032
9a6dd747
CY
10332012-02-06 Chong Yidong <cyd@gnu.org>
1034
2d16b285
CY
1035 * simple.el (list-processes--refresh): Delete exited processes
1036 (Bug#8094).
1037
171e9b6e
CY
1038 * comint.el (comint-next-prompt): next-single-char-property-change
1039 and prev-single-char-property-change never return nil (Bug#8657).
1040
9a6dd747
CY
1041 * custom.el (defcustom): Doc fix (Bug#9711).
1042
aa4589a7
CY
10432012-02-05 Chong Yidong <cyd@gnu.org>
1044
5c2a252f
CY
1045 * cus-edit.el (custom-variable-reset-backup): Quote the value
1046 before storing it in the customized-value property (Bug#6712).
4aab9006 1047 (custom-display): Add a customization type tag.
983b9602 1048 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1049
aa4589a7
CY
1050 * wid-edit.el (widget-field-value-get): New optional arg to
1051 suppress trailing whitespace truncation.
1052 (character): Use it (Bug#2689).
1053
1ff980ae
AS
10542012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1055
1056 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1057 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1058
03988c98
CY
10592012-02-05 Chong Yidong <cyd@gnu.org>
1060
eeb6cc88
CY
1061 * cus-edit.el (custom-variable-value-create): For mismatched
1062 types, show the current value (Bug#7600).
1063
03988c98
CY
1064 * custom.el (defcustom): Doc fix.
1065
f8cdeef0
GM
10662012-02-05 Glenn Morris <rgm@gnu.org>
1067
1068 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1069
0696d255
JB
10702012-02-05 Juanma Barranquero <lekktu@gmail.com>
1071
1072 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1073 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1074 (pp-last-sexp): Use `looking-at-p'.
1075
34c99998
GM
10762012-02-04 Glenn Morris <rgm@gnu.org>
1077
8f05da42
GM
1078 * files.el (revert-buffer):
1079 Doc fix (mention revert-buffer-in-progress-p).
1080
f160676e
GM
1081 * emacs-lisp/ert-x.el (ert-simulate-command):
1082 Check deferred-action-list (which is obsolete) is bound.
1083
c7291ad9
GM
1084 * subr.el (with-wrapper-hook): Doc fixes.
1085
34c99998
GM
1086 * simple.el (filter-buffer-substring-functions)
1087 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1088
6283a7d3
LL
10892012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1090
1091 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1092 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1093
e96e3013
LL
10942012-02-04 Leo Liu <sdl.web@gmail.com>
1095
1096 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1097
8ded50f2
GM
10982012-02-04 Glenn Morris <rgm@gnu.org>
1099
82ff1d13
GM
1100 * image.el (image-extension-data): Add obsolete alias.
1101
987a0a16
GM
1102 * isearch.el (isearch-update): Doc fix.
1103
ea32ef46
GM
1104 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1105
8ded50f2
GM
1106 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1107
eea14f31
GM
11082012-02-03 Glenn Morris <rgm@gnu.org>
1109
1110 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1111 (image-animate-timeout): Doc fix.
1112
1113 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1114
12f381b7
GM
11152012-02-02 Glenn Morris <rgm@gnu.org>
1116
953cebf5
GM
1117 * server.el (server-auth-dir): Doc fix.
1118 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1119
12f381b7
GM
1120 * subr.el (run-mode-hooks): Doc fix.
1121
953a8c3b
JL
11222012-02-02 Juri Linkov <juri@jurta.org>
1123
1124 * image-mode.el (image-toggle-display-image): Remove tautological
1125 `major-mode' from the `derived-mode-p' test.
1126
c5d3843c
KH
11272012-02-02 Kenichi Handa <handa@m17n.org>
1128
9f6e692e 1129 * composite.el (compose-region): Cancel previous change.
c5d3843c 1130
159462d4 11312012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1132
1133 * composite.el (compose-region, compose-string): Signal error for
1134 a null string component (Bug#6988).
1135
9f562668
CY
11362012-02-01 Chong Yidong <cyd@gnu.org>
1137
e2cef717
CY
1138 * view.el (view-buffer-other-window, view-buffer-other-frame):
1139 Handle special modes like view-buffer (Bug#10650).
1140 (view-buffer): Simplify.
1141
9f562668
CY
1142 * frame.el (set-frame-font): Tweak meaning of third argument.
1143
9f6e692e
JB
1144 * dynamic-setting.el (font-setting-change-default-font):
1145 Use set-frame-font (Bug#9982).
9f562668 1146
781acb9f
GM
11472012-02-01 Glenn Morris <rgm@gnu.org>
1148
6035be52
GM
1149 * progmodes/compile.el (compilation-internal-error-properties):
1150 Respect compilation-first-column in the "*compilation*" buffer.
1151
781acb9f
GM
1152 * emacs-lisp/easy-mmode.el (define-minor-mode):
1153 Relax :variable's test for a named function.
1154
abbceb00
AM
11552012-01-31 Alan Mackenzie <acm@muc.de>
1156
1157 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1158 off by one error.
1159
fce3fdeb
CY
11602012-01-31 Chong Yidong <cyd@gnu.org>
1161
1162 * frame.el (set-frame-font): New arg ALL-FRAMES.
1163
1164 * menu-bar.el (menu-set-font): Use set-frame-font.
1165
1166 * faces.el (face-spec-reset-face): Don't apply unspecified
1167 attribute values to the default face.
1168
47893581
JB
11692012-01-31 Juanma Barranquero <lekktu@gmail.com>
1170
1171 * progmodes/cwarn.el (cwarn): Remove dead link.
1172 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1173 Remove * from defcustom docstrings.
1174 (turn-on-cwarn-mode): Make obsolete.
1175 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1176 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1177
e58e988a
GM
11782012-01-31 Glenn Morris <rgm@gnu.org>
1179
60dc2671 1180 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1181 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1182 Allow named functions to be used as the cdr of :variable.
e58e988a 1183
7a3f511d
GM
11842012-01-30 Glenn Morris <rgm@gnu.org>
1185
1186 * emacs-lisp/authors.el (authors-fixed-entries):
1187 Remove reference to deleted file rnewspost.el.
1188
cb882333
JB
11892012-01-29 Juanma Barranquero <lekktu@gmail.com>
1190
1191 * window.el (window-with-parameter): Remove unused variable `windows'.
1192 (window--side-check): Remove unused variable `code'.
1193 (window--resize-siblings): Remove unused variable `first'.
1194 (adjust-window-trailing-edge): Remove unused variable `failed'.
1195 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1196 Use `let', not `let*'.
1197 (balance-windows-2): Remove unused variable `found'.
1198 (window--state-put-2): Remove unused variable `splits'.
1199 (window-state-put): Remove unused variable `selected'.
1200 (same-window-p): Use `string-match-p'.
1201 (display-buffer-assq-regexp): Remove unused variable `value'.
1202 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1203 Mark argument ALIST as ignored.
1204 (pop-to-buffer): Remove unused variable `old-window'.
1205
907201af
EZ
12062012-01-29 Eli Zaretskii <eliz@gnu.org>
1207
1208 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1209 and .lzma compressed files.
1210
ea162670
CY
12112012-01-29 Chong Yidong <cyd@gnu.org>
1212
5b95ee8a
CY
1213 * frame.el (window-system-default-frame-alist): Doc fix.
1214
ea162670
CY
1215 * dynamic-setting.el (font-setting-change-default-font): Don't
1216 change the default face if SET-FONT argument is non-nil (Bug#9982).
1217
d6e6f4b1
SB
12182012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1219
1220 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1221
0f29fa41 12222012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1223
1224 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1225 breakpoints in files outside current directory (Bug#6098).
1226
db174434
CY
12272012-01-29 Chong Yidong <cyd@gnu.org>
1228
6b25e4e2
SE
1229 * progmodes/python.el: Require ansi-color at top-level.
1230
6df6ae42
JB
1231 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1232 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1233 (lisp-mode-abbrev-table): Add doc.
1234 (lisp-mode-variables): Don't set local-abbrev-table.
1235 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1236
e70ee681
RW
12372012-01-28 Roland Winkler <winkler@gnu.org>
1238
1239 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1240
ace88aa2
RW
12412012-01-28 Roland Winkler <winkler@gnu.org>
1242
1243 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1244 (bibtex-set-dialect): Use it. Either set global values of
1245 dialect-dependent variables or bind these variables buffer-locally
1246 (Bug#10254).
1247 (bibtex-mode): Call bibtex-set-dialect via
1248 hack-local-variables-hook.
eb864a71
LM
1249 (bibtex-dialect): Update docstring.
1250 Add safe-local-variable predicate.
ace88aa2
RW
1251 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1252 bibtex-set-dialect.
1253 (bibtex-mode-map): Define menu for each dialect.
1254 (bibtex-entry): Fix docstring.
1255
93376c5b
CY
12562012-01-28 Chong Yidong <cyd@gnu.org>
1257
1258 * eshell/esh-arg.el (eshell-quote-argument): New function.
1259
1260 * eshell/esh-ext.el (eshell-invoke-batch-file):
1261 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1262 first arg to eshell-parse-command (Bug#10523).
1263
4372494f
DA
12642012-01-28 Drew Adams <drew.adams@oracle.com>
1265
1266 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1267 `default-directory' is non-nil.
1268
4d4ec1f8
EZ
12692012-01-28 Eli Zaretskii <eliz@gnu.org>
1270
1271 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1272 line that displays system-configuration-options. (Bug#9924)
1273
7c188927
DA
12742012-01-28 Drew Adams <drew.adams@oracle.com>
1275
1276 * descr-text.el (describe-char): Show information about POS, in
1277 addition to information about the character at POS. Improve and
1278 update the doc string. Change "code point" to "code point in
1279 charset", to avoid confusion with the character's Unicode code
1280 point shown above that. (Bug#10129)
1281
e0da685a
EZ
12822012-01-28 Eli Zaretskii <eliz@gnu.org>
1283
1284 * descr-text.el (describe-char): Show the raw character, not only
1285 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1286 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1287 for the reasons.
1288
70550acf
PH
12892012-01-28 Phil Hagelberg <phil@hagelb.org>
1290
eb864a71
LM
1291 * emacs-lisp/package.el (package-install):
1292 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1293
0ce8e868
CY
12942012-01-28 Chong Yidong <cyd@gnu.org>
1295
cb882333
JB
1296 * emacs-lisp/package.el (package-maybe-load-descriptor):
1297 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1298 (package-maybe-load-descriptor): Use it.
1299 (package-download-transaction): Fully load required packages
1300 inside the loop, so that `require' calls work (Bug#10593).
1301 (package-install): No need to call package-initialize now.
1302
2e7f3bea
CY
13032012-01-28 Chong Yidong <cyd@gnu.org>
1304
6e9bad14
CY
1305 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1306
f823b8ca
CY
1307 * tooltip.el (tooltip-mode): Doc fix.
1308 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1309
2680c309
CY
1310 * frame.el (set-cursor-color): Doc fix (Bug#352).
1311
d7a9e63b
CY
1312 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1313 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1314
2e7f3bea
CY
1315 * cus-edit.el (custom-buffer-create-internal): Fix search button
1316 action (Bug#10542).
2ae01800 1317 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1318
fc4f7a23
EW
13192012-01-27 Eduard Wiebe <usenet@pusto.de>
1320
1321 * dired.el (dired-mark-files-regexp):
1322 Include any subdirectory components. (Bug#10445)
1323
7dd37071
ML
13242012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1325
1326 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1327 Handle [host]:port syntax. (Bug#10533)
1328
a268160b
AH
13292012-01-27 Alex Harsanyi <harsanyi@mac.com>
1330
1331 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1332
e43273ef
GM
13332012-01-26 Glenn Morris <rgm@gnu.org>
1334
1335 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1336 * term.el (term-raw-escape-map): Use Control-X-prefix.
1337 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1338
1edf595d
MR
13392012-01-25 Martin Rudalics <rudalics@gmx.at>
1340
1341 * window.el (window-state-get, window--state-get-1): Don't deal
1342 with fixed-sizeness of windows. Simplify code.
1343
fa8eafef
JC
13442012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1345
6df6ae42
JB
1346 * window.el (window--state-get-1, window--state-put-2):
1347 Don't save and restore the mark.
fa8eafef 1348
0b21c100
CY
13492012-01-25 Chong Yidong <cyd@gnu.org>
1350
1351 * custom.el (custom-variable-p): Doc fix.
1352
5ae1a6c8
GM
13532012-01-25 Glenn Morris <rgm@gnu.org>
1354
40047858
GM
1355 * dired.el (dired-goto-file): Handle some of the more common
1356 characters that `ls -b' escapes. (Bug#10596)
1357
5ddce96c
GM
1358 * progmodes/compile.el (compilation-next-error-function):
1359 Respect compilation-first-column in the "*compilation*" buffer.
1360 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1361
5ae1a6c8
GM
1362 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1363
b559f1a9
GM
13642012-01-24 Glenn Morris <rgm@gnu.org>
1365
1366 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1367
6725d21a
JD
13682012-01-24 Julien Danjou <julien@danjou.info>
1369
1370 * color.el (color-rgb-to-hsl): Fix value computing.
1371 (color-hue-to-rgb): New function.
1372 (color-hsl-to-rgb): New function.
1373 (color-clamp, color-saturate-hsl, color-saturate-name)
1374 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1375 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1376
70df4bbe
GM
13772012-01-24 Glenn Morris <rgm@gnu.org>
1378
1379 * vc/vc-rcs.el (vc-rcs-create-tag):
1380 * vc/vc-sccs.el (vc-sccs-create-tag):
1381 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1382
802a2ae2
ML
13832012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1384
1385 * eshell/esh-util.el (eshell-read-hosts-file):
1386 Skip comment lines. (Bug#10549)
1387
d7128bb1
ML
1388 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1389
d1a5c3b4
JB
13902012-01-23 Juanma Barranquero <lekktu@gmail.com>
1391
2724d9c7
JB
1392 * subr.el (display-delayed-warnings): Doc fix.
1393 (collapse-delayed-warnings): New function to collapse identical
1394 adjacent warnings.
1395 (delayed-warnings-hook): Add it.
d1a5c3b4 1396
a5509865
MA
13972012-01-22 Michael Albinus <michael.albinus@gmx.de>
1398
1399 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1400
1401 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1402 properties, when "login-as" is set.
1403
1404 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1405 (tramp-default-user-alist): Don't add "pscp".
1406 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1407 property "login-as", if set. (Bug#10530)
1408
cc6d5805
MA
14092012-01-21 Michael Albinus <michael.albinus@gmx.de>
1410
1411 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1412 "plink1" and "psftp". (Bug#10530)
1413
14142012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1415
1416 * international/mule-cmds.el (prefer-coding-system): Show a
1417 warning message if the default value of file-name-coding-system
1418 was not changed.
1419
f0960428
JC
14202012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1421
cb882333
JB
1422 * windmove.el (windmove-reference-loc):
1423 Fix windmove-reference-loc miscalculation.
f0960428 1424
dd6f2a63
JB
14252012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1426
1427 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1428 default unit.
1429
7b447e9b
GM
14302012-01-21 Glenn Morris <rgm@gnu.org>
1431
117a9ea1
GM
1432 * international/mule.el (auto-coding-alist): Add .tbz.
1433
7b447e9b
GM
1434 * files.el (local-enable-local-variables): Doc fix.
1435 (inhibit-local-variables-regexps): Rename from
1436 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1437 Doc fix. Add some extensions from auto-coding-alist.
1438 (inhibit-local-variables-suffixes):
1439 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1440 (inhibit-local-variables-p):
1441 New function, extracted from set-auto-mode-1.
1442 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1443 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1444 (hack-local-variables): Doc fix. Make the mode-only case
1445 respect enable-local-variables and friends.
1446 Respect inhibit-local-variables-regexps for file-locals, but
1447 not for directory-locals.
1448 (set-visited-file-name):
1449 Take account of inhibit-local-variables-regexps.
1450 Whether it applies may change as the file name is changed.
1451 * jka-cmpr-hook.el (jka-compr-install):
1452 * jka-compr.el (jka-compr-uninstall):
1453 Update for inhibit-first-line-modes-suffixes name change.
1454
dd6e3cdd
MR
14552012-01-20 Martin Rudalics <rudalics@gmx.at>
1456
1457 * help-macro.el (make-help-screen): Temporarily restore original
1458 binding for minor-mode-map-alist (Bug#10454).
1459
0d0deb38
JD
14602012-01-19 Julien Danjou <julien@danjou.info>
1461
1462 * color.el (color-name-to-rgb): Use the white color to find the max
1463 color component value and return correctly computed values.
1464 (color-name-to-rgb): Add missing float conversion for max value.
1465
34a02f46
MR
14662012-01-19 Martin Rudalics <rudalics@gmx.at>
1467
1468 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1469 special state value for window-persistent-parameters.
1470 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1471 (window--state-put-2): Reset all window parameters to nil before
1472 assigning values of persistent parameters.
1473
606c44c4
AM
14742012-01-18 Alan Mackenzie <acm@muc.de>
1475
1476 Eliminate sluggishness and hangs in fontification of "semicolon
1477 deserts".
1478
cb882333
JB
1479 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1480 Change value 10000 -> 3000.
606c44c4
AM
1481 (c-state-safe-place): Reformulate so it doesn't stack up an
1482 infinite number of wrong entries in c-state-nonlit-pos-cache.
1483 (c-determine-limit-get-base, c-determine-limit): New functions to
1484 determine backward search limits disregarding literals.
1485 (c-find-decl-spots): Amend commenting.
1486 (c-cheap-inside-bracelist-p): New function which detects "={".
1487
1488 * progmodes/cc-fonts.el
1489 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1490 backward search.
1491 (c-font-lock-declarations): Fix an occurrence of point being
1492 undefined. Check additionally for point being in a bracelist or
1493 near a macro invocation without a semicolon so as to avoid a
1494 fruitless time consuming search for a declarator. Give a more
1495 precise search limit for declarators using the new
1496 c-determine-limit.
1497
f3860cea
GM
14982012-01-18 Glenn Morris <rgm@gnu.org>
1499
1500 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1501 (set-auto-mode): Doc fixes.
1502
1db03b16
GM
15032012-01-17 Glenn Morris <rgm@gnu.org>
1504
0e6038be
GM
1505 * isearch.el (search-nonincremental-instead): Fix doc typo.
1506
1db03b16
GM
1507 * dired.el (dired-insert-directory): Handle newlines in directory name.
1508 (dired-build-subdir-alist): Unescape newlines in directory name.
1509
4cb0aa75
MA
15102012-01-17 Michael Albinus <michael.albinus@gmx.de>
1511
1512 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1513 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1514 (tramp-action-terminal): Use it. (Bug#10530)
1515
1d00653d
SM
15162012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1517
1518 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1519
6a6ee00d
MR
15202012-01-16 Martin Rudalics <rudalics@gmx.at>
1521
1522 * window.el (window-state-ignored-parameters): Remove variable.
1523 (window--state-get-1): Rename argument MARKERS to IGNORE.
1524 Handle persistent window parameters. Make copy of clone-of
1525 parameter only if requested. (Bug#10348)
1526 (window--state-put-2): Install a window parameter only if it has
1527 a non-nil value or an existing parameter shall be overwritten.
1528
97912def
MA
15292012-01-15 Michael Albinus <michael.albinus@gmx.de>
1530
1531 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1532
688070a5
EZ
15332012-01-14 Eli Zaretskii <eliz@gnu.org>
1534
1535 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1536 don't pass the (nil) value of `upnode' to string-match.
1537
301afadc
CY
15382012-01-14 Chong Yidong <cyd@gnu.org>
1539
1540 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1541 Fix values recognized by the cursorBlink resource.
301afadc 1542
9e5788aa
PE
15432012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1544
1545 * epg.el (epg--make-temp-file): Avoid permission race condition
1546 when running on old Emacs versions (bug#10403).
1547
3cdb7f5a
GM
15482012-01-14 Glenn Morris <rgm@gnu.org>
1549
1550 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1551
8c82b1b4
AM
15522012-01-13 Alan Mackenzie <acm@muc.de>
1553
1554 Fix filling for when filladapt mode is enabled.
1555
1556 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1557 c-mask-paragraph, pass in `fill-paragraph' rather than
1558 `fill-region-as-paragraph'. (This is a reversion of a previous
1559 change.)
eb864a71
LM
1560 * progmodes/cc-mode.el (c-basic-common-init):
1561 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1562
e517eda4
GM
15632012-01-13 Glenn Morris <rgm@gnu.org>
1564
1498536e
GM
1565 * dired.el (dired-switches-escape-p): New function.
1566 (dired-insert-directory): Use dired-switches-escape-p.
1567 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1568
e517eda4
GM
1569 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1570
328f984d
GM
15712012-01-12 Glenn Morris <rgm@gnu.org>
1572
1573 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1574 changes in adaptive-fill-regexp. (Bug#10276)
1575
2cc769a8
AM
15762012-01-11 Alan Mackenzie <acm@muc.de>
1577
1578 Fix Emacs bug #10463 - put `widen's around the critical spots.
1579
1d00653d 1580 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1581 widen around each invocation of c-state-pp-to-literal. Remove an
1582 unused let variable.
1583
e52c37fa
GM
15842012-01-11 Glenn Morris <rgm@gnu.org>
1585
1586 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1587 Doc fix.
e52c37fa 1588
96f8741e
CY
15892012-01-10 Chong Yidong <cyd@gnu.org>
1590
1d00653d
SM
1591 * net/network-stream.el (network-stream-open-starttls):
1592 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1593 response to the capability command.
1594
b09a806e
GM
15952012-01-10 Glenn Morris <rgm@gnu.org>
1596
1597 * mail/unrmail.el (unrmail): Tweak previous change.
1598
7655cb66
CY
15992012-01-09 Chong Yidong <cyd@gnu.org>
1600
1601 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1602
9d5a8f0b
AM
16032012-01-08 Alan Mackenzie <acm@muc.de>
1604
1605 Optimise font locking in long enum definitions.
1606
1607 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1608 arm to a cond form to handle enums.
1609 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1610 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1611
9a0115ab 16122012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1613
1614 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1615 (Bug#10401)
6bb72cbd 1616
f186bb95
LMI
16172012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1618
29232a68
LMI
1619 * faces.el (set-face-attribute): Clarify the meaning of the nil
1620 frame (bug#10294).
1621
4e5d086d
LMI
1622 * subr.el (with-selected-frame): Mention that the selected frame
1623 is restored (bug#9980).
1624
8e66aebe
LMI
1625 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1626 (bug#9759).
1627
cd394be1 1628 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1629 (password-read): Don't autoload unused function.
1630
adf4e762
JB
16312012-01-07 Juanma Barranquero <lekktu@gmail.com>
1632
1633 * progmodes/which-func.el (which-func-mode): Turn into a
1634 non-interactive function and mark as obsolete (bug#10428).
1635
89bd9ccd
CY
16362012-01-06 Chong Yidong <cyd@gnu.org>
1637
1638 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1639 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1640 functions, along with 1 and -1.
1641
4afee9d5
EZ
16422012-01-06 Eli Zaretskii <eliz@gnu.org>
1643
1644 * time.el (display-time-load-average)
1645 (display-time-default-load-average): Doc fixes. See the thread
1646 starting at
1647 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1648 for the details.
1649
536aea70
GM
16502012-01-06 Glenn Morris <rgm@gnu.org>
1651
665ae865
GM
1652 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1653 has no messages. (Bug#10377)
1654
c869783d
GM
1655 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1656 than Info-edit. (Bug#10385)
1657
2bb4227e
GM
1658 * time.el (display-time-load-average, display-time-next-load-average):
1659 Doc fixes.
1660
7d5944b9
GM
1661 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1662 local setting of buffer-read-only to the input buffer. (Bug#10419)
1663
536aea70
GM
1664 * calendar/calendar.el (calendar-mode):
1665 Locally set scroll-margin to 0. (Bug#10379)
1666
7dccca16
UM
16672012-01-06 Ulrich Mueller <ulm@gentoo.org>
1668
1669 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1670
afbb7930
GM
16712012-01-05 Glenn Morris <rgm@gnu.org>
1672
1673 * eshell/em-unix.el (diff-no-select): Autoload it.
1674 (eshell/diff): Use diff-no-select. (Bug#10420)
1675
04482335
CY
16762012-01-05 Chong Yidong <cyd@gnu.org>
1677
7baca3bc
CY
1678 * shell.el (shell-dynamic-complete-functions): Revert last change.
1679 (shell-command-completion-function): New function.
1680 (shell-completion-vars): Use it to implement
1681 shell-completion-execonly (Bug#10417).
1682
04482335
CY
1683 * custom.el (enable-theme): Don't set custom-safe-themes.
1684
1d00653d
SM
1685 * cus-theme.el (custom-theme-merge-theme):
1686 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1687
bb5aa5d6
MM
16882012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1689
1690 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1691 first prompt in `sql-interacive-mode'.
1692 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1693 keywords.
6df6ae42 1694 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1695 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1696 context of original buffer. Invoke `sql-login-hook'.
1697
a7183d7c
EZ
16982012-01-04 Eli Zaretskii <eliz@gnu.org>
1699
1700 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1701 letters in cite-prefix.
1702
a1eacd1e
LMI
17032012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1704
1705 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1706
787cdb34
CY
17072012-01-03 Chong Yidong <cyd@gnu.org>
1708
1d00653d
SM
1709 * shell.el (shell-dynamic-complete-functions):
1710 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1711 comint-filename-completion first (Bug#10417).
1712
30710442
RS
17132012-01-02 Richard Stallman <rms@gnu.org>
1714
1715 * battery.el (battery-status-function):
1716 Detect when to use battery-yeeloong-sysfs.
1717 (battery-echo-area-format): Add string for Yeeloong.
1718 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1719 (battery-yeeloong-sysfs): New function.
1720
f75bfc33
CY
17212012-01-02 Chong Yidong <cyd@gnu.org>
1722
1723 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1724 (dirtrack): Merge code for handling relative filenames in prompt
1725 from shell-dir-cookie-watcher.
1726 (dirtrack-debug-message): New arg to avoid excess format calls.
1727
1728 * shell.el (shell-dir-cookie-re): Variable deleted.
1729 (shell-dir-cookie-watcher): Function deleted.
1730 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1731 with dirtrack-mode.
1732
651e947e
EZ
17332012-01-01 Eli Zaretskii <eliz@gnu.org>
1734
1d00653d
SM
1735 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1736 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1737 libgnutls-26.dll.
1738
94d4c7dc
AS
17392011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1740
1741 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1742
8d43f3cd
EZ
17432011-12-31 Eli Zaretskii <eliz@gnu.org>
1744
1745 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1746 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1747
98c8795a
MA
17482011-12-29 Michael Albinus <michael.albinus@gmx.de>
1749
1750 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1751 also for alternative shells.
1752 (tramp-open-connection-setup-interactive-shell): Check, whether
1753 the shell is a busybox.
1754 (tramp-send-command): Don't suppress multiple prompts for
1755 busyboxes, it hurts.
1756
51281b32
CY
17572011-12-28 Chong Yidong <cyd@gnu.org>
1758
1759 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1760 (gdb-get-source-file): Move mode line update to
1761 gdb-get-source-file (Bug#10087).
1762
2170cb53
CY
17632011-12-25 Chong Yidong <cyd@gnu.org>
1764
1765 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1766 gud-gdb-marker-filter without taking it as an argument.
1767 (gud-gdb-run-command-fetch-lines): Caller changed.
1768 (gud-gdb-completion-function): New variable.
1769 (gud-gdb-completion-at-point): Use it.
1770 (gud-gdb-completions-1): Split from gud-gdb-completions.
1771
1772 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1773 function as separate arguments.
1774 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1775 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1776 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1777 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1778 (gdb-stopped, def-gdb-auto-update-trigger)
1779 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1780 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1781 Callers changed.
2170cb53
CY
1782 (gud-gdbmi-completions): New function.
1783 (gdb): Use it for generating the completion table.
1784
be8b11bb
AM
17852011-12-24 Alan Mackenzie <acm@muc.de>
1786
1787 Introduce a mechanism to widen the region used in context font
1d00653d 1788 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1789
1d00653d
SM
1790 * progmodes/cc-langs.el (c-before-font-lock-functions):
1791 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1792 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1793 functions to be run just before context (etc.) font locking.
1794
1795 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1796 New, functionality extracted from
be8b11bb 1797 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1798 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1799 (c-after-change): Set c-in-after-change-fontification.
1800 (c-set-fl-decl-start): Rejig its interface, so it can be called
1801 from both after-change and context fontifying.
b81d40f0
JB
1802 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1803 New functions.
1804 (c-standard-font-lock-fontify-region-function): New variable.
1805 (c-font-lock-fontify-region): New function.
be8b11bb 1806
341cf6ac
JL
18072011-12-24 Juri Linkov <juri@jurta.org>
1808
1809 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1810 (Bug#10348)
1811
bffcee0a
MA
18122011-12-23 Michael Albinus <michael.albinus@gmx.de>
1813
1814 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1815 existence of source file. (Bug#10325)
1816
cb5e207c
AM
18172011-12-23 Alan Mackenzie <acm@muc.de>
1818
1819 Fix unstable fontification inside templates.
1820
b81d40f0
JB
1821 * progmodes/cc-langs.el (c-before-font-lock-functions):
1822 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1823 additionally has c-set-fl-decl-start. The other languages (apart
1824 from AWK) have that as a single entry.
1825
b81d40f0
JB
1826 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1827 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1828 c-set-fl-decl-start.
1829
b81d40f0
JB
1830 * progmodes/cc-mode.el (c-common-init, c-after-change):
1831 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1832 (c-set-fl-decl-start): New function, extracted from
1833 c-font-lock-enclosing-decls and enhanced.
1834
60ff536c
JB
18352011-12-23 Juanma Barranquero <lekktu@gmail.com>
1836
1837 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1838
1c4757d6
JL
18392011-12-22 Juri Linkov <juri@jurta.org>
1840
1841 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1842
d031f2c7
CY
18432011-12-22 Chong Yidong <cyd@gnu.org>
1844
1845 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1846
bace743a
DA
18472011-12-21 Drew Adams <drew.adams@oracle.com>
1848
1849 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1850
728a1f2b
JC
18512011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1852
1853 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1854
0d373f73
TZ
18552011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1856
fec0aaa4
TZ
1857 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1858 highlighting and support. Fix up comments for capitalization.
1859 (cfengine-mode-debug): New var.
1860 (cfengine3-mode): Change the modeline indicator to "CFE3".
1861 (cfengine3-font-lock-keywords): Improve defun highlighting.
1862 (cfengine2-actions): Rename from `cfengine-actions'.
1863 (cfengine2-font-lock-keywords): Rename from
1864 `cfengine-font-lock-keywords'.
1865 (cfengine2-imenu-expression): Rename from
1866 `cfengine-imenu-expression'.
1867 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1868 (cfengine2-beginning-of-defun): Rename from
1869 `cfengine-beginning-of-defun'.
1870 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1871 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1872 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1873 modeline indicator to "CFE2".
1874 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1875 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 1876
bc86f573
CY
18772011-12-21 Chong Yidong <cyd@gnu.org>
1878
1879 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1880 filename argument.
1881
d45ba96b
MR
18822011-12-20 Martin Rudalics <rudalics@gmx.at>
1883
1884 * window.el (window-normalize-buffer-to-display): Remove.
1885 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1886
a6198c90
CY
18872011-12-19 Chong Yidong <cyd@gnu.org>
1888
1889 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1890 Don't signal an error in a predicate function; return non-nil.
1891 (vc-dir-mark-file): Move the error here.
1892 (vc-dir-mark-unmark): If acting on the region, keep going if one
1893 of the entries cannot be marked/unmarked.
1894 (vc-dir-mark-all-files): If current entry is a directory, mark
1895 only child files, as documented.
1896
34c5fb55
VB
18972011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
1898
1899 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1900 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1901 addition.
1902
c803b2b7
JD
19032011-12-18 Jan Djärv <jan.h.d@swipnet.se>
1904
1905 * term/ns-win.el (ns-get-selection-internal)
1906 (ns-store-selection-internal): Declare.
1154d12e
JB
1907 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1908 Declare as obsolete.
1909 (ns-get-pasteboard, ns-paste-secondary):
1910 Use ns-get-selection-internal.
1911 (ns-set-pasteboard, ns-copy-including-secondary):
1912 Use ns-store-selection-internal.
c803b2b7 1913
9cff91f8 19142011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
1915
1916 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 1917 (vc-deduce-fileset): Doc fix.
99a289d9 1918
f16c898a
AS
19192011-12-16 Andreas Schwab <schwab@linux-m68k.org>
1920
1921 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1922
763237c4
SS
19232011-12-13 Sam Steingold <sds@gnu.org>
1924
1925 * man.el (Man-getpage-in-background): When running under a
1926 window-system, ignore $MANWIDTH and $COLUMNS.
1927
5fc1c122
KH
19282011-12-15 Kenichi Handa <handa@m17n.org>
1929
1930 * language/ethio-util.el: Change coding tag to utf-8-emacs.
1931 (setup-ethiopic-environment-internal): Comment out key-binding for
1932 ethio-toggle-punctuation.
1933
13d49cbb
AM
19342011-12-13 Alan Mackenzie <acm@muc.de>
1935
898169a2
AM
1936 Add the switch statement to AWK Mode.
1937
7a71b18d 1938 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
1939 "default" to the keywords regexp.
1940
7a71b18d 1941 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 1942 expression as the rest.
1d00653d
SM
1943 (c-nonlabel-token-key): Allow string literals for AWK.
1944 Refactor for the other modes.
898169a2 1945
13d49cbb 1946 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 1947 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
1948 routines. Limit backward searching in c-font-lock-enclosing.decl.
1949
1950 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1951 pp-state and literal type in addition to the limits.
1d00653d 1952 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 1953 (c-state-literal-at): Use the above new defun.
1d00653d
SM
1954 (c-slow-in-literal, c-fast-in-literal): Remove.
1955 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
1956
1957 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
1958 being in a literal. Add a limit for backward searching.
1959
1960 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
1961 c-slow-in-literal.
1962
15e0efc7
SM
19632011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1964
1965 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
1966
454592a6
MR
19672011-12-13 Martin Rudalics <rudalics@gmx.at>
1968
1969 * window.el (delete-other-windows): Use correct frame in call to
1970 window-with-parameter.
1971
87393f26
DP
19722011-12-12 Daniel Pfeiffer <occitan@t-online.de>
1973
1974 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
1975 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
1976 (makefile-gmake-statements, makefile-makepp-statements):
1977 Use it and add new makepp keywords.
1978 (makefile-makepp-font-lock-keywords): Add new patterns.
1979 (makefile-match-function-end): Match new [...] and [[...]].
1980
11636b22
JB
19812011-12-11 Juanma Barranquero <lekktu@gmail.com>
1982
1983 * ses.el (ses-call-printer-return, ses-cell-property-get)
1984 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
1985 (ses-create-cell-variable, ses-reset-header-string)
1986 (ses-cell-set-formula, ses-repair-cell-reference-all)
1987 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
1988 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
1989 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
1990 (ses-aset-with-undo, ses-load, ses-truncate-cell)
1991 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
1992 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
1993 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
1994 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
1995 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
1996 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
1997 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
1998 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
1999
cf018193
VB
20002011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2001
2002 * ses.el: The overall change is to add cell renaming, that is
2003 setting fancy names for cell symbols other than name matching
2004 "\\`[A-Z]+[0-9]+\\'" regexp .
2005 (ses-create-cell-variable): New defun.
2006 (ses-relocate-formula): Relocate formulas only for cells the
2007 symbols of which are not renamed, i.e. symbols whose names do not
2008 match regexp "\\`[A-Z]+[0-9]+\\'".
2009 (ses-relocate-all): Relocate values only for cells the symbols of
2010 which are not renamed.
2011 (ses-load): Create cells variables as the (ses-cell ...) are read,
2012 in order to check row col consistency with cell symbol name only
2013 for cells that are not renamed.
2014 (ses-replace-name-in-formula): New defun.
2015 (ses-rename-cell): New defun.
2016
ee957461
CY
20172011-12-11 Chong Yidong <cyd@gnu.org>
2018
2019 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2020 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2021
9a9e9ef0
MR
20222011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2023
2024 * window.el (other-window): Fix docstring.
2025
92a8eba5
EZ
20262011-12-10 Eli Zaretskii <eliz@gnu.org>
2027
2028 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2029 `from' or `to' address before taking its substring.
2030 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2031 encoded name is chopped in the middle of the encoded string, and
2032 thus displayed encoded.
2033
e152e577
JB
20342011-12-10 Juanma Barranquero <lekktu@gmail.com>
2035
2036 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2037
e5d84bfe
EZ
20382011-12-10 Eli Zaretskii <eliz@gnu.org>
2039
2040 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2041 to use texinfo-update-node and commands that call it if the
2042 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2043 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2044 (texinfo-all-menus-update, texinfo-master-menu)
2045 (texinfo-update-node, texinfo-every-node-update)
2046 (texinfo-multiple-files-update): Doc fix. Warn against updating
2047 all the @node lines.
2048 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2049 argument is numeric. Explain better in the doc string what the
2050 function really does.
2051 (texinfo-insert-master-menu-list): Improve the error message
2052 displayed if there's no menu in the Top node.
2053 (Bug#2975) See also this thread:
e5d84bfe
EZ
2054 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2055
1d84e9bb
MG
20562011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2057
2058 * speedbar.el (speedbar-supported-extension-expressions):
2059 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2060
382c953b
JB
20612011-12-09 Juanma Barranquero <lekktu@gmail.com>
2062
2063 * printing.el (pr-mode-alist):
2064 * simple.el (filter-buffer-substring-functions)
2065 (completion-list-insert-choice-function):
2066 * window.el (window-with-parameter, window-atom-root)
2067 (window-sides-slots, window-size-fixed, window-min-delta)
2068 (window-max-delta, window--resize-mini-window)
2069 (window--resize-child-windows-normal, window-tree)
2070 (delete-other-windows, quit-window, split-window)
2071 (display-buffer-record-window, special-display-buffer-names)
2072 (special-display-regexps, special-display-popup-frame)
2073 (same-window-p, split-window-sensibly)
2074 (display-buffer-overriding-action, display-buffer-alist)
2075 (display-buffer-base-action, display-buffer, switch-to-buffer)
2076 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2077 (fit-window-to-buffer, recenter-positions)
2078 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2079 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2080 and remove unneeded backslashes in docstrings.
2081
39c9faef
SM
20822011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2083
98449af8
SM
2084 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2085
39c9faef
SM
2086 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2087 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2088 end in ".mk".
2089 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2090 when reading the makefile (bug#10116).
2091
86ed9fdc
SM
20922011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2093
2094 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2095 (bug#10116).
2096
5580f89d
GM
20972011-12-06 Glenn Morris <rgm@gnu.org>
2098
2099 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2100
28d3917c
CY
21012011-12-06 Chong Yidong <cyd@gnu.org>
2102
2103 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2104
a98edce9
JB
21052011-12-06 Juanma Barranquero <lekktu@gmail.com>
2106
2107 * textmodes/table.el (table-shorten-cell): Fix typo.
2108
e65adfac
CG
21092011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2110
2111 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2112
71cc0b74
EZ
21132011-12-05 Eli Zaretskii <eliz@gnu.org>
2114
2115 * descr-text.el (describe-char): Fix display of strong
2116 right-to-left characters and directional embeddings and overrides.
2117
2118 * simple.el (what-cursor-position): Fix display of codepoints of
2119 strong right-to-left characters.
2120
315bc30d
CY
21212011-12-05 Chong Yidong <cyd@gnu.org>
2122
2123 * faces.el (read-color): Doc fix.
2124
58a70b94
GM
21252011-12-05 Glenn Morris <rgm@gnu.org>
2126
2127 * align.el (align--set-marker): Add doc-string.
2128 Don't try to move something that is not a marker. (Bug#10216)
2129
5158face
GM
21302011-12-04 Glenn Morris <rgm@gnu.org>
2131
2132 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2133 overly zealous deletion of trailing whitespace.
2134
520fca41
JB
21352011-12-04 Juanma Barranquero <lekktu@gmail.com>
2136
2137 * server.el (server-delete-client): On Windows, do not try to delete
2138 the only terminal.
2139 (server-process-filter): On Windows, treat requests for a tty frame as
2140 if they were for a GUI frame if the running server is in GUI mode.
2141
5e605a2e
GM
21422011-12-03 Glenn Morris <rgm@gnu.org>
2143
2144 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2145
5c3fe83f
SM
21462011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2147
6f5e57e7
SM
2148 * electric.el: Streamline electric-indent's hook.
2149 (electric-indent-chars): Revert to simple list.
2150 (electric-indent-functions): New var.
2151 (electric-indent-post-self-insert-function): Use it.
2152
5c3fe83f
SM
2153 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2154 there's no inferior buffer (bug#10196).
2155 (prolog-consult-compile): Don't use toggle-read-only.
2156
6bdac736
MA
21572011-12-02 Michael Albinus <michael.albinus@gmx.de>
2158
2159 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2160 interrupt. (Bug#10187)
2161
6131ba7f
SM
21622011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2163
99c79fee
SM
2164 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2165 (bug#9160).
2166
6131ba7f
SM
2167 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2168 (bug#10191).
2169
cb0a02ea
JL
21702011-12-02 Juri Linkov <juri@jurta.org>
2171
2172 * info.el (Info-search): Display "end of manual" when Isearch
2173 reaches the end of single-file Info manual. (Bug#9918)
2174
66e0570c
EZ
21752011-12-02 Eli Zaretskii <eliz@gnu.org>
2176
2177 * isearch.el (isearch-message-prefix): Run the input method part
2178 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2179
02b16839
JL
21802011-12-02 Juri Linkov <juri@jurta.org>
2181
2182 * isearch.el (isearch-occur): Use `word-search-regexp' for
2183 `isearch-word'.
2184 (isearch-search-and-update): Add condition for `isearch-word' and
2185 call `word-search-regexp'. (Bug#10145)
2186
0b950688
GM
21872011-12-01 Glenn Morris <rgm@gnu.org>
2188
2189 * eshell/em-hist.el (eshell-hist-initialize):
2190 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2191 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2192
9505c3c7
SM
21932011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2194
2195 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2196
1bbe96b2 21972011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2198
a1beca85
SM
2199 * progmodes/verilog-mode.el (verilog-pretty-expr):
2200 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2201 verilog, such as += *= and the like.
2202 (verilog-assignment-operator-re): Regular expression to find the
2203 assigment operator in a verilog assignment.
2204 (verilog-assignment-operation-re): Regular expression to find an
2205 assignment statement for pretty-expr.
2206 (verilog-in-attribute-p): Query returns true if point is in an
2207 attribute context; used to skip these for expression line up from
2208 pretty-expr.
2209 (verilog-in-parameter-p): Query returns true if point is in an
2210 parameter definition context; used to skip these for expression
2211 line up from pretty-expr.
2212 (verilog-in-parenthesis-p): Query returns true if point is in a
2213 parenthetical expression, specifically ( ) but not [ ] or { };
2214 used by pretty-expr.
2215 (verilog-just-one-space): If there is no space, don't add one.
2216 (verilog-get-lineup-indent-2): Specifically skip just attribute
2217 contexts for expression lineup, rather than skipping all
2218 parenthetical expressions.
2219 (verilog-calculate-indent): Fix comment, and fix indent.
2220 (verilog-do-indent): Indent declarations in lists (suggested by
2221 Joachim Lechner).
2222 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2223 skeleton items.
2224 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2225 by Alain Mellan).
2226
1bbe96b2 22272011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2228
2229 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2230 parameters with embedded comments. Reported by Ray Stevens.
2231 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2232 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2233 Reported by Tim Holt.
2234 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2235 instantiated by upper module causing wrong expansion until AUTOed a
2236 second time. Reported by K C Buckenmaier.
2237 (verilog-diff-auto): Fix showing .* as a difference when
2238 `verilog-auto-star-save' off. Reported by Dan Dever.
2239 (verilog-auto-reset, verilog-read-always-signals)
2240 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2241 temporary signals in reset list if
2242 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2243 style to each signal's assignment type, bug381.
2244 Reported by Thomas Esposito.
6288f0ca
WS
2245 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2246 (verilog-uvm-statement-re): Support UVM indentation and
2247 highlighting, with old OVM keywords only.
a1beca85 2248 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2249 Support AUTOTIEOFF creating non-wire data types.
2250 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2251 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2252 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2253 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2254 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2255 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2256 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2257 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2258 non-numeric vector width. Reported by Alex Reed.
2259 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2260 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2261 (verilog-auto-delete-trailing-whitespace):
2262 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2263 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2264 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2265 Fix verilog-scan-cache corruption when running user AUTO expansion
2266 hooks that call indentation routines.
2267 (verilog-simplify-range-expression): Fix typo ignoring lower case
2268 identifiers.
2269 (verilog-delete-auto): Fix delete-autos to also remove user created
2270 automatics, as long as they start with AUTO.
2271 (verilog-batch-diff-auto, verilog-diff-auto)
2272 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2273 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2274 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2275 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2276 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2277 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2278 is disabled and its cache will get corrupt, causing AUTOS not to
2279 expand. Instead use only -quick functions.
2280 (verilog-scan-region): Fix scanning over escaped quotes.
2281 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2282 (verilog-re-search-backward-quick)
2283 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2284 related functions now ignore strings, to fix misparsing of strings
2285 with magic comments embedded in them.
a1beca85
SM
2286 (verilog-read-auto-template):
2287 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2288 Reported by Brad Dobbie.
2289 (verilog-read-auto-template):
2290 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2291 Reported by Brad Dobbie.
6288f0ca
WS
2292 (verilog-auto-inst, verilog-auto-inst-param)
2293 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2294 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2295 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2296 debugging templates without merge conflicts, bug357.
2297 Reported by Brad Dobbie.
2298 (verilog-read-auto-template):
2299 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2300 Reported by Brad Dobbie.
2301 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2302 abbrevs so user won't be asked to save.
2303 (verilog-read-auto-lisp-present): Fix to start at beginning of
2304 buffer in case called outside of verilog-auto.
2305 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2306 to "X-2". Reported by Matthew Myers.
2307 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2308 all inputs from module templates. Reported by Leith Johnson.
2309 (verilog-module-inside-filename-p): Fix locating programs as with
2310 modules.
2311 (verilog-auto-inst-port): Fix vl-width expressions when using
2312 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2313 (verilog-decls-get-regs, verilog-decls-get-signals,
2314 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2315 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2316 verilog-read-decls): Combine reg and wire structures into one var
2317 structure to represent SystemVerilog concepts.
2318 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2319 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2320 (verilog-auto-wire-type, verilog-insert-definition):
2321 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2322 SystemVerilog "logic" keyword instead of "wire"/"reg".
2323 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2324 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2325 ifdef or generate if so there's not a driver conflict).
2326 Reported by Matthew Myers.
2327 (verilog-auto-declare-nettype, verilog-insert-definition):
2328 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2329 `default_nettype none. Reported by Julian Gorfajn.
2330 (verilog-read-always-signals-recurse, verilog-read-decls)
2331 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2332 malformed end statement, bug325. Reported by Joshua Wise and
2333 Andrew Drake.
2334 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2335 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2336 when expanding .* in interfaces, bug320.
2337 Reported by Pierre-David Pfister.
6288f0ca 2338 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2339 name and open parenthesis, bug317.
2340 Reported by Pierre-David Pfister.
6288f0ca
WS
2341 (verilog-simplify-range-expression): Fix simplification of
2342 multiplications inside AUTOWIRE connections, bug303.
2343 (verilog-auto-inst-port): Support parameter expansion in
2344 multidimensional arrays.
2345 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2346 after "assert property". Reported by Julian Gorfajn.
2347 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2348 with multiplication, bug303.
2349 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2350 Reported by Jan Frode Lonnum.
2351
1bbe96b2
GM
23522011-11-30 Juanma Barranquero <lekktu@gmail.com>
2353
2354 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2355 (hfy-shell-file-name, hfy-shell):
2356 * international/fontset.el (x-decompose-font-name): Fix typos.
2357
23582011-11-29 Ken Brown <kbrown@cornell.edu>
2359
2360 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2361 (gdb-version): Remove defvar.
2362 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2363 (gdb-gud-context-command, gdb-non-stop-handler)
2364 (gdb-current-context-command, gdb-stopped): Use it.
2365 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2366 (gdb-non-stop-handler): Don't enable pretty-printing here.
2367 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2368 non-stop mode. Use the following.
2369 (gdb-check-target-async): New defun.
2370 (gud-watch, gdb-stopped): Fix whitespace.
2371 (gdb-get-source-file): Don't try to display the source file if
2372 `gdb-main-file' is nil.
2373
23742011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2375
2376 * align.el: Try to generate fewer markers (bug#10047).
2377 (align--set-marker): New macro.
2378 (align-region): Use it.
2379
c935221f
SM
23802011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2381
2382 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2383
e70b5064
CY
23842011-11-29 Chong Yidong <cyd@gnu.org>
2385
2386 * indent.el (indent-for-tab-command, indent-according-to-mode):
2387 Doc fix.
2388 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2389
f3af92b7
MA
23902011-11-29 Michael Albinus <michael.albinus@gmx.de>
2391
2392 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2393 aware of remote file names. (Bug#10124)
2394
ed472be9
CY
23952011-11-29 Chong Yidong <cyd@gnu.org>
2396
2397 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2398
24510c22
SM
23992011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2400
2401 * files.el (find-file): Don't use force-same-window (bug#10144).
2402 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2403 use pop-to-buffer if the selected window can't be used.
2404 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2405
c60c3703
EZ
24062011-11-28 Eli Zaretskii <eliz@gnu.org>
2407
2408 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2409 special-mode-map.
2410
e95def75
CY
24112011-11-28 Chong Yidong <cyd@gnu.org>
2412
2413 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2414
c3f1c606
NR
24152011-11-27 Nick Roberts <nickrob@snap.net.nz>
2416
2417 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2418 gdb-get-source-file-list on gdb-create-source-file-list.
2419
00db469c
EZ
24202011-11-26 Eli Zaretskii <eliz@gnu.org>
2421
2422 * whitespace.el (whitespace-newline): Use a different foreground
2423 color for 16-color light-background displays.
2424
4ad3bc2a
CY
24252011-11-24 Chong Yidong <cyd@gnu.org>
2426
2427 * window.el (display-buffer--special-action): Doc fix.
2428
e9fce1ac
JB
24292011-11-25 Juanma Barranquero <lekktu@gmail.com>
2430
2431 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2432 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2433 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2434 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2435 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2436 (avl-tree-stack-first):
2437 * emacs-lisp/cconv.el (cconv--analyse-use):
2438 * net/gnutls.el (gnutls-negotiate): Fix typos.
2439
cb825e5d
GM
24402011-11-24 Glenn Morris <rgm@gnu.org>
2441
3adbe224
GM
2442 * lpr.el (lpr-windows-system, lpr-lp-system):
2443 * mail/binhex.el (binhex-begin-line):
2444 * progmodes/grep.el (grep-history, grep-find-history):
2445 * textmodes/flyspell.el:
2446 * vc/pcvs-defs.el (cvs-global-menu):
2447 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2448 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2449 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2450
321decc8
GM
2451 * net/tls.el: Fix case of "GnuTLS".
2452
420b63ad
GM
2453 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2454
cb825e5d
GM
2455 * version.el (emacs-build-system): Give it a doc-string.
2456
a0649f08
JL
24572011-11-24 Juri Linkov <juri@jurta.org>
2458
2459 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2460
c0bc0fd4
GM
24612011-11-24 Glenn Morris <rgm@gnu.org>
2462
2463 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2464 if called on a non-mime message just toggle the headers. (Bug#8006)
2465
20db1522
JB
24662011-11-24 Juanma Barranquero <lekktu@gmail.com>
2467
2468 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2469 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2470 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2471 (allout-rebullet-heading, allout-open-sibtopic)
2472 (allout-toggle-current-subtree-encryption)
2473 (allout-toggle-subtree-encryption, allout-encrypt-string)
2474 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2475 (allout-distinctive-bullets-string, allout-auto-activation):
2476 * window.el (window-normalize-buffer-to-display):
2477 * progmodes/verilog-mode.el (verilog-batch-indent):
2478 * textmodes/bibtex.el (bibtex-field-braces-opt)
2479 (bibtex-field-strings-opt):
2480 * vc/cvs-status.el (cvs-tree-merge):
2481 Fix typos.
2482
7262a87c
MA
24832011-11-23 Michael Albinus <michael.albinus@gmx.de>
2484
2485 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2486 `non-essential' to t, in order to avoid remote connections.
2487
283430a1
EZ
24882011-11-23 Eli Zaretskii <eliz@gnu.org>
2489
a1beca85
SM
2490 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2491 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2492 case-insensitively.
2493
d2992a38
ML
24942011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2495
2496 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2497
50419064
GM
24982011-11-23 Glenn Morris <rgm@gnu.org>
2499
da94eca1
GM
2500 * paths.el (rmail-file-name): Reformat the doc-string so that it
2501 is picked up.
2502
9aac4de2
GM
2503 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2504 (rmail-auto-file): Ignore case in the "special" field names,
2505 as mail-fetch-field does for all others.
2506
8038d2d2
GM
2507 * mail/rmail.el (rmail-forward):
2508 * mail/rmailkwd.el (rmail-set-label):
2509 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2510 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2511
f3fe222a
GM
2512 * mail/rmail.el (rmail-current-message): Doc fix.
2513
50419064
GM
2514 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2515
28109f49
SM
25162011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2517
2518 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2519
394c65f1
GM
25202011-11-22 Glenn Morris <rgm@gnu.org>
2521
2522 * mail/rmailmm.el (test-rmail-mime-handler)
2523 (test-rmail-mime-bulk-handler)
2524 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2525
f2a0aa3a
JL
25262011-11-21 Juri Linkov <juri@jurta.org>
2527
1154d12e
JB
2528 * calc/calc.el (calc-read-key-sequence):
2529 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2530
9c34a344
LMI
25312011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2532
2533 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2534 Tell the caller that the next line needs recomputation, even
2535 though it doesn't start a sexp (bug#10094).
2536
f04a3be9
SM
25372011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2540
7978747f
SM
25412011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2542
f04a3be9
SM
2543 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2544 Use force-same-window.
7978747f 2545
fe7a3057
JB
25462011-11-20 Juanma Barranquero <lekktu@gmail.com>
2547
2548 * descr-text.el (describe-char-unicode-data):
2549 * json.el (json-string-escape):
2550 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2551 (Footnote-unicode, Footnote-style-p):
2552 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2553
24901d61
CY
25542011-11-20 Chong Yidong <cyd@gnu.org>
2555
2556 * window.el (replace-buffer-in-windows): Restore interactive spec.
2557
bac7ff22
SM
25582011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2559
24f3d7b9
SM
2560 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2561
bac7ff22
SM
2562 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2563 (byte-compile-global-not-obsolete-vars): New var.
2564 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2565 Use it.
2566 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2567
cd1181db
JB
25682011-11-20 Juanma Barranquero <lekktu@gmail.com>
2569
2570 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2571 * progmodes/pascal.el (electric-pascal-equal):
2572 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2573 * xml.el (xml-substitute-special): Fix typos.
2574
7fb18e9e
GM
25752011-11-20 Glenn Morris <rgm@gnu.org>
2576
2577 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2578 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2579 Doc fixes.
2580 (rmail-decode-mime-charset): Mark as obsolete.
2581
2582 * mail/rmailsum.el (rmail-message-regexp-p-1):
2583 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2584 Before using mime functions, check they are set. (Bug#10077)
2585
d5a6b3ba
JL
25862011-11-19 Juri Linkov <juri@jurta.org>
2587
2588 * info.el (Info-finder-find-node): Use `package--builtins' instead
2589 of `package-alist'. Use node names formed by the pattern "Keyword "
2590 and the keyword name.
2591
e981b61f
AS
25922011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2593
1d00653d 2594 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2595
3ffbc301
JL
25962011-11-19 Juri Linkov <juri@jurta.org>
2597
2598 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2599 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2600 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2601 `old-history', `old-history-forward'. Add let-binding
2602 `window-selected'. Remove calls to `kill-buffer',
2603 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2604 before calling `Info-find-node', so `Info-find-node-2' will reread
2605 the Info file. Restore window positions only when `window-selected'
2606 is non-nil.
2607
30c62133
JL
26082011-11-19 Juri Linkov <juri@jurta.org>
2609
2610 * isearch.el (isearch-lazy-highlight-new-loop):
2611 Remove condition `(not isearch-error)'. (Bug#9918)
2612
2613 * misearch.el (multi-isearch-search-fun): Add condition
2614 `(not bound)' to ignore lazy-highlighting search.
2615 Add the search-failed message "end of multi" when the end of
2616 multi-sequence is reached. Uncapitalize the search-failed
2617 message "Repeat for next buffer".
2618
2619 * info.el (Info-search): Add the search-failed message
2620 "end of the manual" when the end of the manual is reached
2621 in Isearch mode.
2622
645ca9cf
JL
26232011-11-19 Juri Linkov <juri@jurta.org>
2624
2625 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2626 Use non-destructive `remove' instead of `delete' because
2627 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2628 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2629
df754f66
JL
26302011-11-19 Juri Linkov <juri@jurta.org>
2631
2632 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2633 to nil instead of binding `search-ring' and `regexp-search-ring'.
2634 (Bug#9185)
2635
0e23d96a
EZ
26362011-11-19 Eli Zaretskii <eliz@gnu.org>
2637
2638 * simple.el (line-move): Force movement by logical lines for any
2639 hscrolled window, not only when auto-hscroll-mode is on.
2640 (line-move-visual): Update doc string to that effect. (Bug#10076)
2641
8a6ccb66
AS
26422011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2643
2644 * language/european.el (macintosh): Define as alias for mac-roman.
2645
49ae5b39
EZ
26462011-11-19 Eli Zaretskii <eliz@gnu.org>
2647
2648 * mail/rmailmm.el (rmail-mime-display-header)
2649 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2650 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2651 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2652 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2653 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2654 of a raw aref.
2655 (rmail-mime-entity-segment): To get past the tagline, move forward
2656 2 more lines, to account for the 2 empty lines that precede and
2657 follow the line with the buttons.
2658 (rmail-mime-update-tagline): Move one more line, to get past the
2659 empty line that follows the buttons in the tagline. (Bug#9520)
2660
c56cad4a
MR
26612011-11-19 Martin Rudalics <rudalics@gmx.at>
2662
2663 * window.el (window-max-delta-1, window-min-delta-1)
2664 (window-min-size-1, window-state-get-1, window-state-put-1)
2665 (window-state-put-2): Use "window--" prefix.
2666
cbe71af3
SM
26672011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2668
2ad52c60
SM
2669 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2670 (smie-warning-count): New var.
2671 (smie-set-prec2tab): Use it.
2672 (smie-bnf->prec2): Improve warnings. Add docstring.
2673 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2674 (smie-bnf--set-class): New function.
2675 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2676 corner case.
2677
6944dbc1
SM
2678 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2679 (compilation-error-properties, compilation-move-to-column):
2680 Handle compilation-first-column while in the target buffer.
2681
c400c4d7
SM
2682 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2683 Don't hardcode point-min==1.
2684
6dbe3e96
SM
2685 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2686 (eshell-rewrite-for-command): Remove workaround.
2687 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2688 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2689 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2690
cbe71af3
SM
2691 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2692
a8e1496d
GM
26932011-11-17 Glenn Morris <rgm@gnu.org>
2694
2695 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2696 Ignore buffer-local generated-autoload-file if it is the same
2697 as the global value. (Bug#10049)
2698
df85d315
JB
26992011-11-17 Juanma Barranquero <lekktu@gmail.com>
2700
2701 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2702 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2703 (reftex-toc-previous-heading, reftex-toc-max-level)
2704 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2705 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2706 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2707 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2708 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2709 (reftex-toc-rename-label, reftex-toc-visit-location)
2710 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2711 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2712 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2713 leaving "*toc*" only for references to the buffer.
2714
a0c2d0ae
MR
27152011-11-17 Martin Rudalics <rudalics@gmx.at>
2716
2717 * window.el (window-resize, delete-window, split-window):
2718 Replace window-splits by window-combination-resize.
1d00653d 2719 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2720
35c0bac8
GM
27212011-11-17 Glenn Morris <rgm@gnu.org>
2722
2723 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2724 Make bash entry derive from sh entry, not shell entry.
2725
d0c8fc8a
MA
27262011-11-16 Michael Albinus <michael.albinus@gmx.de>
2727
d0c8fc8a
MA
2728 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2729 properties of linked files. (Bug#9879)
2730
7262a87c
MA
2731 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2732 local file name.
2733
7877f373
JB
27342011-11-16 Juanma Barranquero <lekktu@gmail.com>
2735
2736 * menu-bar.el (menu-bar-file-menu):
2737 * printing.el (pr-ps-utility):
2738 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2739 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2740 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2741 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2742 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2743 (icalendar--convert-cyclic-to-ical)
2744 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2745 (icalendar--convert-ical-to-diary)
2746 (icalendar--convert-recurring-to-diary)
2747 (icalendar--convert-non-recurring-all-day-to-diary)
2748 (icalendar-import-format-sample):
2749 * progmodes/idlw-shell.el (idlwave-shell-mode):
2750 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2751 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2752 (vhdl-ps-print-init): Fix typos.
2753
10649b82
KM
27542011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2755
9d0cfcd6
GM
2756 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2757 FSF and collapse date sequence, obscure author/maintainer email address
2758 better, remove extra version line, track relocation of author's webpage.
10649b82 2759
9d0cfcd6
GM
2760 * progmodes/python.el (python-pdbtrack-input-prompt)
2761 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2762 regular python pdb prompts. Adjustments shamelessly taken exactly as
2763 suggested in EmacsWiki page (tiny change):
2764 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2765
58179cce
JB
27662011-11-16 Juanma Barranquero <lekktu@gmail.com>
2767
2768 * expand.el (expand-pos, expand-index, expand-point):
2769 Remove redundant info from docstring.
2770 (expand-add-abbrevs): Doc fix.
2771 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2772 (expand-sample-perl-mode-expand-list): Fix typos.
2773
2774 * net/dbus.el (dbus-event-member-name):
2775 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2776 * term/pc-win.el (msdos-create-frame-with-faces):
2777 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2778
b6f67890
MR
27792011-11-16 Martin Rudalics <rudalics@gmx.at>
2780
2781 * window.el (split-window, window-state-get-1)
2782 (window-state-put-1, window-state-put-2): Rename occurrences of
2783 window-nest to window-combination-limit.
1d00653d 2784 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2785
ce7ddba0
CY
27862011-11-16 Chong Yidong <cyd@gnu.org>
2787
2788 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2789 regexp (Bug#10033).
2790
3ae704f4
SM
27912011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2794 `completing-read' will remove *Completions* and will preserve
2795 current-buffer for us.
2796 (tmm-add-prompt): Users of *Completions* will always (re)set its
2797 major mode.
2798 (tmm-old-comp-map): Remove.
2799
6ad1cdde
GM
28002011-11-16 Glenn Morris <rgm@gnu.org>
2801
2802 * mail/rmailedit.el: Require rmailmm when compiling.
2803 (rmail-old-mime-state): New declaration.
2804 (rmail-edit-current-message): If editing a mime message,
2805 edit the "raw" message from the mbox buffer.
2806 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2807
d20faa20
GM
28082011-11-15 Glenn Morris <rgm@gnu.org>
2809
2810 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2811 which wasn't being used. Add optional arg to force given state.
2812 (rmail-mime): Add optional arg to force given state.
2813
c7015153
JB
28142011-11-15 Juanma Barranquero <lekktu@gmail.com>
2815
2816 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2817 * frame.el (display-mm-dimensions-alist):
2818 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2819 (outline-move-subtree-down):
2820 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2821 (newsticker--treeview-do-get-node):
2822 * net/quickurl.el (quickurl-list-buffer-name):
2823 * progmodes/dcl-mode.el (dcl-mode):
2824 * progmodes/gdb-mi.el (gdb-mapcar*):
2825 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2826
45261b50
GM
28272011-11-15 Glenn Morris <rgm@gnu.org>
2828
2829 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2830 in a boolean sense, so just make it a boolean, and fix the doc.
2831 (rmail-show-mime-function, rmail-mime-feature)
2832 (rmail-require-mime-maybe): Doc fixes.
2833 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2834
2835 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2836
0d26e0b6
JB
28372011-11-15 Juanma Barranquero <lekktu@gmail.com>
2838
2839 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2840 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2841 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2842 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2843
447f30f6
GM
28442011-11-15 Glenn Morris <rgm@gnu.org>
2845
672b871d
GM
2846 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2847 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2848 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2849 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2850 (rmail-mime, rmail-show-mime): Doc fixes.
2851
f6aa5bb1
GM
2852 * term/ns-win.el (mode-line-frame-identification):
2853 Leave it alone. (Bug#10051)
2854
947cd66b
GM
2855 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2856
447f30f6
GM
2857 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2858 Handle empty buffers. (Bug#9978)
2859
0b381c7e
JB
28602011-11-14 Juanma Barranquero <lekktu@gmail.com>
2861
2862 * international/mule.el (define-charset):
2863 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2864 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2865 * progmodes/verilog-mode.el (verilog-backward-token):
2866 * textmodes/ispell.el (lookup-words):
2867 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2868
71e027ac
GM
28692011-11-14 Glenn Morris <rgm@gnu.org>
2870
56632ce4
GM
2871 * progmodes/executable.el
2872 (executable-make-buffer-file-executable-if-script-p):
2873 Handle file-modes returning nil.
2874
40500957
GM
2875 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2876 message - not necessary, and causes problems. (Bug#9831)
2877
071c2340
GM
2878 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2879
d3cfca60
GM
2880 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2881
71e027ac
GM
2882 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2883 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
2884 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2885
89d61221
MR
28862011-11-12 Martin Rudalics <rudalics@gmx.at>
2887
2888 * window.el (window-resize, delete-window): Use window-splits
2889 variable instead of function.
2890 (window-state-get-1, window-state-put-2, window-state-put):
2891 Don't deal with windows' splits status.
2892
98282f6f
GM
28932011-11-12 Glenn Morris <rgm@gnu.org>
2894
2895 * apropos.el (apropos-do-all, apropos-library, apropos-value)
2896 (apropos-documentation): Doc fixes.
2897
40a8bdf6
JB
28982011-11-11 Juanma Barranquero <lekktu@gmail.com>
2899
2900 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2901 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2902
65bd19ff
SM
29032011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2904
2905 * electric.el (electric-indent-post-self-insert-function): Make it
2906 possible for a char to only indent in some circumstances.
2907 (electric-indent-mode): Simplify.
2908
54f9154c
MR
29092011-11-11 Martin Rudalics <rudalics@gmx.at>
2910
2911 * window.el (windows-with-parameter): Remove unused function.
2912 (windows-at-side): Rename to window-at-side-list.
2913 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
2914 (window-side-check, window-size-ignore, window-size-fixed-1)
2915 (window-in-direction-2): Prefix with "window--".
2916 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 2917
68cbc58b
GM
29182011-11-11 Glenn Morris <rgm@gnu.org>
2919
2920 * subr.el (eval-after-load): If FILE is already loaded,
2921 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
2922
b2621720
GM
29232011-11-10 Glenn Morris <rgm@gnu.org>
2924
9a4de110
GM
2925 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2926 Call svn via vc-svn-command rather than vc-do-command.
2927 (vc-svn-command): Add --non-interactive. (Bug#9993)
2928 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2929
b2621720
GM
2930 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2931 Add toggle-read-only. (Bug#7292)
2932 * files.el (toggle-read-only): Mention that it should only
2933 be used interactively. (Bug#10006)
2934
1dce7193
SM
29352011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2936
d9ac1a1e
SM
2937 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2938 Adjust regexp for OCaml warnings.
2939
0c325082
SM
2940 * electric.el (electric-pair-post-self-insert-function): Let user
2941 turn it off buffer-locally (bug#9932).
2942
90132c14
SM
2943 * progmodes/python.el (python-beginning-of-statement):
2944 Rewrite (bug#2703).
2945
1dce7193
SM
2946 * progmodes/compile.el: Better handle TABs (bug#9749).
2947 (compilation-internal-error-properties)
2948 (compilation-next-error-function): Obey the target buffer's
2949 compilation-error-screen-columns.
2950
c4e7c63a
JB
29512011-11-09 Juanma Barranquero <lekktu@gmail.com>
2952
2953 * progmodes/meta-mode.el: Remove obsolete comments.
2954 (meta-right-comment-regexp, meta-ignore-comment-regexp):
2955 Fix typos in docstrings.
2956
2cffd681
MR
29572011-11-09 Martin Rudalics <rudalics@gmx.at>
2958
2959 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 2960 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
2961 (window--resizable): New function. Make all callers of
2962 window-resizable call window--resizable instead.
2963 (window-resizable): Rewrite in terms of window--resizable.
2964
0edcba87
GM
29652011-11-08 Glenn Morris <rgm@gnu.org>
2966
2967 * progmodes/delphi.el (delphi-mode-syntax-table):
2968 Let define-derived-mode define a proper syntax table. (Bug#9994)
2969
4b0d61e3
SM
29702011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2971
2972 * window.el: Stay away from defsubst.
2973 (window-list-no-nils): Remove.
2974 (window-state-get-1, window-state-get): Use backquote instead.
2975
cd394be1 29762011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 2977
4b0d61e3 2978 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 2979 Fix incorrect use of default argument in `completing-read'.
2980
e1c2c6f2
MR
29812011-11-08 Martin Rudalics <rudalics@gmx.at>
2982
2983 * window.el (display-buffer-function, special-display-function):
2984 Mention display-buffer-record-window but do not mention
2985 help-setup parameter in doc-strings.
b3f4a882 2986 (window-min-delta): Fix doc-string typo.
e1c2c6f2 2987
105216ed
CY
29882011-11-08 Chong Yidong <cyd@gnu.org>
2989
2990 * window.el (window-total-height, window-total-width): Doc fix.
2991 (window-body-size): Move from C.
2992 (window-body-height, window-body-width): Move to C.
2993
0a9f9ab5
SM
29942011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2995
2996 * window.el: Make special-display like display-buffer-alist (bug#9532).
2997 (display-buffer--special-action): New function, morphed
2998 from display-buffer--special.
2999 (display-buffer): Use it to handle special-display-buffers at higher
3000 priority (just after display-buffer-alist).
3001 (display-buffer-fallback-action, display-buffer--other-frame-action)
3002 (pop-to-buffer-same-window): Remove display-buffer--special.
3003
a769dd15
GM
30042011-11-07 Glenn Morris <rgm@gnu.org>
3005
3006 * calendar/cal-menu.el (cal-menu-set-date-title):
3007 Do nothing if not in a calendar. (Bug#9976)
3008
05a61ee3
SM
30092011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3010
3011 * files.el (find-file): Always use selected-window.
3012
be7f5545
MR
30132011-11-07 Martin Rudalics <rudalics@gmx.at>
3014
3015 * window.el (window-combinations): Make WINDOW argument
3016 mandatory. Rewrite doc-string.
3017 (walk-window-subtree, window-atom-check, window-min-delta)
3018 (window-max-delta, window--resize-this-window)
3019 (window--resize-root-window-vertically, window-tree)
3020 (balance-windows, window-state-put): Rewrite doc-strings as to
3021 not mention the term "subwindow".
3022 (window--resize-subwindows-skip-p): Rename to
3023 window--resize-child-windows-skip-p.
3024 (window--resize-subwindows-normal): Rename to
3025 window--resize-child-windows-normal.
3026 (window--resize-subwindows): Rename to
3027 window--resize-child-windows.
3028 (window-or-subwindow-p): Rename to window--in-subtree-p.
3029
3c6702ef
ML
30302011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3031
3032 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3033 Ensure that mbox format messages end in two newlines (Bug#9974).
3034
49745b39
CY
30352011-11-06 Chong Yidong <cyd@gnu.org>
3036
3037 * window.el (window-combination-p): Function deleted; its
3038 side-effect is not used in any existing code.
3039 (window-combinations, window-combined-p): Call window-*-child
3040 directly.
3041
24300f5f
CY
30422011-11-05 Chong Yidong <cyd@gnu.org>
3043
3044 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3045 (window-size-ignore, window-state-get): Callers changed.
3046 (window-normalize-window): Rename from window-normalize-any-window.
3047 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3048 (window-normalize-live-window): Delete.
447f16b8
CY
3049 (window-combination-p, window-combined-p, window-combinations)
3050 (walk-window-subtree, window-atom-root, window-min-size)
3051 (window-sizable, window-sizable-p, window-size-fixed-p)
3052 (window-min-delta, window-max-delta, window-resizable)
3053 (window-resizable-p, window-full-height-p, window-full-width-p)
3054 (window-current-scroll-bars, window-point-1, set-window-point-1)
3055 (window-at-side-p, window-in-direction, window-resize)
3056 (adjust-window-trailing-edge, maximize-window, minimize-window)
3057 (window-deletable-p, delete-window, delete-other-windows)
3058 (record-window-buffer, unrecord-window-buffer)
3059 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3060 (quit-window, split-window, window-state-put)
3061 (set-window-text-height, fit-window-to-buffer)
3062 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3063
89bd5ee1
EZ
30642011-11-04 Eli Zaretskii <eliz@gnu.org>
3065
53479029
EZ
3066 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3067 rfc2047-decode-string.
3068 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3069 warnings.
3070
89bd5ee1
EZ
3071 * window.el (window-body-height, window-body-width): Mention in
3072 the doc string that the return values are in frame's canonical
3073 units. (Bug#9949)
3074
bd17fdee
AM
30752011-11-03 Alan Mackenzie <acm@muc.de>
3076
3077 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3078 change in cc-engine.el.
3079
acc825c5
SM
30802011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3081
3082 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3083
1885e5b8
MR
30842011-11-02 Martin Rudalics <rudalics@gmx.at>
3085
3086 * window.el (quit-window): Call unrecord-window-buffer after
3087 showing another buffer in the window. (Bug#9937)
acc825c5 3088 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3089
ebe06da9
JB
30902011-11-02 Juanma Barranquero <lekktu@gmail.com>
3091
3092 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3093 Accept status with more than 9 shelves. (Bug#9935)
3094 Reported by Colin D Bennett <colin@gibibit.com>.
3095
4ee88440
MR
30962011-11-01 Martin Rudalics <rudalics@gmx.at>
3097
3098 * help.el (with-help-window): Don't reference
3099 temp-buffer-show-specifiers in doc-string.
3100
08e1d82c
AS
31012011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3102
3103 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3104 menu-item.
3105
84bd6e9e
VJL
31062011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3107
3108 * whitespace.el: New version 13.2.2.
3109 (whitespace-newline-mode): Disable properly. Reported by Sarah
3110 <EmacsWiki>.
3111
dba0634a
UJ
31122011-10-30 Ulf Jasper <ulf.jasper@web.de>
3113
3114 * net/newst-treeview.el: Remove "Time-stamp".
3115 (newsticker--group-manage-orphan-feeds): Do not call
3116 newsticker--treeview-tree-update.
db22a3c2
JB
3117 (newsticker-treeview-update, newsticker-treeview):
3118 Call newsticker--treeview-tree-update if necessary.
dba0634a 3119
3d8daefe
MR
31202011-10-30 Martin Rudalics <rudalics@gmx.at>
3121
3122 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3123 (window-iso-combinations): Remove "iso-" infix.
3124 Suggested by Chong Yidong.
3d8daefe
MR
3125 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3126 (window-max-delta-1, window-resize, window--resize-siblings)
3127 (window--resize-this-window, adjust-window-trailing-edge)
3128 (split-window, balance-windows-1)
3129 (shrink-window-if-larger-than-buffer):
3130 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3131 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3132
1bc4c3ae
SM
31332011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3134
3135 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3136 in place (bug#9907).
3137 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3138 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3139 (eshell-structure-basic-command, eshell-rewrite-while-command)
3140 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3141 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3142 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3143 (eshell-do-pipelines-synchronously, eshell-eval-command):
3144 Use backquotes and prefer setq to set.
3145 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3146 (eshell-macrop): Use functionp.
c1e2f5fa 3147 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3148
30b65d9c
CY
31492011-10-30 Chong Yidong <cyd@gnu.org>
3150
3151 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3152 instead of set-mark (Bug#9810).
3153
2d197ffb
CY
31542011-10-30 Chong Yidong <cyd@gnu.org>
3155
3156 * window.el (split-window-below, split-window-right): Rename from
3157 split-window-above-each-other and split-window-side-by-side
3158 respectively. All callers changed.
3159 (split-window-sensibly, split-window-sensibly): Use them.
3160 (split-window-keep-point): Doc fix.
3161
3162 * isearch.el: Add isearch-scroll property to split-window-below
3163 and split-window-right.
3164
3165 * follow.el (follow-mode):
3166 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3167 * progmodes/ada-xref.el (ada-gdb-application):
3168 * emulation/vip.el (vip-buffer-in-two-windows):
3169 * image-dired.el (image-dired-dired-with-window-configuration):
3170 * dired-x.el (dired-do-find-marked-files):
3171 * dired.el (dired-pop-to-buffer):
3172 * bs.el (bs--show-with-configuration):
3173 * vc/emerge.el (emerge-setup-windows):
3174 * textmodes/two-column.el (2C-two-columns):
3175 * textmodes/reftex-toc.el (reftex-toc):
3176 * progmodes/gdb-mi.el (gdb-setup-windows):
3177 * progmodes/fortran.el (fortran-window-create):
3178 * net/newst-treeview.el (newsticker--treeview-window-init):
3179 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3180 * emulation/tpu-edt.el (tpu-gold-map):
3181 * emulation/crisp.el (crisp-mode-map):
3182 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3183
38bb2ca8
CY
31842011-10-29 Chong Yidong <cyd@gnu.org>
3185
aa4de341
CY
3186 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3187
e1eb5385
CY
3188 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3189
5d2ece3c
CY
3190 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3191 forged Ispell output (Bug#7904).
3192
38bb2ca8
CY
3193 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3194
d0af9f77
SM
31952011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * doc-view.el: Avoid ugly errors about not finding nil.
3198 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3199 (doc-view-dvipdf-program, doc-view-unoconv-program)
3200 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3201 Avoid nil or absolute file name as default value.
3202 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3203
52bedd34
AM
32042011-10-28 Alan Mackenzie <acm@muc.de>
3205
db22a3c2 3206 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3207
7e43cfa5
AM
32082011-10-28 Alan Mackenzie <acm@muc.de>
3209
3210 Amend the handling of c-beginning/end-of-defun in nested declaration
3211 scopes.
3212
52bedd34
AM
3213 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3214 cc-langs.el. Change it to a defcustom.
7e43cfa5 3215
52bedd34
AM
3216 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3217 cc-vars.el.
7e43cfa5 3218
d0af9f77
SM
3219 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3220 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3221
52bedd34 3222 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3223 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3224 (c-widen-to-enclosing-decl-scope): New function.
3225 (c-while-widening-to-decl-block): New macro.
3226 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3227 outward for defun boundaries, and correspondingly change symbol
3228 `respect-enclosure' to `go-outward'.
3229 (c-declaration-limits): Change algorithm to report only the "innermost"
3230 defun's boundaries.
3231
1a2ce9ee
DD
32322011-10-28 Deniz Dogan <deniz@dogan.se>
3233
3234 * net/rcirc.el (rcirc-mode): Use hard newlines.
3235
bc97a826
AM
32362011-10-28 Alan Mackenzie <acm@muc.de>
3237
3238 Amend to indent and fontify macros "which include their own semicolon"
3239 correctly, using the "virtual semicolon" mechanism.
3240
52bedd34 3241 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3242
d0af9f77 3243 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3244 Recode to scan one line at a time rather than having \n and \r
58179cce 3245 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3246 (c-forward-label): Amend for virtual semicolons.
58179cce 3247 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3248
52bedd34
AM
3249 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3250 of the new C macros.
bc97a826 3251
52bedd34 3252 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3253 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3254 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3255 (c-opt-cpp-macro-define): Make into a full language variable.
3256 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3257 AWK Mode (including \n, \r) removed, no longer needed.
3258
d0af9f77
SM
3259 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3260 Invoke c-make-macro-with-semi-re.
bc97a826 3261
52bedd34
AM
3262 * progmodes/cc-vars.el (c-macro-with-semi-re):
3263 (c-macro-names-with-semicolon): New variables.
58179cce 3264 (c-make-macro-with-semi-re): New function.
bc97a826 3265
7a6c0941
SM
32662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3267
3268 * vc/log-edit.el: Fill empty field rather than adding new one.
3269 (log-edit-add-field): New function.
3270 (log-edit-insert-changelog): Use it.
3271
b0c4cdcf
ML
32722011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3273
3274 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3275
ee1f1da9
SM
32762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3279 (gdb--check-interpreter): New function.
3280 (gdb): Use it.
3281
51bc5f8b
GM
32822011-10-27 Glenn Morris <rgm@gnu.org>
3283
416a2c45
GM
3284 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3285 (least-positive-float, least-negative-float)
3286 (least-positive-normalized-float, least-negative-normalized-float)
3287 (float-epsilon, float-negative-epsilon):
3288 Remove unnecessary declarations.
3289
3290 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3291 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3292 (least-positive-float, least-negative-float)
3293 (least-positive-normalized-float, least-negative-normalized-float)
3294 (float-epsilon, float-negative-epsilon): Add doc-strings,
3295 based on those in cl.texi.
3296
51bc5f8b
GM
3297 * files.el (set-visited-file-name): If the major-mode changed,
3298 reload the local variables. (Bug#9796)
3299
15de15c6
CY
33002011-10-27 Chong Yidong <cyd@gnu.org>
3301
3302 * subr.el (change-major-mode-after-body-hook): New hook.
3303 (run-mode-hooks): Run it.
3304
ee1f1da9
SM
3305 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3306 Use change-major-mode-before-body-hook.
15de15c6
CY
3307
3308 * simple.el (fundamental-mode):
3309 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3310 change introducing fundamental-mode-hook.
3311
5430d399
JB
33122011-10-26 Juanma Barranquero <lekktu@gmail.com>
3313
acc825c5 3314 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3315
ad74a69e
MA
33162011-10-26 Michael Albinus <michael.albinus@gmx.de>
3317
3318 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3319 tramp.el explicitly. (Bug#7583)
ad74a69e 3320
71d4c2a5
SM
33212011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3322
3323 * progmodes/octave-mod.el:
3324 * progmodes/octave-inf.el: Update maintainer.
3325
b1f6fa26
CY
33262011-10-26 Chong Yidong <cyd@gnu.org>
3327
3328 * subr.el (with-wrapper-hook): Rewrite doc.
3329
3f04efd6
MA
33302011-10-25 Michael Albinus <michael.albinus@gmx.de>
3331
3332 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3333 filenames "/method:foo:". (Bug#9793)
3f04efd6 3334
410488d3
SM
33352011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3336
3337 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3338 (bug#9865).
3339
c1ebb47e
GM
33402011-10-24 Glenn Morris <rgm@gnu.org>
3341
3342 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3343
7f5c46c7
MA
33442011-10-24 Michael Albinus <michael.albinus@gmx.de>
3345
3346 * notifications.el: Add the requirement of a running D-Bus session
3347 bus to the Commentary.
3348
db2440b6
JL
33492011-10-24 Juri Linkov <juri@jurta.org>
3350
3351 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3352 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3353 (Bug#9364)
3354
feecf435
JL
33552011-10-24 Juri Linkov <juri@jurta.org>
3356
3357 * info.el (Info-following-node-name-re): Add newline to the list
3358 of allowed characters for leading space. (Bug#9824)
3359
a3839de2
SM
33602011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3361
acc825c5
SM
3362 * progmodes/octave-inf.el (inferior-octave-mode-map):
3363 Fix C-c C-h binding.
a3839de2
SM
3364 * progmodes/octave-mod.el (octave-help): Remove.
3365
09388e76
MA
33662011-10-23 Michael Albinus <michael.albinus@gmx.de>
3367
3368 Sync with Tramp 2.2.3.
3369
3370 * net/tramp-cache.el (top): Pacify byte-compiler using
3371 `init-file-user' and `site-run-file'.
3372
3373 * net/trampver.el: Update release number.
3374
86c60681
CY
33752011-10-23 Chong Yidong <cyd@gnu.org>
3376
3377 * files.el (toggle-read-only): Remove obsolete comment about
3378 version control.
3379
3380 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3381 for toggle-read-only. Note that this hasn't called vc-next-action
3382 since 2008-05-02, though it wasn't documented at the time.
3383
a3839de2
SM
3384 * vc/ediff-init.el (ediff-toggle-read-only-function):
3385 Use toggle-read-only.
86c60681 3386
cd5495ff
AM
33872011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3388
3389 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3390 of c-parse-state.
3391
00b77525 3392 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3393 correct faulty logical expression.
cd5495ff
AM
3394 (c-parse-state-state, c-record-parse-state-state):
3395 (c-replay-parse-state-state): New defvar/defuns.
3396 (c-debug-parse-state): Use new functions.
3397
42ee24ed
MR
33982011-10-22 Martin Rudalics <rudalics@gmx.at>
3399
3400 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3401 last fix. Use window-in-direction correctly.
42ee24ed 3402
a7dee7e7
CY
34032011-10-21 Chong Yidong <cyd@gnu.org>
3404
3405 * progmodes/idlwave.el (idlwave-mode):
3406 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3407 require-final-newline; that's done in prog-mode.
3408 Suggested by Stefan Monnier.
a7dee7e7 3409
e07b9a6d
MR
34102011-10-21 Martin Rudalics <rudalics@gmx.at>
3411
3412 * mouse.el (mouse-drag-window-above)
3413 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3414 (mouse-drag-mode-line-1, mouse-drag-header-line)
3415 (mouse-drag-vertical-line-rightward-window): Remove.
3416 (mouse-drag-line): New function.
3417 (mouse-drag-mode-line, mouse-drag-header-line)
3418 (mouse-drag-vertical-line): Call mouse-drag-line.
3419 * window.el (window-at-side-p, windows-at-side): New functions.
3420
7e1361d9
UM
34212011-10-21 Ulrich Mueller <ulm@gentoo.org>
3422
3423 * tar-mode.el (tar-grind-file-mode):
3424 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3425
30fcaf3a
CY
34262011-10-21 Chong Yidong <cyd@gnu.org>
3427
3428 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3429 * progmodes/vera-mode.el (vera-mode):
3430 Use mode-require-final-newline.
30fcaf3a 3431
516eddb0
GM
34322011-10-20 Glenn Morris <rgm@gnu.org>
3433
db22a3c2 3434 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3435
10d5f513
CS
34362011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3437
3438 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3439
ac6c8639
CY
34402011-10-20 Chong Yidong <cyd@gnu.org>
3441
3442 * emulation/cua-base.el (cua-mode):
3443 * mail/footnote.el (footnote-mode):
3444 * mail/mailabbrev.el (mail-abbrevs-mode):
3445 * net/xesam.el (xesam-minor-mode):
3446 * progmodes/bug-reference.el (bug-reference-mode):
3447 * progmodes/cap-words.el (capitalized-words-mode):
3448 * progmodes/compile.el (compilation-minor-mode)
3449 (compilation-shell-minor-mode):
3450 * progmodes/gud.el (gud-tooltip-mode):
3451 * progmodes/hideif.el (hide-ifdef-mode):
3452 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3453 * progmodes/subword.el (subword-mode):
3454 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3455 * progmodes/which-func.el (which-function-mode):
3456 * term/tvi970.el (tvi970-set-keypad-mode):
3457 * term/vt100.el (vt100-wide-mode):
3458 * textmodes/flyspell.el (flyspell-mode):
3459 * textmodes/ispell.el (ispell-minor-mode):
3460 * textmodes/nroff-mode.el (nroff-electric-mode):
3461 * textmodes/paragraphs.el (use-hard-newlines):
3462 * textmodes/refill.el (refill-mode):
3463 * textmodes/reftex.el (reftex-mode):
3464 * textmodes/rst.el (rst-minor-mode):
3465 * textmodes/sgml-mode.el (html-autoview-mode)
3466 (sgml-electric-tag-pair-mode):
3467 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3468 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3469 * emulation/crisp.el (crisp-mode):
3470 * emacs-lisp/eldoc.el (eldoc-mode):
3471 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3472 minor mode behavior.
3473
aa42ab43
JL
34742011-10-19 Juri Linkov <juri@jurta.org>
3475
3476 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3477 the list of hard-coded chars with escape-glyph face.
3478
89400f1d
SM
34792011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3480
3481 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3482
305c07f6
MA
34832011-10-19 Michael Albinus <michael.albinus@gmx.de>
3484
3485 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3486 running process.
3487
13754b54
GM
34882011-10-19 Glenn Morris <rgm@gnu.org>
3489
3490 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3491 Ignore ignored files. (Bug#9726)
3492
06e21633
CY
34932011-10-19 Chong Yidong <cyd@gnu.org>
3494
3495 Doc fix for minor modes, stating that an omitted argument enables
3496 the mode unconditionally when called from Lisp.
3497
3498 * abbrev.el (abbrev-mode):
3499 * allout.el (allout-mode):
3500 * autoinsert.el (auto-insert-mode):
3501 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3502 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3503 (global-auto-revert-mode):
3504 * battery.el (display-battery-mode):
3505 * composite.el (global-auto-composition-mode)
3506 (auto-composition-mode):
3507 * delsel.el (delete-selection-mode):
3508 * desktop.el (desktop-save-mode):
3509 * dired-x.el (dired-omit-mode):
3510 * dirtrack.el (dirtrack-mode):
3511 * doc-view.el (doc-view-minor-mode):
3512 * double.el (double-mode):
3513 * electric.el (electric-indent-mode, electric-pair-mode):
3514 * emacs-lock.el (emacs-lock-mode):
3515 * epa-hook.el (auto-encryption-mode):
3516 * follow.el (follow-mode):
3517 * font-core.el (font-lock-mode):
3518 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3519 * help.el (temp-buffer-resize-mode):
3520 * hilit-chg.el (highlight-changes-mode)
3521 (highlight-changes-visible-mode):
3522 * hi-lock.el (hi-lock-mode):
3523 * hl-line.el (hl-line-mode, global-hl-line-mode):
3524 * icomplete.el (icomplete-mode):
3525 * ido.el (ido-everywhere):
3526 * image-file.el (auto-image-file-mode):
3527 * image-mode.el (image-minor-mode):
3528 * iswitchb.el (iswitchb-mode):
3529 * jka-cmpr-hook.el (auto-compression-mode):
3530 * linum.el (linum-mode):
3531 * longlines.el (longlines-mode):
3532 * master.el (master-mode):
3533 * mb-depth.el (minibuffer-depth-indicate-mode):
3534 * menu-bar.el (menu-bar-mode):
3535 * minibuf-eldef.el (minibuffer-electric-default-mode):
3536 * mouse-sel.el (mouse-sel-mode):
3537 * msb.el (msb-mode):
3538 * mwheel.el (mouse-wheel-mode):
3539 * outline.el (outline-minor-mode):
3540 * paren.el (show-paren-mode):
3541 * recentf.el (recentf-mode):
3542 * reveal.el (reveal-mode, global-reveal-mode):
3543 * rfn-eshadow.el (file-name-shadow-mode):
3544 * ruler-mode.el (ruler-mode):
3545 * savehist.el (savehist-mode):
3546 * scroll-all.el (scroll-all-mode):
3547 * scroll-bar.el (scroll-bar-mode):
3548 * server.el (server-mode):
3549 * shell.el (shell-dirtrack-mode):
3550 * simple.el (auto-fill-mode, transient-mark-mode)
3551 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3552 (line-number-mode, column-number-mode, size-indication-mode)
3553 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3554 * strokes.el (strokes-mode):
3555 * time.el (display-time-mode):
3556 * t-mouse.el (gpm-mouse-mode):
3557 * tool-bar.el (tool-bar-mode):
3558 * tooltip.el (tooltip-mode):
3559 * type-break.el (type-break-mode-line-message-mode)
3560 (type-break-query-mode):
3561 * view.el (view-mode):
3562 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3563 (global-whitespace-mode, global-whitespace-newline-mode):
3564 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3565
a3839de2
SM
3566 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3567 Fix autogenerated docstring.
06e21633 3568
5214e501
JL
35692011-10-19 Juri Linkov <juri@jurta.org>
3570
3571 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3572 by checking environment variables "DESKTOP_SESSION" and
3573 "XDG_CURRENT_DESKTOP". (Bug#9779)
3574
195f8db9
JL
35752011-10-19 Juri Linkov <juri@jurta.org>
3576
3577 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3578 (browse-url-chromium-program, browse-url-chromium-arguments):
3579 New defcustoms.
3580 (browse-url-default-browser): Check for `browse-url-chromium' and
3581 call `browse-url-chromium-program'.
3582 (browse-url-chromium): New command. (Bug#9779)
3583
343a34ff
JB
35842011-10-18 Juanma Barranquero <lekktu@gmail.com>
3585
3586 * facemenu.el (list-colors-duplicates): On Windows, detect more
3587 duplicates by assuming that only colors matching "^System" are
3588 special "system colors". (Bug#9722)
3589
6978a151
SM
35902011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3593 to distinguish the author from the committer.
3594
6a80b297
MA
35952011-10-18 Michael Albinus <michael.albinus@gmx.de>
3596
3597 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3598
b31a5677
JK
35992011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3600
3601 * international/mule.el (sgml-html-meta-auto-coding-function):
3602 Add support for detecting encoding in HTML5 specified only as
3603 <meta charset="UTF-8">. Implementation just makes http-equiv and
3604 content-type parts from HTML4 encoding string optional. (Bug#9716)
3605
80c6d77f
GM
36062011-10-18 Glenn Morris <rgm@gnu.org>
3607
3608 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3609
08b0fee8
CY
36102011-10-18 Chong Yidong <cyd@gnu.org>
3611
3612 * faces.el (cursor): Doc fix.
3613
67e729a5
CY
36142011-10-17 Chong Yidong <cyd@gnu.org>
3615
3616 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3617
343a34ff 36182011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3619
3620 * dirtrack.el (dirtrack): Support shell buffers with path
3621 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3622
0bc06380
TZ
36232011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3624
3625 * json.el: Bump version to 1.3 and note change in History.
3626 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3627
8b79f3e0
SM
36282011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3629
5a7c536b
SM
3630 * comint.el (comint-insert-input, comint-send-input)
3631 (comint-get-old-input-default, comint-backward-matching-input)
3632 (comint-next-prompt): Use nil instead of `input' for field property of
3633 past user input (bug#114).
3634
96a8a0df
SM
3635 * minibuffer.el (completion--replace): Inherit surrounding properties
3636 (bug#114).
3637 (minibuffer-complete-and-exit): Use it.
3638
8b79f3e0
SM
3639 * comint.el (comint--table-subvert): Quote the all-completions output
3640 (bug#9160).
3641
b8f7ff0d
MR
36422011-10-17 Martin Rudalics <rudalics@gmx.at>
3643
8b79f3e0 3644 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3645
b8f7ff0d 3646 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3647 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3648 entries and separate them from frame entries.
3649
c235b555
GM
36502011-10-15 Glenn Morris <rgm@gnu.org>
3651
3652 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3653 Doc fixes.
3654
6bbfa6e1
CY
36552011-10-15 Chong Yidong <cyd@stupidchicken.com>
3656
8b79f3e0
SM
3657 * net/network-stream.el (network-stream-open-starttls):
3658 Improve detection of failure due to lack of TLS support.
ec5c990d 3659
6bbfa6e1
CY
3660 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3661 putting the input text in front and in bold.
3662
98488977
SM
36632011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3664
3d1337be
SM
3665 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3666
ee0b45e4
SM
3667 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3668 empty buffer.
3669
98488977
SM
3670 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3671 unread-command-events rather than pushing yet-another event.
3672
186f4720
EZ
36732011-10-14 Eli Zaretskii <eliz@gnu.org>
3674
3675 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3676 the explanation of the possible choices. Make the options passed
3677 to completing-read shorter.
3678
8b7a997c
AM
36792011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3680
3681 * textmodes/flyspell.el (flyspell-large-region): Make sure
3682 extended character mode is used if defined (Bug#1339).
3683
12587bbb
EZ
36842011-10-13 Eli Zaretskii <eliz@gnu.org>
3685
3686 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3687 character info for LRE, LRO, RLE, and RLO characters by appending
3688 an invisible PDF.
12587bbb 3689
bad41229
SM
36902011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3691
3692 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3693 even in case of error; add debug spec; simplify data flow.
3694 (with-timeout-handler): Remove.
3695
28dbc92f
MA
36962011-10-12 Michael Albinus <michael.albinus@gmx.de>
3697
3698 Fix Bug#6019, Bug#9315.
3699
3700 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3701 complete `buffer-file-name', the local file name part could look
3702 remotely (for example on VMS).
3703
3704 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3705 `tramp-run-real-handler'.
3706 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3707 already quoted by '"'.
3708
3709 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3710 Let `file-name-handler-alist' be nil, the local file name part
3711 could look remotely (for example on VMS).
3712
e1b0b23a
SM
37132011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3714
3715 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3716 from here...
3717 (flyspell-post-command-hook): ...to here.
3718
a120bde9
SM
37192011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3720
3721 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3722 if not needed.
3723 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3724 using completion. Protect against "slow" callers.
3725 Remove the "message hack".
3726
7ce7717b
JL
37272011-10-11 Juri Linkov <juri@jurta.org>
3728
3729 * isearch.el (isearch-lazy-highlight-word): New variable.
3730 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3731 Use it. (Bug#9727)
3732
c02ee9d6
GM
37332011-10-11 Glenn Morris <rgm@gnu.org>
3734
3735 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3736 like f90-previous-statement does.
3737
93e616fd 37382011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3739
1f190e73 3740 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3741 only in interactive use, to avoid error.
3742
af7b6078
SM
37432011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 * minibuffer.el (completion-file-name-table): Fix last change,
3746 i.e. ignore normal errors but not the other ones.
3747
0563dae9
MR
37482011-10-10 Martin Rudalics <rudalics@gmx.at>
3749
3750 * window.el (special-display-buffer-names)
3751 (special-display-regexps): Remove some remnants of earlier
3752 changes from doc-strings.
366ca7f3
MR
3753 (quit-windows-on): New function.
3754
3755 * vc/vc.el (vc-revert, vc-rollback):
3756 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3757 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3758 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3759
49677495
MR
37602011-10-09 Martin Rudalics <rudalics@gmx.at>
3761
3762 * window.el (frame-auto-hide-function): Add version tag.
3763 (Bug#9699)
3764
56f2d1e1
MA
37652011-10-09 Michael Albinus <michael.albinus@gmx.de>
3766
3767 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3768 condition.
3769
112a6592
LL
37702011-10-09 Leo Liu <sdl.web@gmail.com>
3771
3772 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3773 (Bug#9701)
3774
0812589b
GM
37752011-10-08 Glenn Morris <rgm@gnu.org>
3776
3777 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3778 before the first code statement zero indent. (Bug#9690)
3779
b2b0776e
CY
37802011-10-08 Chong Yidong <cyd@stupidchicken.com>
3781
3782 * simple.el (count-words-region): Always count in the region.
3783 Report the number of lines and characters too.
3784 (count-words): New command, which counts in the buffer if the
3785 region is inactive, as count-words-region used to.
3786 (count-words--message): New function. Handle plurals.
3787 (count-lines-region): Make it an alias for count-words-region.
3788
3789 * bindings.el (esc-map): Replace count-lines-region with
3790 count-words-region.
3791
c557cd6b
MR
37922011-10-08 Martin Rudalics <rudalics@gmx.at>
3793
3794 * window.el (window--delete): Delete dedicated frame
3795 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3796 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3797
61a57ef4 37982011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3799
3a7d293b 3800 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3801
c3833279
CY
38022011-10-07 Chong Yidong <cyd@stupidchicken.com>
3803
3804 * bindings.el ([M-left],[M-right]): Bind to left-word and
3805 right-word respectively.
3806
21ce8245
GM
38072011-10-07 Glenn Morris <rgm@gnu.org>
3808
3809 * cus-start.el (debug-on-quit): Fix custom type.
3810
6d823bb2
LMI
38112011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3812
0181e193
LMI
3813 * subr.el (define-key-after): Clarify that the function is not
3814 useful for non-menu keymaps.
3815
6d823bb2
LMI
3816 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3817
8e3459ce 38182011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3819
21ce8245 3820 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3821 in current minibuffer (Fix bug with recursive minibuffers).
3822
a1c2d21e
CY
38232011-10-06 Chong Yidong <cyd@stupidchicken.com>
3824
3825 * progmodes/gdb-mi.el (gdb): Doc fix.
3826
5a4cf282
MR
38272011-10-05 Martin Rudalics <rudalics@gmx.at>
3828
3829 * window.el (frame-auto-hide-function): New option replacing
3830 frame-auto-delete. Suggested by Stefan Monnier.
3831 (window--delete): Call frame-auto-hide-function instead of
3832 investigating frame-auto-delete.
c96111ea
MR
3833 (window-point-1, set-window-point-1): New functions.
3834 (window-in-direction, record-window-buffer, window-state-get-1)
3835 (display-buffer-record-window): Use window-point-1 instead of
3836 window-point.
3837 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3838
9854542e
SM
38392011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3840
3841 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3842
8943cfb0
GM
38432011-10-05 Glenn Morris <rgm@gnu.org>
3844
3845 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3846 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3847
647ab967
LL
38482011-10-05 Leo Liu <sdl.web@gmail.com>
3849
3850 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3851 works with buffer object.
3852
3ddfbced
SM
38532011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * mpc.el (mpc-tool-bar-map): Add labels.
3856
bdfa5dd2
GM
38572011-10-04 Glenn Morris <rgm@gnu.org>
3858
3859 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3860
0e2070b5
MR
38612011-10-04 Martin Rudalics <rudalics@gmx.at>
3862
3863 * window.el (window--delete): New function.
3864 (frame-auto-delete): Resuscitate option.
3865 (bury-buffer, replace-buffer-in-windows)
3866 (quit-window): Rewrite using window--delete.
3867 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3868 Pass display-buffer-mark-dedicated to window--display-buffer-2
3869 (Bug#9639).
3870
3dc61a09
SM
38712011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3872
915a9b64
SM
3873 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3874 returns a list (bug#9554). Add remote file name completion.
3875 * comint.el (comint--table-subvert): Curry and get quote&unquote
3876 functions as arguments.
3877 (comint--complete-file-name-data): Adjust call accordingly.
3878 * pcomplete.el (pcomplete--table-subvert): Remove.
3879 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3880
3dc61a09
SM
3881 * minibuffer.el (completion-table-case-fold): Use currying.
3882 (completion--styles-type, completion--cycling-threshold-type):
3883 New constants.
3884 (completion-styles, completion-category-overrides)
3885 (completion-cycle-threshold): Use them.
3886 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3887 completion-table-case-fold.
3888
8ea0a993
SB
38892011-10-03 Stephen Berman <stephen.berman@gmx.net>
3890
3891 * minibuffer.el (completion-category-overrides): Fix type of styles
3892 and add more user friendly tags (bug#9660).
3893
8c24b7f6
SM
38942011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3895
3896 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3897 (mule-input-method-string): New widget.
3898 (default-input-method, language-info-custom-alist): Use it.
3899
428fe61a
SM
39002011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3901
32c1fffd
SM
3902 * pcomplete.el: Require comint.
3903 (pcomplete--common-suffix): Remove.
3904 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3905 (pcomplete--table-subvert): Sync with comint--table-subvert.
3906 (pcomplete--entries): Use comint-completion-file-name-table.
3907 * comint.el (comint-unquote-filename): Simplify.
3908 (comint-completion-file-name-table): New function (bug#9616).
3909 (comint--complete-file-name-data): Use it.
3910
428fe61a
SM
3911 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3912 (pcmpl-gnu-tar-buffer): Remove.
3913 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
3914 around. Make sure pcomplete-suffix-list is only changed temporarily.
3915 Don't look inside the tar's file if it's too large.
428fe61a 3916
04c52e2f
CY
39172011-10-01 Chong Yidong <cyd@stupidchicken.com>
3918
ce3cefcc
CY
3919 * cus-edit.el (custom-mode-map):
3920 * epa.el (epa-key-list-mode-map):
3921 * man.el (Man-mode-map):
3922 * startup.el (splash-screen-keymap):
3923 * simple.el (special-mode-map): Use scroll-up-command and
3924 scroll-down-command.
3925
3926 * progmodes/idlw-help.el (idlwave-help-mode-map):
3927 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3928 * net/newst-plainview.el (newsticker-mode-map):
3929 * emulation/ws-mode.el (wordstar-mode-map):
3930 * emulation/vi.el (vi-com-map):
3931 * calc/calc-graph.el (calc-graph-show-dumb):
3932 * term/sun.el (terminal-init-sun):
3933 * term/ns-win.el (global-map):
3934 * progmodes/grep.el (grep-mode-map):
3935 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3936 * mail/rmail.el (rmail-mode-map):
3937 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3938
04c52e2f
CY
3939 * custom.el (custom-safe-themes, load-theme): Treat value of t for
3940 custom-safe-themes as special.
3941
79adf8c8
JD
39422011-10-01 Julien Danjou <julien@danjou.info>
3943
3944 * notifications.el (notifications-notify): Fix docstring.
3945
63bd50d3
PS
39462011-10-01 Per Starbäck <per@starback.se>
3947
3948 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
3949
199e4c7e
MR
39502011-09-30 Martin Rudalics <rudalics@gmx.at>
3951
3952 * startup.el (command-line-1): Fix last fix by inserting
3953 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 3954 (Bug#9605) and (Bug#9636)
199e4c7e 3955
fe5f08dd
EZ
39562011-09-29 Eli Zaretskii <eliz@gnu.org>
3957
3958 * simple.el (line-move): If auto-hscroll-mode is disabled and the
3959 window is hscrolled, move by logical lines. (Bug#9607)
3960 (line-move-visual): Update the doc string to the above effect.
3961
b5516bbd
MR
39622011-09-29 Martin Rudalics <rudalics@gmx.at>
3963
ccee00c0
MR
3964 * window.el (display-buffer-record-window): When WINDOW is the
3965 selected window use `point' instead of `window-point'. (Bug#9626)
3966
b5516bbd
MR
3967 * startup.el (command-line-1): Use insert-before-markers when
3968 inserting initial-scratch-message. (Bug#9605)
ccee00c0 3969
b5516bbd
MR
3970 * help.el (help-window): Remove variable.
3971
52aa0014
GM
39722011-09-29 Glenn Morris <rgm@gnu.org>
3973
3974 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
3975
df9a7357
JB
39762011-09-29 Juanma Barranquero <lekktu@gmail.com>
3977
3978 * descr-text.el (describe-char-categories): Accept category
3979 descriptions more than one line long.
3980
a8406c20
SM
39812011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3982
88d9610c
SM
3983 * simple.el (delete-trailing-whitespace): Fix last change.
3984
a5daf810
SM
3985 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3986 Don't confuse "y => 3" as the beginning of a `y' operation.
3987
a8406c20
SM
3988 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
3989 object has more than 4 slots (bug#9613).
3990
a239d4e9
JB
39912011-09-28 Juanma Barranquero <lekktu@gmail.com>
3992
3993 * subr.el (with-output-to-temp-buffer):
3994 * net/quickurl.el (quickurl, quickurl-browse-url):
3995 Fix typos in docstrings.
3996
693fbdb6
EZ
39972011-09-27 Eli Zaretskii <eliz@gnu.org>
3998
3999 * minibuffer.el (completion-styles)
4000 (completion-category-overrides): Cross reference each other in doc
4001 strings.
4002
8b457e28
GM
40032011-09-27 Glenn Morris <rgm@gnu.org>
4004
4005 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4006 to split-string. (Bug#9606)
4007
85a16208
LMI
40082011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4009
4010 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4011 (bug#9615).
4012
502f9ebd
CY
40132011-09-27 Chong Yidong <cyd@stupidchicken.com>
4014
4015 * emacs-lisp/package.el (list-packages): Fix echo area message.
4016
7690bdea
LL
40172011-09-27 Leo Liu <sdl.web@gmail.com>
4018
4019 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4020
e2ee6f30
MA
40212011-09-25 Michael Albinus <michael.albinus@gmx.de>
4022
4023 * net/dbus.el (dbus-unregister-object): Don't release services for
4024 registered signals. (Bug#9581)
4025
f3f98342
TZ
40262011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4027
4028 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4029 function that picks between cfengine 2 and 3 support
4030 automatically. Update docs accordingly.
4031
dd7aa8dd
KH
40322011-09-22 Kenichi Handa <handa@m17n.org>
4033
4034 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4035 ZERO.
4036 (indian-itrans-v5-table-for-tamil): New variable.
4037 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4038
3f2b07f8
KM
40392011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4040
4041 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4042 that's true if the current command involved collapsing of text.
4043 It's reset to false at the beginning of the next command.
4044 (allout-post-command-business): Move the cursor to the beginning
4045 of entry if the cursor is hidden and collapsing activity just
4046 happened.
4047
371d6a61
CY
40482011-09-24 Chong Yidong <cyd@stupidchicken.com>
4049
4050 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4051 tracking (Bug#9541).
4052
2ac2721a
UJ
40532011-09-24 Ulf Jasper <ulf.jasper@web.de>
4054
4055 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4056 (newsticker-show-news): Automatically load html rendering package
4057 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4058 because w3m-fill-column is let-bound" and the error "Symbol's value
4059 as variable is void: w3m-fill-column".
2ac2721a 4060
fac7ae53
MA
40612011-09-24 Michael Albinus <michael.albinus@gmx.de>
4062
4063 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4064 Release services only if they are defined. (Bug#9581)
4065
e08b633b
RS
40662011-09-23 Richard Stallman <rms@gnu.org>
4067
e488d29c
RS
4068 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4069 distinguish start of paragraph from start of its text.
4070
19c38752
RS
4071 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4072
e08b633b
RS
4073 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4074 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4075 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4076
0a39f27e
AS
40772011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4078
4079 * international/mule-diag.el (mule-diag): Insert a newline after
4080 each fontset description.
4081
db4e950d
SM
40822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4083
4084 * simple.el (delete-trailing-whitespace):
4085 Document last change; simplify.
4086
eca3f3ea
PW
40872011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4088
d68e189a
PW
4089 * simple.el (delete-trailing-whitespace): Also delete
4090 extra newlines at the end of the buffer.
4091
eca3f3ea
PW
4092 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4093 (picture-newline): Use forward-line so as to ignore fields.
4094
01c157cc
SM
40952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4096
4097 * subr.el (with-wrapper-hook): Fix edebug spec.
4098
022de23e
LMI
40992011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4100
4101 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4102 (bug#4538).
4103
91683089
MA
41042011-09-23 Michael Albinus <michael.albinus@gmx.de>
4105
eca3f3ea
PW
4106 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4107 Fix nasty bug using wrong cached values.
91683089 4108
5bdd6fa4
AM
41092011-09-23 Alan Mackenzie <acm@muc.de>
4110
4111 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4112
97adfb97
CY
41132011-09-23 Chong Yidong <cyd@stupidchicken.com>
4114
4115 * window.el (pop-to-buffer): Ensure right window is selected if we
4116 chose another frame.
4117
d4ef2b50
EZ
41182011-09-22 Eli Zaretskii <eliz@gnu.org>
4119
4120 * simple.el (what-cursor-position): Use get-char-property-change
4121 and next-single-char-property-change, to be able to show display
4122 properties that come from overlays as well as text properties.
4123
72258fe5
CY
41242011-09-22 Chong Yidong <cyd@stupidchicken.com>
4125
4126 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4127
4128 * cmuscheme.el (run-scheme, switch-to-scheme):
4129 * cus-edit.el (customize-group, custom-buffer-create)
4130 (customize-browse):
4131 * info.el (info):
4132 * shell.el (shell):
4133 * mail/sendmail.el (mail):
4134 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4135
8f098516
RS
41362011-09-22 Richard Stallman <rms@gnu.org>
4137
4138 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4139 move back only to line beg, don't move back over blank lines.
4140
e74f1bb6
MA
41412011-09-22 Michael Albinus <michael.albinus@gmx.de>
4142
4143 * files.el (copy-directory): Set directory attributes only in case
4144 they could be retrieved from the source directory. (Bug#9565)
4145
bfeef8b6
DK
41462011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4147
4148 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4149 (hs-find-block-beginning, hs-hide-level-recursive):
4150 Ignore strings as well as comments. (Bug#9502)
4151
7e423bb8
AS
41522011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4153
4154 * progmodes/sql.el (sql-comint-postgres):
4155 Convert port number to a string. (Bug#9566)
4156
b4d72fcf
MR
41572011-09-22 Martin Rudalics <rudalics@gmx.at>
4158
4159 * window.el (quit-window): Undedicate window when switching to
4160 previous buffer. Reported by Thierry Volpiatto
4161 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4162 (special-display-popup-frame): When popping up a new frame reset
4163 its previous buffers to nil. Simplify code.
b4d72fcf 4164
a7b88dc6
MA
41652011-09-21 Michael Albinus <michael.albinus@gmx.de>
4166
4167 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4168 and process filter, as done also in `shell-command'.
4169
cf4eacfd
MR
41702011-09-21 Martin Rudalics <rudalics@gmx.at>
4171
eca3f3ea 4172 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4173 Call set-window-start with NOFORCE argument t.
4174 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4175 (quit-window): Reword doc-string. Handle new format of
4176 quit-restore parameter. Don't delete window if it has a
4177 previous buffer we can show instead of the present one.
4178 (display-buffer-record-window): Rewrite using a new format for
4179 the quit-restore window parameter
4180 (special-display-popup-frame, display-buffer-same-window)
4181 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4182 (display-buffer-pop-up-window, display-buffer-use-some-window):
4183 Adapt symbol passed to display-buffer-record-window.
4184 * help.el (help-window-setup): Handle new format of quit-restore
4185 parameter.
4186
8d28cb95
SM
41872011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4188
94ab793f
SM
4189 * faces.el (face-list): Fix docstring (bug#9564).
4190
8d28cb95
SM
4191 * window.el (display-buffer--action-function-custom-type):
4192 Don't include internal functions in the Custom interface.
4193
3820edeb
JL
41942011-09-20 Juri Linkov <juri@jurta.org>
4195
4196 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4197 (Info-forward-node, Info-backward-node, Info-next-preorder)
4198 (Info-last-preorder): Use it. (Bug#9528)
4199
5147931d
JL
42002011-09-20 Juri Linkov <juri@jurta.org>
4201
4202 * info.el (Info-last-preorder): Visit last menu item only when
4203 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4204
cf499a1a
JD
42052011-09-20 Julien Danjou <julien@danjou.info>
4206
4207 * password-cache.el (password-cache-remove): Remove entries even if the
4208 value is nil, so that password with a nil value (negative caching) is
4209 possible to invalidate.
4210
f84e2fe2
LM
42112011-09-20 Lawrence Mitchell <wence@gmx.li>
4212
4213 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4214 all whitespace around breakpoint. (Bug#9553)
4215 (f90-find-breakpoint): Only break at whitespace inside a comment.
4216
78054a46
SM
42172011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4218
4219 * minibuffer.el (completion-file-name-table): Keep track of errors.
4220 (completion-table-with-predicate): Handle the case where pred1 is nil.
4221 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4222
345083b2
SM
42232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4224
e24e27be
SM
4225 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4226 (debugger-return-value): Signal an error if the debugging context does
4227 not await any return value.
4228
345083b2
SM
4229 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4230 * image-mode.el (image-toggle-display-text)
4231 (image-toggle-display-image): Stay away from evil `intangible'.
4232
08d355e3
LL
42332011-09-19 Leo Liu <sdl.web@gmail.com>
4234
4235 * replace.el (occur-revert-arguments): Make it permanent-local.
4236 (occur-mode): Don't call font-lock-defontify.
4237
f01da43f
CY
42382011-09-19 Chong Yidong <cyd@stupidchicken.com>
4239
4240 * net/ldap.el (ldap-search-internal): Don't push empty search
4241 result (Bug#9508).
4242
b6072fa6
SM
42432011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4244
4245 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4246
443d6696
MA
42472011-09-19 Michael Albinus <michael.albinus@gmx.de>
4248
4249 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4250 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4251
7cc6e154
JL
42522011-09-18 Juri Linkov <juri@jurta.org>
4253
4254 * buff-menu.el (Buffer-menu-mode-map):
4255 * dired.el (dired-mode-map):
4256 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4257 (lisp-interaction-mode-map):
4258 * emacs-lisp/package.el (package-menu-mode-map):
4259 * epa.el (epa-key-list-mode-map):
4260 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4261 (menu-bar-options-menu):
4262 * outline.el (outline-mode-menu-bar-map):
4263 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4264 * vc/vc-dir.el (vc-dir-menu-map):
4265 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4266 Capitalize non-function content words in menu item strings.
4267
4268 * dired.el (dired-mode-map): Add menu item for
4269 `image-dired-dired-toggle-marked-thumbs'.
4270
80302a81
JL
42712011-09-18 Juri Linkov <juri@jurta.org>
4272
4273 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4274 to `isearch-case-fold-search' and restore its original value
4275 after the `isearch-mode' call.
4276
46c5cf66
JL
42772011-09-18 Juri Linkov <juri@jurta.org>
4278
4279 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4280 because `zgrep' returns 1 for successful matches (bug#9226).
4281
d18b513b
JL
42822011-09-18 Juri Linkov <juri@jurta.org>
4283
4284 * info.el (Info-extract-menu-node-name): Check the second match
4285 for empty string (second test-case of bug#9528).
4286 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4287 intermediate nodes to the history (first test-case of bug#9528).
4288
72753f87
JL
42892011-09-18 Juri Linkov <juri@jurta.org>
4290
4291 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4292 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4293
c9384295
JL
42942011-09-18 Juri Linkov <juri@jurta.org>
4295
1154d12e
JB
4296 * info.el (Info-file-supports-index-cookies):
4297 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4298 outputs one more line for long file names (bug#4142).
c9384295 4299
d473dce8
CY
43002011-09-18 Chong Yidong <cyd@stupidchicken.com>
4301
4302 * newcomment.el (comment-normalize-vars): If prompting for
4303 comment-start, set comment-start-skip too (Bug#8424).
4304
2176854d
JB
43052011-09-18 Johan Bockgård <bojohan@gnu.org>
4306
4307 * icomplete.el: Fix previous fix of Bug#5849.
4308 (icomplete-mode): Don't set completion-show-inline-help.
4309 (icomplete-minibuffer-setup): Set completion-show-inline-help
4310 locally during icompletion.
4311
3aace4e4
CY
43122011-09-18 Chong Yidong <cyd@stupidchicken.com>
4313
c940224f
CY
4314 * woman.el (woman2-process-escapes): Don't delete unrecognized
4315 escapes (Bug#7843).
4316
3aace4e4
CY
4317 * files.el (inhibit-first-line-modes-regexps): Add image files.
4318 (hack-local-variables-prop-line): Return nil for malformed
4319 prop-lines (Bug#9044).
4320
710dec63
MA
43212011-09-18 Michael Albinus <michael.albinus@gmx.de>
4322
4323 * net/tramp.el (top): Don't require 'shell.
4324 (tramp-methods): Fix docstring.
4325 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4326 Return complete remote file name. Handle "smb" case.
4327 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4328 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4329
4330 * net/tramp-compat.el (top): Require 'shell.
4331
4332 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4333 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4334 `tramp-current-host'.
4335 (tramp-get-remote-tmpdir): Remove.
4336
4337 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4338 `tramp-tmpdir' entries.
4339 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4340 (tramp-smb-handle-file-attributes): Ignore errors.
4341 (tramp-smb-wait-for-output): Check also for process end.
4342
5d5ac8ec
LMI
43432011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4344
4345 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4346 when sending QUIT (bug#9312).
4347
8c0f49f0
CY
43482011-09-17 Chong Yidong <cyd@stupidchicken.com>
4349
4350 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4351 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4352 occur-mode-display-occurrence.
4353 (occur-edit-mode): Add usage message.
4354 (occur-cease-edit): New command.
4355 (occur-after-change-function): Use text properties to find the
4356 position of the prefix text.
4357 (occur-engine): Set stickiness of prefix text properties.
4358
8f1383f7
GM
43592011-09-17 Glenn Morris <rgm@gnu.org>
4360
4361 * progmodes/etags.el (complete-tag):
4362 Fix call to completion-in-region. (Bug#9526)
4363
744ba0e3
JL
43642011-09-17 Juri Linkov <juri@jurta.org>
4365
4366 * textmodes/ispell.el (ispell-word): Add to the error message
4367 the word, ispell program name and current dictionary (bug#9121).
4368 (ispell-tex-arg-end): Capitalize "error" in the error message.
4369
d9bbf400
AS
43702011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4371
4372 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4373 check. (Bug#4251)
4374
8da11505
JL
43752011-09-17 Juri Linkov <juri@jurta.org>
4376
4377 * window.el (window-safe-min-height, window-safe-min-width):
4378 Fix typos (followup to bug#9522).
4379
a91adc7e
SJ
43802011-09-17 Sven Joachim <svenjoac@gmx.de>
4381
4382 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4383
064f328a
EZ
43842011-09-16 Eli Zaretskii <eliz@gnu.org>
4385
4386 * simple.el (line-move): If goal-column is set, move by logical
4387 lines, not by display lines. (Bug#971)
4388 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4389 to reflect the above change.
4390
e69df516
SM
43912011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4392
4393 * image.el (imagemagick-register-types): Use regexp-opt.
4394
cbb0f9ab
CY
43952011-09-15 Chong Yidong <cyd@stupidchicken.com>
4396
4397 * window.el (display-buffer-base-action): Rename from
4398 display-buffer-default-action. Make default value empty.
4399 (display-buffer-overriding-action): Convert to defvar.
4400 (display-buffer-fallback-action): New var.
4401
25322144
CY
44022011-09-15 Chong Yidong <cyd@stupidchicken.com>
4403
4404 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4405 declaration.
4406 (package--add-to-archive-contents): If there is a duplicate entry
4407 with an older version, remove it.
4408 (package-menu-mark-delete, package-menu-mark-install)
4409 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4410 (package-menu-mark-obsolete-for-deletion):
4411 Use package-menu-get-status instead of a regexp search.
25322144
CY
4412 (package-menu-get-status): Use tabulated-list-entry.
4413 (package-menu-mark-upgrades): New command.
d770725a 4414 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4415 (package-menu-execute): Do installation before deletion.
4416 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4417 instead of checking major-mode.
4418 (package-menu--find-upgrades): New function.
4419
7520339c
LMI
44202011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4421
4422 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4423 passwords in the log buffer.
65a046c4
LMI
4424 (smtpmail-process-filter): Update the process marker so that the
4425 "broken by peer" status message is inserted in the right place.
7520339c 4426
d3c30954
SM
44272011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4428
3fe48822
SM
4429 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4430 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4431 bibtex-completion-at-point-function.
4432 (bibtex-completion-at-point-function): Use them.
4433
1b8b3954
SM
4434 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4435
d3c30954
SM
4436 * mpc.el (mpc-constraints-tag-lookup): New function.
4437 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4438 also to browser "album|playlist".
4439
72779976
JL
44402011-09-14 Juri Linkov <juri@jurta.org>
4441
4442 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4443 (isearch-edit-string): Use length of `isearch-string' when
4444 `isearch-fail-pos' returns nil.
4445 (isearch-message): Remove duplicate code and call
4446 `isearch-fail-pos' with arg `t'.
4447
a0bf2bcd
CY
44482011-09-14 Chong Yidong <cyd@stupidchicken.com>
4449
17bb0a2d
CY
4450 * replace.el (occur-mode-goto-occurrence): Don't force using other
4451 window (Bug#9499).
4452
a0bf2bcd
CY
4453 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4454
f678e0b6
MR
44552011-09-14 Martin Rudalics <rudalics@gmx.at>
4456
4457 * window.el (display-buffer-window): Remove.
4458 (display-buffer-record-window): Use help-setup window parameter
4459 instead of variable display-buffer-window.
4460 (display-buffer-function, special-display-buffer-names)
4461 (special-display-function): Mention help-setup parameter instead
4462 of display-buffer-window in doc-string.
d3c30954
SM
4463 * help.el (help-window-setup): New argument help-window.
4464 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4465 Reword some messages.
4466 (with-help-window): Pass window used for displaying the buffer
4467 to help-window-setup. Don't set display-buffer-window.
4468
8e39b2e8
GM
44692011-09-13 Glenn Morris <rgm@gnu.org>
4470
4471 * emacs-lisp/debug.el (debugger-make-xrefs):
4472 Preserve point. (Bug#9462)
4473
85e9c04b
CY
44742011-09-13 Chong Yidong <cyd@stupidchicken.com>
4475
4476 * window.el (window-deletable-p): Use next-frame.
4477
1b36ed6a
MR
44782011-09-13 Martin Rudalics <rudalics@gmx.at>
4479
4480 * window.el (window-auto-delete): Remove.
4481 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4482 dedication and previous buffers.
1b36ed6a
MR
4483 (switch-to-prev-buffer): Don't delete window.
4484 (delete-windows-on): Delete a window's frame if and only if the
4485 window is dedicated.
4486 (replace-buffer-in-windows): Delete buffer's window or frame if
4487 and only if window is dedicated.
4488 (quit-window): Handle quit-restore as before last change.
4d61f28d 4489 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4490
ef8ef9fb
CY
44912011-09-13 Chong Yidong <cyd@stupidchicken.com>
4492
4493 * window.el (window-deletable-p): Never delete the last frame on a
4494 given terminal.
4495
b2cba41e
GM
44962011-09-13 Glenn Morris <rgm@gnu.org>
4497
4498 * help.el (describe-key-briefly): Copy previous standard-output change.
4499
51553db6 45002011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4501
4502 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4503
b7556719
GM
45042011-09-13 Glenn Morris <rgm@gnu.org>
4505
4506 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4507 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4508
64b51947
CY
45092011-09-12 Chong Yidong <cyd@stupidchicken.com>
4510
4511 * dired-aux.el (dired-mark-read-string): Don't return default
4512 value on empty input (Bug#9361).
4513 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4514 Omit initial minibuffer contents.
4515 (dired-do-chmod): Signal an error on empty input.
4516 (dired-mark-read-string): Don't return default on empty input.
4517
4518 * files.el (file-modes-symbolic-to-number): Doc fix.
4519
393a301e
SM
45202011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4521
4522 * international/mule-cmds.el (ucs-completions): Remove.
4523 (read-char-by-name): Use complete-with-action instead; add metadata.
4524
fa5660f9
CY
45252011-09-11 Chong Yidong <cyd@stupidchicken.com>
4526
4527 * window.el (display-buffer--action-function-custom-type)
4528 (display-buffer--action-custom-type): New vars.
4529 (display-buffer-alist, display-buffer-default-action)
4530 (display-buffer-overriding-action): Add defcustom types.
4531
4a592f66
CY
4532 * frame.el (delete-other-frames): Doc fix (Bug#276).
4533
73d56dbd
LMI
45342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4535
4536 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4537
37ac18a3
CY
45382011-09-11 Chong Yidong <cyd@stupidchicken.com>
4539
4540 Change modes that used same-window-* vars to use switch-to-buffer.
4541
4542 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4543 Use switch-to-buffer.
4544
4545 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4546 (customize-browse, custom-buffer-create-other-window):
4547 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4548
4549 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4550 (Info-prev, Info-up, Info-speedbar-goto-node)
4551 (info-display-manual): Use switch-to-buffer.
4552 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4553
4554 * mail/sendmail.el (mail): Use switch-to-buffer.
4555 (mail-recover): Use switch-to-buffer-other-window.
4556
4557 * cmuscheme.el (run-scheme, switch-to-scheme):
4558 * ielm.el (ielm):
4559 * shell.el (shell):
4560 * net/rlogin.el (rlogin):
4561 * net/telnet.el (telnet, rsh):
4562 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4563
10195bd6
AS
45642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4565
4566 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4567
b322f63a
LMI
45682011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4569
39d7fed6
LMI
4570 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4571 so don't mention it (bug#9301).
ba5a81f1 4572 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4573
ee0e9f11
LMI
4574 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4575 match `x', `w32' and `ns', like the manual says (bug#9029).
4576
0b1c89c1 4577 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4578 (process-kill-buffer-query-function): Mention the buffer name in
4579 the query.
0b1c89c1 4580
77549ea8
LMI
4581 * image-mode.el (image-next-line): The line parameter is mandatory
4582 (bug#9258).
4583
803ef892
LMI
4584 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4585 which can be useful (bug#9301).
4586
12980837
LMI
4587 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4588
91054f8f
LMI
4589 * subr.el (match-string): Mention that the current buffer should
4590 be the same as the search was done in (bug#9282).
4591
b322f63a
LMI
4592 * facemenu.el: Disable the remove-* commands if the mark isn't
4593 active (bug#9162).
4594
3199b96f
CY
45952011-09-10 Chong Yidong <cyd@stupidchicken.com>
4596
4597 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4598 of display-buffer.
4599 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4600
4601 * replace.el (occur-mode-goto-occurrence)
4602 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4603 and display-buffer.
4604
4605 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4606 display-buffer.
4607
4608 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4609 special-display and same-window variables.
4610 (mail-other-window): Use switch-to-buffer-other-window.
4611 (mail-other-frame): USe switch-to-buffer-other-frame.
4612
393a301e
SM
4613 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4614 Use display-buffer-other-frame.
3199b96f
CY
4615 (gdb-display-gdb-buffer): Use pop-to-buffer.
4616
4617 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4618
4619 * progmodes/python.el: Don't set same-window-buffer-names.
4620
4621 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4622
4623 * window.el (display-buffer-alist): Add *Python*.
4624
8319e0bf
CY
46252011-09-10 Chong Yidong <cyd@stupidchicken.com>
4626
4627 * window.el (display-buffer-alist): Add entry for buffers
4628 previously handled same-window-*.
4629 (display-buffer-alist, display-buffer-default-action)
4630 (display-buffer-overriding-action): Mark as risky.
4631 (display-buffer-alist): Document action function changes.
4632 (display-buffer--same-window-action)
4633 (display-buffer--other-frame-action): New variables.
4634 (switch-to-buffer, display-buffer-other-frame): Use them.
4635 (display-buffer): Rename reuse-frame entry to reusable-frames.
4636 (display-buffer-reuse-selected-window): Function deleted.
4637 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4638 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4639 (display-buffer-special): New function.
4640 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4641 display-buffer-reuse-or-pop-window. Split off special-display
4642 part into display-buffer-special.
4643 (display-buffer-use-some-window): Don't perform any special
4644 pop-up-frames handling.
4645 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4646 (display-buffer--maybe-same-window): Rename from
0d3ff375 4647 display-buffer-maybe-same-window.
8319e0bf 4648
919a69aa
CY
4649 * info.el: Don't set same-window-regexps.
4650 (info-setup): New function.
4651 (info-other-window, info): Call it.
4652
4653 * cus-edit.el: Don't set same-window-regexps.
4654 (customize-group): New argument.
4655 (customize-group-other-window): Use it.
4656 (customize-face, customize-face-other-window): Likewise.
4657 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4658
8319e0bf
CY
4659 * net/rlogin.el:
4660 * net/telnet.el:
4661 * progmodes/gud.el: Don't set same-window-regexps.
4662
4663 * cmuscheme.el:
4664 * ielm.el:
4665 * shell.el:
4666 * mail/sendmail.el:
4667 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4668
25173000
JL
46692011-09-10 Juri Linkov <juri@jurta.org>
4670
4671 * isearch.el (isearch-edit-string): Remove obsolete mention of
4672 `C-w' (`isearch-yank-word-or-char') from docstring.
4673 (isearch-query-replace): Fix typo in docstring (bug#9466).
4674
056e44ef
JL
46752011-09-10 Juri Linkov <juri@jurta.org>
4676
4677 * paren.el (show-paren-function): Don't show escaped parens.
4678 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4679
c3760c17
EZ
46802011-09-10 Eli Zaretskii <eliz@gnu.org>
4681
4682 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4683 (mm-default-file-encoding): Remove autoload forms, they are
4684 replaced with autoload cookies in mml.el and mm-encode.el.
4685 (mail-add-attachment): New command.
4686 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4687 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4688 the doc string.
4689 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4690
fece895e
RT
46912011-09-10 Reuben Thomas <rrt@sc3d.org>
4692
e69df516
SM
4693 * simple.el (count-words-region): Use buffer if there's no region
4694 (bug#9429).
fece895e 4695
5e68ce4a
JL
46962011-09-09 Juri Linkov <juri@jurta.org>
4697
4698 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4699 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4700 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4701
0a6b9622
AM
47022011-09-09 Alan Mackenzie <acm@muc.de>
4703
4704 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4705 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4706
14a29deb
EZ
47072011-09-09 Eli Zaretskii <eliz@gnu.org>
4708
4709 Fix for Savannah bug#9392.
4710 * simple.el (mail-encode-mml): New defvar.
4711
4712 * mail/rmail.el (mail-encode-mml): Add a defvar.
4713 (rmail-enable-mime-composing): Default to t.
4714 (rmail-forward): Use MIME method of forwarding only if both
4715 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4716 Set mail-encode-mml non-nil if the MIME method was used.
4717
4718 * mail/sendmail.el (mml-to-mime): Add autoload form.
4719 (mail-encode-mml): Add a defvar.
4720 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4721 to nil.
4722 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4723 message through mml-to-mime, and reset mail-encode-mml to nil.
4724
28c45130
GM
47252011-09-09 Glenn Morris <rgm@gnu.org>
4726
4727 * woman.el (woman-if-body): When processing an .el block,
4728 do not delete the next .el block as well. (Bug#9447)
69f4b618 4729 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4730
9b1c252e
MR
47312011-09-08 Martin Rudalics <rudalics@gmx.at>
4732
4733 * window.el (window-deletable-p): Make sure window is live before
4734 invoking window-prev-buffers.
4735
567457e3
LL
47362011-09-08 Leo Liu <sdl.web@gmail.com>
4737
4738 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4739
97f05794
JL
47402011-09-08 Juri Linkov <juri@jurta.org>
4741
4742 * progmodes/compile.el (compilation-environment): Make it
4743 a defcustom (bug#8340).
4744
8b0874b5
MR
47452011-09-08 Martin Rudalics <rudalics@gmx.at>
4746
4747 * window.el (frame-auto-delete): Rename to window-auto-delete.
4748 Make it control auto-deletion of windows and/or frames.
4749 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4750 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4751 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4752 Rewrite handling of case when window/frame can be deleted.
4753 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4754 argument t. (Bug#9456)
8b0874b5 4755
4feb6e73
CY
47562011-09-07 Chong Yidong <cyd@stupidchicken.com>
4757
4758 * help-mode.el (help-mode): Restore autoload.
4759
91ab9c13
JL
47602011-09-07 Juri Linkov <juri@jurta.org>
4761
4762 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4763 `compilation-environment'. Set buffer-local
4764 `compilation-environment' to `thisenv' later after (funcall mode).
4765 (Bug#8340)
4766
4767 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4768 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4769 instead of replacing its value. (Bug#8340)
4770
0527e251
JL
47712011-09-07 Juri Linkov <juri@jurta.org>
4772
4773 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4774 based on text properties put by `grep-filter' instead of matching
4775 escape sequences.
4776 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4777 to the value of `grep-error-screen-columns' (bug#9438).
4778
249f792c
JL
47792011-09-07 Juri Linkov <juri@jurta.org>
4780
4781 * simple.el (next-error-highlight, next-error-highlight-no-select):
4782 Doc fix (bug#9432).
4783
ff7271b9
OT
47842011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4785
4786 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4787 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4788
183fc730
LL
47892011-09-07 Leo Liu <sdl.web@gmail.com>
4790
4791 * net/rcirc.el (rcirc-mode): Conditionally initialize
4792 rcirc-input-ring.
4793
77694924
SM
47942011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4795
4796 * emacs-lisp/find-func.el (find-function-C-source): Only set
4797 find-function-C-source-directory after checking that we found a source
4798 file there (bug#9440).
4799
d809b8eb
AM
48002011-09-06 Alan Mackenzie <acm@muc.de>
4801
4802 * isearch.el (isearch-other-meta-char): Wherever a key list is
4803 unread, "unread" the prefix arg, too. This fixes bug #8901.
4804
453de99f
OG
48052011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4806
4807 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4808
90439906
JL
48092011-09-05 Juri Linkov <juri@jurta.org>
4810
4811 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4812
f62bd846
JL
48132011-09-05 Juri Linkov <juri@jurta.org>
4814
4815 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4816 keeping point where processing of grep matches begins, and
4817 continue to delete remaining escape sequences from the same point.
4818 (grep-filter): Make leading zero optional in "0?1;31m" because
4819 git-grep emits "\033[1;31m" escape sequences unlike expected
4820 "\033[01;31m" as GNU Grep does (bug#9408).
4821 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4822
045820ec
JL
48232011-09-05 Juri Linkov <juri@jurta.org>
4824
4825 * subr.el (y-or-n-p): Capitalize "yes".
4826
f5e29b9b
MA
48272011-09-04 Michael Albinus <michael.albinus@gmx.de>
4828
4829 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4830 `tramp-cache-unload-hook' where appropriate.
4831 (tramp-methods): Rename `tramp-remote-sh' to
4832 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4833 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4834
4835 * net/tramp-sh.el (top): Don't require 'shell.
4836 (tramp-methods): Add `tramp-remote-shell' and
4837 `tramp-remote-shell-args' entries.
4838 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4839 (tramp-sh-handle-shell-command): Remove.
4840 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4841 Use `tramp-remote-shell'.
4842
2784c434
CY
48432011-09-03 Chong Yidong <cyd@stupidchicken.com>
4844
393a301e 4845 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4846 (sendmail-query-once): Save directly to send-mail-function.
4847 Update message-send-mail-function too.
4848
4849 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4850
464cdf56
CS
48512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4852
4853 * progmodes/python.el (python-mode-map): Use correct function to
4854 start python interpreter from menu-bar (as reported by Geert
4855 Kloosterman).
4856 (inferior-python-mode-map): Fix typo.
393a301e 4857 (python-shell-map): Remove.
464cdf56 4858
d37e5c87
DD
48592011-09-03 Deniz Dogan <deniz@dogan.se>
4860
4861 * net/rcirc.el (rcirc-print): Simplify code for
4862 rcirc-scroll-show-maximum-output. There is no need to walk
4863 through all windows to find the right one.
4864
f3ada0ee
CS
48652011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4866
4867 * help.el (help-return-method): Doc fix.
4868
1f3c99ca
MR
48692011-09-03 Martin Rudalics <rudalics@gmx.at>
4870
4871 * window.el (window-deletable-p): Don't return a non-nil value
4872 when there's a buffer that was shown in the window before.
4873 (Bug#9419)
393a301e
SM
4874 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4875 Set window's previous buffers to nil.
1f3c99ca 4876
a3cf097f
EZ
48772011-09-03 Eli Zaretskii <eliz@gnu.org>
4878
4879 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4880 newline before and after the tag line, so it doesn't interfere
4881 with determining the paragraph direction of bidirectional text.
4882
3d03de90
LL
48832011-09-03 Leo Liu <sdl.web@gmail.com>
4884
4885 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
4886
c3313451
CY
48872011-09-02 Chong Yidong <cyd@stupidchicken.com>
4888
393a301e 4889 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
4890 (pop-to-buffer): Change interactive spec. Pass second argument
4891 directly to display-buffer.
4892 (display-buffer): Fix interactive spec. Use functionp to
4893 distinguish between a function and a list of functions.
4894
4895 * abbrev.el (edit-abbrevs):
4896 * arc-mode.el (archive-extract):
4897 * autoinsert.el (auto-insert):
4898 * bookmark.el (bookmark-bmenu-list):
4899 * files.el (find-file):
4900 * view.el (view-buffer):
4901 * progmodes/compile.el (compilation-goto-locus):
4902 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4903
89894cd8
CY
49042011-09-02 Chong Yidong <cyd@stupidchicken.com>
4905
4906 * window.el (display-buffer-alist): Doc fix.
4907 (display-buffer): Add docstring. Don't treat
4908 display-buffer-default specially.
4909 (display-buffer-reuse-selected-window)
4910 (display-buffer-same-window, display-buffer-maybe-same-window)
4911 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4912 (display-buffer-pop-up-window)
4913 (display-buffer-reuse-or-pop-window)
4914 (display-buffer-use-some-window): New functions.
4915 (display-buffer-default-action): Use them.
393a301e 4916 (display-buffer-default): Delete.
89894cd8
CY
4917 (pop-to-buffer-1): Fix choice of actions.
4918
ae0bc9fb
SM
49192011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4920
4921 * minibuffer.el (completion--insert-strings): Don't get confused by
4922 completion entries that end with an LF char.
4923
e9d90883
EZ
49242011-09-01 Eli Zaretskii <eliz@gnu.org>
4925
4926 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4927
437014c8
CY
49282011-09-01 Chong Yidong <cyd@stupidchicken.com>
4929
4930 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
4931 (display-buffer-same-window, display-buffer-other-window):
4932 New functions.
437014c8
CY
4933 (pop-to-buffer-1): New function. Use the above.
4934 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 4935 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
4936
4937 * view.el (view-buffer-other-window, view-buffer-other-frame):
4938 Just use pop-to-buffer.
4939
a5e063d5
TV
49402011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4941
4942 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
4943
793d32bb
WH
49442011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
4945
4946 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
4947
d65e4c15
RS
49482011-08-31 Richard Stallman <rms@gnu.org>
4949
4950 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4951 of the separation of rmail-view-buffer from rmail-buffer.
4952 If you say no to "replace original", the decrypt is in the
4953 view buffer. If you say yes, the decrypt goes into the
4954 rmail buffer also.
4955
f818cd2a
MR
49562011-08-31 Martin Rudalics <rudalics@gmx.at>
4957
4958 * window.el (display-buffer-window): Rewrite doc-string.
4959 (display-buffer-record-window): New function.
4960 (display-buffer-macro-specifiers)
4961 (display-buffer-even-window-sizes, display-buffer-set-height)
4962 (display-buffer-set-width, display-buffer-in-window)
4963 (display-buffer-reuse-window, display-buffer-split-specifiers)
4964 (display-buffer-side-specifiers, display-buffer-split-window-1)
4965 (display-buffer-split-window, display-buffer-split-atom-window)
4966 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4967 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
4968 (display-buffer-other-window-means-other-frame)
4969 (display-buffer-normalize-special)
4970 (display-buffer-normalize-default)
4971 (display-buffer-normalize-argument)
4972 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
4973 (display-buffer-normalize-specifiers, display-buffer-frame)
4974 (display-buffer-same-window, display-buffer-same-frame)
4975 (display-buffer-other-window)
4976 (display-buffer-same-frame-other-window)
4977 (display-buffer-other-frame, pop-to-buffer-same-window)
4978 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
4979 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
4980 (switch-to-buffer-same-frame)
4981 (switch-to-buffer-other-window-same-frame)
4982 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
4983 (display-buffer-alist-set-1, display-buffer-alist-set-2)
4984 (display-buffer-alist-set): Remove.
4985 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
4986 (special-display-regexps, special-display-function):
4987 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
4988 parameter.
4989 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
4990 (special-display-frame-alist, special-display-popup-frame)
4991 (same-window-buffer-names, same-window-regexps, same-window-p)
4992 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4993 (split-window-preferred-function, split-height-threshold)
4994 (split-width-threshold, window-splittable-p)
4995 (split-window-sensibly, window--try-to-split-window)
4996 (window--frame-usable-p, even-window-heights)
4997 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
4998 (window--display-buffer-2, display-buffer-other-frame):
4999 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5000 (display-buffer-default, display-buffer-assq-regexp): New functions.
5001 (display-buffer-alist): Rewrite doc-string.
5002 (display-buffer-default-action)
5003 (display-buffer-overriding-action): New variables.
5004 (display-buffer, switch-to-buffer): Rewrite.
5005 (pop-to-buffer): Restore Emacs 23 behavior but use
5006 window-normalize-buffer-to-display.
5007 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5008 Restore Emacs 23 behavior but use
5009 window-normalize-buffer-to-switch-to.
5010 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5011 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5012 Rewrite using Emacs 23 options.
f818cd2a 5013
5bc3b51d
MA
50142011-08-31 Michael Albinus <michael.albinus@gmx.de>
5015
5016 * net/tramp.el (tramp-root-regexp): Remove.
5017 (tramp-completion-file-name-regexp-unified)
5018 (tramp-completion-file-name-regexp-separate)
5019 (tramp-completion-file-name-regexp-url): Don't use leading volume
5020 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5021 (tramp-drop-volume-letter): Simplify definition.
5022 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5023
b1a4f8e1
SM
50242011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5027 (bug#9356).
5028
5664fa7b
RT
50292011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5030
b1a4f8e1 5031 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5032
9a45d6c3
JL
50332011-08-29 Juri Linkov <juri@jurta.org>
5034
5035 * isearch.el (isearch-done): Don't display message "Mark saved"
5036 when arg `edit' is non-nil to prevent its flicker in the echo area.
5037
fb87e0fb
CY
50382011-08-28 Chong Yidong <cyd@stupidchicken.com>
5039
5040 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5041 obsolete packages for deletion.
5042
09ac1c2a
CS
50432011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5044
5045 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5046 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5047 view-mode from help-mode.
5048 (help-xref-override-view-map): Remove.
5049 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5050 view-mode is not used anymore.
5051
7a1ff57f
CY
50522011-08-28 Chong Yidong <cyd@stupidchicken.com>
5053
5054 * server.el (server-port): Doc fix.
5055
b9696605
CY
5056 * cus-theme.el (custom-theme-choose-mode): Inherit from
5057 special-mode (Bug#9124).
5058 (custom-theme-choose-mode-map): Add special-mode to parent.
5059
ef8cdf8c
AM
50602011-08-28 Alan Mackenzie <acm@muc.de>
5061
5062 * progmodes/cc-fonts.el
5063 (c-make-font-lock-BO-decl-search-function): New function.
5064 (c-basic-matchers-after - "Fontify the clauses after various
5065 keywords"): Extract the three keyword lists for the 3 erroneous
5066 constructs from the list of four, and use the new function above
5067 in place of an old one.
5068
27de4e20
DD
50692011-08-28 Deniz Dogan <deniz@dogan.se>
5070
5071 * net/rcirc.el (rcirc-insert-prev-input)
5072 (rcirc-insert-next-input): Remove unused argument.
5073
356a3681
SM
50742011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5077
3fc9b218
AM
50782011-08-27 Alan Mackenzie <acm@muc.de>
5079
5080 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5081 handle function pointer parameters properly.
5082
538a061c
MR
50832011-08-27 Martin Rudalics <rudalics@gmx.at>
5084
5085 * window.el (display-buffer-reuse-window): Fix case where
5086 selected window was reused with non-nil OTHER-WINDOW argument.
5087 (Bug#9381)
5088
35b1c40c
DD
50892011-08-27 Deniz Dogan <deniz@dogan.se>
5090
5091 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5092 oftc's NickServ messages.
5093
2f6a3e79
GM
50942011-08-27 Glenn Morris <rgm@gnu.org>
5095
5096 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5097
7254299e
CY
50982011-08-26 Chong Yidong <cyd@stupidchicken.com>
5099
5100 * emacs-lisp/package.el (package-install): Call package-initialize
5101 if called interactively.
5102
f8ccf167
LL
51032011-08-26 Leo Liu <sdl.web@gmail.com>
5104
5105 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5106
3e8cd5ce
JL
51072011-08-25 Juri Linkov <juri@jurta.org>
5108
5109 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5110 `search-whitespace-regexp' (bug#9364).
5111
93eb7113
JL
51122011-08-25 Juri Linkov <juri@jurta.org>
5113
5114 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5115 `regexp-search-ring' to their global values to protect from
5116 updating by `read-from-minibuffer' (bug#9185).
5117
f65d1611
JL
51182011-08-25 Juri Linkov <juri@jurta.org>
5119
5120 * textmodes/ispell.el (ispell-command-loop): Add newline
5121 at the end of the "Use option `i'..." line.
5122
f1cf7a31
JL
51232011-08-25 Juri Linkov <juri@jurta.org>
5124
5125 * battery.el (display-battery-mode): If `battery-status-function'
5126 or `battery-mode-line-format' is nil, display the message and set
5127 `display-battery-mode' to nil (bug#9363).
5128
0c95fcf7
EZ
51292011-08-25 Eli Zaretskii <eliz@gnu.org>
5130
5131 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5132 bidi-string-mark-left-to-right; they are unnecessary now.
5133
a2ebe600
DD
51342011-08-25 Deniz Dogan <deniz@dogan.se>
5135
5136 * net/quickurl.el: Documentation typo fixes.
5137
e4ed06f1
CY
51382011-08-25 Chong Yidong <cyd@stupidchicken.com>
5139
5140 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5141
e5f1c99e
GM
51422011-08-25 Glenn Morris <rgm@gnu.org>
5143
b2948976
GM
5144 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5145
e5f1c99e
GM
5146 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5147 (smtpmail-via-smtp): Handle nil response from smtp.
5148
f22f4808
JL
51492011-08-24 Juri Linkov <juri@jurta.org>
5150
5151 * proced.el (proced-marked): Inherit from `error' instead of
5152 `font-lock-warning-face'.
5153
5154 * ibuffer.el (ibuffer-marked-face): Change default face from
5155 `font-lock-warning-face' to `warning'.
5156 (ibuffer-deletion-face): Change default face from
5157 `font-lock-type-face' to `error'.
5158
5159 * battery.el (battery-update): Use the face `error' instead of
5160 `font-lock-warning-face' (bug#6117).
5161
6a93965e
JL
51622011-08-24 Juri Linkov <juri@jurta.org>
5163
5164 * faces.el (success): Change face color from "Green3" to
5165 "ForestGreen" on light background (bug#9353).
5166
1ed43b09
CY
51672011-08-24 Chong Yidong <cyd@stupidchicken.com>
5168
5664fa7b
RT
5169 * window.el (quit-window): Rename from quit-restore-window.
5170 Use same arglist as old quit-window.
1ed43b09
CY
5171 (frame-auto-delete): Doc fix.
5172
5173 * view.el (view-mode-exit): Use quit-window.
5174
11dcdbb2
JL
51752011-08-24 Juri Linkov <juri@jurta.org>
5176
5177 * isearch.el (isearch-ring-adjust1): Start visiting previous
5178 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5179 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5180 for empty search string (when the last search string is reused
5181 automatically) to adjust the isearch ring to the last element and
5182 prepare the correct index for further M-p commands (bug#9185).
5183
de62b4df
KH
51842011-08-24 Kenichi Handa <handa@m17n.org>
5185
5186 * international/ucs-normalize.el: If decomposition property of
5187 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5188 nil.
5189 (nfd, nfkd): Likewise.
5190
963b492b
SM
51912011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5192
5193 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5194 from process filters aren't reliably transmitted to the surrounding
5195 accept-process-output.
5196 (mpc-proc-check): New function.
5197 (mpc-proc-sync): Use it (bug#8293)
5198
93b6b5e1
SM
51992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5200
5201 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5202 Add compatibility functions (bug#9313).
5203
bca633fb
EZ
52042011-08-23 Eli Zaretskii <eliz@gnu.org>
5205
b177498a
EZ
5206 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5207
6df6ae42 5208 * international/uni-bidi.el: Regenerate.
bca633fb 5209
0902a04e
KH
52102011-08-23 Kenichi Handa <handa@m17n.org>
5211
5212 * international/charprop.el:
5213 * international/uni-bidi.el:
5214 * international/uni-category.el:
5215 * international/uni-combining.el:
5216 * international/uni-comment.el:
5217 * international/uni-decimal.el:
5218 * international/uni-decomposition.el:
5219 * international/uni-digit.el:
5220 * international/uni-lowercase.el:
5221 * international/uni-mirrored.el:
5222 * international/uni-name.el:
5223 * international/uni-numeric.el:
5224 * international/uni-old-name.el:
5225 * international/uni-titlecase.el:
5226 * international/uni-uppercase.el: Regenerate.
5227
3bbf23bc
MR
52282011-08-23 Martin Rudalics <rudalics@gmx.at>
5229
5230 * help.el (help-window-setup): Fix message displayed when other
5231 window is reused. (Bug#9341)
5232
b3fd59bd
SM
52332011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5234
1802e444
SM
5235 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5236 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5237
b3fd59bd
SM
5238 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5239 Mark obsolete.
5240 * shell.el (shell-parse-pcomplete-arguments): New function.
5241 (shell-completion-vars): Use it instead (bug#9160).
5242
4eb61348
SM
52432011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5244
867cab74
SM
5245 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5246 strings and comments (bug#9333).
5247
4eb61348
SM
5248 * emacs-lisp/debug.el (debug-arglist): New function.
5249 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5250 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5251
262a1439
JL
52522011-08-22 Juri Linkov <juri@jurta.org>
5253
56ee679c
JL
5254 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5255 Revert regexp that highlights output switches to its old
5256 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5257
262a1439
JL
5258 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5259 to check for empty output (bug#9226).
5260
f13f86fb
CY
52612011-08-22 Chong Yidong <cyd@stupidchicken.com>
5262
5263 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5264 symbol-constituent as the default, as that stops font-lock from
5265 working properly (Bug#8843).
5266
c65c9622
LMI
52672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5268
5269 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5270 `coding-system-for-*' around the process open call to avoid
5271 auth-source side effects.
e7f2c178 5272 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5273 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5274 probe hangs.
c65c9622 5275
23a8a5ab
CY
52762011-08-21 Chong Yidong <cyd@stupidchicken.com>
5277
ff98b2dd
CY
5278 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5279
23a8a5ab
CY
5280 * emacs-lisp/find-func.el (find-function-noselect): New arg
5281 lisp-only.
5282
5283 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5284 signal an error for built-in functions (Bug#6664).
5285
f5e3c598
LMI
52862011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5287
5288 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5289 (smtpmail-try-auth-methods): Use it.
5290
a3f2468a
CY
52912011-08-21 Chong Yidong <cyd@stupidchicken.com>
5292
2c34e8da
CY
5293 * font-lock.el (font-lock-fontify-region)
5294 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5295 (font-lock-default-unfontify-buffer)
5296 (font-lock-default-fontify-region)
5297 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5298
b3fd59bd
SM
5299 * progmodes/compile.el (compilation-error-properties):
5300 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5301 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5302 `ant' regexp.
ee31aabc 5303
a3f2468a
CY
5304 * net/browse-url.el (browse-url-firefox): Don't call
5305 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5306
8e999f70
GM
53072011-08-20 Glenn Morris <rgm@gnu.org>
5308
c21a496a
GM
5309 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5310
59ee0542
GM
5311 * tutorial.el (tutorial--default-keys): Update some default bindings.
5312
8e999f70
GM
5313 * files.el (hack-local-variables): Fully ignore case for "mode:".
5314
e3715033
AM
53152011-08-20 Alan Mackenzie <acm@muc.de>
5316
5317 Resolve invalid use of a regexp in regexp-opt.
5318
4d61f28d
JB
5319 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5320 detection for a java annotation.
e3715033 5321
4d61f28d 5322 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5323 detection for a java annotation.
5324
4d61f28d
JB
5325 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5326 handling for java.
e3715033
AM
5327 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5328
04ed2e9c
CY
53292011-08-20 Chong Yidong <cyd@stupidchicken.com>
5330
5331 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5332 (Bug#9274).
5333
826cee64
AM
53342011-08-20 Alan Mackenzie <acm@muc.de>
5335
58179cce 5336 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5337 such a construct. Mainly for when jit-lock etc. starts a chunk
5338 here.
5339
58179cce 5340 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5341 variable.
58179cce 5342 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5343 c-make-font-lock-search-function.
5344 (c-make-font-lock-search-function): Use the above function.
5345 (c-make-font-lock-context-search-function): New function.
5346 (c-cpp-matchers): Enhance the preprocessor expression case with
5347 the above function
5348 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5349 which takes an expression.
5350
5351 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5352
13009bd8
MR
53532011-08-20 Martin Rudalics <rudalics@gmx.at>
5354
5355 * window.el (display-buffer-reuse-window)
5356 (display-buffer-pop-up-window): Don't reuse or split a side
5357 window.
5358
9234ff7f
GM
53592011-08-19 Glenn Morris <rgm@gnu.org>
5360
5361 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5362 Downcase "Mode:". (Bug#9331)
9234ff7f 5363
f635daa1
CY
53642011-08-18 Chong Yidong <cyd@stupidchicken.com>
5365
5366 * international/characters.el: Add L and R categories.
5367
5368 * subr.el (bidi-string-mark-left-to-right): Rename from
5369 string-mark-left-to-right. Use category search.
5370
5371 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5372
bc987f8b
JL
53732011-08-18 Juri Linkov <juri@jurta.org>
5374
5375 * faces.el (error, warning, success): New faces with definitions
5376 copied from old default values of `font-lock-warning-face',
5377 `compilation-warning', `compilation-info' (bug#6117).
5378
5379 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5380
5381 * progmodes/compile.el (compilation-error): Inherit from `error'.
5382 (compilation-warning): Inherit from `warning'.
5383 (compilation-info): Inherit from `success'.
5384
5385 * dired.el (dired-marked): Inherit from `warning'.
5386 (dired-flagged): Inherit from `error'.
5387
57173b96
LMI
53882011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5389
3e79eb87
LMI
5390 * mail/smtpmail.el (auth-source): Require to avoid problems with
5391 binding variables (bug#9298). Also clean up some unused
5392 autoloads.
5393
b3fd59bd
SM
5394 * net/network-stream.el (network-stream-open-starttls):
5395 Support using starttls.el without using gnutls-cli.
57173b96 5396
02b404de
JL
53972011-08-17 Juri Linkov <juri@jurta.org>
5398
5399 * progmodes/grep.el (rgrep): Handle the case when
5400 `grep-find-command' is a cons cell (bug#9278).
5401
8c9177f2
MR
54022011-08-17 Martin Rudalics <rudalics@gmx.at>
5403
5404 * window.el (display-buffer-pop-up-frame): Run frame creation
5405 function with BUFFER current (as special-display-popup-frame
5406 does). Reported by Drew Adams.
5407
3644a0ab
DU
54082011-08-17 Daiki Ueno <ueno@unixuser.org>
5409
5410 * epa-mail.el: Simplify GnuPG group expansion using
5411 epg-expand-group.
5412 (epa-mail-group-alist, epa-mail-group-modtime)
5413 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5414 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5415 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5416 Remove.
5417
5e617bc2 54182011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5419
5420 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5421
9c4aeabf
AM
54222011-08-16 Alan Mackenzie <acm@muc.de>
5423
5424 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5425 Correct, to avoid the inside of macros.
5426
3a99bf64
RS
54272011-08-16 Richard Stallman <rms@gnu.org>
5428
04963aa8
RS
5429 * epa-mail.el: Handle GnuPG group definitions.
5430 (epa-mail-group-alist, epa-mail-group-modtime)
5431 (epa-mail-gnupg-conf-file): New variables.
5432 (epa-mail-parse-groups, epa-mail-sync-groups)
5433 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5434 (epa-mail-expand-recipients): New functions.
5435 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5436
177549d0
RS
5437 * mail/rmail.el (rmail-epa-decrypt): New command.
5438
fe38beef
RS
5439 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5440 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5441 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5442 (epa-decrypt-armor-in-region): Make error message clearer.
5443
934eacb9
SM
54442011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5445
5446 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5447 and "a2b" to "ab" for `prefix'.
5448
d024fb4e
CY
54492011-08-14 Chong Yidong <cyd@stupidchicken.com>
5450
5451 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5452 filter groups.
de148fee
CY
5453 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5454 Fourquet (Bug#8804).
d024fb4e 5455
62f1ca49
JB
54562011-08-12 Juanma Barranquero <lekktu@gmail.com>
5457
5458 * startup.el (argi): Declare as global variable (bug#9275).
5459
9ccaaa4b
CY
54602011-08-12 Chong Yidong <cyd@stupidchicken.com>
5461
5462 * subr.el (string-mark-left-to-right): Search the entire string
5463 for RTL script, not just the terminating character. Doc fix.
5464
a3dae87a
SM
54652011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5466
6cd18349
SM
5467 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5468 New function.
5469 (js--regexp-literal, js-syntax-propertize-function): Remove.
5470 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5471 (js-mode-map): Don't rebind electric keys.
5472 (js-insert-and-indent): Remove.
5473 (js-mode): Setup electric-layout and electric-indent instead.
5474
a3dae87a
SM
5475 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5476
9d5cb631
DU
54772011-08-12 Daiki Ueno <ueno@unixuser.org>
5478
5479 * epa.el (epa-progress-callback-function): Fix the logic of
5480 displaying progress.
5481 * epa-file.el (epa-file-insert-file-contents): Make progress
5482 display more user-friendly.
5483 (epa-file-write-region): Ditto.
5484
3e26a4a2
CY
54852011-08-10 Chong Yidong <cyd@stupidchicken.com>
5486
5487 * subr.el (string-mark-left-to-right): New function.
5488
5489 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5490 Use string-mark-left-to-right.
5491 (list-buffers-noselect): Caller changed.
5492
a3dae87a
SM
5493 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5494 Use string-mark-left-to-right.
3e26a4a2
CY
5495 (tabulated-list-print): Recenter after moving point.
5496
ac8cf6e6
JL
54972011-08-10 Juri Linkov <juri@jurta.org>
5498
5499 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5500 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5501 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5502
8d96c9a4
CY
55032011-08-09 Chong Yidong <cyd@stupidchicken.com>
5504
5505 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5506 (Bug#7554).
5507
7be1c708 55082011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5509
5510 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5511 character. (Bug#6594)
5512
37e11a63
CY
55132011-08-08 Chong Yidong <cyd@stupidchicken.com>
5514
839dde57
CY
5515 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5516 (image-dired--with-db-file): New macro.
5517 (image-dired-write-tags, image-dired-remove-tag)
5518 (image-dired-create-gallery-lists, image-dired-write-comments)
5519 (image-dired-get-comment, image-dired-mark-tagged-files)
5520 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5521 (image-dired-gallery-generate): Use insert-file-contents.
5522
37e11a63
CY
5523 * time.el (display-time-world-list, display-time-world-display):
5524 * time-stamp.el (time-stamp-string):
5525 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5526 set-time-zone-rule (Bug#7337).
5527
0b4946c4
DU
55282011-08-08 Daiki Ueno <ueno@unixuser.org>
5529
5530 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5531 (epg-error-to-string, epg-errors-to-string): New function.
5532 (epg-wait-for-completion): Reverse errors list.
5533 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5534 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5535 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5536 (epg-sign-keys, epg-generate-key-from-file)
5537 (epg-generate-key-from-string): Format errors by using
5538 epg-errors-to-string (bug#9255).
5539 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5540
75bfc667
JL
55412011-08-07 Juri Linkov <juri@jurta.org>
5542
5543 * faces.el (list-faces-display): Remove extra angle bracket
5544 from `help-mode-map'.
5545
5546 * info.el (Info-history-toc-nodes): Doc fix.
5547
5548 * longlines.el (longlines-mode): Doc fix.
5549
673e08bb
SM
55502011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5551
4640dd88
SM
5552 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5553 of statements and in a few more cases (bug#9183).
5554
673e08bb
SM
5555 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5556 New functions.
5557 (cl-transform-lambda): Use them (bug#9239).
5558
89b3f019
MR
55592011-08-05 Martin Rudalics <rudalics@gmx.at>
5560
5561 * window.el (display-buffer-same-window)
5562 (display-buffer-same-frame, display-buffer-other-window)
5563 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5564 (pop-to-buffer-other-window)
5565 (pop-to-buffer-same-frame-other-window)
5566 (pop-to-buffer-other-frame): Make them defuns.
5567 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5568
640c8776
SM
55692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5570
5571 * subr.el (make-composed-keymap): Move from C. Change calling
5572 convention, and improve docstring to bring attention to a subtle point.
5573 * minibuffer.el (completing-read-default): Adjust accordingly.
5574
63648a95
MA
55752011-08-03 Michael Albinus <michael.albinus@gmx.de>
5576
5577 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5578 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5579
5580 * net/trampver.el: Update release number.
5581
b796c9b7
SM
55822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5583
5584 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5585 "in" (bug#9190).
5586
2239d7d5
LMI
55872011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5588
e07dd7c3
LMI
5589 * mail/sendmail.el (sendmail-query-once): Restore the current
5590 buffer after querying (bug#9074).
5591
0e6a2bd7
LMI
5592 * dired.el (dired-flagged): Use different faces for marked and
5593 flagged files (bug#6117).
5594
ce887515
LMI
5595 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5596 (bug#4433).
5597
92f2affc
LMI
5598 * ido.el (ido-mode): Switch off the message if called
5599 non-interactively.
5600
57d5aff0
LMI
5601 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5602 before 587, since it appears that that's more likely to work for
5603 more people.
5604
98cd6c18 5605 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5606 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5607 exist.
5608
b96dec83
LMI
5609 * info.el: Remove the `Info-beginning-of-buffer' function
5610 (bug#8325).
5611
b796c9b7
SM
5612 * net/network-stream.el (network-stream-open-starttls):
5613 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5614
d90e2ea0
MR
56152011-08-01 Martin Rudalics <rudalics@gmx.at>
5616
5617 * window.el (display-buffer-in-window): Don't set dedicated status
5618 of window here (Bug#9215).
5619 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5620 (display-buffer-pop-up-side-window)
b796c9b7 5621 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5622
cca09170
SM
56232011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5624
5625 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5626 before binding generated-autoload-file.
5627
027b979c
DD
56282011-08-01 Deniz Dogan <deniz@dogan.se>
5629
5630 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5631
3c7ee4f3
MA
56322011-07-30 Michael Albinus <michael.albinus@gmx.de>
5633
5634 Sync with Tramp 2.2.2.
5635
5636 * net/trampver.el: Update release number.
5637
2cc8e51a
JL
56382011-07-30 Juri Linkov <juri@jurta.org>
5639
5640 * dired-aux.el (dired-touch-initial): Remove function.
5641 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5642 current time, and `default' to the last modification time of the
5643 current marked file (bug#6887).
5644
a514d856
JM
56452011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5646
5647 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5648 numeric argument to read-number (bug#9163).
a514d856 5649
8a7eddd7
MA
56502011-07-27 Michael Albinus <michael.albinus@gmx.de>
5651
5652 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5653 connection process, it could be nil.
5654
1ddd96f5
LL
56552011-07-27 Leo Liu <sdl.web@gmail.com>
5656
5657 Simplify url handling in rcirc-mode.
5658
5659 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5660 (rcirc-browse-url-at-mouse): Remove.
5661 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5662
b248a85d
AM
56632011-07-26 Alan Mackenzie <acm@muc.de>
5664
5665 Fontify bitfield declarations properly.
5666
5667 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5668 (c-symbol-chars): Now exported as a lang variable.
5669 (c-not-primitive-type-keywords): New lang variable.
5670
5671 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5672 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5673 parsed as a bitfield declaration.
b248a85d 5674
b796c9b7
SM
5675 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5676 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5677 (c-punctuation-in): New function.
5678 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5679 declarations properly.
5680
68575ab0
UJ
56812011-07-26 Ulf Jasper <ulf.jasper@web.de>
5682
5683 * calendar/icalendar.el (icalendar--all-events): Take care of
5684 multiple vcalendars in a single file.
b796c9b7 5685 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5686
0f0a88b9
DD
56872011-07-25 Deniz Dogan <deniz@dogan.se>
5688
5689 * image.el (insert-image): Clarifying docstring.
5690
0b3f36df
MA
56912011-07-24 Michael Albinus <michael.albinus@gmx.de>
5692
5693 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5694 `tramp-send-command-and-check' if there is no error.
5695 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5696
a9901f61
AM
56972011-07-22 Alan Mackenzie <acm@muc.de>
5698
5699 Prevent cc-langs.elc being loaded at run time.
5700
5701 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5702 cc-langs.
5703
4d61f28d 5704 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5705 "(require 'cc-langs)". Quote a form so it will evaluate at
5706 (cc-mode's) compilation time.
5707
11d074b2
MA
57082011-07-22 Michael Albinus <michael.albinus@gmx.de>
5709
5710 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5711 loading. (Bug#9114)
5712
938b94c8
MR
57132011-07-21 Martin Rudalics <rudalics@gmx.at>
5714
5715 * window.el (display-buffer-pop-up-window)
5716 (display-buffer-pop-up-side-window)
5717 (display-buffer-in-side-window): Call display-buffer-set-height
5718 and display-buffer-set-width after setting the new window's
b796c9b7 5719 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5720
bfa4f190
SS
57212011-07-20 Sam Steingold <sds@gnu.org>
5722
5723 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5724 (etags-tags-included-tables): Call `convert-standard-filename' on
5725 the file names contained in TAGS so that windows Emacs can handle
5726 TAGS files created by cygwin ctags.
5727
8ca42262
LMI
57282011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5729
5730 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5731 which apparently didn't work.
5732
5db2afd2 57332011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5734
5db2afd2
RW
5735 * proced.el (proced-send-signal): For *Marked Processes* buffer
5736 put point at beginning of buffer.
5737
92e15d10
SB
57382011-07-19 Stephen Berman <stephen.berman@gmx.net>
5739
5740 * proced.el (proced-format): Make header lines align with the text
5741 (bug#1779).
5742
1bfd59e5
LMI
57432011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5744
5745 * view.el (view-buffer): Allow running in `special' modes if we're
5746 visiting a file (bug#8615).
5747
f5aae37c
MR
57482011-07-19 Martin Rudalics <rudalics@gmx.at>
5749
5750 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5751 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5752 New functions.
f5aae37c
MR
5753 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5754 more accurately.
5755
bf2c1571
AM
57562011-07-18 Alan Mackenzie <acm@muc.de>
5757
5758 Fontify declarators properly when, e.g., a jit-lock chunk begins
5759 inside a declaration.
5760
5761 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5762
b796c9b7
SM
5763 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5764 New function.
bf2c1571
AM
5765 (c-complex-decl-matchers): Insert reference to
5766 c-font-lock-enclosing-decls.
5767
5768 * progmodes/cc-engine.el (c-backward-single-comment):
5769 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5770 to nil around calls to (forward-comment -1).
5771
4e190b80
LMI
57722011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5773
12dc863d
LMI
5774 * image.el (put-image): Doc typo fix.
5775
a762e966
LMI
5776 * progmodes/etags.el (tags-search): Doc typo fix.
5777
4e190b80
LMI
5778 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5779 password if we get errors 550 to 554.
5780
f019fb21
LMI
57812011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5782
b796c9b7 5783 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5784
81746738
LMI
5785 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5786 indentation character (bug#6380).
5787
3ee3a1b5
LMI
5788 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5789
c82f64de
LMI
5790 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5791 to clarify what the problem is (bug#4291).
5792
f019fb21
LMI
5793 * simple.el (current-kill): Clarify what
5794 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5795 (auto-fill-mode): Document `auto-fill-function' in relation to
5796 `auto-fill-mode' (bug#2470).
f019fb21 5797
0794775d
LM
57982011-07-16 Lawrence Mitchell <wence@gmx.li>
5799
5800 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5801 method if slot is read-only (bug#9035).
5802
be39b8cc
MR
58032011-07-16 Martin Rudalics <rudalics@gmx.at>
5804
b796c9b7 5805 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5806 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5807 selected before, see discussion of (Bug#8615), (Bug#6954).
5808 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5809
6ccf7859
GM
58102011-07-15 Glenn Morris <rgm@gnu.org>
5811
5812 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5813 Respect help-form.
6ccf7859 5814
87e86684
LM
58152011-07-09 Lawrence Mitchell <wence@gmx.li>
5816
5817 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5818 (gnutls-negotiate): Use it.
5819
d6066239
LMI
58202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5821
b796c9b7
SM
5822 * net/gnutls.el (gnutls-negotiate):
5823 Upcase `gnutls-algorithm-priority'.
d6066239 5824
bd23ebc0
GM
58252011-07-15 Glenn Morris <rgm@gnu.org>
5826
c65bca65
GM
5827 * jka-compr.el (jka-compr-verbose): Move from here...
5828 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5829 Add missing :version tag.
5830 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5831
478615cc
LMI
58322011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5833
7b41decb
LMI
5834 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5835 (gnutls-negotiate): Use it.
5836
dbc44fcd
LMI
5837 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5838
06789f97
LMI
5839 * info.el (Info-beginning-of-buffer): New command.
5840 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5841 announcing `b' as the key (bug#8325).
ab896c37 5842 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5843
c39da690
LMI
5844 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5845
3aa5f34b
LMI
5846 * international/mule-cmds.el
5847 (describe-specified-language-support): Make the error message
5848 clearer (bug#8905).
5849
4bf0979f
LMI
5850 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5851
478615cc
LMI
5852 * isearch.el (isearch-barrier): Add a doc string, since it's
5853 mentioned in a function doc string (bug#8678).
5854
75c68aa1
MR
58552011-07-15 Martin Rudalics <rudalics@gmx.at>
5856
5857 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5858 buffer argument (Bug#9083) and self-identifying label argument.
5859
a7c33da2
GM
58602011-07-15 Glenn Morris <rgm@gnu.org>
5861
5862 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5863
2f5c6024
LMI
58642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5865
5866 * man.el (Man-fontify-manpage): Fix message when formatting the
5867 man page (bug#7929).
5868
0bb23927 58692011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
5870
5871 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5872 argument LRM; if non-nil, append an invisible LRM character to the
5873 buffer name.
5874 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5875 last argument non-nil, when formatting buffer names.
0bb23927
EZ
5876 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5877 paragraph direction.
cce4b0a7 5878
621ef9ab
LMI
58792011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5880
d1583c48
LMI
5881 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5882 the man page name (bug#7929).
5883
6a57fb5f
LMI
5884 * image.el (put-image): Mention the `put-image' overlay property
5885 (bug#7834).
5886
d7956b14
LMI
5887 * scroll-bar.el (set-scroll-bar-mode): Mention that
5888 `scroll-bar-mode' lists the values (bug#7772).
5889
5b2d4a66
LMI
5890 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5891 command (bug#7729).
5892
7509a874
LMI
5893 * rect.el (apply-on-rectangle): Return the point after the last
5894 operation.
5895 (string-rectangle): Go to the point after the last operation
5896 (bug#7522).
5897
4fe74b19
LMI
5898 * printing.el (pr-toggle-region): Clarify the documentation
5899 slightly (bug#7493).
5900
b796c9b7
SM
5901 * time.el (display-time-update):
5902 Allow `display-time-mail-function' to return nil (bug#7158).
5903 Fix suggested by Detlev Zundel.
ab283561 5904
fc233c9d
LMI
5905 * vc/diff.el (diff): Clarify the order the file names are read
5906 (bug#7111).
5907
43f5740b
LMI
5908 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5909 the doc string (bug#7015).
5910
f2182a76
LMI
5911 * font-lock.el (font-lock-maximum-decoration): Mention what
5912 numeric levels mean (bug#6935).
5913
621ef9ab
LMI
5914 * startup.el (initial-buffer-choice): Don't mention the `none'
5915 selection, which is against policy.
5916
adc47434
MR
59172011-07-14 Martin Rudalics <rudalics@gmx.at>
5918
b796c9b7
SM
5919 * window.el (display-buffer-normalize-special):
5920 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 5921
7e5bfb8f
EZ
59222011-07-14 Eli Zaretskii <eliz@gnu.org>
5923
5924 * subr.el (version<, version<=, version=): Mention "-CVS" and
5925 "-12345" alpha version numbers.
5926
27fa387a
CY
59272011-07-14 Chong Yidong <cyd@stupidchicken.com>
5928
5929 * bindings.el: Add advertised binding for set-mark-command
5930 (Bug#5772).
5931
8bdfa064
CY
59322011-07-14 Chong Yidong <cyd@stupidchicken.com>
5933
5934 * bindings.el (mode-line-other-buffer):
5935 * bookmark.el (bookmark-bmenu-2-window):
5936 * bs.el (bs-cycle-next, bs-cycle-previous):
5937 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5938 switch-to-buffer.
5939
5940 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 5941 Delete.
8bdfa064 5942
5eba16a3
JB
59432011-07-14 Juanma Barranquero <lekktu@gmail.com>
5944
5945 * follow.el (follow-debug-message, follow-redisplay):
5946 * jka-cmpr-hook.el (with-auto-compression-mode):
5947 Fix typos in docstrings.
5948
15853710
LMI
59492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5950
a28e4607
LMI
5951 * subr.el (with-silent-modifications): Clarify somewhat what the
5952 macro inhibits (bug#6525).
5953
15853710
LMI
5954 * simple.el (eval-expression): Note what it does if called
5955 interactively (bug#6495).
5956
bee0fcef
CY
59572011-07-13 Chong Yidong <cyd@stupidchicken.com>
5958
b796c9b7
SM
5959 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
5960 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
5961
5962 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5963 Remove switch-to-buffer.
5964
58274504
LMI
59652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5966
bd2fcc8d
LMI
5967 * files.el (make-directory): Clarify that an error will be raised
5968 if there's an error (bug#6397).
5969
0f04b32c
LMI
5970 * startup.el (initial-buffer-choice): Add `none' as a choice
5971 (bug#6234).
5972
465c5fc8
LMI
5973 * subr.el (add-hook): Clarify section about buffer-local hooks
5974 (bug#6218).
5975
58274504
LMI
5976 * dired.el (dired-flagged): Clarify doc string (bug#6117).
5977
bead9a43
JB
59782011-07-13 Juanma Barranquero <lekktu@gmail.com>
5979
5980 * tabify.el (untabify): Preserve the current column so that point
5981 doesn't move (bug#6032).
5982
3af98a7b
LMI
59832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5984
b796c9b7
SM
5985 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
5986 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 5987
6240145a
GM
59882011-07-13 Glenn Morris <rgm@gnu.org>
5989
5990 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
5991 (dired-insert-directory): Give a message the first time
5992 if ls is found not to support --dired.
5993
1d8c2ccc
LMI
59942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5995
5996 * simple.el (toggle-truncate-lines): Clarify what is toggled
5997 (bug#5580). Text by Drew Adams.
5998
5fc4038e
CY
59992011-07-13 Chong Yidong <cyd@stupidchicken.com>
6000
6001 * simple.el (blink-matching-open): Make the error message from the
6002 last change less verbose.
6003
bf6012e5
DN
60042011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6005
6006 * font-lock.el (font-lock-comment-face): Use the high contrast
6007 "yellow" color for font-lock-comment-face on low color terminals
6008 using a dark background color (bug#4221).
6009
343c3b5a
LMI
60102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6011
7e9505c5
LMI
6012 * dired.el (dired-insert-set-properties): Make the doc string
6013 reflect what it does now (bug#5325).
6014
c26fdcf5
LMI
6015 * simple.el (blink-matching-open): Say that we were unable to find
6016 the match within the limit, if we're limited (bug#5122).
6017
bb388cc5
LMI
6018 * international/mule-cmds.el (prefer-coding-system): Add an
6019 example (bug#4869).
6020
343c3b5a
LMI
6021 * progmodes/etags.el (tags-search): Document `file-list-form'
6022 (bug#4731).
6023
2a517d45
LM
60242011-07-13 Lawrence Mitchell <wence@gmx.li>
6025
6026 * net/browse-url.el (browse-url-default-browser)
6027 (browse-url-browser-function): Make the default browser choice a
6028 bit more logical (bug#4300). Also clean up the doc string.
6029
b6c78ef2
JB
60302011-07-13 Juanma Barranquero <lekktu@gmail.com>
6031
6032 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6033 binary endings (bug#4440).
6034
1c4dd947
LMI
60352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6036
a2014063
LMI
6037 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6038 which can be pretty annoying (bug#8971).
6039
9c9c2d88
LMI
6040 * jka-compr.el (jka-compr-verbose): New variable, and use
6041 throughout (bug#8971).
6042
1c4dd947
LMI
6043 * info.el (Info-find-file): Fall back on the installation
6044 directory if we can't find the info node anywhere else.
6045
a1c9f41b
SO
60462011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6047
6048 * vc/vc.el (vc-revert-file):
6049 Don't set file time-stamp in the past. (Bug#5181)
6050
536f3d36
LMI
60512011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6052
7152b011
LMI
6053 * files.el (after-find-file): Give a better error message when
6054 trying to find a symlink that points to a file that doesn't exist
6055 (bug#4398).
6056
536f3d36
LMI
6057 * progmodes/cc-vars.el: Remove (probably) misleading comment
6058 (bug#4396).
6059
460c0fba
JB
60602011-07-12 Johan Bockgård <bojohan@gnu.org>
6061
6062 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6063
7a6bda45
CY
60642011-07-12 Chong Yidong <cyd@stupidchicken.com>
6065
6066 * mouse-sel.el: Hack restoring functionality, while keeping
6067 compatibility with 2010-07-03 changes to mouse selection.
6068 (mouse-sel-primary-overlay): New var.
6069 (mouse-sel-selection-alist): Use it.
6070 (mouse-sel-mode): Doc fix; remove points that are default features
6071 of mouse.el.
6072
c79598ef
JB
60732011-07-12 Johan Bockgård <bojohan@gnu.org>
6074
6075 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6076 Fix previous fix (bug#2490).
6077
ff8be6ef
RW
60782011-07-12 Roland Winkler <winkler@gnu.org>
6079
b796c9b7
SM
6080 * textmodes/bibtex.el (bibtex-initialize):
6081 Use pop-to-buffer-same-window.
ff8be6ef
RW
6082 (bibtex-search-entries): Fix interactive call.
6083
296ba3ee
LMI
60842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6085
f5242a02 6086 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6087 Fontise bytecomp Error lines more correctly (bug#2490).
6088 Fix suggested by Johan Bockgård.
f5242a02 6089
296ba3ee
LMI
6090 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6091
6092 * dired-x.el (dired-guess-default): Use `delete-dups'.
6093
f69fd0d2
CY
60942011-07-12 Chong Yidong <cyd@stupidchicken.com>
6095
6096 * dired.el (dired-mark-prompt):
6097 * dired-aux.el (dired-read-shell-command): Doc fix.
6098
eab5dc07
LMI
60992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6100
b796c9b7
SM
6101 * mail/sendmail.el (sendmail-query-once):
6102 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6103 emacs -Q.
6104
6105 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6106
eab5dc07
LMI
6107 * cus-edit.el (custom-file): Take an optional no-error variable.
6108 (customize-save-variable): Set the variable, and give a warning if
6109 running under "emacs -q".
6110
a1e65d42
JB
61112011-07-11 Juanma Barranquero <lekktu@gmail.com>
6112
6113 * loadhist.el (unload-feature-special-hooks):
6114 Add `auto-coding-functions', `fill-nobreak-predicate' and
6115 `find-directory-functions' (bug#5327).
6116
1d52da10
LMI
61172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6118
be958f1d
LMI
6119 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6120
5bedb26c
LMI
6121 * cus-edit.el (custom-guess-name-alist): -alist variables should
6122 use the `alist' type (bug#3120). Suggested by Drew Adams.
6123
1d52da10
LMI
6124 * printing.el: Add documentation to all the `pr-toggle-' commands.
6125
cd394be1 61262011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6127
6128 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6129 backends where it makes sense (bug#2623).
6130
dcc88d8a
LMI
61312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6132
c3de9feb
LMI
6133 * dired-x.el (dired-guess-default): Remove duplicate shell command
6134 entries (bug#2028).
8a93078b 6135 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6136 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6137
dcc88d8a
LMI
6138 * subr.el (remove-duplicates): New conveniency function.
6139
505e3645
LMI
61402011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6141
6142 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6143 (bug#1526).
6144
61452011-07-10 Martin Rudalics <rudalics@gmx.at>
6146
6147 * window.el (display-buffer-normalize-default): Don't invert
6148 meaning of even-window-heights. Reported by Eli Zaretskii
6149 <eliz@gnu.org>.
6150
455e4fa1
BR
61512011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6152
6153 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6154
8e0bc3e9
CY
61552011-07-10 Chong Yidong <cyd@stupidchicken.com>
6156
6157 * window.el (display-buffer): Fix arguments to
6158 display-buffer-reuse-window in last change.
6159
fa7c3228
CY
6160 * faces.el (link): Use a less saturated blue on light backgrounds.
6161
6162 * startup.el (fancy-startup-text, fancy-about-text)
6163 (fancy-startup-tail): Use font-lock faces, for background safety.
6164
c0a7f300
BN
61652011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6166
b796c9b7
SM
6167 * emulation/viper-cmd.el (viper-change-state-to-vi):
6168 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6169
4dc2a129
MR
61702011-07-09 Martin Rudalics <rudalics@gmx.at>
6171
6172 * window.el (display-buffer-default-specifiers): Remove.
6173 (display-buffer-macro-specifiers): Remove default specifiers.
6174 (display-buffer-alist): Default to nil.
b796c9b7 6175 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6176 (display-buffer-pop-up-window): Allow splitting internal
6177 windows. Check whether a live window was created.
6178 (display-buffer-other-window-means-other-frame)
6179 (display-buffer-normalize-arguments): Rename to
6180 display-buffer-normalize-argument and rewrite. Set the
6181 other-window specifier.
6182 (display-buffer-normalize-special): New function.
6183 (display-buffer-normalize-options): Rename to
6184 display-buffer-normalize-default and rewrite.
6185 (display-buffer-normalize-options-inhibit): Remove.
6186 (display-buffer-normalize-specifiers): Rewrite.
6187 (display-buffer): Process other-window specifier and call
6188 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6189 more faithfully.
b796c9b7 6190 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6191 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6192 (display-buffer-in-window, display-buffer-alist-set):
6193 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6194 <tassilo@member.fsf.org>.
6195
2d43b8c9
LL
61962011-07-09 Leo Liu <sdl.web@gmail.com>
6197
6198 * register.el (insert-register): Restore accidental change on
6199 2011-06-26. (Bug#9028)
6200
7f9b7c53
GM
62012011-07-09 Glenn Morris <rgm@gnu.org>
6202
6203 * subr.el (remq): Handle the empty list. (Bug#9024)
6204
f042cfd8
AS
62052011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6206
6207 * mail/sendmail.el (send-mail-function): No longer delay custom
6208 initialization.
6209 * custom.el (custom-initialize-delay): Doc fix.
6210
856b2f11
SM
62112011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6214
afae1d68
MA
62152011-07-08 Michael Albinus <michael.albinus@gmx.de>
6216
6217 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6218 human-friendly prompt.
6219
0757af94
SM
62202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6223 provided by a particular plugin.
6224
d760b731
LMI
62252011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6226
6227 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6228 save customizations (with "emacs -Q"), just set the variable
6229 instead of erroring out.
6230
6231 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6232
cd79ce90
JL
62332011-07-08 Juri Linkov <juri@jurta.org>
6234
6235 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6236 (archive-zip-update-case): Use 7z if found by `executable-find'.
6237 The order of searching the available programs is the same as in
6238 `archive-zip-extract' (bug#8968).
6239
14cc04aa
CY
62402011-07-07 Chong Yidong <cyd@stupidchicken.com>
6241
6242 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6243 (menu-bar-options-menu): Tweak descriptions.
6244
0a1848ec
LMI
62452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6246
6247 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6248 menu items into verb phrases (bug#1421). Also refill to fit under
6249 80 columns.
6250
f5bd0689
CY
62512011-07-07 Chong Yidong <cyd@stupidchicken.com>
6252
538e85c6
CY
6253 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6254 (Info-read-node-name): Doc fix (Bug#1084).
6255
f5bd0689
CY
6256 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6257 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6258 (end-of-sexp, beginning-of-sexp)
6259 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6260 (forward-symbol, forward-same-syntax, word-at-point)
6261 (sentence-at-point): Doc fix (Bug#1144).
6262
56ec5115
LMI
62632011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6264
f3f8e37f
LMI
6265 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6266 should cover it (bug#1281).
6267
0757af94 6268 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6269
e9fce1ac 6270 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6271 negotiation fails, then possibly try again with a non-encrypted
6272 connection (bug#9017).
6273
56ec5115
LMI
6274 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6275 be used.
6276
c2f9aec8
RS
62772011-07-07 Richard Stallman <rms@gnu.org>
6278
6279 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6280 property, and handle its changed format.
6281 Look for the correct line number.
6282 Use file's line contents (but not past first =) to find
6283 correct line in message.
6284
ef7b981d 62852011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6286
6287 * international/characters.el (build-unicode-category-table):
6288 Delete it.
0757af94 6289 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6290
0757af94 6291 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6292 to src/chartab.c.
6293 (get-char-code-property): Call unicode-property-table-internal to
6294 load a file. Call get-unicode-property-internal where necessary.
6295 (put-char-code-property): Call unicode-property-table-internal to
6296 load a file. Call put-unicode-property-internal where necessary.
6297 put-unicode-property-internal where necessary.
0757af94
SM
6298 (char-code-property-description):
6299 Call unicode-property-table-internal to load a file.
c805dec0
KH
6300
6301 * international/charprop.el:
6302 * international/uni-bidi.el:
6303 * international/uni-category.el:
6304 * international/uni-combining.el:
6305 * international/uni-comment.el:
6306 * international/uni-decimal.el:
6307 * international/uni-decomposition.el:
6308 * international/uni-digit.el:
6309 * international/uni-lowercase.el:
6310 * international/uni-mirrored.el:
6311 * international/uni-name.el:
6312 * international/uni-numeric.el:
6313 * international/uni-old-name.el:
6314 * international/uni-titlecase.el:
6315 * international/uni-uppercase.el: Regenerate.
6316
6317 * loadup.el: Load international/charprop.el before
6318 international/characters.
6319
e14b388a
CY
63202011-07-07 Chong Yidong <cyd@stupidchicken.com>
6321
6322 * window.el (next-buffer, previous-buffer): Signal an error if
6323 called from a minibuffer window.
6324
6325 * bindings.el: Revert 2011-07-04 change.
6326
354cf0ba
RS
63272011-07-06 Richard Stallman <rms@gnu.org>
6328
6329 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6330 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6331 Treat markers like ints.
6332 (rmail-mime-entity): Doc fix.
6333
a48868a7
LMI
63342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6335
4906cd3d
LMI
6336 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6337 defcustom again for backwards compatibility.
6338
e0457abe
LMI
6339 * simple.el (shell-command-on-region): Fill.
6340
d67f7e1f
LMI
6341 * dired-aux.el (dired-kill-line): Add a doc string.
6342
fe204702
LMI
6343 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6344 to "\\sw\\|\\s_" (bug#358).
6345
a48868a7
LMI
6346 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6347 (dired-unmark-backward): Ditto.
6348 (dired-flag-backup-files): Ditto.
6349
6350 * dired-x.el (dired-mark-sexp): Ditto.
6351
aa8a705c
RS
63522011-07-06 Richard Stallman <rms@gnu.org>
6353
6354 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6355 (rmail-mime-entity): New arg TRUNCATED.
6356 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6357 New functions.
6358 (rmail-mime-save): Warn if entity is truncated.
6359 (rmail-mime-toggle-hidden): Likewise, for showing.
6360 (rmail-mime-process-multipart): Record when an entity is truncated.
6361
a9a936b9
RS
6362 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6363 if ENTITY is a string.
6364
1f2b92cb
LMI
63652011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6366
f4f73198 6367 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6368 of faces when `M-C-x'-ing their definitions (bug#8378).
6369 Also clean up the code slightly.
f4f73198 6370
12b16734 6371 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6372 because that makes the colors go away.
12b16734 6373
f0691d22
LMI
6374 * mail/sendmail.el (send-mail-function): Change the default to
6375 `sendmail-query-once'.
9e87df06 6376 (sendmail-query-once): Add an autoload cookie.
f0691d22 6377
1f2b92cb
LMI
6378 * net/network-stream.el (network-stream-open-starttls): Try using
6379 a plain connection even if the server offered STARTTLS, and we
6380 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6381 capability. This should make smtpmail.el work in slightly more
6382 configurations.
6383
1cdd2a1b
MA
63842011-07-06 Michael Albinus <michael.albinus@gmx.de>
6385
6386 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6387 New defun.
6388 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6389
fbcc67e2
MM
63902011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6391
6392 * progmodes/sql.el: Version 3.0
0757af94 6393 (sql-product-alist): Add product :completion-object,
fbcc67e2 6394 :completion-column, and :statement attributes.
0757af94 6395 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6396 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6397 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6398 ansi keywords.
6399 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6400 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6401 (sql-oracle-show-reserved-words): New function for development.
6402 (sql-product-font-lock): Simplify for source code buffers.
6403 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6404 New functions.
6405 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6406 (sql-mode-map): Add statement movement functions.
6407 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6408 New variable.
fbcc67e2
MM
6409 (sql-statement-regexp, sql-beginning-of-statement)
6410 (sql-end-of-statement, sql-signum): New functions.
0757af94 6411 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6412 (sql-show-sqli-buffer): Bug fix.
6413 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6414 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6415 with sql-interactive-mode.
6416 (sql-save-connection): Save buffer local settings.
0757af94 6417 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6418 (sql-product-interactive): Bug fix.
6419 (sql-preoutput-hold): New variable.
6420 (sql-interactive-remove-continuation-prompt): Bug fixes.
6421 (sql-debug-redirect): New variable.
6422 (sql-str-literal): New function.
6423 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6424 Redesign.
fbcc67e2
MM
6425 (sql-oracle-save-settings, sql-oracle-restore-settings)
6426 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6427 (sql-completion-object, sql-completion-column)
6428 (sql-completion-sqlbuf): New variables.
6429 (sql-build-completions-1, sql-build-completions)
6430 (sql-try-completion): New functions.
6431 (sql-read-table-name): Use them.
6432 (sql-contains-names): New buffer local variable.
6433 (sql-list-all, sql-list-table): Use it.
6434 (sql-oracle-completion-types): New variable.
6435 (sql-oracle-completion-object, sql-sqlite-completion-object)
6436 (sql-postgres-completion-object): New functions.
6437
d4eaeab1
GM
64382011-07-06 Glenn Morris <rgm@gnu.org>
6439
6440 * window.el (pop-to-buffer): Doc fix.
6441
322b7dab 64422011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6443
6444 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6445
322b7dab 64462011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6447
322b7dab 6448 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6449
322b7dab 6450 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6451
605dd5bf
CY
64522011-07-05 Chong Yidong <cyd@stupidchicken.com>
6453
6454 * button.el (button): Inherit from link face. Suggested by Dan
6455 Nicolaescu.
6456
7dbfa719
SM
64572011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6458
3db614b0
SM
6459 * progmodes/gdb-mi.el: Fit in 80 columns.
6460 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6461 switch-to-buffer.
6462
7dbfa719
SM
6463 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6464 if imenu is simply not configured (bug#8941).
6465
919d884a
KM
64662011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6467
6468 * allout.el (allout-post-undo-hook): New allout outline-change
6469 event hook to signal undo activity.
6470 (allout-post-command-business): Run allout-post-undo-hook if an
6471 undo just occurred.
7dbfa719
SM
6472 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6473 * allout-widgets.el (allout-widgets-after-undo-function):
6474 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6475 in the vicinity of an undo.
6476 (allout-widgets-mode): Include allout-widgets-after-undo-function
6477 on the new allout-post-undo-hook.
6478
450a0f09
SM
64792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6480
6481 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6482 Let define-derived-mode define it.
6483 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6484 cycles of abbrev-table inheritance (bug#8998).
6485
2de69e00
RW
64862011-07-05 Roland Winkler <winkler@gnu.org>
6487
6488 * textmodes/bibtex.el: Add support for biblatex.
6489 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6490 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6491 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6492 (bibtex-entry-alist, bibtex-field-alist): New variables.
6493 (bibtex-entry-field-alist): Obsolete alias for
6494 bibtex-BibTeX-entry-alist.
6495 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6496 (bibtex-set-dialect): New command.
6497 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6498 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6499 Bind via bibtex-set-dialect.
2de69e00
RW
6500 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6501 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6502 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6503 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6504 Define via bibtex-set-dialect.
450a0f09
SM
6505 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6506 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6507 (bibtex-vec-push, bibtex-vec-incr): New functions.
6508 (bibtex-format-entry, bibtex-field-list)
6509 (bibtex-print-help-message, bibtex-validate)
6510 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6511
2dcdbdd9
SM
65122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6513
6514 * progmodes/compile.el (compilation-goto-locus):
6515 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6516 * bs.el (bs-cycle-next, bs-cycle-previous):
6517 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6518 * bindings.el (mode-line-other-buffer):
6519 * autoinsert.el (auto-insert):
6520 * arc-mode.el (archive-extract):
6521 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6522
b27640fe
JB
65232011-07-05 Juanma Barranquero <lekktu@gmail.com>
6524
6525 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6526 Fix check of `emacs-lock-unlockable-modes'.
6527 Coerce true values of `emacs-lock--try-unlocking' to t.
6528
53bbe3ad
JB
65292011-07-05 Juanma Barranquero <lekktu@gmail.com>
6530
6531 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6532 * emacs-lock.el: New file.
6533
1d3cdbc7
JD
65342011-07-05 Julien Danjou <julien@danjou.info>
6535
6536 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6537 than `boundp' to check if face is set.
6538
9173deec
JB
65392011-07-05 Juanma Barranquero <lekktu@gmail.com>
6540
6541 * register.el (registerv-make):
6542 * window.el (window-min-height): Fix typos in docstrings.
6543
869795d6
JD
65442011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6545
9173deec 6546 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6547 Update doc string.
6548
b768cdcd
JB
65492011-07-04 Juanma Barranquero <lekktu@gmail.com>
6550
6551 * server.el (server-execute): Catch quit and call
6552 `server-return-error' to pass the error back to emacsclient and
6553 close the connection (bug#8942).
6554
13aa217b
KM
65552011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6556
6557 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6558 insecure exception for current topic. Also note that auto-saves
6559 are handled differently.
6560
6561 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6562 State variables for tracking auto-save inhibition situation.
6563
6564 (allout-write-contents-hook-handler): Rename from
6565 'allout-write-file-hook-handler', and describe how it depends on
6566 write-contents-functions sensitivity to non-nil value to prevent
6567 file write.
6568
6569 (allout-auto-save-hook-handler): Remove. auto-save does not check
6570 this in individual buffers, only in the starting buffer, so this
6571 is not the right way for us to inhibit auto-save in a buffer
6572 according to its condition.
6573
6574 (allout-mode): Use new allout-write-contents-hook-handler, and
6575 only with write-contents-functions. Remove auto-save provisions -
6576 they're implemented elsewhere.
6577
6578 (allout-before-change-handler): If undo is in progress, note that
6579 for attention of allout-post-command-business.
6580
6581 (allout-post-command-business): If the command we're following was
6582 an undo, check for change in the status of encrypted items and
6583 adjust auto-save inhibitions accordingly.
6584
6585 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6586 according to whether there are or aren't any plain-text topics
6587 pending encryption.
6588
2dcdbdd9 6589 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6590 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6591 if there are plain-text topics pending encryption.
13aa217b
KM
6592
6593 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6594 buffer-saved-size and some allout state to not inhibit auto-saves
6595 if there are no longer any plain-text topics pending encryption.
6596
0757af94
SM
6597 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6598 No longer provide for exemption of the current topic.
13aa217b 6599
ac89b32c
JL
66002011-07-04 Juri Linkov <juri@jurta.org>
6601
6602 Add 7z operations to delete and save changed members (bug#8968).
6603 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6604 New defcustoms.
6605 (archive-7z-write-file-member): New function.
6606 (archive-7z-summarize): Fix the number of dashes in the
6607 listing output.
6608
8fa39615
SM
66092011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6612 (bug#8958).
6613
2f11b3f1
CY
66142011-07-04 Chong Yidong <cyd@stupidchicken.com>
6615
d66fef2b
CY
6616 * bindings.el: Ignore next-buffer and previous-buffer in
6617 minibuffer-local-map.
6618
2f11b3f1
CY
6619 * font-lock.el (font-lock-builtin-face): Change light background
6620 color to dark slate blue (Bug#6693).
6621
f932a347
WD
66222011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6623
6624 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6625
c8af70e1
SM
66262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6627
6628 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6629 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6630 Add switch-to-buffer.
6631
f158badc
LMI
66322011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6633
6634 * isearch.el (isearch-search-fun-function): Clarify further the
6635 meaning of the function returned.
6636
6d95bd46
MA
66372011-07-04 Michael Albinus <michael.albinus@gmx.de>
6638
6639 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6640
6641 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6642 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6643 Use it.
6644 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6645 `tramp-default-remote-path' does not exist.
6646 (tramp-send-command-and-read): New optional argument NOERROR.
6647 (tramp-open-connection-setup-interactive-shell)
6648 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6649 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6650 (tramp-process-sentinel): Flush also process' connection property.
6651 (tramp-sh-handle-start-file-process): Do not set process
6652 sentinel. It is done now ...
6653 (tramp-maybe-open-connection): ... here. (Bug#8929)
6654
909e6b67
MK
66552011-07-04 MON KEY <monkey@sandpframing.com>
6656
6657 * play/animate.el (animate-string): Doc fixes and allow changing
6658 the buffer name (bug#5417).
6659
66602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6661
c8af70e1 6662 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6663
f34755dc
PE
66642011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6665
396cec72
PE
6666 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6667 This is simpler and helps future-proof the code.
6668 (timer-until): Use time-subtract and float-time.
08235028 6669 (timer--time-less-p): Use time-less-p.
f34755dc 6670
56e6cc31
JB
66712011-07-04 Juanma Barranquero <lekktu@gmail.com>
6672
3abb79e5
JB
6673 * type-break.el (timep): Use the value of `float-time' to avoid a
6674 byte-compiler warning.
6675
56e6cc31
JB
6676 * server.el (server-eval-and-print): Return any result, even nil.
6677
7b9430b4
PE
66782011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6679
6680 * type-break.el: Accept time formats that the builtins accept.
6681 (timep, type-break-time-difference): Accept any format that
6682 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6683 This is simpler and helps future-proof the code.
6684 (type-break-time-difference): Round rather than ignoring
6685 subseconds components.
6686
3034e9e7
LMI
66872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6688
6689 * info.el (Info-apropos-matches): Make non-interactive, since it
6690 doesn't seem to do anything useful as a command (bug#8829).
6691
1485f4c0
CY
66922011-07-03 Chong Yidong <cyd@stupidchicken.com>
6693
6694 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6695 Move from faces.el.
1485f4c0
CY
6696 (frame-default-terminal-background): New function.
6697
6698 * custom.el (custom-push-theme): Don't record faces in `changed'
6699 theme; this doesn't work correctly for per-frame face settings.
6700 (disable-theme): Use face-set-after-frame-default to reset faces.
6701 (custom--frame-color-default): New function.
6702
9fa3dd45
LMI
67032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6704
c8af70e1 6705 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6706 (bug#8769).
6707
6cbbc20c
KR
67082011-03-29 Kevin Ryde <user42@zip.com.au>
6709
6710 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6711 `perl-Test2' extend to match possible "fail #N" rep count
6712 (bug#8377).
6713
c7f98048
LMI
67142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6715
65676592
LMI
6716 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6717 `smtpmail-via-smtp' now returns the error instead of nil.
6718
c7f98048
LMI
6719 * isearch.el (isearch-search-fun-function): Clarify the doc string
6720 (bug#8101).
6721
56e6cc31 67222011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6723
6724 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6725 unnecessary spaces (bug#8987).
6726
2b216704
LMI
67272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6728
6729 * net/network-stream.el (open-network-stream): Use the
6730 :end-of-capability command thoughout.
6731
67322011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6733
6734 * net/network-stream.el (open-network-stream): Add the
6735 :end-of-capability command parameter, used by pop3.el.
6736
36adf6ce
LMI
67372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6738
1ca0da0e
LMI
6739 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6740
fc00f69c
LMI
6741 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6742 for list)" (bug#6475).
6743
28fd8759 6744 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6745 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6746 an error (bug#6297).
6747
0dd8b6da
LMI
6748 * man.el (Man-reference-regexp): Allow matching possible
6749 word-wrapped references (bug#6289).
6750
ce1438d6
LMI
6751 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6752 for consistency with the other vc buffers (bug#6197).
6753 (vc-checkin): Ditto.
6754
6755 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6756
36adf6ce
LMI
6757 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6758
e83cc1f7
LMI
67592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6760
8a20ca4c
LMI
6761 * custom.el (defcustom): Clarify that :set is only used in the
6762 Customize user interface (bug#6089).
6763
83319045
LMI
6764 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6765 associated with a file, refuse to run instead of erroring out
6766 (bug#6084).
6767
a8392169
LMI
6768 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6769 the doc string, since it appears that using `fill-column' always
6770 controls the width (bug#7845).
6771
e83cc1f7
LMI
6772 * simple.el (shell-command-on-region): Say where the error output
6773 went if `shell-command-default-error-buffer' is set (bug#6857).
6774
e47ca23b
KM
67752011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6776
6777 * allout.el (allout-yank-processing): Adjust cursor position for
6778 backwards-deleted space.
6779
6780 (allout-rebullet-heading): Register changes with
6781 allout-exposure-changed-hook, so the modified topic is properly
6782 decorated.
6783
5cf56143
LMI
67842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6785
08549772
LMI
6786 * minibuffer.el (completion-in-region): Document PREDICATE
6787 (bug#7136).
6788
48e96771
LMI
6789 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6790 of keyword/argument pairs (bug#6904).
6791
c8af70e1
SM
6792 * replace.el (multi-occur):
6793 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6794
e17d05e2
LMI
67952011-07-02 Drew Adams <drew.adams@oracle.com>
6796
6797 * dired.el (dired-mark-if): Make the message about whether it's
6798 marking or unmarking clearer (bug#8523).
6799
063b0e45
LMI
68002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6801
6802 * disp-table.el (display-table-print-array): New function.
6803 (describe-display-table): Use it to print the vectors more pretty
6804 (Bug#8859).
6805
28545e04
MR
68062011-07-02 Martin Rudalics <rudalics@gmx.at>
6807
6808 * window.el (window-state-get-1): Don't assign clone numbers.
6809 Add clone-of item to list of window parameters.
6810 (window-state-put-2): Don't process clone numbers.
6811 (display-buffer-alist): Fix doc-string.
6812
3349e122
SM
68132011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6814
6815 * subr.el (remq): Don't allocate if it's not needed.
6816 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6817 (keymap--merge-bindings): New functions.
6818 (keymap-canonicalize): Use them to refine the canonicalization.
6819 * minibuffer.el (minibuffer-local-completion-map)
6820 (minibuffer-local-must-match-map): Move initialization from C.
6821 (minibuffer-local-filename-completion-map): Move initialization from C;
6822 don't inherit from anything here.
6823 (minibuffer-local-filename-must-match-map): Make obsolete.
6824 (completing-read-default): Use make-composed-keymap to combine
6825 minibuffer-local-filename-completion-map with either
6826 minibuffer-local-must-match-map or
6827 minibuffer-local-filename-completion-map.
6828
d224ac83
GM
68292011-07-01 Glenn Morris <rgm@gnu.org>
6830
3de63bf8
GM
6831 * type-break.el (type-break-time-sum): Use dolist.
6832
d224ac83
GM
6833 * textmodes/flyspell.el (flyspell-word-search-backward):
6834 Replace CL function.
6835
1a1e3f32
SM
68362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6837
fe3f64d5
SM
6838 * mouse.el (mouse--strip-first-event): New function.
6839 (function-key-map): Use it to map fringe clicks to normal clicks
6840 by default.
6841
eb604e34
SM
6842 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6843 (vc-bzr-revision-completion-table): Add support for annotate and date.
6844
1a1e3f32
SM
6845 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6846 inherit from parent.
6847
5bd35902
LMI
68482011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6849
ace6c69c 6850 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 6851 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 6852
191e2bed
LMI
6853 * dired.el (dired-mode): Fix up the doc string as suggested by
6854 Drew Adams (bug#8817).
6855
5bd35902
LMI
6856 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6857 cookie, since the manual says that it should be possible to add
6858 this function to `find-file-hook' (bug#8709).
6859
eee8207a
TZ
68602011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6861
6862 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6863 here. Noted Ted Zlatanov as the maintainer.
6864 (cfengine-common-settings, cfengine-common-syntax): New functions
6865 to set up common things between `cfengine-mode' and
6866 `cfengine3-mode'.
6867 (cfengine3-mode): New mode.
6868 (cfengine3-defuns cfengine3-defuns-regex
6869 (cfengine3-class-selector-regex cfengine3-category-regex)
6870 (cfengine3-vartypes cfengine3-font-lock-keywords)
6871 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 6872 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 6873
36b148cf
MA
68742011-07-01 Michael Albinus <michael.albinus@gmx.de>
6875
6876 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6877
6878 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6879
0bf4ba9a
MR
68802011-07-01 Martin Rudalics <rudalics@gmx.at>
6881
6882 * window.el (same-window-buffer-names, same-window-regexps)
6883 (same-window-p, special-display-frame-alist)
6884 (special-display-popup-frame, special-display-function)
6885 (special-display-buffer-names, special-display-regexps)
6886 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6887 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6888 (split-window-preferred-function, split-height-threshold)
6889 (split-width-threshold, even-window-heights)
6890 (display-buffer-mark-dedicated, window-splittable-p)
6891 (split-window-sensibly, window-safely-shrinkable-p):
6892 Un-obsolete.
6893 (display-buffer): Don't spread args with function specifier
6894 because special-display-popup-frame won't like it.
6895
35837f51
PE
68962011-07-01 Paul Eggert <eggert@cs.ucla.edu>
6897
d0672f86
PE
6898 Time-stamp simplifications and fixes.
6899 These improve accuracy slightly, and future-proof the code
6900 against some potential changes to current-time format.
6901
b9444d97
PE
6902 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6903 by using time-since and float-time.
6904
0ef923dc
PE
6905 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6906 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
6907 + NNN microseconds".
6908
2f81380d
PE
6909 * type-break.el (type-break-time-sum): Rewrite using time-add.
6910
845b5c3e
PE
6911 * play/hanoi.el (hanoi-current-time-float): Remove.
6912 All uses replaced by float-time.
6913
ee6f1be0
PE
6914 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6915 This yields a more-accurate answer.
6916 (rng-time-to-float): Remove; no longer needed.
6917
fe955043
PE
6918 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6919
5777162a
PE
6920 * calendar/timeclock.el (timeclock-seconds-to-time):
6921 Defalias to seconds-to-time, since they're the same thing.
6922
3103f8b6 6923 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 6924 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
6925 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6926
0e61a35f
SM
69272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6928
6929 * window.el (bury-buffer): Don't iconify the only frame.
6930 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6931 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
6932
ddd63a1e
CY
69332011-07-01 Chong Yidong <cyd@stupidchicken.com>
6934
0e61a35f
SM
6935 * eshell/em-smart.el (eshell-smart-display-navigate-list):
6936 Add mouse-yank-primary.
ddd63a1e 6937
055f4923
TZ
69382011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6939
6940 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6941
6a2fb145
SM
69422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6943
6944 * emacs-lisp/find-func.el (find-library--load-name): New fun.
6945 (find-library-name): Use it to find relative load names when provided
6946 absolute file name (bug#8803).
6947
fd4983f2
LMI
69482011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6949
887d14ad
LMI
6950 * textmodes/flyspell.el (flyspell-word): Consider words that
6951 differ only in case as potential doublons (bug#5687).
6952
c53dc7fc
LMI
6953 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
6954 Remove two rather uninteresting debugging-like messages to make
6955 debbugs.el more silent.
6956
fd4983f2
LMI
6957 * comint.el (comint-password-prompt-regexp): Accept "Response" as
6958 a password-like phrase.
6959
7a71b18d 69602011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
6961
6962 * progmodes/cc-guess.el: New file.
6963
6a2fb145 6964 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
6965
6966 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
6967 derived from `c-basic-common-init'.
6968
6969 * progmodes/cc-mode.el (top-level): Require cc-guess.
6970 (c-basic-common-init): Use `cc-choose-style-for-mode'.
6971
1fa280a3
LM
69722011-06-30 Lawrence Mitchell <wence@gmx.li>
6973
6974 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
6975
e6597158
AM
69762011-06-30 Alan Mackenzie <acm@muc.de>
6977
1fa280a3
LM
6978 * progmodes/cc-engine.el (c-guess-continued-construct):
6979 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
6980 lock is disabled. Name this case as "CASE G".
6981
68ba37fb
KM
69822011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
6983
6984 * allout.el (allout-yank-processing): Fix injection of extra space
6985 between bullet and non-whitespace character in first topic when
6986 pasting, ensuring that the actual spacing in the pasted topic
6987 following the bullet char is preserved. This extra space was
6988 causing pasted encrypted topics to get a decrypted status even
6989 when the content was actually still encrypted. Now the decryption
6990 status from before the paste is preserved.
6991
6992 (allout-flag-region): Set all allout overlays so they evaporate
6993 when reduced to zero length (evanescent), to prevent overlay
6994 leakage.
6995
887a0b34
GM
69962011-06-30 Glenn Morris <rgm@gnu.org>
6997
94b9acce
GM
6998 * w32-fns.el (w32-charset-info-alist): Declare.
6999
1d9b46d4
GM
7000 * find-dired.el (find-grep-options): Simplify.
7001
cc232200
GM
7002 * term/ns-win.el (ns-set-resource): Declare.
7003
28e77c46
GM
7004 * ses.el (row, col): Declare dynamic variables honestly.
7005
887a0b34
GM
7006 * textmodes/reftex-parse.el (index-tags): Declare.
7007
658d8eb8
CY
70082011-06-30 Chong Yidong <cyd@stupidchicken.com>
7009
7010 * cus-edit.el (customize-push-and-save): New function.
7011
7012 * files.el (hack-local-variables-confirm): Use it.
7013
1fa280a3
LM
7014 * custom.el (load-theme): New arg NO-CONFIRM.
7015 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7016 (custom-enabled-themes): Doc fix.
7017
7018 * cus-theme.el (customize-create-theme)
7019 (custom-theme-merge-theme): Callers to load-theme changed.
7020
bb617717
LMI
70212011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7022
d61bdd5d
LMI
7023 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7024 short URLs have at least one dot in them (bug #7614).
7025
bb617717
LMI
7026 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7027 nil, because using a pty is apparently too slow (bug #895).
7028
2f31f37a
LMI
70292011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7030
7031 * mail/sendmail.el (sendmail-query-once): New function.
7032 (sendmail-query-once-function): New variable.
7033
3076b24e
GM
70342011-06-29 Glenn Morris <rgm@gnu.org>
7035
faf2a174
GM
7036 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7037
3076b24e
GM
7038 * ses.el (top-level): Require cl when compiling.
7039 (ses-set-localvars): Fix error statement.
7040 Call it at compile time to silence a storm of warnings.
7041
5386012d
MR
70422011-06-29 Martin Rudalics <rudalics@gmx.at>
7043
7044 * window.el (normalize-live-buffer): Rename to
7045 window-normalize-buffer.
7046 (normalize-live-frame): Rename to window-normalize-frame.
7047 (normalize-any-window): Rename to window-normalize-any-window.
7048 (normalize-live-window): Rename to window-normalize-live-window.
7049 (make-window-atom): Rename to window-make-atom.
7050 (window-resize-reset): Rename to window--resize-reset.
7051 (window-resize-reset-1): Rename to window--resize-reset-1.
7052 (resize-mini-window): Rename to window--resize-mini-window.
7053 (resize-subwindows-skip-p): Rename to
7054 window--resize-subwindows-skip-p.
7055 (resize-subwindows-normal): Rename to
7056 window--resize-subwindows-normal.
7057 (resize-subwindows): Rename to window--resize-subwindows.
7058 (resize-other-windows): Rename to window--resize-siblings.
7059 (resize-this-window): Rename to window--resize-this-window.
7060 (resize-root-window): Rename to window--resize-root-window.
7061 (resize-root-window-vertically): Rename to
7062 window--resize-root-window-vertically.
7063 (normalize-buffer-to-display): Rename to
7064 window-normalize-buffer-to-display.
7065 (normalize-buffer-to-switch-to): Rename to
7066 window-normalize-buffer-to-switch-to.
7067 Correspondingly update all callers of the functions listed
7068 above.
7069 (display-buffer-alist, display-buffer-normalize-arguments)
7070 (display-buffer-normalize-options, display-buffer)
7071 (display-buffer-alist-set): Use "function" instead of
7072 "fun-with-args".
7073
1176868d
CY
70742011-06-28 Chong Yidong <cyd@stupidchicken.com>
7075
7076 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7077 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7078 debbugs.gnu.org. Mention acknowledgment email.
7079
20a7a65f
LMI
70802011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7081
7082 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7083 buffer multibyteness, since it shouldn't matter.
7084
5f45cca5
MR
70852011-06-28 Martin Rudalics <rudalics@gmx.at>
7086
7087 * window.el (display-buffer-in-side-window): Handle dedicated
7088 windows as in display-buffer-reuse-window.
7089 (display-buffer-normalize-alist): Use value of override
7090 specifier.
7091 (display-buffer-normalize-specifiers): Use value of
7092 other-window-means-other-frame specifier.
7093 (display-buffer-alist): Rewrite some texts in widgets.
7094 (display-buffer): Spread arguments when calling function
7095 specified by fun-with-args.
7096
ad85fe1f
DD
70972011-06-28 Deniz Dogan <deniz@dogan.se>
7098
1fa280a3
LM
7099 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7100 Unnest `let'.
da68c4c8 7101
ad85fe1f
DD
7102 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7103 selectors (Bug#5732).
ec49bd31 7104 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7105
a08cc025
JA
71062011-06-27 Jari Aalto <jari.aalto@cante.net>
7107
7108 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7109 (eshell-ls-date-format): New defcustom.
7110 (eshell-ls-file): Use it.
7111
e2b551c5
SM
71122011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7115
8982b231
KY
71162011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7117
7118 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7119 (ange-ftp-make-tmp-name): New arg.
7120 (ange-ftp-file-local-copy): Use it.
7121
36c9fa27
J
71222011-06-27 Jambunathan K <kjambunathan@gmail.com>
7123
7124 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7125 no-conversion (Bug#8870).
7126
d68443dc
MR
71272011-06-27 Martin Rudalics <rudalics@gmx.at>
7128
7129 * window.el (window-right, window-left, window-child)
7130 (window-child-count, window-last-child)
7131 (window-iso-combination-p, walk-window-tree-1)
7132 (window-atom-check-1, window-tree-1, delete-window)
7133 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7134 new naming conventions - window-vchild, window-hchild,
7135 window-next and window-prev are now called window-top-child,
7136 window-left-child, window-next-sibling and window-prev-sibling
7137 respectively.
d615d6d2
MR
7138 (resize-window-reset): Rename to window-resize-reset.
7139 (resize-window-reset-1): Rename to window-resize-reset-1.
7140 (resize-window): Rename to window-resize.
7141 (window-min-height, window-min-width)
7142 (resize-mini-window, resize-this-window, resize-root-window)
7143 (resize-root-window-vertically, adjust-window-trailing-edge)
7144 (enlarge-window, shrink-window, maximize-window)
7145 (minimize-window, delete-window, quit-restore-window)
7146 (split-window, balance-windows, balance-windows-area-adjust)
7147 (balance-windows-area, window-state-put-2)
7148 (display-buffer-even-window-sizes, display-buffer-set-height)
7149 (display-buffer-set-width, set-window-text-height)
7150 (fit-window-to-buffer): Rename all "resize-window" prefixed
7151 calls to use the "window-resize" prefix convention.
7152 (display-buffer-alist): Fix symbol for label specifier.
7153 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7154 corresponding specifier.
7155 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7156
b6458526
VB
71572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7158
7159 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7160 convention.
7161 (ses-call-printer): Does not pass an empty string to formatter when the
7162 cell is empty to keep from barking printer Calc math-format-value.
7163
d31fd9ac
RS
71642011-06-27 Richard Stallman <rms@gnu.org>
7165
43d5bf84
RS
7166 * battery.el (battery-mode-line-limit): New variable.
7167 (battery-update): Handle it.
7168
d31fd9ac
RS
7169 * mail/rmailmm.el (rmail-mime-process-multipart):
7170 Handle truncated messages.
7171
819a6054
GM
71722011-06-27 Glenn Morris <rgm@gnu.org>
7173
7174 * progmodes/flymake.el (flymake-err-line-patterns):
7175 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7176
cedc73f2
VB
71772011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7178
819a6054 7179 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7180 (ses--clean-!, ses--clean-_): New functions.
7181 (ses-range): Add configurability of readout order, and conversion
7182 to Calc vector.
7183
5e5d49b6
VB
7184 * ses.el (ses-repair-cell-reference-all): New function.
7185 (ses-cell-symbol): Set macro as safe, so that it can be used in
7186 formulas.
7187
56e6cc31 7188 * ses.el: Update cycle detection algorithm.
90ca8b49 7189 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7190 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7191 (ses-set-localvars): New function.
7192 (ses-make-cell): Add property-list as a cell element.
7193 (ses-cell-property-get-fun, ses-cell-property-get)
7194 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7195 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7196 New functions.
90ca8b49
VB
7197 (ses-cell-property-set, ses-cell-property-pop)
7198 (ses-cell-property-get-handle): New macro.
7199 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7200 New aliases, used for code readability.
7201 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7202 cycle detection.
7203 (ses-self-reference-early-detection): New defcustom.
fac916bf 7204 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7205 (ses-mode): Use ses-set-localvars.
7206 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7207 before lauching the update processing.
7208 (ses-initialize-Dijkstra-attempt): New function.
7209 (ses-recalculate-cell): Update for cycle detection based on
7210 Dijkstra algorithm.
7211
2bb63e81
VB
7212 * ses.el: Fix commenting and indenting convention.
7213
c9d29fb8
SM
72142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7215
7216 * bs.el (bs-cycle-next): Complete last change.
7217
d8e4b68b
JB
72182011-06-27 Drew Adams <drew.adams@oracle.com>
7219
7220 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7221
40098786
LMI
72222011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7223
c9d29fb8
SM
7224 * net/network-stream.el (network-stream-open-starttls):
7225 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7226 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7227
40098786
LMI
7228 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7229 to binary to possibly avoid line encoding issues on Windows (among
7230 other things).
7231
468d09d4
LMI
72322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7233
7234 * net/network-stream.el (open-network-stream): Return an :error
7235 saying what the problem was, if possible.
7236
7237 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7238 server.
7239
7240 * net/network-stream.el (network-stream-open-starttls): If we
7241 wanted to use STARTTLS, and the server offered it, but we weren't
7242 able to because we had no STARTTLS support, then close the connection.
7243 (open-network-stream): Return an :error element, if present.
7244
16f07dd7
CY
72452011-06-26 Chong Yidong <cyd@stupidchicken.com>
7246
88821ca0
CY
7247 * hl-line.el (hl-line-sticky-flag): Doc fix.
7248 (global-hl-line-sticky-flag): New option (Bug#8323).
7249 (global-hl-line-highlight): Obey it.
7250
16f07dd7
CY
7251 * vc/vc.el (vc-revert-show-diff): Default to t.
7252
6b5ccddf
KM
72532011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7254
c9d29fb8
SM
7255 * allout-widgets.el (allout-widgets-post-command-business):
7256 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7257 undecorated when an isearch is continued past, and isearch
7258 automatically collapses them. This leads to "widget leaks", where
7259 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7260 hidden widgets can slow down cursor travel, substantially.
7261 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7262 so we're doing without this nicety.
7263
7264 (allout-widgets-tally-string): Don't try to do a hash-table-count
7265 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7266 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7267 *Messages* when allout-widgets-maintain-tally is t.
7268
355f2e07
MR
72692011-06-26 Martin Rudalics <rudalics@gmx.at>
7270
7271 * window.el (display-buffer-normalize-argument): Rename to
7272 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7273 LABEL argument. Respect special-display-function when popping up
7274 a new frame. Fix code searching for a window showing the buffer
7275 on another frame.
c9d29fb8
SM
7276 (display-buffer-normalize-specifiers):
7277 Call display-buffer-normalize-arguments.
355f2e07
MR
7278 (display-buffer-in-window): Don't undedicate the window if its
7279 buffer remains the same.
7280 Reported by Drew Adams <drew.adams@oracle.com>.
7281 (display-buffer-alist): Add choice for same-window macro
7282 specfier.
7283 (display-buffer): Mention special meaning of LABEL argument in
7284 doc-string. Fix quoting. Don't pop up a new frame even as
7285 fallback.
7286
7ca8fc42
JB
72872011-06-26 Juanma Barranquero <lekktu@gmail.com>
7288
7289 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7290 avoid deleting the current window in some cases (bug#8911).
7291
bc312254
AS
72922011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7293
7294 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7295 (Bug#8934)
7296
2db18f3f
LMI
72972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7298
c9d29fb8
SM
7299 * net/network-stream.el (network-stream-open-starttls):
7300 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7301 (network-stream-open-tls): Ditto.
7302
6302e0d3
LL
73032011-06-26 Leo Liu <sdl.web@gmail.com>
7304
7305 * register.el (registerv): New struct.
7306 (registerv-make): New function.
c9d29fb8
SM
7307 (jump-to-register, describe-register-1, insert-register):
7308 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7309 struct. (Bug#8415)
7310
5fdd4046
CY
73112011-06-26 Chong Yidong <cyd@stupidchicken.com>
7312
2afef60a
CY
7313 * vc/vc.el (vc-revert-show-diff): New defcustom.
7314 (vc-diff-internal): New arg specifying diff buffer.
7315 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7316 reuse an existing *vc-diff* buffer (Bug#8927).
7317
5fdd4046
CY
7318 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7319
e93db24a
GM
73202011-06-26 Glenn Morris <rgm@gnu.org>
7321
7322 * progmodes/f90.el (f90-critical-indent): New option.
7323 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7324 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7325 (f90-mode): Doc fix.
7326 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7327 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7328 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7329 (f90-match-end): Handle block, critical.
7330
eefff499
GM
73312011-06-25 Glenn Morris <rgm@gnu.org>
7332
f6ba4cc9
GM
7333 * calendar/diary-lib.el (diary-included-files): Doc fix.
7334 (diary-include-files): New function, extracted from
7335 diary-include-other-diary-files and diary-mark-included-diary-files.
7336 (diary-include-other-diary-files, diary-mark-included-diary-files):
7337 Just call diary-include-files.
7338 (diary-mark-entries): Reset diary-included-files on first call.
7339
16712304
GM
7340 * calendar/diary-lib.el (diary-mark-entries)
7341 (diary-mark-included-diary-files):
7342 Visit included diary-files in temp buffers.
7343
5d8e0d43
GM
7344 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7345 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7346 (f90-start-block-re, f90-imenu-generic-expression)
7347 (f90-looking-at-program-block-start, f90-no-block-limit):
7348 Add support for submodules.
7349
ccf7a5d5
GM
7350 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7351 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7352
11fdef7d 73532011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7354
7355 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7356 buffer-file-type before setting its value, to avoid disastrous
eefff499 7357 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7358
74f53697
JB
73592011-06-25 Juanma Barranquero <lekktu@gmail.com>
7360
7361 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7362
7363 * ses.el (ses-unload-function):
7364 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7365
7366 * proced.el (proced-unload-function):
7367 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7368
18a4ce5e
AR
73692011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7370
7371 * server.el (server-create-window-system-frame): Add parameters arg.
7372 (server-process-filter): Doc fix. Handle frame-parameters.
7373
519d22cc
JB
73742011-06-25 Juanma Barranquero <lekktu@gmail.com>
7375
7376 Fix bug#8730, bug#8781.
7377
7378 * loadhist.el (unload--set-major-mode): New function.
7379 (unload-feature): Use it.
7380
7381 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7382 (python-unload-function): New function.
7383
c206f5b0
SM
73842011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7385
7386 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7387
f9ad64f3
GS
73882011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7389
7390 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7391 the candidates list.
7392
7d0da90e
JB
73932011-06-24 Juanma Barranquero <lekktu@gmail.com>
7394
7395 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7396
14b4e83d
RS
73972011-06-23 Richard Stallman <rms@gnu.org>
7398
7399 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7400 (rmail-variables): Set next-error-move-function.
7401 (rmail-what-message): Take argument POS.
7402 (rmail-next-error-move): New function.
7403
273d2baf
SM
74042011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7405
7406 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7407 messages for adjacent non-terminals.
7408
56c2cc9a
RS
74092011-06-23 Richard Stallman <rms@gnu.org>
7410
7411 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7412 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7413 (rmail-start-mail): Don't specify use of rmail-mail-return;
7414 that's done by mail-bury now.
7415 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7416
d59eb518
MA
74172011-06-23 Michael Albinus <michael.albinus@gmx.de>
7418
7419 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7420 SIZE is a number.
7421
02cfc6d6
MR
74222011-06-23 Martin Rudalics <rudalics@gmx.at>
7423
7424 * window.el (get-lru-window, get-mru-window)
7425 (get-largest-window): Never return a minibuffer window.
7426 (display-buffer-pop-up-window): Fix a bug that could lead to
7427 reusing the minibuffer window.
7428 (display-buffer): Pass original specifier argument to
7429 display-buffer-function instead of the normalized one.
7430 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7431
4e323265
LL
74322011-06-22 Leo Liu <sdl.web@gmail.com>
7433
7434 * minibuffer.el (completing-read-function)
7435 (completing-read-default): Move from minibuf.c
7436
7a70468f
RS
74372011-06-22 Richard Stallman <rms@gnu.org>
7438
50718fc2
RS
7439 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7440 to Rmail even if not started by a special Rmail command.
7441
7a70468f
RS
7442 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7443 Copy the buffer currently showing just one message.
7444
297dde5a
RW
74452011-06-22 Roland Winkler <winkler@gnu.org>
7446
7447 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7448 (bibtex-clean-entry): First delete the old key so that a
7449 customized algorithm for generating the new key does not get
7450 confused by the old key.
7451 (bibtex-url): Obey regexp of first step.
7452 (bibtex-search-entries): Do not use add-to-list with local
7453 list-var.
7454
97bb1093
LMI
74552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7456
7457 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7458 stored a user name, then query for the password first, instead of
7459 waiting for SMTP to give an error message and the trying again.
7460
1c0f1a19
JD
74612011-06-22 Lawrence Mitchell <wence@gmx.li>
7462
7463 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7464 BUFFER in call-process.
7465
396f7c9d
LMI
74662011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7467
7468 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7469 QUIT twice.
ddb7ffee
LMI
7470 (smtpmail-try-auth-methods): Require user name and password from
7471 auth-source.
396f7c9d 7472
8998d1b3
MR
74732011-06-22 Martin Rudalics <rudalics@gmx.at>
7474
7475 * window.el (display-buffer-default-specifiers)
7476 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7477 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7478 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7479
7480 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7481 (special-display-frame-alist, special-display-popup-frame):
7482 Remove duplicate declarations. These are now in window.el.
7483
4ea31e07
LMI
74842011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7485
c9d29fb8
SM
7486 * mail/smtpmail.el (smtpmail-via-smtp):
7487 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7488 server supports it. SMTP servers that support STARTTLS commonly
7489 require it.
7490
7491 * net/network-stream.el (network-stream-open-starttls): Support
7492 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7493 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7494
95f41d9a
LMI
7495 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7496 upgrades with `open-network-stream', and rely solely on
7497 auth-source for all credentials. Big changes throughout the file,
7498 but in particular:
c9d29fb8
SM
7499 (smtpmail-auth-credentials): Remove.
7500 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7501 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7502 MAIL FROM, too.
95f41d9a 7503
c9d29fb8
SM
7504 * net/network-stream.el (network-stream-open-starttls):
7505 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7506 STARTTLS.
7507 (auth-source): Require.
7508 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7509 (network-stream-certificate): Change cert-cert to cert and
7510 cert-key to key.
4ea31e07 7511
065ec2c7
MA
75122011-06-21 Michael Albinus <michael.albinus@gmx.de>
7513
7514 * net/tramp-cache.el (top): Don't load the persistency file when
7515 "emacs -Q" has been called.
7516
cd93b359
DR
75172011-06-21 Tim Harper <timcharper@gmail.com>
7518
d8e4b68b
JB
7519 * term/ns-win.el (ns-initialize-window-system):
7520 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7521 resource to NO as it is not yet supported by the NS port.
7522
ae9c0411
JB
75232011-06-21 Juanma Barranquero <lekktu@gmail.com>
7524
7525 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7526 (list-dynamic-libraries): ...not here.
7527
7f3f739f
LL
75282011-06-21 Leo Liu <sdl.web@gmail.com>
7529
7530 * subr.el (sha1): Implement sha1 using secure-hash.
7531
327c8fb1
MR
75322011-06-21 Martin Rudalics <rudalics@gmx.at>
7533
7534 * window.el (display-buffer-alist): In default value do not
7535 enforce searching a window on any but the selected frame.
7536 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7537 (display-buffer-select-window): Remove function.
7538 (display-buffer-in-window): When a window on another frame gets
7539 reused, do not select it any more but just raise its frame if
7540 necessary (Bug#8851) and (Bug#8856).
7541 (display-buffer-normalize-options): Handle pop-up-frames related
7542 options more faithfully.
7543 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7544 window if it is on another frame.
c9d29fb8
SM
7545 (display-buffer-alist, display-buffer-default-specifiers):
7546 Don't make new frame unsplittable by default.
9e9de014
MR
7547 (display-buffer-normalize-argument): Fix doc-string typo and use
7548 'same-frame-other-window instead of 'other-window when associating
7549 with display-buffer-macro-specifiers.
327c8fb1 7550
7cf3f556
VB
75512011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7552
7553 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7554 New functions.
7555 (5x5-mode-map, 5x5-mode-menu): Bind them.
7556 (5x5-draw-grid): Tweak the solver's rendering.
7557
60a406cf
SM
75582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7559
7560 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7561 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7562
d8e4b68b 75632011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7564
7565 * menu-bar.el: Use function variable instead of switch-to-buffer.
7566 (menu-bar-select-buffer-function): New variable.
60a406cf 7567 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7568
478d6f95
SM
75692011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7570
7571 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7572 variable's status.
7573
ca530739
JD
75742011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7575
7576 * x-dnd.el (x-dnd-version-from-flags)
7577 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7578 and long as number (Bug#8899).
7579 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7580
bcd70d97
SM
75812011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7582
60a406cf 7583 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7584 (completion-try-completion, completion-all-completions): Compute the
7585 metadata argument if it's missing; make it optional (bug#8795).
7586
60a406cf 7587 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7588 (widget-complete): Use new :completion-function property.
7589 (widget-completions-at-point): New function.
7590 (default): Use :completion-function instead of :complete.
60a406cf
SM
7591 (widget-default-completions): Rename from widget-default-complete;
7592 Rewrite.
bcd70d97
SM
7593 (widget-string-complete, widget-file-complete, widget-color-complete):
7594 Remove functions.
7595 (file, symbol, function, variable, coding-system, color):
7596 * international/mule-cmds.el (default-input-method, charset)
7597 (language-info-custom-alist):
7598 * cus-edit.el (face): Use new property :completions.
7599
7600 * progmodes/pascal.el (pascal-completions-at-point): New function.
7601 (pascal-mode): Use it.
7602 (pascal-mode-map): Use completion-at-point.
7603 (pascal-toggle-completions): Make obsolete.
7604 (pascal-complete-word, pascal-show-completions):
7605 * progmodes/octave-mod.el (octave-complete-symbol):
7606 Redefine as obsolete alias.
7607 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7608 Signal absence of completion info for old Octave,
7609 (inferior-octave-complete): Redefine as obsolete alias.
7610 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7611 (meta-completions-at-point): Rename from meta-complete-symbol and
7612 adapt it for use on completion-at-point-functions.
7613 (meta-common-mode): Use it.
7614 (meta-looking-at-backward, meta-match-buffer): Remove.
7615 (meta-complete-symbol): Redefine as obsolete alias.
7616 (meta-common-mode-map): Use completion-at-point.
7617 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7618 (makefile-mode-map): Use completion-at-point.
7619 (makefile-completions-at-point): Rename from makefile-complete and
7620 adapt it for use on completion-at-point-functions.
7621 (makefile-mode): Use it.
7622 (makefile-complete): Redefine as obsolete alias.
7623
aebf69c8
DD
76242011-06-20 Deniz Dogan <deniz@dogan.se>
7625
7626 * net/rcirc.el: Delete trailing whitespaces once and for all.
7627
bfbbb27d
DC
76282011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7629
7630 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7631
d264a46b
CY
76322011-06-19 Chong Yidong <cyd@stupidchicken.com>
7633
4ca009e5
CY
7634 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7635
d264a46b
CY
7636 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7637
fbf5b3ce
MR
76382011-06-19 Martin Rudalics <rudalics@gmx.at>
7639
7640 * window.el (display-buffer-other-window-means-other-frame):
7641 Call display-buffer-normalize-alist.
7642 (display-buffer-normalize-specifiers-1): Rename to
7643 display-buffer-normalize-argument. New argument other-frame.
7644 Rewrite.
7645 (display-buffer-normalize-specifiers-2): Rename to
7646 display-buffer-normalize-options.
7647 (display-buffer-normalize-alist-1): New function.
7648 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7649 display-buffer-normalize-alist.
7650 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7651 (display-buffer-normalize-options-inhibit): New variable.
7652 (display-buffer-normalize-specifiers): Rewrite calling
7653 display-buffer-normalize-alist,
7654 display-buffer-normalize-argument, and
7655 display-buffer-normalize-options. Don't call the latter if
7656 display-buffer-normalize-options-inhibit is non-nil.
7657 (frame-auto-delete): New option.
7658 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7659 (window-list-no-nils, window-state-ignored-parameters)
7660 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7661 (window-state-put-1, window-state-put-2, window-state-put):
7662 New functions.
9a028c23
MR
7663 (display-buffer-normalize-options): Move special-display-p group
7664 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7665
6d10d800
CY
76662011-06-18 Chong Yidong <cyd@stupidchicken.com>
7667
6420d28b
CY
7668 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7669 groups (Bug#8776).
7670 (rx-submatch-n): New function.
7671 (rx): Document it.
7672
ddb8b596
CY
7673 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7674 (Bug#8768).
7675
7676 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7677
77080289
CY
7678 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7679
61dfb316
CY
7680 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7681 anytime existing face settings are present (Bug#8889).
7682
6d10d800
CY
7683 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7684 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7685 Remove unused argument.
7686
be3fb2b8
MR
76872011-06-18 Martin Rudalics <rudalics@gmx.at>
7688
bcd70d97
SM
7689 * window.el (display-buffer-default-specifiers):
7690 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7691 pop-up-window-min-width, and another reuse-window specifier
7692 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7693 (display-buffer-normalize-specifiers-2):
7694 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7695 pop-up-windows is unset. Add a reuse-window specifier for the
7696 case popping up a new window fails.
7697 (special-display-popup-frame): Remove double quoting.
28dec25a 7698 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7699
1c6d8c76
SM
77002011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7701
7702 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7703 according to comint-completion-addsuffix.
7704
7705 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7706 (pcomplete-suffix-list): Mark as obsolete.
7707 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7708 pcomplete-seen in the closure.
7709 (pcomplete-comint-setup): Setup completion-at-point as well.
7710 (pcomplete--entries): New function.
7711 (pcomplete--env-regexp): New var.
7712 (pcomplete-entries): Rewrite to work with partial-completion and
7713 without relying on pcomplete-suffix-list.
7714 (pcomplete-pare-list): Remove, unused.
7715
25aef8b8
MR
77162011-06-17 Martin Rudalics <rudalics@gmx.at>
7717
7718 * window.el (display-buffer-alist): Set pop-up-window-min-height
7719 and pop-up-window-min-width in default value. Reported by
7720 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7721 other-window-means-other-frame.
7722 (display-buffer-macro-specifiers): Comment out entry for
7723 other-window specifier.
7724 (display-buffer-other-window-means-other-frame): New function.
7725 (display-buffer-normalize-specifiers-1): New arguments
7726 buffer-name and label. Treat other-window case specially.
7727 (display-buffer-normalize-specifiers-2): Treat other-window case
7728 specially.
7729 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7730 (display-buffer-normalize-specifiers):
7731 Call display-buffer-normalize-specifiers-3.
25aef8b8 7732
dbad4f69
MR
77332011-06-17 Martin Rudalics <rudalics@gmx.at>
7734
7735 * window.el (same-window-p): Fix two typos introduced when
7736 adding with-no-warnings.
d1067961
MR
7737 (display-buffer-normalize-specifiers-1): Don't check
7738 pop-up-frames for 'unset initialization.
7739 (display-buffer-normalize-specifiers-2): Major rewrite using
7740 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7741 (pop-up-frames, display-buffer-reuse-frames)
7742 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7743 Suggested by David Engster <deng@randomsample.de>.
7744 (even-window-heights): Initialize to 'unset.
7745 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7746 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7747 other window case.
dbad4f69 7748
9b9c9e3a
MR
77492011-06-16 Martin Rudalics <rudalics@gmx.at>
7750
bcd70d97
SM
7751 * window.el (display-buffer-normalize-specifiers-1):
7752 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7753 second argument of display-buffer (Bug#8865).
981d5c09
MR
7754 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7755 (switch-to-buffer-other-window-same-frame)
7756 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7757 Adams (Bug#8875).
9c2755e9
MR
7758 (display-buffer): Don't check noninteractive when calling
7759 display-buffer-pop-up-frame.
7760 (display-buffer-pop-up-frame): Never pop up a frame in
7761 noninteractive mode (Bug#8857).
67222e1d
MR
7762 (enlarge-window, shrink-window): Don't report an error when the
7763 window can't be resized as requested (Bug#8862).
9b9c9e3a 7764
2b75be67
SM
77652011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7766
9ffdd3ba
SM
7767 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7768
cb581a67
SM
7769 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7770
2b75be67
SM
7771 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7772
8c0e3589
AM
77732011-06-15 Alan Mackenzie <acm@muc.de>
7774
cb581a67
SM
7775 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7776 for declarators, disable knr checking to speed up for normal files.
7777 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7778
b96e6cde
LMI
77792011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7780
4bba86e6
LMI
7781 * net/network-stream.el (open-network-stream): Add the keyword
7782 :always-query-capabilities for the case where you want to force a
7783 `plain' network connection, but the protocol still requires the
7784 capabilitiy command (i.e., SMTP and EHLO).
7785
2b75be67 7786 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7787 consistency with other `-live-p' functions.
7788
efdcdbf8
SM
77892011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 * window.el (same-window-buffer-names, same-window-regexps)
7792 (special-display-frame-alist, special-display-popup-frame)
7793 (special-display-function, special-display-buffer-names)
7794 (special-display-regexps, pop-up-frame-alist)
7795 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7796 (pop-up-windows, split-window-preferred-function)
7797 (split-height-threshold, split-width-threshold, even-window-heights)
7798 (display-buffer-mark-dedicated): Don't encourage the use of
7799 display-buffer-alist from Elisp code.
7800
c5cde042
DN
78012011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7802
7803 * progmodes/python.el (python-mode): Derive from prog-mode.
7804 * progmodes/ps-mode.el (ps-mode):
7805 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7806 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7807 * progmodes/ld-script.el (ld-script-mode): Likewise.
7808
baa1c9ab
MR
78092011-06-15 Martin Rudalics <rudalics@gmx.at>
7810
7811 * window.el (display-buffer-alist): Trim default value to avoid
7812 popping up a new frame (Bug#8857) or reusing an arbitrary window
7813 on another frame.
7814 (display-buffer): Do not fall back on popping up a new frame in
7815 batch mode (Bug#8857).
7816
c5dd5a51
CY
78172011-06-14 Chong Yidong <cyd@stupidchicken.com>
7818
7819 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7820 (custom-theme-summary): New function.
7821 (customize-themes): Use it.
7822
d647b7c4
GM
78232011-06-13 Glenn Morris <rgm@gnu.org>
7824
7825 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7826
9481c002
MR
78272011-06-13 Martin Rudalics <rudalics@gmx.at>
7828
357f93d2
MR
7829 * help.el (help-window): Remove variable.
7830 (help-window-point-marker, temp-buffer-max-height)
7831 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7832 (help-print-return-message): Don't set help-window.
7833 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7834 (help-window-setup-finish): Remove.
7835 (help-window-display-message, help-window-setup)
7836 (with-help-window): Major rewrite based on new
7837 display-buffer-window variable.
7838
7839 * help-mode.el (help-mode-finish): Remove help-window related
7840 code.
7841
7842 * view.el (view-exits-all-viewing-windows): Remove reference to
7843 view-return-to-alist in doc-string.
7844 (view-return-to-alist): Make obsolete.
7845 (view-buffer): Call pop-to-buffer-same-window and remove
7846 undo-window code.
7847 (view-buffer-other-window): Call pop-to-buffer-other-window and
7848 simplify code. Ignore second argument.
7849 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7850 simplify code. Ignore second argument.
7851 (view-return-to-alist-update): Make obsolete.
7852 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7853 Rewrite using quit-restore window parameters.
2b75be67
SM
7854 (view-mode-exit): Rename second argument to EXIT-ONLY.
7855 Rewrite using quit-restore-window.
357f93d2
MR
7856 (View-exit, View-exit-and-edit, View-leave, View-quit)
7857 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7858 appropriate arguments.
7859 (view-end-message): Use quit-restore window parameter.
7860
9481c002
MR
7861 * window.el (display-buffer-function): Rewrite doc-string.
7862 (display-buffer-window, display-buffer-alist): New variables.
7863 (display-buffer-split-specifiers)
7864 (display-buffer-side-specifiers)
7865 (display-buffer-macro-specifiers): New constants.
7866 (display-buffer-even-window-sizes, display-buffer-set-height)
7867 (display-buffer-set-width, display-buffer-select-window)
7868 (display-buffer-in-window, display-buffer-reuse-window)
7869 (display-buffer-split-window-1, display-buffer-split-window)
7870 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7871 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7872 (display-buffer-in-side-window, normalize-buffer-to-display)
7873 (display-buffer-normalize-specifiers-1)
7874 (display-buffer-normalize-specifiers-2)
2b75be67
SM
7875 (display-buffer-normalize-specifiers, display-buffer-frame):
7876 New functions.
9481c002
MR
7877 (display-buffer): Major rewrite.
7878 (display-buffer-other-window, display-buffer-other-frame)
7879 (pop-to-buffer, switch-to-buffer-other-window)
7880 (switch-to-buffer-other-frame): Rewrite.
7881 (display-buffer-same-window, display-buffer-same-frame)
7882 (display-buffer-same-frame-other-window)
7883 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7884 (pop-to-buffer-other-window)
7885 (pop-to-buffer-same-frame-other-window)
7886 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7887 (switch-to-buffer-other-window-same-frame): New functions.
7888 (same-window-p, special-display-p): Rewrite disabling warnings.
7889 Make obsolete.
7890 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7891 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7892 Make obsolete
7893 (same-window-buffer-names, same-window-regexps)
7894 (special-display-frame-alist, special-display-popup-frame)
7895 (special-display-function, special-display-buffer-names)
7896 (special-display-regexps, pop-up-frame-alist)
7897 (pop-up-frame-function, split-window-preferred-function)
7898 (split-height-threshold, split-width-threshold)
7899 (even-window-heights): Make obsolete.
7900
9db51aca
GM
79012011-06-12 Glenn Morris <rgm@gnu.org>
7902
7903 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 7904 Misc simplifications.
9db51aca 7905
39cffb44
MR
79062011-06-12 Martin Rudalics <rudalics@gmx.at>
7907
7908 * window.el (window-safely-shrinkable-p): Restore function which
7909 was inadvertently removed in change from 2011-06-11. Declare as
7910 obsolete.
7911
2b75be67
SM
7912 * calendar/calendar.el (calendar-generate-window):
7913 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
7914 window-safely-shrinkable-p.
7915
a8955be7
GM
79162011-06-12 Glenn Morris <rgm@gnu.org>
7917
7918 * progmodes/fortran.el (fortran-mode-syntax-table):
7919 * progmodes/f90.el (f90-mode-syntax-table):
7920 Set % to punctuation. (Bug#8820)
7921 (f90-find-tag-default): Remove, no longer needed.
7922
f0d4059d
DC
79232011-06-12 Daniel Colascione <dan.colascione@gmail.com>
7924
7925 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7926
1100a63c
CY
79272011-06-11 Chong Yidong <cyd@stupidchicken.com>
7928
7929 * image.el (image-animated-p): Return animation delay in seconds.
7930 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7931 (image-animate-timeout): Remove DELAY argument. Don't assume
7932 every subimage has the same delay; get it from image-animated-p.
7933 (image-animate): Caller changed.
7934
def722bf
MA
79352011-06-11 Michael Albinus <michael.albinus@gmx.de>
7936
7937 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7938 to ignored backtrace functions.
7939
0a2bb1a9
GM
79402011-06-11 Glenn Morris <rgm@gnu.org>
7941
7942 * calendar/appt.el (appt-disp-window-function): Doc fix.
7943 (appt-check): Handle overlapping appointments. (Bug#8337)
7944
6198ccd0
MR
79452011-06-11 Martin Rudalics <rudalics@gmx.at>
7946
7947 * window.el (window-tree-1, window-tree): New functions, moving
7948 the latter to window.el.
7949 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7950 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7951 (bw-refresh-edges): Remove.
7952 (balance-windows-1, balance-windows-2): New functions.
7953 (balance-windows): Rewrite in terms of window tree functions,
7954 balance-windows-1 and balance-windows-2.
7955 (bw-adjust-window): Remove.
7956 (balance-windows-area-adjust): New function with functionality of
7957 bw-adjust-window but using resize-window.
2b75be67
SM
7958 (set-window-text-height): Rewrite doc-string.
7959 Use normalize-live-window and resize-window.
7960 (enlarge-window-horizontally, shrink-window-horizontally):
7961 Rename argument to DELTA.
6198ccd0
MR
7962 (window-buffer-height): New function.
7963 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
7964 Rewrite using new window resize routines.
2b75be67
SM
7965 (kill-buffer-and-window, mouse-autoselect-window-select):
7966 Use ignore-errors instead of condition-case.
6198ccd0
MR
7967 (quit-window): Call delete-frame instead of delete-windows-on
7968 for the only buffer on frame.
7969
9397e56f
MR
79702011-06-10 Martin Rudalics <rudalics@gmx.at>
7971
7972 * loadup.el (top-level): Load window before files for the sake
7973 of replace-buffer-in-windows.
7974
7975 * files.el (read-buffer-to-switch)
7976 (switch-to-buffer-other-window)
2b75be67
SM
7977 (switch-to-buffer-other-frame, display-buffer-other-frame):
7978 Move to window.el.
9397e56f
MR
7979
7980 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
7981 (previous-buffer): Move to window.el.
7982
7983 * bindings.el (unbury-buffer): Move to window.el.
7984
7985 * window.el (delete-other-windows-vertically): Move after
7986 definition of delete-other-windows.
7987 (other-window, delete-windows-on, replace-buffer-in-windows):
7988 Move here from window.c.
7989 (record-window-buffer, unrecord-window-buffer)
7990 (set-window-buffer-start-and-point, switch-to-prev-buffer)
7991 (switch-to-next-buffer): New functions.
7992 (get-next-valid-buffer, last-buffer, next-buffer): Move here
7993 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
7994 (previous-buffer): Move here from simple.el.
7995 Call switch-to-prev-buffer.
9397e56f
MR
7996 (bury-buffer): Move here from buffer.c. Switch to previous
7997 buffer when window cannot be deleted.
7998 (unbury-buffer): Move here from bindings.el.
7999 (ctl-x-map): Move binding for other-window from window.c to
8000 here.
8001 (read-buffer-to-switch, switch-to-buffer-other-window)
8002 (switch-to-buffer-other-frame): Move here from files.el.
8003 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8004 (switch-to-buffer): Move here from buffer.c.
8005 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8006
562dd5e9
MR
80072011-06-10 Martin Rudalics <rudalics@gmx.at>
8008
8009 * window.el (window-min-height, window-min-width): Move here
8010 from window.c. Add defcustoms and rewrite doc-strings.
8011 (resize-mini-window, resize-window): New functions.
8012 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8013 Move here from window.c.
8014 (maximize-window, minimize-window): New functions.
8015 (delete-window, delete-other-windows, split-window): Move here
8016 from window.c.
8017 (window-split-min-size): New function.
8018 (split-window-keep-point): Mention split-window-above-each-other
8019 instead of split-window-vertically.
2b75be67 8020 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8021 Rename split-window-vertically to split-window-above-each-other
8022 and provide defalias for old definition.
8023 (split-window-side-by-side, split-window-horizontally):
8024 Rename split-window-horizontally to split-window-side-by-side
8025 and provide defalias for the old definition.
562dd5e9
MR
8026 (ctl-x-map): Move bindings for delete-window,
8027 delete-other-windows and enlarge-window here from window.c.
8028 Replace bindings for split-window-vertically and
8029 split-window-horizontally by bindings for
8030 split-window-above-each-other and split-window-side-by-side.
8031
8032 * cus-start.el (all): Remove entries for window-min-height and
8033 window-min-width. Add entries for window-splits and
8034 window-nest.
8035
f0da764a
GM
80362011-06-09 Glenn Morris <rgm@gnu.org>
8037
80675c21
GM
8038 * calendar/appt.el (appt-mode-line): New function.
8039 (appt-check, appt-disp-window): Use it.
8040
f0da764a
GM
8041 * files.el (hack-one-local-variable-eval-safep):
8042 Allow minor-modes with explicit +/-1 arguments.
8043
59f623b7
TZ
80442011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8045
8046 * term/xterm.el (xterm): Add defgroup.
8047 (xterm-extra-capabilities): Add defcustom to supply known xterm
8048 capabilities, skip querying them, or query them (default).
8049 (terminal-init-xterm): Use it.
8050 (terminal-init-xterm-modify-other-keys): New function to set up
8051 modifyOtherKeys support to simplify `terminal-init-xterm'.
8052
9aab8e0d
MR
80532011-06-09 Martin Rudalics <rudalics@gmx.at>
8054
8055 * window.el (resize-window-reset, resize-window-reset-1)
8056 (resize-subwindows-skip-p, resize-subwindows-normal)
8057 (resize-subwindows, resize-other-windows, resize-this-window)
8058 (resize-root-window, resize-root-window-vertically)
8059 (window-deletable-p, window-or-subwindow-p)
8060 (frame-root-window-p): New functions.
8061
e8b08aee
GM
80622011-06-09 Glenn Morris <rgm@gnu.org>
8063
8064 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8065 (ange-ftp-get-files): Use it.
8066
254c37a5
AK
80672011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8068
8069 * mail/sendmail.el (mail-recover-1, mail-recover):
8070 * files.el (recover-file, recover-session):
8071 Handle dired-listing-switches not being just a single short option.
8072
35d7dbd3
GM
80732011-06-09 Glenn Morris <rgm@gnu.org>
8074
8075 * calendar/appt.el (appt-display-message, appt-disp-window):
8076 Handle lists of appointments.
8077
387522b2
MR
80782011-06-08 Martin Rudalics <rudalics@gmx.at>
8079
2b75be67
SM
8080 * window.el (one-window-p): Move down in code.
8081 Rewrite doc-string.
8082 (window-current-scroll-bars): Rewrite doc-string.
8083 Normalize live window argument.
387522b2
MR
8084 (walk-windows, get-window-with-predicate, count-windows):
8085 Rewrite doc-string. Use window-list-1.
8086 (window-in-direction-2, window-in-direction, get-mru-window):
8087 New functions.
8088
d8e4b68b 80892011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8090
8091 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8092 Doc fix (Bug#8713).
8093
80942011-06-08 Chong Yidong <cyd@stupidchicken.com>
8095
8096 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8097
80982011-06-08 Juanma Barranquero <lekktu@gmail.com>
8099
8100 * loadhist.el (unload-feature-special-hooks):
8101 Add `comint-output-filter-functions'.
8102
0de12c52
IK
81032011-06-08 Ivan Kanis <gnu@kanis.fr>
8104
8105 * calendar/appt.el (appt-check): Move some initializations into the let.
8106
f3d1777e
MR
81072011-06-08 Martin Rudalics <rudalics@gmx.at>
8108
8109 * window.el (window-height): Defalias to window-total-height.
8110 (window-width): Defalias to window-body-width.
8111
18af70d0
CY
81122011-06-07 Chong Yidong <cyd@stupidchicken.com>
8113
8114 * image-mode.el (image-toggle-animation): New command.
8115 (image-mode-map): Bind it to RET.
8116 (image-mode): Update message.
8117 (image-toggle-display-image): Avoid a spurious cache flush.
8118 (image-transform-rotation): Doc fix.
8119 (image-transform-properties): Return quickly in the normal case.
8120 (image-animate-loop): Rename from image-animate-max-time.
8121
2b75be67 8122 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8123 (create-animated-image): Remove unnecessary function.
8124 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8125 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8126 (image-animate-timer): Use car-safe.
8127 (image-animate-timeout): Rename argument.
8128
190b47e6
MR
81292011-06-07 Martin Rudalics <rudalics@gmx.at>
8130
8131 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8132 window.c. Rename first argument to ALL-FRAMES.
8133 Rephrase doc-strings.
8134 (get-buffer-window-list): Rewrite using window-list-1.
8135 Rephrase doc-string.
a1511caf
MR
8136 (window-safe-min-height, window-safe-min-width): New constants.
8137 (window-size-ignore, window-min-size, window-min-size-1)
8138 (window-sizable, window-sizable-p, window-size-fixed-1)
8139 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8140 (window-max-delta-1, window-max-delta, window-resizable)
8141 (window-resizable-p, window-total-height, window-total-width)
8142 (window-body-width): New functions.
8143 (window-full-height-p, window-full-width-p): Rewrite using
8144 window-total-size.
8145 (window-body-height): Rewrite using window-body-size.
190b47e6 8146
85cc1f11
MR
81472011-06-06 Martin Rudalics <rudalics@gmx.at>
8148
8149 * window.el (window-right, window-left, window-child)
8150 (window-child-count, window-last-child, window-any-p)
8151 (normalize-live-buffer, normalize-live-frame)
8152 (normalize-any-window, normalize-live-window)
8153 (window-iso-combination-p, window-iso-combined-p)
8154 (window-iso-combinations)
8155 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8156 (windows-with-parameter, window-with-parameter)
8157 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8158 (window-atom-check, window-side-check, window-check):
8159 New functions.
85cc1f11
MR
8160 (ignore-window-parameters, window-sides, window-sides-vertical)
8161 (window-sides-slots): New variables.
8162 (window-size-fixed): Move down in code. Minor doc-string fix.
8163
e7156492
AS
81642011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8165
8166 * comint.el (comint-dynamic-complete-as-filename)
8167 (comint-dynamic-complete-filename): Correctly call
8168 completion-in-region.
8169
7e821d0d
DD
81702011-06-05 Deniz Dogan <deniz@dogan.se>
8171
8172 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8173 in last change.
8174
ac09b8a1
DD
81752011-06-05 Deniz Dogan <deniz@dogan.se>
8176
8177 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8178 (rcirc): Use it to prompt for encryption.
8179
34699b85
RW
81802011-06-05 Roland Winkler <winkler@gnu.org>
8181
8182 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8183 (bibtex-search-entries): New command bound to C-c C-a.
8184 (bibtex-display-entries): New function.
8185
004dedd3
RW
81862011-06-05 Roland Winkler <winkler@gnu.org>
8187
8188 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8189 (bibtex-insert-kill): After yanking insert newline if necessary.
8190 (bibtex-initialize): Call bibtex-string-files-init only once.
8191 (bibtex-mode): Do not call easy-menu-add.
8192 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8193 (bibtex-yank): Set arg properly if nil.
8194
022fe7ce
RW
81952011-06-05 Roland Winkler <winkler@gnu.org>
8196
2b75be67
SM
8197 * textmodes/bibtex.el (bibtex-search-entry-globally):
8198 New variable.
022fe7ce
RW
8199 (bibtex-search-entry): Use it.
8200
b7c3692a
RW
82012011-06-05 Roland Winkler <winkler@gnu.org>
8202
8203 * textmodes/bibtex.el (bibtex-entry-format): New option
8204 sort-fields.
8205 (bibtex-format-entry, bibtex-reformat): Honor this option.
8206 (bibtex-parse-entry): Return fields in proper order.
8207
8eda563d
JB
82082011-06-05 Juanma Barranquero <lekktu@gmail.com>
8209
8210 * doc-view.el (doc-view-remove-if): Move computation of result out
8211 of `dolist' to silence misleading lexical-binding warning.
8212
7dbe3dbc
CY
82132011-06-04 Chong Yidong <cyd@stupidchicken.com>
8214
8215 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8216 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8217
0c33dd17
MA
82182011-06-04 Michael Albinus <michael.albinus@gmx.de>
8219
8220 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8221 "SunOS 5.10".
8222
f8f91c2b
MA
82232011-06-04 Michael Albinus <michael.albinus@gmx.de>
8224
8225 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8226 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8227 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8228 (tramp-parse-putty):
8229 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8230 (tramp-completion-function-alist-ssh)
8231 (tramp-completion-function-alist-telnet)
8232 (tramp-completion-function-alist-su)
8233 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8234 cookie.
8235
8236 * net/tramp-ftp.el:
8237 * net/tramp-sh.el:
8238 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8239 load "tramp.el" `tramp-set-completion-function'.
8240
e17d9003
SM
82412011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8242
8243 * shell.el: Require and use pcomplete.
8244 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8245 (shell-completion-vars): Set pcomplete-default-completion-function.
8246
6c4cab03
DD
82472011-06-04 Deniz Dogan <deniz@dogan.se>
8248
8249 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8250 `memq' (Bug#8799).
8251
ea9fafe0
SM
82522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8253
8254 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8255
b3e945d3
JB
82562011-06-02 Juanma Barranquero <lekktu@gmail.com>
8257
8258 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8259 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8260 * vc/log-view.el (log-view-beginning-of-defun):
8261 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8262 (smerge-refine-forward, smerge-refine-chopup-region):
8263 Silence warning for unused `dotimes' counter variables.
8264
7d520089
SM
82652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8266
8267 * net/tramp.el (tramp-with-progress-reporter): Rename from
8268 with-progress-reporter. Use `declare'.
8269 * net/tramp-smb.el:
8270 * net/tramp-sh.el:
8271 * net/tramp-gvfs.el: Update all uses.
8272
a1c2400f
JB
82732011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8274
8275 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8276 buffer isn't killed before making it current.
8277
2403c841
SM
82782011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8279
8280 Silence various byte-compiler warnings.
8281 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8282 `access-type' and new obsolescence format.
8283 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8284 new format.
8285 (byte-compile-check-variable): New `access-type' argument.
8286 Only warn if the access-type is obsolete.
8287 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8288 (byte-compile-variable-set): Adjust callers.
8289 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8290 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8291 setting it as obsolete.
8292 * simple.el (minibuffer-completing-symbol):
8293 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8294 access as obsolete.
8295 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8296 obsolete yet.
8297 * international/quail.el (quail-mouse-choose-completion): Remove unused
8298 code referring to obsolete var.
8299 (quail-choose-completion-string): Remove.
8300 * server.el (server-clients-with, server-kill-buffer-query-function)
8301 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8302 * proced.el (proced-send-signal):
8303 * emacs-lisp/lisp.el (lisp-complete-symbol):
8304 Replace completion-annotate-function with completion-extra-properties.
8305
2462470b
SM
83062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8307
fb5b2591
SM
8308 * simple.el (goto-line): Use read-number.
8309 (overriding-map-is-bound): Remove.
8310 (saved-overriding-map): Change default.
8311 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8312 Take the map as argument.
8313 (universal-argument, negative-argument, digit-argument): Use it.
8314 (restore-overriding-map): Adjust.
8315 (do-auto-fill): Use fill-forward-paragraph.
8316 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8317
fd6fa53f
SM
8318 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8319 (minibuffer-inactive-mode): New major mode.
8320 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8321 the *Messages* buffer" hack.
8322 (mouse-popup-menubar): Don't burp if the event is a normal key.
8323
2462470b
SM
8324 Miscellaneous tweaks.
8325 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8326 lexical scoping as in subr.el's dolist and dotimes.
8327 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8328 Silence compiler warning.
8329 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8330 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8331 * international/ccl.el (ccl-compile): Trivial simplification.
8332 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8333 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8334 `printflag' argument.
8335 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8336 Purecopy the whole obsolescence data.
8337
108bf785
LL
83382011-06-01 Leo Liu <sdl.web@gmail.com>
8339
8340 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8341 improve doc-string as suggested by Marco Pessotto
8342 <melmothx@gmail.com>.
8343 (rcirc-print): Fix last change.
8344
30a23501
SM
83452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8346
8347 * minibuffer.el (complete-with-action): Return nil for the metadata and
8348 boundaries of non-functional tables.
8349 (completion-table-dynamic): Return nil for the metadata.
8350 (completion-table-with-terminator): Add default case, using
8351 complete-with-action.
8352 (completion--metadata): New function.
8353 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8354 to try and avoid pathological performance problems.
8355 (completion--embedded-envvar-table): Return `category' metadata.
8356
bcd54f83
LMI
83572011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8358
8359 * subr.el (process-alive-p): New tiny convenience function.
8360
e227544d
SM
83612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8362
8363 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8364 content but also its previous major mode.
8365
e8296fdc
HE
83662011-05-31 Helmut Eller <eller.helmut@gmail.com>
8367
4d61f28d 8368 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8369 *Backtrace* buffer when we exit with C-M-c.
8370
620c53a6
SM
83712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * minibuffer.el: Add metadata method to completion tables.
8374 (completion-category-overrides): New defcustom.
8375 (completion-metadata, completion--field-metadata)
8376 (completion-metadata-get, completion--styles)
8377 (completion--cycle-threshold): New functions.
8378 (completion-try-completion, completion-all-completions):
8379 Add `metadata' argument to choose completion-styles.
8380 (completion--do-completion): Use metadata to choose cycling.
8381 (completion-all-sorted-completions): Use metadata for sorting.
8382 Remove :completion-cycle-penalty which is not needed any more.
8383 (completion--try-word-completion): Add `metadata' argument.
8384 (minibuffer-completion-help): Check metadata for annotation function
8385 and sorting.
8386 (completion-file-name-table): Return `category' metadata.
8387 (minibuffer-completing-file-name): Make obsolete.
8388 * simple.el (minibuffer-completing-symbol): Make obsolete.
8389 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8390 completion-try-completion.
8391
1257e755
SM
83922011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8393
8394 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8395
3767e706
LL
83962011-05-30 Leo Liu <sdl.web@gmail.com>
8397
8398 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8399 (rcirc-print): Decode all incoming messages (bug#8744).
8400 (rcirc-decode-coding-system): Allow value nil for automatic coding
8401 system detection.
3767e706 8402
d1a5d56a
GM
84032011-06-01 Glenn Morris <rgm@gnu.org>
8404
8405 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8406
e8cbec34
CY
84072011-05-29 Chong Yidong <cyd@stupidchicken.com>
8408
8409 * image.el (image-animate-max-time): Allow nil and t values.
8410 Default to nil.
8411 (create-animated-image): Doc fix.
8412 (image-animate-start): Remove second arg; just use
8413 image-animate-max-time.
8414 (image-animate-timeout): Doc fix. Args changed.
8415
8416 * image-mode.el (image-toggle-display-image): Ensure that the
8417 image spec passed to the animate timer is the same object as in
58179cce 8418 the buffer's display property (Bug#6981).
e8cbec34
CY
8419 (image-transform-properties): Doc fix.
8420
8421 * image.el (image-animate-max-time): Default to nil.
8422
159daf87
MR
84232011-05-29 Martin Rudalics <rudalics@gmx.at>
8424
8425 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8426 entire buffer list (Bug#8184).
8427
d66c4c7c
CY
84282011-05-29 Chong Yidong <cyd@stupidchicken.com>
8429
8430 * image.el (imagemagick-types-inhibit)
8431 (imagemagick-register-types): Doc fix.
8432
80aec780
DD
84332011-05-29 Deniz Dogan <deniz@dogan.se>
8434
8435 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8436 default.
8437
1dd3c2d9
CY
84382011-05-29 Chong Yidong <cyd@stupidchicken.com>
8439
8440 * select.el: Don't perform clipboard-manager saving in hooks;
8441 leave the hooks empty.
8442
60e56523
LL
84432011-05-28 Leo Liu <sdl.web@gmail.com>
8444
8445 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8446 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8447 (occur-edit-mode): New major mode (Bug#8463).
8448 (occur-after-change-function): New function.
8449 (occur-engine): Give Occur tags a read-only property.
8450
2b1e1a22
KR
84512011-05-28 Kevin Ryde <user42@zip.com.au>
8452
8453 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8454
5d344e88
CY
84552011-05-28 Chong Yidong <cyd@stupidchicken.com>
8456
8e6ca83d
CY
8457 * bindings.el (help-echo): Make the initial non-indicator dash
8458 empty on graphical terminals (Bug#7295).
8459
5d344e88
CY
8460 * files.el (auto-mode-alist): Move config rule after the
8461 in-stripping one (Bug#8547).
8462
bfbbace7
CY
8463 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8464
fbeba6e2
CY
8465 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8466 setting (Bug#8740).
8467
60ed8c72
AA
84682011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8469
4ac619f0
AA
8470 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8471 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8472 (Bug#8539).
60ed8c72 8473
23db196e
CY
84742011-05-28 Chong Yidong <cyd@stupidchicken.com>
8475
8476 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8477
5012f24c
DK
84782011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8479
8480 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8481 (hs-hide-block-at-point, hs-find-block-beginning)
8482 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8483 (Bug#8279).
8484
6a639b16
GM
84852011-05-28 Glenn Morris <rgm@gnu.org>
8486
8487 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8488
d43eaf2c
CY
84892011-05-28 Chong Yidong <cyd@stupidchicken.com>
8490
5199bde1
CY
8491 * help-fns.el (describe-function-1): If the function is a derived
8492 major mode, print the parent mode.
8493
d43eaf2c
CY
8494 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8495 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8496
423428a8
SM
84972011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8498
0ff8e1ba 8499 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8500 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8501 * progmodes/etags.el (tags-completion-at-point-function):
8502 * info-look.el (info-lookup-completions-at-point): Mark as
8503 non-exclusive.
8504 (info-complete): Adjust accordingly.
8505
423428a8
SM
8506 * info-look.el: Convert to lexical-binding and completion-at-point.
8507 (info-lookup-completions-at-point): New function.
8508 (info-complete): Use it and completion-in-region.
8509
b74aa22b
DA
85102011-05-28 Drew Adams <drew.adams@oracle.com>
8511
8512 * isearch.el: Let M-e start with point at the first mismatched char.
8513 (isearch-fail-pos): New function.
8514 (isearch-edit-string): Use it.
8515
66e2e71d
DK
85162011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8517
8518 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8519
b1890b0f 85202011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8521
8522 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8523 traversal functions for avl-trees.
8524 (avl-tree--stack): New struct.
8525 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8526 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8527 (avl-tree--do-enter): Add optional `updatefun' arg.
8528 Change return value.
eb95d01d 8529 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8530 (avl-tree--do-delete): Add `test' and `nilflag' args.
8531 Change return value.
eb95d01d
TC
8532 (avl-tree-member): Add optional `nilflag'
8533 (avl-tree-member-p): New function.
8534 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8535 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8536 (avl-tree-stack-empty-p): New functions.
8537
3769ddcf
TC
8538 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8539 avl-tree--del-balance1 and make it work both ways.
8540 (avl-tree--del-balance2): Remove.
8541 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8542 make it work both ways.
8543 (avl-tree--enter-balance2): Remove.
8544 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8545 New macros.
8546 (avl-tree--mapc, avl-tree-map): Add direction argument.
8547
eb95d01d 85482011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8549
8550 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8551
a9f737ee
CY
85522011-05-27 Chong Yidong <cyd@stupidchicken.com>
8553
8554 * select.el: Support clipboard managers with built-in function
8555 x-clipboard-manager-save, via delete-frame-functions and
8556 kill-emacs-hook.
8557 (xselect-convert-to-targets): Add MULTIPLE target to list.
8558 (xselect-convert-to-save-targets): New function.
8559
c92a1e54
KH
85602011-05-27 Kenichi Handa <handa@m17n.org>
8561
8562 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8563 let-binding rfc2047-encode-encoded-words to nil.
8564
e145f188
GM
85652011-05-27 Glenn Morris <rgm@gnu.org>
8566
5ec8a862
GM
8567 * mail/emacsbug.el: Don't require url-util.
8568
4b29d9fb
GM
8569 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8570
e145f188
GM
8571 * files.el (set-auto-mode):
8572 Also respect mode: entries at the end of the file. (Bug#8586)
8573
7d15102b
GM
85742011-05-26 Glenn Morris <rgm@gnu.org>
8575
98f593b8
GM
8576 * files.el (hack-local-variables-prop-line, hack-local-variables):
8577 Downcase mode names, as seems to be traditional.
27b48e63 8578 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8579
7d15102b
GM
8580 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8581 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8582
51d5b4ec
JD
85832011-05-25 Julien Danjou <julien@danjou.info>
8584
8585 * textmodes/rst.el (rst-define-level-faces): Do not define face
8586 symbol if it is already defined.
8587
91513f63
VB
85882011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8589
8590 * play/5x5.el (5x5-new-game, 5x5-randomize):
8591 Reset 5x5-solver-output to nil when a new grid is cast.
8592 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8593 these debugging traces, as defmacro breaks the compiled code.
8594
4d90d6d0
DK
85952011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8596
8597 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8598
e1b90ef6
LL
85992011-05-24 Leo Liu <sdl.web@gmail.com>
8600
8601 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8602 (vc-bzr-sha1): Adapt.
8603
d8e4b68b 8604 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8605
8606 * bindings.el: Provide sha1 feature.
8607
db0406bb 86082011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8609
8610 * mail/sendmail.el: Require `rfc2047'.
8611 (mail-insert-from-field): Do not perform RFC2047 encoding.
8612 (mail-encode-header): New function.
8613 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8614 buffer to the return value of select-message-coding-system.
8615 Call mail-encode-header.
b8d747b9
KH
8616
8617 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8618
db0406bb 86192011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8620
4d90d6d0
DK
8621 * mail/supercite.el (sc-default-cite-frame):
8622 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8623
eb8a5e9b
GM
86242011-05-24 Glenn Morris <rgm@gnu.org>
8625
f8630703
GM
8626 * progmodes/python.el (brm-menu): Declare.
8627
8831bbed
GM
8628 * emulation/viper.el (viper-set-hooks): Declare.
8629
eb8a5e9b
GM
8630 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8631 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8632 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8633 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8634 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8635 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8636
a2a25d24
SM
86372011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8638
8639 Add an :exit-function for completion-at-point.
8640
8641 * minibuffer.el (completion--done): New fun.
8642 (completion--do-completion): Use it. New arg `expect-exact'.
8643 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8644 since completion--do-completion does it for us now.
8645 (minibuffer-force-complete): Use completion--done and
8646 completion--replace. Handle sole-completion case with more care.
8647 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8648 (completion-extra-properties): New var.
8649 (completion-annotate-function): Make obsolete.
8650 (minibuffer-completion-help): Adjust accordingly.
8651 Use completion-list-insert-choice-function.
8652 (completion-at-point, completion-help-at-point):
8653 Bind completion-extra-properties.
8654 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8655 * simple.el (completion-list-insert-choice-function): New var.
8656 (completion-setup-function): Preserve it.
8657 (choose-completion): Pay attention to it, shuffle the code a bit.
8658 (choose-completion-string): New arg `insert-function'.
8659
8660 * textmodes/bibtex.el: Convert to lexical binding.
8661 (bibtex-mode-map): Use completion-at-point.
8662 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8663 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8664 (bibtex-complete): Define as obsolete alias.
8665 (bibtex-complete-internal): Remove.
8666 (bibtex-format-entry): Remove unused sub-group in regexp.
8667 * shell.el (shell--command-completion-data)
8668 (shell-environment-variable-completion):
8669 * pcomplete.el (pcomplete-completions-at-point):
8670 * comint.el (comint--complete-file-name-data): Use :exit-function
8671 instead of completion-table-with-terminator so it also works for
8672 choose-completion.
8673
e44e373d
SM
86742011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8675
4f91a816
SM
8676 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8677
782fc819
SM
8678 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8679 (bug#8710).
8680
e44e373d
SM
8681 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8682
381987c3
KM
86832011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8684
8685 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8686 customization variable and implement: If non-nil, auto-fill will
8687 be inhibited while on topic's header line.
8688
b776bc70
VB
86892011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8690
8691 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8692 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8693 always have a solution in grid size = 5 cases.
8694 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8695 (5x5-solver-output, 5x5-log-buffer): New vars.
8696 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8697 Make these variables buffer local to achieve 5x5 multi-session-ness.
8698 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8699 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8700 (5x5-solve-suggest): New funs.
8701 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8702 randomize a grid so that we ensure that there is always a solution.
8703 (5x5-make-random-grid): Allow other movement than flipping.
8704
7de88b6e
KR
87052011-05-23 Kevin Ryde <user42@zip.com.au>
8706
8707 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8708 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8709 advice and passes PREDICATE.
8710
b1ef1257
SM
87112011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8712
bbca48fe
SM
8713 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8714 byte-compile-lambda if it's actually a lambda.
8715
b1ef1257
SM
8716 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8717 Fix function quoting. Use backquote better.
8718
92a9cc65
YS
87192011-05-22 Yuanle Song <sylecn@gmail.com>
8720
8721 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8722 matching (Bug#8516).
8723
f0fb8059
JA
87242011-01-22 Jari Aalto <jari.aalto@cante.net>
8725
8726 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8727 different face (Bug#8178).
8728
d5b44c93
CY
87292011-05-22 Chong Yidong <cyd@stupidchicken.com>
8730
8731 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8732 defface (Bug#8144).
8733
79106a44
SM
87342011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8735
9c848d8a
SM
8736 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8737 funcall as well (bug#8712). Warn when performing those conversions.
8738 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8739
79106a44
SM
8740 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8741
88dfa756
GM
87422011-05-22 Glenn Morris <rgm@gnu.org>
8743
8744 * files.el (hack-local-variables-prop-line): Small simplifications.
8745 (hack-local-variables, hack-local-variables-prop-line):
8746 If MODE-ONLY, return the mode, rather than just `t'.
8747
b7cf2c79
SM
87482011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8749
8750 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8751
3f1a8558
GM
87522011-05-21 Glenn Morris <rgm@gnu.org>
8753
7e4ccca3
GM
8754 * files.el (hack-local-variables-prop-line, hack-local-variables):
8755 If only interested in the mode, don't bother doing the other stuff.
8756
637d46ca
GM
8757 * image-mode.el (image-after-revert-hook):
8758 Redraw all frames on which the image is visible. (Bug#8567)
8759
973d955b
GM
8760 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8761
3f1a8558
GM
8762 * wid-edit.el (widget-checklist-match-inline):
8763 Fix 2011-04-19 change. (Bug#8649)
8764
96479927
SM
87652011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8766
1dcf791f
SM
8767 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8768 Also allow singlespace after single-letter capitals followed by a dot.
8769
96479927
SM
8770 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8771 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8772
35fd0881
N
87732011-05-20 Nix <nix@esperi.org.uk>
8774
8775 * files.el (basic-save-buffer-2):
8776 Fix handling of break-hardlink-on-save with non-existent files.
8777
82745640
DD
87782011-05-19 Deniz Dogan <deniz@dogan.se>
8779
8780 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8781 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8782
4a720484
GM
87832011-05-19 Glenn Morris <rgm@gnu.org>
8784
d1f21341
GM
8785 * progmodes/f90.el (f90-type-def-re):
8786 Handle "type, bind(c)". (Bug#8691)
8787
4a720484
GM
8788 * emacs-lisp/autoload.el (batch-update-autoloads):
8789 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8790
2fb0a219
MA
87912011-05-18 Michael Albinus <michael.albinus@gmx.de>
8792
8793 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8794 property for the correct connection in case of multihops.
8795
e565dd37
GM
87962011-05-18 Glenn Morris <rgm@gnu.org>
8797
c2571358 8798 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8799 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8800
e565dd37
GM
8801 Rationalize calendar handling of day and month abbrev-arrays.
8802 * calendar/calendar.el (calendar-customized-p): New function.
8803 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8804 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8805 Add :set function.
8806 (calendar-abbrev-length, calendar-day-abbrev-array)
8807 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8808 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8809 Elements may no longer be nil.
8810 (calendar-day-name, calendar-month-name):
8811 Update for changed nature of abbrev arrays.
8812 * calendar/diary-lib.el (diary-name-pattern):
8813 Update for changed nature of abbrev arrays.
8814 (diary-mark-entries-1): Update calendar-make-alist calls.
8815 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8816 * calendar/cal-html.el (cal-html-day-abbrev-array):
8817 Simply inherit from calendar-day-abbrev-array.
8818
1d99a745
SM
88192011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8820
8821 * progmodes/grep.el (grep-mode): Disable default
8822 compilation-directory-matcher setting (bug#8684).
8823
7c1d9aa0
MA
88242011-05-17 Michael Albinus <michael.albinus@gmx.de>
8825
8826 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8827 instead of "head" and "tail". There were problems with SunOS 5.9,
8828 and it performs better.
8829
3952e9d8
GM
88302011-05-17 Glenn Morris <rgm@gnu.org>
8831
2dd12e7f
GM
8832 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8833
e4157b9c
GM
8834 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8835 Replace obsolete function.
8836
8e249bbd
GM
8837 * shell.el (pcomplete-parse-arguments-function): Declare.
8838
3952e9d8
GM
8839 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8840 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8841 (appt-check): Doc fixes.
8842 (appt-disp-window-function, appt-delete-window-function):
8843 Remove needless special case in custom :type.
8844 (appt-display-count): Default to 0, not nil.
8845 (appt-check): Reset appt-display-count to 0, not nil.
8846
c71a0d48 88472011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8848
c71a0d48
GM
8849 * progmodes/python.el (python-font-lock-keywords):
8850 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 8851
31d55be9
SM
88522011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8853
8854 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8855
3bfacb2f
KR
88562011-05-16 Kevin Ryde <user42@zip.com.au>
8857
8858 * info-look.el (makefile-automake-mode): New setups, looking in
8859 automake manual, then makefile-mode.
8860 (makefile-mode): Remove automake manual, have it just in
8861 makefile-automake-mode since there's various things different or
8862 not relevant to plain make.
8863 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8864 believe a hypothetical automake-mode would go to makefile-mode,
8865 not the other way around.
8866
c8e83751
CY
88672011-05-15 Chong Yidong <cyd@stupidchicken.com>
8868
5e9e35cd
CY
8869 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8870 hunk-end tags (Bug#8672).
8871
c8e83751
CY
8872 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8873 vc-annotate-show-diff-revision-at-line (Bug#8671).
8874
50b23e5a
GM
88752011-05-14 Glenn Morris <rgm@gnu.org>
8876
7210a739
GM
8877 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8878 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
8879 (change-log-font-lock-keywords): Also handle multiple author lines
8880 with leading tabs. (Bug#8644)
7210a739 8881
4691905a
GM
8882 * calendar/appt.el (appt-check): Rename some local variables.
8883 Some simplification/reordering.
8884
50b23e5a
GM
8885 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
8886 (feedmail-sendmail-f-doesnt-sell-me-out)
8887 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8888 (feedmail-debug-sit-for, feedmail-queue-express-hook)
8889 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
8890 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8891 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
8892 (feedmail-binmail-gnulinuxish-template):
8893 Rename from feedmail-binmail-linuxish-template.
8894 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8895 Use insert-buffer-substring.
8896
215cda7c
BC
88972011-05-14 Bill Carpenter <bill@carpenter.org>
8898
8899 * mail/feedmail.el (feedmail-patch-level): Increase.
8900 (feedmail-debug): New custom group.
8901 (feedmail-confirm-outgoing-timeout)
8902 (feedmail-sendmail-f-doesnt-sell-me-out)
8903 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8904 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8905 (feedmail-sender-line, feedmail-from-line)
8906 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 8907 (feedmail-spray-this-address)
215cda7c
BC
8908 (feedmail-spray-address-fiddle-plex-list)
8909 (feedmail-queue-use-send-time-for-date)
8910 (feedmail-queue-use-send-time-for-message-id)
8911 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8912 (feedmail-buffer-eating-function):
8913 Doc fixes.
8914 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8915 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8916 (feedmail-message-action-scroll-down): New functions.
8917 (feedmail-queue-directory, feedmail-queue-draft-directory):
8918 Use expand-file-name.
8919 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8920 Remove C-v help entry.
8921 (feedmail-queue-buffer-file-name): New variable.
8922 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8923 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8924 (feedmail-message-action-send-strong, feedmail-message-action-edit)
8925 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8926 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8927 (feedmail-message-action-toggle-spray)
8928 (feedmail-run-the-queue-no-prompts)
8929 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8930 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8931 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8932 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8933 (feedmail-envelope-deducer, feedmail-fiddle-from)
8934 (feedmail-fiddle-sender, feedmail-default-date-generator)
8935 (feedmail-fiddle-date, feedmail-fiddle-message-id)
8936 (feedmail-fiddle-spray-address)
8937 (feedmail-fiddle-list-of-spray-fiddle-plexes)
8938 (feedmail-fiddle-list-of-fiddle-plexes)
8939 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8940 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8941 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8942 Change default. Doc fix.
8943 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8944 (feedmail-binmail-linuxish-template): New constant.
8945 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
8946 Respect feedmail-sendmail-f-doesnt-sell-me-out.
8947 (feedmail-send-it): Add debug call.
8948 Use feedmail-queue-buffer-file-name, and
8949 feedmail-send-it-immediately-wrapper.
8950 (feedmail-message-action-send): Add debug call.
8951 Use feedmail-send-it-immediately-wrapper.
8952 (feedmail-queue-express-to-queue): Add debug call.
8953 Run feedmail-queue-express-hook.
8954 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
8955 (feedmail-message-action-help-blat):
8956 Rename from feedmail-queue-send-edit-prompt-help-first.
8957 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
8958 Check line-endings. Handle errors better.
8959 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
8960 Doc fix. Add debug call.
8961 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
8962 Use feedmail-queue-send-edit-prompt-inner.
8963 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
8964 (feedmail-queue-send-edit-prompt-inner): New function, extracted
8965 from feedmail-queue-send-edit-prompt.
8966 (feedmail-queue-send-edit-prompt-help)
8967 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
8968 (feedmail-tidy-up-slug): Add debug call.
8969 Respect feedmail-queue-slug-suspect-regexp.
8970 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
8971 (feedmail-dump-message-to-queue): Add debug call.
8972 Expand queue-directory.
8973 (feedmail-dump-message-to-queue): Change message slightly.
8974 Use feedmail-say-chatter.
8975 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
8976 (feedmail-send-it-immediately-wrapper): New function.
8977 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
8978 Insert empty string rather than newline. Handle full-frame case.
8979 Use catch/throw. Use feedmail-say-chatter.
8980 (feedmail-fiddle-from): Try mail-host-address.
8981 (feedmail-default-message-id-generator): Doc fix.
8982 Bind system-time-locale. Handle missing end.
8983 (feedmail-fiddle-x-mailer): Add debug call.
8984 Handle feedmail-x-mailer-line being nil.
8985 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
8986 Add debug call. Use buffer-substring-no-properties.
8987 (feedmail-say-debug, feedmail-say-chatter): New functions.
8988 (feedmail-find-eoh): Give an explicit error.
8989
42c7e61e
UJ
89902011-05-13 Ulf Jasper <ulf.jasper@web.de>
8991
c2571358 8992 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 8993 family from helvetica to sans.
c2571358 8994 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
8995 etc/images/newsticker.
8996
c2571358 8997 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
8998 family from helvetica to sans.
8999
9000 * net/newst-plainview.el (newsticker-new-item-face)
9001 (newsticker-old-item-face, newsticker-immortal-item-face)
9002 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9003 (newsticker-statistics-face): Change default family from
42c7e61e 9004 helvetica to sans.
c2571358 9005 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9006 etc/images/newsticker.
9007
9008 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9009 (newsticker--process-auto-mark-filter-match): : Tell user about
9010 auto-marking.
9011
8497a297
DV
90122011-05-13 Didier Verna <didier@xemacs.org>
9013
9014 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9015 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9016 TODO entries.
8497a297
DV
9017 (lisp-lambda-list-keyword-parameter-indentation)
9018 (lisp-lambda-list-keyword-parameter-alignment)
9019 (lisp-lambda-list-keyword-alignment): New customizable user options.
9020 (lisp-indent-defun-method): Improve docstring.
9021 (extended-loop-p): Fix comment.
9022 (lisp-indent-lambda-list-keywords-regexp): New variable.
9023 (lisp-indent-lambda-list): New function.
9024 (lisp-indent-259): Use it.
9025 (lisp-indent-defmethod): Support for more than one
9026 method qualifier and properly indent methods lambda-lists.
9027 (defgeneric): Provide a missing common-lisp-indent-function property.
9028
f278f87f
SM
90292011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9030
9031 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9032 bounds for the empty string (bug#8667).
9033
5233edd7
GM
90342011-05-13 Glenn Morris <rgm@gnu.org>
9035
5237a44f
GM
9036 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9037
8340026c 9038 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9039 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9040
5233edd7 9041 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9042 (appt-time-msg-list): Doc fix.
a5464014 9043 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9044
92d10796
AS
90452011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9046
9047 * progmodes/ld-script.el (ld-script-keywords)
9048 (ld-script-builtins): Update keywords list.
9049
914a0ae1
SM
90502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9051
c89be45f
SM
9052 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9053
914a0ae1
SM
9054 * shell.el (shell-completion-vars): New function.
9055 (shell-mode):
9056 * simple.el (read-shell-command): Use it.
9057 (blink-matching-open): No need for " [...]" in minibuffer-message.
9058
98dc3df3
GM
90592011-05-12 Glenn Morris <rgm@gnu.org>
9060
9061 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9062 (appt-check): Simplify.
9063
d2fc7e3d 90642011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9065
4d61f28d 9066 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9067 literal "/dev/null".
9068
d2fc7e3d 90692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9070
9071 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9072 Fix typo.
9073
d2fc7e3d 90742011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9075
3f254caa
SM
9076 * progmodes/which-func.el (which-function):
9077 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9078 which might not be defined (Bug#8260).
9079
d45885f7
GM
90802011-05-12 Glenn Morris <rgm@gnu.org>
9081
9082 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9083 Let byte-compile-initial-macro-environment always take precedence.
9084
488086f4
SM
90852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9086
9087 * net/rcirc.el: Add support for SSL/TLS connections.
9088 (rcirc-server-alist): New field `encryption'.
9089 (rcirc): Check `encryption' settings.
9090 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9091 Merge make-local-variable into `set'.
9092 (rcirc--connection-open-p): New function.
9093 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9094 the process is not a network process (e.g. running gnutls-cli).
9095 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9096 Make rcirc-(en|de)code-coding-system local here.
9097 (rcirc-mode): Merge make-local-variable into `set'.
9098 (rcirc-parent-buffer): Make permanent buffer-local.
9099 (rcirc-multiline-minor-mode): Don't do it here.
9100 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9101 there's no server buffer.
9102
7d3b9d44
GM
91032011-05-11 Glenn Morris <rgm@gnu.org>
9104
f64049c6
GM
9105 * newcomment.el (comment-kill): Prefix "unused" local.
9106
93c9df73
GM
9107 * term/w32console.el (get-screen-color): Declare.
9108
7d3b9d44
GM
9109 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9110 Handle symbol elements of byte-compile-initial-macro-environment.
9111
9e2dd53f
LL
91122011-05-10 Leo Liu <sdl.web@gmail.com>
9113
488086f4
SM
9114 * bookmark.el (bookmark-bmenu-mode-map):
9115 Bind bookmark-bmenu-search to `/'.
8b340240 9116
9e2dd53f 9117 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9118 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9119 (Footnote-unicode): New function.
9120 (footnote-style-alist): Add unicode style to the list.
9121 (footnote-style): Doc fix.
9e2dd53f 9122
79b70037
GM
91232011-05-10 Jim Meyering <meyering@redhat.com>
9124
9125 Fix doubled-word typos.
9126 * international/quail.el (quail-insert-kbd-layout): and and -> and
9127 * kermit.el: and and -> and
9128 * net/ldap.el (ldap-search-internal): to to -> to
9129 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9130 * progmodes/js.el (js-mode): and and -> and
9131 * textmodes/artist.el (artist-move-to-xy): at at -> at
9132 (artist-draw-region-trim-line-endings): if if -> if
9133 And Safetyc -> Safety.
9134 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9135
b8f82dc1 91362011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9137 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9138
9139 * files.el (hack-one-local-variable-eval-safep):
9140 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9141
4f99f44b
GM
91422011-05-10 Glenn Morris <rgm@gnu.org>
9143
9144 * calendar/diary-lib.el (diary-list-entries-hook)
9145 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9146 (diary-nongregorian-marking-hook, diary-list-entries)
9147 (diary-include-other-diary-files, diary-mark-entries)
9148 (diary-mark-included-diary-files): Doc fixes.
9149
84f29e6b
JB
91502011-05-09 Juanma Barranquero <lekktu@gmail.com>
9151
9152 * misc.el: Require tabulated-list.el during compilation.
9153
9bedd73a
CY
91542011-05-09 Chong Yidong <cyd@stupidchicken.com>
9155
488086f4
SM
9156 * progmodes/compile.el (compilation-start):
9157 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9158 (compilation-filter-hook): Doc fix.
9159
797c735c
DD
91602011-05-09 Deniz Dogan <deniz@dogan.se>
9161
9162 * wdired.el: Remove outdated installation comment. Fix usage
9163 comment.
9164
5f4b1dfe
JB
91652011-05-09 Juanma Barranquero <lekktu@gmail.com>
9166
9167 * misc.el: Implement new command `list-dynamic-libraries'.
9168 (list-dynamic-libraries--loaded-only-p): New variable.
9169 (list-dynamic-libraries--refresh): New function.
9170 (list-dynamic-libraries): New command.
9171
4c44026c
CY
91722011-05-09 Chong Yidong <cyd@stupidchicken.com>
9173
488086f4
SM
9174 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9175 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9176 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9177 higher priority to avoid clobbering by gnu.
9178
027f966d
CY
91792011-05-08 Chong Yidong <cyd@stupidchicken.com>
9180
9181 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9182 if the face has existing theme settings (Bug#8454).
9183
085f5d7d
CY
91842011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9185
488086f4
SM
9186 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9187 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9188
2a86a00c
RS
9189 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9190 special file names `.' and `..' (Bug#8259).
9191
d9c54a06
CY
91922011-05-08 Chong Yidong <cyd@stupidchicken.com>
9193
488086f4
SM
9194 * progmodes/grep.el (grep-mode-font-lock-keywords):
9195 Remove buffer-changing entries.
d9c54a06
CY
9196 (grep-filter): New function.
9197 (grep-mode): Add it to compilation-filter-hook.
9198
9199 * progmodes/compile.el (compilation-filter-hook)
9200 (compilation-filter-start): New defvars.
9201 (compilation-filter): Call compilation-filter-hook prior to
9202 updating the process mark.
9203
c4662635
SM
92042011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9205
9206 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9207
b0512a1d
EZ
92082011-05-07 Eli Zaretskii <eliz@gnu.org>
9209
605c9376
EZ
9210 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9211 mailclient-send-it even if window-system is nil. (Bug#8595)
9212
c4662635
SM
9213 * term/w32console.el (terminal-init-w32console):
9214 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9215 background-mode. (Bug#8597)
9216
d1dc2cc2
SM
92172011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9218
9219 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9220 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9221 New functions.
9222 (defgeneric, eieio--defmethod): Use them.
9223 (eieio-defgeneric): Remove.
9224 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9225
915d1300
GM
92262011-05-07 Glenn Morris <rgm@gnu.org>
9227
a3961c3e
GM
9228 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9229 Use let rather than let*.
9230 (timeclock-find-discrep): Remove unused local.
9231
314347b9
GM
9232 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9233
915d1300
GM
9234 * calendar/appt.el (appt-time-msg-list): Doc fix.
9235
275b59b0
NF
92362011-05-06 Noah Friedman <friedman@splode.com>
9237
9238 * apropos.el (apropos-print-doc): Only use
9239 emacs-lisp-docstring-fill-column when it is bound to an integer,
9240 per that variable's documentation.
9241
6c19f744
SM
92422011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9243
9244 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9245 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9246
60f884b2
GM
92472011-05-06 Glenn Morris <rgm@gnu.org>
9248
5006e634
GM
9249 * calendar/appt.el (appt-message-warning-time): Doc fix.
9250 (appt-warning-time-regexp): New option.
9251 (appt-make-list): Respect appt-message-warning-time.
9252
548d0a63
GM
9253 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9254 New options.
9255 (diary-add-to-list): Strip comments from the displayed string.
9256 (diary-mode): Set comment-start and comment-end.
9257
60f884b2
GM
9258 * vc/diff-mode.el (smerge-refine-subst): Declare.
9259 (diff-refine-hunk): Don't require smerge-mode when compiling.
9260
989681bb
JB
92612011-05-06 Juanma Barranquero <lekktu@gmail.com>
9262
9263 * simple.el (list-processes): Return nil as the docstring says.
9264
a6bc05e1
MA
92652011-05-05 Michael Albinus <michael.albinus@gmx.de>
9266
9267 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9268 to "".
9269 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9270 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9271 determining of binary transfer. (Bug#7383)
9272
23c22e9a
MA
92732011-05-05 Michael Albinus <michael.albinus@gmx.de>
9274
c4662635
SM
9275 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9276 Fix port computation bug. (Bug#8618)
23c22e9a 9277
0bff894f
GM
92782011-05-05 Glenn Morris <rgm@gnu.org>
9279
b8296902
GM
9280 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9281
1f522ce8
GM
9282 * simple.el (shell-dynamic-complete-functions)
9283 (comint-dynamic-complete-functions): Declare.
9284
cf5bee67
GM
9285 * net/network-stream.el (gnutls-negotiate):
9286 * simple.el (tabulated-list-print): Fix declarations.
9287
9288 * progmodes/gud.el (syntax-symbol, syntax-point):
9289 Remove unnecessary and incorrect declarations.
9290
0bff894f
GM
9291 * emacs-lisp/check-declare.el (check-declare-scan):
9292 Handle byte-compile-initial-macro-environment in bytecomp.el
9293
9869b3ae
SM
92942011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 Fix earlier half-done eieio-defmethod change (bug#8338).
9297 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9298 Streamline and change calling convention.
9299 (defmethod): Adjust accordingly and simplify.
9300 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9301 new eieio--defmethod.
9302 (slot-boundp): Minor CSE simplification.
9303
9c1d5ac5
MZ
93042011-05-05 Milan Zamazal <pdm@zamazal.org>
9305
9306 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9307 (glasses-make-readable): Use glasses-separate-capital-groups.
9308
455c834e
JB
93092011-05-05 Juanma Barranquero <lekktu@gmail.com>
9310
9311 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9312 (warning-series): Doc fix.
9313 (display-warning): Don't try to create the buffer if we just found it.
9314
9ed7c8cb
CY
93152011-05-04 Chong Yidong <cyd@stupidchicken.com>
9316
9317 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9318 (autoload-find-generated-file): New function.
9319 (generate-file-autoloads): Bind generated-autoload-file to
9320 buffer-file-name.
9869b3ae
SM
9321 (update-file-autoloads, update-directory-autoloads):
9322 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9323 output file (Bug#7989).
9324 (batch-update-autoloads): Doc fix.
9325
0898ca10
JB
93262011-05-04 Juanma Barranquero <lekktu@gmail.com>
9327
9328 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9329
31dfb76c
GM
93302011-05-04 Glenn Morris <rgm@gnu.org>
9331
f330b642
GM
9332 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9333 function, so it follows changes in calendar-date-style.
9334 (diary-fancy-date-matcher): New function.
9335 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9336 (diary-fancy-font-lock-fontify-region-function):
9337 Use diary-fancy-date-pattern as a function.
9338
31dfb76c
GM
9339 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9340 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9341
48e79d6a
TZ
93422011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9343
9344 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9345 instead of positional arguments. Allow :keylist and :crlfiles
9346 arguments.
9347 (open-gnutls-stream): Call it.
9348
9349 * net/network-stream.el (network-stream-open-starttls): Adjust to
9350 call `gnutls-negotiate' with :process and :hostname arguments.
9351
dd5a5ee0
SM
93522011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9353
ef80fc09
SM
9354 * minibuffer.el (completion--message): New function.
9355 (completion--do-completion, minibuffer-complete)
9356 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9357 (completion--do-completion): Don't ignore completion-auto-help when in
9358 icomplete-mode.
9359
dd5a5ee0
SM
9360 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9361 internal encoding (e.g. tibetan zero is not whitespace).
9362 (global-whitespace-mode): Prefer save-current-buffer.
9363 (whitespace-trailing-regexp): Remove useless save-match-data.
9364 (whitespace-empty-at-bob-regexp): Minor simplification.
9365
b7d22a83
CY
93662011-05-03 Chong Yidong <cyd@stupidchicken.com>
9367
9368 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9369
5192af46
AM
93702011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9371
9372 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9373 Use `concat' to create string for insertion.
5192af46 9374
5767d190
SM
93752011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9376
9377 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9378 Avoid open-line which runs post-self-insert-hook.
9379 (bibtex-fill-entry): Remove unused `end' var.
9380
bf242939
AM
93812011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9382
5767d190
SM
9383 * textmodes/ispell.el (ispell-add-per-file-word-list):
9384 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9385
25666126
LL
93862011-05-03 Leo Liu <sdl.web@gmail.com>
9387
9388 * isearch.el (isearch-yank-pop): New command.
5767d190 9389 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9390 (isearch-forward): Mention it.
9391
52d3c2d0
SM
93922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9393
1bcace58
SM
9394 * simple.el (minibuffer-complete-shell-command): Remove.
9395 (minibuffer-local-shell-command-map): Use completion-at-point.
9396 (read-shell-command): Setup completion vars here instead.
9397 (read-expression-map): Bind TAB to symbol completion.
9398
52d3c2d0
SM
9399 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9400 error directly rather via storing it into `results'.
9401
35813471
LL
94022011-05-02 Leo Liu <sdl.web@gmail.com>
9403
9404 * vc/diff.el: Fix description.
9405
e793a940
LMI
94062011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9407
9408 * server.el (server-eval-at): New function.
9409
8de66e05
LMI
94102011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9411
9412 * net/network-stream.el (open-network-stream): Take a :nowait
9413 parameter and pass it on to `make-network-process'.
9414 (network-stream-open-plain): Ditto.
9415
dcb79f20
AS
94162011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9417
9418 * faces.el (face-spec-set-match-display): Don't match toolkit
9419 options on terminal frames.
9420
14a7fbd8
SM
94212011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9422
7eabc1be
SM
9423 * progmodes/pascal.el: Use lexical binding.
9424 (pascal-mode-map): Remove author preferences.
9425
14a7fbd8
SM
9426 * pcomplete.el (pcomplete-std-complete): Don't abuse
9427 completion-at-point.
9428
50f84510
JB
94292011-04-28 Juanma Barranquero <lekktu@gmail.com>
9430
6e087a44
JB
9431 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9432 removing code that has been dead since 1991 or so.
9433
50f84510
JB
9434 * startup.el (command-line): When warning about "_emacs", use a
9435 delayed warning to allow the user to filter it out.
9436
0ba690bd
DD
94372011-04-28 Deniz Dogan <deniz@dogan.se>
9438
9439 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9440 user has not joined.
9441
08abfaad
SM
94422011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9443
9444 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9445 aren't any completions at point.
9446
638f053a
JB
94472011-04-28 Juanma Barranquero <lekktu@gmail.com>
9448
9449 * subr.el (display-delayed-warnings): New function.
9450 (delayed-warnings-hook): New variable.
9451
8fff8daa
SM
94522011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9453
08abfaad
SM
9454 * minibuffer.el (completion-at-point, completion-help-at-point):
9455 Don't presume that a given completion-at-point-function will always
9456 use the same calling convention.
9457
8fff8daa
SM
9458 * pcomplete.el (pcomplete-completions-at-point):
9459 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9460 pcomplete-seen is non-nil.
9461 (pcomplete-comint-setup): Also recognize the new comint/shell
9462 completion functions.
9463 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9464 pcomplete-seen is non-nil.
9465
841a1577 94662011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9467
841a1577 9468 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9469 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9470 the first character in the entry. This allows for code to add its
211ec907
UJ
9471 own uid to the entry.
9472 (icalendar--convert-float-to-ical): Add export of
9473 `diary-float'-entries save for those with the optional DAY
9474 argument.
9475
2a782793
DC
94762011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9477
9478 * subr.el (shell-quote-argument): Use alternate escaping strategy
9479 when we spot a variable reference in a string.
9480
0438ce91
DC
94812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9482
9483 * cus-start.el (all): Define customization for debug-on-event.
9484
841a1577 94852011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9486
9487 * subr.el (shell-quote-argument): Escape correctly under Windows.
9488
d090ed6c
SM
94892011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9492
bfd31217
MA
94932011-04-25 Michael Albinus <michael.albinus@gmx.de>
9494
d090ed6c
SM
9495 * net/tramp.el (tramp-process-actions): Add POS argument.
9496 Delete region between POS and (pos).
bfd31217 9497
d090ed6c
SM
9498 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9499 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9500 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9501
9502 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9503 position in `tramp-process-actions' call.
9504
9505 * net/trampver.el: Update release number.
9506
e92f3bd3
SM
95072011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9508
850256b5
SM
9509 * custom.el (defcustom): Obey lexical-binding.
9510
e92f3bd3
SM
9511 Fix octave-inf completion problems reported by Alexander Klimov.
9512 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9513 Inherit from octave-mode-syntax-table.
9514 (inferior-octave-mode): Set info-lookup-mode.
9515 (inferior-octave-completion-at-point): New function.
9516 (inferior-octave-complete): Use it and completion-in-region.
9517 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9518 comint-filename-completion.
9519 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9520 symbol elements which shouldn't be word elements.
9521 (octave-font-lock-keywords, octave-beginning-of-defun)
9522 (octave-function-header-regexp): Adjust regexps accordingly.
9523 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9524
cd22b309
JB
95252011-04-25 Juanma Barranquero <lekktu@gmail.com>
9526
9527 * net/gnutls.el (gnutls-errorp): Declare before first use.
9528
8b492194
TZ
95292011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9530
9531 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9532 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9533 default trustfile exists before going to use it. Add missing
5a5fa834 9534 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9535 Reported by Claudio Bley <claudio.bley@gmail.com>.
9536 (open-gnutls-stream): Add usage example.
9537
9538 * net/network-stream.el (network-stream-open-starttls): Give host
9539 parameter to `gnutls-negotiate'.
9540 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9541 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9542
841a1577 95432011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9544
cd22b309
JB
9545 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9546 Use correct match group (bug#8438).
05842630 9547
3ba7869c
CY
95482011-04-24 Chong Yidong <cyd@stupidchicken.com>
9549
512e3ae1
CY
9550 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9551 (package-menu--generate): New arg specifying packages to show.
9552 (package-menu-refresh, package-menu-execute, list-packages):
9553 Callers changed.
9554 (package-show-package-list): New function, replacing deleted
9555 package--list-packages (renamed because it is non-internal).
9556
9557 * finder.el (finder-list-matches): Use package-show-package-list
9558 instead of deleted package--list-packages.
9559
e92f3bd3
SM
9560 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9561 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9562 (vc-annotate-mode-map): Bind it to RET.
9563
7031be6d
UR
95642011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9565
9566 * progmodes/etags.el (next-file): Don't use set-buffer to change
9567 buffers (Bug#8478).
9568
4ef177aa
CY
95692011-04-24 Chong Yidong <cyd@stupidchicken.com>
9570
c8d173eb
CY
9571 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9572
4ef177aa
CY
9573 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9574 (apropos-accumulator): Doc fix.
9575 (apropos-function, apropos-macro, apropos-command)
9576 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9577 (apropos-plist): Add face property.
9578 (apropos-symbols-internal): Fix indentation.
9579 (apropos-print): Simplify help, and recognize apropos-multi-type.
9580 (apropos-print-doc): Use button-type-get to extract the button's
9581 face property. Fill docstring (Bug#8352).
9582
4ffd0d6b 95832011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9584
9585 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9586
c6c32125 9587 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9588 (mpuz-mode-map): Use mapc.
c6c32125
JB
9589 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9590 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9591 Fix typos in docstrings.
9592
58d468b4
JB
9593 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9594 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9595
6470c3c6
JB
9596 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9597
4ffd0d6b 95982011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9599
9600 * minibuffer.el (completion--do-completion): Avoid the "Next char
9601 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9602
3ad8bad0
CY
9603 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9604 mouse-2 into unread-command-events, it is interpreted correctly.
9605
71d73c9c 9606 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9607 (image-toggle-display): Doc fix.
71d73c9c 9608
841a1577 96092011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9610
4ffd0d6b
GM
9611 * textmodes/page.el (what-page): Use line-number-at-pos to
9612 calculate line number (Bug#6825).
6e1dbaa9 9613
c2fb1b60
JB
96142011-04-22 Juanma Barranquero <lekktu@gmail.com>
9615
9616 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9617 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9618 Pass argument NO-DEFAULT to `find-tag-interactive'.
9619
e02f48d7
JB
96202011-04-22 Juanma Barranquero <lekktu@gmail.com>
9621
9622 Lexical-binding cleanup.
9623
9624 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9625 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9626 * progmodes/ada-prj.el (ada-prj-initialize-values)
9627 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9628 (ada-prj-show-value):
9629 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9630 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9631 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9632 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9633 * progmodes/bug-reference.el (bug-reference-push-button):
9634 * progmodes/fortran.el (fortran-line-length):
9635 * progmodes/glasses.el (glasses-change):
9636 * progmodes/octave-mod.el (octave-fill-paragraph):
9637 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9638 (python-pdbtrack-grub-for-buffer, python-sentinel):
9639 * progmodes/sql.el (sql-save-connection):
9640 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9641 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9642 Mark unused parameters.
9643
9644 * progmodes/compile.el (compilation--flush-directory-cache)
9645 (compilation--flush-parse, compile-internal): Mark unused parameters.
9646 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9647 (compilation-next-error-function): Remove unused variable `timestamp'.
9648
9649 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9650 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9651
9652 * progmodes/dcl-mode.el (dcl-end-of-command):
9653 Remove unused variable `start'.
9654 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9655 (dcl-option-value-basic, dcl-option-value-offset)
9656 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9657 Mark unused parameters.
9658 (dcl-save-local-variable): Remove unused variable `val'.
9659 (mode): Declare.
9660
9661 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9662 Mark unused parameters.
9663 (delphi-ignore-changes): Move before first use.
9664 (delphi-charset-token-at): Remove unused variable `start'.
9665 (delphi-else-start): Remove unused variable `if-count'.
9666 (delphi-comment-block-start, delphi-comment-block-end):
9667 Remove unused variable `kind'.
9668 (delphi-indent-line): Remove unused variable `new-point'.
9669
9670 * progmodes/ebrowse.el (ebrowse-files-list)
9671 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9672 Mark unused parameters. Don't quote `lambda'.
9673 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9674 Don't quote `lambda'.
9675 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9676 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9677 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9678 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9679 Use `ignore-errors'.
9680 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9681 (ebrowse-view/find-file-and-search-pattern)
9682 (ebrowse-view/find-member-declaration/definition):
9683 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9684 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9685 Rename parameter PREFIX-ARG to PREFIX.
9686 (ebrowse-tags-read-name): Remove unused variables `start' and
9687 `member-info'.
9688 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9689 to `tags-file'.
9690
9691 * progmodes/etags.el (local-find-tag-hook): Declare.
9692 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9693 Mark unused parameters.
9694
9695 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9696 (executable-interpret): Mark unused parameter.
9697
9698 * progmodes/flymake.el (flymake-process-sentinel)
9699 (flymake-after-change-function)
9700 (flymake-create-temp-with-folder-structure)
9701 (flymake-get-include-dirs-dot): Mark unused parameters.
9702 (flymake-safe-delete-directory): Remove unused variable `err'.
9703
9704 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9705 (speedbar-timer-fn, speedbar-line-text)
9706 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9707 (speedbar-center-buffer-smartly): Declare functions.
9708 (gdb-find-watch-expression): Remove unused variable `array'.
9709 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9710 (gdb-starting): Mark unused parameters.
9711 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9712 (gdb-table-string): Remove unused variable `res'.
9713 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9714 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9715 (gdb-display-buffer): Remove unused variable `cur-size'.
9716
9717 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9718 allow lexical-binding compilation.
9719 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9720 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9721 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9722 Mark unused parameters.
9723 (gud-gdb-marker-filter): Remove unused variable `match'.
9724 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9725 lambda expressions and funcall them, instead of using `fset'.
9726
9727 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9728 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9729
9730 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9731 variable `header-beg'; use `let'.
9732
9733 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9734 `restart', `last-sexp' and `at-do'.
9735
9736 * progmodes/js.el (js--debug): Mark unused parameter.
9737 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9738 (js--splice-into-items): Remove unused variable `item'.
9739 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9740
9741 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9742 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9743 (makefile-complete): Remove unused variable `try'.
9744 (makefile-fill-paragraph, makefile-match-function-end):
9745 Mark unused parameters.
9746
9747 * progmodes/octave-inf.el (inferior-octave-complete):
9748 Remove unused variable `proc'.
9749 (inferior-octave-output-digest): Mark unused parameter.
9750
9751 * progmodes/perl-mode.el (perl-calculate-indent):
9752 Remove unused variable `err'.
9753
9754 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9755 (prolog-indent-line): Mark unused parameters.
9756 (prolog-indent-line): Remove unused variable `beg'.
9757
9758 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9759 (reporter-dont-compact-list): Declare.
9760
9761 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9762 Remove unused variable `char'.
9763 (sh-debug): Mark unused parameter.
9764 (sh-get-indent-info): Remove unused variable `start'.
9765 (sh-calculate-indent): Remove unused variable `var'.
9766
9767 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9768 (simula-electric-keyword): Remove unused variable `null'.
9769 (simula-search-backward, simula-search-forward): Remove unused
9770 variables `begin' and `end'.
9771
9772 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9773 Remove unused variable `pos'.
9774 (vera-electric-tab, vera-comment-uncomment-region):
9775 Mark unused parameters.
9776 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9777
7ede3b65
CY
97782011-04-22 Chong Yidong <cyd@stupidchicken.com>
9779
9780 * emacs-lisp/package.el (package--builtins, package-alist)
9781 (package-load-descriptor, package-built-in-p, package-activate)
9782 (define-package, package-installed-p)
9783 (package-compute-transaction, package-buffer-info)
9784 (package--push): Doc fix. Distinguish more clearly between
9785 version strings and version lists.
9786
121656e9
JB
97872011-04-21 Juanma Barranquero <lekktu@gmail.com>
9788
9789 Lexical-binding cleanup.
9790
9791 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9792 (5x5-make-mutate-best):
9793 * play/fortune.el (fortune-in-buffer):
9794 * play/gomoku.el (gomoku-init-display):
9795 * play/solitaire.el (solitaire, solitaire-do-check):
9796 * play/tetris.el (tetris-default-update-speed-function):
9797 Mark unused parameters.
9798
9799 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9800 (bubbles--shift): Remove unused variable `char-org'.
9801 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9802 (bubbles--show-images): Remove unused variable `char'.
9803
9804 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9805 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9806 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9807 (decipher-analyze-buffer): Use ?\s.
9808 (decipher-make-checkpoint): Remove unused variable `mapping'.
9809
9810 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9811
9812 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9813 Remove unused variable `result'; use `let'.
9814
9815 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9816 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9817 (gametree-children-shown-p, gametree-compute-reduced-score):
9818 Use `ignore-errors'.
9819
9820 * play/handwrite.el (ps-lpr-switches): Declare.
9821 (handwrite): Remove unused variables `pmin' and `lastp'.
9822
9823 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9824
9825 * play/landmark.el (landmark-init-display)
9826 (landmark-update-naught-weights): Mark unused parameters.
9827 (landmark-y): Remove unused variable `noise'. Simplify.
9828 (landmark-human-plays): Remove unused variable `score'.
9829
9830 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9831 (mpuz-try-proposal): Remove unused variable `game'.
9832
9833 * play/zone.el (life-patterns): Declare.
9834
80f499c7
JB
98352011-04-20 Juanma Barranquero <lekktu@gmail.com>
9836
9837 * vc/vc.el (ediff-vc-internal): Declare function.
9838
024ff170
SM
98392011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9840
c0a193ea
SM
9841 * shell.el: Use lexical-binding and std completion UI.
9842 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9843 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9844 comint-preoutput-filter-functions rather than on
9845 comint-output-filter-functions.
9846 (shell-command-completion, shell--command-completion-data)
9847 (shell-filename-completion, shell-environment-variable-completion)
9848 (shell-c-a-p-replace-by-expanded-directory): New functions.
9849 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9850 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9851 (shell-dynamic-complete-environment-variable): Use them.
9852 (shell-dynamic-complete-as-environment-variable)
9853 (shell-dynamic-complete-as-command): Remove.
9854 (shell-match-partial-variable): Match past point.
9855 * comint.el: Clean up use of completion-at-point-functions.
9856 (comint-completion-at-point): New function.
9857 (comint-mode): Use it completion-at-point-functions.
9858 (comint-dynamic-complete): Make it obsolete.
9859 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9860 (comint-c-a-p-replace-by-expanded-history): New function.
9861 (comint-dynamic-complete-functions)
9862 (comint-replace-by-expanded-history): Use it.
9863 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9864 termination strings. Try harder to avoid second try-completion.
9865 (completion-in-region-mode-map): Disable bindings that don't work yet.
9866
2dbaa080
SM
9867 * comint.el: Use lexical-binding. Require CL.
9868 (comint-dynamic-complete-functions): Use comint-filename-completion.
9869 (comint-completion-addsuffix): Tweak custom type.
9870 (comint-filename-completion, comint--common-suffix)
9871 (comint--common-quoted-suffix, comint--table-subvert)
9872 (comint--complete-file-name-data): New functions.
9873 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9874 (comint-dynamic-list-filename-completions): Use them.
9875 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 9876
2dbaa080
SM
9877 * minibuffer.el (completion-in-region-mode):
9878 Keep completion-in-region-mode--predicate global.
9879 (completion-in-region--postch):
9880 Assume completion-in-region-mode--predicate is not null.
9881
c79a6f38
SM
9882 * progmodes/flymake.el (flymake-start-syntax-check-process):
9883 Obey `dir'. Simplify.
9884
024ff170
SM
9885 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9886 we're in VC after all.
9887
1c6c854e
CS
98882011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
9889
9890 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 9891 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
9892 (vc-version-diff): Use vc-diff-build-argument-list-internal.
9893
bed7f140
SM
98942011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9895
332e62ab
SM
9896 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9897 add sanity check.
9898
bed7f140
SM
9899 * obsolete/erc-hecomplete.el: Make obsolete.
9900 * obsolete/: Standardize obsolescence info in the header.
9901
f195c582
GM
99022011-04-20 Glenn Morris <rgm@gnu.org>
9903
9904 * calendar/solar.el (solar-horizontal-coordinates):
9905 Use the longitude argument rather than `calendar-longitude'.
9906 (solar-date-next-longitude): Remove unused locals.
9907
cb79b8c0
VJL
99082011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9909
9910 * whitespace.el: New version 13.2.1.
9911
99122011-04-20 felix <EmacsWiki> (tiny change)
9913
d8e4b68b 9914 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
9915 switching between major modes on a file.
9916
602ea69d
SM
99172011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9920 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9921 multi-line comments as well.
9922
06b60517
JB
99232011-04-19 Juanma Barranquero <lekktu@gmail.com>
9924
9925 Lexical-binding cleanup.
9926
9927 * arc-mode.el (archive-mode-revert):
9928 * cmuscheme.el (scheme-interactively-start-process):
9929 * custom.el (custom-initialize-delay):
9930 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9931 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9932 * emacs-lock.el (emacs-lock-clear-sentinel):
9933 * ezimage.el (defezimage):
9934 * follow.el (follow-avoid-tail-recenter):
9935 * fringe.el (set-fringe-mode-1):
9936 * generic-x.el (bat-generic-mode-compile):
9937 * help-mode.el (help-info-variable, help-do-xref)
9938 (help-mode-revert-buffer):
9939 * help.el (view-emacs-todo):
9940 * iswitchb.el (iswitchb-completion-help):
9941 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9942 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9943 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9944 * locate.el (locate-update):
9945 * longlines.el (longlines-encode-region)
9946 (longlines-after-change-function):
9947 * outline.el (outline-isearch-open-invisible):
9948 * ps-def.el (declare-function, charset-dimension, char-width)
9949 (encode-char):
9950 * ps-mule.el (ps-mule-plot-string):
9951 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9952 (recentf-edit-list-select, recentf-edit-list-validate)
9953 (recentf-open-files-action):
9954 * rect.el (delete-whitespace-rectangle-line)
9955 (rectangle-number-line-callback):
9956 * register.el (window-configuration-to-register)
9957 (frame-configuration-to-register):
9958 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
9959 * select.el (xselect-convert-to-string, xselect-convert-to-length)
9960 (xselect-convert-to-targets, xselect-convert-to-delete)
9961 (xselect-convert-to-filename, xselect-convert-to-charpos)
9962 (xselect-convert-to-lineno, xselect-convert-to-colno)
9963 (xselect-convert-to-os, xselect-convert-to-host)
9964 (xselect-convert-to-user, xselect-convert-to-class)
9965 (xselect-convert-to-name, xselect-convert-to-integer)
9966 (xselect-convert-to-atom, xselect-convert-to-identity):
9967 * subr.el (declare, ignore, process-kill-without-query)
9968 (text-clone-maintain):
9969 * terminal.el (te-get-char, te-tic-sentinel):
9970 * tool-bar.el (tool-bar-make-keymap):
9971 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
9972 * type-break.el (type-break-mode, type-break-noninteractive-query):
9973 * view.el (View-back-to-mark):
9974 * wid-browse.el (widget-browse-action, widget-browse-widget)
9975 (widget-browse-widgets, widget-browse-sexp):
9976 * widget.el (define-widget-keywords):
9977 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
9978 Mark unused parameters.
9979
9980 * align.el (align-adjust-col-for-rule): Mark unused parameter.
9981 (align-areas): Remove unused variable `look'.
9982 (align-region): Remove unused variables `real-end' and `pos-list'.
9983
9984 * apropos.el (apropos-score-doc): Remove unused variable `i'.
9985
9986 * bindings.el (mode-line-modified, mode-line-remote):
9987 Mark unused parameters.
9988 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
9989
9990 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
9991 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
9992
9993 * comint.el (comint-history-isearch-pop-state)
9994 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
9995 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
9996 (comint-substitute-in-file-name): Doc fix.
9997
9998 * completion.el (cmpl-statistics-block): Mark unused parameter.
9999 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10000 (save-completions-to-file, load-completions-from-file):
10001 Remove unused local variable `e'.
10002
10003 * composite.el (compose-chars): Remove unused variable `len'.
10004 (lgstring-insert-glyph): Remove unused variable `g'.
10005 (compose-glyph-string): Remove unused variables `ascent',
10006 `descent', `lbearing' and `rbearing'.
10007 (compose-glyph-string-relative): Remove unused variables
10008 `lbearing', `rbearing' and `wadjust'.
10009 (compose-gstring-for-graphic): Remove unused variables `header',
10010 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10011 (compose-gstring-for-terminal): Remove unused variables `header'
10012 and `nchars'. Use `let', not `let*'.
10013
10014 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10015 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10016 (Custom-buffer-done, custom-buffer-create-internal)
10017 (custom-browse-visibility-action, custom-browse-group-tag-action)
10018 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10019 (widget-magic-mouse-down-action, custom-toggle-parent)
10020 (custom-add-parent-links, custom-toggle-hide-variable)
10021 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10022 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10023 (custom-face-menu-create, custom-variable-menu-create, get)
10024 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10025 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10026 (customize-apropos): Remove unused variable `tests'.
10027 (custom-group-value-create): Remove unused variable `hidden-p'.
10028 (sort-fold-case): Declare.
10029
10030 * cus-theme.el (custom-reset-standard-faces-list)
10031 (custom-reset-standard-variables-list): Declare.
10032 (customize-create-theme, custom-theme-revert, custom-theme-write)
10033 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10034 Mark unused parameters.
10035
10036 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10037
10038 * delim-col.el (delimit-columns-max): Move defvar before first use.
10039
10040 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10041 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10042
10043 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10044 (auto-insert): Declare.
10045 (desktop-restore-file-buffer): Rename desktop-* parameters;
10046 mark unused ones.
10047 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10048 (desktop-buffer): Rename desktop-* parameters.
10049
10050 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10051 (dframe-reposition-frame-xemacs, dframe-help-echo)
10052 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10053 Mark unused parameters.
10054
10055 * dired-aux.el (backup-extract-version-start, overwrite-query)
10056 (overwrite-backup-query, rename-regexp-query)
10057 (rename-non-directory-query): Declare.
10058 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10059 (dired-add-entry): Remove unused variable `orig-file-name'.
10060 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10061 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10062 `dired-copy-preserve-time' directly.
10063 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10064 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10065
10066 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10067 (dired-virtual-revert, dired-make-relative-symlink):
10068 Mark unused parameters.
10069 (manual-program): Declare.
10070 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10071 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10072 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10073
10074 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10075
10076 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10077
10078 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10079 Declare.
10080
10081 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10082
10083 * electric.el (Electric-command-loop): Rename parameter
10084 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10085
10086 * expand.el (expand-in-literal): Remove unused variable `here'.
10087
10088 * facemenu.el (facemenu-add-new-color):
10089 Remove unused variable `docstring'.
10090
10091 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10092 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10093 (face-attr-construct): Mark unused parameter. Doc fix.
10094 (read-color): Remove unused variable `hex-string'.
10095
10096 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10097 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10098 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10099 (display-buffer-other-frame): Remove unused variable `old-window'.
10100 (kill-buffer-hook): Declare.
10101 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10102 Mark unused parameters.
10103 (after-find-file): Pass 1 to `auto-save-mode', not t.
10104
10105 * files-x.el (auto-insert): Declare.
10106 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10107
10108 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10109 variable `buf'. Mark unused parameter.
06b60517
JB
10110 (find-lisp-insert-directory): Mark unused parameter.
10111
10112 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10113 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10114 (format-common-tail): Remove, unused.
10115 (format-deannotate-region): Remove unused variable `loc'.
10116 (format-annotate-region): Remove unused variable `p'.
10117 (format-annotate-single-property-change): Remove unused variables
10118 `default' and `tail'.
10119
10120 * forms.el (read-file-filter): Declare.
10121 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10122
10123 * frame.el (frame-creation-function-alist): Mark unused parameter.
10124 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10125
10126 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10127 Remove unused parameters.
10128 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10129 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10130
10131 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10132 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10133 (hfy-prepare-tag-map): Mark unused parameters.
10134 (htmlfontify-buffer): Use `called-interactively-p'.
10135
10136 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10137 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10138 (ibuffer-do-occur): Mark unused parameters.
10139 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10140 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10141
10142 * ibuffer.el: Don't quote `lambda'.
10143 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10144 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10145 Mark unused parameters.
10146
10147 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10148 (ido-completing-read): Mark unused parameters.
10149 (ido-copy-current-word): Mark unused parameters;
10150 remove unused variable `name'.
10151 (ido-sort-merged-list): Remove unused parameter `dirs'.
10152
10153 * ielm.el (ielm-input-sender): Mark unused parameter.
10154 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10155 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10156 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10157 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10158 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10159
10160 * image-dired.el (image-dired-display-thumbs): Remove unused
10161 variables `curr-file' and `count'.
10162 (image-dired-remove-tag): Remove unused variable `start'.
10163 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10164 variable `curr-file'
10165 (image-dired-rotate-original): Remove unused variable `temp-file'.
10166 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10167 Remove unused variable `file'.
10168 (image-dired-gallery-generate): Remove unused variable `curr'.
10169 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10170
10171 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10172
10173 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10174
10175 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10176
10177 * isearch.el (minibuffer-history-symbol): Declare.
10178 (isearch-edit-string): Remove unused variable `err'.
10179 (isearch-message-prefix, isearch-message-suffix):
10180 Mark unused parameters.
10181
10182 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10183
10184 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10185
10186 * makesum.el (double-column): Remove unused variable `cnt'.
10187
10188 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10189 (ido-ignore-item-temp-list): Declare.
10190
10191 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10192 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10193 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10194 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10195 `mouse-col-delta'.
10196
10197 * mouse-sel.el (mouse-extend-internal):
10198 Remove unused variable `orig-window-frame'.
10199
10200 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10201 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10202 Move declarations before first use.
10203 (pcomplete-opt): Mark unused parameters; doc fix.
10204
10205 * proced.el (proced-revert): Mark unused parameter.
10206 (proced-send-signal): Remove unused variable `err'.
10207
10208 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10209 Rename parameter PREFIX-ARG to ARG.
10210 (ps-basic-plot-string, ps-basic-plot-whitespace):
10211 Mark unused parameters.
10212
10213 * replace.el (replace-count): Define.
10214 (occur-revert-function): Mark unused parameters.
10215 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10216 (isearch-case-fold-search, isearch-string): Declare.
10217 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10218 bind `case-fold-search'. Remove unused variables `beg' and `end',
10219 and simplify.
10220 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10221 COUNT and bind `replace-count'.
10222 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10223 to COUNT.
10224
10225 * savehist.el (print-readably, print-string-length): Declare.
10226
10227 * shadowfile.el (shadow-expand-cluster-in-file-name):
10228 Remove unused variable `cluster'.
10229 (shadow-copy-file): Remove unused variable `i'.
10230 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10231 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10232 (shadow-define-literal-group, shadow-define-regexp-group)
10233 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10234
10235 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10236 (shell): Use `called-interactively-p'.
10237 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10238
10239 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10240 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10241 (delete-backward-char): Remove unused variable `ocol'.
10242 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10243 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10244 (event-apply-hyper-modifier, event-apply-shift-modifier)
10245 (event-apply-control-modifier, event-apply-meta-modifier):
10246 Mark unused parameters.
10247 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10248 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10249
10250 * speedbar.el (speedbar-ignored-directory-expressions)
10251 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10252 (speedbar-find-file, speedbar-dir-follow)
10253 (speedbar-directory-buttons-follow, speedbar-tag-find)
10254 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10255 (speedbar-buffers-line-directory, speedbar-buffer-click):
10256 Mark unused parameters.
10257 (speedbar-tag-file): Remove unused variable `mode'.
10258 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10259
10260 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10261
10262 * talk.el (talk): Remove unused variable `display'.
10263
10264 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10265 (tar-write-region-annotate): Mark unused parameter.
10266
10267 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10268 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10269 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10270 warning by another.
10271
10272 * time-stamp.el (time-stamp-string-preprocess):
10273 Remove unused variable `require-padding'.
10274
10275 * tree-widget.el (widget-glyph-enable): Declare.
10276 (tree-widget-action): Mark unused parameter.
10277
10278 * w32-fns.el (x-get-selection): Mark unused parameter.
10279 (autoload-make-program, generated-autoload-file): Declare.
10280
10281 * wdired.el (wdired-revert): Mark unused parameters.
10282 (wdired-xcase-word): Remove unused variable `err'.
10283
10284 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10285 (whitespace-help-scroll): Remove unused variable `data-help'.
10286
10287 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10288 (widget-image-insert, widget-after-change, default)
10289 (widget-default-format-handler, widget-default-notify)
10290 (widget-default-prompt-value, widget-info-link-action)
10291 (widget-url-link-action, widget-function-link-action)
10292 (widget-variable-link-action, widget-file-link-action)
10293 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10294 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10295 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10296 (widget-insert-button-action, widget-delete-button-action, visibility)
10297 (widget-documentation-link-action, widget-documentation-string-action)
10298 (widget-const-prompt-value, widget-regexp-match, symbol)
10299 (widget-coding-system-prompt-value)
10300 (widget-key-sequence-value-to-external, sexp)
10301 (widget-sexp-value-to-internal, character, vector, cons)
10302 (widget-choice-prompt-value, widget-boolean-prompt-value)
10303 (widget-color--choose-action): Mark unused parameters.
10304 (widget-item-match-inline, widget-choice-match-inline)
10305 (widget-checklist-match, widget-checklist-match-inline)
10306 (widget-group-match): Rename parameter VALUES to VALS.
10307 (widget-field-value-set): Remove unused variable `size'.
10308 (widget-color-action): Remove unused variables `value' and `start'.
10309
10310 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10311 variable `dir'. Doc fix.
06b60517
JB
10312 (windmove-find-other-window): Don't pass it.
10313
10314 * window.el (count-windows): Mark unused parameter.
10315 (bw-adjust-window): Remove unused variable `err'.
10316
10317 * woman.el (woman-file-name): Remove unused variable `default'.
10318 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10319 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10320 (global-font-lock-mode): Declare.
10321 (woman-decode-region): Mark unused parameter.
10322 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10323
10324 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10325 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10326 (x-dnd-handle-moz-url): Remove unused variable `title'.
10327 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10328
10329 * xml.el (xml-parse-tag, xml-parse-attlist):
10330 Remove unused variable `pos'.
10331
bc4f7f3d
GM
103322011-04-19 Glenn Morris <rgm@gnu.org>
10333
10334 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10335 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10336 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10337 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10338 * calendar/cal-html.el (cal-html-insert-minical):
10339 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10340 (calendar-mark-date-pattern):
10341 Prefix "unused" locals.
10342
10343 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10344 optional argument `style'.
10345
10346 * calendar/appt.el (appt-make-list):
10347 * calendar/cal-china.el (calendar-chinese-date-string):
10348 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10349 (diary-hebrew-yahrzeit):
10350 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10351 * calendar/calendar.el (calendar-generate-window):
10352 * calendar/time-date.el (time-to-days):
10353 Remove unused local variables.
10354
16a43933
CY
103552011-04-18 Chong Yidong <cyd@stupidchicken.com>
10356
10357 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10358 glyphless-char-display table.
10359 (tabulated-list-glyphless-char-display): New var.
10360
7eed1860
SS
103612011-04-18 Sam Steingold <sds@gnu.org>
10362
10363 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10364 to acknowledgments.
10365
4d2d1ccd
GM
103662011-04-17 Glenn Morris <rgm@gnu.org>
10367
10368 * calendar/diary-lib.el (diary-sexp-entry):
10369 * calendar/holidays.el (holiday-sexp):
10370 Set debug-on-error rather than the removed stack-trace-on-error.
10371
239da61d
GM
103722011-04-16 Glenn Morris <rgm@gnu.org>
10373
10374 * progmodes/f90.el: Use lexical-binding.
10375 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10376
8b05752a
SM
103772011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10378
daca8ba5
SM
10379 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10380 (mail-mode): Setup mailalias completion here instead.
10381 * mail/mailalias.el: Use lexical-binding.
10382 (pattern, mailalias-done): Declare dynamic.
10383 (mail-completion-at-point-function): New function, from mail-complete.
10384 (mail-complete): Use it.
10385 (mail-completion-expand): New function.
10386 (mail-get-names): Use it.
10387 (mail-directory, mail-directory-process, mail-directory-stream):
10388 Don't use `pattern' for lexically bound arg.
10389
6f542485
SM
10390 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10391
037e7c3f
SM
10392 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10393 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10394 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10395
8b05752a
SM
10396 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10397 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10398 (byte-interactive-p): Define them again, for use when inlining
10399 old code.
10400
49093f60
JB
104012011-04-15 Juanma Barranquero <lekktu@gmail.com>
10402
10403 * loadup.el: Use `string-to-number', not `string-to-int'.
10404
b5b8e7de
SM
104052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10406
10407 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10408 gud-gdb-complete-command.
10409 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10410 (gud-gdb-completion-at-point): New function.
10411 (gud-gdb-completions): Remove.
10412
f42efeb5
MA
104132011-04-14 Michael Albinus <michael.albinus@gmx.de>
10414
49093f60
JB
10415 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10416 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10417 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10418 whether `executable-find' is bound.
f42efeb5
MA
10419
10420 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10421
e240cc21
SM
104222011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10423
10424 * minibuffer.el (completion-in-region-mode-predicate)
10425 (completion-in-region-mode--predicate): New vars.
10426 (completion-in-region, completion-in-region--postch)
10427 (completion-in-region-mode): Use them.
10428 (completion--capf-wrapper): Also return the hook function.
10429 (completion-at-point, completion-help-at-point):
10430 Adjust and provide a predicate.
c2bd2ab0
SM
10431
10432 Preserve arg names for advice of subr and lexical functions (bug#8457).
10433 * help-fns.el (help-function-arglist): Consolidate the subr and
10434 new-byte-code cases. Add argument `preserve-names' to extract names
10435 from the docstring when needed.
10436 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10437 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10438 (ad-arglist): Use help-function-arglist's new arg.
10439 (ad-definition-type): Use cond.
10440
c183f693
JB
104412011-04-13 Juanma Barranquero <lekktu@gmail.com>
10442
06641a47
JB
10443 * autorevert.el (auto-revert-handler):
10444 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10445 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10446 Don't quote lambda.
10447
c183f693
JB
10448 * image-mode.el (image-transform-set-scale):
10449 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10450
1e3b6001
G
104512011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10452
10453 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10454 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10455 Upgrades via gnutls-cli are too slow to be done opportunistically.
10456
2d6af8dd
JB
104572011-04-12 Juanma Barranquero <lekktu@gmail.com>
10458
10459 * dframe.el (dframe-current-frame): Remove spurious quote.
10460
c0749a51
GM
104612011-04-12 Glenn Morris <rgm@gnu.org>
10462
088d0d61
GM
10463 * calendar/cal-tex.el (cal-tex-end-document):
10464 Try to automatically use latin1 input if needed.
10465
c0749a51
GM
10466 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10467 Don't try to cons a mark onto an empty element.
10468
5c90fde0
LL
104692011-04-11 Leo Liu <sdl.web@gmail.com>
10470
10471 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10472 buffers.
10473 (ido-kill-buffer-at-head): Support killing virtual buffers.
10474
369e974d
CY
104752011-04-10 Chong Yidong <cyd@stupidchicken.com>
10476
10477 * minibuffer.el (completion-show-inline-help): New var.
10478 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10479 (minibuffer-force-complete, minibuffer-complete-word):
10480 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10481
10482 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10483 to avoid interference from inline help (Bug#5849).
10484
37f1c930
LL
104852011-04-10 Leo Liu <sdl.web@gmail.com>
10486
099c39a4
JB
10487 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10488 Fix typo.
37f1c930 10489
a32d4040
CY
104902011-04-09 Chong Yidong <cyd@stupidchicken.com>
10491
10492 * image-mode.el (image-toggle-display-image): Signal an error if
10493 not in Image mode.
10494 (image-transform-mode, image-transform-resize)
10495 (image-transform-set-rotation): Doc fix.
daca8ba5 10496 (image-transform-set-resize): Delete.
a32d4040
CY
10497 (image-transform-set-scale, image-transform-fit-to-height)
10498 (image-transform-fit-to-width): Handle image-toggle-display-image
10499 and image-transform-resize directly.
10500
099c39a4 105012011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10502
10503 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10504 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10505 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10506 (doc-view-mode-map): Add bindings for the new functions.
10507
099c39a4 105082011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10509
4d61f28d 10510 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10511 Fix typo in docstring.
10512
3726838a
EZ
105132011-04-08 Eli Zaretskii <eliz@gnu.org>
10514
04f33f1e
EZ
10515 * files.el (file-size-human-readable): Produce one digit after
10516 decimal, like "ls -lh" does.
10517
10518 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10519 the file size representation.
10520
3726838a
EZ
10521 * simple.el (list-processes): If async subprocesses are not
10522 available, error out with a clear error message.
10523
cbb59342
CY
105242011-04-08 Chong Yidong <cyd@stupidchicken.com>
10525
10526 * help.el (help-form-show): New function, to be called from C.
10527 Put help-form output in a buffer named differently than *Help*.
10528
e3971c44
EZ
105292011-04-08 Eli Zaretskii <eliz@gnu.org>
10530
10531 * files.el (file-size-human-readable): New function.
10532
10533 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10534 computing the representation inline. Don't require `cl'.
10535
12544bbe
GM
105362011-04-08 Glenn Morris <rgm@gnu.org>
10537
a1de6c6a
GM
10538 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10539
3c4671f4
GM
10540 * net/browse-url.el (browse-url-firefox):
10541 Test system-type, not system-configuration.
10542
b605679c
GM
10543 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10544 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10545 Use log-edit-empty-buffer-p. (Bug#7598)
10546
56442f0c
GM
10547 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10548 (rlogin-mode-map): Initialize in the defvar.
10549 (rlogin): Use ignore-errors.
10550
12544bbe
GM
10551 * replace.el (occur-mode-map): Some fixes for menu items.
10552
eb237b0f
AH
105532011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10554
10555 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10556
7d668f2c
CY
105572011-04-06 Chong Yidong <cyd@stupidchicken.com>
10558
e67a13ab
CY
10559 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10560 issuing unused warnings.
10561
10562 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10563 macro directly.
10564
7d668f2c
CY
10565 * simple.el: Lisp reimplement of list-processes. Based on an
10566 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10567 (process-menu-mode): New major mode.
10568 (list-processes--refresh, list-processes):
10569 (process-menu-visit-buffer): New functions.
10570
10571 * files.el (save-buffers-kill-emacs): Don't assume any return
10572 value of list-processes, which is undocumented anyway.
10573
a83ec3c9
CY
105742011-04-06 Chong Yidong <cyd@stupidchicken.com>
10575
10576 * emacs-lisp/tabulated-list.el: New file.
10577
e91a96fe
CY
10578 * emacs-lisp/package.el: Use Tabulated List mode.
10579 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10580 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10581 table format using Tabulated List mode variables.
10582 (package--push): New macro, replacing package-list-maybe-add.
10583 (package-menu--generate): Use package--push. Renamed from
10584 package--generate-package-list.
10585 (package-menu-refresh, list-packages): Use it.
daca8ba5 10586 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10587 Return insertion data instead of inserting it directly.
099c39a4
JB
10588 (package-menu-describe-package, package-menu-execute):
10589 Use tabulated-list-get-id.
e91a96fe
CY
10590 (package-menu-mark-delete, package-menu-mark-install)
10591 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10592 (package-menu-mark-obsolete-for-deletion):
10593 Use tabulated-list-put-tag.
e91a96fe
CY
10594 (package--list-packages, package-menu-revert)
10595 (package-menu-get-package, package-menu-get-version)
10596 (package-menu-sort-by-column): Functions deleted.
10597 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10598 (package-menu--status-predicate, package-menu--version-predicate)
10599 (package-menu--name-predicate)
10600 (package-menu--description-predicate): Handle arguments in the
10601 Tabulated List format.
10602 (package-list-packages-no-fetch): Call list-packages.
10603
3e214b50
JB
106042011-04-06 Juanma Barranquero <lekktu@gmail.com>
10605
10606 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10607 (after-find-file): Don't bind it.
3e214b50
JB
10608 (revert-buffer-in-progress-p): New variable.
10609 (revert-buffer): Bind it.
10610 Pass nil for `after-find-file-from-revert-buffer'.
10611
10612 * saveplace.el (save-place-find-file-hook): Use new variable
10613 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10614
3f0f1700
GM
106152011-04-06 Glenn Morris <rgm@gnu.org>
10616
c0274801
GM
10617 * Makefile.in (AUTOGEN_VCS): New variable.
10618 (autoloads): Use $AUTOGEN_VCS.
10619
3f0f1700
GM
10620 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10621 * calendar/calendar.el (calendar-mode-map):
10622 Check for toolkit scroll bars. (Bug#8305)
10623
41ea9e48
CY
106242011-04-05 Chong Yidong <cyd@stupidchicken.com>
10625
10626 * minibuffer.el (completion-in-region--postch)
10627 (completion-in-region-mode): Remove unnecessary messages.
10628
6194c800
JB
106292011-04-05 Juanma Barranquero <lekktu@gmail.com>
10630
33256f14
JB
10631 * font-lock.el (font-lock-refresh-defaults):
10632 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10633 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10634
6194c800
JB
10635 * info.el (Info-directory-list, Info-read-node-name-2)
10636 (Info-split-parameter-string): Doc fixes.
10637 (Info-virtual-nodes): Reflow docstring.
10638 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10639 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10640 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10641 Fix typos in docstrings.
10642 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10643 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10644 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10645 (Info-restore-desktop-buffer): Mark unused parameters.
10646 (Info-directory-find-file, Info-directory-find-node)
10647 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10648 (Info-virtual-index-find-node, Info-apropos-find-file)
10649 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10650 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10651 (Info-virtual-index): Remove unused local variable `nodename'.
10652
b87a8200 106532011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10654
b87a8200
DD
10655 * net/rcirc.el: Update my e-mail address.
10656 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10657
3b2ff876
CY
106582011-04-05 Chong Yidong <cyd@stupidchicken.com>
10659
10660 * startup.el (command-line): Save the cursor's theme-face
10661 directly, instead of using face-override-spec.
10662
10663 * custom.el (load-theme): Minor optimization in assigning faces.
10664
8d17e7ca
JB
106652011-04-04 Juanma Barranquero <lekktu@gmail.com>
10666
10667 * help-fns.el (describe-variable): Complete all variables having
10668 documentation, including keywords.
10669 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10670
2fbc1934
JB
106712011-04-04 Juanma Barranquero <lekktu@gmail.com>
10672
10673 Convert to lexical-binding.
10674
10675 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10676 (bs--get-marked-string, bs--get-modified-string)
10677 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10678 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10679 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10680
10681 * ehelp.el (electric-help-execute-extended)
10682 (electric-help-ctrl-x-prefix):
10683 * hexl.el (hexl-revert-buffer-function):
10684 * linum.el (linum-after-change, linum-after-scroll):
10685 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10686
10687 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10688
74f50695
DU
106892011-04-04 Daiki Ueno <ueno@unixuser.org>
10690
10691 * epa-dired.el:
10692 * epa-mail.el:
10693 * epa-hook.el:
10694 * epa-file.el:
10695 * epa.el:
10696 * epg.el: Use lexical binding.
10697
c11325f7
CY
106982011-04-03 Chong Yidong <cyd@stupidchicken.com>
10699
0d9e9a12
CY
10700 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10701
c11325f7 10702 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10703 dictionary case for flyspell-mark-duplications-exceptions.
10704 Use regexp matching for languages.
c11325f7
CY
10705 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10706 default dictionary (Bug#7926).
10707
da91b5f2
CY
107082011-04-02 Chong Yidong <cyd@stupidchicken.com>
10709
099c39a4
JB
10710 * emacs-lisp/package.el (package--with-work-buffer):
10711 Recognize https URLs.
da91b5f2 10712
099c39a4
JB
10713 * net/network-stream.el: Move from gnus/proto-stream.el.
10714 Change prefix to network-stream throughout.
da91b5f2
CY
10715 (open-protocol-stream): Merge into open-network-stream, leaving
10716 open-protocol-stream as an alias. Handle nil BUFFER args.
10717
10718 * subr.el (open-network-stream): Move to net/network-stream.el.
10719
afa8e9f6
GM
107202011-04-02 Glenn Morris <rgm@gnu.org>
10721
1d2e369d
GM
10722 * find-dired.el (find-exec-terminator): New option.
10723 (find-ls-option): Test for -ls support.
10724 (find-ls-subdir-switches): Test for -b in find-ls-option.
10725 (find-dired, find-grep-dired): Doc fixes.
10726 (find-dired): Use find-exec-terminator.
10727
8abb7da8 10728 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10729 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10730 (find-name-arg): Remove purecopy.
8abb7da8 10731
f3ca7378
GM
10732 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10733 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10734 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10735 accordingly. Don't add the null-device if not needed.
10736
afa8e9f6
GM
10737 * files.el (save-some-buffers): Doc fix.
10738
35eae264
EZ
107392011-04-02 Eli Zaretskii <eliz@gnu.org>
10740
10741 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10742
26b51db5
JB
107432011-04-01 Juanma Barranquero <lekktu@gmail.com>
10744
10745 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10746 Use `dolist' rather than `mapcar'.
10747
7200d79c
SM
107482011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10749
03408648 10750 Add lexical binding.
7200d79c 10751
03408648
SM
10752 * subr.el (apply-partially): Use new closures rather than CL.
10753 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10754 (dolist, dotimes): Use slightly different expansion for lexical code.
10755 (functionp): Move to C.
10756 (letrec): New macro.
10757 (with-wrapper-hook): Use it and apply-partially instead of CL.
10758 (eval-after-load): Preserve lexical-binding.
10759 (save-window-excursion, with-output-to-temp-buffer): Turn them
10760 into macros.
7200d79c 10761
03408648
SM
10762 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10763
10764 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10765 than the arglist.
10766 (help-add-fundoc-usage): Don't add `Not documented'.
10767 (help-function-arglist): Handle closures, subroutines, and new
10768 byte-code-functions.
10769 (help-make-usage): Remove leading underscores.
10770 (describe-function-1): Handle closures.
10771 (describe-variable): Use special-variable-p for completion.
10772
10773 * files.el (lexical-binding): Declare safe.
f488fb65 10774
03408648
SM
10775 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10776 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10777 (pcase): Add `let' pattern.
10778 Change memoization so it actually works.
10779 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10780 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10781 <let>: New case.
f488fb65 10782
03408648
SM
10783 * emacs-lisp/macroexp.el: Use lexical binding.
10784 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10785 Don't convert ' to #' without checking that it's indeed quoting
10786 a lambda.
10787
10788 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10789 Use eval-sexp-add-defvars.
03408648
SM
10790 (eval-sexp-add-defvars): New fun.
10791
10792 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10793
10794 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10795 Don't autoload.
10796 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10797 than the internal `byte-compile-lambda'.
10798 (defmethod): Don't hide code under quotes.
10799 (eieio-defmethod): New `code' argument.
10800
10801 * emacs-lisp/eieio-comp.el: Remove.
10802
10803 * emacs-lisp/edebug.el (edebug-eval-defun)
10804 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10805 (edebug-toggle): Avoid `eval'.
10806
10807 * emacs-lisp/disass.el (disassemble-internal): Handle new
10808 `closure' objects.
10809 (disassemble-1): Handle new byte codes.
10810
10811 * emacs-lisp/cl.el (pushnew): Silence warning.
10812
10813 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10814 (cl-byte-compile-throw): Remove.
10815 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10816
10817 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10818 closures.
10819
10820 * emacs-lisp/cconv.el: New file.
10821
10822 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10823 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10824 (byte-compile-initial-macro-environment):
10825 Handle declare-function here.
10826 (byte-compile--lexical-environment): New var.
10827 (byte-stack-ref, byte-stack-set, byte-discardN)
10828 (byte-discardN-preserve-tos): New lap codes.
10829 (byte-interactive-p): Don't use any more.
10830 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10831 New macros.
10832 (byte-compile-lapcode): Use them and handle new lap codes.
10833 (byte-compile-obsolete): Remove.
10834 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10835 (byte-compile-arglist-warn): Check late def of inlinable funs.
10836 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10837 since they should have been expanded by now.
10838 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10839 (byte-compile-from-buffer): Remove unused second arg.
10840 (byte-compile-preprocess): New function.
10841 (byte-compile-toplevel-file-form): New function to distinguish
10842 file-form calls from outside from file-form calls from hunk-handlers.
10843 (byte-compile-file-form): Simplify.
10844 (byte-compile-file-form-defsubst): Remove.
10845 (byte-compile-file-form-defmumble): Simplify now that
10846 byte-compile-lambda always returns a byte-code-function.
10847 (byte-compile): Preprocess.
10848 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10849 Remove, not used any more.
10850 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10851 (byte-compile-make-args-desc): New funs.
10852 (byte-compile-lambda): Handle lexical functions. Always return
10853 a byte-code-function.
10854 (byte-compile-reserved-constants): New var, to make up room for
10855 closed-over variables.
10856 (byte-compile-constants-vector): Obey it.
10857 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10858 (byte-compile-macroexpand-declare-function): New function.
10859 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10860 byte-code-functions.
10861 (byte-compile-form): Check obsolescence here.
10862 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10863 (byte-compile-variable-ref): Remove.
10864 (byte-compile-dynamic-variable-op): New fun.
10865 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10866 (byte-compile-variable-set): New funs.
10867 (byte-compile-discard): Add 2 args.
10868 (byte-compile-stack-ref, byte-compile-stack-set)
10869 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10870 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10871 macroexpand-all instead.
10872 (byte-compile-quote-form): Remove.
10873 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10874 (byte-compile-bind, byte-compile-unbind): New funs.
10875 (byte-compile-let): Handle let* and lexical binding.
10876 (byte-compile-let*): Remove.
10877 (byte-compile-catch, byte-compile-unwind-protect)
10878 (byte-compile-track-mouse, byte-compile-condition-case):
10879 Handle a new :fun-body form, used for lexical scoping.
10880 (byte-compile-save-window-excursion)
10881 (byte-compile-with-output-to-temp-buffer): Remove.
10882 (byte-compile-defun): Simplify.
10883 (byte-compile-stack-adjustment): New fun.
10884 (byte-compile-out): Use it.
10885 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10886
10887 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10888 handler any more.
10889
10890 * emacs-lisp/byte-opt.el: Use lexical binding.
10891 (byte-inline-lapcode): Remove (to bytecomp).
10892 (byte-compile-inline-expand): Pay attention to inlining to/from
10893 lexically bound code.
10894 (byte-compile-unfold-lambda): Don't handle byte-code-functions
10895 any more.
10896 (byte-optimize-form-code-walker): Don't handle save-window-excursion
10897 any more and don't call compiler-macros.
10898 (byte-compile-splice-in-already-compiled-code): Remove.
10899 (byte-code): Don't inline any more.
10900 (disassemble-offset): Receive `bytes' as argument rather than via
10901 dynamic scoping.
10902 (byte-compile-tag-number): Declare before first use.
10903 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10904 `return' even if make-spliceable.
10905 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10906 obsolete interactive-p.
10907 (byte-optimize-lapcode): Optimize new lap-codes.
10908 Don't trip up on new form of `byte-constant' lap code.
10909
10910 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10911
10912 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10913
10914 * custom.el (custom-initialize-default, custom-declare-variable):
10915 Use `defvar'.
10916
10917 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10918 New variables.
10919 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10920 (COMPILE_FIRST): Add macroexp and cconv.
10921 * makefile.w32-in: Mirror changes in Makefile.in.
10922
10923 * vc/cvs-status.el:
10924 * vc/diff-mode.el:
10925 * vc/log-edit.el:
10926 * vc/log-view.el:
10927 * vc/smerge-mode.el:
10928 * textmodes/bibtex-style.el:
10929 * textmodes/css.el:
10930 * startup.el:
10931 * uniquify.el:
da91b5f2
CY
10932 * minibuffer.el:
10933 * newcomment.el:
10934 * reveal.el:
10935 * server.el:
10936 * mpc.el:
10937 * emacs-lisp/smie.el:
10938 * doc-view.el:
10939 * dired.el:
03408648
SM
10940 * abbrev.el: Use lexical binding.
10941
0f0c1f27
EZ
109422011-04-01 Eli Zaretskii <eliz@gnu.org>
10943
10944 * info.el (info-display-manual): New function.
10945
c82b2579
SM
109462011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10947
10948 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10949
221ddf68
TH
109502011-03-31 Tassilo Horn <tassilo@member.fsf.org>
10951
10952 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 10953 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 10954
cba6e77e
GM
109552011-03-31 Glenn Morris <rgm@gnu.org>
10956
e040639f
GM
10957 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
10958
cba6e77e
GM
10959 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
10960
6d0f1c9e
CS
109612011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
10962
10963 * progmodes/python.el (python-default-interpreter)
10964 (python-python-command-args, python-jython-command-args)
10965 (python-which-shell, python-which-args, python-which-bufname)
10966 (python-file-queue, python-comint-output-filter-function)
10967 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
10968 variables and functions.
10969
3e2d70fd
SM
109702011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10971
10972 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
10973 (completion-in-region-mode): New minor mode.
10974 (completion-in-region): Use it.
10975 (completion-in-region--data, completion-in-region-mode-map): New vars.
10976 (completion-in-region--postch): New function.
10977 (completion--capf-misbehave-funs, completion--capf-safe-funs):
10978 New vars.
10979 (completion--capf-wrapper): New function.
10980 (completion-at-point): Use it to track well-behavedness of
10981 hook functions.
10982 (completion-help-at-point): New command.
10983
f3e4086c
JM
109842011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
10985
10986 * vc/add-log.el (add-change-log-entry): Don't use whitespace
10987 syntax class to search for whitespace on a single line
10988 (Message-ID: <4D938140.4030905@redhat.com>).
10989
eb7ffc14
LL
109902011-03-30 Leo Liu <sdl.web@gmail.com>
10991
10992 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
10993 New commands.
10994 (edit-abbrevs-map): Bind them here.
10995 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
10996
d806ab68
KM
109972011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
10998
10999 * allout.el (allout-hide-by-annotation, allout-flag-region):
11000 Reduce possibility of overlay leakage by making them volatile.
11001
11002 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11003 hash is not shared between buffers. Mode initialization is
11004 responsible for giving it a useful starting value.
11005 (allout-item-span): Reduce possibility of overlay leakage by
11006 making them volatile.
11007 (allout-widgets-count-buttons-in-region): Add diagnostic function
11008 for tracking down button overlay leaks.
11009
ea622834
LL
110102011-03-29 Leo Liu <sdl.web@gmail.com>
11011
11012 * ido.el (ido-read-internal): Use the default history var
11013 minibuffer-history if no HISTORY is specified.
11014
b62f8267
G
110152011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11016
03408648
SM
11017 * net/imap.el (imap-shell-open, imap-process-connection-type):
11018 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11019 Kerberos, SSL, other subprocesses.
11020
947b6566
LL
110212011-03-28 Leo Liu <sdl.web@gmail.com>
11022
11023 * abbrev.el (abbrev-table-empty-p): New function.
11024 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11025 nonempty ones. (Bug#5937)
11026
5ffb62aa
JD
110272011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11028
11029 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11030
7a097943
LL
110312011-03-27 Leo Liu <sdl.web@gmail.com>
11032
11033 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11034 for foreground and background colors.
11035 (ansi-color-make-color-map): Adapt.
11036
c5b40130
LL
110372011-03-25 Leo Liu <sdl.web@gmail.com>
11038
1f48f7d2
LL
11039 * midnight.el (midnight-time-float): Remove. Note it calculates
11040 the microsecond component incorrectly and seconds-to-time does the
11041 same job.
625897ec 11042 Remove redundant (require 'timer).
1f48f7d2 11043
c5b40130
LL
11044 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11045 (ido-completions): Remove unused arguments. (Bug#8329)
11046
d86d2721
SM
110472011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11048
11049 * minibuffer.el (completion--flush-all-sorted-completions):
11050 Remove itself from hook.
11051 (completion-at-point): Let the functions perform the completion
11052 immediately and return nil or t.
11053 * comint.el (comint-dynamic-complete-functions): Now identical to
11054 completion-at-point-functions.
11055 (comint-dynamic-list-input-ring): Remove unused var `index'.
11056 (comint--match-partial-filename, comint--unquote&expand-filename):
11057 New funs, split from comint-match-partial-filename.
11058 (comint-dynamic-complete): Use completion-at-point.
11059 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11060
e8974c48
DA
110612011-03-24 Drew Adams <drew.adams@oracle.com>
11062
11063 * thingatpt.el: Support `defun'.
11064
def71b5e
LL
110652011-03-23 Leo Liu <sdl.web@gmail.com>
11066
cb5af48e
LL
11067 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11068
def71b5e
LL
11069 * help-mode.el (help-mode-finish): Tweak regexp.
11070
927c53e7
GM
110712011-03-23 Glenn Morris <rgm@gnu.org>
11072
18d05bed
GM
11073 * eshell/esh-opt.el (eshell-eval-using-options):
11074 Do not bind unused local variable `eshell-option-stub'.
11075
927c53e7
GM
11076 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11077
9d0da923
JB
110782011-03-22 Juanma Barranquero <lekktu@gmail.com>
11079
11080 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11081 keymap variable in `with-no-warnings' to avoid a warning when the
11082 keymap has been already `defconst'ed.
11083
4b978a67
LL
110842011-03-22 Leo Liu <sdl.web@gmail.com>
11085
11086 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11087 encode all chars in abbrevs; otherwise use emacs-mule or
11088 utf-8-emacs. (Bug#8308)
11089
5fd62452
JB
110902011-03-22 Juanma Barranquero <lekktu@gmail.com>
11091
0b1596c6
JB
11092 * simple.el (backward-delete-char-untabify):
11093 Avoid warning about using `delete-backward-char'.
11094
5fd62452
JB
11095 * image.el (image-type-file-name-regexps): Make it variable.
11096 `imagemagick-register-types' modifies it, and the user may want
11097 to add new extensions for known image types.
11098 (imagemagick-register-types): Throw error if not using ImageMagick.
11099
0b4e93f1
LL
111002011-03-22 Leo Liu <sdl.web@gmail.com>
11101
11102 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11103 located before rcirc-prompt-end-marker.
11104 (rcirc-complete): Error if point is not after rcirc prompt.
11105 Handle the case when table is nil.
9882e214 11106 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11107
fccee4ab
CY
111082011-03-22 Chong Yidong <cyd@stupidchicken.com>
11109
11110 * custom.el (custom--inhibit-theme-enable): Make it affect only
11111 custom-theme-set-variables and custom-theme-set-faces.
11112 (provide-theme): Ignore custom--inhibit-theme-enable.
11113 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11114 (custom-enabling-themes): Delete variable.
d86d2721
SM
11115 (enable-theme): Accept only loaded themes as arguments.
11116 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11117 (custom-enabled-themes): Forbid themes from setting this.
11118 Eliminate use of custom-enabling-themes.
11119 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11120
af896da6
LL
111212011-03-21 Leo Liu <sdl.web@gmail.com>
11122
11123 * ido.el (ido-read-internal): Add ido-selected to history instead
11124 of user input.
11125
78f64af0
SM
111262011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11127
11128 * subr.el (deferred-action-list, deferred-action-function):
11129 Mark obsolete.
11130
b16ac1ec
LL
111312011-03-21 Leo Liu <sdl.web@gmail.com>
11132
810f7698
LL
11133 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11134 change on 2011-02-13 (bug#8309).
11135
b16ac1ec
LL
11136 * minibuffer.el (read-file-name-function): Change default value.
11137 (read-file-name--defaults): Rename from read-file-name-defaults.
11138 (read-file-name-default): Rename from read-file-name.
11139 (read-file-name): Call read-file-name-function.
11140
4e05e67e
GM
111412011-03-21 Glenn Morris <rgm@gnu.org>
11142
11143 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11144 Doc fixes.
11145
4359915b
CY
111462011-03-21 Chong Yidong <cyd@stupidchicken.com>
11147
11148 * cus-theme.el: Add missing provide statement.
11149 (customize-create-theme): Extract theme value correctly.
11150 (custom-theme-visit-theme): Autoload.
11151 (customize-create-theme): Prompt before inserting default faces.
11152
1fe275ee
JB
111532011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11154
11155 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11156 units and musical notes.
11157
cd394be1 111582011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11159
11160 * ido.el (ido-read-internal): Use completing-read-default.
11161 (ido-completing-read): Fix compatibility with completing-read.
11162
7d476bde
CO
111632011-03-20 Christian Ohler <ohler@gnu.org>
11164
11165 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11166 (ert-delete-all-tests): Use `called-interactively-p' rather than
11167 `interactive-p'.
11168 (ert--make-xrefs-region): Respect END.
11169
fe0fb33e
CY
111702011-03-19 Chong Yidong <cyd@stupidchicken.com>
11171
ff854b0b
CY
11172 * dired-aux.el (dired-create-directory): Signal an error if the
11173 directory already exists (Bug#8246).
11174
fe0fb33e
CY
11175 * facemenu.el (list-colors-display): Call list-faces-display
11176 inside with-help-window.
11177 (list-colors-print): Use display property to align the final
11178 column, instead of checking window-width.
11179
576bce32
EZ
111802011-03-19 Eli Zaretskii <eliz@gnu.org>
11181
4d61f28d 11182 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11183 windows-nt systems.
11184 (emerge-protect-metachars): Quote correctly for ms-dos and
11185 windows-nt systems.
11186
89c41d68 111872011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11188
11189 * info.el (info-initialize): Replace all uses of `:' with
11190 path-separator for compatibility with non-Unix systems.
11191 Cache quoting of path-separator. (Bug#8258)
11192
b14e3e21 111932011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11194
11195 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11196 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11197 (mouse-avoidance-mode): Fix typos in docstrings.
11198
4525ce3e
CY
111992011-03-19 Chong Yidong <cyd@stupidchicken.com>
11200
11201 * startup.el (package-subdirectory-regexp): Move from package.el.
11202 Omit \\` and \\', and let callers add them.
11203
11204 * emacs-lisp/package.el (package-strip-version)
11205 (package-load-all-descriptors): Add \\` and \\' to
11206 package-subdirectory-regexp before using it.
11207 (package-untar-buffer): New arg DIR; ensure that file untars only
11208 into this expected directory. Remove superfluous delete-region.
11209 (package-unpack): Caller changed.
11210 (package-tar-file-info): Use package-subdirectory-regexp.
11211
a904a09a 112122011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11213
a904a09a
SM
11214 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11215 diff-mode-shared-map (bug#8284).
11216 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11217
112182011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11219
11220 * calendar/time-date.el (format-seconds): Use assoc instead of
11221 assoc-string, since assoc-string doesn't exist in XEmacs.
11222
171fc304
JB
112232011-03-17 Juanma Barranquero <lekktu@gmail.com>
11224
11225 * custom.el (custom-known-themes): Reflow docstring.
11226 (custom-theme-load-path): Fix typo in docstring.
11227 (load-theme): Fix typo in error message.
11228 (custom-available-themes, custom-variable-theme-value):
11229 Use `let', not `let*'.
11230
d71990a1
JB
112312011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11232
11233 * calc/README: Mention inclusion of musical notes.
11234
11235 * calc/calc-units.el (calc-lu-quant): Rename from
11236 `calc-logunits-quantity'.
11237 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11238 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11239 (calc-db): Rename from `calc-dblevel'.
11240 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11241 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11242 (calc-np): Rename from `calc-nplevel'.
11243 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11244 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11245 (calc-lu-plus): Rename from `calc-logunits-add'.
11246 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11247 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11248 (calc-lu-minus): Rename from `calc-logunits-sub'.
11249 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11250 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11251 (calc-lu-times): Rename from `calc-logunits-mul'.
11252 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11253 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11254 (calc-lu-divide): Rename from `calc-logunits-div'.
11255 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11256 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11257
11258 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11259 functions being autoloaded.
11260
11261 * calc/calc.el (calc-lu-power-reference): Rename from
11262 `calc-logunits-power-reference'.
11263 (calc-lu-field-reference): Rename from
11264 `calc-logunits-field-reference'.
11265
7a71b18d
GM
11266 * calc/calc-help.el (calc-l-prefix-help):
11267 Mention musical note functions.
d71990a1 11268
40c2934b
SM
112692011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11270
11271 * minibuffer.el (completion-all-sorted-completions):
11272 Use :completion-cycle-penalty text property if present.
11273
b0911414
KM
112742011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11275
11276 * allout.el (allout-yank-processing): Adjust for new rebulleting
11277 regime so bullet being yanked is used without prompting the user
11278 for a choice.
11279
8a05b668
JB
112802011-03-16 Juanma Barranquero <lekktu@gmail.com>
11281
11282 * startup.el (command-line): Warn the user that _emacs is deprecated.
11283
5ba5fb81
JB
112842011-03-16 Juanma Barranquero <lekktu@gmail.com>
11285
11286 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11287 (delphi-verbose, delphi-comment-face, delphi-string-face)
11288 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11289 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11290 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11291 (delphi-new-comment-line, delphi-font-lock-defaults)
11292 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11293 Fix typos in docstrings.
11294
2dab465b
KM
112952011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11296
5ba5fb81 11297 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11298 Invert the roles of character and string values for INSTEAD, so a
11299 string is used for the more common case of a defaulting prompt.
11300
0adf5618
SM
113012011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11302
11303 * progmodes/ruby-mode.el (ruby-backward-sexp):
11304 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11305 * play/gamegrid.el (gamegrid-make-face):
11306 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11307 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11308 * notifications.el (notifications-notify):
11309 * net/xesam.el (xesam-search-engines):
11310 * net/quickurl.el (quickurl-list-insert):
11311 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11312
d72700e5
CY
113132011-03-15 Chong Yidong <cyd@stupidchicken.com>
11314
11315 * startup.el (command-line): Update package subdirectory regexp.
11316
49c5410a
SM
113172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11318
c6eee9aa
SM
11319 * allout.el (allout-abbreviate-flattened-numbering)
11320 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11321
49c5410a
SM
11322 * subr.el (read-char-choice): Only show the cursor after the prompt,
11323 not after the answer.
11324
047b2bb9
KR
113252011-03-15 Kevin Ryde <user42@zip.com.au>
11326
11327 * help-fns.el (variable-at-point): Skip leading quotes, if any
11328 (bug#8253).
11329
0a57d256
SM
113302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11331
11332 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11333 warning message.
11334
77c992bc
MA
113352011-03-14 Michael Albinus <michael.albinus@gmx.de>
11336
11337 * shell.el (shell): When called interactively, offer to change the
11338 shell file name on remote hosts.
11339
eebc475d
TZ
113402011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11341
11342 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11343 integration for LDAP parameters. The host, base, user or binddn,
11344 and secret tokens can be specified in a netrc file, for instance.
11345 This is optional because an `auth-source' parameter must be
11346 specified in the search attributes.
11347
9d05d1ba
JB
113482011-03-13 Juanma Barranquero <lekktu@gmail.com>
11349
11350 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11351
09d9db2c
GM
113522011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11353
11354 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11355 into declaration. Remove redundant and harmful binding.
11356
113572011-03-12 Eli Zaretskii <eliz@gnu.org>
11358
11359 * files.el (file-ownership-preserved-p): Pass `integer' as an
11360 explicit 2nd argument to `file-attributes'. If the file's owner
11361 is the Administrators group on Windows, and the current user is
11362 Administrator, consider that a match.
11363
11364 * server.el (server-ensure-safe-dir): Consider server directory
11365 safe on MS-Windows if its owner is the Administrators group while
11366 the current Emacs user is Administrator. Use `=' to compare
11367 numerical UIDs, since they could be integers or floats.
11368
219bd536
JB
113692011-03-12 Juanma Barranquero <lekktu@gmail.com>
11370
11371 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11372
f3afd36b
MA
113732011-03-12 Michael Albinus <michael.albinus@gmx.de>
11374
11375 Sync with Tramp 2.2.1.
11376
11377 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11378
11379 * net/trampver.el: Update release number.
11380
3aaaa6f1
SM
113812011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11382
94642599
SM
11383 * progmodes/compile.el (compilation--previous-directory): Fix up
11384 various nil/dead-marker mismatches (bug#8014).
11385 (compilation-directory-properties, compilation-error-properties):
11386 Don't call it at a position past the one we're about to change.
11387
3aaaa6f1
SM
11388 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11389 Disable obsolescence warnings in the file that declares it.
11390
14239447
KM
113912011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11392
099c39a4
JB
11393 * allout-widgets.el (allout-widgets-tally):
11394 Initialize allout-widgets-tally as a hash table rather than nil to
11395 prevent mode-line redisplay warnings. Also, clarify the module
11396 description and fix a comment typo.
14239447 11397
135e287c
JB
113982011-03-11 Juanma Barranquero <lekktu@gmail.com>
11399
11400 * help-fns.el (describe-variable): Don't complete keywords.
11401 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11402
ffbf300e
CY
114032011-03-10 Chong Yidong <cyd@stupidchicken.com>
11404
ba08b241
CY
11405 * emacs-lisp/package.el (package-version-join): Impose a standard
11406 string representation for pre/alpha/beta version lists.
11407 (package-unpack-single): Standardize the directory name by passing
11408 it through package-version-join.
11409 (package-strip-rcs-id): Accept any version string that does not
11410 signal an error in version-to-list.
ffbf300e 11411
f346fd6b
MA
114122011-03-10 Michael Albinus <michael.albinus@gmx.de>
11413
11414 * simple.el (delete-trailing-whitespace): Return nil for the
11415 benefit of `write-file-functions'.
11416
ccb55d27
GM
114172011-03-10 Glenn Morris <rgm@gnu.org>
11418
5ceaac0c
GM
11419 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11420
02da65ff
GM
11421 * vc/vc-git.el (vc-git-program): New option.
11422 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11423 (vc-git--call): Use it.
11424
b2f603cc
GM
11425 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11426
5772caab
GM
11427 * cus-edit.el (Custom-newline): If no button at point, look
11428 for a subgroup button at start-of-line. (Bug#2298)
11429
ccb55d27
GM
11430 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11431
ec6ecaed
JD
114322011-03-10 Julien Danjou <julien@danjou.info>
11433
11434 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11435 `cursor-type' is nil.
11436
9d5aa01d
JB
114372011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11438
11439 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11440
b6a5875b
KM
114412011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11442
7a71b18d 11443 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11444 preserves the existing header prefix, rebulleting it if necessary,
11445 rather than replacing it. This is necessary for proper operation
11446 of cooperative addons like allout-widgets.
1154d12e
JB
11447 (allout-make-topic-prefix, allout-rebullet-heading):
11448 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11449 value as alternate bullet to be used, instead of prompting the user
11450 for a bullet character.
b6a5875b 11451
ee545c35
MA
114522011-03-09 Michael Albinus <michael.albinus@gmx.de>
11453
d86d2721
SM
11454 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11455 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11456 `tramp-default-port'.
11457
c47971d7
DD
114582011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11459
11460 * net/rcirc.el (rcirc-handler-001): Remove useless
11461 with-rcirc-process-buffer.
11462 (rcirc-check-auth-status): Swap arguments to string-match.
11463
13522cb4
GM
114642011-03-09 Glenn Morris <rgm@gnu.org>
11465
0be6f4f1
GM
11466 * shell.el (shell-mode):
11467 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11468
13522cb4
GM
11469 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11470 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11471
515de2e3
CY
114722011-03-08 Chong Yidong <cyd@stupidchicken.com>
11473
11474 * emacs-lisp/package.el (package-refresh-contents)
11475 (package-menu-execute): Use condition-case-no-debug.
11476
b511b994
MA
114772011-03-08 Michael Albinus <michael.albinus@gmx.de>
11478
11479 * simple.el (shell-command-to-string): Use `process-file'.
11480
11481 * emacs-lisp/package.el (package-tar-file-info): Handle also
11482 remote files.
11483
d86d2721
SM
11484 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11485 Use `equal' for upload base check.
b511b994 11486
25bbfb31
AM
114872011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11488
11489 * textmodes/texinfo.el (texinfo-environments):
11490 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11491
be996521
GM
114922011-03-08 Glenn Morris <rgm@gnu.org>
11493
e9c8529f
GM
11494 * cus-start.el (cursor-in-non-selected-windows):
11495 Fix :set quoting oddness. (Bug#8192)
11496
be996521
GM
11497 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11498 in some setf expressions. (Bug#2159)
11499
2bb5649e
CY
115002011-03-08 Chong Yidong <cyd@stupidchicken.com>
11501
11502 * custom.el (custom-available-themes): Return themes in
11503 alphabetical order.
11504
33383987 11505See ChangeLog.15 for earlier changes.
e3d51b27
MR
11506
11507;; Local Variables:
11508;; coding: utf-8
e3d51b27
MR
11509;; End:
11510
acaf905b 11511 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11512
11513 This file is part of GNU Emacs.
11514
11515 GNU Emacs is free software: you can redistribute it and/or modify
11516 it under the terms of the GNU General Public License as published by
11517 the Free Software Foundation, either version 3 of the License, or
11518 (at your option) any later version.
11519
11520 GNU Emacs is distributed in the hope that it will be useful,
11521 but WITHOUT ANY WARRANTY; without even the implied warranty of
11522 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11523 GNU General Public License for more details.
11524
11525 You should have received a copy of the GNU General Public License
11526 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.