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