Allow display-time-mail-function to return nil
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
621ef9ab
LMI
12011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
ab283561
LMI
3 * time.el (display-time-update): Allow
4 `display-time-mail-function' to return nil (bug#7158). Fix
5 suggested by Detlev Zundel.
6
fc233c9d
LMI
7 * vc/diff.el (diff): Clarify the order the file names are read
8 (bug#7111).
9
43f5740b
LMI
10 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11 the doc string (bug#7015).
12
f2182a76
LMI
13 * font-lock.el (font-lock-maximum-decoration): Mention what
14 numeric levels mean (bug#6935).
15
621ef9ab
LMI
16 * startup.el (initial-buffer-choice): Don't mention the `none'
17 selection, which is against policy.
18
adc47434
MR
192011-07-14 Martin Rudalics <rudalics@gmx.at>
20
21 * window.el (display-buffer-normalize-special): Replace
22 `dedicated' by `dedicate' to dedicate window (Bug#9072).
23
7e5bfb8f
EZ
242011-07-14 Eli Zaretskii <eliz@gnu.org>
25
26 * subr.el (version<, version<=, version=): Mention "-CVS" and
27 "-12345" alpha version numbers.
28
27fa387a
CY
292011-07-14 Chong Yidong <cyd@stupidchicken.com>
30
31 * bindings.el: Add advertised binding for set-mark-command
32 (Bug#5772).
33
8bdfa064
CY
342011-07-14 Chong Yidong <cyd@stupidchicken.com>
35
36 * bindings.el (mode-line-other-buffer):
37 * bookmark.el (bookmark-bmenu-2-window):
38 * bs.el (bs-cycle-next, bs-cycle-previous):
39 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
40 switch-to-buffer.
41
42 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
43 Deleted.
44
5eba16a3
JB
452011-07-14 Juanma Barranquero <lekktu@gmail.com>
46
47 * follow.el (follow-debug-message, follow-redisplay):
48 * jka-cmpr-hook.el (with-auto-compression-mode):
49 Fix typos in docstrings.
50
15853710
LMI
512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
52
a28e4607
LMI
53 * subr.el (with-silent-modifications): Clarify somewhat what the
54 macro inhibits (bug#6525).
55
15853710
LMI
56 * simple.el (eval-expression): Note what it does if called
57 interactively (bug#6495).
58
bee0fcef
CY
592011-07-13 Chong Yidong <cyd@stupidchicken.com>
60
61 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW. Use
62 pop-to-buffer buffer-or-name if it is nil.
63
64 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
65 Remove switch-to-buffer.
66
58274504
LMI
672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
68
bd2fcc8d
LMI
69 * files.el (make-directory): Clarify that an error will be raised
70 if there's an error (bug#6397).
71
0f04b32c
LMI
72 * startup.el (initial-buffer-choice): Add `none' as a choice
73 (bug#6234).
74
465c5fc8
LMI
75 * subr.el (add-hook): Clarify section about buffer-local hooks
76 (bug#6218).
77
58274504
LMI
78 * dired.el (dired-flagged): Clarify doc string (bug#6117).
79
bead9a43
JB
802011-07-13 Juanma Barranquero <lekktu@gmail.com>
81
82 * tabify.el (untabify): Preserve the current column so that point
83 doesn't move (bug#6032).
84
3af98a7b
LMI
852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
86
87 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock): Rewrite
88 to avoid awkward possessive "s" (bug#5986).
89
6240145a
GM
902011-07-13 Glenn Morris <rgm@gnu.org>
91
92 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
93 (dired-insert-directory): Give a message the first time
94 if ls is found not to support --dired.
95
1d8c2ccc
LMI
962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
97
98 * simple.el (toggle-truncate-lines): Clarify what is toggled
99 (bug#5580). Text by Drew Adams.
100
5fc4038e
CY
1012011-07-13 Chong Yidong <cyd@stupidchicken.com>
102
103 * simple.el (blink-matching-open): Make the error message from the
104 last change less verbose.
105
bf6012e5
DN
1062011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
107
108 * font-lock.el (font-lock-comment-face): Use the high contrast
109 "yellow" color for font-lock-comment-face on low color terminals
110 using a dark background color (bug#4221).
111
343c3b5a
LMI
1122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
113
7e9505c5
LMI
114 * dired.el (dired-insert-set-properties): Make the doc string
115 reflect what it does now (bug#5325).
116
c26fdcf5
LMI
117 * simple.el (blink-matching-open): Say that we were unable to find
118 the match within the limit, if we're limited (bug#5122).
119
bb388cc5
LMI
120 * international/mule-cmds.el (prefer-coding-system): Add an
121 example (bug#4869).
122
343c3b5a
LMI
123 * progmodes/etags.el (tags-search): Document `file-list-form'
124 (bug#4731).
125
2a517d45
LM
1262011-07-13 Lawrence Mitchell <wence@gmx.li>
127
128 * net/browse-url.el (browse-url-default-browser)
129 (browse-url-browser-function): Make the default browser choice a
130 bit more logical (bug#4300). Also clean up the doc string.
131
b6c78ef2
JB
1322011-07-13 Juanma Barranquero <lekktu@gmail.com>
133
134 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
135 binary endings (bug#4440).
136
1c4dd947
LMI
1372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
138
a2014063
LMI
139 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
140 which can be pretty annoying (bug#8971).
141
9c9c2d88
LMI
142 * jka-compr.el (jka-compr-verbose): New variable, and use
143 throughout (bug#8971).
144
1c4dd947
LMI
145 * info.el (Info-find-file): Fall back on the installation
146 directory if we can't find the info node anywhere else.
147
a1c9f41b
SO
1482011-07-13 Sergei Organov <osv@javad.com> (tiny change)
149
150 * vc/vc.el (vc-revert-file):
151 Don't set file time-stamp in the past. (Bug#5181)
152
536f3d36
LMI
1532011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
154
7152b011
LMI
155 * files.el (after-find-file): Give a better error message when
156 trying to find a symlink that points to a file that doesn't exist
157 (bug#4398).
158
536f3d36
LMI
159 * progmodes/cc-vars.el: Remove (probably) misleading comment
160 (bug#4396).
161
460c0fba
JB
1622011-07-12 Johan Bockgård <bojohan@gnu.org>
163
164 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
165
7a6bda45
CY
1662011-07-12 Chong Yidong <cyd@stupidchicken.com>
167
168 * mouse-sel.el: Hack restoring functionality, while keeping
169 compatibility with 2010-07-03 changes to mouse selection.
170 (mouse-sel-primary-overlay): New var.
171 (mouse-sel-selection-alist): Use it.
172 (mouse-sel-mode): Doc fix; remove points that are default features
173 of mouse.el.
174
c79598ef
JB
1752011-07-12 Johan Bockgård <bojohan@gnu.org>
176
177 * progmodes/compile.el (compilation-error-regexp-alist-alist):
178 Fix previous fix (bug#2490).
179
ff8be6ef
RW
1802011-07-12 Roland Winkler <winkler@gnu.org>
181
182 * textmodes/bibtex.el (bibtex-initialize): Use
183 pop-to-buffer-same-window.
184 (bibtex-search-entries): Fix interactive call.
185
296ba3ee
LMI
1862011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
187
f5242a02
LMI
188 * progmodes/compile.el (compilation-error-regexp-alist-alist):
189 Fontise bytecomp Error lines more correctly (bug#2490). Fix
190 suggested by Johan Bockgård.
191
296ba3ee
LMI
192 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
193
194 * dired-x.el (dired-guess-default): Use `delete-dups'.
195
f69fd0d2
CY
1962011-07-12 Chong Yidong <cyd@stupidchicken.com>
197
198 * dired.el (dired-mark-prompt):
199 * dired-aux.el (dired-read-shell-command): Doc fix.
200
eab5dc07
LMI
2012011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
202
9988520a
LMI
203 * mail/sendmail.el (sendmail-query-once): Use
204 `customize-save-variable' unconditionally, now that it works under
205 emacs -Q.
206
207 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
208
eab5dc07
LMI
209 * cus-edit.el (custom-file): Take an optional no-error variable.
210 (customize-save-variable): Set the variable, and give a warning if
211 running under "emacs -q".
212
a1e65d42
JB
2132011-07-11 Juanma Barranquero <lekktu@gmail.com>
214
215 * loadhist.el (unload-feature-special-hooks):
216 Add `auto-coding-functions', `fill-nobreak-predicate' and
217 `find-directory-functions' (bug#5327).
218
1d52da10
LMI
2192011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
220
be958f1d
LMI
221 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
222
5bedb26c
LMI
223 * cus-edit.el (custom-guess-name-alist): -alist variables should
224 use the `alist' type (bug#3120). Suggested by Drew Adams.
225
1d52da10
LMI
226 * printing.el: Add documentation to all the `pr-toggle-' commands.
227
481a51b6
LL
2282011-07-11 Leo <sdl.web@gmail.com> (tiny change)
229
230 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
231 backends where it makes sense (bug#2623).
232
dcc88d8a
LMI
2332011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
234
c3de9feb
LMI
235 * dired-x.el (dired-guess-default): Remove duplicate shell command
236 entries (bug#2028).
8a93078b 237 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 238 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 239
dcc88d8a
LMI
240 * subr.el (remove-duplicates): New conveniency function.
241
505e3645
LMI
2422011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
243
244 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
245 (bug#1526).
246
2472011-07-10 Martin Rudalics <rudalics@gmx.at>
248
249 * window.el (display-buffer-normalize-default): Don't invert
250 meaning of even-window-heights. Reported by Eli Zaretskii
251 <eliz@gnu.org>.
252
455e4fa1
BR
2532011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
254
255 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
256
8e0bc3e9
CY
2572011-07-10 Chong Yidong <cyd@stupidchicken.com>
258
259 * window.el (display-buffer): Fix arguments to
260 display-buffer-reuse-window in last change.
261
fa7c3228
CY
262 * faces.el (link): Use a less saturated blue on light backgrounds.
263
264 * startup.el (fancy-startup-text, fancy-about-text)
265 (fancy-startup-tail): Use font-lock faces, for background safety.
266
c0a7f300
BN
2672011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
268
269 * emulation/viper-cmd.el (viper-change-state-to-vi): Limit
270 triggering of abbrev expansion (Bug#9038).
271
4dc2a129
MR
2722011-07-09 Martin Rudalics <rudalics@gmx.at>
273
274 * window.el (display-buffer-default-specifiers): Remove.
275 (display-buffer-macro-specifiers): Remove default specifiers.
276 (display-buffer-alist): Default to nil.
277 (display-buffer-reuse-window): New optional argument
278 other-window.
279 (display-buffer-pop-up-window): Allow splitting internal
280 windows. Check whether a live window was created.
281 (display-buffer-other-window-means-other-frame)
282 (display-buffer-normalize-arguments): Rename to
283 display-buffer-normalize-argument and rewrite. Set the
284 other-window specifier.
285 (display-buffer-normalize-special): New function.
286 (display-buffer-normalize-options): Rename to
287 display-buffer-normalize-default and rewrite.
288 (display-buffer-normalize-options-inhibit): Remove.
289 (display-buffer-normalize-specifiers): Rewrite.
290 (display-buffer): Process other-window specifier and call
291 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
292 more faithfully.
293 (pop-up-windows, even-window-heights): Restore Emacs 23 default
294 values.
295 (display-buffer-alist-set): Don't handle 'unset default values.
296 (display-buffer-in-window, display-buffer-alist-set): Replace
297 symbol "dedicated" by "dedicate". Reported by Tassilo Horn
298 <tassilo@member.fsf.org>.
299
2d43b8c9
LL
3002011-07-09 Leo Liu <sdl.web@gmail.com>
301
302 * register.el (insert-register): Restore accidental change on
303 2011-06-26. (Bug#9028)
304
7f9b7c53
GM
3052011-07-09 Glenn Morris <rgm@gnu.org>
306
307 * subr.el (remq): Handle the empty list. (Bug#9024)
308
f042cfd8
AS
3092011-07-08 Andreas Schwab <schwab@linux-m68k.org>
310
311 * mail/sendmail.el (send-mail-function): No longer delay custom
312 initialization.
313 * custom.el (custom-initialize-delay): Doc fix.
314
856b2f11
SM
3152011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
318
afae1d68
MA
3192011-07-08 Michael Albinus <michael.albinus@gmx.de>
320
321 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
322 human-friendly prompt.
323
0757af94
SM
3242011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
325
326 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
327 provided by a particular plugin.
328
d760b731
LMI
3292011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
330
331 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
332 save customizations (with "emacs -Q"), just set the variable
333 instead of erroring out.
334
335 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
336
cd79ce90
JL
3372011-07-08 Juri Linkov <juri@jurta.org>
338
339 * arc-mode.el (archive-zip-expunge, archive-zip-update)
340 (archive-zip-update-case): Use 7z if found by `executable-find'.
341 The order of searching the available programs is the same as in
342 `archive-zip-extract' (bug#8968).
343
14cc04aa
CY
3442011-07-07 Chong Yidong <cyd@stupidchicken.com>
345
346 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
347 (menu-bar-options-menu): Tweak descriptions.
348
0a1848ec
LMI
3492011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
350
351 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
352 menu items into verb phrases (bug#1421). Also refill to fit under
353 80 columns.
354
f5bd0689
CY
3552011-07-07 Chong Yidong <cyd@stupidchicken.com>
356
538e85c6
CY
357 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
358 (Info-read-node-name): Doc fix (Bug#1084).
359
f5bd0689
CY
360 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
361 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
362 (end-of-sexp, beginning-of-sexp)
363 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
364 (forward-symbol, forward-same-syntax, word-at-point)
365 (sentence-at-point): Doc fix (Bug#1144).
366
56ec5115
LMI
3672011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
368
f3f8e37f
LMI
369 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
370 should cover it (bug#1281).
371
0757af94 372 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 373
12b9eb35
LMI
374 * net/network-stream.el (network-stream-open-starttls): If gnutls
375 negotiation fails, then possibly try again with a non-encrypted
376 connection (bug#9017).
377
56ec5115
LMI
378 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
379 be used.
380
c2f9aec8
RS
3812011-07-07 Richard Stallman <rms@gnu.org>
382
383 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
384 property, and handle its changed format.
385 Look for the correct line number.
386 Use file's line contents (but not past first =) to find
387 correct line in message.
388
ef7b981d 3892011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
390
391 * international/characters.el (build-unicode-category-table):
392 Delete it.
0757af94 393 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 394
0757af94 395 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
396 to src/chartab.c.
397 (get-char-code-property): Call unicode-property-table-internal to
398 load a file. Call get-unicode-property-internal where necessary.
399 (put-char-code-property): Call unicode-property-table-internal to
400 load a file. Call put-unicode-property-internal where necessary.
401 put-unicode-property-internal where necessary.
0757af94
SM
402 (char-code-property-description):
403 Call unicode-property-table-internal to load a file.
c805dec0
KH
404
405 * international/charprop.el:
406 * international/uni-bidi.el:
407 * international/uni-category.el:
408 * international/uni-combining.el:
409 * international/uni-comment.el:
410 * international/uni-decimal.el:
411 * international/uni-decomposition.el:
412 * international/uni-digit.el:
413 * international/uni-lowercase.el:
414 * international/uni-mirrored.el:
415 * international/uni-name.el:
416 * international/uni-numeric.el:
417 * international/uni-old-name.el:
418 * international/uni-titlecase.el:
419 * international/uni-uppercase.el: Regenerate.
420
421 * loadup.el: Load international/charprop.el before
422 international/characters.
423
e14b388a
CY
4242011-07-07 Chong Yidong <cyd@stupidchicken.com>
425
426 * window.el (next-buffer, previous-buffer): Signal an error if
427 called from a minibuffer window.
428
429 * bindings.el: Revert 2011-07-04 change.
430
354cf0ba
RS
4312011-07-06 Richard Stallman <rms@gnu.org>
432
433 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
434 (rmail-mime-insert-bulk, rmail-mime-insert-text):
435 Treat markers like ints.
436 (rmail-mime-entity): Doc fix.
437
a48868a7
LMI
4382011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
439
4906cd3d
LMI
440 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
441 defcustom again for backwards compatibility.
442
e0457abe
LMI
443 * simple.el (shell-command-on-region): Fill.
444
d67f7e1f
LMI
445 * dired-aux.el (dired-kill-line): Add a doc string.
446
fe204702
LMI
447 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
448 to "\\sw\\|\\s_" (bug#358).
449
a48868a7
LMI
450 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
451 (dired-unmark-backward): Ditto.
452 (dired-flag-backup-files): Ditto.
453
454 * dired-x.el (dired-mark-sexp): Ditto.
455
aa8a705c
RS
4562011-07-06 Richard Stallman <rms@gnu.org>
457
458 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
459 (rmail-mime-entity): New arg TRUNCATED.
460 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
461 New functions.
462 (rmail-mime-save): Warn if entity is truncated.
463 (rmail-mime-toggle-hidden): Likewise, for showing.
464 (rmail-mime-process-multipart): Record when an entity is truncated.
465
a9a936b9
RS
466 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
467 if ENTITY is a string.
468
1f2b92cb
LMI
4692011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
470
f4f73198 471 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
472 of faces when `M-C-x'-ing their definitions (bug#8378).
473 Also clean up the code slightly.
f4f73198 474
12b16734
LMI
475 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
476 because that makes the colours go away.
477
f0691d22
LMI
478 * mail/sendmail.el (send-mail-function): Change the default to
479 `sendmail-query-once'.
9e87df06 480 (sendmail-query-once): Add an autoload cookie.
f0691d22 481
1f2b92cb
LMI
482 * net/network-stream.el (network-stream-open-starttls): Try using
483 a plain connection even if the server offered STARTTLS, and we
484 kinda wanted to use it, if Emacs doesn't have any STARTTLS
485 capability. This should make smtpmail.el work in slightly more
486 configurations.
487
1cdd2a1b
MA
4882011-07-06 Michael Albinus <michael.albinus@gmx.de>
489
490 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
491 New defun.
492 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
493
fbcc67e2
MM
4942011-07-06 Michael R. Mauger <mmaug@yahoo.com>
495
496 * progmodes/sql.el: Version 3.0
0757af94 497 (sql-product-alist): Add product :completion-object,
fbcc67e2 498 :completion-column, and :statement attributes.
0757af94 499 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 500 (sql-mode-syntax-table): Mark all punctuation.
0757af94 501 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
502 ansi keywords.
503 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 504 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
505 (sql-oracle-show-reserved-words): New function for development.
506 (sql-product-font-lock): Simplify for source code buffers.
507 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
508 New functions.
509 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
510 (sql-mode-map): Add statement movement functions.
511 (sql-ansi-statement-starters, sql-oracle-statement-starters):
512 New variable.
fbcc67e2
MM
513 (sql-statement-regexp, sql-beginning-of-statement)
514 (sql-end-of-statement, sql-signum): New functions.
0757af94 515 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
516 (sql-show-sqli-buffer): Bug fix.
517 (sql-interactive-mode): Store connection data as buffer local.
0757af94 518 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
519 with sql-interactive-mode.
520 (sql-save-connection): Save buffer local settings.
0757af94 521 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
522 (sql-product-interactive): Bug fix.
523 (sql-preoutput-hold): New variable.
524 (sql-interactive-remove-continuation-prompt): Bug fixes.
525 (sql-debug-redirect): New variable.
526 (sql-str-literal): New function.
527 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 528 Redesign.
fbcc67e2
MM
529 (sql-oracle-save-settings, sql-oracle-restore-settings)
530 (sql-oracle-list-all, sql-oracle-list-table): New functions.
531 (sql-completion-object, sql-completion-column)
532 (sql-completion-sqlbuf): New variables.
533 (sql-build-completions-1, sql-build-completions)
534 (sql-try-completion): New functions.
535 (sql-read-table-name): Use them.
536 (sql-contains-names): New buffer local variable.
537 (sql-list-all, sql-list-table): Use it.
538 (sql-oracle-completion-types): New variable.
539 (sql-oracle-completion-object, sql-sqlite-completion-object)
540 (sql-postgres-completion-object): New functions.
541
d4eaeab1
GM
5422011-07-06 Glenn Morris <rgm@gnu.org>
543
544 * window.el (pop-to-buffer): Doc fix.
545
322b7dab 5462011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
547
548 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
549
322b7dab 5502011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 551
322b7dab 552 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 553
322b7dab 554 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 555
605dd5bf
CY
5562011-07-05 Chong Yidong <cyd@stupidchicken.com>
557
558 * button.el (button): Inherit from link face. Suggested by Dan
559 Nicolaescu.
560
7dbfa719
SM
5612011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
562
3db614b0
SM
563 * progmodes/gdb-mi.el: Fit in 80 columns.
564 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
565 switch-to-buffer.
566
7dbfa719
SM
567 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
568 if imenu is simply not configured (bug#8941).
569
919d884a
KM
5702011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
571
572 * allout.el (allout-post-undo-hook): New allout outline-change
573 event hook to signal undo activity.
574 (allout-post-command-business): Run allout-post-undo-hook if an
575 undo just occurred.
7dbfa719
SM
576 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
577 * allout-widgets.el (allout-widgets-after-undo-function):
578 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
579 in the vicinity of an undo.
580 (allout-widgets-mode): Include allout-widgets-after-undo-function
581 on the new allout-post-undo-hook.
582
450a0f09
SM
5832011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
584
585 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
586 Let define-derived-mode define it.
587 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
588 cycles of abbrev-table inheritance (bug#8998).
589
2de69e00
RW
5902011-07-05 Roland Winkler <winkler@gnu.org>
591
592 * textmodes/bibtex.el: Add support for biblatex.
593 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
594 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
595 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
596 (bibtex-entry-alist, bibtex-field-alist): New variables.
597 (bibtex-entry-field-alist): Obsolete alias for
598 bibtex-BibTeX-entry-alist.
599 (bibtex-entry-alist, bibtex-field-alist): New widgets.
600 (bibtex-set-dialect): New command.
601 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
602 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
603 Bind via bibtex-set-dialect.
2de69e00
RW
604 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
605 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
606 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
607 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
608 Define via bibtex-set-dialect.
450a0f09
SM
609 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
610 Obey bibtex-no-opt-remove-re.
2de69e00
RW
611 (bibtex-vec-push, bibtex-vec-incr): New functions.
612 (bibtex-format-entry, bibtex-field-list)
613 (bibtex-print-help-message, bibtex-validate)
614 (bibtex-search-entries): Use new format of bibtex-entry-alist.
615
2dcdbdd9
SM
6162011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
617
618 * progmodes/compile.el (compilation-goto-locus):
619 * net/tramp-cmds.el (tramp-append-tramp-buffers):
620 * bs.el (bs-cycle-next, bs-cycle-previous):
621 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
622 * bindings.el (mode-line-other-buffer):
623 * autoinsert.el (auto-insert):
624 * arc-mode.el (archive-extract):
625 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
626
b27640fe
JB
6272011-07-05 Juanma Barranquero <lekktu@gmail.com>
628
629 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
630 Fix check of `emacs-lock-unlockable-modes'.
631 Coerce true values of `emacs-lock--try-unlocking' to t.
632
53bbe3ad
JB
6332011-07-05 Juanma Barranquero <lekktu@gmail.com>
634
635 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
636 * emacs-lock.el: New file.
637
1d3cdbc7
JD
6382011-07-05 Julien Danjou <julien@danjou.info>
639
640 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
641 than `boundp' to check if face is set.
642
9173deec
JB
6432011-07-05 Juanma Barranquero <lekktu@gmail.com>
644
645 * register.el (registerv-make):
646 * window.el (window-min-height): Fix typos in docstrings.
647
869795d6
JD
6482011-07-05 Jan Djärv <jan.h.d@swipnet.se>
649
9173deec 650 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
651 Update doc string.
652
b768cdcd
JB
6532011-07-04 Juanma Barranquero <lekktu@gmail.com>
654
655 * server.el (server-execute): Catch quit and call
656 `server-return-error' to pass the error back to emacsclient and
657 close the connection (bug#8942).
658
13aa217b
KM
6592011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
660
661 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
662 insecure exception for current topic. Also note that auto-saves
663 are handled differently.
664
665 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
666 State variables for tracking auto-save inhibition situation.
667
668 (allout-write-contents-hook-handler): Rename from
669 'allout-write-file-hook-handler', and describe how it depends on
670 write-contents-functions sensitivity to non-nil value to prevent
671 file write.
672
673 (allout-auto-save-hook-handler): Remove. auto-save does not check
674 this in individual buffers, only in the starting buffer, so this
675 is not the right way for us to inhibit auto-save in a buffer
676 according to its condition.
677
678 (allout-mode): Use new allout-write-contents-hook-handler, and
679 only with write-contents-functions. Remove auto-save provisions -
680 they're implemented elsewhere.
681
682 (allout-before-change-handler): If undo is in progress, note that
683 for attention of allout-post-command-business.
684
685 (allout-post-command-business): If the command we're following was
686 an undo, check for change in the status of encrypted items and
687 adjust auto-save inhibitions accordingly.
688
689 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
690 according to whether there are or aren't any plain-text topics
691 pending encryption.
692
2dcdbdd9
SM
693 (allout-inhibit-auto-save-info-for-decryption):
694 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
695 there are plain-text topics pending encryption.
696
697 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
698 buffer-saved-size and some allout state to not inhibit auto-saves
699 if there are no longer any plain-text topics pending encryption.
700
0757af94
SM
701 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
702 No longer provide for exemption of the current topic.
13aa217b 703
ac89b32c
JL
7042011-07-04 Juri Linkov <juri@jurta.org>
705
706 Add 7z operations to delete and save changed members (bug#8968).
707 * arc-mode.el (archive-7z-expunge, archive-7z-update):
708 New defcustoms.
709 (archive-7z-write-file-member): New function.
710 (archive-7z-summarize): Fix the number of dashes in the
711 listing output.
712
8fa39615
SM
7132011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
714
715 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
716 (bug#8958).
717
2f11b3f1
CY
7182011-07-04 Chong Yidong <cyd@stupidchicken.com>
719
d66fef2b
CY
720 * bindings.el: Ignore next-buffer and previous-buffer in
721 minibuffer-local-map.
722
2f11b3f1
CY
723 * font-lock.el (font-lock-builtin-face): Change light background
724 color to dark slate blue (Bug#6693).
725
f932a347
WD
7262011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
727
728 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
729
c8af70e1
SM
7302011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
731
732 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
733 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
734 Add switch-to-buffer.
735
f158badc
LMI
7362011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
737
738 * isearch.el (isearch-search-fun-function): Clarify further the
739 meaning of the function returned.
740
6d95bd46
MA
7412011-07-04 Michael Albinus <michael.albinus@gmx.de>
742
743 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
744
745 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
746 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
747 Use it.
748 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
749 `tramp-default-remote-path' does not exist.
750 (tramp-send-command-and-read): New optional argument NOERROR.
751 (tramp-open-connection-setup-interactive-shell)
752 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
753 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
754 (tramp-process-sentinel): Flush also process' connection property.
755 (tramp-sh-handle-start-file-process): Do not set process
756 sentinel. It is done now ...
757 (tramp-maybe-open-connection): ... here. (Bug#8929)
758
909e6b67
MK
7592011-07-04 MON KEY <monkey@sandpframing.com>
760
761 * play/animate.el (animate-string): Doc fixes and allow changing
762 the buffer name (bug#5417).
763
7642011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
765
c8af70e1 766 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 767
f34755dc
PE
7682011-07-04 Paul Eggert <eggert@cs.ucla.edu>
769
396cec72
PE
770 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
771 This is simpler and helps future-proof the code.
772 (timer-until): Use time-subtract and float-time.
08235028 773 (timer--time-less-p): Use time-less-p.
f34755dc 774
56e6cc31
JB
7752011-07-04 Juanma Barranquero <lekktu@gmail.com>
776
3abb79e5
JB
777 * type-break.el (timep): Use the value of `float-time' to avoid a
778 byte-compiler warning.
779
56e6cc31
JB
780 * server.el (server-eval-and-print): Return any result, even nil.
781
7b9430b4
PE
7822011-07-03 Paul Eggert <eggert@cs.ucla.edu>
783
784 * type-break.el: Accept time formats that the builtins accept.
785 (timep, type-break-time-difference): Accept any format that
786 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
787 This is simpler and helps future-proof the code.
788 (type-break-time-difference): Round rather than ignoring
789 subseconds components.
790
3034e9e7
LMI
7912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
792
793 * info.el (Info-apropos-matches): Make non-interactive, since it
794 doesn't seem to do anything useful as a command (bug#8829).
795
1485f4c0
CY
7962011-07-03 Chong Yidong <cyd@stupidchicken.com>
797
798 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 799 Move from faces.el.
1485f4c0
CY
800 (frame-default-terminal-background): New function.
801
802 * custom.el (custom-push-theme): Don't record faces in `changed'
803 theme; this doesn't work correctly for per-frame face settings.
804 (disable-theme): Use face-set-after-frame-default to reset faces.
805 (custom--frame-color-default): New function.
806
9fa3dd45
LMI
8072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
808
c8af70e1 809 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
810 (bug#8769).
811
6cbbc20c
KR
8122011-03-29 Kevin Ryde <user42@zip.com.au>
813
814 * progmodes/compile.el (compilation-error-regexp-alist-alist):
815 `perl-Test2' extend to match possible "fail #N" rep count
816 (bug#8377).
817
c7f98048
LMI
8182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
819
65676592
LMI
820 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
821 `smtpmail-via-smtp' now returns the error instead of nil.
822
c7f98048
LMI
823 * isearch.el (isearch-search-fun-function): Clarify the doc string
824 (bug#8101).
825
56e6cc31 8262011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
827
828 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
829 unnecessary spaces (bug#8987).
830
2b216704
LMI
8312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
832
833 * net/network-stream.el (open-network-stream): Use the
834 :end-of-capability command thoughout.
835
8362011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
837
838 * net/network-stream.el (open-network-stream): Add the
839 :end-of-capability command parameter, used by pop3.el.
840
36adf6ce
LMI
8412011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
842
1ca0da0e
LMI
843 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
844
fc00f69c
LMI
845 * fringe.el (fringe-query-style): Remove redundant text " (type ?
846 for list)" (bug#6475).
847
28fd8759
LMI
848 * files.el (file-expand-wildcards): Ignore non-readable
849 sub-directories while trying to find matches instead of signalling
850 an error (bug#6297).
851
0dd8b6da
LMI
852 * man.el (Man-reference-regexp): Allow matching possible
853 word-wrapped references (bug#6289).
854
ce1438d6
LMI
855 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
856 for consistency with the other vc buffers (bug#6197).
857 (vc-checkin): Ditto.
858
859 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
860
36adf6ce
LMI
861 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
862
e83cc1f7
LMI
8632011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
864
8a20ca4c
LMI
865 * custom.el (defcustom): Clarify that :set is only used in the
866 Customize user interface (bug#6089).
867
83319045
LMI
868 * progmodes/flymake.el (flymake-mode): If the buffer isn't
869 associated with a file, refuse to run instead of erroring out
870 (bug#6084).
871
a8392169
LMI
872 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
873 the doc string, since it appears that using `fill-column' always
874 controls the width (bug#7845).
875
e83cc1f7
LMI
876 * simple.el (shell-command-on-region): Say where the error output
877 went if `shell-command-default-error-buffer' is set (bug#6857).
878
e47ca23b
KM
8792011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
880
881 * allout.el (allout-yank-processing): Adjust cursor position for
882 backwards-deleted space.
883
884 (allout-rebullet-heading): Register changes with
885 allout-exposure-changed-hook, so the modified topic is properly
886 decorated.
887
5cf56143
LMI
8882011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
889
08549772
LMI
890 * minibuffer.el (completion-in-region): Document PREDICATE
891 (bug#7136).
892
48e96771
LMI
893 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
894 of keyword/argument pairs (bug#6904).
895
c8af70e1
SM
896 * replace.el (multi-occur):
897 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 898
e17d05e2
LMI
8992011-07-02 Drew Adams <drew.adams@oracle.com>
900
901 * dired.el (dired-mark-if): Make the message about whether it's
902 marking or unmarking clearer (bug#8523).
903
063b0e45
LMI
9042011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
905
906 * disp-table.el (display-table-print-array): New function.
907 (describe-display-table): Use it to print the vectors more pretty
908 (Bug#8859).
909
28545e04
MR
9102011-07-02 Martin Rudalics <rudalics@gmx.at>
911
912 * window.el (window-state-get-1): Don't assign clone numbers.
913 Add clone-of item to list of window parameters.
914 (window-state-put-2): Don't process clone numbers.
915 (display-buffer-alist): Fix doc-string.
916
3349e122
SM
9172011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
918
919 * subr.el (remq): Don't allocate if it's not needed.
920 (keymap--menu-item-binding, keymap--menu-item-with-binding)
921 (keymap--merge-bindings): New functions.
922 (keymap-canonicalize): Use them to refine the canonicalization.
923 * minibuffer.el (minibuffer-local-completion-map)
924 (minibuffer-local-must-match-map): Move initialization from C.
925 (minibuffer-local-filename-completion-map): Move initialization from C;
926 don't inherit from anything here.
927 (minibuffer-local-filename-must-match-map): Make obsolete.
928 (completing-read-default): Use make-composed-keymap to combine
929 minibuffer-local-filename-completion-map with either
930 minibuffer-local-must-match-map or
931 minibuffer-local-filename-completion-map.
932
d224ac83
GM
9332011-07-01 Glenn Morris <rgm@gnu.org>
934
3de63bf8
GM
935 * type-break.el (type-break-time-sum): Use dolist.
936
d224ac83
GM
937 * textmodes/flyspell.el (flyspell-word-search-backward):
938 Replace CL function.
939
1a1e3f32
SM
9402011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
941
fe3f64d5
SM
942 * mouse.el (mouse--strip-first-event): New function.
943 (function-key-map): Use it to map fringe clicks to normal clicks
944 by default.
945
eb604e34
SM
946 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
947 (vc-bzr-revision-completion-table): Add support for annotate and date.
948
1a1e3f32
SM
949 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
950 inherit from parent.
951
5bd35902
LMI
9522011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
953
ace6c69c 954 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 955 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 956
191e2bed
LMI
957 * dired.el (dired-mode): Fix up the doc string as suggested by
958 Drew Adams (bug#8817).
959
5bd35902
LMI
960 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
961 cookie, since the manual says that it should be possible to add
962 this function to `find-file-hook' (bug#8709).
963
eee8207a
TZ
9642011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
965
966 * progmodes/cfengine.el: Moved all cfengine3.el functionality
967 here. Noted Ted Zlatanov as the maintainer.
968 (cfengine-common-settings, cfengine-common-syntax): New functions
969 to set up common things between `cfengine-mode' and
970 `cfengine3-mode'.
971 (cfengine3-mode): New mode.
972 (cfengine3-defuns cfengine3-defuns-regex
973 (cfengine3-class-selector-regex cfengine3-category-regex)
974 (cfengine3-vartypes cfengine3-font-lock-keywords)
975 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 976 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 977
36b148cf
MA
9782011-07-01 Michael Albinus <michael.albinus@gmx.de>
979
980 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
981
982 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
983
0bf4ba9a
MR
9842011-07-01 Martin Rudalics <rudalics@gmx.at>
985
986 * window.el (same-window-buffer-names, same-window-regexps)
987 (same-window-p, special-display-frame-alist)
988 (special-display-popup-frame, special-display-function)
989 (special-display-buffer-names, special-display-regexps)
990 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
991 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
992 (split-window-preferred-function, split-height-threshold)
993 (split-width-threshold, even-window-heights)
994 (display-buffer-mark-dedicated, window-splittable-p)
995 (split-window-sensibly, window-safely-shrinkable-p):
996 Un-obsolete.
997 (display-buffer): Don't spread args with function specifier
998 because special-display-popup-frame won't like it.
999
35837f51
PE
10002011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1001
d0672f86
PE
1002 Time-stamp simplifications and fixes.
1003 These improve accuracy slightly, and future-proof the code
1004 against some potential changes to current-time format.
1005
b9444d97
PE
1006 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
1007 by using time-since and float-time.
1008
0ef923dc
PE
1009 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
1010 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
1011 + NNN microseconds".
1012
2f81380d
PE
1013 * type-break.el (type-break-time-sum): Rewrite using time-add.
1014
845b5c3e
PE
1015 * play/hanoi.el (hanoi-current-time-float): Remove.
1016 All uses replaced by float-time.
1017
ee6f1be0
PE
1018 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
1019 This yields a more-accurate answer.
1020 (rng-time-to-float): Remove; no longer needed.
1021
fe955043
PE
1022 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
1023
5777162a
PE
1024 * calendar/timeclock.el (timeclock-seconds-to-time):
1025 Defalias to seconds-to-time, since they're the same thing.
1026
3103f8b6 1027 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 1028 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
1029 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
1030
0e61a35f
SM
10312011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1032
1033 * window.el (bury-buffer): Don't iconify the only frame.
1034 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
1035 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
1036
ddd63a1e
CY
10372011-07-01 Chong Yidong <cyd@stupidchicken.com>
1038
0e61a35f
SM
1039 * eshell/em-smart.el (eshell-smart-display-navigate-list):
1040 Add mouse-yank-primary.
ddd63a1e 1041
055f4923
TZ
10422011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1043
1044 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
1045
6a2fb145
SM
10462011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1047
1048 * emacs-lisp/find-func.el (find-library--load-name): New fun.
1049 (find-library-name): Use it to find relative load names when provided
1050 absolute file name (bug#8803).
1051
fd4983f2
LMI
10522011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1053
887d14ad
LMI
1054 * textmodes/flyspell.el (flyspell-word): Consider words that
1055 differ only in case as potential doublons (bug#5687).
1056
c53dc7fc
LMI
1057 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
1058 Remove two rather uninteresting debugging-like messages to make
1059 debbugs.el more silent.
1060
fd4983f2
LMI
1061 * comint.el (comint-password-prompt-regexp): Accept "Response" as
1062 a password-like phrase.
1063
b14c0c55
AM
10642011-06-30 Mastake YAMATO <yamato@redhat.com>
1065
1066 * progmodes/cc-guess.el: New file.
1067
6a2fb145 1068 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
1069
1070 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
1071 derived from `c-basic-common-init'.
1072
1073 * progmodes/cc-mode.el (top-level): Require cc-guess.
1074 (c-basic-common-init): Use `cc-choose-style-for-mode'.
1075
1fa280a3
LM
10762011-06-30 Lawrence Mitchell <wence@gmx.li>
1077
1078 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
1079
e6597158
AM
10802011-06-30 Alan Mackenzie <acm@muc.de>
1081
1fa280a3
LM
1082 * progmodes/cc-engine.el (c-guess-continued-construct):
1083 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
1084 lock is disabled. Name this case as "CASE G".
1085
68ba37fb
KM
10862011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
1087
1088 * allout.el (allout-yank-processing): Fix injection of extra space
1089 between bullet and non-whitespace character in first topic when
1090 pasting, ensuring that the actual spacing in the pasted topic
1091 following the bullet char is preserved. This extra space was
1092 causing pasted encrypted topics to get a decrypted status even
1093 when the content was actually still encrypted. Now the decryption
1094 status from before the paste is preserved.
1095
1096 (allout-flag-region): Set all allout overlays so they evaporate
1097 when reduced to zero length (evanescent), to prevent overlay
1098 leakage.
1099
887a0b34
GM
11002011-06-30 Glenn Morris <rgm@gnu.org>
1101
94b9acce
GM
1102 * w32-fns.el (w32-charset-info-alist): Declare.
1103
1d9b46d4
GM
1104 * find-dired.el (find-grep-options): Simplify.
1105
cc232200
GM
1106 * term/ns-win.el (ns-set-resource): Declare.
1107
28e77c46
GM
1108 * ses.el (row, col): Declare dynamic variables honestly.
1109
887a0b34
GM
1110 * textmodes/reftex-parse.el (index-tags): Declare.
1111
658d8eb8
CY
11122011-06-30 Chong Yidong <cyd@stupidchicken.com>
1113
1114 * cus-edit.el (customize-push-and-save): New function.
1115
1116 * files.el (hack-local-variables-confirm): Use it.
1117
1fa280a3
LM
1118 * custom.el (load-theme): New arg NO-CONFIRM.
1119 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
1120 (custom-enabled-themes): Doc fix.
1121
1122 * cus-theme.el (customize-create-theme)
1123 (custom-theme-merge-theme): Callers to load-theme changed.
1124
bb617717
LMI
11252011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1126
d61bdd5d
LMI
1127 * thingatpt.el (thing-at-point-short-url-regexp): Require that
1128 short URLs have at least one dot in them (bug #7614).
1129
bb617717
LMI
1130 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
1131 nil, because using a pty is apparently too slow (bug #895).
1132
2f31f37a
LMI
11332011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1134
1135 * mail/sendmail.el (sendmail-query-once): New function.
1136 (sendmail-query-once-function): New variable.
1137
3076b24e
GM
11382011-06-29 Glenn Morris <rgm@gnu.org>
1139
faf2a174
GM
1140 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
1141
3076b24e
GM
1142 * ses.el (top-level): Require cl when compiling.
1143 (ses-set-localvars): Fix error statement.
1144 Call it at compile time to silence a storm of warnings.
1145
5386012d
MR
11462011-06-29 Martin Rudalics <rudalics@gmx.at>
1147
1148 * window.el (normalize-live-buffer): Rename to
1149 window-normalize-buffer.
1150 (normalize-live-frame): Rename to window-normalize-frame.
1151 (normalize-any-window): Rename to window-normalize-any-window.
1152 (normalize-live-window): Rename to window-normalize-live-window.
1153 (make-window-atom): Rename to window-make-atom.
1154 (window-resize-reset): Rename to window--resize-reset.
1155 (window-resize-reset-1): Rename to window--resize-reset-1.
1156 (resize-mini-window): Rename to window--resize-mini-window.
1157 (resize-subwindows-skip-p): Rename to
1158 window--resize-subwindows-skip-p.
1159 (resize-subwindows-normal): Rename to
1160 window--resize-subwindows-normal.
1161 (resize-subwindows): Rename to window--resize-subwindows.
1162 (resize-other-windows): Rename to window--resize-siblings.
1163 (resize-this-window): Rename to window--resize-this-window.
1164 (resize-root-window): Rename to window--resize-root-window.
1165 (resize-root-window-vertically): Rename to
1166 window--resize-root-window-vertically.
1167 (normalize-buffer-to-display): Rename to
1168 window-normalize-buffer-to-display.
1169 (normalize-buffer-to-switch-to): Rename to
1170 window-normalize-buffer-to-switch-to.
1171 Correspondingly update all callers of the functions listed
1172 above.
1173 (display-buffer-alist, display-buffer-normalize-arguments)
1174 (display-buffer-normalize-options, display-buffer)
1175 (display-buffer-alist-set): Use "function" instead of
1176 "fun-with-args".
1177
1176868d
CY
11782011-06-28 Chong Yidong <cyd@stupidchicken.com>
1179
1180 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
1181 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
1182 debbugs.gnu.org. Mention acknowledgment email.
1183
20a7a65f
LMI
11842011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
1185
1186 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
1187 buffer multibyteness, since it shouldn't matter.
1188
5f45cca5
MR
11892011-06-28 Martin Rudalics <rudalics@gmx.at>
1190
1191 * window.el (display-buffer-in-side-window): Handle dedicated
1192 windows as in display-buffer-reuse-window.
1193 (display-buffer-normalize-alist): Use value of override
1194 specifier.
1195 (display-buffer-normalize-specifiers): Use value of
1196 other-window-means-other-frame specifier.
1197 (display-buffer-alist): Rewrite some texts in widgets.
1198 (display-buffer): Spread arguments when calling function
1199 specified by fun-with-args.
1200
ad85fe1f
DD
12012011-06-28 Deniz Dogan <deniz@dogan.se>
1202
1fa280a3
LM
1203 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1204 Unnest `let'.
da68c4c8 1205
ad85fe1f
DD
1206 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
1207 selectors (Bug#5732).
ec49bd31 1208 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 1209
a08cc025
JA
12102011-06-27 Jari Aalto <jari.aalto@cante.net>
1211
1212 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
1213 (eshell-ls-date-format): New defcustom.
1214 (eshell-ls-file): Use it.
1215
e2b551c5
SM
12162011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1217
1218 * help-fns.el (describe-variable): Fix message for terminal-local vars.
1219
8982b231
KY
12202011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
1221
1222 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
1223 (ange-ftp-make-tmp-name): New arg.
1224 (ange-ftp-file-local-copy): Use it.
1225
36c9fa27
J
12262011-06-27 Jambunathan K <kjambunathan@gmail.com>
1227
1228 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
1229 no-conversion (Bug#8870).
1230
d68443dc
MR
12312011-06-27 Martin Rudalics <rudalics@gmx.at>
1232
1233 * window.el (window-right, window-left, window-child)
1234 (window-child-count, window-last-child)
1235 (window-iso-combination-p, walk-window-tree-1)
1236 (window-atom-check-1, window-tree-1, delete-window)
1237 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
1238 new naming conventions - window-vchild, window-hchild,
1239 window-next and window-prev are now called window-top-child,
1240 window-left-child, window-next-sibling and window-prev-sibling
1241 respectively.
d615d6d2
MR
1242 (resize-window-reset): Rename to window-resize-reset.
1243 (resize-window-reset-1): Rename to window-resize-reset-1.
1244 (resize-window): Rename to window-resize.
1245 (window-min-height, window-min-width)
1246 (resize-mini-window, resize-this-window, resize-root-window)
1247 (resize-root-window-vertically, adjust-window-trailing-edge)
1248 (enlarge-window, shrink-window, maximize-window)
1249 (minimize-window, delete-window, quit-restore-window)
1250 (split-window, balance-windows, balance-windows-area-adjust)
1251 (balance-windows-area, window-state-put-2)
1252 (display-buffer-even-window-sizes, display-buffer-set-height)
1253 (display-buffer-set-width, set-window-text-height)
1254 (fit-window-to-buffer): Rename all "resize-window" prefixed
1255 calls to use the "window-resize" prefix convention.
1256 (display-buffer-alist): Fix symbol for label specifier.
1257 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
1258 corresponding specifier.
1259 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 1260
b6458526
VB
12612011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
1262
1263 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
1264 convention.
1265 (ses-call-printer): Does not pass an empty string to formatter when the
1266 cell is empty to keep from barking printer Calc math-format-value.
1267
d31fd9ac
RS
12682011-06-27 Richard Stallman <rms@gnu.org>
1269
43d5bf84
RS
1270 * battery.el (battery-mode-line-limit): New variable.
1271 (battery-update): Handle it.
1272
d31fd9ac
RS
1273 * mail/rmailmm.el (rmail-mime-process-multipart):
1274 Handle truncated messages.
1275
819a6054
GM
12762011-06-27 Glenn Morris <rgm@gnu.org>
1277
1278 * progmodes/flymake.el (flymake-err-line-patterns):
1279 Allow for column numbers in the ant/javac pattern. (Bug#8866)
1280
cedc73f2
VB
12812011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
1282
819a6054 1283 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
1284 (ses--clean-!, ses--clean-_): New functions.
1285 (ses-range): Add configurability of readout order, and conversion
1286 to Calc vector.
1287
5e5d49b6
VB
1288 * ses.el (ses-repair-cell-reference-all): New function.
1289 (ses-cell-symbol): Set macro as safe, so that it can be used in
1290 formulas.
1291
56e6cc31 1292 * ses.el: Update cycle detection algorithm.
90ca8b49 1293 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 1294 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
1295 (ses-set-localvars): New function.
1296 (ses-make-cell): Add property-list as a cell element.
1297 (ses-cell-property-get-fun, ses-cell-property-get)
1298 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
1299 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
1300 New functions.
90ca8b49
VB
1301 (ses-cell-property-set, ses-cell-property-pop)
1302 (ses-cell-property-get-handle): New macro.
1303 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
1304 New aliases, used for code readability.
1305 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
1306 cycle detection.
1307 (ses-self-reference-early-detection): New defcustom.
1308 (ses-formula-references): Robustify against self-refering cells.
1309 (ses-mode): Use ses-set-localvars.
1310 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
1311 before lauching the update processing.
1312 (ses-initialize-Dijkstra-attempt): New function.
1313 (ses-recalculate-cell): Update for cycle detection based on
1314 Dijkstra algorithm.
1315
2bb63e81
VB
1316 * ses.el: Fix commenting and indenting convention.
1317
c9d29fb8
SM
13182011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * bs.el (bs-cycle-next): Complete last change.
1321
d8e4b68b
JB
13222011-06-27 Drew Adams <drew.adams@oracle.com>
1323
1324 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
1325
40098786
LMI
13262011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1327
c9d29fb8
SM
1328 * net/network-stream.el (network-stream-open-starttls):
1329 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
1330 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
1331
40098786
LMI
1332 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
1333 to binary to possibly avoid line encoding issues on Windows (among
1334 other things).
1335
468d09d4
LMI
13362011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1337
1338 * net/network-stream.el (open-network-stream): Return an :error
1339 saying what the problem was, if possible.
1340
1341 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
1342 server.
1343
1344 * net/network-stream.el (network-stream-open-starttls): If we
1345 wanted to use STARTTLS, and the server offered it, but we weren't
1346 able to because we had no STARTTLS support, then close the connection.
1347 (open-network-stream): Return an :error element, if present.
1348
16f07dd7
CY
13492011-06-26 Chong Yidong <cyd@stupidchicken.com>
1350
88821ca0
CY
1351 * hl-line.el (hl-line-sticky-flag): Doc fix.
1352 (global-hl-line-sticky-flag): New option (Bug#8323).
1353 (global-hl-line-highlight): Obey it.
1354
16f07dd7
CY
1355 * vc/vc.el (vc-revert-show-diff): Default to t.
1356
6b5ccddf
KM
13572011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
1358
c9d29fb8
SM
1359 * allout-widgets.el (allout-widgets-post-command-business):
1360 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
1361 undecorated when an isearch is continued past, and isearch
1362 automatically collapses them. This leads to "widget leaks", where
1363 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
1364 hidden widgets can slow down cursor travel, substantially.
1365 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
1366 so we're doing without this nicety.
1367
1368 (allout-widgets-tally-string): Don't try to do a hash-table-count
1369 of allout-widgets-tally when it's nil. This eliminates spurious "Error
1370 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
1371 *Messages* when allout-widgets-maintain-tally is t.
1372
355f2e07
MR
13732011-06-26 Martin Rudalics <rudalics@gmx.at>
1374
1375 * window.el (display-buffer-normalize-argument): Rename to
1376 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
1377 LABEL argument. Respect special-display-function when popping up
1378 a new frame. Fix code searching for a window showing the buffer
1379 on another frame.
c9d29fb8
SM
1380 (display-buffer-normalize-specifiers):
1381 Call display-buffer-normalize-arguments.
355f2e07
MR
1382 (display-buffer-in-window): Don't undedicate the window if its
1383 buffer remains the same.
1384 Reported by Drew Adams <drew.adams@oracle.com>.
1385 (display-buffer-alist): Add choice for same-window macro
1386 specfier.
1387 (display-buffer): Mention special meaning of LABEL argument in
1388 doc-string. Fix quoting. Don't pop up a new frame even as
1389 fallback.
1390
7ca8fc42
JB
13912011-06-26 Juanma Barranquero <lekktu@gmail.com>
1392
1393 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
1394 avoid deleting the current window in some cases (bug#8911).
1395
bc312254
AS
13962011-06-26 Andreas Schwab <schwab@linux-m68k.org>
1397
1398 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
1399 (Bug#8934)
1400
2db18f3f
LMI
14012011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1402
c9d29fb8
SM
1403 * net/network-stream.el (network-stream-open-starttls):
1404 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
1405 (network-stream-open-tls): Ditto.
1406
6302e0d3
LL
14072011-06-26 Leo Liu <sdl.web@gmail.com>
1408
1409 * register.el (registerv): New struct.
1410 (registerv-make): New function.
c9d29fb8
SM
1411 (jump-to-register, describe-register-1, insert-register):
1412 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
1413 struct. (Bug#8415)
1414
5fdd4046
CY
14152011-06-26 Chong Yidong <cyd@stupidchicken.com>
1416
2afef60a
CY
1417 * vc/vc.el (vc-revert-show-diff): New defcustom.
1418 (vc-diff-internal): New arg specifying diff buffer.
1419 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
1420 reuse an existing *vc-diff* buffer (Bug#8927).
1421
5fdd4046
CY
1422 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
1423
e93db24a
GM
14242011-06-26 Glenn Morris <rgm@gnu.org>
1425
1426 * progmodes/f90.el (f90-critical-indent): New option.
1427 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
1428 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
1429 (f90-mode): Doc fix.
1430 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
1431 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
1432 (f90-beginning-of-block, f90-next-block, f90-indent-region)
1433 (f90-match-end): Handle block, critical.
1434
eefff499
GM
14352011-06-25 Glenn Morris <rgm@gnu.org>
1436
f6ba4cc9
GM
1437 * calendar/diary-lib.el (diary-included-files): Doc fix.
1438 (diary-include-files): New function, extracted from
1439 diary-include-other-diary-files and diary-mark-included-diary-files.
1440 (diary-include-other-diary-files, diary-mark-included-diary-files):
1441 Just call diary-include-files.
1442 (diary-mark-entries): Reset diary-included-files on first call.
1443
16712304
GM
1444 * calendar/diary-lib.el (diary-mark-entries)
1445 (diary-mark-included-diary-files):
1446 Visit included diary-files in temp buffers.
1447
5d8e0d43
GM
1448 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
1449 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
1450 (f90-start-block-re, f90-imenu-generic-expression)
1451 (f90-looking-at-program-block-start, f90-no-block-limit):
1452 Add support for submodules.
1453
ccf7a5d5
GM
1454 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1455 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 1456
11fdef7d 14572011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
1458
1459 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
1460 buffer-file-type before setting its value, to avoid disastrous
eefff499 1461 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 1462
74f53697
JB
14632011-06-25 Juanma Barranquero <lekktu@gmail.com>
1464
1465 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
1466
1467 * ses.el (ses-unload-function):
1468 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
1469
1470 * proced.el (proced-unload-function):
1471 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
1472
18a4ce5e
AR
14732011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
1474
1475 * server.el (server-create-window-system-frame): Add parameters arg.
1476 (server-process-filter): Doc fix. Handle frame-parameters.
1477
519d22cc
JB
14782011-06-25 Juanma Barranquero <lekktu@gmail.com>
1479
1480 Fix bug#8730, bug#8781.
1481
1482 * loadhist.el (unload--set-major-mode): New function.
1483 (unload-feature): Use it.
1484
1485 * progmodes/python.el (python-after-info-look): Add autoload cookie.
1486 (python-unload-function): New function.
1487
c206f5b0
SM
14882011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
1491
f9ad64f3
GS
14922011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
1493
1494 * net/browse-url.el (browse-url-firefox-program): Add icecat to
1495 the candidates list.
1496
7d0da90e
JB
14972011-06-24 Juanma Barranquero <lekktu@gmail.com>
1498
1499 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
1500
14b4e83d
RS
15012011-06-23 Richard Stallman <rms@gnu.org>
1502
1503 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
1504 (rmail-variables): Set next-error-move-function.
1505 (rmail-what-message): Take argument POS.
1506 (rmail-next-error-move): New function.
1507
273d2baf
SM
15082011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1509
1510 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
1511 messages for adjacent non-terminals.
1512
56c2cc9a
RS
15132011-06-23 Richard Stallman <rms@gnu.org>
1514
1515 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 1516 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
1517 (rmail-start-mail): Don't specify use of rmail-mail-return;
1518 that's done by mail-bury now.
1519 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 1520
d59eb518
MA
15212011-06-23 Michael Albinus <michael.albinus@gmx.de>
1522
1523 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
1524 SIZE is a number.
1525
02cfc6d6
MR
15262011-06-23 Martin Rudalics <rudalics@gmx.at>
1527
1528 * window.el (get-lru-window, get-mru-window)
1529 (get-largest-window): Never return a minibuffer window.
1530 (display-buffer-pop-up-window): Fix a bug that could lead to
1531 reusing the minibuffer window.
1532 (display-buffer): Pass original specifier argument to
1533 display-buffer-function instead of the normalized one.
1534 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1535
4e323265
LL
15362011-06-22 Leo Liu <sdl.web@gmail.com>
1537
1538 * minibuffer.el (completing-read-function)
1539 (completing-read-default): Move from minibuf.c
1540
7a70468f
RS
15412011-06-22 Richard Stallman <rms@gnu.org>
1542
50718fc2
RS
1543 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
1544 to Rmail even if not started by a special Rmail command.
1545
7a70468f
RS
1546 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1547 Copy the buffer currently showing just one message.
1548
297dde5a
RW
15492011-06-22 Roland Winkler <winkler@gnu.org>
1550
1551 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
1552 (bibtex-clean-entry): First delete the old key so that a
1553 customized algorithm for generating the new key does not get
1554 confused by the old key.
1555 (bibtex-url): Obey regexp of first step.
1556 (bibtex-search-entries): Do not use add-to-list with local
1557 list-var.
1558
97bb1093
LMI
15592011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1560
1561 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
1562 stored a user name, then query for the password first, instead of
1563 waiting for SMTP to give an error message and the trying again.
1564
1c0f1a19
JD
15652011-06-22 Lawrence Mitchell <wence@gmx.li>
1566
1567 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
1568 BUFFER in call-process.
1569
396f7c9d
LMI
15702011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1571
1572 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
1573 QUIT twice.
ddb7ffee
LMI
1574 (smtpmail-try-auth-methods): Require user name and password from
1575 auth-source.
396f7c9d 1576
8998d1b3
MR
15772011-06-22 Martin Rudalics <rudalics@gmx.at>
1578
1579 * window.el (display-buffer-default-specifiers)
1580 (display-buffer-alist): Remove entries for pop-up-frame-alist.
1581 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 1582 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
1583
1584 * frame.el (pop-up-frame-alist, pop-up-frame-function)
1585 (special-display-frame-alist, special-display-popup-frame):
1586 Remove duplicate declarations. These are now in window.el.
1587
4ea31e07
LMI
15882011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1589
c9d29fb8
SM
1590 * mail/smtpmail.el (smtpmail-via-smtp):
1591 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
1592 server supports it. SMTP servers that support STARTTLS commonly
1593 require it.
1594
1595 * net/network-stream.el (network-stream-open-starttls): Support
1596 upgrading to STARTTLS always, even if we don't have built-in support.
1597 (open-network-stream): Add the :always-query-capabilies keyword.
1598
95f41d9a
LMI
1599 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
1600 upgrades with `open-network-stream', and rely solely on
1601 auth-source for all credentials. Big changes throughout the file,
1602 but in particular:
c9d29fb8
SM
1603 (smtpmail-auth-credentials): Remove.
1604 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
1605 (smtpmail-via-smtp): Check for servers saying they want AUTH after
1606 MAIL FROM, too.
95f41d9a 1607
c9d29fb8
SM
1608 * net/network-stream.el (network-stream-open-starttls):
1609 Provide support for client certificates both for external and built-in
4ea31e07
LMI
1610 STARTTLS.
1611 (auth-source): Require.
1612 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
1613 (network-stream-certificate): Change cert-cert to cert and
1614 cert-key to key.
4ea31e07 1615
065ec2c7
MA
16162011-06-21 Michael Albinus <michael.albinus@gmx.de>
1617
1618 * net/tramp-cache.el (top): Don't load the persistency file when
1619 "emacs -Q" has been called.
1620
cd93b359
DR
16212011-06-21 Tim Harper <timcharper@gmail.com>
1622
d8e4b68b
JB
1623 * term/ns-win.el (ns-initialize-window-system):
1624 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
1625 resource to NO as it is not yet supported by the NS port.
1626
ae9c0411
JB
16272011-06-21 Juanma Barranquero <lekktu@gmail.com>
1628
1629 * misc.el (list-dynamic-libraries--refresh): Compute header here...
1630 (list-dynamic-libraries): ...not here.
1631
7f3f739f
LL
16322011-06-21 Leo Liu <sdl.web@gmail.com>
1633
1634 * subr.el (sha1): Implement sha1 using secure-hash.
1635
327c8fb1
MR
16362011-06-21 Martin Rudalics <rudalics@gmx.at>
1637
1638 * window.el (display-buffer-alist): In default value do not
1639 enforce searching a window on any but the selected frame.
1640 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
1641 (display-buffer-select-window): Remove function.
1642 (display-buffer-in-window): When a window on another frame gets
1643 reused, do not select it any more but just raise its frame if
1644 necessary (Bug#8851) and (Bug#8856).
1645 (display-buffer-normalize-options): Handle pop-up-frames related
1646 options more faithfully.
1647 (pop-to-buffer): Don't rely on `display-buffer' selecting the
1648 window if it is on another frame.
c9d29fb8
SM
1649 (display-buffer-alist, display-buffer-default-specifiers):
1650 Don't make new frame unsplittable by default.
9e9de014
MR
1651 (display-buffer-normalize-argument): Fix doc-string typo and use
1652 'same-frame-other-window instead of 'other-window when associating
1653 with display-buffer-macro-specifiers.
327c8fb1 1654
7cf3f556
VB
16552011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
1656
1657 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
1658 New functions.
1659 (5x5-mode-map, 5x5-mode-menu): Bind them.
1660 (5x5-draw-grid): Tweak the solver's rendering.
1661
60a406cf
SM
16622011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1663
1664 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
1665 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
1666
d8e4b68b 16672011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
1668
1669 * menu-bar.el: Use function variable instead of switch-to-buffer.
1670 (menu-bar-select-buffer-function): New variable.
60a406cf 1671 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 1672
478d6f95
SM
16732011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
1676 variable's status.
1677
ca530739
JD
16782011-06-20 Jan Djärv <jan.h.d@swipnet.se>
1679
1680 * x-dnd.el (x-dnd-version-from-flags)
1681 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
1682 and long as number (Bug#8899).
1683 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
1684
bcd70d97
SM
16852011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1686
60a406cf 1687 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
1688 (completion-try-completion, completion-all-completions): Compute the
1689 metadata argument if it's missing; make it optional (bug#8795).
1690
60a406cf 1691 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
1692 (widget-complete): Use new :completion-function property.
1693 (widget-completions-at-point): New function.
1694 (default): Use :completion-function instead of :complete.
60a406cf
SM
1695 (widget-default-completions): Rename from widget-default-complete;
1696 Rewrite.
bcd70d97
SM
1697 (widget-string-complete, widget-file-complete, widget-color-complete):
1698 Remove functions.
1699 (file, symbol, function, variable, coding-system, color):
1700 * international/mule-cmds.el (default-input-method, charset)
1701 (language-info-custom-alist):
1702 * cus-edit.el (face): Use new property :completions.
1703
1704 * progmodes/pascal.el (pascal-completions-at-point): New function.
1705 (pascal-mode): Use it.
1706 (pascal-mode-map): Use completion-at-point.
1707 (pascal-toggle-completions): Make obsolete.
1708 (pascal-complete-word, pascal-show-completions):
1709 * progmodes/octave-mod.el (octave-complete-symbol):
1710 Redefine as obsolete alias.
1711 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
1712 Signal absence of completion info for old Octave,
1713 (inferior-octave-complete): Redefine as obsolete alias.
1714 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
1715 (meta-completions-at-point): Rename from meta-complete-symbol and
1716 adapt it for use on completion-at-point-functions.
1717 (meta-common-mode): Use it.
1718 (meta-looking-at-backward, meta-match-buffer): Remove.
1719 (meta-complete-symbol): Redefine as obsolete alias.
1720 (meta-common-mode-map): Use completion-at-point.
1721 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
1722 (makefile-mode-map): Use completion-at-point.
1723 (makefile-completions-at-point): Rename from makefile-complete and
1724 adapt it for use on completion-at-point-functions.
1725 (makefile-mode): Use it.
1726 (makefile-complete): Redefine as obsolete alias.
1727
aebf69c8
DD
17282011-06-20 Deniz Dogan <deniz@dogan.se>
1729
1730 * net/rcirc.el: Delete trailing whitespaces once and for all.
1731
bfbbb27d
DC
17322011-06-20 Daniel Colascione <dan.colascione@gmail.com>
1733
1734 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
1735
d264a46b
CY
17362011-06-19 Chong Yidong <cyd@stupidchicken.com>
1737
4ca009e5
CY
1738 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
1739
d264a46b
CY
1740 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
1741
fbf5b3ce
MR
17422011-06-19 Martin Rudalics <rudalics@gmx.at>
1743
1744 * window.el (display-buffer-other-window-means-other-frame):
1745 Call display-buffer-normalize-alist.
1746 (display-buffer-normalize-specifiers-1): Rename to
1747 display-buffer-normalize-argument. New argument other-frame.
1748 Rewrite.
1749 (display-buffer-normalize-specifiers-2): Rename to
1750 display-buffer-normalize-options.
1751 (display-buffer-normalize-alist-1): New function.
1752 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
1753 display-buffer-normalize-alist.
1754 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
1755 (display-buffer-normalize-options-inhibit): New variable.
1756 (display-buffer-normalize-specifiers): Rewrite calling
1757 display-buffer-normalize-alist,
1758 display-buffer-normalize-argument, and
1759 display-buffer-normalize-options. Don't call the latter if
1760 display-buffer-normalize-options-inhibit is non-nil.
1761 (frame-auto-delete): New option.
1762 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
1763 (window-list-no-nils, window-state-ignored-parameters)
1764 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
1765 (window-state-put-1, window-state-put-2, window-state-put):
1766 New functions.
9a028c23
MR
1767 (display-buffer-normalize-options): Move special-display-p group
1768 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 1769
6d10d800
CY
17702011-06-18 Chong Yidong <cyd@stupidchicken.com>
1771
6420d28b
CY
1772 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
1773 groups (Bug#8776).
1774 (rx-submatch-n): New function.
1775 (rx): Document it.
1776
ddb8b596
CY
1777 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
1778 (Bug#8768).
1779
1780 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
1781
77080289
CY
1782 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
1783
61dfb316
CY
1784 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
1785 anytime existing face settings are present (Bug#8889).
1786
6d10d800
CY
1787 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
1788 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
1789 Remove unused argument.
1790
be3fb2b8
MR
17912011-06-18 Martin Rudalics <rudalics@gmx.at>
1792
bcd70d97
SM
1793 * window.el (display-buffer-default-specifiers):
1794 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
1795 pop-up-window-min-width, and another reuse-window specifier
1796 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
1797 (display-buffer-normalize-specifiers-2):
1798 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
1799 pop-up-windows is unset. Add a reuse-window specifier for the
1800 case popping up a new window fails.
1801 (special-display-popup-frame): Remove double quoting.
28dec25a 1802 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 1803
1c6d8c76
SM
18042011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1805
1806 * shell.el (shell-completion-vars): Set pcomplete-termination-string
1807 according to comint-completion-addsuffix.
1808
1809 * pcomplete.el: Convert to lexical binding and fix bug#8819.
1810 (pcomplete-suffix-list): Mark as obsolete.
1811 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
1812 pcomplete-seen in the closure.
1813 (pcomplete-comint-setup): Setup completion-at-point as well.
1814 (pcomplete--entries): New function.
1815 (pcomplete--env-regexp): New var.
1816 (pcomplete-entries): Rewrite to work with partial-completion and
1817 without relying on pcomplete-suffix-list.
1818 (pcomplete-pare-list): Remove, unused.
1819
25aef8b8
MR
18202011-06-17 Martin Rudalics <rudalics@gmx.at>
1821
1822 * window.el (display-buffer-alist): Set pop-up-window-min-height
1823 and pop-up-window-min-width in default value. Reported by
1824 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
1825 other-window-means-other-frame.
1826 (display-buffer-macro-specifiers): Comment out entry for
1827 other-window specifier.
1828 (display-buffer-other-window-means-other-frame): New function.
1829 (display-buffer-normalize-specifiers-1): New arguments
1830 buffer-name and label. Treat other-window case specially.
1831 (display-buffer-normalize-specifiers-2): Treat other-window case
1832 specially.
1833 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
1834 (display-buffer-normalize-specifiers):
1835 Call display-buffer-normalize-specifiers-3.
25aef8b8 1836
dbad4f69
MR
18372011-06-17 Martin Rudalics <rudalics@gmx.at>
1838
1839 * window.el (same-window-p): Fix two typos introduced when
1840 adding with-no-warnings.
d1067961
MR
1841 (display-buffer-normalize-specifiers-1): Don't check
1842 pop-up-frames for 'unset initialization.
1843 (display-buffer-normalize-specifiers-2): Major rewrite using
1844 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
1845 (pop-up-frames, display-buffer-reuse-frames)
1846 (display-buffer-mark-dedicated): Don't initialize to 'unset.
1847 Suggested by David Engster <deng@randomsample.de>.
1848 (even-window-heights): Initialize to 'unset.
1849 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
1850 (display-buffer-macro-specifiers): Don't pop up a new frame in the
1851 other window case.
dbad4f69 1852
9b9c9e3a
MR
18532011-06-16 Martin Rudalics <rudalics@gmx.at>
1854
bcd70d97
SM
1855 * window.el (display-buffer-normalize-specifiers-1):
1856 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 1857 second argument of display-buffer (Bug#8865).
981d5c09
MR
1858 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
1859 (switch-to-buffer-other-window-same-frame)
1860 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
1861 Adams (Bug#8875).
9c2755e9
MR
1862 (display-buffer): Don't check noninteractive when calling
1863 display-buffer-pop-up-frame.
1864 (display-buffer-pop-up-frame): Never pop up a frame in
1865 noninteractive mode (Bug#8857).
67222e1d
MR
1866 (enlarge-window, shrink-window): Don't report an error when the
1867 window can't be resized as requested (Bug#8862).
9b9c9e3a 1868
2b75be67
SM
18692011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1870
9ffdd3ba
SM
1871 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
1872
cb581a67
SM
1873 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
1874
2b75be67
SM
1875 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
1876
8c0e3589
AM
18772011-06-15 Alan Mackenzie <acm@muc.de>
1878
cb581a67
SM
1879 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
1880 for declarators, disable knr checking to speed up for normal files.
1881 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 1882
b96e6cde
LMI
18832011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1884
4bba86e6
LMI
1885 * net/network-stream.el (open-network-stream): Add the keyword
1886 :always-query-capabilities for the case where you want to force a
1887 `plain' network connection, but the protocol still requires the
1888 capabilitiy command (i.e., SMTP and EHLO).
1889
2b75be67 1890 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
1891 consistency with other `-live-p' functions.
1892
efdcdbf8
SM
18932011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1894
1895 * window.el (same-window-buffer-names, same-window-regexps)
1896 (special-display-frame-alist, special-display-popup-frame)
1897 (special-display-function, special-display-buffer-names)
1898 (special-display-regexps, pop-up-frame-alist)
1899 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
1900 (pop-up-windows, split-window-preferred-function)
1901 (split-height-threshold, split-width-threshold, even-window-heights)
1902 (display-buffer-mark-dedicated): Don't encourage the use of
1903 display-buffer-alist from Elisp code.
1904
c5cde042
DN
19052011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
1906
1907 * progmodes/python.el (python-mode): Derive from prog-mode.
1908 * progmodes/ps-mode.el (ps-mode):
1909 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 1910 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
1911 * progmodes/ld-script.el (ld-script-mode): Likewise.
1912
baa1c9ab
MR
19132011-06-15 Martin Rudalics <rudalics@gmx.at>
1914
1915 * window.el (display-buffer-alist): Trim default value to avoid
1916 popping up a new frame (Bug#8857) or reusing an arbitrary window
1917 on another frame.
1918 (display-buffer): Do not fall back on popping up a new frame in
1919 batch mode (Bug#8857).
1920
c5dd5a51
CY
19212011-06-14 Chong Yidong <cyd@stupidchicken.com>
1922
1923 * cus-theme.el (describe-theme-1): Use custom-theme-p.
1924 (custom-theme-summary): New function.
1925 (customize-themes): Use it.
1926
d647b7c4
GM
19272011-06-13 Glenn Morris <rgm@gnu.org>
1928
1929 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
1930
9481c002
MR
19312011-06-13 Martin Rudalics <rudalics@gmx.at>
1932
357f93d2
MR
1933 * help.el (help-window): Remove variable.
1934 (help-window-point-marker, temp-buffer-max-height)
1935 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
1936 (help-print-return-message): Don't set help-window.
1937 (resize-temp-buffer-window): Rewrite cod eand doc-string.
1938 (help-window-setup-finish): Remove.
1939 (help-window-display-message, help-window-setup)
1940 (with-help-window): Major rewrite based on new
1941 display-buffer-window variable.
1942
1943 * help-mode.el (help-mode-finish): Remove help-window related
1944 code.
1945
1946 * view.el (view-exits-all-viewing-windows): Remove reference to
1947 view-return-to-alist in doc-string.
1948 (view-return-to-alist): Make obsolete.
1949 (view-buffer): Call pop-to-buffer-same-window and remove
1950 undo-window code.
1951 (view-buffer-other-window): Call pop-to-buffer-other-window and
1952 simplify code. Ignore second argument.
1953 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
1954 simplify code. Ignore second argument.
1955 (view-return-to-alist-update): Make obsolete.
1956 (view-mode-enter): Rename second argument to QUIT-RESTORE.
1957 Rewrite using quit-restore window parameters.
2b75be67
SM
1958 (view-mode-exit): Rename second argument to EXIT-ONLY.
1959 Rewrite using quit-restore-window.
357f93d2
MR
1960 (View-exit, View-exit-and-edit, View-leave, View-quit)
1961 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
1962 appropriate arguments.
1963 (view-end-message): Use quit-restore window parameter.
1964
9481c002
MR
1965 * window.el (display-buffer-function): Rewrite doc-string.
1966 (display-buffer-window, display-buffer-alist): New variables.
1967 (display-buffer-split-specifiers)
1968 (display-buffer-side-specifiers)
1969 (display-buffer-macro-specifiers): New constants.
1970 (display-buffer-even-window-sizes, display-buffer-set-height)
1971 (display-buffer-set-width, display-buffer-select-window)
1972 (display-buffer-in-window, display-buffer-reuse-window)
1973 (display-buffer-split-window-1, display-buffer-split-window)
1974 (display-buffer-split-atom-window, display-buffer-pop-up-window)
1975 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
1976 (display-buffer-in-side-window, normalize-buffer-to-display)
1977 (display-buffer-normalize-specifiers-1)
1978 (display-buffer-normalize-specifiers-2)
2b75be67
SM
1979 (display-buffer-normalize-specifiers, display-buffer-frame):
1980 New functions.
9481c002
MR
1981 (display-buffer): Major rewrite.
1982 (display-buffer-other-window, display-buffer-other-frame)
1983 (pop-to-buffer, switch-to-buffer-other-window)
1984 (switch-to-buffer-other-frame): Rewrite.
1985 (display-buffer-same-window, display-buffer-same-frame)
1986 (display-buffer-same-frame-other-window)
1987 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
1988 (pop-to-buffer-other-window)
1989 (pop-to-buffer-same-frame-other-window)
1990 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
1991 (switch-to-buffer-other-window-same-frame): New functions.
1992 (same-window-p, special-display-p): Rewrite disabling warnings.
1993 Make obsolete.
1994 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1995 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
1996 Make obsolete
1997 (same-window-buffer-names, same-window-regexps)
1998 (special-display-frame-alist, special-display-popup-frame)
1999 (special-display-function, special-display-buffer-names)
2000 (special-display-regexps, pop-up-frame-alist)
2001 (pop-up-frame-function, split-window-preferred-function)
2002 (split-height-threshold, split-width-threshold)
2003 (even-window-heights): Make obsolete.
2004
9db51aca
GM
20052011-06-12 Glenn Morris <rgm@gnu.org>
2006
2007 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 2008 Misc simplifications.
9db51aca 2009
39cffb44
MR
20102011-06-12 Martin Rudalics <rudalics@gmx.at>
2011
2012 * window.el (window-safely-shrinkable-p): Restore function which
2013 was inadvertently removed in change from 2011-06-11. Declare as
2014 obsolete.
2015
2b75be67
SM
2016 * calendar/calendar.el (calendar-generate-window):
2017 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
2018 window-safely-shrinkable-p.
2019
a8955be7
GM
20202011-06-12 Glenn Morris <rgm@gnu.org>
2021
2022 * progmodes/fortran.el (fortran-mode-syntax-table):
2023 * progmodes/f90.el (f90-mode-syntax-table):
2024 Set % to punctuation. (Bug#8820)
2025 (f90-find-tag-default): Remove, no longer needed.
2026
f0d4059d
DC
20272011-06-12 Daniel Colascione <dan.colascione@gmail.com>
2028
2029 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
2030
1100a63c
CY
20312011-06-11 Chong Yidong <cyd@stupidchicken.com>
2032
2033 * image.el (image-animated-p): Return animation delay in seconds.
2034 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
2035 (image-animate-timeout): Remove DELAY argument. Don't assume
2036 every subimage has the same delay; get it from image-animated-p.
2037 (image-animate): Caller changed.
2038
def722bf
MA
20392011-06-11 Michael Albinus <michael.albinus@gmx.de>
2040
2041 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
2042 to ignored backtrace functions.
2043
0a2bb1a9
GM
20442011-06-11 Glenn Morris <rgm@gnu.org>
2045
2046 * calendar/appt.el (appt-disp-window-function): Doc fix.
2047 (appt-check): Handle overlapping appointments. (Bug#8337)
2048
6198ccd0
MR
20492011-06-11 Martin Rudalics <rudalics@gmx.at>
2050
2051 * window.el (window-tree-1, window-tree): New functions, moving
2052 the latter to window.el.
2053 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
2054 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
2055 (bw-refresh-edges): Remove.
2056 (balance-windows-1, balance-windows-2): New functions.
2057 (balance-windows): Rewrite in terms of window tree functions,
2058 balance-windows-1 and balance-windows-2.
2059 (bw-adjust-window): Remove.
2060 (balance-windows-area-adjust): New function with functionality of
2061 bw-adjust-window but using resize-window.
2b75be67
SM
2062 (set-window-text-height): Rewrite doc-string.
2063 Use normalize-live-window and resize-window.
2064 (enlarge-window-horizontally, shrink-window-horizontally):
2065 Rename argument to DELTA.
6198ccd0
MR
2066 (window-buffer-height): New function.
2067 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
2068 Rewrite using new window resize routines.
2b75be67
SM
2069 (kill-buffer-and-window, mouse-autoselect-window-select):
2070 Use ignore-errors instead of condition-case.
6198ccd0
MR
2071 (quit-window): Call delete-frame instead of delete-windows-on
2072 for the only buffer on frame.
2073
9397e56f
MR
20742011-06-10 Martin Rudalics <rudalics@gmx.at>
2075
2076 * loadup.el (top-level): Load window before files for the sake
2077 of replace-buffer-in-windows.
2078
2079 * files.el (read-buffer-to-switch)
2080 (switch-to-buffer-other-window)
2b75be67
SM
2081 (switch-to-buffer-other-frame, display-buffer-other-frame):
2082 Move to window.el.
9397e56f
MR
2083
2084 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
2085 (previous-buffer): Move to window.el.
2086
2087 * bindings.el (unbury-buffer): Move to window.el.
2088
2089 * window.el (delete-other-windows-vertically): Move after
2090 definition of delete-other-windows.
2091 (other-window, delete-windows-on, replace-buffer-in-windows):
2092 Move here from window.c.
2093 (record-window-buffer, unrecord-window-buffer)
2094 (set-window-buffer-start-and-point, switch-to-prev-buffer)
2095 (switch-to-next-buffer): New functions.
2096 (get-next-valid-buffer, last-buffer, next-buffer): Move here
2097 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
2098 (previous-buffer): Move here from simple.el.
2099 Call switch-to-prev-buffer.
9397e56f
MR
2100 (bury-buffer): Move here from buffer.c. Switch to previous
2101 buffer when window cannot be deleted.
2102 (unbury-buffer): Move here from bindings.el.
2103 (ctl-x-map): Move binding for other-window from window.c to
2104 here.
2105 (read-buffer-to-switch, switch-to-buffer-other-window)
2106 (switch-to-buffer-other-frame): Move here from files.el.
2107 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
2108 (switch-to-buffer): Move here from buffer.c.
2109 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 2110
562dd5e9
MR
21112011-06-10 Martin Rudalics <rudalics@gmx.at>
2112
2113 * window.el (window-min-height, window-min-width): Move here
2114 from window.c. Add defcustoms and rewrite doc-strings.
2115 (resize-mini-window, resize-window): New functions.
2116 (adjust-window-trailing-edge, enlarge-window, shrink-window):
2117 Move here from window.c.
2118 (maximize-window, minimize-window): New functions.
2119 (delete-window, delete-other-windows, split-window): Move here
2120 from window.c.
2121 (window-split-min-size): New function.
2122 (split-window-keep-point): Mention split-window-above-each-other
2123 instead of split-window-vertically.
2b75be67
SM
2124 (split-window-above-each-other, split-window-vertically):
2125 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
2126 provide defalias for old definition.
2127 (split-window-side-by-side, split-window-horizontally): Rename
2128 split-window-horizontally to split-window-side-by-side and provide
2129 defalias for the old definition.
2130 (ctl-x-map): Move bindings for delete-window,
2131 delete-other-windows and enlarge-window here from window.c.
2132 Replace bindings for split-window-vertically and
2133 split-window-horizontally by bindings for
2134 split-window-above-each-other and split-window-side-by-side.
2135
2136 * cus-start.el (all): Remove entries for window-min-height and
2137 window-min-width. Add entries for window-splits and
2138 window-nest.
2139
f0da764a
GM
21402011-06-09 Glenn Morris <rgm@gnu.org>
2141
80675c21
GM
2142 * calendar/appt.el (appt-mode-line): New function.
2143 (appt-check, appt-disp-window): Use it.
2144
f0da764a
GM
2145 * files.el (hack-one-local-variable-eval-safep):
2146 Allow minor-modes with explicit +/-1 arguments.
2147
59f623b7
TZ
21482011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
2149
2150 * term/xterm.el (xterm): Add defgroup.
2151 (xterm-extra-capabilities): Add defcustom to supply known xterm
2152 capabilities, skip querying them, or query them (default).
2153 (terminal-init-xterm): Use it.
2154 (terminal-init-xterm-modify-other-keys): New function to set up
2155 modifyOtherKeys support to simplify `terminal-init-xterm'.
2156
9aab8e0d
MR
21572011-06-09 Martin Rudalics <rudalics@gmx.at>
2158
2159 * window.el (resize-window-reset, resize-window-reset-1)
2160 (resize-subwindows-skip-p, resize-subwindows-normal)
2161 (resize-subwindows, resize-other-windows, resize-this-window)
2162 (resize-root-window, resize-root-window-vertically)
2163 (window-deletable-p, window-or-subwindow-p)
2164 (frame-root-window-p): New functions.
2165
e8b08aee
GM
21662011-06-09 Glenn Morris <rgm@gnu.org>
2167
2168 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
2169 (ange-ftp-get-files): Use it.
2170
254c37a5
AK
21712011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
2172
2173 * mail/sendmail.el (mail-recover-1, mail-recover):
2174 * files.el (recover-file, recover-session):
2175 Handle dired-listing-switches not being just a single short option.
2176
35d7dbd3
GM
21772011-06-09 Glenn Morris <rgm@gnu.org>
2178
2179 * calendar/appt.el (appt-display-message, appt-disp-window):
2180 Handle lists of appointments.
2181
387522b2
MR
21822011-06-08 Martin Rudalics <rudalics@gmx.at>
2183
2b75be67
SM
2184 * window.el (one-window-p): Move down in code.
2185 Rewrite doc-string.
2186 (window-current-scroll-bars): Rewrite doc-string.
2187 Normalize live window argument.
387522b2
MR
2188 (walk-windows, get-window-with-predicate, count-windows):
2189 Rewrite doc-string. Use window-list-1.
2190 (window-in-direction-2, window-in-direction, get-mru-window):
2191 New functions.
2192
d8e4b68b 21932011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
2194
2195 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
2196 Doc fix (Bug#8713).
2197
21982011-06-08 Chong Yidong <cyd@stupidchicken.com>
2199
2200 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
2201
22022011-06-08 Juanma Barranquero <lekktu@gmail.com>
2203
2204 * loadhist.el (unload-feature-special-hooks):
2205 Add `comint-output-filter-functions'.
2206
0de12c52
IK
22072011-06-08 Ivan Kanis <gnu@kanis.fr>
2208
2209 * calendar/appt.el (appt-check): Move some initializations into the let.
2210
f3d1777e
MR
22112011-06-08 Martin Rudalics <rudalics@gmx.at>
2212
2213 * window.el (window-height): Defalias to window-total-height.
2214 (window-width): Defalias to window-body-width.
2215
18af70d0
CY
22162011-06-07 Chong Yidong <cyd@stupidchicken.com>
2217
2218 * image-mode.el (image-toggle-animation): New command.
2219 (image-mode-map): Bind it to RET.
2220 (image-mode): Update message.
2221 (image-toggle-display-image): Avoid a spurious cache flush.
2222 (image-transform-rotation): Doc fix.
2223 (image-transform-properties): Return quickly in the normal case.
2224 (image-animate-loop): Rename from image-animate-max-time.
2225
2b75be67 2226 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
2227 (create-animated-image): Remove unnecessary function.
2228 (image-animate): Rename from image-animate-start. New arg.
2b75be67 2229 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
2230 (image-animate-timer): Use car-safe.
2231 (image-animate-timeout): Rename argument.
2232
190b47e6
MR
22332011-06-07 Martin Rudalics <rudalics@gmx.at>
2234
2235 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
2236 window.c. Rename first argument to ALL-FRAMES.
2237 Rephrase doc-strings.
2238 (get-buffer-window-list): Rewrite using window-list-1.
2239 Rephrase doc-string.
a1511caf
MR
2240 (window-safe-min-height, window-safe-min-width): New constants.
2241 (window-size-ignore, window-min-size, window-min-size-1)
2242 (window-sizable, window-sizable-p, window-size-fixed-1)
2243 (window-size-fixed-p, window-min-delta-1, window-min-delta)
2244 (window-max-delta-1, window-max-delta, window-resizable)
2245 (window-resizable-p, window-total-height, window-total-width)
2246 (window-body-width): New functions.
2247 (window-full-height-p, window-full-width-p): Rewrite using
2248 window-total-size.
2249 (window-body-height): Rewrite using window-body-size.
190b47e6 2250
85cc1f11
MR
22512011-06-06 Martin Rudalics <rudalics@gmx.at>
2252
2253 * window.el (window-right, window-left, window-child)
2254 (window-child-count, window-last-child, window-any-p)
2255 (normalize-live-buffer, normalize-live-frame)
2256 (normalize-any-window, normalize-live-window)
2257 (window-iso-combination-p, window-iso-combined-p)
2258 (window-iso-combinations)
2259 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
2260 (windows-with-parameter, window-with-parameter)
2261 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
2262 (window-atom-check, window-side-check, window-check):
2263 New functions.
85cc1f11
MR
2264 (ignore-window-parameters, window-sides, window-sides-vertical)
2265 (window-sides-slots): New variables.
2266 (window-size-fixed): Move down in code. Minor doc-string fix.
2267
e7156492
AS
22682011-06-05 Andreas Schwab <schwab@linux-m68k.org>
2269
2270 * comint.el (comint-dynamic-complete-as-filename)
2271 (comint-dynamic-complete-filename): Correctly call
2272 completion-in-region.
2273
7e821d0d
DD
22742011-06-05 Deniz Dogan <deniz@dogan.se>
2275
2276 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
2277 in last change.
2278
ac09b8a1
DD
22792011-06-05 Deniz Dogan <deniz@dogan.se>
2280
2281 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
2282 (rcirc): Use it to prompt for encryption.
2283
34699b85
RW
22842011-06-05 Roland Winkler <winkler@gnu.org>
2285
2286 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
2287 (bibtex-search-entries): New command bound to C-c C-a.
2288 (bibtex-display-entries): New function.
2289
004dedd3
RW
22902011-06-05 Roland Winkler <winkler@gnu.org>
2291
2292 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
2293 (bibtex-insert-kill): After yanking insert newline if necessary.
2294 (bibtex-initialize): Call bibtex-string-files-init only once.
2295 (bibtex-mode): Do not call easy-menu-add.
2296 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
2297 (bibtex-yank): Set arg properly if nil.
2298
022fe7ce
RW
22992011-06-05 Roland Winkler <winkler@gnu.org>
2300
2b75be67
SM
2301 * textmodes/bibtex.el (bibtex-search-entry-globally):
2302 New variable.
022fe7ce
RW
2303 (bibtex-search-entry): Use it.
2304
b7c3692a
RW
23052011-06-05 Roland Winkler <winkler@gnu.org>
2306
2307 * textmodes/bibtex.el (bibtex-entry-format): New option
2308 sort-fields.
2309 (bibtex-format-entry, bibtex-reformat): Honor this option.
2310 (bibtex-parse-entry): Return fields in proper order.
2311
8eda563d
JB
23122011-06-05 Juanma Barranquero <lekktu@gmail.com>
2313
2314 * doc-view.el (doc-view-remove-if): Move computation of result out
2315 of `dolist' to silence misleading lexical-binding warning.
2316
7dbe3dbc
CY
23172011-06-04 Chong Yidong <cyd@stupidchicken.com>
2318
2319 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
2320 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
2321
0c33dd17
MA
23222011-06-04 Michael Albinus <michael.albinus@gmx.de>
2323
2324 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
2325 "SunOS 5.10".
2326
f8f91c2b
MA
23272011-06-04 Michael Albinus <michael.albinus@gmx.de>
2328
2329 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
2330 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
2331 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
2332 (tramp-parse-putty):
2333 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
2334 (tramp-completion-function-alist-ssh)
2335 (tramp-completion-function-alist-telnet)
2336 (tramp-completion-function-alist-su)
2337 (tramp-completion-function-alist-putty): Set `tramp-autoload'
2338 cookie.
2339
2340 * net/tramp-ftp.el:
2341 * net/tramp-sh.el:
2342 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
2343 load "tramp.el" `tramp-set-completion-function'.
2344
e17d9003
SM
23452011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * shell.el: Require and use pcomplete.
2348 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
2349 (shell-completion-vars): Set pcomplete-default-completion-function.
2350
6c4cab03
DD
23512011-06-04 Deniz Dogan <deniz@dogan.se>
2352
2353 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
2354 `memq' (Bug#8799).
2355
ea9fafe0
SM
23562011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
2359
b3e945d3
JB
23602011-06-02 Juanma Barranquero <lekktu@gmail.com>
2361
2362 * bs.el (bs--mark-unmark, bs--nth-wrapper):
2363 * mpc.el (mpc-select-extend, mpc-songpointer-context):
2364 * vc/log-view.el (log-view-beginning-of-defun):
2365 * vc/smerge-mode.el (smerge-apply-resolution-patch)
2366 (smerge-refine-forward, smerge-refine-chopup-region):
2367 Silence warning for unused `dotimes' counter variables.
2368
7d520089
SM
23692011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * net/tramp.el (tramp-with-progress-reporter): Rename from
2372 with-progress-reporter. Use `declare'.
2373 * net/tramp-smb.el:
2374 * net/tramp-sh.el:
2375 * net/tramp-gvfs.el: Update all uses.
2376
a1c2400f
JB
23772011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
2378
2379 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
2380 buffer isn't killed before making it current.
2381
2403c841
SM
23822011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2383
2384 Silence various byte-compiler warnings.
2385 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
2386 `access-type' and new obsolescence format.
2387 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
2388 new format.
2389 (byte-compile-check-variable): New `access-type' argument.
2390 Only warn if the access-type is obsolete.
2391 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2392 (byte-compile-variable-set): Adjust callers.
2393 * help-fns.el (describe-variable): Adjust to new obsolescence format.
2394 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
2395 setting it as obsolete.
2396 * simple.el (minibuffer-completing-symbol):
2397 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
2398 access as obsolete.
2399 * minibuffer.el (minibuffer-completing-file-name): Don't make it
2400 obsolete yet.
2401 * international/quail.el (quail-mouse-choose-completion): Remove unused
2402 code referring to obsolete var.
2403 (quail-choose-completion-string): Remove.
2404 * server.el (server-clients-with, server-kill-buffer-query-function)
2405 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
2406 * proced.el (proced-send-signal):
2407 * emacs-lisp/lisp.el (lisp-complete-symbol):
2408 Replace completion-annotate-function with completion-extra-properties.
2409
2462470b
SM
24102011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2411
fb5b2591
SM
2412 * simple.el (goto-line): Use read-number.
2413 (overriding-map-is-bound): Remove.
2414 (saved-overriding-map): Change default.
2415 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
2416 Take the map as argument.
2417 (universal-argument, negative-argument, digit-argument): Use it.
2418 (restore-overriding-map): Adjust.
2419 (do-auto-fill): Use fill-forward-paragraph.
2420 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
2421
fd6fa53f
SM
2422 * minibuffer.el (minibuffer-inactive-mode-map): New var.
2423 (minibuffer-inactive-mode): New major mode.
2424 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
2425 the *Messages* buffer" hack.
2426 (mouse-popup-menubar): Don't burp if the event is a normal key.
2427
2462470b
SM
2428 Miscellaneous tweaks.
2429 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
2430 lexical scoping as in subr.el's dolist and dotimes.
2431 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
2432 Silence compiler warning.
2433 * thingatpt.el (forward-whitespace): Trivial coding style fix.
2434 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
2435 * international/ccl.el (ccl-compile): Trivial simplification.
2436 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
2437 * emacs-lisp/testcover.el (testcover-end): Remove spurious
2438 `printflag' argument.
2439 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
2440 Purecopy the whole obsolescence data.
2441
108bf785
LL
24422011-06-01 Leo Liu <sdl.web@gmail.com>
2443
2444 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
2445 improve doc-string as suggested by Marco Pessotto
2446 <melmothx@gmail.com>.
2447 (rcirc-print): Fix last change.
2448
30a23501
SM
24492011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 * minibuffer.el (complete-with-action): Return nil for the metadata and
2452 boundaries of non-functional tables.
2453 (completion-table-dynamic): Return nil for the metadata.
2454 (completion-table-with-terminator): Add default case, using
2455 complete-with-action.
2456 (completion--metadata): New function.
2457 (completion-all-sorted-completions, minibuffer-completion-help): Use it
2458 to try and avoid pathological performance problems.
2459 (completion--embedded-envvar-table): Return `category' metadata.
2460
bcd54f83
LMI
24612011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
2462
2463 * subr.el (process-alive-p): New tiny convenience function.
2464
e227544d
SM
24652011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2466
2467 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
2468 content but also its previous major mode.
2469
e8296fdc
HE
24702011-05-31 Helmut Eller <eller.helmut@gmail.com>
2471
2472 * debug.el (debug): Restore the previous content of the
2473 *Backtrace* buffer when we exit with C-M-c.
2474
620c53a6
SM
24752011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2476
2477 * minibuffer.el: Add metadata method to completion tables.
2478 (completion-category-overrides): New defcustom.
2479 (completion-metadata, completion--field-metadata)
2480 (completion-metadata-get, completion--styles)
2481 (completion--cycle-threshold): New functions.
2482 (completion-try-completion, completion-all-completions):
2483 Add `metadata' argument to choose completion-styles.
2484 (completion--do-completion): Use metadata to choose cycling.
2485 (completion-all-sorted-completions): Use metadata for sorting.
2486 Remove :completion-cycle-penalty which is not needed any more.
2487 (completion--try-word-completion): Add `metadata' argument.
2488 (minibuffer-completion-help): Check metadata for annotation function
2489 and sorting.
2490 (completion-file-name-table): Return `category' metadata.
2491 (minibuffer-completing-file-name): Make obsolete.
2492 * simple.el (minibuffer-completing-symbol): Make obsolete.
2493 * icomplete.el (icomplete-completions): Pass new `metadata' param to
2494 completion-try-completion.
2495
1257e755
SM
24962011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2497
2498 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
2499
3767e706
LL
25002011-05-30 Leo Liu <sdl.web@gmail.com>
2501
2502 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
2503 (rcirc-print): Decode all incoming messages (bug#8744).
2504 (rcirc-decode-coding-system): Allow value nil for automatic coding
2505 system detection.
3767e706 2506
d1a5d56a
GM
25072011-06-01 Glenn Morris <rgm@gnu.org>
2508
2509 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
2510
e8cbec34
CY
25112011-05-29 Chong Yidong <cyd@stupidchicken.com>
2512
2513 * image.el (image-animate-max-time): Allow nil and t values.
2514 Default to nil.
2515 (create-animated-image): Doc fix.
2516 (image-animate-start): Remove second arg; just use
2517 image-animate-max-time.
2518 (image-animate-timeout): Doc fix. Args changed.
2519
2520 * image-mode.el (image-toggle-display-image): Ensure that the
2521 image spec passed to the animate timer is the same object as in
2522 the the buffer's display property (Bug#6981).
2523 (image-transform-properties): Doc fix.
2524
2525 * image.el (image-animate-max-time): Default to nil.
2526
159daf87
MR
25272011-05-29 Martin Rudalics <rudalics@gmx.at>
2528
2529 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
2530 entire buffer list (Bug#8184).
2531
d66c4c7c
CY
25322011-05-29 Chong Yidong <cyd@stupidchicken.com>
2533
2534 * image.el (imagemagick-types-inhibit)
2535 (imagemagick-register-types): Doc fix.
2536
80aec780
DD
25372011-05-29 Deniz Dogan <deniz@dogan.se>
2538
2539 * net/rcirc.el (rcirc): Use the user's stored encryption method by
2540 default.
2541
1dd3c2d9
CY
25422011-05-29 Chong Yidong <cyd@stupidchicken.com>
2543
2544 * select.el: Don't perform clipboard-manager saving in hooks;
2545 leave the hooks empty.
2546
60e56523
LL
25472011-05-28 Leo Liu <sdl.web@gmail.com>
2548
2549 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
2550 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
2551 (occur-edit-mode): New major mode (Bug#8463).
2552 (occur-after-change-function): New function.
2553 (occur-engine): Give Occur tags a read-only property.
2554
2b1e1a22
KR
25552011-05-28 Kevin Ryde <user42@zip.com.au>
2556
2557 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
2558
5d344e88
CY
25592011-05-28 Chong Yidong <cyd@stupidchicken.com>
2560
8e6ca83d
CY
2561 * bindings.el (help-echo): Make the initial non-indicator dash
2562 empty on graphical terminals (Bug#7295).
2563
5d344e88
CY
2564 * files.el (auto-mode-alist): Move config rule after the
2565 in-stripping one (Bug#8547).
2566
bfbbace7
CY
2567 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
2568
fbeba6e2
CY
2569 * startup.el (normal-splash-screen): Remove gratuitous mode-line
2570 setting (Bug#8740).
2571
60ed8c72
AA
25722011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
2573
4ac619f0
AA
2574 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
2575 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
2576 (Bug#8539).
60ed8c72 2577
23db196e
CY
25782011-05-28 Chong Yidong <cyd@stupidchicken.com>
2579
2580 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
2581
5012f24c
DK
25822011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
2583
2584 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
2585 (hs-hide-block-at-point, hs-find-block-beginning)
2586 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
2587 (Bug#8279).
2588
6a639b16
GM
25892011-05-28 Glenn Morris <rgm@gnu.org>
2590
2591 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
2592
d43eaf2c
CY
25932011-05-28 Chong Yidong <cyd@stupidchicken.com>
2594
5199bde1
CY
2595 * help-fns.el (describe-function-1): If the function is a derived
2596 major mode, print the parent mode.
2597
d43eaf2c
CY
2598 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
2599 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
2600
423428a8
SM
26012011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2602
0ff8e1ba
SM
2603 * minibuffer.el (completion--capf-wrapper): Check applicability before
2604 retuning non-nil for non-exclusive completion data.
2605 * progmodes/etags.el (tags-completion-at-point-function):
2606 * info-look.el (info-lookup-completions-at-point): Mark as
2607 non-exclusive.
2608 (info-complete): Adjust accordingly.
2609
423428a8
SM
2610 * info-look.el: Convert to lexical-binding and completion-at-point.
2611 (info-lookup-completions-at-point): New function.
2612 (info-complete): Use it and completion-in-region.
2613
b74aa22b
DA
26142011-05-28 Drew Adams <drew.adams@oracle.com>
2615
2616 * isearch.el: Let M-e start with point at the first mismatched char.
2617 (isearch-fail-pos): New function.
2618 (isearch-edit-string): Use it.
2619
66e2e71d
DK
26202011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
2621
2622 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
2623
eb95d01d
TC
26242009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
2625
2626 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
2627 traversal functions for avl-trees.
2628 (avl-tree--stack): New struct.
2629 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
2630 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
2631 (avl-tree--do-enter): Add optional `updatefun' arg.
2632 Change return value.
eb95d01d 2633 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
2634 (avl-tree--do-delete): Add `test' and `nilflag' args.
2635 Change return value.
eb95d01d
TC
2636 (avl-tree-member): Add optional `nilflag'
2637 (avl-tree-member-p): New function.
2638 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
2639 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
2640 (avl-tree-stack-empty-p): New functions.
2641
3769ddcf
TC
26422009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
2643
2644 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
2645 avl-tree--del-balance1 and make it work both ways.
2646 (avl-tree--del-balance2): Remove.
2647 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
2648 make it work both ways.
2649 (avl-tree--enter-balance2): Remove.
2650 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
2651 New macros.
2652 (avl-tree--mapc, avl-tree-map): Add direction argument.
2653
eb95d01d 26542011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
2655
2656 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
2657
a9f737ee
CY
26582011-05-27 Chong Yidong <cyd@stupidchicken.com>
2659
2660 * select.el: Support clipboard managers with built-in function
2661 x-clipboard-manager-save, via delete-frame-functions and
2662 kill-emacs-hook.
2663 (xselect-convert-to-targets): Add MULTIPLE target to list.
2664 (xselect-convert-to-save-targets): New function.
2665
c92a1e54
KH
26662011-05-27 Kenichi Handa <handa@m17n.org>
2667
2668 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
2669 let-binding rfc2047-encode-encoded-words to nil.
2670
e145f188
GM
26712011-05-27 Glenn Morris <rgm@gnu.org>
2672
5ec8a862
GM
2673 * mail/emacsbug.el: Don't require url-util.
2674
4b29d9fb
GM
2675 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
2676
e145f188
GM
2677 * files.el (set-auto-mode):
2678 Also respect mode: entries at the end of the file. (Bug#8586)
2679
7d15102b
GM
26802011-05-26 Glenn Morris <rgm@gnu.org>
2681
98f593b8
GM
2682 * files.el (hack-local-variables-prop-line, hack-local-variables):
2683 Downcase mode names, as seems to be traditional.
27b48e63 2684 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 2685
7d15102b
GM
2686 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
2687 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
2688
51d5b4ec
JD
26892011-05-25 Julien Danjou <julien@danjou.info>
2690
2691 * textmodes/rst.el (rst-define-level-faces): Do not define face
2692 symbol if it is already defined.
2693
91513f63
VB
26942011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2695
2696 * play/5x5.el (5x5-new-game, 5x5-randomize):
2697 Reset 5x5-solver-output to nil when a new grid is cast.
2698 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
2699 these debugging traces, as defmacro breaks the compiled code.
2700
4d90d6d0
DK
27012011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
2702
2703 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
2704
e1b90ef6
LL
27052011-05-24 Leo Liu <sdl.web@gmail.com>
2706
2707 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
2708 (vc-bzr-sha1): Adapt.
2709
d8e4b68b 2710 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
2711
2712 * bindings.el: Provide sha1 feature.
2713
db0406bb 27142011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
2715
2716 * mail/sendmail.el: Require `rfc2047'.
2717 (mail-insert-from-field): Do not perform RFC2047 encoding.
2718 (mail-encode-header): New function.
2719 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
2720 buffer to the return value of select-message-coding-system.
2721 Call mail-encode-header.
b8d747b9
KH
2722
2723 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
2724
db0406bb 27252011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 2726
4d90d6d0
DK
2727 * mail/supercite.el (sc-default-cite-frame):
2728 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 2729
eb8a5e9b
GM
27302011-05-24 Glenn Morris <rgm@gnu.org>
2731
f8630703
GM
2732 * progmodes/python.el (brm-menu): Declare.
2733
8831bbed
GM
2734 * emulation/viper.el (viper-set-hooks): Declare.
2735
eb8a5e9b
GM
2736 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
2737 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
2738 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
2739 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
2740 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
2741 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
2742
a2a25d24
SM
27432011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2744
2745 Add an :exit-function for completion-at-point.
2746
2747 * minibuffer.el (completion--done): New fun.
2748 (completion--do-completion): Use it. New arg `expect-exact'.
2749 (minibuffer-complete, minibuffer-complete-word): Don't output message,
2750 since completion--do-completion does it for us now.
2751 (minibuffer-force-complete): Use completion--done and
2752 completion--replace. Handle sole-completion case with more care.
2753 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
2754 (completion-extra-properties): New var.
2755 (completion-annotate-function): Make obsolete.
2756 (minibuffer-completion-help): Adjust accordingly.
2757 Use completion-list-insert-choice-function.
2758 (completion-at-point, completion-help-at-point):
2759 Bind completion-extra-properties.
2760 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
2761 * simple.el (completion-list-insert-choice-function): New var.
2762 (completion-setup-function): Preserve it.
2763 (choose-completion): Pay attention to it, shuffle the code a bit.
2764 (choose-completion-string): New arg `insert-function'.
2765
2766 * textmodes/bibtex.el: Convert to lexical binding.
2767 (bibtex-mode-map): Use completion-at-point.
2768 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
2769 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
2770 (bibtex-complete): Define as obsolete alias.
2771 (bibtex-complete-internal): Remove.
2772 (bibtex-format-entry): Remove unused sub-group in regexp.
2773 * shell.el (shell--command-completion-data)
2774 (shell-environment-variable-completion):
2775 * pcomplete.el (pcomplete-completions-at-point):
2776 * comint.el (comint--complete-file-name-data): Use :exit-function
2777 instead of completion-table-with-terminator so it also works for
2778 choose-completion.
2779
e44e373d
SM
27802011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2781
4f91a816
SM
2782 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
2783
782fc819
SM
2784 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
2785 (bug#8710).
2786
e44e373d
SM
2787 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
2788
381987c3
KM
27892011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
2790
2791 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
2792 customization variable and implement: If non-nil, auto-fill will
2793 be inhibited while on topic's header line.
2794
b776bc70
VB
27952011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
2796
2797 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 2798 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
2799 always have a solution in grid size = 5 cases.
2800 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
2801 (5x5-solver-output, 5x5-log-buffer): New vars.
2802 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
2803 Make these variables buffer local to achieve 5x5 multi-session-ness.
2804 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
2805 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
2806 (5x5-solve-suggest): New funs.
2807 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
2808 randomize a grid so that we ensure that there is always a solution.
2809 (5x5-make-random-grid): Allow other movement than flipping.
2810
7de88b6e
KR
28112011-05-23 Kevin Ryde <user42@zip.com.au>
2812
2813 * emacs-lisp/advice.el (ad-read-advised-function):
2814 Use `function-called-at-point' as the default default, if it has
2815 advice and passes PREDICATE.
2816
b1ef1257
SM
28172011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2818
bbca48fe
SM
2819 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
2820 byte-compile-lambda if it's actually a lambda.
2821
b1ef1257
SM
2822 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
2823 Fix function quoting. Use backquote better.
2824
92a9cc65
YS
28252011-05-22 Yuanle Song <sylecn@gmail.com>
2826
2827 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
2828 matching (Bug#8516).
2829
f0fb8059
JA
28302011-01-22 Jari Aalto <jari.aalto@cante.net>
2831
2832 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
2833 different face (Bug#8178).
2834
d5b44c93
CY
28352011-05-22 Chong Yidong <cyd@stupidchicken.com>
2836
2837 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
2838 defface (Bug#8144).
2839
79106a44
SM
28402011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
2841
9c848d8a
SM
2842 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
2843 funcall as well (bug#8712). Warn when performing those conversions.
2844 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
2845
79106a44
SM
2846 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
2847
88dfa756
GM
28482011-05-22 Glenn Morris <rgm@gnu.org>
2849
2850 * files.el (hack-local-variables-prop-line): Small simplifications.
2851 (hack-local-variables, hack-local-variables-prop-line):
2852 If MODE-ONLY, return the mode, rather than just `t'.
2853
b7cf2c79
SM
28542011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2855
2856 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
2857
3f1a8558
GM
28582011-05-21 Glenn Morris <rgm@gnu.org>
2859
7e4ccca3
GM
2860 * files.el (hack-local-variables-prop-line, hack-local-variables):
2861 If only interested in the mode, don't bother doing the other stuff.
2862
637d46ca
GM
2863 * image-mode.el (image-after-revert-hook):
2864 Redraw all frames on which the image is visible. (Bug#8567)
2865
973d955b
GM
2866 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
2867
3f1a8558
GM
2868 * wid-edit.el (widget-checklist-match-inline):
2869 Fix 2011-04-19 change. (Bug#8649)
2870
96479927
SM
28712011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2872
1dcf791f
SM
2873 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
2874 Also allow singlespace after single-letter capitals followed by a dot.
2875
96479927
SM
2876 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
2877 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
2878
35fd0881
N
28792011-05-20 Nix <nix@esperi.org.uk>
2880
2881 * files.el (basic-save-buffer-2):
2882 Fix handling of break-hardlink-on-save with non-existent files.
2883
82745640
DD
28842011-05-19 Deniz Dogan <deniz@dogan.se>
2885
2886 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 2887 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 2888
4a720484
GM
28892011-05-19 Glenn Morris <rgm@gnu.org>
2890
d1f21341
GM
2891 * progmodes/f90.el (f90-type-def-re):
2892 Handle "type, bind(c)". (Bug#8691)
2893
4a720484
GM
2894 * emacs-lisp/autoload.el (batch-update-autoloads):
2895 Set autoload-excludes by parsing loadup.el rather than Makefiles.
2896
2fb0a219
MA
28972011-05-18 Michael Albinus <michael.albinus@gmx.de>
2898
2899 * net/tramp.el (tramp-process-actions): Set "first-password-request"
2900 property for the correct connection in case of multihops.
2901
e565dd37
GM
29022011-05-18 Glenn Morris <rgm@gnu.org>
2903
c2571358 2904 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
2905 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
2906
e565dd37
GM
2907 Rationalize calendar handling of day and month abbrev-arrays.
2908 * calendar/calendar.el (calendar-customized-p): New function.
2909 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
2910 (calendar-day-name-array, calendar-month-name-array): Doc fix.
2911 Add :set function.
2912 (calendar-abbrev-length, calendar-day-abbrev-array)
2913 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
2914 (calendar-day-abbrev-array, calendar-month-abbrev-array):
2915 Elements may no longer be nil.
2916 (calendar-day-name, calendar-month-name):
2917 Update for changed nature of abbrev arrays.
2918 * calendar/diary-lib.el (diary-name-pattern):
2919 Update for changed nature of abbrev arrays.
2920 (diary-mark-entries-1): Update calendar-make-alist calls.
2921 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
2922 * calendar/cal-html.el (cal-html-day-abbrev-array):
2923 Simply inherit from calendar-day-abbrev-array.
2924
1d99a745
SM
29252011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2926
2927 * progmodes/grep.el (grep-mode): Disable default
2928 compilation-directory-matcher setting (bug#8684).
2929
7c1d9aa0
MA
29302011-05-17 Michael Albinus <michael.albinus@gmx.de>
2931
2932 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
2933 instead of "head" and "tail". There were problems with SunOS 5.9,
2934 and it performs better.
2935
3952e9d8
GM
29362011-05-17 Glenn Morris <rgm@gnu.org>
2937
2dd12e7f
GM
2938 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
2939
e4157b9c
GM
2940 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2941 Replace obsolete function.
2942
8e249bbd
GM
2943 * shell.el (pcomplete-parse-arguments-function): Declare.
2944
3952e9d8
GM
2945 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
2946 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
2947 (appt-check): Doc fixes.
2948 (appt-disp-window-function, appt-delete-window-function):
2949 Remove needless special case in custom :type.
2950 (appt-display-count): Default to 0, not nil.
2951 (appt-check): Reset appt-display-count to 0, not nil.
2952
c71a0d48 29532011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 2954
c71a0d48
GM
2955 * progmodes/python.el (python-font-lock-keywords):
2956 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 2957
31d55be9
SM
29582011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2959
2960 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
2961
3bfacb2f
KR
29622011-05-16 Kevin Ryde <user42@zip.com.au>
2963
2964 * info-look.el (makefile-automake-mode): New setups, looking in
2965 automake manual, then makefile-mode.
2966 (makefile-mode): Remove automake manual, have it just in
2967 makefile-automake-mode since there's various things different or
2968 not relevant to plain make.
2969 (makefile-mode): Remove "other-modes" non-existent automake-mode,
2970 believe a hypothetical automake-mode would go to makefile-mode,
2971 not the other way around.
2972
c8e83751
CY
29732011-05-15 Chong Yidong <cyd@stupidchicken.com>
2974
5e9e35cd
CY
2975 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
2976 hunk-end tags (Bug#8672).
2977
c8e83751
CY
2978 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
2979 vc-annotate-show-diff-revision-at-line (Bug#8671).
2980
50b23e5a
GM
29812011-05-14 Glenn Morris <rgm@gnu.org>
2982
7210a739
GM
2983 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
2984 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
2985 (change-log-font-lock-keywords): Also handle multiple author lines
2986 with leading tabs. (Bug#8644)
7210a739 2987
4691905a
GM
2988 * calendar/appt.el (appt-check): Rename some local variables.
2989 Some simplification/reordering.
2990
50b23e5a
GM
2991 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
2992 (feedmail-sendmail-f-doesnt-sell-me-out)
2993 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
2994 (feedmail-debug-sit-for, feedmail-queue-express-hook)
2995 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
2996 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
2997 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
2998 (feedmail-binmail-gnulinuxish-template):
2999 Rename from feedmail-binmail-linuxish-template.
3000 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
3001 Use insert-buffer-substring.
3002
215cda7c
BC
30032011-05-14 Bill Carpenter <bill@carpenter.org>
3004
3005 * mail/feedmail.el (feedmail-patch-level): Increase.
3006 (feedmail-debug): New custom group.
3007 (feedmail-confirm-outgoing-timeout)
3008 (feedmail-sendmail-f-doesnt-sell-me-out)
3009 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3010 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
3011 (feedmail-sender-line, feedmail-from-line)
3012 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 3013 (feedmail-spray-this-address)
215cda7c
BC
3014 (feedmail-spray-address-fiddle-plex-list)
3015 (feedmail-queue-use-send-time-for-date)
3016 (feedmail-queue-use-send-time-for-message-id)
3017 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
3018 (feedmail-buffer-eating-function):
3019 Doc fixes.
3020 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
3021 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
3022 (feedmail-message-action-scroll-down): New functions.
3023 (feedmail-queue-directory, feedmail-queue-draft-directory):
3024 Use expand-file-name.
3025 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
3026 Remove C-v help entry.
3027 (feedmail-queue-buffer-file-name): New variable.
3028 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
3029 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
3030 (feedmail-message-action-send-strong, feedmail-message-action-edit)
3031 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
3032 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
3033 (feedmail-message-action-toggle-spray)
3034 (feedmail-run-the-queue-no-prompts)
3035 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
3036 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
3037 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
3038 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
3039 (feedmail-envelope-deducer, feedmail-fiddle-from)
3040 (feedmail-fiddle-sender, feedmail-default-date-generator)
3041 (feedmail-fiddle-date, feedmail-fiddle-message-id)
3042 (feedmail-fiddle-spray-address)
3043 (feedmail-fiddle-list-of-spray-fiddle-plexes)
3044 (feedmail-fiddle-list-of-fiddle-plexes)
3045 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
3046 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
3047 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
3048 Change default. Doc fix.
3049 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
3050 (feedmail-binmail-linuxish-template): New constant.
3051 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
3052 Respect feedmail-sendmail-f-doesnt-sell-me-out.
3053 (feedmail-send-it): Add debug call.
3054 Use feedmail-queue-buffer-file-name, and
3055 feedmail-send-it-immediately-wrapper.
3056 (feedmail-message-action-send): Add debug call.
3057 Use feedmail-send-it-immediately-wrapper.
3058 (feedmail-queue-express-to-queue): Add debug call.
3059 Run feedmail-queue-express-hook.
3060 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
3061 (feedmail-message-action-help-blat):
3062 Rename from feedmail-queue-send-edit-prompt-help-first.
3063 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
3064 Check line-endings. Handle errors better.
3065 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
3066 Doc fix. Add debug call.
3067 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
3068 Use feedmail-queue-send-edit-prompt-inner.
3069 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
3070 (feedmail-queue-send-edit-prompt-inner): New function, extracted
3071 from feedmail-queue-send-edit-prompt.
3072 (feedmail-queue-send-edit-prompt-help)
3073 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
3074 (feedmail-tidy-up-slug): Add debug call.
3075 Respect feedmail-queue-slug-suspect-regexp.
3076 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
3077 (feedmail-dump-message-to-queue): Add debug call.
3078 Expand queue-directory.
3079 (feedmail-dump-message-to-queue): Change message slightly.
3080 Use feedmail-say-chatter.
3081 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
3082 (feedmail-send-it-immediately-wrapper): New function.
3083 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
3084 Insert empty string rather than newline. Handle full-frame case.
3085 Use catch/throw. Use feedmail-say-chatter.
3086 (feedmail-fiddle-from): Try mail-host-address.
3087 (feedmail-default-message-id-generator): Doc fix.
3088 Bind system-time-locale. Handle missing end.
3089 (feedmail-fiddle-x-mailer): Add debug call.
3090 Handle feedmail-x-mailer-line being nil.
3091 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
3092 Add debug call. Use buffer-substring-no-properties.
3093 (feedmail-say-debug, feedmail-say-chatter): New functions.
3094 (feedmail-find-eoh): Give an explicit error.
3095
42c7e61e
UJ
30962011-05-13 Ulf Jasper <ulf.jasper@web.de>
3097
c2571358 3098 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 3099 family from helvetica to sans.
c2571358 3100 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
3101 etc/images/newsticker.
3102
c2571358 3103 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
3104 family from helvetica to sans.
3105
3106 * net/newst-plainview.el (newsticker-new-item-face)
3107 (newsticker-old-item-face, newsticker-immortal-item-face)
3108 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 3109 (newsticker-statistics-face): Change default family from
42c7e61e 3110 helvetica to sans.
c2571358 3111 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
3112 etc/images/newsticker.
3113
3114 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
3115 (newsticker--process-auto-mark-filter-match): : Tell user about
3116 auto-marking.
3117
8497a297
DV
31182011-05-13 Didier Verna <didier@xemacs.org>
3119
3120 Common Lisp indentation improvements on defmethod and lambda-lists.
3121 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
3122 (lisp-lambda-list-keyword-parameter-indentation)
3123 (lisp-lambda-list-keyword-parameter-alignment)
3124 (lisp-lambda-list-keyword-alignment): New customizable user options.
3125 (lisp-indent-defun-method): Improve docstring.
3126 (extended-loop-p): Fix comment.
3127 (lisp-indent-lambda-list-keywords-regexp): New variable.
3128 (lisp-indent-lambda-list): New function.
3129 (lisp-indent-259): Use it.
3130 (lisp-indent-defmethod): Support for more than one
3131 method qualifier and properly indent methods lambda-lists.
3132 (defgeneric): Provide a missing common-lisp-indent-function property.
3133
f278f87f
SM
31342011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3135
3136 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
3137 bounds for the empty string (bug#8667).
3138
5233edd7
GM
31392011-05-13 Glenn Morris <rgm@gnu.org>
3140
5237a44f
GM
3141 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
3142
8340026c 3143 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 3144 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 3145
5233edd7 3146 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 3147 (appt-time-msg-list): Doc fix.
a5464014 3148 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 3149
92d10796
AS
31502011-05-12 Andreas Schwab <schwab@linux-m68k.org>
3151
3152 * progmodes/ld-script.el (ld-script-keywords)
3153 (ld-script-builtins): Update keywords list.
3154
914a0ae1
SM
31552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3156
c89be45f
SM
3157 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
3158
914a0ae1
SM
3159 * shell.el (shell-completion-vars): New function.
3160 (shell-mode):
3161 * simple.el (read-shell-command): Use it.
3162 (blink-matching-open): No need for " [...]" in minibuffer-message.
3163
98dc3df3
GM
31642011-05-12 Glenn Morris <rgm@gnu.org>
3165
3166 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
3167 (appt-check): Simplify.
3168
d2fc7e3d 31692011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21
EZ
3170
3171 * smerge-mode.el (smerge-resolve): Use null-device rather than a
3172 literal "/dev/null".
3173
d2fc7e3d 31742011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
3175
3176 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
3177 Fix typo.
3178
d2fc7e3d 31792011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 3180
3f254caa
SM
3181 * progmodes/which-func.el (which-function):
3182 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
3183 which might not be defined (Bug#8260).
3184
d45885f7
GM
31852011-05-12 Glenn Morris <rgm@gnu.org>
3186
3187 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
3188 Let byte-compile-initial-macro-environment always take precedence.
3189
488086f4
SM
31902011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3191
3192 * net/rcirc.el: Add support for SSL/TLS connections.
3193 (rcirc-server-alist): New field `encryption'.
3194 (rcirc): Check `encryption' settings.
3195 (rcirc-connect): New arg `encryption'. Use open-network-stream.
3196 Merge make-local-variable into `set'.
3197 (rcirc--connection-open-p): New function.
3198 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
3199 the process is not a network process (e.g. running gnutls-cli).
3200 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
3201 Make rcirc-(en|de)code-coding-system local here.
3202 (rcirc-mode): Merge make-local-variable into `set'.
3203 (rcirc-parent-buffer): Make permanent buffer-local.
3204 (rcirc-multiline-minor-mode): Don't do it here.
3205 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
3206 there's no server buffer.
3207
7d3b9d44
GM
32082011-05-11 Glenn Morris <rgm@gnu.org>
3209
f64049c6
GM
3210 * newcomment.el (comment-kill): Prefix "unused" local.
3211
93c9df73
GM
3212 * term/w32console.el (get-screen-color): Declare.
3213
7d3b9d44
GM
3214 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3215 Handle symbol elements of byte-compile-initial-macro-environment.
3216
9e2dd53f
LL
32172011-05-10 Leo Liu <sdl.web@gmail.com>
3218
488086f4
SM
3219 * bookmark.el (bookmark-bmenu-mode-map):
3220 Bind bookmark-bmenu-search to `/'.
8b340240 3221
9e2dd53f 3222 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
3223 (footnote-unicode-string, footnote-unicode-regexp): New variable.
3224 (Footnote-unicode): New function.
3225 (footnote-style-alist): Add unicode style to the list.
3226 (footnote-style): Doc fix.
9e2dd53f 3227
79b70037
GM
32282011-05-10 Jim Meyering <meyering@redhat.com>
3229
3230 Fix doubled-word typos.
3231 * international/quail.el (quail-insert-kbd-layout): and and -> and
3232 * kermit.el: and and -> and
3233 * net/ldap.el (ldap-search-internal): to to -> to
3234 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
3235 * progmodes/js.el (js-mode): and and -> and
3236 * textmodes/artist.el (artist-move-to-xy): at at -> at
3237 (artist-draw-region-trim-line-endings): if if -> if
3238 And Safetyc -> Safety.
3239 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
3240
b8f82dc1 32412011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 3242 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
3243
3244 * files.el (hack-one-local-variable-eval-safep):
3245 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
3246
4f99f44b
GM
32472011-05-10 Glenn Morris <rgm@gnu.org>
3248
3249 * calendar/diary-lib.el (diary-list-entries-hook)
3250 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
3251 (diary-nongregorian-marking-hook, diary-list-entries)
3252 (diary-include-other-diary-files, diary-mark-entries)
3253 (diary-mark-included-diary-files): Doc fixes.
3254
84f29e6b
JB
32552011-05-09 Juanma Barranquero <lekktu@gmail.com>
3256
3257 * misc.el: Require tabulated-list.el during compilation.
3258
9bedd73a
CY
32592011-05-09 Chong Yidong <cyd@stupidchicken.com>
3260
488086f4
SM
3261 * progmodes/compile.el (compilation-start):
3262 Run compilation-filter-hook for the async case too.
9bedd73a
CY
3263 (compilation-filter-hook): Doc fix.
3264
797c735c
DD
32652011-05-09 Deniz Dogan <deniz@dogan.se>
3266
3267 * wdired.el: Remove outdated installation comment. Fix usage
3268 comment.
3269
5f4b1dfe
JB
32702011-05-09 Juanma Barranquero <lekktu@gmail.com>
3271
3272 * misc.el: Implement new command `list-dynamic-libraries'.
3273 (list-dynamic-libraries--loaded-only-p): New variable.
3274 (list-dynamic-libraries--refresh): New function.
3275 (list-dynamic-libraries): New command.
3276
4c44026c
CY
32772011-05-09 Chong Yidong <cyd@stupidchicken.com>
3278
488086f4
SM
3279 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3280 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
3281 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
3282 higher priority to avoid clobbering by gnu.
3283
027f966d
CY
32842011-05-08 Chong Yidong <cyd@stupidchicken.com>
3285
3286 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
3287 if the face has existing theme settings (Bug#8454).
3288
085f5d7d
CY
32892011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
3290
488086f4
SM
3291 * progmodes/perl-mode.el (perl-imenu-generic-expression):
3292 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 3293
2a86a00c
RS
3294 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
3295 special file names `.' and `..' (Bug#8259).
3296
d9c54a06
CY
32972011-05-08 Chong Yidong <cyd@stupidchicken.com>
3298
488086f4
SM
3299 * progmodes/grep.el (grep-mode-font-lock-keywords):
3300 Remove buffer-changing entries.
d9c54a06
CY
3301 (grep-filter): New function.
3302 (grep-mode): Add it to compilation-filter-hook.
3303
3304 * progmodes/compile.el (compilation-filter-hook)
3305 (compilation-filter-start): New defvars.
3306 (compilation-filter): Call compilation-filter-hook prior to
3307 updating the process mark.
3308
c4662635
SM
33092011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
3312
b0512a1d
EZ
33132011-05-07 Eli Zaretskii <eliz@gnu.org>
3314
605c9376
EZ
3315 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
3316 mailclient-send-it even if window-system is nil. (Bug#8595)
3317
c4662635
SM
3318 * term/w32console.el (terminal-init-w32console):
3319 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
3320 background-mode. (Bug#8597)
3321
d1dc2cc2
SM
33222011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3323
3324 Make bytecomp.el understand that defmethod defines funs (bug#8631).
3325 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
3326 New functions.
3327 (defgeneric, eieio--defmethod): Use them.
3328 (eieio-defgeneric): Remove.
3329 (defmethod): Call defgeneric in a way visible to the byte-compiler.
3330
915d1300
GM
33312011-05-07 Glenn Morris <rgm@gnu.org>
3332
a3961c3e
GM
3333 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
3334 Use let rather than let*.
3335 (timeclock-find-discrep): Remove unused local.
3336
314347b9
GM
3337 * calendar/diary-lib.el (diary-comment-start): Doc fix.
3338
915d1300
GM
3339 * calendar/appt.el (appt-time-msg-list): Doc fix.
3340
275b59b0
NF
33412011-05-06 Noah Friedman <friedman@splode.com>
3342
3343 * apropos.el (apropos-print-doc): Only use
3344 emacs-lisp-docstring-fill-column when it is bound to an integer,
3345 per that variable's documentation.
3346
6c19f744
SM
33472011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3348
3349 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 3350 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 3351
60f884b2
GM
33522011-05-06 Glenn Morris <rgm@gnu.org>
3353
5006e634
GM
3354 * calendar/appt.el (appt-message-warning-time): Doc fix.
3355 (appt-warning-time-regexp): New option.
3356 (appt-make-list): Respect appt-message-warning-time.
3357
548d0a63
GM
3358 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
3359 New options.
3360 (diary-add-to-list): Strip comments from the displayed string.
3361 (diary-mode): Set comment-start and comment-end.
3362
60f884b2
GM
3363 * vc/diff-mode.el (smerge-refine-subst): Declare.
3364 (diff-refine-hunk): Don't require smerge-mode when compiling.
3365
989681bb
JB
33662011-05-06 Juanma Barranquero <lekktu@gmail.com>
3367
3368 * simple.el (list-processes): Return nil as the docstring says.
3369
a6bc05e1
MA
33702011-05-05 Michael Albinus <michael.albinus@gmx.de>
3371
3372 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
3373 to "".
3374 (ange-ftp-write-region, ange-ftp-insert-file-contents)
3375 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
3376 determining of binary transfer. (Bug#7383)
3377
23c22e9a
MA
33782011-05-05 Michael Albinus <michael.albinus@gmx.de>
3379
c4662635
SM
3380 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3381 Fix port computation bug. (Bug#8618)
23c22e9a 3382
0bff894f
GM
33832011-05-05 Glenn Morris <rgm@gnu.org>
3384
b8296902
GM
3385 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
3386
1f522ce8
GM
3387 * simple.el (shell-dynamic-complete-functions)
3388 (comint-dynamic-complete-functions): Declare.
3389
cf5bee67
GM
3390 * net/network-stream.el (gnutls-negotiate):
3391 * simple.el (tabulated-list-print): Fix declarations.
3392
3393 * progmodes/gud.el (syntax-symbol, syntax-point):
3394 Remove unnecessary and incorrect declarations.
3395
0bff894f
GM
3396 * emacs-lisp/check-declare.el (check-declare-scan):
3397 Handle byte-compile-initial-macro-environment in bytecomp.el
3398
9869b3ae
SM
33992011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3400
3401 Fix earlier half-done eieio-defmethod change (bug#8338).
3402 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
3403 Streamline and change calling convention.
3404 (defmethod): Adjust accordingly and simplify.
3405 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
3406 new eieio--defmethod.
3407 (slot-boundp): Minor CSE simplification.
3408
9c1d5ac5
MZ
34092011-05-05 Milan Zamazal <pdm@zamazal.org>
3410
3411 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
3412 (glasses-make-readable): Use glasses-separate-capital-groups.
3413
455c834e
JB
34142011-05-05 Juanma Barranquero <lekktu@gmail.com>
3415
3416 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
3417 (warning-series): Doc fix.
3418 (display-warning): Don't try to create the buffer if we just found it.
3419
9ed7c8cb
CY
34202011-05-04 Chong Yidong <cyd@stupidchicken.com>
3421
3422 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
3423 (autoload-find-generated-file): New function.
3424 (generate-file-autoloads): Bind generated-autoload-file to
3425 buffer-file-name.
9869b3ae
SM
3426 (update-file-autoloads, update-directory-autoloads):
3427 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
3428 output file (Bug#7989).
3429 (batch-update-autoloads): Doc fix.
3430
0898ca10
JB
34312011-05-04 Juanma Barranquero <lekktu@gmail.com>
3432
3433 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
3434
31dfb76c
GM
34352011-05-04 Glenn Morris <rgm@gnu.org>
3436
f330b642
GM
3437 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
3438 function, so it follows changes in calendar-date-style.
3439 (diary-fancy-date-matcher): New function.
3440 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
3441 (diary-fancy-font-lock-fontify-region-function):
3442 Use diary-fancy-date-pattern as a function.
3443
31dfb76c
GM
3444 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
3445 non-numbers for `year' etc pseudo-variables. (Bug#8583)
3446
48e79d6a
TZ
34472011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
3448
3449 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
3450 instead of positional arguments. Allow :keylist and :crlfiles
3451 arguments.
3452 (open-gnutls-stream): Call it.
3453
3454 * net/network-stream.el (network-stream-open-starttls): Adjust to
3455 call `gnutls-negotiate' with :process and :hostname arguments.
3456
dd5a5ee0
SM
34572011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3458
ef80fc09
SM
3459 * minibuffer.el (completion--message): New function.
3460 (completion--do-completion, minibuffer-complete)
3461 (minibuffer-force-complete, minibuffer-complete-word): Use it.
3462 (completion--do-completion): Don't ignore completion-auto-help when in
3463 icomplete-mode.
3464
dd5a5ee0
SM
3465 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
3466 internal encoding (e.g. tibetan zero is not whitespace).
3467 (global-whitespace-mode): Prefer save-current-buffer.
3468 (whitespace-trailing-regexp): Remove useless save-match-data.
3469 (whitespace-empty-at-bob-regexp): Minor simplification.
3470
b7d22a83
CY
34712011-05-03 Chong Yidong <cyd@stupidchicken.com>
3472
3473 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
3474
5192af46
AM
34752011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3476
3477 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 3478 Use `concat' to create string for insertion.
5192af46 3479
5767d190
SM
34802011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3481
3482 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
3483 Avoid open-line which runs post-self-insert-hook.
3484 (bibtex-fill-entry): Remove unused `end' var.
3485
bf242939
AM
34862011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
3487
5767d190
SM
3488 * textmodes/ispell.el (ispell-add-per-file-word-list):
3489 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 3490
25666126
LL
34912011-05-03 Leo Liu <sdl.web@gmail.com>
3492
3493 * isearch.el (isearch-yank-pop): New command.
5767d190 3494 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
3495 (isearch-forward): Mention it.
3496
52d3c2d0
SM
34972011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3498
1bcace58
SM
3499 * simple.el (minibuffer-complete-shell-command): Remove.
3500 (minibuffer-local-shell-command-map): Use completion-at-point.
3501 (read-shell-command): Setup completion vars here instead.
3502 (read-expression-map): Bind TAB to symbol completion.
3503
52d3c2d0
SM
3504 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
3505 error directly rather via storing it into `results'.
3506
35813471
LL
35072011-05-02 Leo Liu <sdl.web@gmail.com>
3508
3509 * vc/diff.el: Fix description.
3510
e793a940
LMI
35112011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3512
3513 * server.el (server-eval-at): New function.
3514
8de66e05
LMI
35152011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3516
3517 * net/network-stream.el (open-network-stream): Take a :nowait
3518 parameter and pass it on to `make-network-process'.
3519 (network-stream-open-plain): Ditto.
3520
dcb79f20
AS
35212011-04-30 Andreas Schwab <schwab@linux-m68k.org>
3522
3523 * faces.el (face-spec-set-match-display): Don't match toolkit
3524 options on terminal frames.
3525
14a7fbd8
SM
35262011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3527
7eabc1be
SM
3528 * progmodes/pascal.el: Use lexical binding.
3529 (pascal-mode-map): Remove author preferences.
3530
14a7fbd8
SM
3531 * pcomplete.el (pcomplete-std-complete): Don't abuse
3532 completion-at-point.
3533
50f84510
JB
35342011-04-28 Juanma Barranquero <lekktu@gmail.com>
3535
6e087a44
JB
3536 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
3537 removing code that has been dead since 1991 or so.
3538
50f84510
JB
3539 * startup.el (command-line): When warning about "_emacs", use a
3540 delayed warning to allow the user to filter it out.
3541
0ba690bd
DD
35422011-04-28 Deniz Dogan <deniz@dogan.se>
3543
3544 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
3545 user has not joined.
3546
08abfaad
SM
35472011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3548
3549 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
3550 aren't any completions at point.
3551
638f053a
JB
35522011-04-28 Juanma Barranquero <lekktu@gmail.com>
3553
3554 * subr.el (display-delayed-warnings): New function.
3555 (delayed-warnings-hook): New variable.
3556
8fff8daa
SM
35572011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3558
08abfaad
SM
3559 * minibuffer.el (completion-at-point, completion-help-at-point):
3560 Don't presume that a given completion-at-point-function will always
3561 use the same calling convention.
3562
8fff8daa
SM
3563 * pcomplete.el (pcomplete-completions-at-point):
3564 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
3565 pcomplete-seen is non-nil.
3566 (pcomplete-comint-setup): Also recognize the new comint/shell
3567 completion functions.
3568 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
3569 pcomplete-seen is non-nil.
3570
841a1577 35712011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 3572
841a1577 3573 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 3574 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 3575 the first character in the entry. This allows for code to add its
211ec907
UJ
3576 own uid to the entry.
3577 (icalendar--convert-float-to-ical): Add export of
3578 `diary-float'-entries save for those with the optional DAY
3579 argument.
3580
2a782793
DC
35812011-04-27 Daniel Colascione <dan.colascione@gmail.com>
3582
3583 * subr.el (shell-quote-argument): Use alternate escaping strategy
3584 when we spot a variable reference in a string.
3585
0438ce91
DC
35862011-04-26 Daniel Colascione <dan.colascione@gmail.com>
3587
3588 * cus-start.el (all): Define customization for debug-on-event.
3589
841a1577 35902011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
3591
3592 * subr.el (shell-quote-argument): Escape correctly under Windows.
3593
d090ed6c
SM
35942011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3595
3596 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
3597
bfd31217
MA
35982011-04-25 Michael Albinus <michael.albinus@gmx.de>
3599
d090ed6c
SM
3600 * net/tramp.el (tramp-process-actions): Add POS argument.
3601 Delete region between POS and (pos).
bfd31217 3602
d090ed6c
SM
3603 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3604 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
3605 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
3606
3607 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
3608 position in `tramp-process-actions' call.
3609
3610 * net/trampver.el: Update release number.
3611
e92f3bd3
SM
36122011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3613
850256b5
SM
3614 * custom.el (defcustom): Obey lexical-binding.
3615
e92f3bd3
SM
3616 Fix octave-inf completion problems reported by Alexander Klimov.
3617 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
3618 Inherit from octave-mode-syntax-table.
3619 (inferior-octave-mode): Set info-lookup-mode.
3620 (inferior-octave-completion-at-point): New function.
3621 (inferior-octave-complete): Use it and completion-in-region.
3622 (inferior-octave-dynamic-complete-functions): Use it as well, and use
3623 comint-filename-completion.
3624 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
3625 symbol elements which shouldn't be word elements.
3626 (octave-font-lock-keywords, octave-beginning-of-defun)
3627 (octave-function-header-regexp): Adjust regexps accordingly.
3628 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
3629
cd22b309
JB
36302011-04-25 Juanma Barranquero <lekktu@gmail.com>
3631
3632 * net/gnutls.el (gnutls-errorp): Declare before first use.
3633
8b492194
TZ
36342011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
3635
3636 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
3637 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
3638 default trustfile exists before going to use it. Add missing
3639 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
3640 Reported by Claudio Bley <claudio.bley@gmail.com>.
3641 (open-gnutls-stream): Add usage example.
3642
3643 * net/network-stream.el (network-stream-open-starttls): Give host
3644 parameter to `gnutls-negotiate'.
3645 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 3646 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 3647
841a1577 36482011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 3649
cd22b309
JB
3650 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3651 Use correct match group (bug#8438).
05842630 3652
3ba7869c
CY
36532011-04-24 Chong Yidong <cyd@stupidchicken.com>
3654
512e3ae1
CY
3655 * emacs-lisp/package.el (package-built-in-p): Fix typo.
3656 (package-menu--generate): New arg specifying packages to show.
3657 (package-menu-refresh, package-menu-execute, list-packages):
3658 Callers changed.
3659 (package-show-package-list): New function, replacing deleted
3660 package--list-packages (renamed because it is non-internal).
3661
3662 * finder.el (finder-list-matches): Use package-show-package-list
3663 instead of deleted package--list-packages.
3664
e92f3bd3
SM
3665 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
3666 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
3667 (vc-annotate-mode-map): Bind it to RET.
3668
7031be6d
UR
36692011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
3670
3671 * progmodes/etags.el (next-file): Don't use set-buffer to change
3672 buffers (Bug#8478).
3673
4ef177aa
CY
36742011-04-24 Chong Yidong <cyd@stupidchicken.com>
3675
c8d173eb
CY
3676 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
3677
4ef177aa
CY
3678 * apropos.el (apropos-label-face): Avoid variable-pitch face.
3679 (apropos-accumulator): Doc fix.
3680 (apropos-function, apropos-macro, apropos-command)
3681 (apropos-variable, apropos-face, apropos-group, apropos-widget)
3682 (apropos-plist): Add face property.
3683 (apropos-symbols-internal): Fix indentation.
3684 (apropos-print): Simplify help, and recognize apropos-multi-type.
3685 (apropos-print-doc): Use button-type-get to extract the button's
3686 face property. Fill docstring (Bug#8352).
3687
4ffd0d6b 36882011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
3689
3690 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
3691
c6c32125 3692 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 3693 (mpuz-mode-map): Use mapc.
c6c32125
JB
3694 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
3695 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
3696 Fix typos in docstrings.
3697
58d468b4
JB
3698 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
3699 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
3700
6470c3c6
JB
3701 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
3702
4ffd0d6b 37032011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
3704
3705 * minibuffer.el (completion--do-completion): Avoid the "Next char
3706 not unique" prompt if icomplete-mode is enabled (Bug#5849).
3707
3ad8bad0
CY
3708 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
3709 mouse-2 into unread-command-events, it is interpreted correctly.
3710
71d73c9c 3711 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 3712 (image-toggle-display): Doc fix.
71d73c9c 3713
841a1577 37142011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 3715
4ffd0d6b
GM
3716 * textmodes/page.el (what-page): Use line-number-at-pos to
3717 calculate line number (Bug#6825).
6e1dbaa9 3718
c2fb1b60
JB
37192011-04-22 Juanma Barranquero <lekktu@gmail.com>
3720
3721 * eshell/esh-mode.el (find-tag-interactive): Declare function.
3722 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
3723 Pass argument NO-DEFAULT to `find-tag-interactive'.
3724
e02f48d7
JB
37252011-04-22 Juanma Barranquero <lekktu@gmail.com>
3726
3727 Lexical-binding cleanup.
3728
3729 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
3730 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
3731 * progmodes/ada-prj.el (ada-prj-initialize-values)
3732 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
3733 (ada-prj-show-value):
3734 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
3735 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
3736 (antlr-invalidate-context-cache, antlr-options-menu-filter)
3737 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
3738 * progmodes/bug-reference.el (bug-reference-push-button):
3739 * progmodes/fortran.el (fortran-line-length):
3740 * progmodes/glasses.el (glasses-change):
3741 * progmodes/octave-mod.el (octave-fill-paragraph):
3742 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
3743 (python-pdbtrack-grub-for-buffer, python-sentinel):
3744 * progmodes/sql.el (sql-save-connection):
3745 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
3746 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
3747 Mark unused parameters.
3748
3749 * progmodes/compile.el (compilation--flush-directory-cache)
3750 (compilation--flush-parse, compile-internal): Mark unused parameters.
3751 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
3752 (compilation-next-error-function): Remove unused variable `timestamp'.
3753
3754 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
3755 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
3756
3757 * progmodes/dcl-mode.el (dcl-end-of-command):
3758 Remove unused variable `start'.
3759 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
3760 (dcl-option-value-basic, dcl-option-value-offset)
3761 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
3762 Mark unused parameters.
3763 (dcl-save-local-variable): Remove unused variable `val'.
3764 (mode): Declare.
3765
3766 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
3767 Mark unused parameters.
3768 (delphi-ignore-changes): Move before first use.
3769 (delphi-charset-token-at): Remove unused variable `start'.
3770 (delphi-else-start): Remove unused variable `if-count'.
3771 (delphi-comment-block-start, delphi-comment-block-end):
3772 Remove unused variable `kind'.
3773 (delphi-indent-line): Remove unused variable `new-point'.
3774
3775 * progmodes/ebrowse.el (ebrowse-files-list)
3776 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
3777 Mark unused parameters. Don't quote `lambda'.
3778 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
3779 Don't quote `lambda'.
3780 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
3781 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
3782 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
3783 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
3784 Use `ignore-errors'.
3785 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
3786 (ebrowse-view/find-file-and-search-pattern)
3787 (ebrowse-view/find-member-declaration/definition):
3788 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
3789 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
3790 Rename parameter PREFIX-ARG to PREFIX.
3791 (ebrowse-tags-read-name): Remove unused variables `start' and
3792 `member-info'.
3793 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
3794 to `tags-file'.
3795
3796 * progmodes/etags.el (local-find-tag-hook): Declare.
3797 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
3798 Mark unused parameters.
3799
3800 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
3801 (executable-interpret): Mark unused parameter.
3802
3803 * progmodes/flymake.el (flymake-process-sentinel)
3804 (flymake-after-change-function)
3805 (flymake-create-temp-with-folder-structure)
3806 (flymake-get-include-dirs-dot): Mark unused parameters.
3807 (flymake-safe-delete-directory): Remove unused variable `err'.
3808
3809 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
3810 (speedbar-timer-fn, speedbar-line-text)
3811 (speedbar-change-expand-button-char, speedbar-delete-subblock)
3812 (speedbar-center-buffer-smartly): Declare functions.
3813 (gdb-find-watch-expression): Remove unused variable `array'.
3814 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
3815 (gdb-starting): Mark unused parameters.
3816 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
3817 (gdb-table-string): Remove unused variable `res'.
3818 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
3819 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
3820 (gdb-display-buffer): Remove unused variable `cur-size'.
3821
3822 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
3823 allow lexical-binding compilation.
3824 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
3825 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
3826 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
3827 Mark unused parameters.
3828 (gud-gdb-marker-filter): Remove unused variable `match'.
3829 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
3830 lambda expressions and funcall them, instead of using `fset'.
3831
3832 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
3833 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
3834
3835 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
3836 variable `header-beg'; use `let'.
3837
3838 * progmodes/icon.el (indent-icon-exp): Remove unused variables
3839 `restart', `last-sexp' and `at-do'.
3840
3841 * progmodes/js.el (js--debug): Mark unused parameter.
3842 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
3843 (js--splice-into-items): Remove unused variable `item'.
3844 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
3845
3846 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
3847 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
3848 (makefile-complete): Remove unused variable `try'.
3849 (makefile-fill-paragraph, makefile-match-function-end):
3850 Mark unused parameters.
3851
3852 * progmodes/octave-inf.el (inferior-octave-complete):
3853 Remove unused variable `proc'.
3854 (inferior-octave-output-digest): Mark unused parameter.
3855
3856 * progmodes/perl-mode.el (perl-calculate-indent):
3857 Remove unused variable `err'.
3858
3859 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
3860 (prolog-indent-line): Mark unused parameters.
3861 (prolog-indent-line): Remove unused variable `beg'.
3862
3863 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
3864 (reporter-dont-compact-list): Declare.
3865
3866 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
3867 Remove unused variable `char'.
3868 (sh-debug): Mark unused parameter.
3869 (sh-get-indent-info): Remove unused variable `start'.
3870 (sh-calculate-indent): Remove unused variable `var'.
3871
3872 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
3873 (simula-electric-keyword): Remove unused variable `null'.
3874 (simula-search-backward, simula-search-forward): Remove unused
3875 variables `begin' and `end'.
3876
3877 * progmodes/vera-mode.el (vera-guess-basic-syntax):
3878 Remove unused variable `pos'.
3879 (vera-electric-tab, vera-comment-uncomment-region):
3880 Mark unused parameters.
3881 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
3882
7ede3b65
CY
38832011-04-22 Chong Yidong <cyd@stupidchicken.com>
3884
3885 * emacs-lisp/package.el (package--builtins, package-alist)
3886 (package-load-descriptor, package-built-in-p, package-activate)
3887 (define-package, package-installed-p)
3888 (package-compute-transaction, package-buffer-info)
3889 (package--push): Doc fix. Distinguish more clearly between
3890 version strings and version lists.
3891
121656e9
JB
38922011-04-21 Juanma Barranquero <lekktu@gmail.com>
3893
3894 Lexical-binding cleanup.
3895
3896 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
3897 (5x5-make-mutate-best):
3898 * play/fortune.el (fortune-in-buffer):
3899 * play/gomoku.el (gomoku-init-display):
3900 * play/solitaire.el (solitaire, solitaire-do-check):
3901 * play/tetris.el (tetris-default-update-speed-function):
3902 Mark unused parameters.
3903
3904 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
3905 (bubbles--shift): Remove unused variable `char-org'.
3906 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
3907 (bubbles--show-images): Remove unused variable `char'.
3908
3909 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
3910 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
3911 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
3912 (decipher-analyze-buffer): Use ?\s.
3913 (decipher-make-checkpoint): Remove unused variable `mapping'.
3914
3915 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
3916
3917 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3918 Remove unused variable `result'; use `let'.
3919
3920 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
3921 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
3922 (gametree-children-shown-p, gametree-compute-reduced-score):
3923 Use `ignore-errors'.
3924
3925 * play/handwrite.el (ps-lpr-switches): Declare.
3926 (handwrite): Remove unused variables `pmin' and `lastp'.
3927
3928 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
3929
3930 * play/landmark.el (landmark-init-display)
3931 (landmark-update-naught-weights): Mark unused parameters.
3932 (landmark-y): Remove unused variable `noise'. Simplify.
3933 (landmark-human-plays): Remove unused variable `score'.
3934
3935 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
3936 (mpuz-try-proposal): Remove unused variable `game'.
3937
3938 * play/zone.el (life-patterns): Declare.
3939
80f499c7
JB
39402011-04-20 Juanma Barranquero <lekktu@gmail.com>
3941
3942 * vc/vc.el (ediff-vc-internal): Declare function.
3943
024ff170
SM
39442011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3945
c0a193ea
SM
3946 * shell.el: Use lexical-binding and std completion UI.
3947 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
3948 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
3949 comint-preoutput-filter-functions rather than on
3950 comint-output-filter-functions.
3951 (shell-command-completion, shell--command-completion-data)
3952 (shell-filename-completion, shell-environment-variable-completion)
3953 (shell-c-a-p-replace-by-expanded-directory): New functions.
3954 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
3955 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
3956 (shell-dynamic-complete-environment-variable): Use them.
3957 (shell-dynamic-complete-as-environment-variable)
3958 (shell-dynamic-complete-as-command): Remove.
3959 (shell-match-partial-variable): Match past point.
3960 * comint.el: Clean up use of completion-at-point-functions.
3961 (comint-completion-at-point): New function.
3962 (comint-mode): Use it completion-at-point-functions.
3963 (comint-dynamic-complete): Make it obsolete.
3964 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
3965 (comint-c-a-p-replace-by-expanded-history): New function.
3966 (comint-dynamic-complete-functions)
3967 (comint-replace-by-expanded-history): Use it.
3968 * minibuffer.el (completion-table-with-terminator): Allow dynamic
3969 termination strings. Try harder to avoid second try-completion.
3970 (completion-in-region-mode-map): Disable bindings that don't work yet.
3971
2dbaa080
SM
3972 * comint.el: Use lexical-binding. Require CL.
3973 (comint-dynamic-complete-functions): Use comint-filename-completion.
3974 (comint-completion-addsuffix): Tweak custom type.
3975 (comint-filename-completion, comint--common-suffix)
3976 (comint--common-quoted-suffix, comint--table-subvert)
3977 (comint--complete-file-name-data): New functions.
3978 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
3979 (comint-dynamic-list-filename-completions): Use them.
3980 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 3981
2dbaa080
SM
3982 * minibuffer.el (completion-in-region-mode):
3983 Keep completion-in-region-mode--predicate global.
3984 (completion-in-region--postch):
3985 Assume completion-in-region-mode--predicate is not null.
3986
c79a6f38
SM
3987 * progmodes/flymake.el (flymake-start-syntax-check-process):
3988 Obey `dir'. Simplify.
3989
024ff170
SM
3990 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
3991 we're in VC after all.
3992
1c6c854e
CS
39932011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
3994
3995 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 3996 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
3997 (vc-version-diff): Use vc-diff-build-argument-list-internal.
3998
bed7f140
SM
39992011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4000
332e62ab
SM
4001 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
4002 add sanity check.
4003
bed7f140
SM
4004 * obsolete/erc-hecomplete.el: Make obsolete.
4005 * obsolete/: Standardize obsolescence info in the header.
4006
f195c582
GM
40072011-04-20 Glenn Morris <rgm@gnu.org>
4008
4009 * calendar/solar.el (solar-horizontal-coordinates):
4010 Use the longitude argument rather than `calendar-longitude'.
4011 (solar-date-next-longitude): Remove unused locals.
4012
cb79b8c0
VJL
40132011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4014
4015 * whitespace.el: New version 13.2.1.
4016
40172011-04-20 felix <EmacsWiki> (tiny change)
4018
d8e4b68b 4019 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
4020 switching between major modes on a file.
4021
602ea69d
SM
40222011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4023
4024 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
4025 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
4026 multi-line comments as well.
4027
06b60517
JB
40282011-04-19 Juanma Barranquero <lekktu@gmail.com>
4029
4030 Lexical-binding cleanup.
4031
4032 * arc-mode.el (archive-mode-revert):
4033 * cmuscheme.el (scheme-interactively-start-process):
4034 * custom.el (custom-initialize-delay):
4035 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
4036 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
4037 * emacs-lock.el (emacs-lock-clear-sentinel):
4038 * ezimage.el (defezimage):
4039 * follow.el (follow-avoid-tail-recenter):
4040 * fringe.el (set-fringe-mode-1):
4041 * generic-x.el (bat-generic-mode-compile):
4042 * help-mode.el (help-info-variable, help-do-xref)
4043 (help-mode-revert-buffer):
4044 * help.el (view-emacs-todo):
4045 * iswitchb.el (iswitchb-completion-help):
4046 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
4047 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
4048 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
4049 * locate.el (locate-update):
4050 * longlines.el (longlines-encode-region)
4051 (longlines-after-change-function):
4052 * outline.el (outline-isearch-open-invisible):
4053 * ps-def.el (declare-function, charset-dimension, char-width)
4054 (encode-char):
4055 * ps-mule.el (ps-mule-plot-string):
4056 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
4057 (recentf-edit-list-select, recentf-edit-list-validate)
4058 (recentf-open-files-action):
4059 * rect.el (delete-whitespace-rectangle-line)
4060 (rectangle-number-line-callback):
4061 * register.el (window-configuration-to-register)
4062 (frame-configuration-to-register):
4063 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
4064 * select.el (xselect-convert-to-string, xselect-convert-to-length)
4065 (xselect-convert-to-targets, xselect-convert-to-delete)
4066 (xselect-convert-to-filename, xselect-convert-to-charpos)
4067 (xselect-convert-to-lineno, xselect-convert-to-colno)
4068 (xselect-convert-to-os, xselect-convert-to-host)
4069 (xselect-convert-to-user, xselect-convert-to-class)
4070 (xselect-convert-to-name, xselect-convert-to-integer)
4071 (xselect-convert-to-atom, xselect-convert-to-identity):
4072 * subr.el (declare, ignore, process-kill-without-query)
4073 (text-clone-maintain):
4074 * terminal.el (te-get-char, te-tic-sentinel):
4075 * tool-bar.el (tool-bar-make-keymap):
4076 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
4077 * type-break.el (type-break-mode, type-break-noninteractive-query):
4078 * view.el (View-back-to-mark):
4079 * wid-browse.el (widget-browse-action, widget-browse-widget)
4080 (widget-browse-widgets, widget-browse-sexp):
4081 * widget.el (define-widget-keywords):
4082 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
4083 Mark unused parameters.
4084
4085 * align.el (align-adjust-col-for-rule): Mark unused parameter.
4086 (align-areas): Remove unused variable `look'.
4087 (align-region): Remove unused variables `real-end' and `pos-list'.
4088
4089 * apropos.el (apropos-score-doc): Remove unused variable `i'.
4090
4091 * bindings.el (mode-line-modified, mode-line-remote):
4092 Mark unused parameters.
4093 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
4094
4095 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
4096 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
4097
4098 * comint.el (comint-history-isearch-pop-state)
4099 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
4100 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
4101 (comint-substitute-in-file-name): Doc fix.
4102
4103 * completion.el (cmpl-statistics-block): Mark unused parameter.
4104 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
4105 (save-completions-to-file, load-completions-from-file):
4106 Remove unused local variable `e'.
4107
4108 * composite.el (compose-chars): Remove unused variable `len'.
4109 (lgstring-insert-glyph): Remove unused variable `g'.
4110 (compose-glyph-string): Remove unused variables `ascent',
4111 `descent', `lbearing' and `rbearing'.
4112 (compose-glyph-string-relative): Remove unused variables
4113 `lbearing', `rbearing' and `wadjust'.
4114 (compose-gstring-for-graphic): Remove unused variables `header',
4115 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
4116 (compose-gstring-for-terminal): Remove unused variables `header'
4117 and `nchars'. Use `let', not `let*'.
4118
4119 * cus-edit.el (Custom-set, Custom-save, custom-reset)
4120 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
4121 (Custom-buffer-done, custom-buffer-create-internal)
4122 (custom-browse-visibility-action, custom-browse-group-tag-action)
4123 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
4124 (widget-magic-mouse-down-action, custom-toggle-parent)
4125 (custom-add-parent-links, custom-toggle-hide-variable)
4126 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
4127 (custom-toggle-hide-face, face, hook, custom-group-link-action)
4128 (custom-face-menu-create, custom-variable-menu-create, get)
4129 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
4130 (custom-reset-standard-save-and-update): Remove unused variable `value'.
4131 (customize-apropos): Remove unused variable `tests'.
4132 (custom-group-value-create): Remove unused variable `hidden-p'.
4133 (sort-fold-case): Declare.
4134
4135 * cus-theme.el (custom-reset-standard-faces-list)
4136 (custom-reset-standard-variables-list): Declare.
4137 (customize-create-theme, custom-theme-revert, custom-theme-write)
4138 (custom-theme-choose-mode, customize-themes, custom-theme-save):
4139 Mark unused parameters.
4140
4141 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
4142
4143 * delim-col.el (delimit-columns-max): Move defvar before first use.
4144
4145 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 4146 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
4147
4148 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
4149 (auto-insert): Declare.
4150 (desktop-restore-file-buffer): Rename desktop-* parameters;
4151 mark unused ones.
4152 (desktop-create-buffer): Rename desktop-* parameters and bind them.
4153 (desktop-buffer): Rename desktop-* parameters.
4154
4155 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4156 (dframe-reposition-frame-xemacs, dframe-help-echo)
4157 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
4158 Mark unused parameters.
4159
4160 * dired-aux.el (backup-extract-version-start, overwrite-query)
4161 (overwrite-backup-query, rename-regexp-query)
4162 (rename-non-directory-query): Declare.
4163 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
4164 (dired-add-entry): Remove unused variable `orig-file-name'.
4165 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
4166 Use parameter PRESERVE-TIME instead of accessing dynamic variable
4167 `dired-copy-preserve-time' directly.
4168 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
4169 (dired-insert-subdir-newpos): Rename unused variable `pos'.
4170
4171 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
4172 (dired-virtual-revert, dired-make-relative-symlink):
4173 Mark unused parameters.
4174 (manual-program): Declare.
4175 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
4176 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
4177 wrapped in `with-no-warnings' to avoid replacing one warning by another.
4178
4179 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
4180
4181 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
4182
4183 * echistory.el (electric-history-in-progress, Helper-return-blurb):
4184 Declare.
4185
4186 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
4187
4188 * electric.el (Electric-command-loop): Rename parameter
4189 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
4190
4191 * expand.el (expand-in-literal): Remove unused variable `here'.
4192
4193 * facemenu.el (facemenu-add-new-color):
4194 Remove unused variable `docstring'.
4195
4196 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
4197 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
4198 (face-attr-construct): Mark unused parameter. Doc fix.
4199 (read-color): Remove unused variable `hex-string'.
4200
4201 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
4202 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
4203 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
4204 (display-buffer-other-frame): Remove unused variable `old-window'.
4205 (kill-buffer-hook): Declare.
4206 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
4207 Mark unused parameters.
4208 (after-find-file): Pass 1 to `auto-save-mode', not t.
4209
4210 * files-x.el (auto-insert): Declare.
4211 (modify-file-local-variable-prop-line): Remove unused variable `val'.
4212
4213 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 4214 variable `buf'. Mark unused parameter.
06b60517
JB
4215 (find-lisp-insert-directory): Mark unused parameter.
4216
4217 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
4218 (format-encode-region): Remove unused variables `cur-buf' and `result'.
4219 (format-common-tail): Remove, unused.
4220 (format-deannotate-region): Remove unused variable `loc'.
4221 (format-annotate-region): Remove unused variable `p'.
4222 (format-annotate-single-property-change): Remove unused variables
4223 `default' and `tail'.
4224
4225 * forms.el (read-file-filter): Declare.
4226 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
4227
4228 * frame.el (frame-creation-function-alist): Mark unused parameter.
4229 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
4230
4231 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
4232 Remove unused parameters.
4233 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
4234 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
4235
4236 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
4237 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
4238 (hfy-prepare-tag-map): Mark unused parameters.
4239 (htmlfontify-buffer): Use `called-interactively-p'.
4240
4241 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
4242 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
4243 (ibuffer-do-occur): Mark unused parameters.
4244 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
4245 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
4246
4247 * ibuffer.el: Don't quote `lambda'.
4248 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
4249 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
4250 Mark unused parameters.
4251
4252 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
4253 (ido-completing-read): Mark unused parameters.
4254 (ido-copy-current-word): Mark unused parameters;
4255 remove unused variable `name'.
4256 (ido-sort-merged-list): Remove unused parameter `dirs'.
4257
4258 * ielm.el (ielm-input-sender): Mark unused parameter.
4259 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
4260 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
4261 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
4262 `ielm-string' as a dynamic variable accessible from the IELM prompt.
4263 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
4264
4265 * image-dired.el (image-dired-display-thumbs): Remove unused
4266 variables `curr-file' and `count'.
4267 (image-dired-remove-tag): Remove unused variable `start'.
4268 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
4269 variable `curr-file'
4270 (image-dired-rotate-original): Remove unused variable `temp-file'.
4271 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
4272 Remove unused variable `file'.
4273 (image-dired-gallery-generate): Remove unused variable `curr'.
4274 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
4275
4276 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
4277
4278 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
4279
4280 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
4281
4282 * isearch.el (minibuffer-history-symbol): Declare.
4283 (isearch-edit-string): Remove unused variable `err'.
4284 (isearch-message-prefix, isearch-message-suffix):
4285 Mark unused parameters.
4286
4287 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
4288
4289 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
4290
4291 * makesum.el (double-column): Remove unused variable `cnt'.
4292
4293 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
4294 (ido-ignore-item-temp-list): Declare.
4295
4296 * mouse-drag.el (mouse-drag-throw): Remove unused variables
4297 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
4298 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
4299 (mouse-drag-drag): Remove unused variables `mouse-delta' and
4300 `mouse-col-delta'.
4301
4302 * mouse-sel.el (mouse-extend-internal):
4303 Remove unused variable `orig-window-frame'.
4304
4305 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
4306 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
4307 Move declarations before first use.
4308 (pcomplete-opt): Mark unused parameters; doc fix.
4309
4310 * proced.el (proced-revert): Mark unused parameter.
4311 (proced-send-signal): Remove unused variable `err'.
4312
4313 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
4314 Rename parameter PREFIX-ARG to ARG.
4315 (ps-basic-plot-string, ps-basic-plot-whitespace):
4316 Mark unused parameters.
4317
4318 * replace.el (replace-count): Define.
4319 (occur-revert-function): Mark unused parameters.
4320 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
4321 (isearch-case-fold-search, isearch-string): Declare.
4322 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
4323 bind `case-fold-search'. Remove unused variables `beg' and `end',
4324 and simplify.
4325 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
4326 COUNT and bind `replace-count'.
4327 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
4328 to COUNT.
4329
4330 * savehist.el (print-readably, print-string-length): Declare.
4331
4332 * shadowfile.el (shadow-expand-cluster-in-file-name):
4333 Remove unused variable `cluster'.
4334 (shadow-copy-file): Remove unused variable `i'.
4335 (shadow-noquery, shadow-clusters, shadow-site-cluster)
4336 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
4337 (shadow-define-literal-group, shadow-define-regexp-group)
4338 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
4339
4340 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
4341 (shell): Use `called-interactively-p'.
4342 (shell-directory-tracker): Remove unused variable `chdir-failure'.
4343
4344 * simple.el (compilation-context-lines, comint-file-name-quote-list)
4345 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
4346 (delete-backward-char): Remove unused variable `ocol'.
4347 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
4348 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
4349 (event-apply-hyper-modifier, event-apply-shift-modifier)
4350 (event-apply-control-modifier, event-apply-meta-modifier):
4351 Mark unused parameters.
4352 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
4353 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
4354
4355 * speedbar.el (speedbar-ignored-directory-expressions)
4356 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
4357 (speedbar-find-file, speedbar-dir-follow)
4358 (speedbar-directory-buttons-follow, speedbar-tag-find)
4359 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
4360 (speedbar-buffers-line-directory, speedbar-buffer-click):
4361 Mark unused parameters.
4362 (speedbar-tag-file): Remove unused variable `mode'.
4363 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
4364
4365 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
4366
4367 * talk.el (talk): Remove unused variable `display'.
4368
4369 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
4370 (tar-write-region-annotate): Mark unused parameter.
4371
4372 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
4373 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
4374 Declare them, wrapped in `with-no-warnings' to avoid replacing one
4375 warning by another.
4376
4377 * time-stamp.el (time-stamp-string-preprocess):
4378 Remove unused variable `require-padding'.
4379
4380 * tree-widget.el (widget-glyph-enable): Declare.
4381 (tree-widget-action): Mark unused parameter.
4382
4383 * w32-fns.el (x-get-selection): Mark unused parameter.
4384 (autoload-make-program, generated-autoload-file): Declare.
4385
4386 * wdired.el (wdired-revert): Mark unused parameters.
4387 (wdired-xcase-word): Remove unused variable `err'.
4388
4389 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
4390 (whitespace-help-scroll): Remove unused variable `data-help'.
4391
4392 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
4393 (widget-image-insert, widget-after-change, default)
4394 (widget-default-format-handler, widget-default-notify)
4395 (widget-default-prompt-value, widget-info-link-action)
4396 (widget-url-link-action, widget-function-link-action)
4397 (widget-variable-link-action, widget-file-link-action)
4398 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
4399 (widget-field-prompt-internal, widget-field-action, widget-field-match)
4400 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
4401 (widget-insert-button-action, widget-delete-button-action, visibility)
4402 (widget-documentation-link-action, widget-documentation-string-action)
4403 (widget-const-prompt-value, widget-regexp-match, symbol)
4404 (widget-coding-system-prompt-value)
4405 (widget-key-sequence-value-to-external, sexp)
4406 (widget-sexp-value-to-internal, character, vector, cons)
4407 (widget-choice-prompt-value, widget-boolean-prompt-value)
4408 (widget-color--choose-action): Mark unused parameters.
4409 (widget-item-match-inline, widget-choice-match-inline)
4410 (widget-checklist-match, widget-checklist-match-inline)
4411 (widget-group-match): Rename parameter VALUES to VALS.
4412 (widget-field-value-set): Remove unused variable `size'.
4413 (widget-color-action): Remove unused variables `value' and `start'.
4414
4415 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 4416 variable `dir'. Doc fix.
06b60517
JB
4417 (windmove-find-other-window): Don't pass it.
4418
4419 * window.el (count-windows): Mark unused parameter.
4420 (bw-adjust-window): Remove unused variable `err'.
4421
4422 * woman.el (woman-file-name): Remove unused variable `default'.
4423 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
4424 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
4425 (global-font-lock-mode): Declare.
4426 (woman-decode-region): Mark unused parameter.
4427 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
4428
4429 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
4430 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
4431 (x-dnd-handle-moz-url): Remove unused variable `title'.
4432 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
4433
4434 * xml.el (xml-parse-tag, xml-parse-attlist):
4435 Remove unused variable `pos'.
4436
bc4f7f3d
GM
44372011-04-19 Glenn Morris <rgm@gnu.org>
4438
4439 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
4440 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4441 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4442 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
4443 * calendar/cal-html.el (cal-html-insert-minical):
4444 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
4445 (calendar-mark-date-pattern):
4446 Prefix "unused" locals.
4447
4448 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
4449 optional argument `style'.
4450
4451 * calendar/appt.el (appt-make-list):
4452 * calendar/cal-china.el (calendar-chinese-date-string):
4453 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
4454 (diary-hebrew-yahrzeit):
4455 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
4456 * calendar/calendar.el (calendar-generate-window):
4457 * calendar/time-date.el (time-to-days):
4458 Remove unused local variables.
4459
16a43933
CY
44602011-04-18 Chong Yidong <cyd@stupidchicken.com>
4461
4462 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
4463 glyphless-char-display table.
4464 (tabulated-list-glyphless-char-display): New var.
4465
7eed1860
SS
44662011-04-18 Sam Steingold <sds@gnu.org>
4467
4468 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
4469 to acknowledgments.
4470
4d2d1ccd
GM
44712011-04-17 Glenn Morris <rgm@gnu.org>
4472
4473 * calendar/diary-lib.el (diary-sexp-entry):
4474 * calendar/holidays.el (holiday-sexp):
4475 Set debug-on-error rather than the removed stack-trace-on-error.
4476
239da61d
GM
44772011-04-16 Glenn Morris <rgm@gnu.org>
4478
4479 * progmodes/f90.el: Use lexical-binding.
4480 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
4481
8b05752a
SM
44822011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4483
daca8ba5
SM
4484 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
4485 (mail-mode): Setup mailalias completion here instead.
4486 * mail/mailalias.el: Use lexical-binding.
4487 (pattern, mailalias-done): Declare dynamic.
4488 (mail-completion-at-point-function): New function, from mail-complete.
4489 (mail-complete): Use it.
4490 (mail-completion-expand): New function.
4491 (mail-get-names): Use it.
4492 (mail-directory, mail-directory-process, mail-directory-stream):
4493 Don't use `pattern' for lexically bound arg.
4494
6f542485
SM
4495 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
4496
037e7c3f
SM
4497 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
4498 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
4499 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
4500
8b05752a
SM
4501 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
4502 (byte-save-window-excursion, byte-temp-output-buffer-setup)
4503 (byte-interactive-p): Define them again, for use when inlining
4504 old code.
4505
49093f60
JB
45062011-04-15 Juanma Barranquero <lekktu@gmail.com>
4507
4508 * loadup.el: Use `string-to-number', not `string-to-int'.
4509
b5b8e7de
SM
45102011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
4513 gud-gdb-complete-command.
4514 (gud-gdb-completions): New function, from gud-gdb-complete-command.
4515 (gud-gdb-completion-at-point): New function.
4516 (gud-gdb-completions): Remove.
4517
f42efeb5
MA
45182011-04-14 Michael Albinus <michael.albinus@gmx.de>
4519
49093f60
JB
4520 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
4521 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
4522 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
4523 whether `executable-find' is bound.
f42efeb5
MA
4524
4525 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
4526
e240cc21
SM
45272011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4528
4529 * minibuffer.el (completion-in-region-mode-predicate)
4530 (completion-in-region-mode--predicate): New vars.
4531 (completion-in-region, completion-in-region--postch)
4532 (completion-in-region-mode): Use them.
4533 (completion--capf-wrapper): Also return the hook function.
4534 (completion-at-point, completion-help-at-point):
4535 Adjust and provide a predicate.
c2bd2ab0
SM
4536
4537 Preserve arg names for advice of subr and lexical functions (bug#8457).
4538 * help-fns.el (help-function-arglist): Consolidate the subr and
4539 new-byte-code cases. Add argument `preserve-names' to extract names
4540 from the docstring when needed.
4541 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
4542 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
4543 (ad-arglist): Use help-function-arglist's new arg.
4544 (ad-definition-type): Use cond.
4545
c183f693
JB
45462011-04-13 Juanma Barranquero <lekktu@gmail.com>
4547
06641a47
JB
4548 * autorevert.el (auto-revert-handler):
4549 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
4550 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
4551 Don't quote lambda.
4552
c183f693
JB
4553 * image-mode.el (image-transform-set-scale):
4554 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
4555
1e3b6001
G
45562011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4557
4558 * net/network-stream.el (network-stream-open-starttls): Only do
4559 opportunistic STARTTLS upgrades if we have built-in gnutls support.
4560 Upgrades via gnutls-cli are too slow to be done opportunistically.
4561
2d6af8dd
JB
45622011-04-12 Juanma Barranquero <lekktu@gmail.com>
4563
4564 * dframe.el (dframe-current-frame): Remove spurious quote.
4565
c0749a51
GM
45662011-04-12 Glenn Morris <rgm@gnu.org>
4567
088d0d61
GM
4568 * calendar/cal-tex.el (cal-tex-end-document):
4569 Try to automatically use latin1 input if needed.
4570
c0749a51
GM
4571 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
4572 Don't try to cons a mark onto an empty element.
4573
5c90fde0
LL
45742011-04-11 Leo Liu <sdl.web@gmail.com>
4575
4576 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
4577 buffers.
4578 (ido-kill-buffer-at-head): Support killing virtual buffers.
4579
369e974d
CY
45802011-04-10 Chong Yidong <cyd@stupidchicken.com>
4581
4582 * minibuffer.el (completion-show-inline-help): New var.
4583 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
4584 (minibuffer-force-complete, minibuffer-complete-word):
4585 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
4586
4587 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
4588 to avoid interference from inline help (Bug#5849).
4589
37f1c930
LL
45902011-04-10 Leo Liu <sdl.web@gmail.com>
4591
099c39a4
JB
4592 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4593 Fix typo.
37f1c930 4594
a32d4040
CY
45952011-04-09 Chong Yidong <cyd@stupidchicken.com>
4596
4597 * image-mode.el (image-toggle-display-image): Signal an error if
4598 not in Image mode.
4599 (image-transform-mode, image-transform-resize)
4600 (image-transform-set-rotation): Doc fix.
daca8ba5 4601 (image-transform-set-resize): Delete.
a32d4040
CY
4602 (image-transform-set-scale, image-transform-fit-to-height)
4603 (image-transform-fit-to-width): Handle image-toggle-display-image
4604 and image-transform-resize directly.
4605
099c39a4 46062011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
4607
4608 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
4609 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
4610 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
4611 (doc-view-mode-map): Add bindings for the new functions.
4612
099c39a4 46132011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
4614
4615 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
4616 Fix typo in docstring.
4617
3726838a
EZ
46182011-04-08 Eli Zaretskii <eliz@gnu.org>
4619
04f33f1e
EZ
4620 * files.el (file-size-human-readable): Produce one digit after
4621 decimal, like "ls -lh" does.
4622
4623 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
4624 the file size representation.
4625
3726838a
EZ
4626 * simple.el (list-processes): If async subprocesses are not
4627 available, error out with a clear error message.
4628
cbb59342
CY
46292011-04-08 Chong Yidong <cyd@stupidchicken.com>
4630
4631 * help.el (help-form-show): New function, to be called from C.
4632 Put help-form output in a buffer named differently than *Help*.
4633
e3971c44
EZ
46342011-04-08 Eli Zaretskii <eliz@gnu.org>
4635
4636 * files.el (file-size-human-readable): New function.
4637
4638 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
4639 computing the representation inline. Don't require `cl'.
4640
12544bbe
GM
46412011-04-08 Glenn Morris <rgm@gnu.org>
4642
a1de6c6a
GM
4643 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
4644
3c4671f4
GM
4645 * net/browse-url.el (browse-url-firefox):
4646 Test system-type, not system-configuration.
4647
b605679c
GM
4648 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
4649 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
4650 Use log-edit-empty-buffer-p. (Bug#7598)
4651
56442f0c
GM
4652 * net/rlogin.el (rlogin-process-connection-type): Simplify.
4653 (rlogin-mode-map): Initialize in the defvar.
4654 (rlogin): Use ignore-errors.
4655
12544bbe
GM
4656 * replace.el (occur-mode-map): Some fixes for menu items.
4657
eb237b0f
AH
46582011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4659
4660 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
4661
7d668f2c
CY
46622011-04-06 Chong Yidong <cyd@stupidchicken.com>
4663
e67a13ab
CY
4664 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
4665 issuing unused warnings.
4666
4667 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
4668 macro directly.
4669
7d668f2c
CY
4670 * simple.el: Lisp reimplement of list-processes. Based on an
4671 earlier reimplementation by Leo Liu, but using tabulated-list.el.
4672 (process-menu-mode): New major mode.
4673 (list-processes--refresh, list-processes):
4674 (process-menu-visit-buffer): New functions.
4675
4676 * files.el (save-buffers-kill-emacs): Don't assume any return
4677 value of list-processes, which is undocumented anyway.
4678
a83ec3c9
CY
46792011-04-06 Chong Yidong <cyd@stupidchicken.com>
4680
4681 * emacs-lisp/tabulated-list.el: New file.
4682
e91a96fe
CY
4683 * emacs-lisp/package.el: Use Tabulated List mode.
4684 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
4685 (package-menu-mode): Derive from tabulated-list-mode. Set up the
4686 table format using Tabulated List mode variables.
4687 (package--push): New macro, replacing package-list-maybe-add.
4688 (package-menu--generate): Use package--push. Renamed from
4689 package--generate-package-list.
4690 (package-menu-refresh, list-packages): Use it.
daca8ba5 4691 (package-menu--print-info): Rename from package-print-package.
e91a96fe 4692 Return insertion data instead of inserting it directly.
099c39a4
JB
4693 (package-menu-describe-package, package-menu-execute):
4694 Use tabulated-list-get-id.
e91a96fe
CY
4695 (package-menu-mark-delete, package-menu-mark-install)
4696 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
4697 (package-menu-mark-obsolete-for-deletion):
4698 Use tabulated-list-put-tag.
e91a96fe
CY
4699 (package--list-packages, package-menu-revert)
4700 (package-menu-get-package, package-menu-get-version)
4701 (package-menu-sort-by-column): Functions deleted.
4702 (package-menu-package-list, package-menu-sort-key): Vars deleted.
4703 (package-menu--status-predicate, package-menu--version-predicate)
4704 (package-menu--name-predicate)
4705 (package-menu--description-predicate): Handle arguments in the
4706 Tabulated List format.
4707 (package-list-packages-no-fetch): Call list-packages.
4708
3e214b50
JB
47092011-04-06 Juanma Barranquero <lekktu@gmail.com>
4710
4711 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 4712 (after-find-file): Don't bind it.
3e214b50
JB
4713 (revert-buffer-in-progress-p): New variable.
4714 (revert-buffer): Bind it.
4715 Pass nil for `after-find-file-from-revert-buffer'.
4716
4717 * saveplace.el (save-place-find-file-hook): Use new variable
4718 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
4719
3f0f1700
GM
47202011-04-06 Glenn Morris <rgm@gnu.org>
4721
c0274801
GM
4722 * Makefile.in (AUTOGEN_VCS): New variable.
4723 (autoloads): Use $AUTOGEN_VCS.
4724
3f0f1700
GM
4725 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
4726 * calendar/calendar.el (calendar-mode-map):
4727 Check for toolkit scroll bars. (Bug#8305)
4728
41ea9e48
CY
47292011-04-05 Chong Yidong <cyd@stupidchicken.com>
4730
4731 * minibuffer.el (completion-in-region--postch)
4732 (completion-in-region-mode): Remove unnecessary messages.
4733
6194c800
JB
47342011-04-05 Juanma Barranquero <lekktu@gmail.com>
4735
33256f14
JB
4736 * font-lock.el (font-lock-refresh-defaults):
4737 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
4738 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
4739
6194c800
JB
4740 * info.el (Info-directory-list, Info-read-node-name-2)
4741 (Info-split-parameter-string): Doc fixes.
4742 (Info-virtual-nodes): Reflow docstring.
4743 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
4744 (Info-apropos-toc-nodes, info-finder, Info-get-token)
4745 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
4746 Fix typos in docstrings.
4747 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
4748 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
4749 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
4750 (Info-restore-desktop-buffer): Mark unused parameters.
4751 (Info-directory-find-file, Info-directory-find-node)
4752 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
4753 (Info-virtual-index-find-node, Info-apropos-find-file)
4754 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 4755 Mark unused parameters; fix typos in docstrings.
6194c800
JB
4756 (Info-virtual-index): Remove unused local variable `nodename'.
4757
b87a8200 47582011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 4759
b87a8200
DD
4760 * net/rcirc.el: Update my e-mail address.
4761 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 4762
3b2ff876
CY
47632011-04-05 Chong Yidong <cyd@stupidchicken.com>
4764
4765 * startup.el (command-line): Save the cursor's theme-face
4766 directly, instead of using face-override-spec.
4767
4768 * custom.el (load-theme): Minor optimization in assigning faces.
4769
8d17e7ca
JB
47702011-04-04 Juanma Barranquero <lekktu@gmail.com>
4771
4772 * help-fns.el (describe-variable): Complete all variables having
4773 documentation, including keywords.
4774 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
4775
2fbc1934
JB
47762011-04-04 Juanma Barranquero <lekktu@gmail.com>
4777
4778 Convert to lexical-binding.
4779
4780 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
4781 (bs--get-marked-string, bs--get-modified-string)
4782 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
4783 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
4784 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
4785
4786 * ehelp.el (electric-help-execute-extended)
4787 (electric-help-ctrl-x-prefix):
4788 * hexl.el (hexl-revert-buffer-function):
4789 * linum.el (linum-after-change, linum-after-scroll):
4790 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
4791
4792 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
4793
74f50695
DU
47942011-04-04 Daiki Ueno <ueno@unixuser.org>
4795
4796 * epa-dired.el:
4797 * epa-mail.el:
4798 * epa-hook.el:
4799 * epa-file.el:
4800 * epa.el:
4801 * epg.el: Use lexical binding.
4802
c11325f7
CY
48032011-04-03 Chong Yidong <cyd@stupidchicken.com>
4804
0d9e9a12
CY
4805 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
4806
c11325f7 4807 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
4808 dictionary case for flyspell-mark-duplications-exceptions.
4809 Use regexp matching for languages.
c11325f7
CY
4810 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
4811 default dictionary (Bug#7926).
4812
da91b5f2
CY
48132011-04-02 Chong Yidong <cyd@stupidchicken.com>
4814
099c39a4
JB
4815 * emacs-lisp/package.el (package--with-work-buffer):
4816 Recognize https URLs.
da91b5f2 4817
099c39a4
JB
4818 * net/network-stream.el: Move from gnus/proto-stream.el.
4819 Change prefix to network-stream throughout.
da91b5f2
CY
4820 (open-protocol-stream): Merge into open-network-stream, leaving
4821 open-protocol-stream as an alias. Handle nil BUFFER args.
4822
4823 * subr.el (open-network-stream): Move to net/network-stream.el.
4824
afa8e9f6
GM
48252011-04-02 Glenn Morris <rgm@gnu.org>
4826
1d2e369d
GM
4827 * find-dired.el (find-exec-terminator): New option.
4828 (find-ls-option): Test for -ls support.
4829 (find-ls-subdir-switches): Test for -b in find-ls-option.
4830 (find-dired, find-grep-dired): Doc fixes.
4831 (find-dired): Use find-exec-terminator.
4832
8abb7da8 4833 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
4834 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
4835 (find-name-arg): Remove purecopy.
8abb7da8 4836
f3ca7378
GM
4837 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
4838 (grep-compute-defaults): Check for `-exec COMMAND +' support.
4839 Set grep-find-use-xargs, grep-find-command, and grep-find-template
4840 accordingly. Don't add the null-device if not needed.
4841
afa8e9f6
GM
4842 * files.el (save-some-buffers): Doc fix.
4843
35eae264
EZ
48442011-04-02 Eli Zaretskii <eliz@gnu.org>
4845
4846 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
4847
26b51db5
JB
48482011-04-01 Juanma Barranquero <lekktu@gmail.com>
4849
4850 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
4851 Use `dolist' rather than `mapcar'.
4852
7200d79c
SM
48532011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4854
03408648 4855 Add lexical binding.
7200d79c 4856
03408648
SM
4857 * subr.el (apply-partially): Use new closures rather than CL.
4858 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
4859 (dolist, dotimes): Use slightly different expansion for lexical code.
4860 (functionp): Move to C.
4861 (letrec): New macro.
4862 (with-wrapper-hook): Use it and apply-partially instead of CL.
4863 (eval-after-load): Preserve lexical-binding.
4864 (save-window-excursion, with-output-to-temp-buffer): Turn them
4865 into macros.
7200d79c 4866
03408648
SM
4867 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
4868
4869 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
4870 than the arglist.
4871 (help-add-fundoc-usage): Don't add `Not documented'.
4872 (help-function-arglist): Handle closures, subroutines, and new
4873 byte-code-functions.
4874 (help-make-usage): Remove leading underscores.
4875 (describe-function-1): Handle closures.
4876 (describe-variable): Use special-variable-p for completion.
4877
4878 * files.el (lexical-binding): Declare safe.
f488fb65 4879
03408648
SM
4880 * emacs-lisp/pcase.el: Don't use destructuring-bind.
4881 (pcase--memoize): Rename from pcase-memoize. Change weakness.
4882 (pcase): Add `let' pattern.
4883 Change memoization so it actually works.
4884 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
4885 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
4886 <let>: New case.
f488fb65 4887
03408648
SM
4888 * emacs-lisp/macroexp.el: Use lexical binding.
4889 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
4890 Don't convert ' to #' without checking that it's indeed quoting
4891 a lambda.
4892
4893 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 4894 Use eval-sexp-add-defvars.
03408648
SM
4895 (eval-sexp-add-defvars): New fun.
4896
4897 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
4898
4899 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
4900 Don't autoload.
4901 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
4902 than the internal `byte-compile-lambda'.
4903 (defmethod): Don't hide code under quotes.
4904 (eieio-defmethod): New `code' argument.
4905
4906 * emacs-lisp/eieio-comp.el: Remove.
4907
4908 * emacs-lisp/edebug.el (edebug-eval-defun)
4909 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
4910 (edebug-toggle): Avoid `eval'.
4911
4912 * emacs-lisp/disass.el (disassemble-internal): Handle new
4913 `closure' objects.
4914 (disassemble-1): Handle new byte codes.
4915
4916 * emacs-lisp/cl.el (pushnew): Silence warning.
4917
4918 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
4919 (cl-byte-compile-throw): Remove.
4920 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
4921
4922 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
4923 closures.
4924
4925 * emacs-lisp/cconv.el: New file.
4926
4927 * emacs-lisp/bytecomp.el: Use lexical binding instead of
4928 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
4929 (byte-compile-initial-macro-environment):
4930 Handle declare-function here.
4931 (byte-compile--lexical-environment): New var.
4932 (byte-stack-ref, byte-stack-set, byte-discardN)
4933 (byte-discardN-preserve-tos): New lap codes.
4934 (byte-interactive-p): Don't use any more.
4935 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
4936 New macros.
4937 (byte-compile-lapcode): Use them and handle new lap codes.
4938 (byte-compile-obsolete): Remove.
4939 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
4940 (byte-compile-arglist-warn): Check late def of inlinable funs.
4941 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
4942 since they should have been expanded by now.
4943 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
4944 (byte-compile-from-buffer): Remove unused second arg.
4945 (byte-compile-preprocess): New function.
4946 (byte-compile-toplevel-file-form): New function to distinguish
4947 file-form calls from outside from file-form calls from hunk-handlers.
4948 (byte-compile-file-form): Simplify.
4949 (byte-compile-file-form-defsubst): Remove.
4950 (byte-compile-file-form-defmumble): Simplify now that
4951 byte-compile-lambda always returns a byte-code-function.
4952 (byte-compile): Preprocess.
4953 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
4954 Remove, not used any more.
4955 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
4956 (byte-compile-make-args-desc): New funs.
4957 (byte-compile-lambda): Handle lexical functions. Always return
4958 a byte-code-function.
4959 (byte-compile-reserved-constants): New var, to make up room for
4960 closed-over variables.
4961 (byte-compile-constants-vector): Obey it.
4962 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
4963 (byte-compile-macroexpand-declare-function): New function.
4964 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
4965 byte-code-functions.
4966 (byte-compile-form): Check obsolescence here.
4967 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
4968 (byte-compile-variable-ref): Remove.
4969 (byte-compile-dynamic-variable-op): New fun.
4970 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
4971 (byte-compile-variable-set): New funs.
4972 (byte-compile-discard): Add 2 args.
4973 (byte-compile-stack-ref, byte-compile-stack-set)
4974 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
4975 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
4976 macroexpand-all instead.
4977 (byte-compile-quote-form): Remove.
4978 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
4979 (byte-compile-bind, byte-compile-unbind): New funs.
4980 (byte-compile-let): Handle let* and lexical binding.
4981 (byte-compile-let*): Remove.
4982 (byte-compile-catch, byte-compile-unwind-protect)
4983 (byte-compile-track-mouse, byte-compile-condition-case):
4984 Handle a new :fun-body form, used for lexical scoping.
4985 (byte-compile-save-window-excursion)
4986 (byte-compile-with-output-to-temp-buffer): Remove.
4987 (byte-compile-defun): Simplify.
4988 (byte-compile-stack-adjustment): New fun.
4989 (byte-compile-out): Use it.
4990 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
4991
4992 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
4993 handler any more.
4994
4995 * emacs-lisp/byte-opt.el: Use lexical binding.
4996 (byte-inline-lapcode): Remove (to bytecomp).
4997 (byte-compile-inline-expand): Pay attention to inlining to/from
4998 lexically bound code.
4999 (byte-compile-unfold-lambda): Don't handle byte-code-functions
5000 any more.
5001 (byte-optimize-form-code-walker): Don't handle save-window-excursion
5002 any more and don't call compiler-macros.
5003 (byte-compile-splice-in-already-compiled-code): Remove.
5004 (byte-code): Don't inline any more.
5005 (disassemble-offset): Receive `bytes' as argument rather than via
5006 dynamic scoping.
5007 (byte-compile-tag-number): Declare before first use.
5008 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
5009 `return' even if make-spliceable.
5010 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
5011 obsolete interactive-p.
5012 (byte-optimize-lapcode): Optimize new lap-codes.
5013 Don't trip up on new form of `byte-constant' lap code.
5014
5015 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
5016
5017 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
5018
5019 * custom.el (custom-initialize-default, custom-declare-variable):
5020 Use `defvar'.
5021
5022 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
5023 New variables.
5024 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
5025 (COMPILE_FIRST): Add macroexp and cconv.
5026 * makefile.w32-in: Mirror changes in Makefile.in.
5027
5028 * vc/cvs-status.el:
5029 * vc/diff-mode.el:
5030 * vc/log-edit.el:
5031 * vc/log-view.el:
5032 * vc/smerge-mode.el:
5033 * textmodes/bibtex-style.el:
5034 * textmodes/css.el:
5035 * startup.el:
5036 * uniquify.el:
da91b5f2
CY
5037 * minibuffer.el:
5038 * newcomment.el:
5039 * reveal.el:
5040 * server.el:
5041 * mpc.el:
5042 * emacs-lisp/smie.el:
5043 * doc-view.el:
5044 * dired.el:
03408648
SM
5045 * abbrev.el: Use lexical binding.
5046
0f0c1f27
EZ
50472011-04-01 Eli Zaretskii <eliz@gnu.org>
5048
5049 * info.el (info-display-manual): New function.
5050
c82b2579
SM
50512011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5052
5053 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
5054
221ddf68
TH
50552011-03-31 Tassilo Horn <tassilo@member.fsf.org>
5056
5057 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 5058 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 5059
cba6e77e
GM
50602011-03-31 Glenn Morris <rgm@gnu.org>
5061
e040639f
GM
5062 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
5063
cba6e77e
GM
5064 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
5065
6d0f1c9e
CS
50662011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
5067
5068 * progmodes/python.el (python-default-interpreter)
5069 (python-python-command-args, python-jython-command-args)
5070 (python-which-shell, python-which-args, python-which-bufname)
5071 (python-file-queue, python-comint-output-filter-function)
5072 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
5073 variables and functions.
5074
3e2d70fd
SM
50752011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5076
5077 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
5078 (completion-in-region-mode): New minor mode.
5079 (completion-in-region): Use it.
5080 (completion-in-region--data, completion-in-region-mode-map): New vars.
5081 (completion-in-region--postch): New function.
5082 (completion--capf-misbehave-funs, completion--capf-safe-funs):
5083 New vars.
5084 (completion--capf-wrapper): New function.
5085 (completion-at-point): Use it to track well-behavedness of
5086 hook functions.
5087 (completion-help-at-point): New command.
5088
f3e4086c
JM
50892011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
5090
5091 * vc/add-log.el (add-change-log-entry): Don't use whitespace
5092 syntax class to search for whitespace on a single line
5093 (Message-ID: <4D938140.4030905@redhat.com>).
5094
eb7ffc14
LL
50952011-03-30 Leo Liu <sdl.web@gmail.com>
5096
5097 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
5098 New commands.
5099 (edit-abbrevs-map): Bind them here.
5100 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
5101
d806ab68
KM
51022011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
5103
5104 * allout.el (allout-hide-by-annotation, allout-flag-region):
5105 Reduce possibility of overlay leakage by making them volatile.
5106
5107 * allout-widgets.el (allout-widgets-tally): Define as nil so the
5108 hash is not shared between buffers. Mode initialization is
5109 responsible for giving it a useful starting value.
5110 (allout-item-span): Reduce possibility of overlay leakage by
5111 making them volatile.
5112 (allout-widgets-count-buttons-in-region): Add diagnostic function
5113 for tracking down button overlay leaks.
5114
ea622834
LL
51152011-03-29 Leo Liu <sdl.web@gmail.com>
5116
5117 * ido.el (ido-read-internal): Use the default history var
5118 minibuffer-history if no HISTORY is specified.
5119
b62f8267
G
51202011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
5121
03408648
SM
5122 * net/imap.el (imap-shell-open, imap-process-connection-type):
5123 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
5124 Kerberos, SSL, other subprocesses.
5125
947b6566
LL
51262011-03-28 Leo Liu <sdl.web@gmail.com>
5127
5128 * abbrev.el (abbrev-table-empty-p): New function.
5129 (prepare-abbrev-list-buffer): Place empty abbrev tables after
5130 nonempty ones. (Bug#5937)
5131
5ffb62aa
JD
51322011-03-27 Jan Djärv <jan.h.d@swipnet.se>
5133
5134 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
5135
7a097943
LL
51362011-03-27 Leo Liu <sdl.web@gmail.com>
5137
5138 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
5139 for foreground and background colors.
5140 (ansi-color-make-color-map): Adapt.
5141
c5b40130
LL
51422011-03-25 Leo Liu <sdl.web@gmail.com>
5143
1f48f7d2
LL
5144 * midnight.el (midnight-time-float): Remove. Note it calculates
5145 the microsecond component incorrectly and seconds-to-time does the
5146 same job.
625897ec 5147 Remove redundant (require 'timer).
1f48f7d2 5148
c5b40130
LL
5149 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
5150 (ido-completions): Remove unused arguments. (Bug#8329)
5151
d86d2721
SM
51522011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 * minibuffer.el (completion--flush-all-sorted-completions):
5155 Remove itself from hook.
5156 (completion-at-point): Let the functions perform the completion
5157 immediately and return nil or t.
5158 * comint.el (comint-dynamic-complete-functions): Now identical to
5159 completion-at-point-functions.
5160 (comint-dynamic-list-input-ring): Remove unused var `index'.
5161 (comint--match-partial-filename, comint--unquote&expand-filename):
5162 New funs, split from comint-match-partial-filename.
5163 (comint-dynamic-complete): Use completion-at-point.
5164 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
5165
e8974c48
DA
51662011-03-24 Drew Adams <drew.adams@oracle.com>
5167
5168 * thingatpt.el: Support `defun'.
5169
def71b5e
LL
51702011-03-23 Leo Liu <sdl.web@gmail.com>
5171
cb5af48e
LL
5172 * abbrevlist.el: Move to obsolete/abbrevlist.el.
5173
def71b5e
LL
5174 * help-mode.el (help-mode-finish): Tweak regexp.
5175
927c53e7
GM
51762011-03-23 Glenn Morris <rgm@gnu.org>
5177
18d05bed
GM
5178 * eshell/esh-opt.el (eshell-eval-using-options):
5179 Do not bind unused local variable `eshell-option-stub'.
5180
927c53e7
GM
5181 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
5182
9d0da923
JB
51832011-03-22 Juanma Barranquero <lekktu@gmail.com>
5184
5185 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
5186 keymap variable in `with-no-warnings' to avoid a warning when the
5187 keymap has been already `defconst'ed.
5188
4b978a67
LL
51892011-03-22 Leo Liu <sdl.web@gmail.com>
5190
5191 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
5192 encode all chars in abbrevs; otherwise use emacs-mule or
5193 utf-8-emacs. (Bug#8308)
5194
5fd62452
JB
51952011-03-22 Juanma Barranquero <lekktu@gmail.com>
5196
0b1596c6
JB
5197 * simple.el (backward-delete-char-untabify):
5198 Avoid warning about using `delete-backward-char'.
5199
5fd62452
JB
5200 * image.el (image-type-file-name-regexps): Make it variable.
5201 `imagemagick-register-types' modifies it, and the user may want
5202 to add new extensions for known image types.
5203 (imagemagick-register-types): Throw error if not using ImageMagick.
5204
0b4e93f1
LL
52052011-03-22 Leo Liu <sdl.web@gmail.com>
5206
5207 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
5208 located before rcirc-prompt-end-marker.
5209 (rcirc-complete): Error if point is not after rcirc prompt.
5210 Handle the case when table is nil.
9882e214 5211 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 5212
fccee4ab
CY
52132011-03-22 Chong Yidong <cyd@stupidchicken.com>
5214
5215 * custom.el (custom--inhibit-theme-enable): Make it affect only
5216 custom-theme-set-variables and custom-theme-set-faces.
5217 (provide-theme): Ignore custom--inhibit-theme-enable.
5218 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
5219 (custom-enabling-themes): Delete variable.
d86d2721
SM
5220 (enable-theme): Accept only loaded themes as arguments.
5221 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
5222 (custom-enabled-themes): Forbid themes from setting this.
5223 Eliminate use of custom-enabling-themes.
5224 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 5225
af896da6
LL
52262011-03-21 Leo Liu <sdl.web@gmail.com>
5227
5228 * ido.el (ido-read-internal): Add ido-selected to history instead
5229 of user input.
5230
78f64af0
SM
52312011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * subr.el (deferred-action-list, deferred-action-function):
5234 Mark obsolete.
5235
b16ac1ec
LL
52362011-03-21 Leo Liu <sdl.web@gmail.com>
5237
810f7698
LL
5238 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
5239 change on 2011-02-13 (bug#8309).
5240
b16ac1ec
LL
5241 * minibuffer.el (read-file-name-function): Change default value.
5242 (read-file-name--defaults): Rename from read-file-name-defaults.
5243 (read-file-name-default): Rename from read-file-name.
5244 (read-file-name): Call read-file-name-function.
5245
4e05e67e
GM
52462011-03-21 Glenn Morris <rgm@gnu.org>
5247
5248 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
5249 Doc fixes.
5250
4359915b
CY
52512011-03-21 Chong Yidong <cyd@stupidchicken.com>
5252
5253 * cus-theme.el: Add missing provide statement.
5254 (customize-create-theme): Extract theme value correctly.
5255 (custom-theme-visit-theme): Autoload.
5256 (customize-create-theme): Prompt before inserting default faces.
5257
1fe275ee
JB
52582011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
5259
5260 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
5261 units and musical notes.
5262
3ec03f7e
LL
52632011-03-20 Leo <sdl.web@gmail.com>
5264
5265 * ido.el (ido-read-internal): Use completing-read-default.
5266 (ido-completing-read): Fix compatibility with completing-read.
5267
7d476bde
CO
52682011-03-20 Christian Ohler <ohler@gnu.org>
5269
5270 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
5271 (ert-delete-all-tests): Use `called-interactively-p' rather than
5272 `interactive-p'.
5273 (ert--make-xrefs-region): Respect END.
5274
fe0fb33e
CY
52752011-03-19 Chong Yidong <cyd@stupidchicken.com>
5276
ff854b0b
CY
5277 * dired-aux.el (dired-create-directory): Signal an error if the
5278 directory already exists (Bug#8246).
5279
fe0fb33e
CY
5280 * facemenu.el (list-colors-display): Call list-faces-display
5281 inside with-help-window.
5282 (list-colors-print): Use display property to align the final
5283 column, instead of checking window-width.
5284
576bce32
EZ
52852011-03-19 Eli Zaretskii <eliz@gnu.org>
5286
5287 * emerge.el (emerge-metachars): Separate value for ms-dos and
5288 windows-nt systems.
5289 (emerge-protect-metachars): Quote correctly for ms-dos and
5290 windows-nt systems.
5291
89c41d68 52922011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
5293
5294 * info.el (info-initialize): Replace all uses of `:' with
5295 path-separator for compatibility with non-Unix systems.
5296 Cache quoting of path-separator. (Bug#8258)
5297
b14e3e21 52982011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
5299
5300 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
5301 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
5302 (mouse-avoidance-mode): Fix typos in docstrings.
5303
4525ce3e
CY
53042011-03-19 Chong Yidong <cyd@stupidchicken.com>
5305
5306 * startup.el (package-subdirectory-regexp): Move from package.el.
5307 Omit \\` and \\', and let callers add them.
5308
5309 * emacs-lisp/package.el (package-strip-version)
5310 (package-load-all-descriptors): Add \\` and \\' to
5311 package-subdirectory-regexp before using it.
5312 (package-untar-buffer): New arg DIR; ensure that file untars only
5313 into this expected directory. Remove superfluous delete-region.
5314 (package-unpack): Caller changed.
5315 (package-tar-file-info): Use package-subdirectory-regexp.
5316
a904a09a 53172011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 5318
a904a09a
SM
5319 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
5320 diff-mode-shared-map (bug#8284).
5321 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
5322
53232011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5324
5325 * calendar/time-date.el (format-seconds): Use assoc instead of
5326 assoc-string, since assoc-string doesn't exist in XEmacs.
5327
171fc304
JB
53282011-03-17 Juanma Barranquero <lekktu@gmail.com>
5329
5330 * custom.el (custom-known-themes): Reflow docstring.
5331 (custom-theme-load-path): Fix typo in docstring.
5332 (load-theme): Fix typo in error message.
5333 (custom-available-themes, custom-variable-theme-value):
5334 Use `let', not `let*'.
5335
d71990a1
JB
53362011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
5337
5338 * calc/README: Mention inclusion of musical notes.
5339
5340 * calc/calc-units.el (calc-lu-quant): Rename from
5341 `calc-logunits-quantity'.
5342 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
5343 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
5344 (calc-db): Rename from `calc-dblevel'.
5345 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
5346 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
5347 (calc-np): Rename from `calc-nplevel'.
5348 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
5349 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
5350 (calc-lu-plus): Rename from `calc-logunits-add'.
5351 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
5352 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
5353 (calc-lu-minus): Rename from `calc-logunits-sub'.
5354 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
5355 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
5356 (calc-lu-times): Rename from `calc-logunits-mul'.
5357 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
5358 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
5359 (calc-lu-divide): Rename from `calc-logunits-div'.
5360 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
5361 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
5362
5363 * calc/calc-ext.el (calc-init-extensions): Update the names of the
5364 functions being autoloaded.
5365
5366 * calc/calc.el (calc-lu-power-reference): Rename from
5367 `calc-logunits-power-reference'.
5368 (calc-lu-field-reference): Rename from
5369 `calc-logunits-field-reference'.
5370
5371 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
5372
40c2934b
SM
53732011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
5374
5375 * minibuffer.el (completion-all-sorted-completions):
5376 Use :completion-cycle-penalty text property if present.
5377
b0911414
KM
53782011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
5379
5380 * allout.el (allout-yank-processing): Adjust for new rebulleting
5381 regime so bullet being yanked is used without prompting the user
5382 for a choice.
5383
8a05b668
JB
53842011-03-16 Juanma Barranquero <lekktu@gmail.com>
5385
5386 * startup.el (command-line): Warn the user that _emacs is deprecated.
5387
5ba5fb81
JB
53882011-03-16 Juanma Barranquero <lekktu@gmail.com>
5389
5390 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
5391 (delphi-verbose, delphi-comment-face, delphi-string-face)
5392 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
5393 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
5394 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
5395 (delphi-new-comment-line, delphi-font-lock-defaults)
5396 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
5397 Fix typos in docstrings.
5398
2dab465b
KM
53992011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
5400
5ba5fb81 5401 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
5402 Invert the roles of character and string values for INSTEAD, so a
5403 string is used for the more common case of a defaulting prompt.
5404
0adf5618
SM
54052011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5406
5407 * progmodes/ruby-mode.el (ruby-backward-sexp):
5408 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
5409 * play/gamegrid.el (gamegrid-make-face):
5410 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
5411 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
5412 * notifications.el (notifications-notify):
5413 * net/xesam.el (xesam-search-engines):
5414 * net/quickurl.el (quickurl-list-insert):
5415 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
5416
d72700e5
CY
54172011-03-15 Chong Yidong <cyd@stupidchicken.com>
5418
5419 * startup.el (command-line): Update package subdirectory regexp.
5420
49c5410a
SM
54212011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5422
c6eee9aa
SM
5423 * allout.el (allout-abbreviate-flattened-numbering)
5424 (allout-mode-deactivate-hook): Fix up obsolescence "date".
5425
49c5410a
SM
5426 * subr.el (read-char-choice): Only show the cursor after the prompt,
5427 not after the answer.
5428
047b2bb9
KR
54292011-03-15 Kevin Ryde <user42@zip.com.au>
5430
5431 * help-fns.el (variable-at-point): Skip leading quotes, if any
5432 (bug#8253).
5433
0a57d256
SM
54342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5435
5436 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
5437 warning message.
5438
77c992bc
MA
54392011-03-14 Michael Albinus <michael.albinus@gmx.de>
5440
5441 * shell.el (shell): When called interactively, offer to change the
5442 shell file name on remote hosts.
5443
eebc475d
TZ
54442011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
5445
5446 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
5447 integration for LDAP parameters. The host, base, user or binddn,
5448 and secret tokens can be specified in a netrc file, for instance.
5449 This is optional because an `auth-source' parameter must be
5450 specified in the search attributes.
5451
9d05d1ba
JB
54522011-03-13 Juanma Barranquero <lekktu@gmail.com>
5453
5454 * help.el (describe-mode): Link to the mode's definition (bug#8185).
5455
09d9db2c
GM
54562011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
5459 into declaration. Remove redundant and harmful binding.
5460
54612011-03-12 Eli Zaretskii <eliz@gnu.org>
5462
5463 * files.el (file-ownership-preserved-p): Pass `integer' as an
5464 explicit 2nd argument to `file-attributes'. If the file's owner
5465 is the Administrators group on Windows, and the current user is
5466 Administrator, consider that a match.
5467
5468 * server.el (server-ensure-safe-dir): Consider server directory
5469 safe on MS-Windows if its owner is the Administrators group while
5470 the current Emacs user is Administrator. Use `=' to compare
5471 numerical UIDs, since they could be integers or floats.
5472
219bd536
JB
54732011-03-12 Juanma Barranquero <lekktu@gmail.com>
5474
5475 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
5476
f3afd36b
MA
54772011-03-12 Michael Albinus <michael.albinus@gmx.de>
5478
5479 Sync with Tramp 2.2.1.
5480
5481 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
5482
5483 * net/trampver.el: Update release number.
5484
3aaaa6f1
SM
54852011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5486
94642599
SM
5487 * progmodes/compile.el (compilation--previous-directory): Fix up
5488 various nil/dead-marker mismatches (bug#8014).
5489 (compilation-directory-properties, compilation-error-properties):
5490 Don't call it at a position past the one we're about to change.
5491
3aaaa6f1
SM
5492 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
5493 Disable obsolescence warnings in the file that declares it.
5494
14239447
KM
54952011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
5496
099c39a4
JB
5497 * allout-widgets.el (allout-widgets-tally):
5498 Initialize allout-widgets-tally as a hash table rather than nil to
5499 prevent mode-line redisplay warnings. Also, clarify the module
5500 description and fix a comment typo.
14239447 5501
135e287c
JB
55022011-03-11 Juanma Barranquero <lekktu@gmail.com>
5503
5504 * help-fns.el (describe-variable): Don't complete keywords.
5505 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
5506
ffbf300e
CY
55072011-03-10 Chong Yidong <cyd@stupidchicken.com>
5508
ba08b241
CY
5509 * emacs-lisp/package.el (package-version-join): Impose a standard
5510 string representation for pre/alpha/beta version lists.
5511 (package-unpack-single): Standardize the directory name by passing
5512 it through package-version-join.
5513 (package-strip-rcs-id): Accept any version string that does not
5514 signal an error in version-to-list.
ffbf300e 5515
f346fd6b
MA
55162011-03-10 Michael Albinus <michael.albinus@gmx.de>
5517
5518 * simple.el (delete-trailing-whitespace): Return nil for the
5519 benefit of `write-file-functions'.
5520
ccb55d27
GM
55212011-03-10 Glenn Morris <rgm@gnu.org>
5522
5ceaac0c
GM
5523 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
5524
02da65ff
GM
5525 * vc/vc-git.el (vc-git-program): New option.
5526 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
5527 (vc-git--call): Use it.
5528
b2f603cc
GM
5529 * eshell/esh-util.el (eshell-condition-case): Doc fix.
5530
5772caab
GM
5531 * cus-edit.el (Custom-newline): If no button at point, look
5532 for a subgroup button at start-of-line. (Bug#2298)
5533
ccb55d27
GM
5534 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
5535
ec6ecaed
JD
55362011-03-10 Julien Danjou <julien@danjou.info>
5537
5538 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
5539 `cursor-type' is nil.
5540
9d5aa01d
JB
55412011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
5542
5543 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
5544
b6a5875b
KM
55452011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
5546
5547 * allout.el Summary: Change so yank of distinctive-bullet items
5548 preserves the existing header prefix, rebulleting it if necessary,
5549 rather than replacing it. This is necessary for proper operation
5550 of cooperative addons like allout-widgets.
219bd536 5551 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
5552 SOLICIT arg to INSTEAD, and interpret additionally a string value
5553 as alternate bullet to be used, instead of prompting the user for
5554 a bullet character.
5555
ee545c35
MA
55562011-03-09 Michael Albinus <michael.albinus@gmx.de>
5557
d86d2721
SM
5558 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5559 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
5560 `tramp-default-port'.
5561
c47971d7
DD
55622011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5563
5564 * net/rcirc.el (rcirc-handler-001): Remove useless
5565 with-rcirc-process-buffer.
5566 (rcirc-check-auth-status): Swap arguments to string-match.
5567
13522cb4
GM
55682011-03-09 Glenn Morris <rgm@gnu.org>
5569
0be6f4f1
GM
5570 * shell.el (shell-mode):
5571 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
5572
13522cb4
GM
5573 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
5574 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
5575
515de2e3
CY
55762011-03-08 Chong Yidong <cyd@stupidchicken.com>
5577
5578 * emacs-lisp/package.el (package-refresh-contents)
5579 (package-menu-execute): Use condition-case-no-debug.
5580
b511b994
MA
55812011-03-08 Michael Albinus <michael.albinus@gmx.de>
5582
5583 * simple.el (shell-command-to-string): Use `process-file'.
5584
5585 * emacs-lisp/package.el (package-tar-file-info): Handle also
5586 remote files.
5587
d86d2721
SM
5588 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5589 Use `equal' for upload base check.
b511b994 5590
25bbfb31
AM
55912011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
5592
5593 * textmodes/texinfo.el (texinfo-environments):
5594 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
5595
be996521
GM
55962011-03-08 Glenn Morris <rgm@gnu.org>
5597
e9c8529f
GM
5598 * cus-start.el (cursor-in-non-selected-windows):
5599 Fix :set quoting oddness. (Bug#8192)
5600
be996521
GM
5601 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
5602 in some setf expressions. (Bug#2159)
5603
2bb5649e
CY
56042011-03-08 Chong Yidong <cyd@stupidchicken.com>
5605
5606 * custom.el (custom-available-themes): Return themes in
5607 alphabetical order.
5608
33383987 5609See ChangeLog.15 for earlier changes.
e3d51b27
MR
5610
5611;; Local Variables:
5612;; coding: utf-8
e3d51b27
MR
5613;; End:
5614
33383987 5615 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
5616
5617 This file is part of GNU Emacs.
5618
5619 GNU Emacs is free software: you can redistribute it and/or modify
5620 it under the terms of the GNU General Public License as published by
5621 the Free Software Foundation, either version 3 of the License, or
5622 (at your option) any later version.
5623
5624 GNU Emacs is distributed in the hope that it will be useful,
5625 but WITHOUT ANY WARRANTY; without even the implied warranty of
5626 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5627 GNU General Public License for more details.
5628
5629 You should have received a copy of the GNU General Public License
5630 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.