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