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