Note in Lisp manual that mouse-face cannot change the text size.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
37e11a63
CY
12011-08-08 Chong Yidong <cyd@stupidchicken.com>
2
839dde57
CY
3 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4 (image-dired--with-db-file): New macro.
5 (image-dired-write-tags, image-dired-remove-tag)
6 (image-dired-create-gallery-lists, image-dired-write-comments)
7 (image-dired-get-comment, image-dired-mark-tagged-files)
8 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9 (image-dired-gallery-generate): Use insert-file-contents.
10
37e11a63
CY
11 * time.el (display-time-world-list, display-time-world-display):
12 * time-stamp.el (time-stamp-string):
13 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14 set-time-zone-rule (Bug#7337).
15
0b4946c4
DU
162011-08-08 Daiki Ueno <ueno@unixuser.org>
17
18 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19 (epg-error-to-string, epg-errors-to-string): New function.
20 (epg-wait-for-completion): Reverse errors list.
21 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
23 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
24 (epg-sign-keys, epg-generate-key-from-file)
25 (epg-generate-key-from-string): Format errors by using
26 epg-errors-to-string (bug#9255).
27 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
28
75bfc667
JL
292011-08-07 Juri Linkov <juri@jurta.org>
30
31 * faces.el (list-faces-display): Remove extra angle bracket
32 from `help-mode-map'.
33
34 * info.el (Info-history-toc-nodes): Doc fix.
35
36 * longlines.el (longlines-mode): Doc fix.
37
673e08bb
SM
382011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
39
4640dd88
SM
40 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
41 of statements and in a few more cases (bug#9183).
42
673e08bb
SM
43 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
44 New functions.
45 (cl-transform-lambda): Use them (bug#9239).
46
89b3f019
MR
472011-08-05 Martin Rudalics <rudalics@gmx.at>
48
49 * window.el (display-buffer-same-window)
50 (display-buffer-same-frame, display-buffer-other-window)
51 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
52 (pop-to-buffer-other-window)
53 (pop-to-buffer-same-frame-other-window)
54 (pop-to-buffer-other-frame): Make them defuns.
55 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
56
640c8776
SM
572011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * subr.el (make-composed-keymap): Move from C. Change calling
60 convention, and improve docstring to bring attention to a subtle point.
61 * minibuffer.el (completing-read-default): Adjust accordingly.
62
63648a95
MA
632011-08-03 Michael Albinus <michael.albinus@gmx.de>
64
65 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
66 (tramp-open-shell): Use `tramp-shell-quote-argument'.
67
68 * net/trampver.el: Update release number.
69
b796c9b7
SM
702011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
71
72 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
73 "in" (bug#9190).
74
2239d7d5
LMI
752011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
76
e07dd7c3
LMI
77 * mail/sendmail.el (sendmail-query-once): Restore the current
78 buffer after querying (bug#9074).
79
0e6a2bd7
LMI
80 * dired.el (dired-flagged): Use different faces for marked and
81 flagged files (bug#6117).
82
ce887515
LMI
83 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
84 (bug#4433).
85
92f2affc
LMI
86 * ido.el (ido-mode): Switch off the message if called
87 non-interactively.
88
57d5aff0
LMI
89 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
90 before 587, since it appears that that's more likely to work for
91 more people.
92
98cd6c18
LMI
93 * cus-edit.el (custom-file): When running under emacs -q, always
94 refuse to save the customisations, even if the .emacs file doesn't
95 exist.
96
b96dec83
LMI
97 * info.el: Remove the `Info-beginning-of-buffer' function
98 (bug#8325).
99
b796c9b7
SM
100 * net/network-stream.el (network-stream-open-starttls):
101 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 102
d90e2ea0
MR
1032011-08-01 Martin Rudalics <rudalics@gmx.at>
104
105 * window.el (display-buffer-in-window): Don't set dedicated status
106 of window here (Bug#9215).
107 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
108 (display-buffer-pop-up-side-window)
b796c9b7 109 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 110
cca09170
SM
1112011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
112
113 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
114 before binding generated-autoload-file.
115
027b979c
DD
1162011-08-01 Deniz Dogan <deniz@dogan.se>
117
118 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
119
3c7ee4f3
MA
1202011-07-30 Michael Albinus <michael.albinus@gmx.de>
121
122 Sync with Tramp 2.2.2.
123
124 * net/trampver.el: Update release number.
125
2cc8e51a
JL
1262011-07-30 Juri Linkov <juri@jurta.org>
127
128 * dired-aux.el (dired-touch-initial): Remove function.
129 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
130 current time, and `default' to the last modification time of the
131 current marked file (bug#6887).
132
a514d856
JM
1332011-07-28 Jose E. Marchesi <jemarch@gnu.org>
134
135 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 136 numeric argument to read-number (bug#9163).
a514d856 137
8a7eddd7
MA
1382011-07-27 Michael Albinus <michael.albinus@gmx.de>
139
140 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
141 connection process, it could be nil.
142
1ddd96f5
LL
1432011-07-27 Leo Liu <sdl.web@gmail.com>
144
145 Simplify url handling in rcirc-mode.
146
147 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
148 (rcirc-browse-url-at-mouse): Remove.
149 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
150
b248a85d
AM
1512011-07-26 Alan Mackenzie <acm@muc.de>
152
153 Fontify bitfield declarations properly.
154
155 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
156 (c-symbol-chars): Now exported as a lang variable.
157 (c-not-primitive-type-keywords): New lang variable.
158
159 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
160 QT keyword "more" to prevent "more slots: ...." being spuriously
161 parsed as a bitfield declaraion.
162
b796c9b7
SM
163 * progmodes/cc-engine.el (c-beginning-of-statement-1):
164 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
165 (c-punctuation-in): New function.
166 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
167 declarations properly.
168
68575ab0
UJ
1692011-07-26 Ulf Jasper <ulf.jasper@web.de>
170
171 * calendar/icalendar.el (icalendar--all-events): Take care of
172 multiple vcalendars in a single file.
b796c9b7 173 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 174
0f0a88b9
DD
1752011-07-25 Deniz Dogan <deniz@dogan.se>
176
177 * image.el (insert-image): Clarifying docstring.
178
0b3f36df
MA
1792011-07-24 Michael Albinus <michael.albinus@gmx.de>
180
181 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
182 `tramp-send-command-and-check' if there is no error.
183 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
184
a9901f61
AM
1852011-07-22 Alan Mackenzie <acm@muc.de>
186
187 Prevent cc-langs.elc being loaded at run time.
188
189 * progmodes/cc-mode.el: Remove two autoload forms which loaded
190 cc-langs.
191
192 * /progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
193 "(require 'cc-langs)". Quote a form so it will evaluate at
194 (cc-mode's) compilation time.
195
11d074b2
MA
1962011-07-22 Michael Albinus <michael.albinus@gmx.de>
197
198 * net/tramp.el (tramp-file-name-handler): Avoid recursive
199 loading. (Bug#9114)
200
938b94c8
MR
2012011-07-21 Martin Rudalics <rudalics@gmx.at>
202
203 * window.el (display-buffer-pop-up-window)
204 (display-buffer-pop-up-side-window)
205 (display-buffer-in-side-window): Call display-buffer-set-height
206 and display-buffer-set-width after setting the new window's
b796c9b7 207 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 208
bfa4f190
SS
2092011-07-20 Sam Steingold <sds@gnu.org>
210
211 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
212 (etags-tags-included-tables): Call `convert-standard-filename' on
213 the file names contained in TAGS so that windows Emacs can handle
214 TAGS files created by cygwin ctags.
215
8ca42262
LMI
2162011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
217
218 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
219 which apparently didn't work.
220
5db2afd2 2212011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 222
5db2afd2
RW
223 * proced.el (proced-send-signal): For *Marked Processes* buffer
224 put point at beginning of buffer.
225
92e15d10
SB
2262011-07-19 Stephen Berman <stephen.berman@gmx.net>
227
228 * proced.el (proced-format): Make header lines align with the text
229 (bug#1779).
230
1bfd59e5
LMI
2312011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
232
233 * view.el (view-buffer): Allow running in `special' modes if we're
234 visiting a file (bug#8615).
235
f5aae37c
MR
2362011-07-19 Martin Rudalics <rudalics@gmx.at>
237
238 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
239 (display-buffer-alist-set-1, display-buffer-alist-set-2):
240 New functions.
f5aae37c
MR
241 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
242 more accurately.
243
bf2c1571
AM
2442011-07-18 Alan Mackenzie <acm@muc.de>
245
246 Fontify declarators properly when, e.g., a jit-lock chunk begins
247 inside a declaration.
248
249 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
250
b796c9b7
SM
251 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
252 New function.
bf2c1571
AM
253 (c-complex-decl-matchers): Insert reference to
254 c-font-lock-enclosing-decls.
255
256 * progmodes/cc-engine.el (c-backward-single-comment):
257 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
258 to nil around calls to (forward-comment -1).
259
4e190b80
LMI
2602011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
261
12dc863d
LMI
262 * image.el (put-image): Doc typo fix.
263
a762e966
LMI
264 * progmodes/etags.el (tags-search): Doc typo fix.
265
4e190b80
LMI
266 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
267 password if we get errors 550 to 554.
268
f019fb21
LMI
2692011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
270
b796c9b7 271 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 272
81746738
LMI
273 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
274 indentation character (bug#6380).
275
3ee3a1b5
LMI
276 * files.el (buffer-offer-save): Made permanently local (bug#6241).
277
c82f64de
LMI
278 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
279 to clarify what the problem is (bug#4291).
280
f019fb21
LMI
281 * simple.el (current-kill): Clarify what
282 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
283 (auto-fill-mode): Document `auto-fill-function' in relation to
284 `auto-fill-mode' (bug#2470).
f019fb21 285
0794775d
LM
2862011-07-16 Lawrence Mitchell <wence@gmx.li>
287
288 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
289 method if slot is read-only (bug#9035).
290
be39b8cc
MR
2912011-07-16 Martin Rudalics <rudalics@gmx.at>
292
b796c9b7 293 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 294 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
295 selected before, see discussion of (Bug#8615), (Bug#6954).
296 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 297
6ccf7859
GM
2982011-07-15 Glenn Morris <rgm@gnu.org>
299
300 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 301 Respect help-form.
6ccf7859 302
87e86684
LM
3032011-07-09 Lawrence Mitchell <wence@gmx.li>
304
305 * net/gnutls.el (gnutls-min-prime-bits): New variable.
306 (gnutls-negotiate): Use it.
307
d6066239
LMI
3082011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
309
b796c9b7
SM
310 * net/gnutls.el (gnutls-negotiate):
311 Upcase `gnutls-algorithm-priority'.
d6066239 312
bd23ebc0
GM
3132011-07-15 Glenn Morris <rgm@gnu.org>
314
c65bca65
GM
315 * jka-compr.el (jka-compr-verbose): Move from here...
316 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
317 Add missing :version tag.
318 * info.el: No need to require jka-compr when compiling.
bd23ebc0 319
478615cc
LMI
3202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
321
7b41decb
LMI
322 * net/gnutls.el (gnutls-algorithm-priority): New variable.
323 (gnutls-negotiate): Use it.
324
dbc44fcd
LMI
325 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
326
06789f97
LMI
327 * info.el (Info-beginning-of-buffer): New command.
328 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
329 announcing `b' as the key (bug#8325).
ab896c37 330 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 331
c39da690
LMI
332 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
333
3aa5f34b
LMI
334 * international/mule-cmds.el
335 (describe-specified-language-support): Make the error message
336 clearer (bug#8905).
337
4bf0979f
LMI
338 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
339
478615cc
LMI
340 * isearch.el (isearch-barrier): Add a doc string, since it's
341 mentioned in a function doc string (bug#8678).
342
75c68aa1
MR
3432011-07-15 Martin Rudalics <rudalics@gmx.at>
344
345 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
346 buffer argument (Bug#9083) and self-identifying label argument.
347
a7c33da2
GM
3482011-07-15 Glenn Morris <rgm@gnu.org>
349
350 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
351
2f5c6024
LMI
3522011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
353
354 * man.el (Man-fontify-manpage): Fix message when formatting the
355 man page (bug#7929).
356
0bb23927 3572011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
358
359 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
360 argument LRM; if non-nil, append an invisible LRM character to the
361 buffer name.
362 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
363 last argument non-nil, when formatting buffer names.
0bb23927
EZ
364 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
365 paragraph direction.
cce4b0a7 366
621ef9ab
LMI
3672011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
368
d1583c48
LMI
369 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
370 the man page name (bug#7929).
371
6a57fb5f
LMI
372 * image.el (put-image): Mention the `put-image' overlay property
373 (bug#7834).
374
d7956b14
LMI
375 * scroll-bar.el (set-scroll-bar-mode): Mention that
376 `scroll-bar-mode' lists the values (bug#7772).
377
5b2d4a66
LMI
378 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
379 command (bug#7729).
380
7509a874
LMI
381 * rect.el (apply-on-rectangle): Return the point after the last
382 operation.
383 (string-rectangle): Go to the point after the last operation
384 (bug#7522).
385
4fe74b19
LMI
386 * printing.el (pr-toggle-region): Clarify the documentation
387 slightly (bug#7493).
388
b796c9b7
SM
389 * time.el (display-time-update):
390 Allow `display-time-mail-function' to return nil (bug#7158).
391 Fix suggested by Detlev Zundel.
ab283561 392
fc233c9d
LMI
393 * vc/diff.el (diff): Clarify the order the file names are read
394 (bug#7111).
395
43f5740b
LMI
396 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
397 the doc string (bug#7015).
398
f2182a76
LMI
399 * font-lock.el (font-lock-maximum-decoration): Mention what
400 numeric levels mean (bug#6935).
401
621ef9ab
LMI
402 * startup.el (initial-buffer-choice): Don't mention the `none'
403 selection, which is against policy.
404
adc47434
MR
4052011-07-14 Martin Rudalics <rudalics@gmx.at>
406
b796c9b7
SM
407 * window.el (display-buffer-normalize-special):
408 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 409
7e5bfb8f
EZ
4102011-07-14 Eli Zaretskii <eliz@gnu.org>
411
412 * subr.el (version<, version<=, version=): Mention "-CVS" and
413 "-12345" alpha version numbers.
414
27fa387a
CY
4152011-07-14 Chong Yidong <cyd@stupidchicken.com>
416
417 * bindings.el: Add advertised binding for set-mark-command
418 (Bug#5772).
419
8bdfa064
CY
4202011-07-14 Chong Yidong <cyd@stupidchicken.com>
421
422 * bindings.el (mode-line-other-buffer):
423 * bookmark.el (bookmark-bmenu-2-window):
424 * bs.el (bs-cycle-next, bs-cycle-previous):
425 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
426 switch-to-buffer.
427
428 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 429 Delete.
8bdfa064 430
5eba16a3
JB
4312011-07-14 Juanma Barranquero <lekktu@gmail.com>
432
433 * follow.el (follow-debug-message, follow-redisplay):
434 * jka-cmpr-hook.el (with-auto-compression-mode):
435 Fix typos in docstrings.
436
15853710
LMI
4372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
438
a28e4607
LMI
439 * subr.el (with-silent-modifications): Clarify somewhat what the
440 macro inhibits (bug#6525).
441
15853710
LMI
442 * simple.el (eval-expression): Note what it does if called
443 interactively (bug#6495).
444
bee0fcef
CY
4452011-07-13 Chong Yidong <cyd@stupidchicken.com>
446
b796c9b7
SM
447 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
448 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
449
450 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
451 Remove switch-to-buffer.
452
58274504
LMI
4532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
454
bd2fcc8d
LMI
455 * files.el (make-directory): Clarify that an error will be raised
456 if there's an error (bug#6397).
457
0f04b32c
LMI
458 * startup.el (initial-buffer-choice): Add `none' as a choice
459 (bug#6234).
460
465c5fc8
LMI
461 * subr.el (add-hook): Clarify section about buffer-local hooks
462 (bug#6218).
463
58274504
LMI
464 * dired.el (dired-flagged): Clarify doc string (bug#6117).
465
bead9a43
JB
4662011-07-13 Juanma Barranquero <lekktu@gmail.com>
467
468 * tabify.el (untabify): Preserve the current column so that point
469 doesn't move (bug#6032).
470
3af98a7b
LMI
4712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
472
b796c9b7
SM
473 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
474 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 475
6240145a
GM
4762011-07-13 Glenn Morris <rgm@gnu.org>
477
478 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
479 (dired-insert-directory): Give a message the first time
480 if ls is found not to support --dired.
481
1d8c2ccc
LMI
4822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
483
484 * simple.el (toggle-truncate-lines): Clarify what is toggled
485 (bug#5580). Text by Drew Adams.
486
5fc4038e
CY
4872011-07-13 Chong Yidong <cyd@stupidchicken.com>
488
489 * simple.el (blink-matching-open): Make the error message from the
490 last change less verbose.
491
bf6012e5
DN
4922011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
493
494 * font-lock.el (font-lock-comment-face): Use the high contrast
495 "yellow" color for font-lock-comment-face on low color terminals
496 using a dark background color (bug#4221).
497
343c3b5a
LMI
4982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
499
7e9505c5
LMI
500 * dired.el (dired-insert-set-properties): Make the doc string
501 reflect what it does now (bug#5325).
502
c26fdcf5
LMI
503 * simple.el (blink-matching-open): Say that we were unable to find
504 the match within the limit, if we're limited (bug#5122).
505
bb388cc5
LMI
506 * international/mule-cmds.el (prefer-coding-system): Add an
507 example (bug#4869).
508
343c3b5a
LMI
509 * progmodes/etags.el (tags-search): Document `file-list-form'
510 (bug#4731).
511
2a517d45
LM
5122011-07-13 Lawrence Mitchell <wence@gmx.li>
513
514 * net/browse-url.el (browse-url-default-browser)
515 (browse-url-browser-function): Make the default browser choice a
516 bit more logical (bug#4300). Also clean up the doc string.
517
b6c78ef2
JB
5182011-07-13 Juanma Barranquero <lekktu@gmail.com>
519
520 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
521 binary endings (bug#4440).
522
1c4dd947
LMI
5232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
524
a2014063
LMI
525 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
526 which can be pretty annoying (bug#8971).
527
9c9c2d88
LMI
528 * jka-compr.el (jka-compr-verbose): New variable, and use
529 throughout (bug#8971).
530
1c4dd947
LMI
531 * info.el (Info-find-file): Fall back on the installation
532 directory if we can't find the info node anywhere else.
533
a1c9f41b
SO
5342011-07-13 Sergei Organov <osv@javad.com> (tiny change)
535
536 * vc/vc.el (vc-revert-file):
537 Don't set file time-stamp in the past. (Bug#5181)
538
536f3d36
LMI
5392011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
540
7152b011
LMI
541 * files.el (after-find-file): Give a better error message when
542 trying to find a symlink that points to a file that doesn't exist
543 (bug#4398).
544
536f3d36
LMI
545 * progmodes/cc-vars.el: Remove (probably) misleading comment
546 (bug#4396).
547
460c0fba
JB
5482011-07-12 Johan Bockgård <bojohan@gnu.org>
549
550 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
551
7a6bda45
CY
5522011-07-12 Chong Yidong <cyd@stupidchicken.com>
553
554 * mouse-sel.el: Hack restoring functionality, while keeping
555 compatibility with 2010-07-03 changes to mouse selection.
556 (mouse-sel-primary-overlay): New var.
557 (mouse-sel-selection-alist): Use it.
558 (mouse-sel-mode): Doc fix; remove points that are default features
559 of mouse.el.
560
c79598ef
JB
5612011-07-12 Johan Bockgård <bojohan@gnu.org>
562
563 * progmodes/compile.el (compilation-error-regexp-alist-alist):
564 Fix previous fix (bug#2490).
565
ff8be6ef
RW
5662011-07-12 Roland Winkler <winkler@gnu.org>
567
b796c9b7
SM
568 * textmodes/bibtex.el (bibtex-initialize):
569 Use pop-to-buffer-same-window.
ff8be6ef
RW
570 (bibtex-search-entries): Fix interactive call.
571
296ba3ee
LMI
5722011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
573
f5242a02 574 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
575 Fontise bytecomp Error lines more correctly (bug#2490).
576 Fix suggested by Johan Bockgård.
f5242a02 577
296ba3ee
LMI
578 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
579
580 * dired-x.el (dired-guess-default): Use `delete-dups'.
581
f69fd0d2
CY
5822011-07-12 Chong Yidong <cyd@stupidchicken.com>
583
584 * dired.el (dired-mark-prompt):
585 * dired-aux.el (dired-read-shell-command): Doc fix.
586
eab5dc07
LMI
5872011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
588
b796c9b7
SM
589 * mail/sendmail.el (sendmail-query-once):
590 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
591 emacs -Q.
592
593 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
594
eab5dc07
LMI
595 * cus-edit.el (custom-file): Take an optional no-error variable.
596 (customize-save-variable): Set the variable, and give a warning if
597 running under "emacs -q".
598
a1e65d42
JB
5992011-07-11 Juanma Barranquero <lekktu@gmail.com>
600
601 * loadhist.el (unload-feature-special-hooks):
602 Add `auto-coding-functions', `fill-nobreak-predicate' and
603 `find-directory-functions' (bug#5327).
604
1d52da10
LMI
6052011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
606
be958f1d
LMI
607 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
608
5bedb26c
LMI
609 * cus-edit.el (custom-guess-name-alist): -alist variables should
610 use the `alist' type (bug#3120). Suggested by Drew Adams.
611
1d52da10
LMI
612 * printing.el: Add documentation to all the `pr-toggle-' commands.
613
481a51b6
LL
6142011-07-11 Leo <sdl.web@gmail.com> (tiny change)
615
616 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
617 backends where it makes sense (bug#2623).
618
dcc88d8a
LMI
6192011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
620
c3de9feb
LMI
621 * dired-x.el (dired-guess-default): Remove duplicate shell command
622 entries (bug#2028).
8a93078b 623 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 624 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 625
dcc88d8a
LMI
626 * subr.el (remove-duplicates): New conveniency function.
627
505e3645
LMI
6282011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
629
630 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
631 (bug#1526).
632
6332011-07-10 Martin Rudalics <rudalics@gmx.at>
634
635 * window.el (display-buffer-normalize-default): Don't invert
636 meaning of even-window-heights. Reported by Eli Zaretskii
637 <eliz@gnu.org>.
638
455e4fa1
BR
6392011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
640
641 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
642
8e0bc3e9
CY
6432011-07-10 Chong Yidong <cyd@stupidchicken.com>
644
645 * window.el (display-buffer): Fix arguments to
646 display-buffer-reuse-window in last change.
647
fa7c3228
CY
648 * faces.el (link): Use a less saturated blue on light backgrounds.
649
650 * startup.el (fancy-startup-text, fancy-about-text)
651 (fancy-startup-tail): Use font-lock faces, for background safety.
652
c0a7f300
BN
6532011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
654
b796c9b7
SM
655 * emulation/viper-cmd.el (viper-change-state-to-vi):
656 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 657
4dc2a129
MR
6582011-07-09 Martin Rudalics <rudalics@gmx.at>
659
660 * window.el (display-buffer-default-specifiers): Remove.
661 (display-buffer-macro-specifiers): Remove default specifiers.
662 (display-buffer-alist): Default to nil.
b796c9b7 663 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
664 (display-buffer-pop-up-window): Allow splitting internal
665 windows. Check whether a live window was created.
666 (display-buffer-other-window-means-other-frame)
667 (display-buffer-normalize-arguments): Rename to
668 display-buffer-normalize-argument and rewrite. Set the
669 other-window specifier.
670 (display-buffer-normalize-special): New function.
671 (display-buffer-normalize-options): Rename to
672 display-buffer-normalize-default and rewrite.
673 (display-buffer-normalize-options-inhibit): Remove.
674 (display-buffer-normalize-specifiers): Rewrite.
675 (display-buffer): Process other-window specifier and call
676 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
677 more faithfully.
b796c9b7 678 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 679 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
680 (display-buffer-in-window, display-buffer-alist-set):
681 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
682 <tassilo@member.fsf.org>.
683
2d43b8c9
LL
6842011-07-09 Leo Liu <sdl.web@gmail.com>
685
686 * register.el (insert-register): Restore accidental change on
687 2011-06-26. (Bug#9028)
688
7f9b7c53
GM
6892011-07-09 Glenn Morris <rgm@gnu.org>
690
691 * subr.el (remq): Handle the empty list. (Bug#9024)
692
f042cfd8
AS
6932011-07-08 Andreas Schwab <schwab@linux-m68k.org>
694
695 * mail/sendmail.el (send-mail-function): No longer delay custom
696 initialization.
697 * custom.el (custom-initialize-delay): Doc fix.
698
856b2f11
SM
6992011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
700
701 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
702
afae1d68
MA
7032011-07-08 Michael Albinus <michael.albinus@gmx.de>
704
705 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
706 human-friendly prompt.
707
0757af94
SM
7082011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
709
710 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
711 provided by a particular plugin.
712
d760b731
LMI
7132011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
714
715 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
716 save customizations (with "emacs -Q"), just set the variable
717 instead of erroring out.
718
719 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
720
cd79ce90
JL
7212011-07-08 Juri Linkov <juri@jurta.org>
722
723 * arc-mode.el (archive-zip-expunge, archive-zip-update)
724 (archive-zip-update-case): Use 7z if found by `executable-find'.
725 The order of searching the available programs is the same as in
726 `archive-zip-extract' (bug#8968).
727
14cc04aa
CY
7282011-07-07 Chong Yidong <cyd@stupidchicken.com>
729
730 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
731 (menu-bar-options-menu): Tweak descriptions.
732
0a1848ec
LMI
7332011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
734
735 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
736 menu items into verb phrases (bug#1421). Also refill to fit under
737 80 columns.
738
f5bd0689
CY
7392011-07-07 Chong Yidong <cyd@stupidchicken.com>
740
538e85c6
CY
741 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
742 (Info-read-node-name): Doc fix (Bug#1084).
743
f5bd0689
CY
744 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
745 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
746 (end-of-sexp, beginning-of-sexp)
747 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
748 (forward-symbol, forward-same-syntax, word-at-point)
749 (sentence-at-point): Doc fix (Bug#1144).
750
56ec5115
LMI
7512011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
752
f3f8e37f
LMI
753 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
754 should cover it (bug#1281).
755
0757af94 756 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 757
12b9eb35
LMI
758 * net/network-stream.el (network-stream-open-starttls): If gnutls
759 negotiation fails, then possibly try again with a non-encrypted
760 connection (bug#9017).
761
56ec5115
LMI
762 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
763 be used.
764
c2f9aec8
RS
7652011-07-07 Richard Stallman <rms@gnu.org>
766
767 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
768 property, and handle its changed format.
769 Look for the correct line number.
770 Use file's line contents (but not past first =) to find
771 correct line in message.
772
ef7b981d 7732011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
774
775 * international/characters.el (build-unicode-category-table):
776 Delete it.
0757af94 777 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 778
0757af94 779 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
780 to src/chartab.c.
781 (get-char-code-property): Call unicode-property-table-internal to
782 load a file. Call get-unicode-property-internal where necessary.
783 (put-char-code-property): Call unicode-property-table-internal to
784 load a file. Call put-unicode-property-internal where necessary.
785 put-unicode-property-internal where necessary.
0757af94
SM
786 (char-code-property-description):
787 Call unicode-property-table-internal to load a file.
c805dec0
KH
788
789 * international/charprop.el:
790 * international/uni-bidi.el:
791 * international/uni-category.el:
792 * international/uni-combining.el:
793 * international/uni-comment.el:
794 * international/uni-decimal.el:
795 * international/uni-decomposition.el:
796 * international/uni-digit.el:
797 * international/uni-lowercase.el:
798 * international/uni-mirrored.el:
799 * international/uni-name.el:
800 * international/uni-numeric.el:
801 * international/uni-old-name.el:
802 * international/uni-titlecase.el:
803 * international/uni-uppercase.el: Regenerate.
804
805 * loadup.el: Load international/charprop.el before
806 international/characters.
807
e14b388a
CY
8082011-07-07 Chong Yidong <cyd@stupidchicken.com>
809
810 * window.el (next-buffer, previous-buffer): Signal an error if
811 called from a minibuffer window.
812
813 * bindings.el: Revert 2011-07-04 change.
814
354cf0ba
RS
8152011-07-06 Richard Stallman <rms@gnu.org>
816
817 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
818 (rmail-mime-insert-bulk, rmail-mime-insert-text):
819 Treat markers like ints.
820 (rmail-mime-entity): Doc fix.
821
a48868a7
LMI
8222011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
823
4906cd3d
LMI
824 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
825 defcustom again for backwards compatibility.
826
e0457abe
LMI
827 * simple.el (shell-command-on-region): Fill.
828
d67f7e1f
LMI
829 * dired-aux.el (dired-kill-line): Add a doc string.
830
fe204702
LMI
831 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
832 to "\\sw\\|\\s_" (bug#358).
833
a48868a7
LMI
834 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
835 (dired-unmark-backward): Ditto.
836 (dired-flag-backup-files): Ditto.
837
838 * dired-x.el (dired-mark-sexp): Ditto.
839
aa8a705c
RS
8402011-07-06 Richard Stallman <rms@gnu.org>
841
842 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
843 (rmail-mime-entity): New arg TRUNCATED.
844 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
845 New functions.
846 (rmail-mime-save): Warn if entity is truncated.
847 (rmail-mime-toggle-hidden): Likewise, for showing.
848 (rmail-mime-process-multipart): Record when an entity is truncated.
849
a9a936b9
RS
850 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
851 if ENTITY is a string.
852
1f2b92cb
LMI
8532011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
854
f4f73198 855 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
856 of faces when `M-C-x'-ing their definitions (bug#8378).
857 Also clean up the code slightly.
f4f73198 858
12b16734
LMI
859 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
860 because that makes the colours go away.
861
f0691d22
LMI
862 * mail/sendmail.el (send-mail-function): Change the default to
863 `sendmail-query-once'.
9e87df06 864 (sendmail-query-once): Add an autoload cookie.
f0691d22 865
1f2b92cb
LMI
866 * net/network-stream.el (network-stream-open-starttls): Try using
867 a plain connection even if the server offered STARTTLS, and we
868 kinda wanted to use it, if Emacs doesn't have any STARTTLS
869 capability. This should make smtpmail.el work in slightly more
870 configurations.
871
1cdd2a1b
MA
8722011-07-06 Michael Albinus <michael.albinus@gmx.de>
873
874 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
875 New defun.
876 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
877
fbcc67e2
MM
8782011-07-06 Michael R. Mauger <mmaug@yahoo.com>
879
880 * progmodes/sql.el: Version 3.0
0757af94 881 (sql-product-alist): Add product :completion-object,
fbcc67e2 882 :completion-column, and :statement attributes.
0757af94 883 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 884 (sql-mode-syntax-table): Mark all punctuation.
0757af94 885 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
886 ansi keywords.
887 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 888 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
889 (sql-oracle-show-reserved-words): New function for development.
890 (sql-product-font-lock): Simplify for source code buffers.
891 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
892 New functions.
893 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
894 (sql-mode-map): Add statement movement functions.
895 (sql-ansi-statement-starters, sql-oracle-statement-starters):
896 New variable.
fbcc67e2
MM
897 (sql-statement-regexp, sql-beginning-of-statement)
898 (sql-end-of-statement, sql-signum): New functions.
0757af94 899 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
900 (sql-show-sqli-buffer): Bug fix.
901 (sql-interactive-mode): Store connection data as buffer local.
0757af94 902 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
903 with sql-interactive-mode.
904 (sql-save-connection): Save buffer local settings.
0757af94 905 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
906 (sql-product-interactive): Bug fix.
907 (sql-preoutput-hold): New variable.
908 (sql-interactive-remove-continuation-prompt): Bug fixes.
909 (sql-debug-redirect): New variable.
910 (sql-str-literal): New function.
911 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 912 Redesign.
fbcc67e2
MM
913 (sql-oracle-save-settings, sql-oracle-restore-settings)
914 (sql-oracle-list-all, sql-oracle-list-table): New functions.
915 (sql-completion-object, sql-completion-column)
916 (sql-completion-sqlbuf): New variables.
917 (sql-build-completions-1, sql-build-completions)
918 (sql-try-completion): New functions.
919 (sql-read-table-name): Use them.
920 (sql-contains-names): New buffer local variable.
921 (sql-list-all, sql-list-table): Use it.
922 (sql-oracle-completion-types): New variable.
923 (sql-oracle-completion-object, sql-sqlite-completion-object)
924 (sql-postgres-completion-object): New functions.
925
d4eaeab1
GM
9262011-07-06 Glenn Morris <rgm@gnu.org>
927
928 * window.el (pop-to-buffer): Doc fix.
929
322b7dab 9302011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
931
932 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
933
322b7dab 9342011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 935
322b7dab 936 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 937
322b7dab 938 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 939
605dd5bf
CY
9402011-07-05 Chong Yidong <cyd@stupidchicken.com>
941
942 * button.el (button): Inherit from link face. Suggested by Dan
943 Nicolaescu.
944
7dbfa719
SM
9452011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
946
3db614b0
SM
947 * progmodes/gdb-mi.el: Fit in 80 columns.
948 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
949 switch-to-buffer.
950
7dbfa719
SM
951 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
952 if imenu is simply not configured (bug#8941).
953
919d884a
KM
9542011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
955
956 * allout.el (allout-post-undo-hook): New allout outline-change
957 event hook to signal undo activity.
958 (allout-post-command-business): Run allout-post-undo-hook if an
959 undo just occurred.
7dbfa719
SM
960 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
961 * allout-widgets.el (allout-widgets-after-undo-function):
962 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
963 in the vicinity of an undo.
964 (allout-widgets-mode): Include allout-widgets-after-undo-function
965 on the new allout-post-undo-hook.
966
450a0f09
SM
9672011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
970 Let define-derived-mode define it.
971 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
972 cycles of abbrev-table inheritance (bug#8998).
973
2de69e00
RW
9742011-07-05 Roland Winkler <winkler@gnu.org>
975
976 * textmodes/bibtex.el: Add support for biblatex.
977 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
978 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
979 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
980 (bibtex-entry-alist, bibtex-field-alist): New variables.
981 (bibtex-entry-field-alist): Obsolete alias for
982 bibtex-BibTeX-entry-alist.
983 (bibtex-entry-alist, bibtex-field-alist): New widgets.
984 (bibtex-set-dialect): New command.
985 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
986 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
987 Bind via bibtex-set-dialect.
2de69e00
RW
988 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
989 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
990 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
991 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
992 Define via bibtex-set-dialect.
450a0f09
SM
993 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
994 Obey bibtex-no-opt-remove-re.
2de69e00
RW
995 (bibtex-vec-push, bibtex-vec-incr): New functions.
996 (bibtex-format-entry, bibtex-field-list)
997 (bibtex-print-help-message, bibtex-validate)
998 (bibtex-search-entries): Use new format of bibtex-entry-alist.
999
2dcdbdd9
SM
10002011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1001
1002 * progmodes/compile.el (compilation-goto-locus):
1003 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1004 * bs.el (bs-cycle-next, bs-cycle-previous):
1005 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
1006 * bindings.el (mode-line-other-buffer):
1007 * autoinsert.el (auto-insert):
1008 * arc-mode.el (archive-extract):
1009 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
1010
b27640fe
JB
10112011-07-05 Juanma Barranquero <lekktu@gmail.com>
1012
1013 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
1014 Fix check of `emacs-lock-unlockable-modes'.
1015 Coerce true values of `emacs-lock--try-unlocking' to t.
1016
53bbe3ad
JB
10172011-07-05 Juanma Barranquero <lekktu@gmail.com>
1018
1019 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
1020 * emacs-lock.el: New file.
1021
1d3cdbc7
JD
10222011-07-05 Julien Danjou <julien@danjou.info>
1023
1024 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
1025 than `boundp' to check if face is set.
1026
9173deec
JB
10272011-07-05 Juanma Barranquero <lekktu@gmail.com>
1028
1029 * register.el (registerv-make):
1030 * window.el (window-min-height): Fix typos in docstrings.
1031
869795d6
JD
10322011-07-05 Jan Djärv <jan.h.d@swipnet.se>
1033
9173deec 1034 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
1035 Update doc string.
1036
b768cdcd
JB
10372011-07-04 Juanma Barranquero <lekktu@gmail.com>
1038
1039 * server.el (server-execute): Catch quit and call
1040 `server-return-error' to pass the error back to emacsclient and
1041 close the connection (bug#8942).
1042
13aa217b
KM
10432011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
1044
1045 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
1046 insecure exception for current topic. Also note that auto-saves
1047 are handled differently.
1048
1049 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
1050 State variables for tracking auto-save inhibition situation.
1051
1052 (allout-write-contents-hook-handler): Rename from
1053 'allout-write-file-hook-handler', and describe how it depends on
1054 write-contents-functions sensitivity to non-nil value to prevent
1055 file write.
1056
1057 (allout-auto-save-hook-handler): Remove. auto-save does not check
1058 this in individual buffers, only in the starting buffer, so this
1059 is not the right way for us to inhibit auto-save in a buffer
1060 according to its condition.
1061
1062 (allout-mode): Use new allout-write-contents-hook-handler, and
1063 only with write-contents-functions. Remove auto-save provisions -
1064 they're implemented elsewhere.
1065
1066 (allout-before-change-handler): If undo is in progress, note that
1067 for attention of allout-post-command-business.
1068
1069 (allout-post-command-business): If the command we're following was
1070 an undo, check for change in the status of encrypted items and
1071 adjust auto-save inhibitions accordingly.
1072
1073 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
1074 according to whether there are or aren't any plain-text topics
1075 pending encryption.
1076
2dcdbdd9
SM
1077 (allout-inhibit-auto-save-info-for-decryption):
1078 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
1079 there are plain-text topics pending encryption.
1080
1081 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
1082 buffer-saved-size and some allout state to not inhibit auto-saves
1083 if there are no longer any plain-text topics pending encryption.
1084
0757af94
SM
1085 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
1086 No longer provide for exemption of the current topic.
13aa217b 1087
ac89b32c
JL
10882011-07-04 Juri Linkov <juri@jurta.org>
1089
1090 Add 7z operations to delete and save changed members (bug#8968).
1091 * arc-mode.el (archive-7z-expunge, archive-7z-update):
1092 New defcustoms.
1093 (archive-7z-write-file-member): New function.
1094 (archive-7z-summarize): Fix the number of dashes in the
1095 listing output.
1096
8fa39615
SM
10972011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
1100 (bug#8958).
1101
2f11b3f1
CY
11022011-07-04 Chong Yidong <cyd@stupidchicken.com>
1103
d66fef2b
CY
1104 * bindings.el: Ignore next-buffer and previous-buffer in
1105 minibuffer-local-map.
1106
2f11b3f1
CY
1107 * font-lock.el (font-lock-builtin-face): Change light background
1108 color to dark slate blue (Bug#6693).
1109
f932a347
WD
11102011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
1111
1112 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
1113
c8af70e1
SM
11142011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1115
1116 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
1117 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1118 Add switch-to-buffer.
1119
f158badc
LMI
11202011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1121
1122 * isearch.el (isearch-search-fun-function): Clarify further the
1123 meaning of the function returned.
1124
6d95bd46
MA
11252011-07-04 Michael Albinus <michael.albinus@gmx.de>
1126
1127 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
1128
1129 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
1130 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
1131 Use it.
1132 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
1133 `tramp-default-remote-path' does not exist.
1134 (tramp-send-command-and-read): New optional argument NOERROR.
1135 (tramp-open-connection-setup-interactive-shell)
1136 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
1137 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
1138 (tramp-process-sentinel): Flush also process' connection property.
1139 (tramp-sh-handle-start-file-process): Do not set process
1140 sentinel. It is done now ...
1141 (tramp-maybe-open-connection): ... here. (Bug#8929)
1142
909e6b67
MK
11432011-07-04 MON KEY <monkey@sandpframing.com>
1144
1145 * play/animate.el (animate-string): Doc fixes and allow changing
1146 the buffer name (bug#5417).
1147
11482011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1149
c8af70e1 1150 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 1151
f34755dc
PE
11522011-07-04 Paul Eggert <eggert@cs.ucla.edu>
1153
396cec72
PE
1154 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
1155 This is simpler and helps future-proof the code.
1156 (timer-until): Use time-subtract and float-time.
08235028 1157 (timer--time-less-p): Use time-less-p.
f34755dc 1158
56e6cc31
JB
11592011-07-04 Juanma Barranquero <lekktu@gmail.com>
1160
3abb79e5
JB
1161 * type-break.el (timep): Use the value of `float-time' to avoid a
1162 byte-compiler warning.
1163
56e6cc31
JB
1164 * server.el (server-eval-and-print): Return any result, even nil.
1165
7b9430b4
PE
11662011-07-03 Paul Eggert <eggert@cs.ucla.edu>
1167
1168 * type-break.el: Accept time formats that the builtins accept.
1169 (timep, type-break-time-difference): Accept any format that
1170 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
1171 This is simpler and helps future-proof the code.
1172 (type-break-time-difference): Round rather than ignoring
1173 subseconds components.
1174
3034e9e7
LMI
11752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1176
1177 * info.el (Info-apropos-matches): Make non-interactive, since it
1178 doesn't seem to do anything useful as a command (bug#8829).
1179
1485f4c0
CY
11802011-07-03 Chong Yidong <cyd@stupidchicken.com>
1181
1182 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 1183 Move from faces.el.
1485f4c0
CY
1184 (frame-default-terminal-background): New function.
1185
1186 * custom.el (custom-push-theme): Don't record faces in `changed'
1187 theme; this doesn't work correctly for per-frame face settings.
1188 (disable-theme): Use face-set-after-frame-default to reset faces.
1189 (custom--frame-color-default): New function.
1190
9fa3dd45
LMI
11912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1192
c8af70e1 1193 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
1194 (bug#8769).
1195
6cbbc20c
KR
11962011-03-29 Kevin Ryde <user42@zip.com.au>
1197
1198 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1199 `perl-Test2' extend to match possible "fail #N" rep count
1200 (bug#8377).
1201
c7f98048
LMI
12022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1203
65676592
LMI
1204 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
1205 `smtpmail-via-smtp' now returns the error instead of nil.
1206
c7f98048
LMI
1207 * isearch.el (isearch-search-fun-function): Clarify the doc string
1208 (bug#8101).
1209
56e6cc31 12102011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
1211
1212 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
1213 unnecessary spaces (bug#8987).
1214
2b216704
LMI
12152011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1216
1217 * net/network-stream.el (open-network-stream): Use the
1218 :end-of-capability command thoughout.
1219
12202011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1221
1222 * net/network-stream.el (open-network-stream): Add the
1223 :end-of-capability command parameter, used by pop3.el.
1224
36adf6ce
LMI
12252011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1226
1ca0da0e
LMI
1227 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
1228
fc00f69c
LMI
1229 * fringe.el (fringe-query-style): Remove redundant text " (type ?
1230 for list)" (bug#6475).
1231
28fd8759
LMI
1232 * files.el (file-expand-wildcards): Ignore non-readable
1233 sub-directories while trying to find matches instead of signalling
1234 an error (bug#6297).
1235
0dd8b6da
LMI
1236 * man.el (Man-reference-regexp): Allow matching possible
1237 word-wrapped references (bug#6289).
1238
ce1438d6
LMI
1239 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
1240 for consistency with the other vc buffers (bug#6197).
1241 (vc-checkin): Ditto.
1242
1243 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
1244
36adf6ce
LMI
1245 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
1246
e83cc1f7
LMI
12472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1248
8a20ca4c
LMI
1249 * custom.el (defcustom): Clarify that :set is only used in the
1250 Customize user interface (bug#6089).
1251
83319045
LMI
1252 * progmodes/flymake.el (flymake-mode): If the buffer isn't
1253 associated with a file, refuse to run instead of erroring out
1254 (bug#6084).
1255
a8392169
LMI
1256 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
1257 the doc string, since it appears that using `fill-column' always
1258 controls the width (bug#7845).
1259
e83cc1f7
LMI
1260 * simple.el (shell-command-on-region): Say where the error output
1261 went if `shell-command-default-error-buffer' is set (bug#6857).
1262
e47ca23b
KM
12632011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
1264
1265 * allout.el (allout-yank-processing): Adjust cursor position for
1266 backwards-deleted space.
1267
1268 (allout-rebullet-heading): Register changes with
1269 allout-exposure-changed-hook, so the modified topic is properly
1270 decorated.
1271
5cf56143
LMI
12722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1273
08549772
LMI
1274 * minibuffer.el (completion-in-region): Document PREDICATE
1275 (bug#7136).
1276
48e96771
LMI
1277 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
1278 of keyword/argument pairs (bug#6904).
1279
c8af70e1
SM
1280 * replace.el (multi-occur):
1281 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 1282
e17d05e2
LMI
12832011-07-02 Drew Adams <drew.adams@oracle.com>
1284
1285 * dired.el (dired-mark-if): Make the message about whether it's
1286 marking or unmarking clearer (bug#8523).
1287
063b0e45
LMI
12882011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1289
1290 * disp-table.el (display-table-print-array): New function.
1291 (describe-display-table): Use it to print the vectors more pretty
1292 (Bug#8859).
1293
28545e04
MR
12942011-07-02 Martin Rudalics <rudalics@gmx.at>
1295
1296 * window.el (window-state-get-1): Don't assign clone numbers.
1297 Add clone-of item to list of window parameters.
1298 (window-state-put-2): Don't process clone numbers.
1299 (display-buffer-alist): Fix doc-string.
1300
3349e122
SM
13012011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1302
1303 * subr.el (remq): Don't allocate if it's not needed.
1304 (keymap--menu-item-binding, keymap--menu-item-with-binding)
1305 (keymap--merge-bindings): New functions.
1306 (keymap-canonicalize): Use them to refine the canonicalization.
1307 * minibuffer.el (minibuffer-local-completion-map)
1308 (minibuffer-local-must-match-map): Move initialization from C.
1309 (minibuffer-local-filename-completion-map): Move initialization from C;
1310 don't inherit from anything here.
1311 (minibuffer-local-filename-must-match-map): Make obsolete.
1312 (completing-read-default): Use make-composed-keymap to combine
1313 minibuffer-local-filename-completion-map with either
1314 minibuffer-local-must-match-map or
1315 minibuffer-local-filename-completion-map.
1316
d224ac83
GM
13172011-07-01 Glenn Morris <rgm@gnu.org>
1318
3de63bf8
GM
1319 * type-break.el (type-break-time-sum): Use dolist.
1320
d224ac83
GM
1321 * textmodes/flyspell.el (flyspell-word-search-backward):
1322 Replace CL function.
1323
1a1e3f32
SM
13242011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1325
fe3f64d5
SM
1326 * mouse.el (mouse--strip-first-event): New function.
1327 (function-key-map): Use it to map fringe clicks to normal clicks
1328 by default.
1329
eb604e34
SM
1330 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
1331 (vc-bzr-revision-completion-table): Add support for annotate and date.
1332
1a1e3f32
SM
1333 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
1334 inherit from parent.
1335
5bd35902
LMI
13362011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1337
ace6c69c 1338 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 1339 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 1340
191e2bed
LMI
1341 * dired.el (dired-mode): Fix up the doc string as suggested by
1342 Drew Adams (bug#8817).
1343
5bd35902
LMI
1344 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
1345 cookie, since the manual says that it should be possible to add
1346 this function to `find-file-hook' (bug#8709).
1347
eee8207a
TZ
13482011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1349
1350 * progmodes/cfengine.el: Moved all cfengine3.el functionality
1351 here. Noted Ted Zlatanov as the maintainer.
1352 (cfengine-common-settings, cfengine-common-syntax): New functions
1353 to set up common things between `cfengine-mode' and
1354 `cfengine3-mode'.
1355 (cfengine3-mode): New mode.
1356 (cfengine3-defuns cfengine3-defuns-regex
1357 (cfengine3-class-selector-regex cfengine3-category-regex)
1358 (cfengine3-vartypes cfengine3-font-lock-keywords)
1359 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 1360 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 1361
36b148cf
MA
13622011-07-01 Michael Albinus <michael.albinus@gmx.de>
1363
1364 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
1365
1366 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1367
0bf4ba9a
MR
13682011-07-01 Martin Rudalics <rudalics@gmx.at>
1369
1370 * window.el (same-window-buffer-names, same-window-regexps)
1371 (same-window-p, special-display-frame-alist)
1372 (special-display-popup-frame, special-display-function)
1373 (special-display-buffer-names, special-display-regexps)
1374 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
1375 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1376 (split-window-preferred-function, split-height-threshold)
1377 (split-width-threshold, even-window-heights)
1378 (display-buffer-mark-dedicated, window-splittable-p)
1379 (split-window-sensibly, window-safely-shrinkable-p):
1380 Un-obsolete.
1381 (display-buffer): Don't spread args with function specifier
1382 because special-display-popup-frame won't like it.
1383
35837f51
PE
13842011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1385
d0672f86
PE
1386 Time-stamp simplifications and fixes.
1387 These improve accuracy slightly, and future-proof the code
1388 against some potential changes to current-time format.
1389
b9444d97
PE
1390 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
1391 by using time-since and float-time.
1392
0ef923dc
PE
1393 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
1394 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
1395 + NNN microseconds".
1396
2f81380d
PE
1397 * type-break.el (type-break-time-sum): Rewrite using time-add.
1398
845b5c3e
PE
1399 * play/hanoi.el (hanoi-current-time-float): Remove.
1400 All uses replaced by float-time.
1401
ee6f1be0
PE
1402 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
1403 This yields a more-accurate answer.
1404 (rng-time-to-float): Remove; no longer needed.
1405
fe955043
PE
1406 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
1407
5777162a
PE
1408 * calendar/timeclock.el (timeclock-seconds-to-time):
1409 Defalias to seconds-to-time, since they're the same thing.
1410
3103f8b6 1411 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 1412 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
1413 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
1414
0e61a35f
SM
14152011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * window.el (bury-buffer): Don't iconify the only frame.
1418 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
1419 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
1420
ddd63a1e
CY
14212011-07-01 Chong Yidong <cyd@stupidchicken.com>
1422
0e61a35f
SM
1423 * eshell/em-smart.el (eshell-smart-display-navigate-list):
1424 Add mouse-yank-primary.
ddd63a1e 1425
055f4923
TZ
14262011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1427
1428 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
1429
6a2fb145
SM
14302011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 * emacs-lisp/find-func.el (find-library--load-name): New fun.
1433 (find-library-name): Use it to find relative load names when provided
1434 absolute file name (bug#8803).
1435
fd4983f2
LMI
14362011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1437
887d14ad
LMI
1438 * textmodes/flyspell.el (flyspell-word): Consider words that
1439 differ only in case as potential doublons (bug#5687).
1440
c53dc7fc
LMI
1441 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
1442 Remove two rather uninteresting debugging-like messages to make
1443 debbugs.el more silent.
1444
fd4983f2
LMI
1445 * comint.el (comint-password-prompt-regexp): Accept "Response" as
1446 a password-like phrase.
1447
b14c0c55
AM
14482011-06-30 Mastake YAMATO <yamato@redhat.com>
1449
1450 * progmodes/cc-guess.el: New file.
1451
6a2fb145 1452 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
1453
1454 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
1455 derived from `c-basic-common-init'.
1456
1457 * progmodes/cc-mode.el (top-level): Require cc-guess.
1458 (c-basic-common-init): Use `cc-choose-style-for-mode'.
1459
1fa280a3
LM
14602011-06-30 Lawrence Mitchell <wence@gmx.li>
1461
1462 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
1463
e6597158
AM
14642011-06-30 Alan Mackenzie <acm@muc.de>
1465
1fa280a3
LM
1466 * progmodes/cc-engine.el (c-guess-continued-construct):
1467 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
1468 lock is disabled. Name this case as "CASE G".
1469
68ba37fb
KM
14702011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
1471
1472 * allout.el (allout-yank-processing): Fix injection of extra space
1473 between bullet and non-whitespace character in first topic when
1474 pasting, ensuring that the actual spacing in the pasted topic
1475 following the bullet char is preserved. This extra space was
1476 causing pasted encrypted topics to get a decrypted status even
1477 when the content was actually still encrypted. Now the decryption
1478 status from before the paste is preserved.
1479
1480 (allout-flag-region): Set all allout overlays so they evaporate
1481 when reduced to zero length (evanescent), to prevent overlay
1482 leakage.
1483
887a0b34
GM
14842011-06-30 Glenn Morris <rgm@gnu.org>
1485
94b9acce
GM
1486 * w32-fns.el (w32-charset-info-alist): Declare.
1487
1d9b46d4
GM
1488 * find-dired.el (find-grep-options): Simplify.
1489
cc232200
GM
1490 * term/ns-win.el (ns-set-resource): Declare.
1491
28e77c46
GM
1492 * ses.el (row, col): Declare dynamic variables honestly.
1493
887a0b34
GM
1494 * textmodes/reftex-parse.el (index-tags): Declare.
1495
658d8eb8
CY
14962011-06-30 Chong Yidong <cyd@stupidchicken.com>
1497
1498 * cus-edit.el (customize-push-and-save): New function.
1499
1500 * files.el (hack-local-variables-confirm): Use it.
1501
1fa280a3
LM
1502 * custom.el (load-theme): New arg NO-CONFIRM.
1503 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
1504 (custom-enabled-themes): Doc fix.
1505
1506 * cus-theme.el (customize-create-theme)
1507 (custom-theme-merge-theme): Callers to load-theme changed.
1508
bb617717
LMI
15092011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1510
d61bdd5d
LMI
1511 * thingatpt.el (thing-at-point-short-url-regexp): Require that
1512 short URLs have at least one dot in them (bug #7614).
1513
bb617717
LMI
1514 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
1515 nil, because using a pty is apparently too slow (bug #895).
1516
2f31f37a
LMI
15172011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1518
1519 * mail/sendmail.el (sendmail-query-once): New function.
1520 (sendmail-query-once-function): New variable.
1521
3076b24e
GM
15222011-06-29 Glenn Morris <rgm@gnu.org>
1523
faf2a174
GM
1524 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
1525
3076b24e
GM
1526 * ses.el (top-level): Require cl when compiling.
1527 (ses-set-localvars): Fix error statement.
1528 Call it at compile time to silence a storm of warnings.
1529
5386012d
MR
15302011-06-29 Martin Rudalics <rudalics@gmx.at>
1531
1532 * window.el (normalize-live-buffer): Rename to
1533 window-normalize-buffer.
1534 (normalize-live-frame): Rename to window-normalize-frame.
1535 (normalize-any-window): Rename to window-normalize-any-window.
1536 (normalize-live-window): Rename to window-normalize-live-window.
1537 (make-window-atom): Rename to window-make-atom.
1538 (window-resize-reset): Rename to window--resize-reset.
1539 (window-resize-reset-1): Rename to window--resize-reset-1.
1540 (resize-mini-window): Rename to window--resize-mini-window.
1541 (resize-subwindows-skip-p): Rename to
1542 window--resize-subwindows-skip-p.
1543 (resize-subwindows-normal): Rename to
1544 window--resize-subwindows-normal.
1545 (resize-subwindows): Rename to window--resize-subwindows.
1546 (resize-other-windows): Rename to window--resize-siblings.
1547 (resize-this-window): Rename to window--resize-this-window.
1548 (resize-root-window): Rename to window--resize-root-window.
1549 (resize-root-window-vertically): Rename to
1550 window--resize-root-window-vertically.
1551 (normalize-buffer-to-display): Rename to
1552 window-normalize-buffer-to-display.
1553 (normalize-buffer-to-switch-to): Rename to
1554 window-normalize-buffer-to-switch-to.
1555 Correspondingly update all callers of the functions listed
1556 above.
1557 (display-buffer-alist, display-buffer-normalize-arguments)
1558 (display-buffer-normalize-options, display-buffer)
1559 (display-buffer-alist-set): Use "function" instead of
1560 "fun-with-args".
1561
1176868d
CY
15622011-06-28 Chong Yidong <cyd@stupidchicken.com>
1563
1564 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
1565 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
1566 debbugs.gnu.org. Mention acknowledgment email.
1567
20a7a65f
LMI
15682011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
1569
1570 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
1571 buffer multibyteness, since it shouldn't matter.
1572
5f45cca5
MR
15732011-06-28 Martin Rudalics <rudalics@gmx.at>
1574
1575 * window.el (display-buffer-in-side-window): Handle dedicated
1576 windows as in display-buffer-reuse-window.
1577 (display-buffer-normalize-alist): Use value of override
1578 specifier.
1579 (display-buffer-normalize-specifiers): Use value of
1580 other-window-means-other-frame specifier.
1581 (display-buffer-alist): Rewrite some texts in widgets.
1582 (display-buffer): Spread arguments when calling function
1583 specified by fun-with-args.
1584
ad85fe1f
DD
15852011-06-28 Deniz Dogan <deniz@dogan.se>
1586
1fa280a3
LM
1587 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1588 Unnest `let'.
da68c4c8 1589
ad85fe1f
DD
1590 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
1591 selectors (Bug#5732).
ec49bd31 1592 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 1593
a08cc025
JA
15942011-06-27 Jari Aalto <jari.aalto@cante.net>
1595
1596 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
1597 (eshell-ls-date-format): New defcustom.
1598 (eshell-ls-file): Use it.
1599
e2b551c5
SM
16002011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1601
1602 * help-fns.el (describe-variable): Fix message for terminal-local vars.
1603
8982b231
KY
16042011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
1605
1606 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
1607 (ange-ftp-make-tmp-name): New arg.
1608 (ange-ftp-file-local-copy): Use it.
1609
36c9fa27
J
16102011-06-27 Jambunathan K <kjambunathan@gmail.com>
1611
1612 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
1613 no-conversion (Bug#8870).
1614
d68443dc
MR
16152011-06-27 Martin Rudalics <rudalics@gmx.at>
1616
1617 * window.el (window-right, window-left, window-child)
1618 (window-child-count, window-last-child)
1619 (window-iso-combination-p, walk-window-tree-1)
1620 (window-atom-check-1, window-tree-1, delete-window)
1621 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
1622 new naming conventions - window-vchild, window-hchild,
1623 window-next and window-prev are now called window-top-child,
1624 window-left-child, window-next-sibling and window-prev-sibling
1625 respectively.
d615d6d2
MR
1626 (resize-window-reset): Rename to window-resize-reset.
1627 (resize-window-reset-1): Rename to window-resize-reset-1.
1628 (resize-window): Rename to window-resize.
1629 (window-min-height, window-min-width)
1630 (resize-mini-window, resize-this-window, resize-root-window)
1631 (resize-root-window-vertically, adjust-window-trailing-edge)
1632 (enlarge-window, shrink-window, maximize-window)
1633 (minimize-window, delete-window, quit-restore-window)
1634 (split-window, balance-windows, balance-windows-area-adjust)
1635 (balance-windows-area, window-state-put-2)
1636 (display-buffer-even-window-sizes, display-buffer-set-height)
1637 (display-buffer-set-width, set-window-text-height)
1638 (fit-window-to-buffer): Rename all "resize-window" prefixed
1639 calls to use the "window-resize" prefix convention.
1640 (display-buffer-alist): Fix symbol for label specifier.
1641 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
1642 corresponding specifier.
1643 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 1644
b6458526
VB
16452011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
1646
1647 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
1648 convention.
1649 (ses-call-printer): Does not pass an empty string to formatter when the
1650 cell is empty to keep from barking printer Calc math-format-value.
1651
d31fd9ac
RS
16522011-06-27 Richard Stallman <rms@gnu.org>
1653
43d5bf84
RS
1654 * battery.el (battery-mode-line-limit): New variable.
1655 (battery-update): Handle it.
1656
d31fd9ac
RS
1657 * mail/rmailmm.el (rmail-mime-process-multipart):
1658 Handle truncated messages.
1659
819a6054
GM
16602011-06-27 Glenn Morris <rgm@gnu.org>
1661
1662 * progmodes/flymake.el (flymake-err-line-patterns):
1663 Allow for column numbers in the ant/javac pattern. (Bug#8866)
1664
cedc73f2
VB
16652011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
1666
819a6054 1667 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
1668 (ses--clean-!, ses--clean-_): New functions.
1669 (ses-range): Add configurability of readout order, and conversion
1670 to Calc vector.
1671
5e5d49b6
VB
1672 * ses.el (ses-repair-cell-reference-all): New function.
1673 (ses-cell-symbol): Set macro as safe, so that it can be used in
1674 formulas.
1675
56e6cc31 1676 * ses.el: Update cycle detection algorithm.
90ca8b49 1677 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 1678 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
1679 (ses-set-localvars): New function.
1680 (ses-make-cell): Add property-list as a cell element.
1681 (ses-cell-property-get-fun, ses-cell-property-get)
1682 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
1683 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
1684 New functions.
90ca8b49
VB
1685 (ses-cell-property-set, ses-cell-property-pop)
1686 (ses-cell-property-get-handle): New macro.
1687 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
1688 New aliases, used for code readability.
1689 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
1690 cycle detection.
1691 (ses-self-reference-early-detection): New defcustom.
1692 (ses-formula-references): Robustify against self-refering cells.
1693 (ses-mode): Use ses-set-localvars.
1694 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
1695 before lauching the update processing.
1696 (ses-initialize-Dijkstra-attempt): New function.
1697 (ses-recalculate-cell): Update for cycle detection based on
1698 Dijkstra algorithm.
1699
2bb63e81
VB
1700 * ses.el: Fix commenting and indenting convention.
1701
c9d29fb8
SM
17022011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1703
1704 * bs.el (bs-cycle-next): Complete last change.
1705
d8e4b68b
JB
17062011-06-27 Drew Adams <drew.adams@oracle.com>
1707
1708 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
1709
40098786
LMI
17102011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1711
c9d29fb8
SM
1712 * net/network-stream.el (network-stream-open-starttls):
1713 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
1714 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
1715
40098786
LMI
1716 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
1717 to binary to possibly avoid line encoding issues on Windows (among
1718 other things).
1719
468d09d4
LMI
17202011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1721
1722 * net/network-stream.el (open-network-stream): Return an :error
1723 saying what the problem was, if possible.
1724
1725 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
1726 server.
1727
1728 * net/network-stream.el (network-stream-open-starttls): If we
1729 wanted to use STARTTLS, and the server offered it, but we weren't
1730 able to because we had no STARTTLS support, then close the connection.
1731 (open-network-stream): Return an :error element, if present.
1732
16f07dd7
CY
17332011-06-26 Chong Yidong <cyd@stupidchicken.com>
1734
88821ca0
CY
1735 * hl-line.el (hl-line-sticky-flag): Doc fix.
1736 (global-hl-line-sticky-flag): New option (Bug#8323).
1737 (global-hl-line-highlight): Obey it.
1738
16f07dd7
CY
1739 * vc/vc.el (vc-revert-show-diff): Default to t.
1740
6b5ccddf
KM
17412011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
1742
c9d29fb8
SM
1743 * allout-widgets.el (allout-widgets-post-command-business):
1744 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
1745 undecorated when an isearch is continued past, and isearch
1746 automatically collapses them. This leads to "widget leaks", where
1747 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
1748 hidden widgets can slow down cursor travel, substantially.
1749 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
1750 so we're doing without this nicety.
1751
1752 (allout-widgets-tally-string): Don't try to do a hash-table-count
1753 of allout-widgets-tally when it's nil. This eliminates spurious "Error
1754 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
1755 *Messages* when allout-widgets-maintain-tally is t.
1756
355f2e07
MR
17572011-06-26 Martin Rudalics <rudalics@gmx.at>
1758
1759 * window.el (display-buffer-normalize-argument): Rename to
1760 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
1761 LABEL argument. Respect special-display-function when popping up
1762 a new frame. Fix code searching for a window showing the buffer
1763 on another frame.
c9d29fb8
SM
1764 (display-buffer-normalize-specifiers):
1765 Call display-buffer-normalize-arguments.
355f2e07
MR
1766 (display-buffer-in-window): Don't undedicate the window if its
1767 buffer remains the same.
1768 Reported by Drew Adams <drew.adams@oracle.com>.
1769 (display-buffer-alist): Add choice for same-window macro
1770 specfier.
1771 (display-buffer): Mention special meaning of LABEL argument in
1772 doc-string. Fix quoting. Don't pop up a new frame even as
1773 fallback.
1774
7ca8fc42
JB
17752011-06-26 Juanma Barranquero <lekktu@gmail.com>
1776
1777 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
1778 avoid deleting the current window in some cases (bug#8911).
1779
bc312254
AS
17802011-06-26 Andreas Schwab <schwab@linux-m68k.org>
1781
1782 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
1783 (Bug#8934)
1784
2db18f3f
LMI
17852011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1786
c9d29fb8
SM
1787 * net/network-stream.el (network-stream-open-starttls):
1788 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
1789 (network-stream-open-tls): Ditto.
1790
6302e0d3
LL
17912011-06-26 Leo Liu <sdl.web@gmail.com>
1792
1793 * register.el (registerv): New struct.
1794 (registerv-make): New function.
c9d29fb8
SM
1795 (jump-to-register, describe-register-1, insert-register):
1796 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
1797 struct. (Bug#8415)
1798
5fdd4046
CY
17992011-06-26 Chong Yidong <cyd@stupidchicken.com>
1800
2afef60a
CY
1801 * vc/vc.el (vc-revert-show-diff): New defcustom.
1802 (vc-diff-internal): New arg specifying diff buffer.
1803 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
1804 reuse an existing *vc-diff* buffer (Bug#8927).
1805
5fdd4046
CY
1806 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
1807
e93db24a
GM
18082011-06-26 Glenn Morris <rgm@gnu.org>
1809
1810 * progmodes/f90.el (f90-critical-indent): New option.
1811 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
1812 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
1813 (f90-mode): Doc fix.
1814 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
1815 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
1816 (f90-beginning-of-block, f90-next-block, f90-indent-region)
1817 (f90-match-end): Handle block, critical.
1818
eefff499
GM
18192011-06-25 Glenn Morris <rgm@gnu.org>
1820
f6ba4cc9
GM
1821 * calendar/diary-lib.el (diary-included-files): Doc fix.
1822 (diary-include-files): New function, extracted from
1823 diary-include-other-diary-files and diary-mark-included-diary-files.
1824 (diary-include-other-diary-files, diary-mark-included-diary-files):
1825 Just call diary-include-files.
1826 (diary-mark-entries): Reset diary-included-files on first call.
1827
16712304
GM
1828 * calendar/diary-lib.el (diary-mark-entries)
1829 (diary-mark-included-diary-files):
1830 Visit included diary-files in temp buffers.
1831
5d8e0d43
GM
1832 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
1833 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
1834 (f90-start-block-re, f90-imenu-generic-expression)
1835 (f90-looking-at-program-block-start, f90-no-block-limit):
1836 Add support for submodules.
1837
ccf7a5d5
GM
1838 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1839 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 1840
11fdef7d 18412011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
1842
1843 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
1844 buffer-file-type before setting its value, to avoid disastrous
eefff499 1845 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 1846
74f53697
JB
18472011-06-25 Juanma Barranquero <lekktu@gmail.com>
1848
1849 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
1850
1851 * ses.el (ses-unload-function):
1852 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
1853
1854 * proced.el (proced-unload-function):
1855 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
1856
18a4ce5e
AR
18572011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
1858
1859 * server.el (server-create-window-system-frame): Add parameters arg.
1860 (server-process-filter): Doc fix. Handle frame-parameters.
1861
519d22cc
JB
18622011-06-25 Juanma Barranquero <lekktu@gmail.com>
1863
1864 Fix bug#8730, bug#8781.
1865
1866 * loadhist.el (unload--set-major-mode): New function.
1867 (unload-feature): Use it.
1868
1869 * progmodes/python.el (python-after-info-look): Add autoload cookie.
1870 (python-unload-function): New function.
1871
c206f5b0
SM
18722011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1873
1874 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
1875
f9ad64f3
GS
18762011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
1877
1878 * net/browse-url.el (browse-url-firefox-program): Add icecat to
1879 the candidates list.
1880
7d0da90e
JB
18812011-06-24 Juanma Barranquero <lekktu@gmail.com>
1882
1883 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
1884
14b4e83d
RS
18852011-06-23 Richard Stallman <rms@gnu.org>
1886
1887 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
1888 (rmail-variables): Set next-error-move-function.
1889 (rmail-what-message): Take argument POS.
1890 (rmail-next-error-move): New function.
1891
273d2baf
SM
18922011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1893
1894 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
1895 messages for adjacent non-terminals.
1896
56c2cc9a
RS
18972011-06-23 Richard Stallman <rms@gnu.org>
1898
1899 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 1900 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
1901 (rmail-start-mail): Don't specify use of rmail-mail-return;
1902 that's done by mail-bury now.
1903 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 1904
d59eb518
MA
19052011-06-23 Michael Albinus <michael.albinus@gmx.de>
1906
1907 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
1908 SIZE is a number.
1909
02cfc6d6
MR
19102011-06-23 Martin Rudalics <rudalics@gmx.at>
1911
1912 * window.el (get-lru-window, get-mru-window)
1913 (get-largest-window): Never return a minibuffer window.
1914 (display-buffer-pop-up-window): Fix a bug that could lead to
1915 reusing the minibuffer window.
1916 (display-buffer): Pass original specifier argument to
1917 display-buffer-function instead of the normalized one.
1918 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1919
4e323265
LL
19202011-06-22 Leo Liu <sdl.web@gmail.com>
1921
1922 * minibuffer.el (completing-read-function)
1923 (completing-read-default): Move from minibuf.c
1924
7a70468f
RS
19252011-06-22 Richard Stallman <rms@gnu.org>
1926
50718fc2
RS
1927 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
1928 to Rmail even if not started by a special Rmail command.
1929
7a70468f
RS
1930 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1931 Copy the buffer currently showing just one message.
1932
297dde5a
RW
19332011-06-22 Roland Winkler <winkler@gnu.org>
1934
1935 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
1936 (bibtex-clean-entry): First delete the old key so that a
1937 customized algorithm for generating the new key does not get
1938 confused by the old key.
1939 (bibtex-url): Obey regexp of first step.
1940 (bibtex-search-entries): Do not use add-to-list with local
1941 list-var.
1942
97bb1093
LMI
19432011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1944
1945 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
1946 stored a user name, then query for the password first, instead of
1947 waiting for SMTP to give an error message and the trying again.
1948
1c0f1a19
JD
19492011-06-22 Lawrence Mitchell <wence@gmx.li>
1950
1951 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
1952 BUFFER in call-process.
1953
396f7c9d
LMI
19542011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1955
1956 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
1957 QUIT twice.
ddb7ffee
LMI
1958 (smtpmail-try-auth-methods): Require user name and password from
1959 auth-source.
396f7c9d 1960
8998d1b3
MR
19612011-06-22 Martin Rudalics <rudalics@gmx.at>
1962
1963 * window.el (display-buffer-default-specifiers)
1964 (display-buffer-alist): Remove entries for pop-up-frame-alist.
1965 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 1966 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
1967
1968 * frame.el (pop-up-frame-alist, pop-up-frame-function)
1969 (special-display-frame-alist, special-display-popup-frame):
1970 Remove duplicate declarations. These are now in window.el.
1971
4ea31e07
LMI
19722011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1973
c9d29fb8
SM
1974 * mail/smtpmail.el (smtpmail-via-smtp):
1975 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
1976 server supports it. SMTP servers that support STARTTLS commonly
1977 require it.
1978
1979 * net/network-stream.el (network-stream-open-starttls): Support
1980 upgrading to STARTTLS always, even if we don't have built-in support.
1981 (open-network-stream): Add the :always-query-capabilies keyword.
1982
95f41d9a
LMI
1983 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
1984 upgrades with `open-network-stream', and rely solely on
1985 auth-source for all credentials. Big changes throughout the file,
1986 but in particular:
c9d29fb8
SM
1987 (smtpmail-auth-credentials): Remove.
1988 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
1989 (smtpmail-via-smtp): Check for servers saying they want AUTH after
1990 MAIL FROM, too.
95f41d9a 1991
c9d29fb8
SM
1992 * net/network-stream.el (network-stream-open-starttls):
1993 Provide support for client certificates both for external and built-in
4ea31e07
LMI
1994 STARTTLS.
1995 (auth-source): Require.
1996 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
1997 (network-stream-certificate): Change cert-cert to cert and
1998 cert-key to key.
4ea31e07 1999
065ec2c7
MA
20002011-06-21 Michael Albinus <michael.albinus@gmx.de>
2001
2002 * net/tramp-cache.el (top): Don't load the persistency file when
2003 "emacs -Q" has been called.
2004
cd93b359
DR
20052011-06-21 Tim Harper <timcharper@gmail.com>
2006
d8e4b68b
JB
2007 * term/ns-win.el (ns-initialize-window-system):
2008 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
2009 resource to NO as it is not yet supported by the NS port.
2010
ae9c0411
JB
20112011-06-21 Juanma Barranquero <lekktu@gmail.com>
2012
2013 * misc.el (list-dynamic-libraries--refresh): Compute header here...
2014 (list-dynamic-libraries): ...not here.
2015
7f3f739f
LL
20162011-06-21 Leo Liu <sdl.web@gmail.com>
2017
2018 * subr.el (sha1): Implement sha1 using secure-hash.
2019
327c8fb1
MR
20202011-06-21 Martin Rudalics <rudalics@gmx.at>
2021
2022 * window.el (display-buffer-alist): In default value do not
2023 enforce searching a window on any but the selected frame.
2024 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
2025 (display-buffer-select-window): Remove function.
2026 (display-buffer-in-window): When a window on another frame gets
2027 reused, do not select it any more but just raise its frame if
2028 necessary (Bug#8851) and (Bug#8856).
2029 (display-buffer-normalize-options): Handle pop-up-frames related
2030 options more faithfully.
2031 (pop-to-buffer): Don't rely on `display-buffer' selecting the
2032 window if it is on another frame.
c9d29fb8
SM
2033 (display-buffer-alist, display-buffer-default-specifiers):
2034 Don't make new frame unsplittable by default.
9e9de014
MR
2035 (display-buffer-normalize-argument): Fix doc-string typo and use
2036 'same-frame-other-window instead of 'other-window when associating
2037 with display-buffer-macro-specifiers.
327c8fb1 2038
7cf3f556
VB
20392011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
2040
2041 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
2042 New functions.
2043 (5x5-mode-map, 5x5-mode-menu): Bind them.
2044 (5x5-draw-grid): Tweak the solver's rendering.
2045
60a406cf
SM
20462011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
2049 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
2050
d8e4b68b 20512011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
2052
2053 * menu-bar.el: Use function variable instead of switch-to-buffer.
2054 (menu-bar-select-buffer-function): New variable.
60a406cf 2055 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 2056
478d6f95
SM
20572011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2058
2059 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
2060 variable's status.
2061
ca530739
JD
20622011-06-20 Jan Djärv <jan.h.d@swipnet.se>
2063
2064 * x-dnd.el (x-dnd-version-from-flags)
2065 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
2066 and long as number (Bug#8899).
2067 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
2068
bcd70d97
SM
20692011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2070
60a406cf 2071 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
2072 (completion-try-completion, completion-all-completions): Compute the
2073 metadata argument if it's missing; make it optional (bug#8795).
2074
60a406cf 2075 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
2076 (widget-complete): Use new :completion-function property.
2077 (widget-completions-at-point): New function.
2078 (default): Use :completion-function instead of :complete.
60a406cf
SM
2079 (widget-default-completions): Rename from widget-default-complete;
2080 Rewrite.
bcd70d97
SM
2081 (widget-string-complete, widget-file-complete, widget-color-complete):
2082 Remove functions.
2083 (file, symbol, function, variable, coding-system, color):
2084 * international/mule-cmds.el (default-input-method, charset)
2085 (language-info-custom-alist):
2086 * cus-edit.el (face): Use new property :completions.
2087
2088 * progmodes/pascal.el (pascal-completions-at-point): New function.
2089 (pascal-mode): Use it.
2090 (pascal-mode-map): Use completion-at-point.
2091 (pascal-toggle-completions): Make obsolete.
2092 (pascal-complete-word, pascal-show-completions):
2093 * progmodes/octave-mod.el (octave-complete-symbol):
2094 Redefine as obsolete alias.
2095 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
2096 Signal absence of completion info for old Octave,
2097 (inferior-octave-complete): Redefine as obsolete alias.
2098 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
2099 (meta-completions-at-point): Rename from meta-complete-symbol and
2100 adapt it for use on completion-at-point-functions.
2101 (meta-common-mode): Use it.
2102 (meta-looking-at-backward, meta-match-buffer): Remove.
2103 (meta-complete-symbol): Redefine as obsolete alias.
2104 (meta-common-mode-map): Use completion-at-point.
2105 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
2106 (makefile-mode-map): Use completion-at-point.
2107 (makefile-completions-at-point): Rename from makefile-complete and
2108 adapt it for use on completion-at-point-functions.
2109 (makefile-mode): Use it.
2110 (makefile-complete): Redefine as obsolete alias.
2111
aebf69c8
DD
21122011-06-20 Deniz Dogan <deniz@dogan.se>
2113
2114 * net/rcirc.el: Delete trailing whitespaces once and for all.
2115
bfbbb27d
DC
21162011-06-20 Daniel Colascione <dan.colascione@gmail.com>
2117
2118 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
2119
d264a46b
CY
21202011-06-19 Chong Yidong <cyd@stupidchicken.com>
2121
4ca009e5
CY
2122 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
2123
d264a46b
CY
2124 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
2125
fbf5b3ce
MR
21262011-06-19 Martin Rudalics <rudalics@gmx.at>
2127
2128 * window.el (display-buffer-other-window-means-other-frame):
2129 Call display-buffer-normalize-alist.
2130 (display-buffer-normalize-specifiers-1): Rename to
2131 display-buffer-normalize-argument. New argument other-frame.
2132 Rewrite.
2133 (display-buffer-normalize-specifiers-2): Rename to
2134 display-buffer-normalize-options.
2135 (display-buffer-normalize-alist-1): New function.
2136 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
2137 display-buffer-normalize-alist.
2138 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
2139 (display-buffer-normalize-options-inhibit): New variable.
2140 (display-buffer-normalize-specifiers): Rewrite calling
2141 display-buffer-normalize-alist,
2142 display-buffer-normalize-argument, and
2143 display-buffer-normalize-options. Don't call the latter if
2144 display-buffer-normalize-options-inhibit is non-nil.
2145 (frame-auto-delete): New option.
2146 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
2147 (window-list-no-nils, window-state-ignored-parameters)
2148 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
2149 (window-state-put-1, window-state-put-2, window-state-put):
2150 New functions.
9a028c23
MR
2151 (display-buffer-normalize-options): Move special-display-p group
2152 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 2153
6d10d800
CY
21542011-06-18 Chong Yidong <cyd@stupidchicken.com>
2155
6420d28b
CY
2156 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
2157 groups (Bug#8776).
2158 (rx-submatch-n): New function.
2159 (rx): Document it.
2160
ddb8b596
CY
2161 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
2162 (Bug#8768).
2163
2164 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
2165
77080289
CY
2166 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
2167
61dfb316
CY
2168 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
2169 anytime existing face settings are present (Bug#8889).
2170
6d10d800
CY
2171 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
2172 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
2173 Remove unused argument.
2174
be3fb2b8
MR
21752011-06-18 Martin Rudalics <rudalics@gmx.at>
2176
bcd70d97
SM
2177 * window.el (display-buffer-default-specifiers):
2178 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
2179 pop-up-window-min-width, and another reuse-window specifier
2180 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
2181 (display-buffer-normalize-specifiers-2):
2182 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
2183 pop-up-windows is unset. Add a reuse-window specifier for the
2184 case popping up a new window fails.
2185 (special-display-popup-frame): Remove double quoting.
28dec25a 2186 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 2187
1c6d8c76
SM
21882011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * shell.el (shell-completion-vars): Set pcomplete-termination-string
2191 according to comint-completion-addsuffix.
2192
2193 * pcomplete.el: Convert to lexical binding and fix bug#8819.
2194 (pcomplete-suffix-list): Mark as obsolete.
2195 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
2196 pcomplete-seen in the closure.
2197 (pcomplete-comint-setup): Setup completion-at-point as well.
2198 (pcomplete--entries): New function.
2199 (pcomplete--env-regexp): New var.
2200 (pcomplete-entries): Rewrite to work with partial-completion and
2201 without relying on pcomplete-suffix-list.
2202 (pcomplete-pare-list): Remove, unused.
2203
25aef8b8
MR
22042011-06-17 Martin Rudalics <rudalics@gmx.at>
2205
2206 * window.el (display-buffer-alist): Set pop-up-window-min-height
2207 and pop-up-window-min-width in default value. Reported by
2208 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
2209 other-window-means-other-frame.
2210 (display-buffer-macro-specifiers): Comment out entry for
2211 other-window specifier.
2212 (display-buffer-other-window-means-other-frame): New function.
2213 (display-buffer-normalize-specifiers-1): New arguments
2214 buffer-name and label. Treat other-window case specially.
2215 (display-buffer-normalize-specifiers-2): Treat other-window case
2216 specially.
2217 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
2218 (display-buffer-normalize-specifiers):
2219 Call display-buffer-normalize-specifiers-3.
25aef8b8 2220
dbad4f69
MR
22212011-06-17 Martin Rudalics <rudalics@gmx.at>
2222
2223 * window.el (same-window-p): Fix two typos introduced when
2224 adding with-no-warnings.
d1067961
MR
2225 (display-buffer-normalize-specifiers-1): Don't check
2226 pop-up-frames for 'unset initialization.
2227 (display-buffer-normalize-specifiers-2): Major rewrite using
2228 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
2229 (pop-up-frames, display-buffer-reuse-frames)
2230 (display-buffer-mark-dedicated): Don't initialize to 'unset.
2231 Suggested by David Engster <deng@randomsample.de>.
2232 (even-window-heights): Initialize to 'unset.
2233 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
2234 (display-buffer-macro-specifiers): Don't pop up a new frame in the
2235 other window case.
dbad4f69 2236
9b9c9e3a
MR
22372011-06-16 Martin Rudalics <rudalics@gmx.at>
2238
bcd70d97
SM
2239 * window.el (display-buffer-normalize-specifiers-1):
2240 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 2241 second argument of display-buffer (Bug#8865).
981d5c09
MR
2242 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
2243 (switch-to-buffer-other-window-same-frame)
2244 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
2245 Adams (Bug#8875).
9c2755e9
MR
2246 (display-buffer): Don't check noninteractive when calling
2247 display-buffer-pop-up-frame.
2248 (display-buffer-pop-up-frame): Never pop up a frame in
2249 noninteractive mode (Bug#8857).
67222e1d
MR
2250 (enlarge-window, shrink-window): Don't report an error when the
2251 window can't be resized as requested (Bug#8862).
9b9c9e3a 2252
2b75be67
SM
22532011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2254
9ffdd3ba
SM
2255 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
2256
cb581a67
SM
2257 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
2258
2b75be67
SM
2259 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
2260
8c0e3589
AM
22612011-06-15 Alan Mackenzie <acm@muc.de>
2262
cb581a67
SM
2263 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
2264 for declarators, disable knr checking to speed up for normal files.
2265 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 2266
b96e6cde
LMI
22672011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2268
4bba86e6
LMI
2269 * net/network-stream.el (open-network-stream): Add the keyword
2270 :always-query-capabilities for the case where you want to force a
2271 `plain' network connection, but the protocol still requires the
2272 capabilitiy command (i.e., SMTP and EHLO).
2273
2b75be67 2274 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
2275 consistency with other `-live-p' functions.
2276
efdcdbf8
SM
22772011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2278
2279 * window.el (same-window-buffer-names, same-window-regexps)
2280 (special-display-frame-alist, special-display-popup-frame)
2281 (special-display-function, special-display-buffer-names)
2282 (special-display-regexps, pop-up-frame-alist)
2283 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
2284 (pop-up-windows, split-window-preferred-function)
2285 (split-height-threshold, split-width-threshold, even-window-heights)
2286 (display-buffer-mark-dedicated): Don't encourage the use of
2287 display-buffer-alist from Elisp code.
2288
c5cde042
DN
22892011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
2290
2291 * progmodes/python.el (python-mode): Derive from prog-mode.
2292 * progmodes/ps-mode.el (ps-mode):
2293 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 2294 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
2295 * progmodes/ld-script.el (ld-script-mode): Likewise.
2296
baa1c9ab
MR
22972011-06-15 Martin Rudalics <rudalics@gmx.at>
2298
2299 * window.el (display-buffer-alist): Trim default value to avoid
2300 popping up a new frame (Bug#8857) or reusing an arbitrary window
2301 on another frame.
2302 (display-buffer): Do not fall back on popping up a new frame in
2303 batch mode (Bug#8857).
2304
c5dd5a51
CY
23052011-06-14 Chong Yidong <cyd@stupidchicken.com>
2306
2307 * cus-theme.el (describe-theme-1): Use custom-theme-p.
2308 (custom-theme-summary): New function.
2309 (customize-themes): Use it.
2310
d647b7c4
GM
23112011-06-13 Glenn Morris <rgm@gnu.org>
2312
2313 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
2314
9481c002
MR
23152011-06-13 Martin Rudalics <rudalics@gmx.at>
2316
357f93d2
MR
2317 * help.el (help-window): Remove variable.
2318 (help-window-point-marker, temp-buffer-max-height)
2319 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
2320 (help-print-return-message): Don't set help-window.
2321 (resize-temp-buffer-window): Rewrite cod eand doc-string.
2322 (help-window-setup-finish): Remove.
2323 (help-window-display-message, help-window-setup)
2324 (with-help-window): Major rewrite based on new
2325 display-buffer-window variable.
2326
2327 * help-mode.el (help-mode-finish): Remove help-window related
2328 code.
2329
2330 * view.el (view-exits-all-viewing-windows): Remove reference to
2331 view-return-to-alist in doc-string.
2332 (view-return-to-alist): Make obsolete.
2333 (view-buffer): Call pop-to-buffer-same-window and remove
2334 undo-window code.
2335 (view-buffer-other-window): Call pop-to-buffer-other-window and
2336 simplify code. Ignore second argument.
2337 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
2338 simplify code. Ignore second argument.
2339 (view-return-to-alist-update): Make obsolete.
2340 (view-mode-enter): Rename second argument to QUIT-RESTORE.
2341 Rewrite using quit-restore window parameters.
2b75be67
SM
2342 (view-mode-exit): Rename second argument to EXIT-ONLY.
2343 Rewrite using quit-restore-window.
357f93d2
MR
2344 (View-exit, View-exit-and-edit, View-leave, View-quit)
2345 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
2346 appropriate arguments.
2347 (view-end-message): Use quit-restore window parameter.
2348
9481c002
MR
2349 * window.el (display-buffer-function): Rewrite doc-string.
2350 (display-buffer-window, display-buffer-alist): New variables.
2351 (display-buffer-split-specifiers)
2352 (display-buffer-side-specifiers)
2353 (display-buffer-macro-specifiers): New constants.
2354 (display-buffer-even-window-sizes, display-buffer-set-height)
2355 (display-buffer-set-width, display-buffer-select-window)
2356 (display-buffer-in-window, display-buffer-reuse-window)
2357 (display-buffer-split-window-1, display-buffer-split-window)
2358 (display-buffer-split-atom-window, display-buffer-pop-up-window)
2359 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
2360 (display-buffer-in-side-window, normalize-buffer-to-display)
2361 (display-buffer-normalize-specifiers-1)
2362 (display-buffer-normalize-specifiers-2)
2b75be67
SM
2363 (display-buffer-normalize-specifiers, display-buffer-frame):
2364 New functions.
9481c002
MR
2365 (display-buffer): Major rewrite.
2366 (display-buffer-other-window, display-buffer-other-frame)
2367 (pop-to-buffer, switch-to-buffer-other-window)
2368 (switch-to-buffer-other-frame): Rewrite.
2369 (display-buffer-same-window, display-buffer-same-frame)
2370 (display-buffer-same-frame-other-window)
2371 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2372 (pop-to-buffer-other-window)
2373 (pop-to-buffer-same-frame-other-window)
2374 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
2375 (switch-to-buffer-other-window-same-frame): New functions.
2376 (same-window-p, special-display-p): Rewrite disabling warnings.
2377 Make obsolete.
2378 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2379 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
2380 Make obsolete
2381 (same-window-buffer-names, same-window-regexps)
2382 (special-display-frame-alist, special-display-popup-frame)
2383 (special-display-function, special-display-buffer-names)
2384 (special-display-regexps, pop-up-frame-alist)
2385 (pop-up-frame-function, split-window-preferred-function)
2386 (split-height-threshold, split-width-threshold)
2387 (even-window-heights): Make obsolete.
2388
9db51aca
GM
23892011-06-12 Glenn Morris <rgm@gnu.org>
2390
2391 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 2392 Misc simplifications.
9db51aca 2393
39cffb44
MR
23942011-06-12 Martin Rudalics <rudalics@gmx.at>
2395
2396 * window.el (window-safely-shrinkable-p): Restore function which
2397 was inadvertently removed in change from 2011-06-11. Declare as
2398 obsolete.
2399
2b75be67
SM
2400 * calendar/calendar.el (calendar-generate-window):
2401 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
2402 window-safely-shrinkable-p.
2403
a8955be7
GM
24042011-06-12 Glenn Morris <rgm@gnu.org>
2405
2406 * progmodes/fortran.el (fortran-mode-syntax-table):
2407 * progmodes/f90.el (f90-mode-syntax-table):
2408 Set % to punctuation. (Bug#8820)
2409 (f90-find-tag-default): Remove, no longer needed.
2410
f0d4059d
DC
24112011-06-12 Daniel Colascione <dan.colascione@gmail.com>
2412
2413 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
2414
1100a63c
CY
24152011-06-11 Chong Yidong <cyd@stupidchicken.com>
2416
2417 * image.el (image-animated-p): Return animation delay in seconds.
2418 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
2419 (image-animate-timeout): Remove DELAY argument. Don't assume
2420 every subimage has the same delay; get it from image-animated-p.
2421 (image-animate): Caller changed.
2422
def722bf
MA
24232011-06-11 Michael Albinus <michael.albinus@gmx.de>
2424
2425 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
2426 to ignored backtrace functions.
2427
0a2bb1a9
GM
24282011-06-11 Glenn Morris <rgm@gnu.org>
2429
2430 * calendar/appt.el (appt-disp-window-function): Doc fix.
2431 (appt-check): Handle overlapping appointments. (Bug#8337)
2432
6198ccd0
MR
24332011-06-11 Martin Rudalics <rudalics@gmx.at>
2434
2435 * window.el (window-tree-1, window-tree): New functions, moving
2436 the latter to window.el.
2437 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
2438 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
2439 (bw-refresh-edges): Remove.
2440 (balance-windows-1, balance-windows-2): New functions.
2441 (balance-windows): Rewrite in terms of window tree functions,
2442 balance-windows-1 and balance-windows-2.
2443 (bw-adjust-window): Remove.
2444 (balance-windows-area-adjust): New function with functionality of
2445 bw-adjust-window but using resize-window.
2b75be67
SM
2446 (set-window-text-height): Rewrite doc-string.
2447 Use normalize-live-window and resize-window.
2448 (enlarge-window-horizontally, shrink-window-horizontally):
2449 Rename argument to DELTA.
6198ccd0
MR
2450 (window-buffer-height): New function.
2451 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
2452 Rewrite using new window resize routines.
2b75be67
SM
2453 (kill-buffer-and-window, mouse-autoselect-window-select):
2454 Use ignore-errors instead of condition-case.
6198ccd0
MR
2455 (quit-window): Call delete-frame instead of delete-windows-on
2456 for the only buffer on frame.
2457
9397e56f
MR
24582011-06-10 Martin Rudalics <rudalics@gmx.at>
2459
2460 * loadup.el (top-level): Load window before files for the sake
2461 of replace-buffer-in-windows.
2462
2463 * files.el (read-buffer-to-switch)
2464 (switch-to-buffer-other-window)
2b75be67
SM
2465 (switch-to-buffer-other-frame, display-buffer-other-frame):
2466 Move to window.el.
9397e56f
MR
2467
2468 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
2469 (previous-buffer): Move to window.el.
2470
2471 * bindings.el (unbury-buffer): Move to window.el.
2472
2473 * window.el (delete-other-windows-vertically): Move after
2474 definition of delete-other-windows.
2475 (other-window, delete-windows-on, replace-buffer-in-windows):
2476 Move here from window.c.
2477 (record-window-buffer, unrecord-window-buffer)
2478 (set-window-buffer-start-and-point, switch-to-prev-buffer)
2479 (switch-to-next-buffer): New functions.
2480 (get-next-valid-buffer, last-buffer, next-buffer): Move here
2481 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
2482 (previous-buffer): Move here from simple.el.
2483 Call switch-to-prev-buffer.
9397e56f
MR
2484 (bury-buffer): Move here from buffer.c. Switch to previous
2485 buffer when window cannot be deleted.
2486 (unbury-buffer): Move here from bindings.el.
2487 (ctl-x-map): Move binding for other-window from window.c to
2488 here.
2489 (read-buffer-to-switch, switch-to-buffer-other-window)
2490 (switch-to-buffer-other-frame): Move here from files.el.
2491 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
2492 (switch-to-buffer): Move here from buffer.c.
2493 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 2494
562dd5e9
MR
24952011-06-10 Martin Rudalics <rudalics@gmx.at>
2496
2497 * window.el (window-min-height, window-min-width): Move here
2498 from window.c. Add defcustoms and rewrite doc-strings.
2499 (resize-mini-window, resize-window): New functions.
2500 (adjust-window-trailing-edge, enlarge-window, shrink-window):
2501 Move here from window.c.
2502 (maximize-window, minimize-window): New functions.
2503 (delete-window, delete-other-windows, split-window): Move here
2504 from window.c.
2505 (window-split-min-size): New function.
2506 (split-window-keep-point): Mention split-window-above-each-other
2507 instead of split-window-vertically.
2b75be67
SM
2508 (split-window-above-each-other, split-window-vertically):
2509 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
2510 provide defalias for old definition.
2511 (split-window-side-by-side, split-window-horizontally): Rename
2512 split-window-horizontally to split-window-side-by-side and provide
2513 defalias for the old definition.
2514 (ctl-x-map): Move bindings for delete-window,
2515 delete-other-windows and enlarge-window here from window.c.
2516 Replace bindings for split-window-vertically and
2517 split-window-horizontally by bindings for
2518 split-window-above-each-other and split-window-side-by-side.
2519
2520 * cus-start.el (all): Remove entries for window-min-height and
2521 window-min-width. Add entries for window-splits and
2522 window-nest.
2523
f0da764a
GM
25242011-06-09 Glenn Morris <rgm@gnu.org>
2525
80675c21
GM
2526 * calendar/appt.el (appt-mode-line): New function.
2527 (appt-check, appt-disp-window): Use it.
2528
f0da764a
GM
2529 * files.el (hack-one-local-variable-eval-safep):
2530 Allow minor-modes with explicit +/-1 arguments.
2531
59f623b7
TZ
25322011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
2533
2534 * term/xterm.el (xterm): Add defgroup.
2535 (xterm-extra-capabilities): Add defcustom to supply known xterm
2536 capabilities, skip querying them, or query them (default).
2537 (terminal-init-xterm): Use it.
2538 (terminal-init-xterm-modify-other-keys): New function to set up
2539 modifyOtherKeys support to simplify `terminal-init-xterm'.
2540
9aab8e0d
MR
25412011-06-09 Martin Rudalics <rudalics@gmx.at>
2542
2543 * window.el (resize-window-reset, resize-window-reset-1)
2544 (resize-subwindows-skip-p, resize-subwindows-normal)
2545 (resize-subwindows, resize-other-windows, resize-this-window)
2546 (resize-root-window, resize-root-window-vertically)
2547 (window-deletable-p, window-or-subwindow-p)
2548 (frame-root-window-p): New functions.
2549
e8b08aee
GM
25502011-06-09 Glenn Morris <rgm@gnu.org>
2551
2552 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
2553 (ange-ftp-get-files): Use it.
2554
254c37a5
AK
25552011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
2556
2557 * mail/sendmail.el (mail-recover-1, mail-recover):
2558 * files.el (recover-file, recover-session):
2559 Handle dired-listing-switches not being just a single short option.
2560
35d7dbd3
GM
25612011-06-09 Glenn Morris <rgm@gnu.org>
2562
2563 * calendar/appt.el (appt-display-message, appt-disp-window):
2564 Handle lists of appointments.
2565
387522b2
MR
25662011-06-08 Martin Rudalics <rudalics@gmx.at>
2567
2b75be67
SM
2568 * window.el (one-window-p): Move down in code.
2569 Rewrite doc-string.
2570 (window-current-scroll-bars): Rewrite doc-string.
2571 Normalize live window argument.
387522b2
MR
2572 (walk-windows, get-window-with-predicate, count-windows):
2573 Rewrite doc-string. Use window-list-1.
2574 (window-in-direction-2, window-in-direction, get-mru-window):
2575 New functions.
2576
d8e4b68b 25772011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
2578
2579 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
2580 Doc fix (Bug#8713).
2581
25822011-06-08 Chong Yidong <cyd@stupidchicken.com>
2583
2584 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
2585
25862011-06-08 Juanma Barranquero <lekktu@gmail.com>
2587
2588 * loadhist.el (unload-feature-special-hooks):
2589 Add `comint-output-filter-functions'.
2590
0de12c52
IK
25912011-06-08 Ivan Kanis <gnu@kanis.fr>
2592
2593 * calendar/appt.el (appt-check): Move some initializations into the let.
2594
f3d1777e
MR
25952011-06-08 Martin Rudalics <rudalics@gmx.at>
2596
2597 * window.el (window-height): Defalias to window-total-height.
2598 (window-width): Defalias to window-body-width.
2599
18af70d0
CY
26002011-06-07 Chong Yidong <cyd@stupidchicken.com>
2601
2602 * image-mode.el (image-toggle-animation): New command.
2603 (image-mode-map): Bind it to RET.
2604 (image-mode): Update message.
2605 (image-toggle-display-image): Avoid a spurious cache flush.
2606 (image-transform-rotation): Doc fix.
2607 (image-transform-properties): Return quickly in the normal case.
2608 (image-animate-loop): Rename from image-animate-max-time.
2609
2b75be67 2610 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
2611 (create-animated-image): Remove unnecessary function.
2612 (image-animate): Rename from image-animate-start. New arg.
2b75be67 2613 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
2614 (image-animate-timer): Use car-safe.
2615 (image-animate-timeout): Rename argument.
2616
190b47e6
MR
26172011-06-07 Martin Rudalics <rudalics@gmx.at>
2618
2619 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
2620 window.c. Rename first argument to ALL-FRAMES.
2621 Rephrase doc-strings.
2622 (get-buffer-window-list): Rewrite using window-list-1.
2623 Rephrase doc-string.
a1511caf
MR
2624 (window-safe-min-height, window-safe-min-width): New constants.
2625 (window-size-ignore, window-min-size, window-min-size-1)
2626 (window-sizable, window-sizable-p, window-size-fixed-1)
2627 (window-size-fixed-p, window-min-delta-1, window-min-delta)
2628 (window-max-delta-1, window-max-delta, window-resizable)
2629 (window-resizable-p, window-total-height, window-total-width)
2630 (window-body-width): New functions.
2631 (window-full-height-p, window-full-width-p): Rewrite using
2632 window-total-size.
2633 (window-body-height): Rewrite using window-body-size.
190b47e6 2634
85cc1f11
MR
26352011-06-06 Martin Rudalics <rudalics@gmx.at>
2636
2637 * window.el (window-right, window-left, window-child)
2638 (window-child-count, window-last-child, window-any-p)
2639 (normalize-live-buffer, normalize-live-frame)
2640 (normalize-any-window, normalize-live-window)
2641 (window-iso-combination-p, window-iso-combined-p)
2642 (window-iso-combinations)
2643 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
2644 (windows-with-parameter, window-with-parameter)
2645 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
2646 (window-atom-check, window-side-check, window-check):
2647 New functions.
85cc1f11
MR
2648 (ignore-window-parameters, window-sides, window-sides-vertical)
2649 (window-sides-slots): New variables.
2650 (window-size-fixed): Move down in code. Minor doc-string fix.
2651
e7156492
AS
26522011-06-05 Andreas Schwab <schwab@linux-m68k.org>
2653
2654 * comint.el (comint-dynamic-complete-as-filename)
2655 (comint-dynamic-complete-filename): Correctly call
2656 completion-in-region.
2657
7e821d0d
DD
26582011-06-05 Deniz Dogan <deniz@dogan.se>
2659
2660 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
2661 in last change.
2662
ac09b8a1
DD
26632011-06-05 Deniz Dogan <deniz@dogan.se>
2664
2665 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
2666 (rcirc): Use it to prompt for encryption.
2667
34699b85
RW
26682011-06-05 Roland Winkler <winkler@gnu.org>
2669
2670 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
2671 (bibtex-search-entries): New command bound to C-c C-a.
2672 (bibtex-display-entries): New function.
2673
004dedd3
RW
26742011-06-05 Roland Winkler <winkler@gnu.org>
2675
2676 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
2677 (bibtex-insert-kill): After yanking insert newline if necessary.
2678 (bibtex-initialize): Call bibtex-string-files-init only once.
2679 (bibtex-mode): Do not call easy-menu-add.
2680 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
2681 (bibtex-yank): Set arg properly if nil.
2682
022fe7ce
RW
26832011-06-05 Roland Winkler <winkler@gnu.org>
2684
2b75be67
SM
2685 * textmodes/bibtex.el (bibtex-search-entry-globally):
2686 New variable.
022fe7ce
RW
2687 (bibtex-search-entry): Use it.
2688
b7c3692a
RW
26892011-06-05 Roland Winkler <winkler@gnu.org>
2690
2691 * textmodes/bibtex.el (bibtex-entry-format): New option
2692 sort-fields.
2693 (bibtex-format-entry, bibtex-reformat): Honor this option.
2694 (bibtex-parse-entry): Return fields in proper order.
2695
8eda563d
JB
26962011-06-05 Juanma Barranquero <lekktu@gmail.com>
2697
2698 * doc-view.el (doc-view-remove-if): Move computation of result out
2699 of `dolist' to silence misleading lexical-binding warning.
2700
7dbe3dbc
CY
27012011-06-04 Chong Yidong <cyd@stupidchicken.com>
2702
2703 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
2704 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
2705
0c33dd17
MA
27062011-06-04 Michael Albinus <michael.albinus@gmx.de>
2707
2708 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
2709 "SunOS 5.10".
2710
f8f91c2b
MA
27112011-06-04 Michael Albinus <michael.albinus@gmx.de>
2712
2713 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
2714 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
2715 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
2716 (tramp-parse-putty):
2717 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
2718 (tramp-completion-function-alist-ssh)
2719 (tramp-completion-function-alist-telnet)
2720 (tramp-completion-function-alist-su)
2721 (tramp-completion-function-alist-putty): Set `tramp-autoload'
2722 cookie.
2723
2724 * net/tramp-ftp.el:
2725 * net/tramp-sh.el:
2726 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
2727 load "tramp.el" `tramp-set-completion-function'.
2728
e17d9003
SM
27292011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * shell.el: Require and use pcomplete.
2732 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
2733 (shell-completion-vars): Set pcomplete-default-completion-function.
2734
6c4cab03
DD
27352011-06-04 Deniz Dogan <deniz@dogan.se>
2736
2737 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
2738 `memq' (Bug#8799).
2739
ea9fafe0
SM
27402011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
2743
b3e945d3
JB
27442011-06-02 Juanma Barranquero <lekktu@gmail.com>
2745
2746 * bs.el (bs--mark-unmark, bs--nth-wrapper):
2747 * mpc.el (mpc-select-extend, mpc-songpointer-context):
2748 * vc/log-view.el (log-view-beginning-of-defun):
2749 * vc/smerge-mode.el (smerge-apply-resolution-patch)
2750 (smerge-refine-forward, smerge-refine-chopup-region):
2751 Silence warning for unused `dotimes' counter variables.
2752
7d520089
SM
27532011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2754
2755 * net/tramp.el (tramp-with-progress-reporter): Rename from
2756 with-progress-reporter. Use `declare'.
2757 * net/tramp-smb.el:
2758 * net/tramp-sh.el:
2759 * net/tramp-gvfs.el: Update all uses.
2760
a1c2400f
JB
27612011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
2762
2763 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
2764 buffer isn't killed before making it current.
2765
2403c841
SM
27662011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 Silence various byte-compiler warnings.
2769 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
2770 `access-type' and new obsolescence format.
2771 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
2772 new format.
2773 (byte-compile-check-variable): New `access-type' argument.
2774 Only warn if the access-type is obsolete.
2775 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2776 (byte-compile-variable-set): Adjust callers.
2777 * help-fns.el (describe-variable): Adjust to new obsolescence format.
2778 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
2779 setting it as obsolete.
2780 * simple.el (minibuffer-completing-symbol):
2781 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
2782 access as obsolete.
2783 * minibuffer.el (minibuffer-completing-file-name): Don't make it
2784 obsolete yet.
2785 * international/quail.el (quail-mouse-choose-completion): Remove unused
2786 code referring to obsolete var.
2787 (quail-choose-completion-string): Remove.
2788 * server.el (server-clients-with, server-kill-buffer-query-function)
2789 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
2790 * proced.el (proced-send-signal):
2791 * emacs-lisp/lisp.el (lisp-complete-symbol):
2792 Replace completion-annotate-function with completion-extra-properties.
2793
2462470b
SM
27942011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2795
fb5b2591
SM
2796 * simple.el (goto-line): Use read-number.
2797 (overriding-map-is-bound): Remove.
2798 (saved-overriding-map): Change default.
2799 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
2800 Take the map as argument.
2801 (universal-argument, negative-argument, digit-argument): Use it.
2802 (restore-overriding-map): Adjust.
2803 (do-auto-fill): Use fill-forward-paragraph.
2804 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
2805
fd6fa53f
SM
2806 * minibuffer.el (minibuffer-inactive-mode-map): New var.
2807 (minibuffer-inactive-mode): New major mode.
2808 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
2809 the *Messages* buffer" hack.
2810 (mouse-popup-menubar): Don't burp if the event is a normal key.
2811
2462470b
SM
2812 Miscellaneous tweaks.
2813 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
2814 lexical scoping as in subr.el's dolist and dotimes.
2815 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
2816 Silence compiler warning.
2817 * thingatpt.el (forward-whitespace): Trivial coding style fix.
2818 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
2819 * international/ccl.el (ccl-compile): Trivial simplification.
2820 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
2821 * emacs-lisp/testcover.el (testcover-end): Remove spurious
2822 `printflag' argument.
2823 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
2824 Purecopy the whole obsolescence data.
2825
108bf785
LL
28262011-06-01 Leo Liu <sdl.web@gmail.com>
2827
2828 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
2829 improve doc-string as suggested by Marco Pessotto
2830 <melmothx@gmail.com>.
2831 (rcirc-print): Fix last change.
2832
30a23501
SM
28332011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2834
2835 * minibuffer.el (complete-with-action): Return nil for the metadata and
2836 boundaries of non-functional tables.
2837 (completion-table-dynamic): Return nil for the metadata.
2838 (completion-table-with-terminator): Add default case, using
2839 complete-with-action.
2840 (completion--metadata): New function.
2841 (completion-all-sorted-completions, minibuffer-completion-help): Use it
2842 to try and avoid pathological performance problems.
2843 (completion--embedded-envvar-table): Return `category' metadata.
2844
bcd54f83
LMI
28452011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
2846
2847 * subr.el (process-alive-p): New tiny convenience function.
2848
e227544d
SM
28492011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2850
2851 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
2852 content but also its previous major mode.
2853
e8296fdc
HE
28542011-05-31 Helmut Eller <eller.helmut@gmail.com>
2855
2856 * debug.el (debug): Restore the previous content of the
2857 *Backtrace* buffer when we exit with C-M-c.
2858
620c53a6
SM
28592011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * minibuffer.el: Add metadata method to completion tables.
2862 (completion-category-overrides): New defcustom.
2863 (completion-metadata, completion--field-metadata)
2864 (completion-metadata-get, completion--styles)
2865 (completion--cycle-threshold): New functions.
2866 (completion-try-completion, completion-all-completions):
2867 Add `metadata' argument to choose completion-styles.
2868 (completion--do-completion): Use metadata to choose cycling.
2869 (completion-all-sorted-completions): Use metadata for sorting.
2870 Remove :completion-cycle-penalty which is not needed any more.
2871 (completion--try-word-completion): Add `metadata' argument.
2872 (minibuffer-completion-help): Check metadata for annotation function
2873 and sorting.
2874 (completion-file-name-table): Return `category' metadata.
2875 (minibuffer-completing-file-name): Make obsolete.
2876 * simple.el (minibuffer-completing-symbol): Make obsolete.
2877 * icomplete.el (icomplete-completions): Pass new `metadata' param to
2878 completion-try-completion.
2879
1257e755
SM
28802011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2881
2882 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
2883
3767e706
LL
28842011-05-30 Leo Liu <sdl.web@gmail.com>
2885
2886 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
2887 (rcirc-print): Decode all incoming messages (bug#8744).
2888 (rcirc-decode-coding-system): Allow value nil for automatic coding
2889 system detection.
3767e706 2890
d1a5d56a
GM
28912011-06-01 Glenn Morris <rgm@gnu.org>
2892
2893 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
2894
e8cbec34
CY
28952011-05-29 Chong Yidong <cyd@stupidchicken.com>
2896
2897 * image.el (image-animate-max-time): Allow nil and t values.
2898 Default to nil.
2899 (create-animated-image): Doc fix.
2900 (image-animate-start): Remove second arg; just use
2901 image-animate-max-time.
2902 (image-animate-timeout): Doc fix. Args changed.
2903
2904 * image-mode.el (image-toggle-display-image): Ensure that the
2905 image spec passed to the animate timer is the same object as in
2906 the the buffer's display property (Bug#6981).
2907 (image-transform-properties): Doc fix.
2908
2909 * image.el (image-animate-max-time): Default to nil.
2910
159daf87
MR
29112011-05-29 Martin Rudalics <rudalics@gmx.at>
2912
2913 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
2914 entire buffer list (Bug#8184).
2915
d66c4c7c
CY
29162011-05-29 Chong Yidong <cyd@stupidchicken.com>
2917
2918 * image.el (imagemagick-types-inhibit)
2919 (imagemagick-register-types): Doc fix.
2920
80aec780
DD
29212011-05-29 Deniz Dogan <deniz@dogan.se>
2922
2923 * net/rcirc.el (rcirc): Use the user's stored encryption method by
2924 default.
2925
1dd3c2d9
CY
29262011-05-29 Chong Yidong <cyd@stupidchicken.com>
2927
2928 * select.el: Don't perform clipboard-manager saving in hooks;
2929 leave the hooks empty.
2930
60e56523
LL
29312011-05-28 Leo Liu <sdl.web@gmail.com>
2932
2933 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
2934 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
2935 (occur-edit-mode): New major mode (Bug#8463).
2936 (occur-after-change-function): New function.
2937 (occur-engine): Give Occur tags a read-only property.
2938
2b1e1a22
KR
29392011-05-28 Kevin Ryde <user42@zip.com.au>
2940
2941 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
2942
5d344e88
CY
29432011-05-28 Chong Yidong <cyd@stupidchicken.com>
2944
8e6ca83d
CY
2945 * bindings.el (help-echo): Make the initial non-indicator dash
2946 empty on graphical terminals (Bug#7295).
2947
5d344e88
CY
2948 * files.el (auto-mode-alist): Move config rule after the
2949 in-stripping one (Bug#8547).
2950
bfbbace7
CY
2951 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
2952
fbeba6e2
CY
2953 * startup.el (normal-splash-screen): Remove gratuitous mode-line
2954 setting (Bug#8740).
2955
60ed8c72
AA
29562011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
2957
4ac619f0
AA
2958 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
2959 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
2960 (Bug#8539).
60ed8c72 2961
23db196e
CY
29622011-05-28 Chong Yidong <cyd@stupidchicken.com>
2963
2964 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
2965
5012f24c
DK
29662011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
2967
2968 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
2969 (hs-hide-block-at-point, hs-find-block-beginning)
2970 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
2971 (Bug#8279).
2972
6a639b16
GM
29732011-05-28 Glenn Morris <rgm@gnu.org>
2974
2975 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
2976
d43eaf2c
CY
29772011-05-28 Chong Yidong <cyd@stupidchicken.com>
2978
5199bde1
CY
2979 * help-fns.el (describe-function-1): If the function is a derived
2980 major mode, print the parent mode.
2981
d43eaf2c
CY
2982 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
2983 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
2984
423428a8
SM
29852011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2986
0ff8e1ba
SM
2987 * minibuffer.el (completion--capf-wrapper): Check applicability before
2988 retuning non-nil for non-exclusive completion data.
2989 * progmodes/etags.el (tags-completion-at-point-function):
2990 * info-look.el (info-lookup-completions-at-point): Mark as
2991 non-exclusive.
2992 (info-complete): Adjust accordingly.
2993
423428a8
SM
2994 * info-look.el: Convert to lexical-binding and completion-at-point.
2995 (info-lookup-completions-at-point): New function.
2996 (info-complete): Use it and completion-in-region.
2997
b74aa22b
DA
29982011-05-28 Drew Adams <drew.adams@oracle.com>
2999
3000 * isearch.el: Let M-e start with point at the first mismatched char.
3001 (isearch-fail-pos): New function.
3002 (isearch-edit-string): Use it.
3003
66e2e71d
DK
30042011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3005
3006 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3007
eb95d01d
TC
30082009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3009
3010 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
3011 traversal functions for avl-trees.
3012 (avl-tree--stack): New struct.
3013 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
3014 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
3015 (avl-tree--do-enter): Add optional `updatefun' arg.
3016 Change return value.
eb95d01d 3017 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
3018 (avl-tree--do-delete): Add `test' and `nilflag' args.
3019 Change return value.
eb95d01d
TC
3020 (avl-tree-member): Add optional `nilflag'
3021 (avl-tree-member-p): New function.
3022 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
3023 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
3024 (avl-tree-stack-empty-p): New functions.
3025
3769ddcf
TC
30262009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3027
3028 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
3029 avl-tree--del-balance1 and make it work both ways.
3030 (avl-tree--del-balance2): Remove.
3031 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
3032 make it work both ways.
3033 (avl-tree--enter-balance2): Remove.
3034 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
3035 New macros.
3036 (avl-tree--mapc, avl-tree-map): Add direction argument.
3037
eb95d01d 30382011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
3039
3040 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
3041
a9f737ee
CY
30422011-05-27 Chong Yidong <cyd@stupidchicken.com>
3043
3044 * select.el: Support clipboard managers with built-in function
3045 x-clipboard-manager-save, via delete-frame-functions and
3046 kill-emacs-hook.
3047 (xselect-convert-to-targets): Add MULTIPLE target to list.
3048 (xselect-convert-to-save-targets): New function.
3049
c92a1e54
KH
30502011-05-27 Kenichi Handa <handa@m17n.org>
3051
3052 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
3053 let-binding rfc2047-encode-encoded-words to nil.
3054
e145f188
GM
30552011-05-27 Glenn Morris <rgm@gnu.org>
3056
5ec8a862
GM
3057 * mail/emacsbug.el: Don't require url-util.
3058
4b29d9fb
GM
3059 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
3060
e145f188
GM
3061 * files.el (set-auto-mode):
3062 Also respect mode: entries at the end of the file. (Bug#8586)
3063
7d15102b
GM
30642011-05-26 Glenn Morris <rgm@gnu.org>
3065
98f593b8
GM
3066 * files.el (hack-local-variables-prop-line, hack-local-variables):
3067 Downcase mode names, as seems to be traditional.
27b48e63 3068 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 3069
7d15102b
GM
3070 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
3071 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
3072
51d5b4ec
JD
30732011-05-25 Julien Danjou <julien@danjou.info>
3074
3075 * textmodes/rst.el (rst-define-level-faces): Do not define face
3076 symbol if it is already defined.
3077
91513f63
VB
30782011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3079
3080 * play/5x5.el (5x5-new-game, 5x5-randomize):
3081 Reset 5x5-solver-output to nil when a new grid is cast.
3082 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
3083 these debugging traces, as defmacro breaks the compiled code.
3084
4d90d6d0
DK
30852011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3086
3087 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3088
e1b90ef6
LL
30892011-05-24 Leo Liu <sdl.web@gmail.com>
3090
3091 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
3092 (vc-bzr-sha1): Adapt.
3093
d8e4b68b 3094 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
3095
3096 * bindings.el: Provide sha1 feature.
3097
db0406bb 30982011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
3099
3100 * mail/sendmail.el: Require `rfc2047'.
3101 (mail-insert-from-field): Do not perform RFC2047 encoding.
3102 (mail-encode-header): New function.
3103 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
3104 buffer to the return value of select-message-coding-system.
3105 Call mail-encode-header.
b8d747b9
KH
3106
3107 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
3108
db0406bb 31092011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 3110
4d90d6d0
DK
3111 * mail/supercite.el (sc-default-cite-frame):
3112 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 3113
eb8a5e9b
GM
31142011-05-24 Glenn Morris <rgm@gnu.org>
3115
f8630703
GM
3116 * progmodes/python.el (brm-menu): Declare.
3117
8831bbed
GM
3118 * emulation/viper.el (viper-set-hooks): Declare.
3119
eb8a5e9b
GM
3120 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
3121 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
3122 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
3123 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
3124 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
3125 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
3126
a2a25d24
SM
31272011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3128
3129 Add an :exit-function for completion-at-point.
3130
3131 * minibuffer.el (completion--done): New fun.
3132 (completion--do-completion): Use it. New arg `expect-exact'.
3133 (minibuffer-complete, minibuffer-complete-word): Don't output message,
3134 since completion--do-completion does it for us now.
3135 (minibuffer-force-complete): Use completion--done and
3136 completion--replace. Handle sole-completion case with more care.
3137 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
3138 (completion-extra-properties): New var.
3139 (completion-annotate-function): Make obsolete.
3140 (minibuffer-completion-help): Adjust accordingly.
3141 Use completion-list-insert-choice-function.
3142 (completion-at-point, completion-help-at-point):
3143 Bind completion-extra-properties.
3144 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
3145 * simple.el (completion-list-insert-choice-function): New var.
3146 (completion-setup-function): Preserve it.
3147 (choose-completion): Pay attention to it, shuffle the code a bit.
3148 (choose-completion-string): New arg `insert-function'.
3149
3150 * textmodes/bibtex.el: Convert to lexical binding.
3151 (bibtex-mode-map): Use completion-at-point.
3152 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
3153 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
3154 (bibtex-complete): Define as obsolete alias.
3155 (bibtex-complete-internal): Remove.
3156 (bibtex-format-entry): Remove unused sub-group in regexp.
3157 * shell.el (shell--command-completion-data)
3158 (shell-environment-variable-completion):
3159 * pcomplete.el (pcomplete-completions-at-point):
3160 * comint.el (comint--complete-file-name-data): Use :exit-function
3161 instead of completion-table-with-terminator so it also works for
3162 choose-completion.
3163
e44e373d
SM
31642011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3165
4f91a816
SM
3166 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
3167
782fc819
SM
3168 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
3169 (bug#8710).
3170
e44e373d
SM
3171 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
3172
381987c3
KM
31732011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
3174
3175 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
3176 customization variable and implement: If non-nil, auto-fill will
3177 be inhibited while on topic's header line.
3178
b776bc70
VB
31792011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
3180
3181 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 3182 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
3183 always have a solution in grid size = 5 cases.
3184 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
3185 (5x5-solver-output, 5x5-log-buffer): New vars.
3186 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
3187 Make these variables buffer local to achieve 5x5 multi-session-ness.
3188 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
3189 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
3190 (5x5-solve-suggest): New funs.
3191 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
3192 randomize a grid so that we ensure that there is always a solution.
3193 (5x5-make-random-grid): Allow other movement than flipping.
3194
7de88b6e
KR
31952011-05-23 Kevin Ryde <user42@zip.com.au>
3196
3197 * emacs-lisp/advice.el (ad-read-advised-function):
3198 Use `function-called-at-point' as the default default, if it has
3199 advice and passes PREDICATE.
3200
b1ef1257
SM
32012011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3202
bbca48fe
SM
3203 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
3204 byte-compile-lambda if it's actually a lambda.
3205
b1ef1257
SM
3206 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
3207 Fix function quoting. Use backquote better.
3208
92a9cc65
YS
32092011-05-22 Yuanle Song <sylecn@gmail.com>
3210
3211 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
3212 matching (Bug#8516).
3213
f0fb8059
JA
32142011-01-22 Jari Aalto <jari.aalto@cante.net>
3215
3216 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
3217 different face (Bug#8178).
3218
d5b44c93
CY
32192011-05-22 Chong Yidong <cyd@stupidchicken.com>
3220
3221 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
3222 defface (Bug#8144).
3223
79106a44
SM
32242011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
3225
9c848d8a
SM
3226 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
3227 funcall as well (bug#8712). Warn when performing those conversions.
3228 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
3229
79106a44
SM
3230 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
3231
88dfa756
GM
32322011-05-22 Glenn Morris <rgm@gnu.org>
3233
3234 * files.el (hack-local-variables-prop-line): Small simplifications.
3235 (hack-local-variables, hack-local-variables-prop-line):
3236 If MODE-ONLY, return the mode, rather than just `t'.
3237
b7cf2c79
SM
32382011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3239
3240 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
3241
3f1a8558
GM
32422011-05-21 Glenn Morris <rgm@gnu.org>
3243
7e4ccca3
GM
3244 * files.el (hack-local-variables-prop-line, hack-local-variables):
3245 If only interested in the mode, don't bother doing the other stuff.
3246
637d46ca
GM
3247 * image-mode.el (image-after-revert-hook):
3248 Redraw all frames on which the image is visible. (Bug#8567)
3249
973d955b
GM
3250 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
3251
3f1a8558
GM
3252 * wid-edit.el (widget-checklist-match-inline):
3253 Fix 2011-04-19 change. (Bug#8649)
3254
96479927
SM
32552011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
3256
1dcf791f
SM
3257 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
3258 Also allow singlespace after single-letter capitals followed by a dot.
3259
96479927
SM
3260 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
3261 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
3262
35fd0881
N
32632011-05-20 Nix <nix@esperi.org.uk>
3264
3265 * files.el (basic-save-buffer-2):
3266 Fix handling of break-hardlink-on-save with non-existent files.
3267
82745640
DD
32682011-05-19 Deniz Dogan <deniz@dogan.se>
3269
3270 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 3271 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 3272
4a720484
GM
32732011-05-19 Glenn Morris <rgm@gnu.org>
3274
d1f21341
GM
3275 * progmodes/f90.el (f90-type-def-re):
3276 Handle "type, bind(c)". (Bug#8691)
3277
4a720484
GM
3278 * emacs-lisp/autoload.el (batch-update-autoloads):
3279 Set autoload-excludes by parsing loadup.el rather than Makefiles.
3280
2fb0a219
MA
32812011-05-18 Michael Albinus <michael.albinus@gmx.de>
3282
3283 * net/tramp.el (tramp-process-actions): Set "first-password-request"
3284 property for the correct connection in case of multihops.
3285
e565dd37
GM
32862011-05-18 Glenn Morris <rgm@gnu.org>
3287
c2571358 3288 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
3289 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
3290
e565dd37
GM
3291 Rationalize calendar handling of day and month abbrev-arrays.
3292 * calendar/calendar.el (calendar-customized-p): New function.
3293 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
3294 (calendar-day-name-array, calendar-month-name-array): Doc fix.
3295 Add :set function.
3296 (calendar-abbrev-length, calendar-day-abbrev-array)
3297 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
3298 (calendar-day-abbrev-array, calendar-month-abbrev-array):
3299 Elements may no longer be nil.
3300 (calendar-day-name, calendar-month-name):
3301 Update for changed nature of abbrev arrays.
3302 * calendar/diary-lib.el (diary-name-pattern):
3303 Update for changed nature of abbrev arrays.
3304 (diary-mark-entries-1): Update calendar-make-alist calls.
3305 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
3306 * calendar/cal-html.el (cal-html-day-abbrev-array):
3307 Simply inherit from calendar-day-abbrev-array.
3308
1d99a745
SM
33092011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * progmodes/grep.el (grep-mode): Disable default
3312 compilation-directory-matcher setting (bug#8684).
3313
7c1d9aa0
MA
33142011-05-17 Michael Albinus <michael.albinus@gmx.de>
3315
3316 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
3317 instead of "head" and "tail". There were problems with SunOS 5.9,
3318 and it performs better.
3319
3952e9d8
GM
33202011-05-17 Glenn Morris <rgm@gnu.org>
3321
2dd12e7f
GM
3322 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
3323
e4157b9c
GM
3324 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3325 Replace obsolete function.
3326
8e249bbd
GM
3327 * shell.el (pcomplete-parse-arguments-function): Declare.
3328
3952e9d8
GM
3329 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
3330 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
3331 (appt-check): Doc fixes.
3332 (appt-disp-window-function, appt-delete-window-function):
3333 Remove needless special case in custom :type.
3334 (appt-display-count): Default to 0, not nil.
3335 (appt-check): Reset appt-display-count to 0, not nil.
3336
c71a0d48 33372011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 3338
c71a0d48
GM
3339 * progmodes/python.el (python-font-lock-keywords):
3340 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 3341
31d55be9
SM
33422011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3343
3344 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
3345
3bfacb2f
KR
33462011-05-16 Kevin Ryde <user42@zip.com.au>
3347
3348 * info-look.el (makefile-automake-mode): New setups, looking in
3349 automake manual, then makefile-mode.
3350 (makefile-mode): Remove automake manual, have it just in
3351 makefile-automake-mode since there's various things different or
3352 not relevant to plain make.
3353 (makefile-mode): Remove "other-modes" non-existent automake-mode,
3354 believe a hypothetical automake-mode would go to makefile-mode,
3355 not the other way around.
3356
c8e83751
CY
33572011-05-15 Chong Yidong <cyd@stupidchicken.com>
3358
5e9e35cd
CY
3359 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
3360 hunk-end tags (Bug#8672).
3361
c8e83751
CY
3362 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
3363 vc-annotate-show-diff-revision-at-line (Bug#8671).
3364
50b23e5a
GM
33652011-05-14 Glenn Morris <rgm@gnu.org>
3366
7210a739
GM
3367 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
3368 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
3369 (change-log-font-lock-keywords): Also handle multiple author lines
3370 with leading tabs. (Bug#8644)
7210a739 3371
4691905a
GM
3372 * calendar/appt.el (appt-check): Rename some local variables.
3373 Some simplification/reordering.
3374
50b23e5a
GM
3375 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
3376 (feedmail-sendmail-f-doesnt-sell-me-out)
3377 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3378 (feedmail-debug-sit-for, feedmail-queue-express-hook)
3379 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
3380 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
3381 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
3382 (feedmail-binmail-gnulinuxish-template):
3383 Rename from feedmail-binmail-linuxish-template.
3384 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
3385 Use insert-buffer-substring.
3386
215cda7c
BC
33872011-05-14 Bill Carpenter <bill@carpenter.org>
3388
3389 * mail/feedmail.el (feedmail-patch-level): Increase.
3390 (feedmail-debug): New custom group.
3391 (feedmail-confirm-outgoing-timeout)
3392 (feedmail-sendmail-f-doesnt-sell-me-out)
3393 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3394 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
3395 (feedmail-sender-line, feedmail-from-line)
3396 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 3397 (feedmail-spray-this-address)
215cda7c
BC
3398 (feedmail-spray-address-fiddle-plex-list)
3399 (feedmail-queue-use-send-time-for-date)
3400 (feedmail-queue-use-send-time-for-message-id)
3401 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
3402 (feedmail-buffer-eating-function):
3403 Doc fixes.
3404 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
3405 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
3406 (feedmail-message-action-scroll-down): New functions.
3407 (feedmail-queue-directory, feedmail-queue-draft-directory):
3408 Use expand-file-name.
3409 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
3410 Remove C-v help entry.
3411 (feedmail-queue-buffer-file-name): New variable.
3412 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
3413 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
3414 (feedmail-message-action-send-strong, feedmail-message-action-edit)
3415 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
3416 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
3417 (feedmail-message-action-toggle-spray)
3418 (feedmail-run-the-queue-no-prompts)
3419 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
3420 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
3421 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
3422 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
3423 (feedmail-envelope-deducer, feedmail-fiddle-from)
3424 (feedmail-fiddle-sender, feedmail-default-date-generator)
3425 (feedmail-fiddle-date, feedmail-fiddle-message-id)
3426 (feedmail-fiddle-spray-address)
3427 (feedmail-fiddle-list-of-spray-fiddle-plexes)
3428 (feedmail-fiddle-list-of-fiddle-plexes)
3429 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
3430 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
3431 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
3432 Change default. Doc fix.
3433 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
3434 (feedmail-binmail-linuxish-template): New constant.
3435 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
3436 Respect feedmail-sendmail-f-doesnt-sell-me-out.
3437 (feedmail-send-it): Add debug call.
3438 Use feedmail-queue-buffer-file-name, and
3439 feedmail-send-it-immediately-wrapper.
3440 (feedmail-message-action-send): Add debug call.
3441 Use feedmail-send-it-immediately-wrapper.
3442 (feedmail-queue-express-to-queue): Add debug call.
3443 Run feedmail-queue-express-hook.
3444 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
3445 (feedmail-message-action-help-blat):
3446 Rename from feedmail-queue-send-edit-prompt-help-first.
3447 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
3448 Check line-endings. Handle errors better.
3449 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
3450 Doc fix. Add debug call.
3451 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
3452 Use feedmail-queue-send-edit-prompt-inner.
3453 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
3454 (feedmail-queue-send-edit-prompt-inner): New function, extracted
3455 from feedmail-queue-send-edit-prompt.
3456 (feedmail-queue-send-edit-prompt-help)
3457 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
3458 (feedmail-tidy-up-slug): Add debug call.
3459 Respect feedmail-queue-slug-suspect-regexp.
3460 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
3461 (feedmail-dump-message-to-queue): Add debug call.
3462 Expand queue-directory.
3463 (feedmail-dump-message-to-queue): Change message slightly.
3464 Use feedmail-say-chatter.
3465 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
3466 (feedmail-send-it-immediately-wrapper): New function.
3467 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
3468 Insert empty string rather than newline. Handle full-frame case.
3469 Use catch/throw. Use feedmail-say-chatter.
3470 (feedmail-fiddle-from): Try mail-host-address.
3471 (feedmail-default-message-id-generator): Doc fix.
3472 Bind system-time-locale. Handle missing end.
3473 (feedmail-fiddle-x-mailer): Add debug call.
3474 Handle feedmail-x-mailer-line being nil.
3475 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
3476 Add debug call. Use buffer-substring-no-properties.
3477 (feedmail-say-debug, feedmail-say-chatter): New functions.
3478 (feedmail-find-eoh): Give an explicit error.
3479
42c7e61e
UJ
34802011-05-13 Ulf Jasper <ulf.jasper@web.de>
3481
c2571358 3482 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 3483 family from helvetica to sans.
c2571358 3484 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
3485 etc/images/newsticker.
3486
c2571358 3487 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
3488 family from helvetica to sans.
3489
3490 * net/newst-plainview.el (newsticker-new-item-face)
3491 (newsticker-old-item-face, newsticker-immortal-item-face)
3492 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 3493 (newsticker-statistics-face): Change default family from
42c7e61e 3494 helvetica to sans.
c2571358 3495 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
3496 etc/images/newsticker.
3497
3498 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
3499 (newsticker--process-auto-mark-filter-match): : Tell user about
3500 auto-marking.
3501
8497a297
DV
35022011-05-13 Didier Verna <didier@xemacs.org>
3503
3504 Common Lisp indentation improvements on defmethod and lambda-lists.
3505 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
3506 (lisp-lambda-list-keyword-parameter-indentation)
3507 (lisp-lambda-list-keyword-parameter-alignment)
3508 (lisp-lambda-list-keyword-alignment): New customizable user options.
3509 (lisp-indent-defun-method): Improve docstring.
3510 (extended-loop-p): Fix comment.
3511 (lisp-indent-lambda-list-keywords-regexp): New variable.
3512 (lisp-indent-lambda-list): New function.
3513 (lisp-indent-259): Use it.
3514 (lisp-indent-defmethod): Support for more than one
3515 method qualifier and properly indent methods lambda-lists.
3516 (defgeneric): Provide a missing common-lisp-indent-function property.
3517
f278f87f
SM
35182011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
3521 bounds for the empty string (bug#8667).
3522
5233edd7
GM
35232011-05-13 Glenn Morris <rgm@gnu.org>
3524
5237a44f
GM
3525 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
3526
8340026c 3527 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 3528 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 3529
5233edd7 3530 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 3531 (appt-time-msg-list): Doc fix.
a5464014 3532 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 3533
92d10796
AS
35342011-05-12 Andreas Schwab <schwab@linux-m68k.org>
3535
3536 * progmodes/ld-script.el (ld-script-keywords)
3537 (ld-script-builtins): Update keywords list.
3538
914a0ae1
SM
35392011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3540
c89be45f
SM
3541 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
3542
914a0ae1
SM
3543 * shell.el (shell-completion-vars): New function.
3544 (shell-mode):
3545 * simple.el (read-shell-command): Use it.
3546 (blink-matching-open): No need for " [...]" in minibuffer-message.
3547
98dc3df3
GM
35482011-05-12 Glenn Morris <rgm@gnu.org>
3549
3550 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
3551 (appt-check): Simplify.
3552
d2fc7e3d 35532011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21
EZ
3554
3555 * smerge-mode.el (smerge-resolve): Use null-device rather than a
3556 literal "/dev/null".
3557
d2fc7e3d 35582011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
3559
3560 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
3561 Fix typo.
3562
d2fc7e3d 35632011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 3564
3f254caa
SM
3565 * progmodes/which-func.el (which-function):
3566 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
3567 which might not be defined (Bug#8260).
3568
d45885f7
GM
35692011-05-12 Glenn Morris <rgm@gnu.org>
3570
3571 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
3572 Let byte-compile-initial-macro-environment always take precedence.
3573
488086f4
SM
35742011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * net/rcirc.el: Add support for SSL/TLS connections.
3577 (rcirc-server-alist): New field `encryption'.
3578 (rcirc): Check `encryption' settings.
3579 (rcirc-connect): New arg `encryption'. Use open-network-stream.
3580 Merge make-local-variable into `set'.
3581 (rcirc--connection-open-p): New function.
3582 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
3583 the process is not a network process (e.g. running gnutls-cli).
3584 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
3585 Make rcirc-(en|de)code-coding-system local here.
3586 (rcirc-mode): Merge make-local-variable into `set'.
3587 (rcirc-parent-buffer): Make permanent buffer-local.
3588 (rcirc-multiline-minor-mode): Don't do it here.
3589 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
3590 there's no server buffer.
3591
7d3b9d44
GM
35922011-05-11 Glenn Morris <rgm@gnu.org>
3593
f64049c6
GM
3594 * newcomment.el (comment-kill): Prefix "unused" local.
3595
93c9df73
GM
3596 * term/w32console.el (get-screen-color): Declare.
3597
7d3b9d44
GM
3598 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3599 Handle symbol elements of byte-compile-initial-macro-environment.
3600
9e2dd53f
LL
36012011-05-10 Leo Liu <sdl.web@gmail.com>
3602
488086f4
SM
3603 * bookmark.el (bookmark-bmenu-mode-map):
3604 Bind bookmark-bmenu-search to `/'.
8b340240 3605
9e2dd53f 3606 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
3607 (footnote-unicode-string, footnote-unicode-regexp): New variable.
3608 (Footnote-unicode): New function.
3609 (footnote-style-alist): Add unicode style to the list.
3610 (footnote-style): Doc fix.
9e2dd53f 3611
79b70037
GM
36122011-05-10 Jim Meyering <meyering@redhat.com>
3613
3614 Fix doubled-word typos.
3615 * international/quail.el (quail-insert-kbd-layout): and and -> and
3616 * kermit.el: and and -> and
3617 * net/ldap.el (ldap-search-internal): to to -> to
3618 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
3619 * progmodes/js.el (js-mode): and and -> and
3620 * textmodes/artist.el (artist-move-to-xy): at at -> at
3621 (artist-draw-region-trim-line-endings): if if -> if
3622 And Safetyc -> Safety.
3623 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
3624
b8f82dc1 36252011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 3626 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
3627
3628 * files.el (hack-one-local-variable-eval-safep):
3629 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
3630
4f99f44b
GM
36312011-05-10 Glenn Morris <rgm@gnu.org>
3632
3633 * calendar/diary-lib.el (diary-list-entries-hook)
3634 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
3635 (diary-nongregorian-marking-hook, diary-list-entries)
3636 (diary-include-other-diary-files, diary-mark-entries)
3637 (diary-mark-included-diary-files): Doc fixes.
3638
84f29e6b
JB
36392011-05-09 Juanma Barranquero <lekktu@gmail.com>
3640
3641 * misc.el: Require tabulated-list.el during compilation.
3642
9bedd73a
CY
36432011-05-09 Chong Yidong <cyd@stupidchicken.com>
3644
488086f4
SM
3645 * progmodes/compile.el (compilation-start):
3646 Run compilation-filter-hook for the async case too.
9bedd73a
CY
3647 (compilation-filter-hook): Doc fix.
3648
797c735c
DD
36492011-05-09 Deniz Dogan <deniz@dogan.se>
3650
3651 * wdired.el: Remove outdated installation comment. Fix usage
3652 comment.
3653
5f4b1dfe
JB
36542011-05-09 Juanma Barranquero <lekktu@gmail.com>
3655
3656 * misc.el: Implement new command `list-dynamic-libraries'.
3657 (list-dynamic-libraries--loaded-only-p): New variable.
3658 (list-dynamic-libraries--refresh): New function.
3659 (list-dynamic-libraries): New command.
3660
4c44026c
CY
36612011-05-09 Chong Yidong <cyd@stupidchicken.com>
3662
488086f4
SM
3663 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3664 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
3665 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
3666 higher priority to avoid clobbering by gnu.
3667
027f966d
CY
36682011-05-08 Chong Yidong <cyd@stupidchicken.com>
3669
3670 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
3671 if the face has existing theme settings (Bug#8454).
3672
085f5d7d
CY
36732011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
3674
488086f4
SM
3675 * progmodes/perl-mode.el (perl-imenu-generic-expression):
3676 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 3677
2a86a00c
RS
3678 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
3679 special file names `.' and `..' (Bug#8259).
3680
d9c54a06
CY
36812011-05-08 Chong Yidong <cyd@stupidchicken.com>
3682
488086f4
SM
3683 * progmodes/grep.el (grep-mode-font-lock-keywords):
3684 Remove buffer-changing entries.
d9c54a06
CY
3685 (grep-filter): New function.
3686 (grep-mode): Add it to compilation-filter-hook.
3687
3688 * progmodes/compile.el (compilation-filter-hook)
3689 (compilation-filter-start): New defvars.
3690 (compilation-filter): Call compilation-filter-hook prior to
3691 updating the process mark.
3692
c4662635
SM
36932011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
3696
b0512a1d
EZ
36972011-05-07 Eli Zaretskii <eliz@gnu.org>
3698
605c9376
EZ
3699 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
3700 mailclient-send-it even if window-system is nil. (Bug#8595)
3701
c4662635
SM
3702 * term/w32console.el (terminal-init-w32console):
3703 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
3704 background-mode. (Bug#8597)
3705
d1dc2cc2
SM
37062011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3707
3708 Make bytecomp.el understand that defmethod defines funs (bug#8631).
3709 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
3710 New functions.
3711 (defgeneric, eieio--defmethod): Use them.
3712 (eieio-defgeneric): Remove.
3713 (defmethod): Call defgeneric in a way visible to the byte-compiler.
3714
915d1300
GM
37152011-05-07 Glenn Morris <rgm@gnu.org>
3716
a3961c3e
GM
3717 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
3718 Use let rather than let*.
3719 (timeclock-find-discrep): Remove unused local.
3720
314347b9
GM
3721 * calendar/diary-lib.el (diary-comment-start): Doc fix.
3722
915d1300
GM
3723 * calendar/appt.el (appt-time-msg-list): Doc fix.
3724
275b59b0
NF
37252011-05-06 Noah Friedman <friedman@splode.com>
3726
3727 * apropos.el (apropos-print-doc): Only use
3728 emacs-lisp-docstring-fill-column when it is bound to an integer,
3729 per that variable's documentation.
3730
6c19f744
SM
37312011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3732
3733 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 3734 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 3735
60f884b2
GM
37362011-05-06 Glenn Morris <rgm@gnu.org>
3737
5006e634
GM
3738 * calendar/appt.el (appt-message-warning-time): Doc fix.
3739 (appt-warning-time-regexp): New option.
3740 (appt-make-list): Respect appt-message-warning-time.
3741
548d0a63
GM
3742 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
3743 New options.
3744 (diary-add-to-list): Strip comments from the displayed string.
3745 (diary-mode): Set comment-start and comment-end.
3746
60f884b2
GM
3747 * vc/diff-mode.el (smerge-refine-subst): Declare.
3748 (diff-refine-hunk): Don't require smerge-mode when compiling.
3749
989681bb
JB
37502011-05-06 Juanma Barranquero <lekktu@gmail.com>
3751
3752 * simple.el (list-processes): Return nil as the docstring says.
3753
a6bc05e1
MA
37542011-05-05 Michael Albinus <michael.albinus@gmx.de>
3755
3756 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
3757 to "".
3758 (ange-ftp-write-region, ange-ftp-insert-file-contents)
3759 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
3760 determining of binary transfer. (Bug#7383)
3761
23c22e9a
MA
37622011-05-05 Michael Albinus <michael.albinus@gmx.de>
3763
c4662635
SM
3764 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3765 Fix port computation bug. (Bug#8618)
23c22e9a 3766
0bff894f
GM
37672011-05-05 Glenn Morris <rgm@gnu.org>
3768
b8296902
GM
3769 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
3770
1f522ce8
GM
3771 * simple.el (shell-dynamic-complete-functions)
3772 (comint-dynamic-complete-functions): Declare.
3773
cf5bee67
GM
3774 * net/network-stream.el (gnutls-negotiate):
3775 * simple.el (tabulated-list-print): Fix declarations.
3776
3777 * progmodes/gud.el (syntax-symbol, syntax-point):
3778 Remove unnecessary and incorrect declarations.
3779
0bff894f
GM
3780 * emacs-lisp/check-declare.el (check-declare-scan):
3781 Handle byte-compile-initial-macro-environment in bytecomp.el
3782
9869b3ae
SM
37832011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 Fix earlier half-done eieio-defmethod change (bug#8338).
3786 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
3787 Streamline and change calling convention.
3788 (defmethod): Adjust accordingly and simplify.
3789 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
3790 new eieio--defmethod.
3791 (slot-boundp): Minor CSE simplification.
3792
9c1d5ac5
MZ
37932011-05-05 Milan Zamazal <pdm@zamazal.org>
3794
3795 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
3796 (glasses-make-readable): Use glasses-separate-capital-groups.
3797
455c834e
JB
37982011-05-05 Juanma Barranquero <lekktu@gmail.com>
3799
3800 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
3801 (warning-series): Doc fix.
3802 (display-warning): Don't try to create the buffer if we just found it.
3803
9ed7c8cb
CY
38042011-05-04 Chong Yidong <cyd@stupidchicken.com>
3805
3806 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
3807 (autoload-find-generated-file): New function.
3808 (generate-file-autoloads): Bind generated-autoload-file to
3809 buffer-file-name.
9869b3ae
SM
3810 (update-file-autoloads, update-directory-autoloads):
3811 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
3812 output file (Bug#7989).
3813 (batch-update-autoloads): Doc fix.
3814
0898ca10
JB
38152011-05-04 Juanma Barranquero <lekktu@gmail.com>
3816
3817 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
3818
31dfb76c
GM
38192011-05-04 Glenn Morris <rgm@gnu.org>
3820
f330b642
GM
3821 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
3822 function, so it follows changes in calendar-date-style.
3823 (diary-fancy-date-matcher): New function.
3824 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
3825 (diary-fancy-font-lock-fontify-region-function):
3826 Use diary-fancy-date-pattern as a function.
3827
31dfb76c
GM
3828 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
3829 non-numbers for `year' etc pseudo-variables. (Bug#8583)
3830
48e79d6a
TZ
38312011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
3832
3833 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
3834 instead of positional arguments. Allow :keylist and :crlfiles
3835 arguments.
3836 (open-gnutls-stream): Call it.
3837
3838 * net/network-stream.el (network-stream-open-starttls): Adjust to
3839 call `gnutls-negotiate' with :process and :hostname arguments.
3840
dd5a5ee0
SM
38412011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3842
ef80fc09
SM
3843 * minibuffer.el (completion--message): New function.
3844 (completion--do-completion, minibuffer-complete)
3845 (minibuffer-force-complete, minibuffer-complete-word): Use it.
3846 (completion--do-completion): Don't ignore completion-auto-help when in
3847 icomplete-mode.
3848
dd5a5ee0
SM
3849 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
3850 internal encoding (e.g. tibetan zero is not whitespace).
3851 (global-whitespace-mode): Prefer save-current-buffer.
3852 (whitespace-trailing-regexp): Remove useless save-match-data.
3853 (whitespace-empty-at-bob-regexp): Minor simplification.
3854
b7d22a83
CY
38552011-05-03 Chong Yidong <cyd@stupidchicken.com>
3856
3857 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
3858
5192af46
AM
38592011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3860
3861 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 3862 Use `concat' to create string for insertion.
5192af46 3863
5767d190
SM
38642011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3865
3866 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
3867 Avoid open-line which runs post-self-insert-hook.
3868 (bibtex-fill-entry): Remove unused `end' var.
3869
bf242939
AM
38702011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
3871
5767d190
SM
3872 * textmodes/ispell.el (ispell-add-per-file-word-list):
3873 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 3874
25666126
LL
38752011-05-03 Leo Liu <sdl.web@gmail.com>
3876
3877 * isearch.el (isearch-yank-pop): New command.
5767d190 3878 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
3879 (isearch-forward): Mention it.
3880
52d3c2d0
SM
38812011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3882
1bcace58
SM
3883 * simple.el (minibuffer-complete-shell-command): Remove.
3884 (minibuffer-local-shell-command-map): Use completion-at-point.
3885 (read-shell-command): Setup completion vars here instead.
3886 (read-expression-map): Bind TAB to symbol completion.
3887
52d3c2d0
SM
3888 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
3889 error directly rather via storing it into `results'.
3890
35813471
LL
38912011-05-02 Leo Liu <sdl.web@gmail.com>
3892
3893 * vc/diff.el: Fix description.
3894
e793a940
LMI
38952011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3896
3897 * server.el (server-eval-at): New function.
3898
8de66e05
LMI
38992011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3900
3901 * net/network-stream.el (open-network-stream): Take a :nowait
3902 parameter and pass it on to `make-network-process'.
3903 (network-stream-open-plain): Ditto.
3904
dcb79f20
AS
39052011-04-30 Andreas Schwab <schwab@linux-m68k.org>
3906
3907 * faces.el (face-spec-set-match-display): Don't match toolkit
3908 options on terminal frames.
3909
14a7fbd8
SM
39102011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3911
7eabc1be
SM
3912 * progmodes/pascal.el: Use lexical binding.
3913 (pascal-mode-map): Remove author preferences.
3914
14a7fbd8
SM
3915 * pcomplete.el (pcomplete-std-complete): Don't abuse
3916 completion-at-point.
3917
50f84510
JB
39182011-04-28 Juanma Barranquero <lekktu@gmail.com>
3919
6e087a44
JB
3920 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
3921 removing code that has been dead since 1991 or so.
3922
50f84510
JB
3923 * startup.el (command-line): When warning about "_emacs", use a
3924 delayed warning to allow the user to filter it out.
3925
0ba690bd
DD
39262011-04-28 Deniz Dogan <deniz@dogan.se>
3927
3928 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
3929 user has not joined.
3930
08abfaad
SM
39312011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3932
3933 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
3934 aren't any completions at point.
3935
638f053a
JB
39362011-04-28 Juanma Barranquero <lekktu@gmail.com>
3937
3938 * subr.el (display-delayed-warnings): New function.
3939 (delayed-warnings-hook): New variable.
3940
8fff8daa
SM
39412011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3942
08abfaad
SM
3943 * minibuffer.el (completion-at-point, completion-help-at-point):
3944 Don't presume that a given completion-at-point-function will always
3945 use the same calling convention.
3946
8fff8daa
SM
3947 * pcomplete.el (pcomplete-completions-at-point):
3948 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
3949 pcomplete-seen is non-nil.
3950 (pcomplete-comint-setup): Also recognize the new comint/shell
3951 completion functions.
3952 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
3953 pcomplete-seen is non-nil.
3954
841a1577 39552011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 3956
841a1577 3957 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 3958 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 3959 the first character in the entry. This allows for code to add its
211ec907
UJ
3960 own uid to the entry.
3961 (icalendar--convert-float-to-ical): Add export of
3962 `diary-float'-entries save for those with the optional DAY
3963 argument.
3964
2a782793
DC
39652011-04-27 Daniel Colascione <dan.colascione@gmail.com>
3966
3967 * subr.el (shell-quote-argument): Use alternate escaping strategy
3968 when we spot a variable reference in a string.
3969
0438ce91
DC
39702011-04-26 Daniel Colascione <dan.colascione@gmail.com>
3971
3972 * cus-start.el (all): Define customization for debug-on-event.
3973
841a1577 39742011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
3975
3976 * subr.el (shell-quote-argument): Escape correctly under Windows.
3977
d090ed6c
SM
39782011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
3981
bfd31217
MA
39822011-04-25 Michael Albinus <michael.albinus@gmx.de>
3983
d090ed6c
SM
3984 * net/tramp.el (tramp-process-actions): Add POS argument.
3985 Delete region between POS and (pos).
bfd31217 3986
d090ed6c
SM
3987 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3988 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
3989 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
3990
3991 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
3992 position in `tramp-process-actions' call.
3993
3994 * net/trampver.el: Update release number.
3995
e92f3bd3
SM
39962011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3997
850256b5
SM
3998 * custom.el (defcustom): Obey lexical-binding.
3999
e92f3bd3
SM
4000 Fix octave-inf completion problems reported by Alexander Klimov.
4001 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
4002 Inherit from octave-mode-syntax-table.
4003 (inferior-octave-mode): Set info-lookup-mode.
4004 (inferior-octave-completion-at-point): New function.
4005 (inferior-octave-complete): Use it and completion-in-region.
4006 (inferior-octave-dynamic-complete-functions): Use it as well, and use
4007 comint-filename-completion.
4008 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
4009 symbol elements which shouldn't be word elements.
4010 (octave-font-lock-keywords, octave-beginning-of-defun)
4011 (octave-function-header-regexp): Adjust regexps accordingly.
4012 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
4013
cd22b309
JB
40142011-04-25 Juanma Barranquero <lekktu@gmail.com>
4015
4016 * net/gnutls.el (gnutls-errorp): Declare before first use.
4017
8b492194
TZ
40182011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
4019
4020 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
4021 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
4022 default trustfile exists before going to use it. Add missing
4023 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
4024 Reported by Claudio Bley <claudio.bley@gmail.com>.
4025 (open-gnutls-stream): Add usage example.
4026
4027 * net/network-stream.el (network-stream-open-starttls): Give host
4028 parameter to `gnutls-negotiate'.
4029 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 4030 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 4031
841a1577 40322011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 4033
cd22b309
JB
4034 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4035 Use correct match group (bug#8438).
05842630 4036
3ba7869c
CY
40372011-04-24 Chong Yidong <cyd@stupidchicken.com>
4038
512e3ae1
CY
4039 * emacs-lisp/package.el (package-built-in-p): Fix typo.
4040 (package-menu--generate): New arg specifying packages to show.
4041 (package-menu-refresh, package-menu-execute, list-packages):
4042 Callers changed.
4043 (package-show-package-list): New function, replacing deleted
4044 package--list-packages (renamed because it is non-internal).
4045
4046 * finder.el (finder-list-matches): Use package-show-package-list
4047 instead of deleted package--list-packages.
4048
e92f3bd3
SM
4049 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
4050 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
4051 (vc-annotate-mode-map): Bind it to RET.
4052
7031be6d
UR
40532011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
4054
4055 * progmodes/etags.el (next-file): Don't use set-buffer to change
4056 buffers (Bug#8478).
4057
4ef177aa
CY
40582011-04-24 Chong Yidong <cyd@stupidchicken.com>
4059
c8d173eb
CY
4060 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
4061
4ef177aa
CY
4062 * apropos.el (apropos-label-face): Avoid variable-pitch face.
4063 (apropos-accumulator): Doc fix.
4064 (apropos-function, apropos-macro, apropos-command)
4065 (apropos-variable, apropos-face, apropos-group, apropos-widget)
4066 (apropos-plist): Add face property.
4067 (apropos-symbols-internal): Fix indentation.
4068 (apropos-print): Simplify help, and recognize apropos-multi-type.
4069 (apropos-print-doc): Use button-type-get to extract the button's
4070 face property. Fill docstring (Bug#8352).
4071
4ffd0d6b 40722011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
4073
4074 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
4075
c6c32125 4076 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 4077 (mpuz-mode-map): Use mapc.
c6c32125
JB
4078 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
4079 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
4080 Fix typos in docstrings.
4081
58d468b4
JB
4082 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
4083 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
4084
6470c3c6
JB
4085 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
4086
4ffd0d6b 40872011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
4088
4089 * minibuffer.el (completion--do-completion): Avoid the "Next char
4090 not unique" prompt if icomplete-mode is enabled (Bug#5849).
4091
3ad8bad0
CY
4092 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
4093 mouse-2 into unread-command-events, it is interpreted correctly.
4094
71d73c9c 4095 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 4096 (image-toggle-display): Doc fix.
71d73c9c 4097
841a1577 40982011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 4099
4ffd0d6b
GM
4100 * textmodes/page.el (what-page): Use line-number-at-pos to
4101 calculate line number (Bug#6825).
6e1dbaa9 4102
c2fb1b60
JB
41032011-04-22 Juanma Barranquero <lekktu@gmail.com>
4104
4105 * eshell/esh-mode.el (find-tag-interactive): Declare function.
4106 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
4107 Pass argument NO-DEFAULT to `find-tag-interactive'.
4108
e02f48d7
JB
41092011-04-22 Juanma Barranquero <lekktu@gmail.com>
4110
4111 Lexical-binding cleanup.
4112
4113 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
4114 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
4115 * progmodes/ada-prj.el (ada-prj-initialize-values)
4116 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
4117 (ada-prj-show-value):
4118 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
4119 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
4120 (antlr-invalidate-context-cache, antlr-options-menu-filter)
4121 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
4122 * progmodes/bug-reference.el (bug-reference-push-button):
4123 * progmodes/fortran.el (fortran-line-length):
4124 * progmodes/glasses.el (glasses-change):
4125 * progmodes/octave-mod.el (octave-fill-paragraph):
4126 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
4127 (python-pdbtrack-grub-for-buffer, python-sentinel):
4128 * progmodes/sql.el (sql-save-connection):
4129 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
4130 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
4131 Mark unused parameters.
4132
4133 * progmodes/compile.el (compilation--flush-directory-cache)
4134 (compilation--flush-parse, compile-internal): Mark unused parameters.
4135 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
4136 (compilation-next-error-function): Remove unused variable `timestamp'.
4137
4138 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
4139 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
4140
4141 * progmodes/dcl-mode.el (dcl-end-of-command):
4142 Remove unused variable `start'.
4143 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
4144 (dcl-option-value-basic, dcl-option-value-offset)
4145 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
4146 Mark unused parameters.
4147 (dcl-save-local-variable): Remove unused variable `val'.
4148 (mode): Declare.
4149
4150 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
4151 Mark unused parameters.
4152 (delphi-ignore-changes): Move before first use.
4153 (delphi-charset-token-at): Remove unused variable `start'.
4154 (delphi-else-start): Remove unused variable `if-count'.
4155 (delphi-comment-block-start, delphi-comment-block-end):
4156 Remove unused variable `kind'.
4157 (delphi-indent-line): Remove unused variable `new-point'.
4158
4159 * progmodes/ebrowse.el (ebrowse-files-list)
4160 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
4161 Mark unused parameters. Don't quote `lambda'.
4162 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
4163 Don't quote `lambda'.
4164 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
4165 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
4166 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
4167 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
4168 Use `ignore-errors'.
4169 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
4170 (ebrowse-view/find-file-and-search-pattern)
4171 (ebrowse-view/find-member-declaration/definition):
4172 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
4173 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
4174 Rename parameter PREFIX-ARG to PREFIX.
4175 (ebrowse-tags-read-name): Remove unused variables `start' and
4176 `member-info'.
4177 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
4178 to `tags-file'.
4179
4180 * progmodes/etags.el (local-find-tag-hook): Declare.
4181 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
4182 Mark unused parameters.
4183
4184 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
4185 (executable-interpret): Mark unused parameter.
4186
4187 * progmodes/flymake.el (flymake-process-sentinel)
4188 (flymake-after-change-function)
4189 (flymake-create-temp-with-folder-structure)
4190 (flymake-get-include-dirs-dot): Mark unused parameters.
4191 (flymake-safe-delete-directory): Remove unused variable `err'.
4192
4193 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
4194 (speedbar-timer-fn, speedbar-line-text)
4195 (speedbar-change-expand-button-char, speedbar-delete-subblock)
4196 (speedbar-center-buffer-smartly): Declare functions.
4197 (gdb-find-watch-expression): Remove unused variable `array'.
4198 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
4199 (gdb-starting): Mark unused parameters.
4200 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
4201 (gdb-table-string): Remove unused variable `res'.
4202 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
4203 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
4204 (gdb-display-buffer): Remove unused variable `cur-size'.
4205
4206 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
4207 allow lexical-binding compilation.
4208 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
4209 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
4210 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
4211 Mark unused parameters.
4212 (gud-gdb-marker-filter): Remove unused variable `match'.
4213 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
4214 lambda expressions and funcall them, instead of using `fset'.
4215
4216 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
4217 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
4218
4219 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
4220 variable `header-beg'; use `let'.
4221
4222 * progmodes/icon.el (indent-icon-exp): Remove unused variables
4223 `restart', `last-sexp' and `at-do'.
4224
4225 * progmodes/js.el (js--debug): Mark unused parameter.
4226 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
4227 (js--splice-into-items): Remove unused variable `item'.
4228 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
4229
4230 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
4231 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
4232 (makefile-complete): Remove unused variable `try'.
4233 (makefile-fill-paragraph, makefile-match-function-end):
4234 Mark unused parameters.
4235
4236 * progmodes/octave-inf.el (inferior-octave-complete):
4237 Remove unused variable `proc'.
4238 (inferior-octave-output-digest): Mark unused parameter.
4239
4240 * progmodes/perl-mode.el (perl-calculate-indent):
4241 Remove unused variable `err'.
4242
4243 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
4244 (prolog-indent-line): Mark unused parameters.
4245 (prolog-indent-line): Remove unused variable `beg'.
4246
4247 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
4248 (reporter-dont-compact-list): Declare.
4249
4250 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
4251 Remove unused variable `char'.
4252 (sh-debug): Mark unused parameter.
4253 (sh-get-indent-info): Remove unused variable `start'.
4254 (sh-calculate-indent): Remove unused variable `var'.
4255
4256 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
4257 (simula-electric-keyword): Remove unused variable `null'.
4258 (simula-search-backward, simula-search-forward): Remove unused
4259 variables `begin' and `end'.
4260
4261 * progmodes/vera-mode.el (vera-guess-basic-syntax):
4262 Remove unused variable `pos'.
4263 (vera-electric-tab, vera-comment-uncomment-region):
4264 Mark unused parameters.
4265 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
4266
7ede3b65
CY
42672011-04-22 Chong Yidong <cyd@stupidchicken.com>
4268
4269 * emacs-lisp/package.el (package--builtins, package-alist)
4270 (package-load-descriptor, package-built-in-p, package-activate)
4271 (define-package, package-installed-p)
4272 (package-compute-transaction, package-buffer-info)
4273 (package--push): Doc fix. Distinguish more clearly between
4274 version strings and version lists.
4275
121656e9
JB
42762011-04-21 Juanma Barranquero <lekktu@gmail.com>
4277
4278 Lexical-binding cleanup.
4279
4280 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
4281 (5x5-make-mutate-best):
4282 * play/fortune.el (fortune-in-buffer):
4283 * play/gomoku.el (gomoku-init-display):
4284 * play/solitaire.el (solitaire, solitaire-do-check):
4285 * play/tetris.el (tetris-default-update-speed-function):
4286 Mark unused parameters.
4287
4288 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
4289 (bubbles--shift): Remove unused variable `char-org'.
4290 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
4291 (bubbles--show-images): Remove unused variable `char'.
4292
4293 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
4294 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
4295 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
4296 (decipher-analyze-buffer): Use ?\s.
4297 (decipher-make-checkpoint): Remove unused variable `mapping'.
4298
4299 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
4300
4301 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4302 Remove unused variable `result'; use `let'.
4303
4304 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
4305 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
4306 (gametree-children-shown-p, gametree-compute-reduced-score):
4307 Use `ignore-errors'.
4308
4309 * play/handwrite.el (ps-lpr-switches): Declare.
4310 (handwrite): Remove unused variables `pmin' and `lastp'.
4311
4312 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
4313
4314 * play/landmark.el (landmark-init-display)
4315 (landmark-update-naught-weights): Mark unused parameters.
4316 (landmark-y): Remove unused variable `noise'. Simplify.
4317 (landmark-human-plays): Remove unused variable `score'.
4318
4319 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
4320 (mpuz-try-proposal): Remove unused variable `game'.
4321
4322 * play/zone.el (life-patterns): Declare.
4323
80f499c7
JB
43242011-04-20 Juanma Barranquero <lekktu@gmail.com>
4325
4326 * vc/vc.el (ediff-vc-internal): Declare function.
4327
024ff170
SM
43282011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4329
c0a193ea
SM
4330 * shell.el: Use lexical-binding and std completion UI.
4331 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
4332 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
4333 comint-preoutput-filter-functions rather than on
4334 comint-output-filter-functions.
4335 (shell-command-completion, shell--command-completion-data)
4336 (shell-filename-completion, shell-environment-variable-completion)
4337 (shell-c-a-p-replace-by-expanded-directory): New functions.
4338 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
4339 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
4340 (shell-dynamic-complete-environment-variable): Use them.
4341 (shell-dynamic-complete-as-environment-variable)
4342 (shell-dynamic-complete-as-command): Remove.
4343 (shell-match-partial-variable): Match past point.
4344 * comint.el: Clean up use of completion-at-point-functions.
4345 (comint-completion-at-point): New function.
4346 (comint-mode): Use it completion-at-point-functions.
4347 (comint-dynamic-complete): Make it obsolete.
4348 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
4349 (comint-c-a-p-replace-by-expanded-history): New function.
4350 (comint-dynamic-complete-functions)
4351 (comint-replace-by-expanded-history): Use it.
4352 * minibuffer.el (completion-table-with-terminator): Allow dynamic
4353 termination strings. Try harder to avoid second try-completion.
4354 (completion-in-region-mode-map): Disable bindings that don't work yet.
4355
2dbaa080
SM
4356 * comint.el: Use lexical-binding. Require CL.
4357 (comint-dynamic-complete-functions): Use comint-filename-completion.
4358 (comint-completion-addsuffix): Tweak custom type.
4359 (comint-filename-completion, comint--common-suffix)
4360 (comint--common-quoted-suffix, comint--table-subvert)
4361 (comint--complete-file-name-data): New functions.
4362 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
4363 (comint-dynamic-list-filename-completions): Use them.
4364 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 4365
2dbaa080
SM
4366 * minibuffer.el (completion-in-region-mode):
4367 Keep completion-in-region-mode--predicate global.
4368 (completion-in-region--postch):
4369 Assume completion-in-region-mode--predicate is not null.
4370
c79a6f38
SM
4371 * progmodes/flymake.el (flymake-start-syntax-check-process):
4372 Obey `dir'. Simplify.
4373
024ff170
SM
4374 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
4375 we're in VC after all.
4376
1c6c854e
CS
43772011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
4378
4379 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 4380 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
4381 (vc-version-diff): Use vc-diff-build-argument-list-internal.
4382
bed7f140
SM
43832011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4384
332e62ab
SM
4385 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
4386 add sanity check.
4387
bed7f140
SM
4388 * obsolete/erc-hecomplete.el: Make obsolete.
4389 * obsolete/: Standardize obsolescence info in the header.
4390
f195c582
GM
43912011-04-20 Glenn Morris <rgm@gnu.org>
4392
4393 * calendar/solar.el (solar-horizontal-coordinates):
4394 Use the longitude argument rather than `calendar-longitude'.
4395 (solar-date-next-longitude): Remove unused locals.
4396
cb79b8c0
VJL
43972011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4398
4399 * whitespace.el: New version 13.2.1.
4400
44012011-04-20 felix <EmacsWiki> (tiny change)
4402
d8e4b68b 4403 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
4404 switching between major modes on a file.
4405
602ea69d
SM
44062011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4407
4408 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
4409 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
4410 multi-line comments as well.
4411
06b60517
JB
44122011-04-19 Juanma Barranquero <lekktu@gmail.com>
4413
4414 Lexical-binding cleanup.
4415
4416 * arc-mode.el (archive-mode-revert):
4417 * cmuscheme.el (scheme-interactively-start-process):
4418 * custom.el (custom-initialize-delay):
4419 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
4420 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
4421 * emacs-lock.el (emacs-lock-clear-sentinel):
4422 * ezimage.el (defezimage):
4423 * follow.el (follow-avoid-tail-recenter):
4424 * fringe.el (set-fringe-mode-1):
4425 * generic-x.el (bat-generic-mode-compile):
4426 * help-mode.el (help-info-variable, help-do-xref)
4427 (help-mode-revert-buffer):
4428 * help.el (view-emacs-todo):
4429 * iswitchb.el (iswitchb-completion-help):
4430 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
4431 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
4432 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
4433 * locate.el (locate-update):
4434 * longlines.el (longlines-encode-region)
4435 (longlines-after-change-function):
4436 * outline.el (outline-isearch-open-invisible):
4437 * ps-def.el (declare-function, charset-dimension, char-width)
4438 (encode-char):
4439 * ps-mule.el (ps-mule-plot-string):
4440 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
4441 (recentf-edit-list-select, recentf-edit-list-validate)
4442 (recentf-open-files-action):
4443 * rect.el (delete-whitespace-rectangle-line)
4444 (rectangle-number-line-callback):
4445 * register.el (window-configuration-to-register)
4446 (frame-configuration-to-register):
4447 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
4448 * select.el (xselect-convert-to-string, xselect-convert-to-length)
4449 (xselect-convert-to-targets, xselect-convert-to-delete)
4450 (xselect-convert-to-filename, xselect-convert-to-charpos)
4451 (xselect-convert-to-lineno, xselect-convert-to-colno)
4452 (xselect-convert-to-os, xselect-convert-to-host)
4453 (xselect-convert-to-user, xselect-convert-to-class)
4454 (xselect-convert-to-name, xselect-convert-to-integer)
4455 (xselect-convert-to-atom, xselect-convert-to-identity):
4456 * subr.el (declare, ignore, process-kill-without-query)
4457 (text-clone-maintain):
4458 * terminal.el (te-get-char, te-tic-sentinel):
4459 * tool-bar.el (tool-bar-make-keymap):
4460 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
4461 * type-break.el (type-break-mode, type-break-noninteractive-query):
4462 * view.el (View-back-to-mark):
4463 * wid-browse.el (widget-browse-action, widget-browse-widget)
4464 (widget-browse-widgets, widget-browse-sexp):
4465 * widget.el (define-widget-keywords):
4466 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
4467 Mark unused parameters.
4468
4469 * align.el (align-adjust-col-for-rule): Mark unused parameter.
4470 (align-areas): Remove unused variable `look'.
4471 (align-region): Remove unused variables `real-end' and `pos-list'.
4472
4473 * apropos.el (apropos-score-doc): Remove unused variable `i'.
4474
4475 * bindings.el (mode-line-modified, mode-line-remote):
4476 Mark unused parameters.
4477 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
4478
4479 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
4480 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
4481
4482 * comint.el (comint-history-isearch-pop-state)
4483 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
4484 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
4485 (comint-substitute-in-file-name): Doc fix.
4486
4487 * completion.el (cmpl-statistics-block): Mark unused parameter.
4488 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
4489 (save-completions-to-file, load-completions-from-file):
4490 Remove unused local variable `e'.
4491
4492 * composite.el (compose-chars): Remove unused variable `len'.
4493 (lgstring-insert-glyph): Remove unused variable `g'.
4494 (compose-glyph-string): Remove unused variables `ascent',
4495 `descent', `lbearing' and `rbearing'.
4496 (compose-glyph-string-relative): Remove unused variables
4497 `lbearing', `rbearing' and `wadjust'.
4498 (compose-gstring-for-graphic): Remove unused variables `header',
4499 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
4500 (compose-gstring-for-terminal): Remove unused variables `header'
4501 and `nchars'. Use `let', not `let*'.
4502
4503 * cus-edit.el (Custom-set, Custom-save, custom-reset)
4504 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
4505 (Custom-buffer-done, custom-buffer-create-internal)
4506 (custom-browse-visibility-action, custom-browse-group-tag-action)
4507 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
4508 (widget-magic-mouse-down-action, custom-toggle-parent)
4509 (custom-add-parent-links, custom-toggle-hide-variable)
4510 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
4511 (custom-toggle-hide-face, face, hook, custom-group-link-action)
4512 (custom-face-menu-create, custom-variable-menu-create, get)
4513 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
4514 (custom-reset-standard-save-and-update): Remove unused variable `value'.
4515 (customize-apropos): Remove unused variable `tests'.
4516 (custom-group-value-create): Remove unused variable `hidden-p'.
4517 (sort-fold-case): Declare.
4518
4519 * cus-theme.el (custom-reset-standard-faces-list)
4520 (custom-reset-standard-variables-list): Declare.
4521 (customize-create-theme, custom-theme-revert, custom-theme-write)
4522 (custom-theme-choose-mode, customize-themes, custom-theme-save):
4523 Mark unused parameters.
4524
4525 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
4526
4527 * delim-col.el (delimit-columns-max): Move defvar before first use.
4528
4529 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 4530 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
4531
4532 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
4533 (auto-insert): Declare.
4534 (desktop-restore-file-buffer): Rename desktop-* parameters;
4535 mark unused ones.
4536 (desktop-create-buffer): Rename desktop-* parameters and bind them.
4537 (desktop-buffer): Rename desktop-* parameters.
4538
4539 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4540 (dframe-reposition-frame-xemacs, dframe-help-echo)
4541 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
4542 Mark unused parameters.
4543
4544 * dired-aux.el (backup-extract-version-start, overwrite-query)
4545 (overwrite-backup-query, rename-regexp-query)
4546 (rename-non-directory-query): Declare.
4547 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
4548 (dired-add-entry): Remove unused variable `orig-file-name'.
4549 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
4550 Use parameter PRESERVE-TIME instead of accessing dynamic variable
4551 `dired-copy-preserve-time' directly.
4552 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
4553 (dired-insert-subdir-newpos): Rename unused variable `pos'.
4554
4555 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
4556 (dired-virtual-revert, dired-make-relative-symlink):
4557 Mark unused parameters.
4558 (manual-program): Declare.
4559 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
4560 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
4561 wrapped in `with-no-warnings' to avoid replacing one warning by another.
4562
4563 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
4564
4565 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
4566
4567 * echistory.el (electric-history-in-progress, Helper-return-blurb):
4568 Declare.
4569
4570 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
4571
4572 * electric.el (Electric-command-loop): Rename parameter
4573 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
4574
4575 * expand.el (expand-in-literal): Remove unused variable `here'.
4576
4577 * facemenu.el (facemenu-add-new-color):
4578 Remove unused variable `docstring'.
4579
4580 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
4581 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
4582 (face-attr-construct): Mark unused parameter. Doc fix.
4583 (read-color): Remove unused variable `hex-string'.
4584
4585 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
4586 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
4587 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
4588 (display-buffer-other-frame): Remove unused variable `old-window'.
4589 (kill-buffer-hook): Declare.
4590 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
4591 Mark unused parameters.
4592 (after-find-file): Pass 1 to `auto-save-mode', not t.
4593
4594 * files-x.el (auto-insert): Declare.
4595 (modify-file-local-variable-prop-line): Remove unused variable `val'.
4596
4597 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 4598 variable `buf'. Mark unused parameter.
06b60517
JB
4599 (find-lisp-insert-directory): Mark unused parameter.
4600
4601 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
4602 (format-encode-region): Remove unused variables `cur-buf' and `result'.
4603 (format-common-tail): Remove, unused.
4604 (format-deannotate-region): Remove unused variable `loc'.
4605 (format-annotate-region): Remove unused variable `p'.
4606 (format-annotate-single-property-change): Remove unused variables
4607 `default' and `tail'.
4608
4609 * forms.el (read-file-filter): Declare.
4610 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
4611
4612 * frame.el (frame-creation-function-alist): Mark unused parameter.
4613 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
4614
4615 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
4616 Remove unused parameters.
4617 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
4618 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
4619
4620 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
4621 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
4622 (hfy-prepare-tag-map): Mark unused parameters.
4623 (htmlfontify-buffer): Use `called-interactively-p'.
4624
4625 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
4626 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
4627 (ibuffer-do-occur): Mark unused parameters.
4628 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
4629 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
4630
4631 * ibuffer.el: Don't quote `lambda'.
4632 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
4633 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
4634 Mark unused parameters.
4635
4636 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
4637 (ido-completing-read): Mark unused parameters.
4638 (ido-copy-current-word): Mark unused parameters;
4639 remove unused variable `name'.
4640 (ido-sort-merged-list): Remove unused parameter `dirs'.
4641
4642 * ielm.el (ielm-input-sender): Mark unused parameter.
4643 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
4644 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
4645 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
4646 `ielm-string' as a dynamic variable accessible from the IELM prompt.
4647 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
4648
4649 * image-dired.el (image-dired-display-thumbs): Remove unused
4650 variables `curr-file' and `count'.
4651 (image-dired-remove-tag): Remove unused variable `start'.
4652 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
4653 variable `curr-file'
4654 (image-dired-rotate-original): Remove unused variable `temp-file'.
4655 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
4656 Remove unused variable `file'.
4657 (image-dired-gallery-generate): Remove unused variable `curr'.
4658 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
4659
4660 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
4661
4662 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
4663
4664 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
4665
4666 * isearch.el (minibuffer-history-symbol): Declare.
4667 (isearch-edit-string): Remove unused variable `err'.
4668 (isearch-message-prefix, isearch-message-suffix):
4669 Mark unused parameters.
4670
4671 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
4672
4673 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
4674
4675 * makesum.el (double-column): Remove unused variable `cnt'.
4676
4677 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
4678 (ido-ignore-item-temp-list): Declare.
4679
4680 * mouse-drag.el (mouse-drag-throw): Remove unused variables
4681 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
4682 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
4683 (mouse-drag-drag): Remove unused variables `mouse-delta' and
4684 `mouse-col-delta'.
4685
4686 * mouse-sel.el (mouse-extend-internal):
4687 Remove unused variable `orig-window-frame'.
4688
4689 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
4690 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
4691 Move declarations before first use.
4692 (pcomplete-opt): Mark unused parameters; doc fix.
4693
4694 * proced.el (proced-revert): Mark unused parameter.
4695 (proced-send-signal): Remove unused variable `err'.
4696
4697 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
4698 Rename parameter PREFIX-ARG to ARG.
4699 (ps-basic-plot-string, ps-basic-plot-whitespace):
4700 Mark unused parameters.
4701
4702 * replace.el (replace-count): Define.
4703 (occur-revert-function): Mark unused parameters.
4704 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
4705 (isearch-case-fold-search, isearch-string): Declare.
4706 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
4707 bind `case-fold-search'. Remove unused variables `beg' and `end',
4708 and simplify.
4709 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
4710 COUNT and bind `replace-count'.
4711 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
4712 to COUNT.
4713
4714 * savehist.el (print-readably, print-string-length): Declare.
4715
4716 * shadowfile.el (shadow-expand-cluster-in-file-name):
4717 Remove unused variable `cluster'.
4718 (shadow-copy-file): Remove unused variable `i'.
4719 (shadow-noquery, shadow-clusters, shadow-site-cluster)
4720 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
4721 (shadow-define-literal-group, shadow-define-regexp-group)
4722 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
4723
4724 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
4725 (shell): Use `called-interactively-p'.
4726 (shell-directory-tracker): Remove unused variable `chdir-failure'.
4727
4728 * simple.el (compilation-context-lines, comint-file-name-quote-list)
4729 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
4730 (delete-backward-char): Remove unused variable `ocol'.
4731 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
4732 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
4733 (event-apply-hyper-modifier, event-apply-shift-modifier)
4734 (event-apply-control-modifier, event-apply-meta-modifier):
4735 Mark unused parameters.
4736 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
4737 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
4738
4739 * speedbar.el (speedbar-ignored-directory-expressions)
4740 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
4741 (speedbar-find-file, speedbar-dir-follow)
4742 (speedbar-directory-buttons-follow, speedbar-tag-find)
4743 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
4744 (speedbar-buffers-line-directory, speedbar-buffer-click):
4745 Mark unused parameters.
4746 (speedbar-tag-file): Remove unused variable `mode'.
4747 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
4748
4749 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
4750
4751 * talk.el (talk): Remove unused variable `display'.
4752
4753 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
4754 (tar-write-region-annotate): Mark unused parameter.
4755
4756 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
4757 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
4758 Declare them, wrapped in `with-no-warnings' to avoid replacing one
4759 warning by another.
4760
4761 * time-stamp.el (time-stamp-string-preprocess):
4762 Remove unused variable `require-padding'.
4763
4764 * tree-widget.el (widget-glyph-enable): Declare.
4765 (tree-widget-action): Mark unused parameter.
4766
4767 * w32-fns.el (x-get-selection): Mark unused parameter.
4768 (autoload-make-program, generated-autoload-file): Declare.
4769
4770 * wdired.el (wdired-revert): Mark unused parameters.
4771 (wdired-xcase-word): Remove unused variable `err'.
4772
4773 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
4774 (whitespace-help-scroll): Remove unused variable `data-help'.
4775
4776 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
4777 (widget-image-insert, widget-after-change, default)
4778 (widget-default-format-handler, widget-default-notify)
4779 (widget-default-prompt-value, widget-info-link-action)
4780 (widget-url-link-action, widget-function-link-action)
4781 (widget-variable-link-action, widget-file-link-action)
4782 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
4783 (widget-field-prompt-internal, widget-field-action, widget-field-match)
4784 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
4785 (widget-insert-button-action, widget-delete-button-action, visibility)
4786 (widget-documentation-link-action, widget-documentation-string-action)
4787 (widget-const-prompt-value, widget-regexp-match, symbol)
4788 (widget-coding-system-prompt-value)
4789 (widget-key-sequence-value-to-external, sexp)
4790 (widget-sexp-value-to-internal, character, vector, cons)
4791 (widget-choice-prompt-value, widget-boolean-prompt-value)
4792 (widget-color--choose-action): Mark unused parameters.
4793 (widget-item-match-inline, widget-choice-match-inline)
4794 (widget-checklist-match, widget-checklist-match-inline)
4795 (widget-group-match): Rename parameter VALUES to VALS.
4796 (widget-field-value-set): Remove unused variable `size'.
4797 (widget-color-action): Remove unused variables `value' and `start'.
4798
4799 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 4800 variable `dir'. Doc fix.
06b60517
JB
4801 (windmove-find-other-window): Don't pass it.
4802
4803 * window.el (count-windows): Mark unused parameter.
4804 (bw-adjust-window): Remove unused variable `err'.
4805
4806 * woman.el (woman-file-name): Remove unused variable `default'.
4807 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
4808 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
4809 (global-font-lock-mode): Declare.
4810 (woman-decode-region): Mark unused parameter.
4811 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
4812
4813 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
4814 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
4815 (x-dnd-handle-moz-url): Remove unused variable `title'.
4816 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
4817
4818 * xml.el (xml-parse-tag, xml-parse-attlist):
4819 Remove unused variable `pos'.
4820
bc4f7f3d
GM
48212011-04-19 Glenn Morris <rgm@gnu.org>
4822
4823 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
4824 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4825 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4826 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
4827 * calendar/cal-html.el (cal-html-insert-minical):
4828 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
4829 (calendar-mark-date-pattern):
4830 Prefix "unused" locals.
4831
4832 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
4833 optional argument `style'.
4834
4835 * calendar/appt.el (appt-make-list):
4836 * calendar/cal-china.el (calendar-chinese-date-string):
4837 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
4838 (diary-hebrew-yahrzeit):
4839 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
4840 * calendar/calendar.el (calendar-generate-window):
4841 * calendar/time-date.el (time-to-days):
4842 Remove unused local variables.
4843
16a43933
CY
48442011-04-18 Chong Yidong <cyd@stupidchicken.com>
4845
4846 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
4847 glyphless-char-display table.
4848 (tabulated-list-glyphless-char-display): New var.
4849
7eed1860
SS
48502011-04-18 Sam Steingold <sds@gnu.org>
4851
4852 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
4853 to acknowledgments.
4854
4d2d1ccd
GM
48552011-04-17 Glenn Morris <rgm@gnu.org>
4856
4857 * calendar/diary-lib.el (diary-sexp-entry):
4858 * calendar/holidays.el (holiday-sexp):
4859 Set debug-on-error rather than the removed stack-trace-on-error.
4860
239da61d
GM
48612011-04-16 Glenn Morris <rgm@gnu.org>
4862
4863 * progmodes/f90.el: Use lexical-binding.
4864 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
4865
8b05752a
SM
48662011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4867
daca8ba5
SM
4868 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
4869 (mail-mode): Setup mailalias completion here instead.
4870 * mail/mailalias.el: Use lexical-binding.
4871 (pattern, mailalias-done): Declare dynamic.
4872 (mail-completion-at-point-function): New function, from mail-complete.
4873 (mail-complete): Use it.
4874 (mail-completion-expand): New function.
4875 (mail-get-names): Use it.
4876 (mail-directory, mail-directory-process, mail-directory-stream):
4877 Don't use `pattern' for lexically bound arg.
4878
6f542485
SM
4879 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
4880
037e7c3f
SM
4881 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
4882 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
4883 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
4884
8b05752a
SM
4885 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
4886 (byte-save-window-excursion, byte-temp-output-buffer-setup)
4887 (byte-interactive-p): Define them again, for use when inlining
4888 old code.
4889
49093f60
JB
48902011-04-15 Juanma Barranquero <lekktu@gmail.com>
4891
4892 * loadup.el: Use `string-to-number', not `string-to-int'.
4893
b5b8e7de
SM
48942011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
4897 gud-gdb-complete-command.
4898 (gud-gdb-completions): New function, from gud-gdb-complete-command.
4899 (gud-gdb-completion-at-point): New function.
4900 (gud-gdb-completions): Remove.
4901
f42efeb5
MA
49022011-04-14 Michael Albinus <michael.albinus@gmx.de>
4903
49093f60
JB
4904 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
4905 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
4906 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
4907 whether `executable-find' is bound.
f42efeb5
MA
4908
4909 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
4910
e240cc21
SM
49112011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4912
4913 * minibuffer.el (completion-in-region-mode-predicate)
4914 (completion-in-region-mode--predicate): New vars.
4915 (completion-in-region, completion-in-region--postch)
4916 (completion-in-region-mode): Use them.
4917 (completion--capf-wrapper): Also return the hook function.
4918 (completion-at-point, completion-help-at-point):
4919 Adjust and provide a predicate.
c2bd2ab0
SM
4920
4921 Preserve arg names for advice of subr and lexical functions (bug#8457).
4922 * help-fns.el (help-function-arglist): Consolidate the subr and
4923 new-byte-code cases. Add argument `preserve-names' to extract names
4924 from the docstring when needed.
4925 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
4926 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
4927 (ad-arglist): Use help-function-arglist's new arg.
4928 (ad-definition-type): Use cond.
4929
c183f693
JB
49302011-04-13 Juanma Barranquero <lekktu@gmail.com>
4931
06641a47
JB
4932 * autorevert.el (auto-revert-handler):
4933 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
4934 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
4935 Don't quote lambda.
4936
c183f693
JB
4937 * image-mode.el (image-transform-set-scale):
4938 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
4939
1e3b6001
G
49402011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4941
4942 * net/network-stream.el (network-stream-open-starttls): Only do
4943 opportunistic STARTTLS upgrades if we have built-in gnutls support.
4944 Upgrades via gnutls-cli are too slow to be done opportunistically.
4945
2d6af8dd
JB
49462011-04-12 Juanma Barranquero <lekktu@gmail.com>
4947
4948 * dframe.el (dframe-current-frame): Remove spurious quote.
4949
c0749a51
GM
49502011-04-12 Glenn Morris <rgm@gnu.org>
4951
088d0d61
GM
4952 * calendar/cal-tex.el (cal-tex-end-document):
4953 Try to automatically use latin1 input if needed.
4954
c0749a51
GM
4955 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
4956 Don't try to cons a mark onto an empty element.
4957
5c90fde0
LL
49582011-04-11 Leo Liu <sdl.web@gmail.com>
4959
4960 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
4961 buffers.
4962 (ido-kill-buffer-at-head): Support killing virtual buffers.
4963
369e974d
CY
49642011-04-10 Chong Yidong <cyd@stupidchicken.com>
4965
4966 * minibuffer.el (completion-show-inline-help): New var.
4967 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
4968 (minibuffer-force-complete, minibuffer-complete-word):
4969 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
4970
4971 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
4972 to avoid interference from inline help (Bug#5849).
4973
37f1c930
LL
49742011-04-10 Leo Liu <sdl.web@gmail.com>
4975
099c39a4
JB
4976 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4977 Fix typo.
37f1c930 4978
a32d4040
CY
49792011-04-09 Chong Yidong <cyd@stupidchicken.com>
4980
4981 * image-mode.el (image-toggle-display-image): Signal an error if
4982 not in Image mode.
4983 (image-transform-mode, image-transform-resize)
4984 (image-transform-set-rotation): Doc fix.
daca8ba5 4985 (image-transform-set-resize): Delete.
a32d4040
CY
4986 (image-transform-set-scale, image-transform-fit-to-height)
4987 (image-transform-fit-to-width): Handle image-toggle-display-image
4988 and image-transform-resize directly.
4989
099c39a4 49902011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
4991
4992 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
4993 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
4994 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
4995 (doc-view-mode-map): Add bindings for the new functions.
4996
099c39a4 49972011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
4998
4999 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
5000 Fix typo in docstring.
5001
3726838a
EZ
50022011-04-08 Eli Zaretskii <eliz@gnu.org>
5003
04f33f1e
EZ
5004 * files.el (file-size-human-readable): Produce one digit after
5005 decimal, like "ls -lh" does.
5006
5007 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
5008 the file size representation.
5009
3726838a
EZ
5010 * simple.el (list-processes): If async subprocesses are not
5011 available, error out with a clear error message.
5012
cbb59342
CY
50132011-04-08 Chong Yidong <cyd@stupidchicken.com>
5014
5015 * help.el (help-form-show): New function, to be called from C.
5016 Put help-form output in a buffer named differently than *Help*.
5017
e3971c44
EZ
50182011-04-08 Eli Zaretskii <eliz@gnu.org>
5019
5020 * files.el (file-size-human-readable): New function.
5021
5022 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
5023 computing the representation inline. Don't require `cl'.
5024
12544bbe
GM
50252011-04-08 Glenn Morris <rgm@gnu.org>
5026
a1de6c6a
GM
5027 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
5028
3c4671f4
GM
5029 * net/browse-url.el (browse-url-firefox):
5030 Test system-type, not system-configuration.
5031
b605679c
GM
5032 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
5033 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
5034 Use log-edit-empty-buffer-p. (Bug#7598)
5035
56442f0c
GM
5036 * net/rlogin.el (rlogin-process-connection-type): Simplify.
5037 (rlogin-mode-map): Initialize in the defvar.
5038 (rlogin): Use ignore-errors.
5039
12544bbe
GM
5040 * replace.el (occur-mode-map): Some fixes for menu items.
5041
eb237b0f
AH
50422011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5043
5044 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
5045
7d668f2c
CY
50462011-04-06 Chong Yidong <cyd@stupidchicken.com>
5047
e67a13ab
CY
5048 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
5049 issuing unused warnings.
5050
5051 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
5052 macro directly.
5053
7d668f2c
CY
5054 * simple.el: Lisp reimplement of list-processes. Based on an
5055 earlier reimplementation by Leo Liu, but using tabulated-list.el.
5056 (process-menu-mode): New major mode.
5057 (list-processes--refresh, list-processes):
5058 (process-menu-visit-buffer): New functions.
5059
5060 * files.el (save-buffers-kill-emacs): Don't assume any return
5061 value of list-processes, which is undocumented anyway.
5062
a83ec3c9
CY
50632011-04-06 Chong Yidong <cyd@stupidchicken.com>
5064
5065 * emacs-lisp/tabulated-list.el: New file.
5066
e91a96fe
CY
5067 * emacs-lisp/package.el: Use Tabulated List mode.
5068 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
5069 (package-menu-mode): Derive from tabulated-list-mode. Set up the
5070 table format using Tabulated List mode variables.
5071 (package--push): New macro, replacing package-list-maybe-add.
5072 (package-menu--generate): Use package--push. Renamed from
5073 package--generate-package-list.
5074 (package-menu-refresh, list-packages): Use it.
daca8ba5 5075 (package-menu--print-info): Rename from package-print-package.
e91a96fe 5076 Return insertion data instead of inserting it directly.
099c39a4
JB
5077 (package-menu-describe-package, package-menu-execute):
5078 Use tabulated-list-get-id.
e91a96fe
CY
5079 (package-menu-mark-delete, package-menu-mark-install)
5080 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
5081 (package-menu-mark-obsolete-for-deletion):
5082 Use tabulated-list-put-tag.
e91a96fe
CY
5083 (package--list-packages, package-menu-revert)
5084 (package-menu-get-package, package-menu-get-version)
5085 (package-menu-sort-by-column): Functions deleted.
5086 (package-menu-package-list, package-menu-sort-key): Vars deleted.
5087 (package-menu--status-predicate, package-menu--version-predicate)
5088 (package-menu--name-predicate)
5089 (package-menu--description-predicate): Handle arguments in the
5090 Tabulated List format.
5091 (package-list-packages-no-fetch): Call list-packages.
5092
3e214b50
JB
50932011-04-06 Juanma Barranquero <lekktu@gmail.com>
5094
5095 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 5096 (after-find-file): Don't bind it.
3e214b50
JB
5097 (revert-buffer-in-progress-p): New variable.
5098 (revert-buffer): Bind it.
5099 Pass nil for `after-find-file-from-revert-buffer'.
5100
5101 * saveplace.el (save-place-find-file-hook): Use new variable
5102 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
5103
3f0f1700
GM
51042011-04-06 Glenn Morris <rgm@gnu.org>
5105
c0274801
GM
5106 * Makefile.in (AUTOGEN_VCS): New variable.
5107 (autoloads): Use $AUTOGEN_VCS.
5108
3f0f1700
GM
5109 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
5110 * calendar/calendar.el (calendar-mode-map):
5111 Check for toolkit scroll bars. (Bug#8305)
5112
41ea9e48
CY
51132011-04-05 Chong Yidong <cyd@stupidchicken.com>
5114
5115 * minibuffer.el (completion-in-region--postch)
5116 (completion-in-region-mode): Remove unnecessary messages.
5117
6194c800
JB
51182011-04-05 Juanma Barranquero <lekktu@gmail.com>
5119
33256f14
JB
5120 * font-lock.el (font-lock-refresh-defaults):
5121 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
5122 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
5123
6194c800
JB
5124 * info.el (Info-directory-list, Info-read-node-name-2)
5125 (Info-split-parameter-string): Doc fixes.
5126 (Info-virtual-nodes): Reflow docstring.
5127 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
5128 (Info-apropos-toc-nodes, info-finder, Info-get-token)
5129 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
5130 Fix typos in docstrings.
5131 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
5132 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
5133 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
5134 (Info-restore-desktop-buffer): Mark unused parameters.
5135 (Info-directory-find-file, Info-directory-find-node)
5136 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
5137 (Info-virtual-index-find-node, Info-apropos-find-file)
5138 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 5139 Mark unused parameters; fix typos in docstrings.
6194c800
JB
5140 (Info-virtual-index): Remove unused local variable `nodename'.
5141
b87a8200 51422011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 5143
b87a8200
DD
5144 * net/rcirc.el: Update my e-mail address.
5145 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 5146
3b2ff876
CY
51472011-04-05 Chong Yidong <cyd@stupidchicken.com>
5148
5149 * startup.el (command-line): Save the cursor's theme-face
5150 directly, instead of using face-override-spec.
5151
5152 * custom.el (load-theme): Minor optimization in assigning faces.
5153
8d17e7ca
JB
51542011-04-04 Juanma Barranquero <lekktu@gmail.com>
5155
5156 * help-fns.el (describe-variable): Complete all variables having
5157 documentation, including keywords.
5158 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
5159
2fbc1934
JB
51602011-04-04 Juanma Barranquero <lekktu@gmail.com>
5161
5162 Convert to lexical-binding.
5163
5164 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
5165 (bs--get-marked-string, bs--get-modified-string)
5166 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
5167 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
5168 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
5169
5170 * ehelp.el (electric-help-execute-extended)
5171 (electric-help-ctrl-x-prefix):
5172 * hexl.el (hexl-revert-buffer-function):
5173 * linum.el (linum-after-change, linum-after-scroll):
5174 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
5175
5176 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
5177
74f50695
DU
51782011-04-04 Daiki Ueno <ueno@unixuser.org>
5179
5180 * epa-dired.el:
5181 * epa-mail.el:
5182 * epa-hook.el:
5183 * epa-file.el:
5184 * epa.el:
5185 * epg.el: Use lexical binding.
5186
c11325f7
CY
51872011-04-03 Chong Yidong <cyd@stupidchicken.com>
5188
0d9e9a12
CY
5189 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
5190
c11325f7 5191 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
5192 dictionary case for flyspell-mark-duplications-exceptions.
5193 Use regexp matching for languages.
c11325f7
CY
5194 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
5195 default dictionary (Bug#7926).
5196
da91b5f2
CY
51972011-04-02 Chong Yidong <cyd@stupidchicken.com>
5198
099c39a4
JB
5199 * emacs-lisp/package.el (package--with-work-buffer):
5200 Recognize https URLs.
da91b5f2 5201
099c39a4
JB
5202 * net/network-stream.el: Move from gnus/proto-stream.el.
5203 Change prefix to network-stream throughout.
da91b5f2
CY
5204 (open-protocol-stream): Merge into open-network-stream, leaving
5205 open-protocol-stream as an alias. Handle nil BUFFER args.
5206
5207 * subr.el (open-network-stream): Move to net/network-stream.el.
5208
afa8e9f6
GM
52092011-04-02 Glenn Morris <rgm@gnu.org>
5210
1d2e369d
GM
5211 * find-dired.el (find-exec-terminator): New option.
5212 (find-ls-option): Test for -ls support.
5213 (find-ls-subdir-switches): Test for -b in find-ls-option.
5214 (find-dired, find-grep-dired): Doc fixes.
5215 (find-dired): Use find-exec-terminator.
5216
8abb7da8 5217 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
5218 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
5219 (find-name-arg): Remove purecopy.
8abb7da8 5220
f3ca7378
GM
5221 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
5222 (grep-compute-defaults): Check for `-exec COMMAND +' support.
5223 Set grep-find-use-xargs, grep-find-command, and grep-find-template
5224 accordingly. Don't add the null-device if not needed.
5225
afa8e9f6
GM
5226 * files.el (save-some-buffers): Doc fix.
5227
35eae264
EZ
52282011-04-02 Eli Zaretskii <eliz@gnu.org>
5229
5230 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
5231
26b51db5
JB
52322011-04-01 Juanma Barranquero <lekktu@gmail.com>
5233
5234 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
5235 Use `dolist' rather than `mapcar'.
5236
7200d79c
SM
52372011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5238
03408648 5239 Add lexical binding.
7200d79c 5240
03408648
SM
5241 * subr.el (apply-partially): Use new closures rather than CL.
5242 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
5243 (dolist, dotimes): Use slightly different expansion for lexical code.
5244 (functionp): Move to C.
5245 (letrec): New macro.
5246 (with-wrapper-hook): Use it and apply-partially instead of CL.
5247 (eval-after-load): Preserve lexical-binding.
5248 (save-window-excursion, with-output-to-temp-buffer): Turn them
5249 into macros.
7200d79c 5250
03408648
SM
5251 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
5252
5253 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
5254 than the arglist.
5255 (help-add-fundoc-usage): Don't add `Not documented'.
5256 (help-function-arglist): Handle closures, subroutines, and new
5257 byte-code-functions.
5258 (help-make-usage): Remove leading underscores.
5259 (describe-function-1): Handle closures.
5260 (describe-variable): Use special-variable-p for completion.
5261
5262 * files.el (lexical-binding): Declare safe.
f488fb65 5263
03408648
SM
5264 * emacs-lisp/pcase.el: Don't use destructuring-bind.
5265 (pcase--memoize): Rename from pcase-memoize. Change weakness.
5266 (pcase): Add `let' pattern.
5267 Change memoization so it actually works.
5268 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
5269 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
5270 <let>: New case.
f488fb65 5271
03408648
SM
5272 * emacs-lisp/macroexp.el: Use lexical binding.
5273 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
5274 Don't convert ' to #' without checking that it's indeed quoting
5275 a lambda.
5276
5277 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 5278 Use eval-sexp-add-defvars.
03408648
SM
5279 (eval-sexp-add-defvars): New fun.
5280
5281 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
5282
5283 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
5284 Don't autoload.
5285 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
5286 than the internal `byte-compile-lambda'.
5287 (defmethod): Don't hide code under quotes.
5288 (eieio-defmethod): New `code' argument.
5289
5290 * emacs-lisp/eieio-comp.el: Remove.
5291
5292 * emacs-lisp/edebug.el (edebug-eval-defun)
5293 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
5294 (edebug-toggle): Avoid `eval'.
5295
5296 * emacs-lisp/disass.el (disassemble-internal): Handle new
5297 `closure' objects.
5298 (disassemble-1): Handle new byte codes.
5299
5300 * emacs-lisp/cl.el (pushnew): Silence warning.
5301
5302 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
5303 (cl-byte-compile-throw): Remove.
5304 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
5305
5306 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
5307 closures.
5308
5309 * emacs-lisp/cconv.el: New file.
5310
5311 * emacs-lisp/bytecomp.el: Use lexical binding instead of
5312 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
5313 (byte-compile-initial-macro-environment):
5314 Handle declare-function here.
5315 (byte-compile--lexical-environment): New var.
5316 (byte-stack-ref, byte-stack-set, byte-discardN)
5317 (byte-discardN-preserve-tos): New lap codes.
5318 (byte-interactive-p): Don't use any more.
5319 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
5320 New macros.
5321 (byte-compile-lapcode): Use them and handle new lap codes.
5322 (byte-compile-obsolete): Remove.
5323 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
5324 (byte-compile-arglist-warn): Check late def of inlinable funs.
5325 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
5326 since they should have been expanded by now.
5327 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
5328 (byte-compile-from-buffer): Remove unused second arg.
5329 (byte-compile-preprocess): New function.
5330 (byte-compile-toplevel-file-form): New function to distinguish
5331 file-form calls from outside from file-form calls from hunk-handlers.
5332 (byte-compile-file-form): Simplify.
5333 (byte-compile-file-form-defsubst): Remove.
5334 (byte-compile-file-form-defmumble): Simplify now that
5335 byte-compile-lambda always returns a byte-code-function.
5336 (byte-compile): Preprocess.
5337 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
5338 Remove, not used any more.
5339 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
5340 (byte-compile-make-args-desc): New funs.
5341 (byte-compile-lambda): Handle lexical functions. Always return
5342 a byte-code-function.
5343 (byte-compile-reserved-constants): New var, to make up room for
5344 closed-over variables.
5345 (byte-compile-constants-vector): Obey it.
5346 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
5347 (byte-compile-macroexpand-declare-function): New function.
5348 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
5349 byte-code-functions.
5350 (byte-compile-form): Check obsolescence here.
5351 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
5352 (byte-compile-variable-ref): Remove.
5353 (byte-compile-dynamic-variable-op): New fun.
5354 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5355 (byte-compile-variable-set): New funs.
5356 (byte-compile-discard): Add 2 args.
5357 (byte-compile-stack-ref, byte-compile-stack-set)
5358 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
5359 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
5360 macroexpand-all instead.
5361 (byte-compile-quote-form): Remove.
5362 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
5363 (byte-compile-bind, byte-compile-unbind): New funs.
5364 (byte-compile-let): Handle let* and lexical binding.
5365 (byte-compile-let*): Remove.
5366 (byte-compile-catch, byte-compile-unwind-protect)
5367 (byte-compile-track-mouse, byte-compile-condition-case):
5368 Handle a new :fun-body form, used for lexical scoping.
5369 (byte-compile-save-window-excursion)
5370 (byte-compile-with-output-to-temp-buffer): Remove.
5371 (byte-compile-defun): Simplify.
5372 (byte-compile-stack-adjustment): New fun.
5373 (byte-compile-out): Use it.
5374 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
5375
5376 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
5377 handler any more.
5378
5379 * emacs-lisp/byte-opt.el: Use lexical binding.
5380 (byte-inline-lapcode): Remove (to bytecomp).
5381 (byte-compile-inline-expand): Pay attention to inlining to/from
5382 lexically bound code.
5383 (byte-compile-unfold-lambda): Don't handle byte-code-functions
5384 any more.
5385 (byte-optimize-form-code-walker): Don't handle save-window-excursion
5386 any more and don't call compiler-macros.
5387 (byte-compile-splice-in-already-compiled-code): Remove.
5388 (byte-code): Don't inline any more.
5389 (disassemble-offset): Receive `bytes' as argument rather than via
5390 dynamic scoping.
5391 (byte-compile-tag-number): Declare before first use.
5392 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
5393 `return' even if make-spliceable.
5394 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
5395 obsolete interactive-p.
5396 (byte-optimize-lapcode): Optimize new lap-codes.
5397 Don't trip up on new form of `byte-constant' lap code.
5398
5399 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
5400
5401 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
5402
5403 * custom.el (custom-initialize-default, custom-declare-variable):
5404 Use `defvar'.
5405
5406 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
5407 New variables.
5408 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
5409 (COMPILE_FIRST): Add macroexp and cconv.
5410 * makefile.w32-in: Mirror changes in Makefile.in.
5411
5412 * vc/cvs-status.el:
5413 * vc/diff-mode.el:
5414 * vc/log-edit.el:
5415 * vc/log-view.el:
5416 * vc/smerge-mode.el:
5417 * textmodes/bibtex-style.el:
5418 * textmodes/css.el:
5419 * startup.el:
5420 * uniquify.el:
da91b5f2
CY
5421 * minibuffer.el:
5422 * newcomment.el:
5423 * reveal.el:
5424 * server.el:
5425 * mpc.el:
5426 * emacs-lisp/smie.el:
5427 * doc-view.el:
5428 * dired.el:
03408648
SM
5429 * abbrev.el: Use lexical binding.
5430
0f0c1f27
EZ
54312011-04-01 Eli Zaretskii <eliz@gnu.org>
5432
5433 * info.el (info-display-manual): New function.
5434
c82b2579
SM
54352011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5436
5437 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
5438
221ddf68
TH
54392011-03-31 Tassilo Horn <tassilo@member.fsf.org>
5440
5441 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 5442 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 5443
cba6e77e
GM
54442011-03-31 Glenn Morris <rgm@gnu.org>
5445
e040639f
GM
5446 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
5447
cba6e77e
GM
5448 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
5449
6d0f1c9e
CS
54502011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
5451
5452 * progmodes/python.el (python-default-interpreter)
5453 (python-python-command-args, python-jython-command-args)
5454 (python-which-shell, python-which-args, python-which-bufname)
5455 (python-file-queue, python-comint-output-filter-function)
5456 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
5457 variables and functions.
5458
3e2d70fd
SM
54592011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
5462 (completion-in-region-mode): New minor mode.
5463 (completion-in-region): Use it.
5464 (completion-in-region--data, completion-in-region-mode-map): New vars.
5465 (completion-in-region--postch): New function.
5466 (completion--capf-misbehave-funs, completion--capf-safe-funs):
5467 New vars.
5468 (completion--capf-wrapper): New function.
5469 (completion-at-point): Use it to track well-behavedness of
5470 hook functions.
5471 (completion-help-at-point): New command.
5472
f3e4086c
JM
54732011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
5474
5475 * vc/add-log.el (add-change-log-entry): Don't use whitespace
5476 syntax class to search for whitespace on a single line
5477 (Message-ID: <4D938140.4030905@redhat.com>).
5478
eb7ffc14
LL
54792011-03-30 Leo Liu <sdl.web@gmail.com>
5480
5481 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
5482 New commands.
5483 (edit-abbrevs-map): Bind them here.
5484 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
5485
d806ab68
KM
54862011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
5487
5488 * allout.el (allout-hide-by-annotation, allout-flag-region):
5489 Reduce possibility of overlay leakage by making them volatile.
5490
5491 * allout-widgets.el (allout-widgets-tally): Define as nil so the
5492 hash is not shared between buffers. Mode initialization is
5493 responsible for giving it a useful starting value.
5494 (allout-item-span): Reduce possibility of overlay leakage by
5495 making them volatile.
5496 (allout-widgets-count-buttons-in-region): Add diagnostic function
5497 for tracking down button overlay leaks.
5498
ea622834
LL
54992011-03-29 Leo Liu <sdl.web@gmail.com>
5500
5501 * ido.el (ido-read-internal): Use the default history var
5502 minibuffer-history if no HISTORY is specified.
5503
b62f8267
G
55042011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
5505
03408648
SM
5506 * net/imap.el (imap-shell-open, imap-process-connection-type):
5507 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
5508 Kerberos, SSL, other subprocesses.
5509
947b6566
LL
55102011-03-28 Leo Liu <sdl.web@gmail.com>
5511
5512 * abbrev.el (abbrev-table-empty-p): New function.
5513 (prepare-abbrev-list-buffer): Place empty abbrev tables after
5514 nonempty ones. (Bug#5937)
5515
5ffb62aa
JD
55162011-03-27 Jan Djärv <jan.h.d@swipnet.se>
5517
5518 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
5519
7a097943
LL
55202011-03-27 Leo Liu <sdl.web@gmail.com>
5521
5522 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
5523 for foreground and background colors.
5524 (ansi-color-make-color-map): Adapt.
5525
c5b40130
LL
55262011-03-25 Leo Liu <sdl.web@gmail.com>
5527
1f48f7d2
LL
5528 * midnight.el (midnight-time-float): Remove. Note it calculates
5529 the microsecond component incorrectly and seconds-to-time does the
5530 same job.
625897ec 5531 Remove redundant (require 'timer).
1f48f7d2 5532
c5b40130
LL
5533 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
5534 (ido-completions): Remove unused arguments. (Bug#8329)
5535
d86d2721
SM
55362011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5537
5538 * minibuffer.el (completion--flush-all-sorted-completions):
5539 Remove itself from hook.
5540 (completion-at-point): Let the functions perform the completion
5541 immediately and return nil or t.
5542 * comint.el (comint-dynamic-complete-functions): Now identical to
5543 completion-at-point-functions.
5544 (comint-dynamic-list-input-ring): Remove unused var `index'.
5545 (comint--match-partial-filename, comint--unquote&expand-filename):
5546 New funs, split from comint-match-partial-filename.
5547 (comint-dynamic-complete): Use completion-at-point.
5548 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
5549
e8974c48
DA
55502011-03-24 Drew Adams <drew.adams@oracle.com>
5551
5552 * thingatpt.el: Support `defun'.
5553
def71b5e
LL
55542011-03-23 Leo Liu <sdl.web@gmail.com>
5555
cb5af48e
LL
5556 * abbrevlist.el: Move to obsolete/abbrevlist.el.
5557
def71b5e
LL
5558 * help-mode.el (help-mode-finish): Tweak regexp.
5559
927c53e7
GM
55602011-03-23 Glenn Morris <rgm@gnu.org>
5561
18d05bed
GM
5562 * eshell/esh-opt.el (eshell-eval-using-options):
5563 Do not bind unused local variable `eshell-option-stub'.
5564
927c53e7
GM
5565 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
5566
9d0da923
JB
55672011-03-22 Juanma Barranquero <lekktu@gmail.com>
5568
5569 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
5570 keymap variable in `with-no-warnings' to avoid a warning when the
5571 keymap has been already `defconst'ed.
5572
4b978a67
LL
55732011-03-22 Leo Liu <sdl.web@gmail.com>
5574
5575 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
5576 encode all chars in abbrevs; otherwise use emacs-mule or
5577 utf-8-emacs. (Bug#8308)
5578
5fd62452
JB
55792011-03-22 Juanma Barranquero <lekktu@gmail.com>
5580
0b1596c6
JB
5581 * simple.el (backward-delete-char-untabify):
5582 Avoid warning about using `delete-backward-char'.
5583
5fd62452
JB
5584 * image.el (image-type-file-name-regexps): Make it variable.
5585 `imagemagick-register-types' modifies it, and the user may want
5586 to add new extensions for known image types.
5587 (imagemagick-register-types): Throw error if not using ImageMagick.
5588
0b4e93f1
LL
55892011-03-22 Leo Liu <sdl.web@gmail.com>
5590
5591 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
5592 located before rcirc-prompt-end-marker.
5593 (rcirc-complete): Error if point is not after rcirc prompt.
5594 Handle the case when table is nil.
9882e214 5595 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 5596
fccee4ab
CY
55972011-03-22 Chong Yidong <cyd@stupidchicken.com>
5598
5599 * custom.el (custom--inhibit-theme-enable): Make it affect only
5600 custom-theme-set-variables and custom-theme-set-faces.
5601 (provide-theme): Ignore custom--inhibit-theme-enable.
5602 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
5603 (custom-enabling-themes): Delete variable.
d86d2721
SM
5604 (enable-theme): Accept only loaded themes as arguments.
5605 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
5606 (custom-enabled-themes): Forbid themes from setting this.
5607 Eliminate use of custom-enabling-themes.
5608 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 5609
af896da6
LL
56102011-03-21 Leo Liu <sdl.web@gmail.com>
5611
5612 * ido.el (ido-read-internal): Add ido-selected to history instead
5613 of user input.
5614
78f64af0
SM
56152011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5616
5617 * subr.el (deferred-action-list, deferred-action-function):
5618 Mark obsolete.
5619
b16ac1ec
LL
56202011-03-21 Leo Liu <sdl.web@gmail.com>
5621
810f7698
LL
5622 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
5623 change on 2011-02-13 (bug#8309).
5624
b16ac1ec
LL
5625 * minibuffer.el (read-file-name-function): Change default value.
5626 (read-file-name--defaults): Rename from read-file-name-defaults.
5627 (read-file-name-default): Rename from read-file-name.
5628 (read-file-name): Call read-file-name-function.
5629
4e05e67e
GM
56302011-03-21 Glenn Morris <rgm@gnu.org>
5631
5632 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
5633 Doc fixes.
5634
4359915b
CY
56352011-03-21 Chong Yidong <cyd@stupidchicken.com>
5636
5637 * cus-theme.el: Add missing provide statement.
5638 (customize-create-theme): Extract theme value correctly.
5639 (custom-theme-visit-theme): Autoload.
5640 (customize-create-theme): Prompt before inserting default faces.
5641
1fe275ee
JB
56422011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
5643
5644 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
5645 units and musical notes.
5646
3ec03f7e
LL
56472011-03-20 Leo <sdl.web@gmail.com>
5648
5649 * ido.el (ido-read-internal): Use completing-read-default.
5650 (ido-completing-read): Fix compatibility with completing-read.
5651
7d476bde
CO
56522011-03-20 Christian Ohler <ohler@gnu.org>
5653
5654 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
5655 (ert-delete-all-tests): Use `called-interactively-p' rather than
5656 `interactive-p'.
5657 (ert--make-xrefs-region): Respect END.
5658
fe0fb33e
CY
56592011-03-19 Chong Yidong <cyd@stupidchicken.com>
5660
ff854b0b
CY
5661 * dired-aux.el (dired-create-directory): Signal an error if the
5662 directory already exists (Bug#8246).
5663
fe0fb33e
CY
5664 * facemenu.el (list-colors-display): Call list-faces-display
5665 inside with-help-window.
5666 (list-colors-print): Use display property to align the final
5667 column, instead of checking window-width.
5668
576bce32
EZ
56692011-03-19 Eli Zaretskii <eliz@gnu.org>
5670
5671 * emerge.el (emerge-metachars): Separate value for ms-dos and
5672 windows-nt systems.
5673 (emerge-protect-metachars): Quote correctly for ms-dos and
5674 windows-nt systems.
5675
89c41d68 56762011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
5677
5678 * info.el (info-initialize): Replace all uses of `:' with
5679 path-separator for compatibility with non-Unix systems.
5680 Cache quoting of path-separator. (Bug#8258)
5681
b14e3e21 56822011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
5683
5684 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
5685 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
5686 (mouse-avoidance-mode): Fix typos in docstrings.
5687
4525ce3e
CY
56882011-03-19 Chong Yidong <cyd@stupidchicken.com>
5689
5690 * startup.el (package-subdirectory-regexp): Move from package.el.
5691 Omit \\` and \\', and let callers add them.
5692
5693 * emacs-lisp/package.el (package-strip-version)
5694 (package-load-all-descriptors): Add \\` and \\' to
5695 package-subdirectory-regexp before using it.
5696 (package-untar-buffer): New arg DIR; ensure that file untars only
5697 into this expected directory. Remove superfluous delete-region.
5698 (package-unpack): Caller changed.
5699 (package-tar-file-info): Use package-subdirectory-regexp.
5700
a904a09a 57012011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 5702
a904a09a
SM
5703 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
5704 diff-mode-shared-map (bug#8284).
5705 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
5706
57072011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5708
5709 * calendar/time-date.el (format-seconds): Use assoc instead of
5710 assoc-string, since assoc-string doesn't exist in XEmacs.
5711
171fc304
JB
57122011-03-17 Juanma Barranquero <lekktu@gmail.com>
5713
5714 * custom.el (custom-known-themes): Reflow docstring.
5715 (custom-theme-load-path): Fix typo in docstring.
5716 (load-theme): Fix typo in error message.
5717 (custom-available-themes, custom-variable-theme-value):
5718 Use `let', not `let*'.
5719
d71990a1
JB
57202011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
5721
5722 * calc/README: Mention inclusion of musical notes.
5723
5724 * calc/calc-units.el (calc-lu-quant): Rename from
5725 `calc-logunits-quantity'.
5726 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
5727 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
5728 (calc-db): Rename from `calc-dblevel'.
5729 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
5730 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
5731 (calc-np): Rename from `calc-nplevel'.
5732 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
5733 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
5734 (calc-lu-plus): Rename from `calc-logunits-add'.
5735 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
5736 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
5737 (calc-lu-minus): Rename from `calc-logunits-sub'.
5738 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
5739 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
5740 (calc-lu-times): Rename from `calc-logunits-mul'.
5741 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
5742 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
5743 (calc-lu-divide): Rename from `calc-logunits-div'.
5744 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
5745 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
5746
5747 * calc/calc-ext.el (calc-init-extensions): Update the names of the
5748 functions being autoloaded.
5749
5750 * calc/calc.el (calc-lu-power-reference): Rename from
5751 `calc-logunits-power-reference'.
5752 (calc-lu-field-reference): Rename from
5753 `calc-logunits-field-reference'.
5754
5755 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
5756
40c2934b
SM
57572011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
5758
5759 * minibuffer.el (completion-all-sorted-completions):
5760 Use :completion-cycle-penalty text property if present.
5761
b0911414
KM
57622011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
5763
5764 * allout.el (allout-yank-processing): Adjust for new rebulleting
5765 regime so bullet being yanked is used without prompting the user
5766 for a choice.
5767
8a05b668
JB
57682011-03-16 Juanma Barranquero <lekktu@gmail.com>
5769
5770 * startup.el (command-line): Warn the user that _emacs is deprecated.
5771
5ba5fb81
JB
57722011-03-16 Juanma Barranquero <lekktu@gmail.com>
5773
5774 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
5775 (delphi-verbose, delphi-comment-face, delphi-string-face)
5776 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
5777 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
5778 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
5779 (delphi-new-comment-line, delphi-font-lock-defaults)
5780 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
5781 Fix typos in docstrings.
5782
2dab465b
KM
57832011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
5784
5ba5fb81 5785 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
5786 Invert the roles of character and string values for INSTEAD, so a
5787 string is used for the more common case of a defaulting prompt.
5788
0adf5618
SM
57892011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5790
5791 * progmodes/ruby-mode.el (ruby-backward-sexp):
5792 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
5793 * play/gamegrid.el (gamegrid-make-face):
5794 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
5795 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
5796 * notifications.el (notifications-notify):
5797 * net/xesam.el (xesam-search-engines):
5798 * net/quickurl.el (quickurl-list-insert):
5799 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
5800
d72700e5
CY
58012011-03-15 Chong Yidong <cyd@stupidchicken.com>
5802
5803 * startup.el (command-line): Update package subdirectory regexp.
5804
49c5410a
SM
58052011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5806
c6eee9aa
SM
5807 * allout.el (allout-abbreviate-flattened-numbering)
5808 (allout-mode-deactivate-hook): Fix up obsolescence "date".
5809
49c5410a
SM
5810 * subr.el (read-char-choice): Only show the cursor after the prompt,
5811 not after the answer.
5812
047b2bb9
KR
58132011-03-15 Kevin Ryde <user42@zip.com.au>
5814
5815 * help-fns.el (variable-at-point): Skip leading quotes, if any
5816 (bug#8253).
5817
0a57d256
SM
58182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5819
5820 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
5821 warning message.
5822
77c992bc
MA
58232011-03-14 Michael Albinus <michael.albinus@gmx.de>
5824
5825 * shell.el (shell): When called interactively, offer to change the
5826 shell file name on remote hosts.
5827
eebc475d
TZ
58282011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
5829
5830 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
5831 integration for LDAP parameters. The host, base, user or binddn,
5832 and secret tokens can be specified in a netrc file, for instance.
5833 This is optional because an `auth-source' parameter must be
5834 specified in the search attributes.
5835
9d05d1ba
JB
58362011-03-13 Juanma Barranquero <lekktu@gmail.com>
5837
5838 * help.el (describe-mode): Link to the mode's definition (bug#8185).
5839
09d9db2c
GM
58402011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
5843 into declaration. Remove redundant and harmful binding.
5844
58452011-03-12 Eli Zaretskii <eliz@gnu.org>
5846
5847 * files.el (file-ownership-preserved-p): Pass `integer' as an
5848 explicit 2nd argument to `file-attributes'. If the file's owner
5849 is the Administrators group on Windows, and the current user is
5850 Administrator, consider that a match.
5851
5852 * server.el (server-ensure-safe-dir): Consider server directory
5853 safe on MS-Windows if its owner is the Administrators group while
5854 the current Emacs user is Administrator. Use `=' to compare
5855 numerical UIDs, since they could be integers or floats.
5856
219bd536
JB
58572011-03-12 Juanma Barranquero <lekktu@gmail.com>
5858
5859 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
5860
f3afd36b
MA
58612011-03-12 Michael Albinus <michael.albinus@gmx.de>
5862
5863 Sync with Tramp 2.2.1.
5864
5865 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
5866
5867 * net/trampver.el: Update release number.
5868
3aaaa6f1
SM
58692011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5870
94642599
SM
5871 * progmodes/compile.el (compilation--previous-directory): Fix up
5872 various nil/dead-marker mismatches (bug#8014).
5873 (compilation-directory-properties, compilation-error-properties):
5874 Don't call it at a position past the one we're about to change.
5875
3aaaa6f1
SM
5876 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
5877 Disable obsolescence warnings in the file that declares it.
5878
14239447
KM
58792011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
5880
099c39a4
JB
5881 * allout-widgets.el (allout-widgets-tally):
5882 Initialize allout-widgets-tally as a hash table rather than nil to
5883 prevent mode-line redisplay warnings. Also, clarify the module
5884 description and fix a comment typo.
14239447 5885
135e287c
JB
58862011-03-11 Juanma Barranquero <lekktu@gmail.com>
5887
5888 * help-fns.el (describe-variable): Don't complete keywords.
5889 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
5890
ffbf300e
CY
58912011-03-10 Chong Yidong <cyd@stupidchicken.com>
5892
ba08b241
CY
5893 * emacs-lisp/package.el (package-version-join): Impose a standard
5894 string representation for pre/alpha/beta version lists.
5895 (package-unpack-single): Standardize the directory name by passing
5896 it through package-version-join.
5897 (package-strip-rcs-id): Accept any version string that does not
5898 signal an error in version-to-list.
ffbf300e 5899
f346fd6b
MA
59002011-03-10 Michael Albinus <michael.albinus@gmx.de>
5901
5902 * simple.el (delete-trailing-whitespace): Return nil for the
5903 benefit of `write-file-functions'.
5904
ccb55d27
GM
59052011-03-10 Glenn Morris <rgm@gnu.org>
5906
5ceaac0c
GM
5907 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
5908
02da65ff
GM
5909 * vc/vc-git.el (vc-git-program): New option.
5910 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
5911 (vc-git--call): Use it.
5912
b2f603cc
GM
5913 * eshell/esh-util.el (eshell-condition-case): Doc fix.
5914
5772caab
GM
5915 * cus-edit.el (Custom-newline): If no button at point, look
5916 for a subgroup button at start-of-line. (Bug#2298)
5917
ccb55d27
GM
5918 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
5919
ec6ecaed
JD
59202011-03-10 Julien Danjou <julien@danjou.info>
5921
5922 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
5923 `cursor-type' is nil.
5924
9d5aa01d
JB
59252011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
5926
5927 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
5928
b6a5875b
KM
59292011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
5930
5931 * allout.el Summary: Change so yank of distinctive-bullet items
5932 preserves the existing header prefix, rebulleting it if necessary,
5933 rather than replacing it. This is necessary for proper operation
5934 of cooperative addons like allout-widgets.
219bd536 5935 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
5936 SOLICIT arg to INSTEAD, and interpret additionally a string value
5937 as alternate bullet to be used, instead of prompting the user for
5938 a bullet character.
5939
ee545c35
MA
59402011-03-09 Michael Albinus <michael.albinus@gmx.de>
5941
d86d2721
SM
5942 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5943 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
5944 `tramp-default-port'.
5945
c47971d7
DD
59462011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5947
5948 * net/rcirc.el (rcirc-handler-001): Remove useless
5949 with-rcirc-process-buffer.
5950 (rcirc-check-auth-status): Swap arguments to string-match.
5951
13522cb4
GM
59522011-03-09 Glenn Morris <rgm@gnu.org>
5953
0be6f4f1
GM
5954 * shell.el (shell-mode):
5955 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
5956
13522cb4
GM
5957 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
5958 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
5959
515de2e3
CY
59602011-03-08 Chong Yidong <cyd@stupidchicken.com>
5961
5962 * emacs-lisp/package.el (package-refresh-contents)
5963 (package-menu-execute): Use condition-case-no-debug.
5964
b511b994
MA
59652011-03-08 Michael Albinus <michael.albinus@gmx.de>
5966
5967 * simple.el (shell-command-to-string): Use `process-file'.
5968
5969 * emacs-lisp/package.el (package-tar-file-info): Handle also
5970 remote files.
5971
d86d2721
SM
5972 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5973 Use `equal' for upload base check.
b511b994 5974
25bbfb31
AM
59752011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
5976
5977 * textmodes/texinfo.el (texinfo-environments):
5978 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
5979
be996521
GM
59802011-03-08 Glenn Morris <rgm@gnu.org>
5981
e9c8529f
GM
5982 * cus-start.el (cursor-in-non-selected-windows):
5983 Fix :set quoting oddness. (Bug#8192)
5984
be996521
GM
5985 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
5986 in some setf expressions. (Bug#2159)
5987
2bb5649e
CY
59882011-03-08 Chong Yidong <cyd@stupidchicken.com>
5989
5990 * custom.el (custom-available-themes): Return themes in
5991 alphabetical order.
5992
33383987 5993See ChangeLog.15 for earlier changes.
e3d51b27
MR
5994
5995;; Local Variables:
5996;; coding: utf-8
e3d51b27
MR
5997;; End:
5998
33383987 5999 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
6000
6001 This file is part of GNU Emacs.
6002
6003 GNU Emacs is free software: you can redistribute it and/or modify
6004 it under the terms of the GNU General Public License as published by
6005 the Free Software Foundation, either version 3 of the License, or
6006 (at your option) any later version.
6007
6008 GNU Emacs is distributed in the hope that it will be useful,
6009 but WITHOUT ANY WARRANTY; without even the implied warranty of
6010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6011 GNU General Public License for more details.
6012
6013 You should have received a copy of the GNU General Public License
6014 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.