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