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