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