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