Fix ChangeLog entry for the last commit.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b5516bbd
MR
12011-09-29 Martin Rudalics <rudalics@gmx.at>
2
ccee00c0
MR
3 * window.el (display-buffer-record-window): When WINDOW is the
4 selected window use `point' instead of `window-point'. (Bug#9626)
5
b5516bbd
MR
6 * startup.el (command-line-1): Use insert-before-markers when
7 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8
b5516bbd
MR
9 * help.el (help-window): Remove variable.
10
52aa0014
GM
112011-09-29 Glenn Morris <rgm@gnu.org>
12
13 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14
df9a7357
JB
152011-09-29 Juanma Barranquero <lekktu@gmail.com>
16
17 * descr-text.el (describe-char-categories): Accept category
18 descriptions more than one line long.
19
a8406c20
SM
202011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
21
88d9610c
SM
22 * simple.el (delete-trailing-whitespace): Fix last change.
23
a5daf810
SM
24 * progmodes/perl-mode.el (perl-syntax-propertize-function):
25 Don't confuse "y => 3" as the beginning of a `y' operation.
26
a8406c20
SM
27 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
28 object has more than 4 slots (bug#9613).
29
a239d4e9
JB
302011-09-28 Juanma Barranquero <lekktu@gmail.com>
31
32 * subr.el (with-output-to-temp-buffer):
33 * net/quickurl.el (quickurl, quickurl-browse-url):
34 Fix typos in docstrings.
35
693fbdb6
EZ
362011-09-27 Eli Zaretskii <eliz@gnu.org>
37
38 * minibuffer.el (completion-styles)
39 (completion-category-overrides): Cross reference each other in doc
40 strings.
41
8b457e28
GM
422011-09-27 Glenn Morris <rgm@gnu.org>
43
44 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
45 to split-string. (Bug#9606)
46
85a16208
LMI
472011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
48
49 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
50 (bug#9615).
51
502f9ebd
CY
522011-09-27 Chong Yidong <cyd@stupidchicken.com>
53
54 * emacs-lisp/package.el (list-packages): Fix echo area message.
55
7690bdea
LL
562011-09-27 Leo Liu <sdl.web@gmail.com>
57
58 * ido.el (ido-read-internal): Accept cons cell HIST arg.
59
e2ee6f30
MA
602011-09-25 Michael Albinus <michael.albinus@gmx.de>
61
62 * net/dbus.el (dbus-unregister-object): Don't release services for
63 registered signals. (Bug#9581)
64
f3f98342
TZ
652011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
66
67 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
68 function that picks between cfengine 2 and 3 support
69 automatically. Update docs accordingly.
70
dd7aa8dd
KH
712011-09-22 Kenichi Handa <handa@m17n.org>
72
73 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
74 ZERO.
75 (indian-itrans-v5-table-for-tamil): New variable.
76 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
77
3f2b07f8
KM
782011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
79
80 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
81 that's true if the current command involved collapsing of text.
82 It's reset to false at the beginning of the next command.
83 (allout-post-command-business): Move the cursor to the beginning
84 of entry if the cursor is hidden and collapsing activity just
85 happened.
86
371d6a61
CY
872011-09-24 Chong Yidong <cyd@stupidchicken.com>
88
89 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
90 tracking (Bug#9541).
91
2ac2721a
UJ
922011-09-24 Ulf Jasper <ulf.jasper@web.de>
93
94 * net/newst-reader.el (newsticker-html-renderer)
95 (newsticker-show-news): Automatically
96 load html rendering package if newsticker-html-renderer is
97 set. Fixes "Warning: defvar ignored because w3m-fill-column is
98 let-bound" and the error "Symbol's value as variable is void:
99 w3m-fill-column".
100
fac7ae53
MA
1012011-09-24 Michael Albinus <michael.albinus@gmx.de>
102
103 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
104 Release services only if they are defined. (Bug#9581)
105
e08b633b
RS
1062011-09-23 Richard Stallman <rms@gnu.org>
107
e488d29c
RS
108 * textmodes/paragraphs.el (forward-sentence): For backwards case,
109 distinguish start of paragraph from start of its text.
110
19c38752
RS
111 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
112
e08b633b
RS
113 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
114 (rmail-generate-viewer-buffer): Put that hook on view buffer.
115 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
116
0a39f27e
AS
1172011-09-23 Andreas Schwab <schwab@linux-m68k.org>
118
119 * international/mule-diag.el (mule-diag): Insert a newline after
120 each fontset description.
121
db4e950d
SM
1222011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
123
124 * simple.el (delete-trailing-whitespace):
125 Document last change; simplify.
126
eca3f3ea
PW
1272011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
128
d68e189a
PW
129 * simple.el (delete-trailing-whitespace): Also delete
130 extra newlines at the end of the buffer.
131
eca3f3ea
PW
132 * textmodes/picture.el: Make motion commands obey shift-select-mode.
133 (picture-newline): Use forward-line so as to ignore fields.
134
01c157cc
SM
1352011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
136
137 * subr.el (with-wrapper-hook): Fix edebug spec.
138
022de23e
LMI
1392011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
140
141 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
142 (bug#4538).
143
91683089
MA
1442011-09-23 Michael Albinus <michael.albinus@gmx.de>
145
eca3f3ea
PW
146 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
147 Fix nasty bug using wrong cached values.
91683089 148
5bdd6fa4
AM
1492011-09-23 Alan Mackenzie <acm@muc.de>
150
151 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
152
97adfb97
CY
1532011-09-23 Chong Yidong <cyd@stupidchicken.com>
154
155 * window.el (pop-to-buffer): Ensure right window is selected if we
156 chose another frame.
157
d4ef2b50
EZ
1582011-09-22 Eli Zaretskii <eliz@gnu.org>
159
160 * simple.el (what-cursor-position): Use get-char-property-change
161 and next-single-char-property-change, to be able to show display
162 properties that come from overlays as well as text properties.
163
72258fe5
CY
1642011-09-22 Chong Yidong <cyd@stupidchicken.com>
165
166 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
167
168 * cmuscheme.el (run-scheme, switch-to-scheme):
169 * cus-edit.el (customize-group, custom-buffer-create)
170 (customize-browse):
171 * info.el (info):
172 * shell.el (shell):
173 * mail/sendmail.el (mail):
174 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
175
8f098516
RS
1762011-09-22 Richard Stallman <rms@gnu.org>
177
178 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
179 move back only to line beg, don't move back over blank lines.
180
e74f1bb6
MA
1812011-09-22 Michael Albinus <michael.albinus@gmx.de>
182
183 * files.el (copy-directory): Set directory attributes only in case
184 they could be retrieved from the source directory. (Bug#9565)
185
bfeef8b6
DK
1862011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
187
188 * progmodes/hideshow.el (hs-looking-at-block-start-p)
189 (hs-find-block-beginning, hs-hide-level-recursive):
190 Ignore strings as well as comments. (Bug#9502)
191
7e423bb8
AS
1922011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
193
194 * progmodes/sql.el (sql-comint-postgres):
195 Convert port number to a string. (Bug#9566)
196
b4d72fcf
MR
1972011-09-22 Martin Rudalics <rudalics@gmx.at>
198
199 * window.el (quit-window): Undedicate window when switching to
200 previous buffer. Reported by Thierry Volpiatto
201 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
202 (special-display-popup-frame): When popping up a new frame reset
203 its previous buffers to nil. Simplify code.
b4d72fcf 204
a7b88dc6
MA
2052011-09-21 Michael Albinus <michael.albinus@gmx.de>
206
207 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
208 and process filter, as done also in `shell-command'.
209
cf4eacfd
MR
2102011-09-21 Martin Rudalics <rudalics@gmx.at>
211
eca3f3ea
PW
212 * window.el (set-window-buffer-start-and-point):
213 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
214 Volpiatto <thierry.volpiatto@gmail.com>.
215 (quit-window): Reword doc-string. Handle new format of
216 quit-restore parameter. Don't delete window if it has a
217 previous buffer we can show instead of the present one.
218 (display-buffer-record-window): Rewrite using a new format for
219 the quit-restore window parameter
220 (special-display-popup-frame, display-buffer-same-window)
221 (display-buffer-reuse-window, display-buffer-pop-up-frame)
222 (display-buffer-pop-up-window, display-buffer-use-some-window):
223 Adapt symbol passed to display-buffer-record-window.
224 * help.el (help-window-setup): Handle new format of quit-restore
225 parameter.
226
8d28cb95
SM
2272011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
228
94ab793f
SM
229 * faces.el (face-list): Fix docstring (bug#9564).
230
8d28cb95
SM
231 * window.el (display-buffer--action-function-custom-type):
232 Don't include internal functions in the Custom interface.
233
3820edeb
JL
2342011-09-20 Juri Linkov <juri@jurta.org>
235
236 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
237 (Info-forward-node, Info-backward-node, Info-next-preorder)
238 (Info-last-preorder): Use it. (Bug#9528)
239
5147931d
JL
2402011-09-20 Juri Linkov <juri@jurta.org>
241
242 * info.el (Info-last-preorder): Visit last menu item only when
243 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
244
cf499a1a
JD
2452011-09-20 Julien Danjou <julien@danjou.info>
246
247 * password-cache.el (password-cache-remove): Remove entries even if the
248 value is nil, so that password with a nil value (negative caching) is
249 possible to invalidate.
250
f84e2fe2
LM
2512011-09-20 Lawrence Mitchell <wence@gmx.li>
252
253 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
254 all whitespace around breakpoint. (Bug#9553)
255 (f90-find-breakpoint): Only break at whitespace inside a comment.
256
78054a46
SM
2572011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 * minibuffer.el (completion-file-name-table): Keep track of errors.
260 (completion-table-with-predicate): Handle the case where pred1 is nil.
261 * pcomplete.el (pcomplete-completions-at-point): Simplify.
262
345083b2
SM
2632011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
264
e24e27be
SM
265 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
266 (debugger-return-value): Signal an error if the debugging context does
267 not await any return value.
268
345083b2
SM
269 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
270 * image-mode.el (image-toggle-display-text)
271 (image-toggle-display-image): Stay away from evil `intangible'.
272
08d355e3
LL
2732011-09-19 Leo Liu <sdl.web@gmail.com>
274
275 * replace.el (occur-revert-arguments): Make it permanent-local.
276 (occur-mode): Don't call font-lock-defontify.
277
f01da43f
CY
2782011-09-19 Chong Yidong <cyd@stupidchicken.com>
279
280 * net/ldap.el (ldap-search-internal): Don't push empty search
281 result (Bug#9508).
282
b6072fa6
SM
2832011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
286
443d6696
MA
2872011-09-19 Michael Albinus <michael.albinus@gmx.de>
288
289 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
290 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
291
7cc6e154
JL
2922011-09-18 Juri Linkov <juri@jurta.org>
293
294 * buff-menu.el (Buffer-menu-mode-map):
295 * dired.el (dired-mode-map):
296 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
297 (lisp-interaction-mode-map):
298 * emacs-lisp/package.el (package-menu-mode-map):
299 * epa.el (epa-key-list-mode-map):
300 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
301 (menu-bar-options-menu):
302 * outline.el (outline-mode-menu-bar-map):
303 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
304 * vc/vc-dir.el (vc-dir-menu-map):
305 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
306 Capitalize non-function content words in menu item strings.
307
308 * dired.el (dired-mode-map): Add menu item for
309 `image-dired-dired-toggle-marked-thumbs'.
310
80302a81
JL
3112011-09-18 Juri Linkov <juri@jurta.org>
312
313 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
314 to `isearch-case-fold-search' and restore its original value
315 after the `isearch-mode' call.
316
46c5cf66
JL
3172011-09-18 Juri Linkov <juri@jurta.org>
318
319 * progmodes/grep.el (grep-process-setup): Don't check code for 1
320 because `zgrep' returns 1 for successful matches (bug#9226).
321
d18b513b
JL
3222011-09-18 Juri Linkov <juri@jurta.org>
323
324 * info.el (Info-extract-menu-node-name): Check the second match
325 for empty string (second test-case of bug#9528).
326 (Info-last-preorder): Let-bind `Info-history' to nil to not add
327 intermediate nodes to the history (first test-case of bug#9528).
328
72753f87
JL
3292011-09-18 Juri Linkov <juri@jurta.org>
330
331 * info.el (Info-mode-syntax-table): New variable.
332 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
333
c9384295
JL
3342011-09-18 Juri Linkov <juri@jurta.org>
335
336 * info.el (Info-file-supports-index-cookies): Increment
337 line-beginning-position's arg from 3 to 4 because makeinfo outputs
338 one more line for long file names (bug#4142).
339
d473dce8
CY
3402011-09-18 Chong Yidong <cyd@stupidchicken.com>
341
342 * newcomment.el (comment-normalize-vars): If prompting for
343 comment-start, set comment-start-skip too (Bug#8424).
344
2176854d
JB
3452011-09-18 Johan Bockgård <bojohan@gnu.org>
346
347 * icomplete.el: Fix previous fix of Bug#5849.
348 (icomplete-mode): Don't set completion-show-inline-help.
349 (icomplete-minibuffer-setup): Set completion-show-inline-help
350 locally during icompletion.
351
3aace4e4
CY
3522011-09-18 Chong Yidong <cyd@stupidchicken.com>
353
c940224f
CY
354 * woman.el (woman2-process-escapes): Don't delete unrecognized
355 escapes (Bug#7843).
356
3aace4e4
CY
357 * files.el (inhibit-first-line-modes-regexps): Add image files.
358 (hack-local-variables-prop-line): Return nil for malformed
359 prop-lines (Bug#9044).
360
710dec63
MA
3612011-09-18 Michael Albinus <michael.albinus@gmx.de>
362
363 * net/tramp.el (top): Don't require 'shell.
364 (tramp-methods): Fix docstring.
365 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
366 Return complete remote file name. Handle "smb" case.
367 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
368 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
369
370 * net/tramp-compat.el (top): Require 'shell.
371
372 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
373 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
374 `tramp-current-host'.
375 (tramp-get-remote-tmpdir): Remove.
376
377 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
378 `tramp-tmpdir' entries.
379 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
380 (tramp-smb-handle-file-attributes): Ignore errors.
381 (tramp-smb-wait-for-output): Check also for process end.
382
5d5ac8ec
LMI
3832011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
384
385 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
386 when sending QUIT (bug#9312).
387
8c0f49f0
CY
3882011-09-17 Chong Yidong <cyd@stupidchicken.com>
389
390 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
391 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
392 occur-mode-display-occurrence.
393 (occur-edit-mode): Add usage message.
394 (occur-cease-edit): New command.
395 (occur-after-change-function): Use text properties to find the
396 position of the prefix text.
397 (occur-engine): Set stickiness of prefix text properties.
398
8f1383f7
GM
3992011-09-17 Glenn Morris <rgm@gnu.org>
400
401 * progmodes/etags.el (complete-tag):
402 Fix call to completion-in-region. (Bug#9526)
403
744ba0e3
JL
4042011-09-17 Juri Linkov <juri@jurta.org>
405
406 * textmodes/ispell.el (ispell-word): Add to the error message
407 the word, ispell program name and current dictionary (bug#9121).
408 (ispell-tex-arg-end): Capitalize "error" in the error message.
409
d9bbf400
AS
4102011-09-17 Andreas Schwab <schwab@linux-m68k.org>
411
412 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
413 check. (Bug#4251)
414
8da11505
JL
4152011-09-17 Juri Linkov <juri@jurta.org>
416
417 * window.el (window-safe-min-height, window-safe-min-width):
418 Fix typos (followup to bug#9522).
419
a91adc7e
SJ
4202011-09-17 Sven Joachim <svenjoac@gmx.de>
421
422 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
423
064f328a
EZ
4242011-09-16 Eli Zaretskii <eliz@gnu.org>
425
426 * simple.el (line-move): If goal-column is set, move by logical
427 lines, not by display lines. (Bug#971)
428 (next-line, previous-line, goal-column, line-move-visual): Doc fix
429 to reflect the above change.
430
e69df516
SM
4312011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * image.el (imagemagick-register-types): Use regexp-opt.
434
cbb0f9ab
CY
4352011-09-15 Chong Yidong <cyd@stupidchicken.com>
436
437 * window.el (display-buffer-base-action): Rename from
438 display-buffer-default-action. Make default value empty.
439 (display-buffer-overriding-action): Convert to defvar.
440 (display-buffer-fallback-action): New var.
441
25322144
CY
4422011-09-15 Chong Yidong <cyd@stupidchicken.com>
443
444 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
445 declaration.
446 (package--add-to-archive-contents): If there is a duplicate entry
447 with an older version, remove it.
448 (package-menu-mark-delete, package-menu-mark-install)
449 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
450 (package-menu-mark-obsolete-for-deletion):
451 Use package-menu-get-status instead of a regexp search.
25322144
CY
452 (package-menu-get-status): Use tabulated-list-entry.
453 (package-menu-mark-upgrades): New command.
d770725a 454 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
455 (package-menu-execute): Do installation before deletion.
456 (package-menu-refresh, package-menu-execute): Use derived-mode-p
457 instead of checking major-mode.
458 (package-menu--find-upgrades): New function.
459
7520339c
LMI
4602011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
461
462 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
463 passwords in the log buffer.
65a046c4
LMI
464 (smtpmail-process-filter): Update the process marker so that the
465 "broken by peer" status message is inserted in the right place.
7520339c 466
d3c30954
SM
4672011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
468
3fe48822
SM
469 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
470 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
471 bibtex-completion-at-point-function.
472 (bibtex-completion-at-point-function): Use them.
473
1b8b3954
SM
474 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
475
d3c30954
SM
476 * mpc.el (mpc-constraints-tag-lookup): New function.
477 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
478 also to browser "album|playlist".
479
72779976
JL
4802011-09-14 Juri Linkov <juri@jurta.org>
481
482 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
483 (isearch-edit-string): Use length of `isearch-string' when
484 `isearch-fail-pos' returns nil.
485 (isearch-message): Remove duplicate code and call
486 `isearch-fail-pos' with arg `t'.
487
a0bf2bcd
CY
4882011-09-14 Chong Yidong <cyd@stupidchicken.com>
489
17bb0a2d
CY
490 * replace.el (occur-mode-goto-occurrence): Don't force using other
491 window (Bug#9499).
492
a0bf2bcd
CY
493 * dired-aux.el (dired-do-chmod): Don't provide initial input.
494
f678e0b6
MR
4952011-09-14 Martin Rudalics <rudalics@gmx.at>
496
497 * window.el (display-buffer-window): Remove.
498 (display-buffer-record-window): Use help-setup window parameter
499 instead of variable display-buffer-window.
500 (display-buffer-function, special-display-buffer-names)
501 (special-display-function): Mention help-setup parameter instead
502 of display-buffer-window in doc-string.
d3c30954
SM
503 * help.el (help-window-setup): New argument help-window.
504 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
505 Reword some messages.
506 (with-help-window): Pass window used for displaying the buffer
507 to help-window-setup. Don't set display-buffer-window.
508
8e39b2e8
GM
5092011-09-13 Glenn Morris <rgm@gnu.org>
510
511 * emacs-lisp/debug.el (debugger-make-xrefs):
512 Preserve point. (Bug#9462)
513
85e9c04b
CY
5142011-09-13 Chong Yidong <cyd@stupidchicken.com>
515
516 * window.el (window-deletable-p): Use next-frame.
517
1b36ed6a
MR
5182011-09-13 Martin Rudalics <rudalics@gmx.at>
519
520 * window.el (window-auto-delete): Remove.
521 (window-deletable-p): Remove argument FORCE. Don't deal with
522 dedicatedness and previous buffers.
523 (switch-to-prev-buffer): Don't delete window.
524 (delete-windows-on): Delete a window's frame if and only if the
525 window is dedicated.
526 (replace-buffer-in-windows): Delete buffer's window or frame if
527 and only if window is dedicated.
528 (quit-window): Handle quit-restore as before last change.
4d61f28d 529 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 530
ef8ef9fb
CY
5312011-09-13 Chong Yidong <cyd@stupidchicken.com>
532
533 * window.el (window-deletable-p): Never delete the last frame on a
534 given terminal.
535
b2cba41e
GM
5362011-09-13 Glenn Morris <rgm@gnu.org>
537
538 * help.el (describe-key-briefly): Copy previous standard-output change.
539
e3ce671f
PW
5402011-09-13 PJ Weisberg <pj@irregularexpressions.net> (tiny change)
541
542 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
543
b7556719
GM
5442011-09-13 Glenn Morris <rgm@gnu.org>
545
546 * emacs-lisp/lisp-mode.el (lisp-indent-function):
547 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
548
64b51947
CY
5492011-09-12 Chong Yidong <cyd@stupidchicken.com>
550
551 * dired-aux.el (dired-mark-read-string): Don't return default
552 value on empty input (Bug#9361).
553 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
554 Omit initial minibuffer contents.
555 (dired-do-chmod): Signal an error on empty input.
556 (dired-mark-read-string): Don't return default on empty input.
557
558 * files.el (file-modes-symbolic-to-number): Doc fix.
559
393a301e
SM
5602011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
561
562 * international/mule-cmds.el (ucs-completions): Remove.
563 (read-char-by-name): Use complete-with-action instead; add metadata.
564
fa5660f9
CY
5652011-09-11 Chong Yidong <cyd@stupidchicken.com>
566
567 * window.el (display-buffer--action-function-custom-type)
568 (display-buffer--action-custom-type): New vars.
569 (display-buffer-alist, display-buffer-default-action)
570 (display-buffer-overriding-action): Add defcustom types.
571
4a592f66
CY
572 * frame.el (delete-other-frames): Doc fix (Bug#276).
573
73d56dbd
LMI
5742011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
575
576 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
577
37ac18a3
CY
5782011-09-11 Chong Yidong <cyd@stupidchicken.com>
579
580 Change modes that used same-window-* vars to use switch-to-buffer.
581
582 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
583 Use switch-to-buffer.
584
585 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
586 (customize-browse, custom-buffer-create-other-window):
587 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
588
589 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
590 (Info-prev, Info-up, Info-speedbar-goto-node)
591 (info-display-manual): Use switch-to-buffer.
592 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
593
594 * mail/sendmail.el (mail): Use switch-to-buffer.
595 (mail-recover): Use switch-to-buffer-other-window.
596
597 * cmuscheme.el (run-scheme, switch-to-scheme):
598 * ielm.el (ielm):
599 * shell.el (shell):
600 * net/rlogin.el (rlogin):
601 * net/telnet.el (telnet, rsh):
602 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
603
10195bd6
AS
6042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
605
606 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
607
b322f63a
LMI
6082011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
609
39d7fed6
LMI
610 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
611 so don't mention it (bug#9301).
ba5a81f1 612 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 613
ee0e9f11
LMI
614 * faces.el (face-spec-set-match-display): Make `(type graphic)'
615 match `x', `w32' and `ns', like the manual says (bug#9029).
616
0b1c89c1 617 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
618 (process-kill-buffer-query-function): Mention the buffer name in
619 the query.
0b1c89c1 620
77549ea8
LMI
621 * image-mode.el (image-next-line): The line parameter is mandatory
622 (bug#9258).
623
803ef892
LMI
624 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
625 which can be useful (bug#9301).
626
12980837
LMI
627 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
628
91054f8f
LMI
629 * subr.el (match-string): Mention that the current buffer should
630 be the same as the search was done in (bug#9282).
631
b322f63a
LMI
632 * facemenu.el: Disable the remove-* commands if the mark isn't
633 active (bug#9162).
634
3199b96f
CY
6352011-09-10 Chong Yidong <cyd@stupidchicken.com>
636
637 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
638 of display-buffer.
639 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
640
641 * replace.el (occur-mode-goto-occurrence)
642 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
643 and display-buffer.
644
645 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
646 display-buffer.
647
648 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
649 special-display and same-window variables.
650 (mail-other-window): Use switch-to-buffer-other-window.
651 (mail-other-frame): USe switch-to-buffer-other-frame.
652
393a301e
SM
653 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
654 Use display-buffer-other-frame.
3199b96f
CY
655 (gdb-display-gdb-buffer): Use pop-to-buffer.
656
657 * progmodes/gud.el (gud-goto-info): Use info-other-window.
658
659 * progmodes/python.el: Don't set same-window-buffer-names.
660
661 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
662
663 * window.el (display-buffer-alist): Add *Python*.
664
8319e0bf
CY
6652011-09-10 Chong Yidong <cyd@stupidchicken.com>
666
667 * window.el (display-buffer-alist): Add entry for buffers
668 previously handled same-window-*.
669 (display-buffer-alist, display-buffer-default-action)
670 (display-buffer-overriding-action): Mark as risky.
671 (display-buffer-alist): Document action function changes.
672 (display-buffer--same-window-action)
673 (display-buffer--other-frame-action): New variables.
674 (switch-to-buffer, display-buffer-other-frame): Use them.
675 (display-buffer): Rename reuse-frame entry to reusable-frames.
676 (display-buffer-reuse-selected-window): Function deleted.
677 (display-buffer-reuse-window): Handle reusable-frames alist entry.
678 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
679 (display-buffer-special): New function.
680 (display-buffer--maybe-pop-up-frame-or-window): Rename from
681 display-buffer-reuse-or-pop-window. Split off special-display
682 part into display-buffer-special.
683 (display-buffer-use-some-window): Don't perform any special
684 pop-up-frames handling.
685 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 686 (display-buffer--maybe-same-window): Rename from
0d3ff375 687 display-buffer-maybe-same-window.
8319e0bf 688
919a69aa
CY
689 * info.el: Don't set same-window-regexps.
690 (info-setup): New function.
691 (info-other-window, info): Call it.
692
693 * cus-edit.el: Don't set same-window-regexps.
694 (customize-group): New argument.
695 (customize-group-other-window): Use it.
696 (customize-face, customize-face-other-window): Likewise.
697 (custom-buffer-create-other-window): Use pop-to-buffer directly.
698
8319e0bf
CY
699 * net/rlogin.el:
700 * net/telnet.el:
701 * progmodes/gud.el: Don't set same-window-regexps.
702
703 * cmuscheme.el:
704 * ielm.el:
705 * shell.el:
706 * mail/sendmail.el:
707 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
708
25173000
JL
7092011-09-10 Juri Linkov <juri@jurta.org>
710
711 * isearch.el (isearch-edit-string): Remove obsolete mention of
712 `C-w' (`isearch-yank-word-or-char') from docstring.
713 (isearch-query-replace): Fix typo in docstring (bug#9466).
714
056e44ef
JL
7152011-09-10 Juri Linkov <juri@jurta.org>
716
717 * paren.el (show-paren-function): Don't show escaped parens.
718 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
719
c3760c17
EZ
7202011-09-10 Eli Zaretskii <eliz@gnu.org>
721
722 * mail/sendmail.el (mml-to-mime, mml-attach-file)
723 (mm-default-file-encoding): Remove autoload forms, they are
724 replaced with autoload cookies in mml.el and mm-encode.el.
725 (mail-add-attachment): New command.
726 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
727 (mail-mode): Mention mail-insert-file and mail-add-attachment in
728 the doc string.
729 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
730
fece895e
RT
7312011-09-10 Reuben Thomas <rrt@sc3d.org>
732
e69df516
SM
733 * simple.el (count-words-region): Use buffer if there's no region
734 (bug#9429).
fece895e 735
5e68ce4a
JL
7362011-09-09 Juri Linkov <juri@jurta.org>
737
738 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
739 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
740 (wdired-isearch-filter-read-only): New function. (Bug#6362)
741
0a6b9622
AM
7422011-09-09 Alan Mackenzie <acm@muc.de>
743
744 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
745 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
746
14a29deb
EZ
7472011-09-09 Eli Zaretskii <eliz@gnu.org>
748
749 Fix for Savannah bug#9392.
750 * simple.el (mail-encode-mml): New defvar.
751
752 * mail/rmail.el (mail-encode-mml): Add a defvar.
753 (rmail-enable-mime-composing): Default to t.
754 (rmail-forward): Use MIME method of forwarding only if both
755 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
756 Set mail-encode-mml non-nil if the MIME method was used.
757
758 * mail/sendmail.el (mml-to-mime): Add autoload form.
759 (mail-encode-mml): Add a defvar.
760 (mail-mode): Make mail-encode-mml buffer-local and initialize it
761 to nil.
762 (mail-send): If mail-encode-mml is non-nil, run the outgoing
763 message through mml-to-mime, and reset mail-encode-mml to nil.
764
28c45130
GM
7652011-09-09 Glenn Morris <rgm@gnu.org>
766
767 * woman.el (woman-if-body): When processing an .el block,
768 do not delete the next .el block as well. (Bug#9447)
69f4b618 769 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 770
9b1c252e
MR
7712011-09-08 Martin Rudalics <rudalics@gmx.at>
772
773 * window.el (window-deletable-p): Make sure window is live before
774 invoking window-prev-buffers.
775
567457e3
LL
7762011-09-08 Leo Liu <sdl.web@gmail.com>
777
778 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
779
97f05794
JL
7802011-09-08 Juri Linkov <juri@jurta.org>
781
782 * progmodes/compile.el (compilation-environment): Make it
783 a defcustom (bug#8340).
784
8b0874b5
MR
7852011-09-08 Martin Rudalics <rudalics@gmx.at>
786
787 * window.el (frame-auto-delete): Rename to window-auto-delete.
788 Make it control auto-deletion of windows and/or frames.
789 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 790 for deleting window/frame. (Bug#9419)
8b0874b5
MR
791 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
792 Rewrite handling of case when window/frame can be deleted.
793 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 794 argument t. (Bug#9456)
8b0874b5 795
4feb6e73
CY
7962011-09-07 Chong Yidong <cyd@stupidchicken.com>
797
798 * help-mode.el (help-mode): Restore autoload.
799
91ab9c13
JL
8002011-09-07 Juri Linkov <juri@jurta.org>
801
802 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
803 `compilation-environment'. Set buffer-local
804 `compilation-environment' to `thisenv' later after (funcall mode).
805 (Bug#8340)
806
807 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
808 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
809 instead of replacing its value. (Bug#8340)
810
0527e251
JL
8112011-09-07 Juri Linkov <juri@jurta.org>
812
813 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
814 based on text properties put by `grep-filter' instead of matching
815 escape sequences.
816 (grep-mode): Set buffer-local `compilation-error-screen-columns'
817 to the value of `grep-error-screen-columns' (bug#9438).
818
249f792c
JL
8192011-09-07 Juri Linkov <juri@jurta.org>
820
821 * simple.el (next-error-highlight, next-error-highlight-no-select):
822 Doc fix (bug#9432).
823
ff7271b9
OT
8242011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
825
826 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
827 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
828
183fc730
LL
8292011-09-07 Leo Liu <sdl.web@gmail.com>
830
831 * net/rcirc.el (rcirc-mode): Conditionally initialize
832 rcirc-input-ring.
833
77694924
SM
8342011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
835
836 * emacs-lisp/find-func.el (find-function-C-source): Only set
837 find-function-C-source-directory after checking that we found a source
838 file there (bug#9440).
839
d809b8eb
AM
8402011-09-06 Alan Mackenzie <acm@muc.de>
841
842 * isearch.el (isearch-other-meta-char): Wherever a key list is
843 unread, "unread" the prefix arg, too. This fixes bug #8901.
844
453de99f
OG
8452011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
846
847 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
848
90439906
JL
8492011-09-05 Juri Linkov <juri@jurta.org>
850
851 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
852
f62bd846
JL
8532011-09-05 Juri Linkov <juri@jurta.org>
854
855 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
856 keeping point where processing of grep matches begins, and
857 continue to delete remaining escape sequences from the same point.
858 (grep-filter): Make leading zero optional in "0?1;31m" because
859 git-grep emits "\033[1;31m" escape sequences unlike expected
860 "\033[01;31m" as GNU Grep does (bug#9408).
861 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
862
045820ec
JL
8632011-09-05 Juri Linkov <juri@jurta.org>
864
865 * subr.el (y-or-n-p): Capitalize "yes".
866
f5e29b9b
MA
8672011-09-04 Michael Albinus <michael.albinus@gmx.de>
868
869 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
870 `tramp-cache-unload-hook' where appropriate.
871 (tramp-methods): Rename `tramp-remote-sh' to
872 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
873 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
874
875 * net/tramp-sh.el (top): Don't require 'shell.
876 (tramp-methods): Add `tramp-remote-shell' and
877 `tramp-remote-shell-args' entries.
878 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
879 (tramp-sh-handle-shell-command): Remove.
880 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
881 Use `tramp-remote-shell'.
882
2784c434
CY
8832011-09-03 Chong Yidong <cyd@stupidchicken.com>
884
393a301e 885 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
886 (sendmail-query-once): Save directly to send-mail-function.
887 Update message-send-mail-function too.
888
889 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
890
464cdf56
CS
8912011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
892
893 * progmodes/python.el (python-mode-map): Use correct function to
894 start python interpreter from menu-bar (as reported by Geert
895 Kloosterman).
896 (inferior-python-mode-map): Fix typo.
393a301e 897 (python-shell-map): Remove.
464cdf56 898
d37e5c87
DD
8992011-09-03 Deniz Dogan <deniz@dogan.se>
900
901 * net/rcirc.el (rcirc-print): Simplify code for
902 rcirc-scroll-show-maximum-output. There is no need to walk
903 through all windows to find the right one.
904
f3ada0ee
CS
9052011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
906
907 * help.el (help-return-method): Doc fix.
908
1f3c99ca
MR
9092011-09-03 Martin Rudalics <rudalics@gmx.at>
910
911 * window.el (window-deletable-p): Don't return a non-nil value
912 when there's a buffer that was shown in the window before.
913 (Bug#9419)
393a301e
SM
914 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
915 Set window's previous buffers to nil.
1f3c99ca 916
a3cf097f
EZ
9172011-09-03 Eli Zaretskii <eliz@gnu.org>
918
919 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
920 newline before and after the tag line, so it doesn't interfere
921 with determining the paragraph direction of bidirectional text.
922
3d03de90
LL
9232011-09-03 Leo Liu <sdl.web@gmail.com>
924
925 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
926
c3313451
CY
9272011-09-02 Chong Yidong <cyd@stupidchicken.com>
928
393a301e 929 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
930 (pop-to-buffer): Change interactive spec. Pass second argument
931 directly to display-buffer.
932 (display-buffer): Fix interactive spec. Use functionp to
933 distinguish between a function and a list of functions.
934
935 * abbrev.el (edit-abbrevs):
936 * arc-mode.el (archive-extract):
937 * autoinsert.el (auto-insert):
938 * bookmark.el (bookmark-bmenu-list):
939 * files.el (find-file):
940 * view.el (view-buffer):
941 * progmodes/compile.el (compilation-goto-locus):
942 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
943
89894cd8
CY
9442011-09-02 Chong Yidong <cyd@stupidchicken.com>
945
946 * window.el (display-buffer-alist): Doc fix.
947 (display-buffer): Add docstring. Don't treat
948 display-buffer-default specially.
949 (display-buffer-reuse-selected-window)
950 (display-buffer-same-window, display-buffer-maybe-same-window)
951 (display-buffer-reuse-window, display-buffer-pop-up-frame)
952 (display-buffer-pop-up-window)
953 (display-buffer-reuse-or-pop-window)
954 (display-buffer-use-some-window): New functions.
955 (display-buffer-default-action): Use them.
393a301e 956 (display-buffer-default): Delete.
89894cd8
CY
957 (pop-to-buffer-1): Fix choice of actions.
958
ae0bc9fb
SM
9592011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * minibuffer.el (completion--insert-strings): Don't get confused by
962 completion entries that end with an LF char.
963
e9d90883
EZ
9642011-09-01 Eli Zaretskii <eliz@gnu.org>
965
966 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
967
437014c8
CY
9682011-09-01 Chong Yidong <cyd@stupidchicken.com>
969
970 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
971 (display-buffer-same-window, display-buffer-other-window):
972 New functions.
437014c8
CY
973 (pop-to-buffer-1): New function. Use the above.
974 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 975 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
976
977 * view.el (view-buffer-other-window, view-buffer-other-frame):
978 Just use pop-to-buffer.
979
a5e063d5
TV
9802011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
981
982 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
983
793d32bb
WH
9842011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
985
986 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
987
d65e4c15
RS
9882011-08-31 Richard Stallman <rms@gnu.org>
989
990 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
991 of the separation of rmail-view-buffer from rmail-buffer.
992 If you say no to "replace original", the decrypt is in the
993 view buffer. If you say yes, the decrypt goes into the
994 rmail buffer also.
995
f818cd2a
MR
9962011-08-31 Martin Rudalics <rudalics@gmx.at>
997
998 * window.el (display-buffer-window): Rewrite doc-string.
999 (display-buffer-record-window): New function.
1000 (display-buffer-macro-specifiers)
1001 (display-buffer-even-window-sizes, display-buffer-set-height)
1002 (display-buffer-set-width, display-buffer-in-window)
1003 (display-buffer-reuse-window, display-buffer-split-specifiers)
1004 (display-buffer-side-specifiers, display-buffer-split-window-1)
1005 (display-buffer-split-window, display-buffer-split-atom-window)
1006 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1007 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1008 (display-buffer-other-window-means-other-frame)
1009 (display-buffer-normalize-special)
1010 (display-buffer-normalize-default)
1011 (display-buffer-normalize-argument)
1012 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1013 (display-buffer-normalize-specifiers, display-buffer-frame)
1014 (display-buffer-same-window, display-buffer-same-frame)
1015 (display-buffer-other-window)
1016 (display-buffer-same-frame-other-window)
1017 (display-buffer-other-frame, pop-to-buffer-same-window)
1018 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1019 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1020 (switch-to-buffer-same-frame)
1021 (switch-to-buffer-other-window-same-frame)
1022 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1023 (display-buffer-alist-set-1, display-buffer-alist-set-2)
1024 (display-buffer-alist-set): Remove.
1025 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
1026 (special-display-regexps, special-display-function):
1027 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
1028 parameter.
1029 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1030 (special-display-frame-alist, special-display-popup-frame)
1031 (same-window-buffer-names, same-window-regexps, same-window-p)
1032 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1033 (split-window-preferred-function, split-height-threshold)
1034 (split-width-threshold, window-splittable-p)
1035 (split-window-sensibly, window--try-to-split-window)
1036 (window--frame-usable-p, even-window-heights)
1037 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
1038 (window--display-buffer-2, display-buffer-other-frame):
1039 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
1040 (display-buffer-default, display-buffer-assq-regexp): New functions.
1041 (display-buffer-alist): Rewrite doc-string.
1042 (display-buffer-default-action)
1043 (display-buffer-overriding-action): New variables.
1044 (display-buffer, switch-to-buffer): Rewrite.
1045 (pop-to-buffer): Restore Emacs 23 behavior but use
1046 window-normalize-buffer-to-display.
1047 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1048 Restore Emacs 23 behavior but use
1049 window-normalize-buffer-to-switch-to.
1050 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
1051 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1052 Rewrite using Emacs 23 options.
f818cd2a 1053
5bc3b51d
MA
10542011-08-31 Michael Albinus <michael.albinus@gmx.de>
1055
1056 * net/tramp.el (tramp-root-regexp): Remove.
1057 (tramp-completion-file-name-regexp-unified)
1058 (tramp-completion-file-name-regexp-separate)
1059 (tramp-completion-file-name-regexp-url): Don't use leading volume
1060 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
1061 (tramp-drop-volume-letter): Simplify definition.
1062 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 1063
b1a4f8e1
SM
10642011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1065
1066 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1067 (bug#9356).
1068
5664fa7b
RT
10692011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
1070
b1a4f8e1 1071 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 1072
9a45d6c3
JL
10732011-08-29 Juri Linkov <juri@jurta.org>
1074
1075 * isearch.el (isearch-done): Don't display message "Mark saved"
1076 when arg `edit' is non-nil to prevent its flicker in the echo area.
1077
fb87e0fb
CY
10782011-08-28 Chong Yidong <cyd@stupidchicken.com>
1079
1080 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1081 obsolete packages for deletion.
1082
09ac1c2a
CS
10832011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
1084
1085 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 1086 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
1087 view-mode from help-mode.
1088 (help-xref-override-view-map): Remove.
1089 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1090 view-mode is not used anymore.
1091
7a1ff57f
CY
10922011-08-28 Chong Yidong <cyd@stupidchicken.com>
1093
1094 * server.el (server-port): Doc fix.
1095
b9696605
CY
1096 * cus-theme.el (custom-theme-choose-mode): Inherit from
1097 special-mode (Bug#9124).
1098 (custom-theme-choose-mode-map): Add special-mode to parent.
1099
ef8cdf8c
AM
11002011-08-28 Alan Mackenzie <acm@muc.de>
1101
1102 * progmodes/cc-fonts.el
1103 (c-make-font-lock-BO-decl-search-function): New function.
1104 (c-basic-matchers-after - "Fontify the clauses after various
1105 keywords"): Extract the three keyword lists for the 3 erroneous
1106 constructs from the list of four, and use the new function above
1107 in place of an old one.
1108
27de4e20
DD
11092011-08-28 Deniz Dogan <deniz@dogan.se>
1110
1111 * net/rcirc.el (rcirc-insert-prev-input)
1112 (rcirc-insert-next-input): Remove unused argument.
1113
356a3681
SM
11142011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1115
1116 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
1117
3fc9b218
AM
11182011-08-27 Alan Mackenzie <acm@muc.de>
1119
1120 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
1121 handle function pointer parameters properly.
1122
538a061c
MR
11232011-08-27 Martin Rudalics <rudalics@gmx.at>
1124
1125 * window.el (display-buffer-reuse-window): Fix case where
1126 selected window was reused with non-nil OTHER-WINDOW argument.
1127 (Bug#9381)
1128
35b1c40c
DD
11292011-08-27 Deniz Dogan <deniz@dogan.se>
1130
1131 * net/rcirc.el (rcirc-check-auth-status): Adding support for
1132 oftc's NickServ messages.
1133
2f6a3e79
GM
11342011-08-27 Glenn Morris <rgm@gnu.org>
1135
1136 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
1137
7254299e
CY
11382011-08-26 Chong Yidong <cyd@stupidchicken.com>
1139
1140 * emacs-lisp/package.el (package-install): Call package-initialize
1141 if called interactively.
1142
f8ccf167
LL
11432011-08-26 Leo Liu <sdl.web@gmail.com>
1144
1145 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
1146
3e8cd5ce
JL
11472011-08-25 Juri Linkov <juri@jurta.org>
1148
1149 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1150 `search-whitespace-regexp' (bug#9364).
1151
93eb7113
JL
11522011-08-25 Juri Linkov <juri@jurta.org>
1153
1154 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
1155 `regexp-search-ring' to their global values to protect from
1156 updating by `read-from-minibuffer' (bug#9185).
1157
f65d1611
JL
11582011-08-25 Juri Linkov <juri@jurta.org>
1159
1160 * textmodes/ispell.el (ispell-command-loop): Add newline
1161 at the end of the "Use option `i'..." line.
1162
f1cf7a31
JL
11632011-08-25 Juri Linkov <juri@jurta.org>
1164
1165 * battery.el (display-battery-mode): If `battery-status-function'
1166 or `battery-mode-line-format' is nil, display the message and set
1167 `display-battery-mode' to nil (bug#9363).
1168
0c95fcf7
EZ
11692011-08-25 Eli Zaretskii <eliz@gnu.org>
1170
1171 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
1172 bidi-string-mark-left-to-right; they are unnecessary now.
1173
a2ebe600
DD
11742011-08-25 Deniz Dogan <deniz@dogan.se>
1175
1176 * net/quickurl.el: Documentation typo fixes.
1177
e4ed06f1
CY
11782011-08-25 Chong Yidong <cyd@stupidchicken.com>
1179
1180 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
1181
e5f1c99e
GM
11822011-08-25 Glenn Morris <rgm@gnu.org>
1183
b2948976
GM
1184 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
1185
e5f1c99e
GM
1186 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
1187 (smtpmail-via-smtp): Handle nil response from smtp.
1188
f22f4808
JL
11892011-08-24 Juri Linkov <juri@jurta.org>
1190
1191 * proced.el (proced-marked): Inherit from `error' instead of
1192 `font-lock-warning-face'.
1193
1194 * ibuffer.el (ibuffer-marked-face): Change default face from
1195 `font-lock-warning-face' to `warning'.
1196 (ibuffer-deletion-face): Change default face from
1197 `font-lock-type-face' to `error'.
1198
1199 * battery.el (battery-update): Use the face `error' instead of
1200 `font-lock-warning-face' (bug#6117).
1201
6a93965e
JL
12022011-08-24 Juri Linkov <juri@jurta.org>
1203
1204 * faces.el (success): Change face color from "Green3" to
1205 "ForestGreen" on light background (bug#9353).
1206
1ed43b09
CY
12072011-08-24 Chong Yidong <cyd@stupidchicken.com>
1208
5664fa7b
RT
1209 * window.el (quit-window): Rename from quit-restore-window.
1210 Use same arglist as old quit-window.
1ed43b09
CY
1211 (frame-auto-delete): Doc fix.
1212
1213 * view.el (view-mode-exit): Use quit-window.
1214
11dcdbb2
JL
12152011-08-24 Juri Linkov <juri@jurta.org>
1216
1217 * isearch.el (isearch-ring-adjust1): Start visiting previous
1218 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
1219 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
1220 for empty search string (when the last search string is reused
1221 automatically) to adjust the isearch ring to the last element and
1222 prepare the correct index for further M-p commands (bug#9185).
1223
de62b4df
KH
12242011-08-24 Kenichi Handa <handa@m17n.org>
1225
1226 * international/ucs-normalize.el: If decomposition property of
1227 CHAR is the default one (i.e. a list of CHAR itself), treat it as
1228 nil.
1229 (nfd, nfkd): Likewise.
1230
963b492b
SM
12312011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
1232
1233 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
1234 from process filters aren't reliably transmitted to the surrounding
1235 accept-process-output.
1236 (mpc-proc-check): New function.
1237 (mpc-proc-sync): Use it (bug#8293)
1238
93b6b5e1
SM
12392011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1240
1241 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
1242 Add compatibility functions (bug#9313).
1243
bca633fb
EZ
12442011-08-23 Eli Zaretskii <eliz@gnu.org>
1245
b177498a
EZ
1246 * cus-start.el (all): Add entry for bidi-paragraph-direction.
1247
bca633fb
EZ
1248 * international/uni-bidi.el: Regenerated.
1249
0902a04e
KH
12502011-08-23 Kenichi Handa <handa@m17n.org>
1251
1252 * international/charprop.el:
1253 * international/uni-bidi.el:
1254 * international/uni-category.el:
1255 * international/uni-combining.el:
1256 * international/uni-comment.el:
1257 * international/uni-decimal.el:
1258 * international/uni-decomposition.el:
1259 * international/uni-digit.el:
1260 * international/uni-lowercase.el:
1261 * international/uni-mirrored.el:
1262 * international/uni-name.el:
1263 * international/uni-numeric.el:
1264 * international/uni-old-name.el:
1265 * international/uni-titlecase.el:
1266 * international/uni-uppercase.el: Regenerate.
1267
3bbf23bc
MR
12682011-08-23 Martin Rudalics <rudalics@gmx.at>
1269
1270 * help.el (help-window-setup): Fix message displayed when other
1271 window is reused. (Bug#9341)
1272
b3fd59bd
SM
12732011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1802e444
SM
1275 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
1276 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
1277
b3fd59bd
SM
1278 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
1279 Mark obsolete.
1280 * shell.el (shell-parse-pcomplete-arguments): New function.
1281 (shell-completion-vars): Use it instead (bug#9160).
1282
4eb61348
SM
12832011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1284
867cab74
SM
1285 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
1286 strings and comments (bug#9333).
1287
4eb61348
SM
1288 * emacs-lisp/debug.el (debug-arglist): New function.
1289 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
1290 (debug-on-entry-1): Handle interpreted closures (bug#9120).
1291
262a1439
JL
12922011-08-22 Juri Linkov <juri@jurta.org>
1293
56ee679c
JL
1294 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1295 Revert regexp that highlights output switches to its old
1296 pre-2010-10-28 value and remove one `?' from it (bug#9319).
1297
262a1439
JL
1298 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
1299 to check for empty output (bug#9226).
1300
f13f86fb
CY
13012011-08-22 Chong Yidong <cyd@stupidchicken.com>
1302
1303 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
1304 symbol-constituent as the default, as that stops font-lock from
1305 working properly (Bug#8843).
1306
c65c9622
LMI
13072011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1308
1309 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
1310 `coding-system-for-*' around the process open call to avoid
1311 auth-source side effects.
e7f2c178 1312 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
1313 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
1314 probe hangs.
c65c9622 1315
23a8a5ab
CY
13162011-08-21 Chong Yidong <cyd@stupidchicken.com>
1317
ff98b2dd
CY
1318 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
1319
23a8a5ab
CY
1320 * emacs-lisp/find-func.el (find-function-noselect): New arg
1321 lisp-only.
1322
1323 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
1324 signal an error for built-in functions (Bug#6664).
1325
f5e3c598
LMI
13262011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1327
1328 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
1329 (smtpmail-try-auth-methods): Use it.
1330
a3f2468a
CY
13312011-08-21 Chong Yidong <cyd@stupidchicken.com>
1332
2c34e8da
CY
1333 * font-lock.el (font-lock-fontify-region)
1334 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
1335 (font-lock-default-unfontify-buffer)
1336 (font-lock-default-fontify-region)
1337 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
1338
b3fd59bd
SM
1339 * progmodes/compile.el (compilation-error-properties):
1340 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
1341 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
1342 `ant' regexp.
ee31aabc 1343
a3f2468a
CY
1344 * net/browse-url.el (browse-url-firefox): Don't call
1345 browse-url-firefox-sentinel unless using -remote (Bug#9328).
1346
8e999f70
GM
13472011-08-20 Glenn Morris <rgm@gnu.org>
1348
c21a496a
GM
1349 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
1350
59ee0542
GM
1351 * tutorial.el (tutorial--default-keys): Update some default bindings.
1352
8e999f70
GM
1353 * files.el (hack-local-variables): Fully ignore case for "mode:".
1354
e3715033
AM
13552011-08-20 Alan Mackenzie <acm@muc.de>
1356
1357 Resolve invalid use of a regexp in regexp-opt.
1358
4d61f28d
JB
1359 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
1360 detection for a java annotation.
e3715033 1361
4d61f28d 1362 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
1363 detection for a java annotation.
1364
4d61f28d
JB
1365 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
1366 handling for java.
e3715033
AM
1367 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
1368
04ed2e9c
CY
13692011-08-20 Chong Yidong <cyd@stupidchicken.com>
1370
1371 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
1372 (Bug#9274).
1373
826cee64
AM
13742011-08-20 Alan Mackenzie <acm@muc.de>
1375
1376 * Fontify CPP expressions correctly when starting in the middle of
1377 such a construct. Mainly for when jit-lock etc. starts a chunk
1378 here.
1379
1380 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
1381 variable.
1382 (c-make-font-lock-search-form): new function, extracted from
1383 c-make-font-lock-search-function.
1384 (c-make-font-lock-search-function): Use the above function.
1385 (c-make-font-lock-context-search-function): New function.
1386 (c-cpp-matchers): Enhance the preprocessor expression case with
1387 the above function
1388 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
1389 which takes an expression.
1390
1391 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
1392
13009bd8
MR
13932011-08-20 Martin Rudalics <rudalics@gmx.at>
1394
1395 * window.el (display-buffer-reuse-window)
1396 (display-buffer-pop-up-window): Don't reuse or split a side
1397 window.
1398
9234ff7f
GM
13992011-08-19 Glenn Morris <rgm@gnu.org>
1400
1401 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 1402 Downcase "Mode:". (Bug#9331)
9234ff7f 1403
f635daa1
CY
14042011-08-18 Chong Yidong <cyd@stupidchicken.com>
1405
1406 * international/characters.el: Add L and R categories.
1407
1408 * subr.el (bidi-string-mark-left-to-right): Rename from
1409 string-mark-left-to-right. Use category search.
1410
1411 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
1412
bc987f8b
JL
14132011-08-18 Juri Linkov <juri@jurta.org>
1414
1415 * faces.el (error, warning, success): New faces with definitions
1416 copied from old default values of `font-lock-warning-face',
1417 `compilation-warning', `compilation-info' (bug#6117).
1418
1419 * font-lock.el (font-lock-warning-face): Inherit from `error'.
1420
1421 * progmodes/compile.el (compilation-error): Inherit from `error'.
1422 (compilation-warning): Inherit from `warning'.
1423 (compilation-info): Inherit from `success'.
1424
1425 * dired.el (dired-marked): Inherit from `warning'.
1426 (dired-flagged): Inherit from `error'.
1427
57173b96
LMI
14282011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1429
3e79eb87
LMI
1430 * mail/smtpmail.el (auth-source): Require to avoid problems with
1431 binding variables (bug#9298). Also clean up some unused
1432 autoloads.
1433
b3fd59bd
SM
1434 * net/network-stream.el (network-stream-open-starttls):
1435 Support using starttls.el without using gnutls-cli.
57173b96 1436
02b404de
JL
14372011-08-17 Juri Linkov <juri@jurta.org>
1438
1439 * progmodes/grep.el (rgrep): Handle the case when
1440 `grep-find-command' is a cons cell (bug#9278).
1441
8c9177f2
MR
14422011-08-17 Martin Rudalics <rudalics@gmx.at>
1443
1444 * window.el (display-buffer-pop-up-frame): Run frame creation
1445 function with BUFFER current (as special-display-popup-frame
1446 does). Reported by Drew Adams.
1447
3644a0ab
DU
14482011-08-17 Daiki Ueno <ueno@unixuser.org>
1449
1450 * epa-mail.el: Simplify GnuPG group expansion using
1451 epg-expand-group.
1452 (epa-mail-group-alist, epa-mail-group-modtime)
1453 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
1454 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
1455 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
1456 Remove.
1457
5e617bc2 14582011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
1459
1460 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
1461
9c4aeabf
AM
14622011-08-16 Alan Mackenzie <acm@muc.de>
1463
1464 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
1465 Correct, to avoid the inside of macros.
1466
3a99bf64
RS
14672011-08-16 Richard Stallman <rms@gnu.org>
1468
04963aa8
RS
1469 * epa-mail.el: Handle GnuPG group definitions.
1470 (epa-mail-group-alist, epa-mail-group-modtime)
1471 (epa-mail-gnupg-conf-file): New variables.
1472 (epa-mail-parse-groups, epa-mail-sync-groups)
1473 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
1474 (epa-mail-expand-recipients): New functions.
1475 (epa-mail-encrypt): Call epa-mail-expand-recipients.
1476
177549d0
RS
1477 * mail/rmail.el (rmail-epa-decrypt): New command.
1478
fe38beef
RS
1479 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
1480 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
1481 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
1482 (epa-decrypt-armor-in-region): Make error message clearer.
1483
934eacb9
SM
14842011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1485
1486 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
1487 and "a2b" to "ab" for `prefix'.
1488
d024fb4e
CY
14892011-08-14 Chong Yidong <cyd@stupidchicken.com>
1490
1491 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
1492 filter groups.
de148fee
CY
1493 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
1494 Fourquet (Bug#8804).
d024fb4e 1495
62f1ca49
JB
14962011-08-12 Juanma Barranquero <lekktu@gmail.com>
1497
1498 * startup.el (argi): Declare as global variable (bug#9275).
1499
9ccaaa4b
CY
15002011-08-12 Chong Yidong <cyd@stupidchicken.com>
1501
1502 * subr.el (string-mark-left-to-right): Search the entire string
1503 for RTL script, not just the terminating character. Doc fix.
1504
a3dae87a
SM
15052011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1506
6cd18349
SM
1507 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
1508 New function.
1509 (js--regexp-literal, js-syntax-propertize-function): Remove.
1510 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
1511 (js-mode-map): Don't rebind electric keys.
1512 (js-insert-and-indent): Remove.
1513 (js-mode): Setup electric-layout and electric-indent instead.
1514
a3dae87a
SM
1515 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
1516
9d5cb631
DU
15172011-08-12 Daiki Ueno <ueno@unixuser.org>
1518
1519 * epa.el (epa-progress-callback-function): Fix the logic of
1520 displaying progress.
1521 * epa-file.el (epa-file-insert-file-contents): Make progress
1522 display more user-friendly.
1523 (epa-file-write-region): Ditto.
1524
3e26a4a2
CY
15252011-08-10 Chong Yidong <cyd@stupidchicken.com>
1526
1527 * subr.el (string-mark-left-to-right): New function.
1528
1529 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
1530 Use string-mark-left-to-right.
1531 (list-buffers-noselect): Caller changed.
1532
a3dae87a
SM
1533 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1534 Use string-mark-left-to-right.
3e26a4a2
CY
1535 (tabulated-list-print): Recenter after moving point.
1536
ac8cf6e6
JL
15372011-08-10 Juri Linkov <juri@jurta.org>
1538
1539 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
1540 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
1541 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
1542
8d96c9a4
CY
15432011-08-09 Chong Yidong <cyd@stupidchicken.com>
1544
1545 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
1546 (Bug#7554).
1547
7be1c708 15482011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
1549
1550 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
1551 character. (Bug#6594)
1552
37e11a63
CY
15532011-08-08 Chong Yidong <cyd@stupidchicken.com>
1554
839dde57
CY
1555 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
1556 (image-dired--with-db-file): New macro.
1557 (image-dired-write-tags, image-dired-remove-tag)
1558 (image-dired-create-gallery-lists, image-dired-write-comments)
1559 (image-dired-get-comment, image-dired-mark-tagged-files)
1560 (image-dired-list-tags, image-dired-gallery-generate): Use it.
1561 (image-dired-gallery-generate): Use insert-file-contents.
1562
37e11a63
CY
1563 * time.el (display-time-world-list, display-time-world-display):
1564 * time-stamp.el (time-stamp-string):
1565 * vc/add-log.el (add-change-log-entry): Use setenv instead of
1566 set-time-zone-rule (Bug#7337).
1567
0b4946c4
DU
15682011-08-08 Daiki Ueno <ueno@unixuser.org>
1569
1570 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
1571 (epg-error-to-string, epg-errors-to-string): New function.
1572 (epg-wait-for-completion): Reverse errors list.
1573 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
1574 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
1575 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
1576 (epg-sign-keys, epg-generate-key-from-file)
1577 (epg-generate-key-from-string): Format errors by using
1578 epg-errors-to-string (bug#9255).
1579 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
1580
75bfc667
JL
15812011-08-07 Juri Linkov <juri@jurta.org>
1582
1583 * faces.el (list-faces-display): Remove extra angle bracket
1584 from `help-mode-map'.
1585
1586 * info.el (Info-history-toc-nodes): Doc fix.
1587
1588 * longlines.el (longlines-mode): Doc fix.
1589
673e08bb
SM
15902011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1591
4640dd88
SM
1592 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
1593 of statements and in a few more cases (bug#9183).
1594
673e08bb
SM
1595 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
1596 New functions.
1597 (cl-transform-lambda): Use them (bug#9239).
1598
89b3f019
MR
15992011-08-05 Martin Rudalics <rudalics@gmx.at>
1600
1601 * window.el (display-buffer-same-window)
1602 (display-buffer-same-frame, display-buffer-other-window)
1603 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
1604 (pop-to-buffer-other-window)
1605 (pop-to-buffer-same-frame-other-window)
1606 (pop-to-buffer-other-frame): Make them defuns.
1607 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
1608
640c8776
SM
16092011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1610
1611 * subr.el (make-composed-keymap): Move from C. Change calling
1612 convention, and improve docstring to bring attention to a subtle point.
1613 * minibuffer.el (completing-read-default): Adjust accordingly.
1614
63648a95
MA
16152011-08-03 Michael Albinus <michael.albinus@gmx.de>
1616
1617 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1618 (tramp-open-shell): Use `tramp-shell-quote-argument'.
1619
1620 * net/trampver.el: Update release number.
1621
b796c9b7
SM
16222011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1623
1624 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
1625 "in" (bug#9190).
1626
2239d7d5
LMI
16272011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1628
e07dd7c3
LMI
1629 * mail/sendmail.el (sendmail-query-once): Restore the current
1630 buffer after querying (bug#9074).
1631
0e6a2bd7
LMI
1632 * dired.el (dired-flagged): Use different faces for marked and
1633 flagged files (bug#6117).
1634
ce887515
LMI
1635 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
1636 (bug#4433).
1637
92f2affc
LMI
1638 * ido.el (ido-mode): Switch off the message if called
1639 non-interactively.
1640
57d5aff0
LMI
1641 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
1642 before 587, since it appears that that's more likely to work for
1643 more people.
1644
98cd6c18
LMI
1645 * cus-edit.el (custom-file): When running under emacs -q, always
1646 refuse to save the customisations, even if the .emacs file doesn't
1647 exist.
1648
b96dec83
LMI
1649 * info.el: Remove the `Info-beginning-of-buffer' function
1650 (bug#8325).
1651
b796c9b7
SM
1652 * net/network-stream.el (network-stream-open-starttls):
1653 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 1654
d90e2ea0
MR
16552011-08-01 Martin Rudalics <rudalics@gmx.at>
1656
1657 * window.el (display-buffer-in-window): Don't set dedicated status
1658 of window here (Bug#9215).
1659 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1660 (display-buffer-pop-up-side-window)
b796c9b7 1661 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 1662
cca09170
SM
16632011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1664
1665 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
1666 before binding generated-autoload-file.
1667
027b979c
DD
16682011-08-01 Deniz Dogan <deniz@dogan.se>
1669
1670 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
1671
3c7ee4f3
MA
16722011-07-30 Michael Albinus <michael.albinus@gmx.de>
1673
1674 Sync with Tramp 2.2.2.
1675
1676 * net/trampver.el: Update release number.
1677
2cc8e51a
JL
16782011-07-30 Juri Linkov <juri@jurta.org>
1679
1680 * dired-aux.el (dired-touch-initial): Remove function.
1681 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
1682 current time, and `default' to the last modification time of the
1683 current marked file (bug#6887).
1684
a514d856
JM
16852011-07-28 Jose E. Marchesi <jemarch@gnu.org>
1686
1687 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 1688 numeric argument to read-number (bug#9163).
a514d856 1689
8a7eddd7
MA
16902011-07-27 Michael Albinus <michael.albinus@gmx.de>
1691
1692 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
1693 connection process, it could be nil.
1694
1ddd96f5
LL
16952011-07-27 Leo Liu <sdl.web@gmail.com>
1696
1697 Simplify url handling in rcirc-mode.
1698
1699 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
1700 (rcirc-browse-url-at-mouse): Remove.
1701 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
1702
b248a85d
AM
17032011-07-26 Alan Mackenzie <acm@muc.de>
1704
1705 Fontify bitfield declarations properly.
1706
1707 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
1708 (c-symbol-chars): Now exported as a lang variable.
1709 (c-not-primitive-type-keywords): New lang variable.
1710
1711 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
1712 QT keyword "more" to prevent "more slots: ...." being spuriously
1713 parsed as a bitfield declaraion.
1714
b796c9b7
SM
1715 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1716 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
1717 (c-punctuation-in): New function.
1718 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
1719 declarations properly.
1720
68575ab0
UJ
17212011-07-26 Ulf Jasper <ulf.jasper@web.de>
1722
1723 * calendar/icalendar.el (icalendar--all-events): Take care of
1724 multiple vcalendars in a single file.
b796c9b7 1725 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 1726
0f0a88b9
DD
17272011-07-25 Deniz Dogan <deniz@dogan.se>
1728
1729 * image.el (insert-image): Clarifying docstring.
1730
0b3f36df
MA
17312011-07-24 Michael Albinus <michael.albinus@gmx.de>
1732
1733 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
1734 `tramp-send-command-and-check' if there is no error.
1735 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
1736
a9901f61
AM
17372011-07-22 Alan Mackenzie <acm@muc.de>
1738
1739 Prevent cc-langs.elc being loaded at run time.
1740
1741 * progmodes/cc-mode.el: Remove two autoload forms which loaded
1742 cc-langs.
1743
4d61f28d 1744 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
1745 "(require 'cc-langs)". Quote a form so it will evaluate at
1746 (cc-mode's) compilation time.
1747
11d074b2
MA
17482011-07-22 Michael Albinus <michael.albinus@gmx.de>
1749
1750 * net/tramp.el (tramp-file-name-handler): Avoid recursive
1751 loading. (Bug#9114)
1752
938b94c8
MR
17532011-07-21 Martin Rudalics <rudalics@gmx.at>
1754
1755 * window.el (display-buffer-pop-up-window)
1756 (display-buffer-pop-up-side-window)
1757 (display-buffer-in-side-window): Call display-buffer-set-height
1758 and display-buffer-set-width after setting the new window's
b796c9b7 1759 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 1760
bfa4f190
SS
17612011-07-20 Sam Steingold <sds@gnu.org>
1762
1763 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
1764 (etags-tags-included-tables): Call `convert-standard-filename' on
1765 the file names contained in TAGS so that windows Emacs can handle
1766 TAGS files created by cygwin ctags.
1767
8ca42262
LMI
17682011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1769
1770 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
1771 which apparently didn't work.
1772
5db2afd2 17732011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 1774
5db2afd2
RW
1775 * proced.el (proced-send-signal): For *Marked Processes* buffer
1776 put point at beginning of buffer.
1777
92e15d10
SB
17782011-07-19 Stephen Berman <stephen.berman@gmx.net>
1779
1780 * proced.el (proced-format): Make header lines align with the text
1781 (bug#1779).
1782
1bfd59e5
LMI
17832011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1784
1785 * view.el (view-buffer): Allow running in `special' modes if we're
1786 visiting a file (bug#8615).
1787
f5aae37c
MR
17882011-07-19 Martin Rudalics <rudalics@gmx.at>
1789
1790 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
1791 (display-buffer-alist-set-1, display-buffer-alist-set-2):
1792 New functions.
f5aae37c
MR
1793 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
1794 more accurately.
1795
bf2c1571
AM
17962011-07-18 Alan Mackenzie <acm@muc.de>
1797
1798 Fontify declarators properly when, e.g., a jit-lock chunk begins
1799 inside a declaration.
1800
1801 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
1802
b796c9b7
SM
1803 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1804 New function.
bf2c1571
AM
1805 (c-complex-decl-matchers): Insert reference to
1806 c-font-lock-enclosing-decls.
1807
1808 * progmodes/cc-engine.el (c-backward-single-comment):
1809 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
1810 to nil around calls to (forward-comment -1).
1811
4e190b80
LMI
18122011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1813
12dc863d
LMI
1814 * image.el (put-image): Doc typo fix.
1815
a762e966
LMI
1816 * progmodes/etags.el (tags-search): Doc typo fix.
1817
4e190b80
LMI
1818 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
1819 password if we get errors 550 to 554.
1820
f019fb21
LMI
18212011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1822
b796c9b7 1823 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 1824
81746738
LMI
1825 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
1826 indentation character (bug#6380).
1827
3ee3a1b5
LMI
1828 * files.el (buffer-offer-save): Made permanently local (bug#6241).
1829
c82f64de
LMI
1830 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
1831 to clarify what the problem is (bug#4291).
1832
f019fb21
LMI
1833 * simple.el (current-kill): Clarify what
1834 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
1835 (auto-fill-mode): Document `auto-fill-function' in relation to
1836 `auto-fill-mode' (bug#2470).
f019fb21 1837
0794775d
LM
18382011-07-16 Lawrence Mitchell <wence@gmx.li>
1839
1840 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
1841 method if slot is read-only (bug#9035).
1842
be39b8cc
MR
18432011-07-16 Martin Rudalics <rudalics@gmx.at>
1844
b796c9b7 1845 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 1846 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
1847 selected before, see discussion of (Bug#8615), (Bug#6954).
1848 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 1849
6ccf7859
GM
18502011-07-15 Glenn Morris <rgm@gnu.org>
1851
1852 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 1853 Respect help-form.
6ccf7859 1854
87e86684
LM
18552011-07-09 Lawrence Mitchell <wence@gmx.li>
1856
1857 * net/gnutls.el (gnutls-min-prime-bits): New variable.
1858 (gnutls-negotiate): Use it.
1859
d6066239
LMI
18602011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1861
b796c9b7
SM
1862 * net/gnutls.el (gnutls-negotiate):
1863 Upcase `gnutls-algorithm-priority'.
d6066239 1864
bd23ebc0
GM
18652011-07-15 Glenn Morris <rgm@gnu.org>
1866
c65bca65
GM
1867 * jka-compr.el (jka-compr-verbose): Move from here...
1868 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
1869 Add missing :version tag.
1870 * info.el: No need to require jka-compr when compiling.
bd23ebc0 1871
478615cc
LMI
18722011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1873
7b41decb
LMI
1874 * net/gnutls.el (gnutls-algorithm-priority): New variable.
1875 (gnutls-negotiate): Use it.
1876
dbc44fcd
LMI
1877 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
1878
06789f97
LMI
1879 * info.el (Info-beginning-of-buffer): New command.
1880 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
1881 announcing `b' as the key (bug#8325).
ab896c37 1882 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 1883
c39da690
LMI
1884 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
1885
3aa5f34b
LMI
1886 * international/mule-cmds.el
1887 (describe-specified-language-support): Make the error message
1888 clearer (bug#8905).
1889
4bf0979f
LMI
1890 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
1891
478615cc
LMI
1892 * isearch.el (isearch-barrier): Add a doc string, since it's
1893 mentioned in a function doc string (bug#8678).
1894
75c68aa1
MR
18952011-07-15 Martin Rudalics <rudalics@gmx.at>
1896
1897 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
1898 buffer argument (Bug#9083) and self-identifying label argument.
1899
a7c33da2
GM
19002011-07-15 Glenn Morris <rgm@gnu.org>
1901
1902 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
1903
2f5c6024
LMI
19042011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1905
1906 * man.el (Man-fontify-manpage): Fix message when formatting the
1907 man page (bug#7929).
1908
0bb23927 19092011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
1910
1911 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
1912 argument LRM; if non-nil, append an invisible LRM character to the
1913 buffer name.
1914 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
1915 last argument non-nil, when formatting buffer names.
0bb23927
EZ
1916 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
1917 paragraph direction.
cce4b0a7 1918
621ef9ab
LMI
19192011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1920
d1583c48
LMI
1921 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
1922 the man page name (bug#7929).
1923
6a57fb5f
LMI
1924 * image.el (put-image): Mention the `put-image' overlay property
1925 (bug#7834).
1926
d7956b14
LMI
1927 * scroll-bar.el (set-scroll-bar-mode): Mention that
1928 `scroll-bar-mode' lists the values (bug#7772).
1929
5b2d4a66
LMI
1930 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
1931 command (bug#7729).
1932
7509a874
LMI
1933 * rect.el (apply-on-rectangle): Return the point after the last
1934 operation.
1935 (string-rectangle): Go to the point after the last operation
1936 (bug#7522).
1937
4fe74b19
LMI
1938 * printing.el (pr-toggle-region): Clarify the documentation
1939 slightly (bug#7493).
1940
b796c9b7
SM
1941 * time.el (display-time-update):
1942 Allow `display-time-mail-function' to return nil (bug#7158).
1943 Fix suggested by Detlev Zundel.
ab283561 1944
fc233c9d
LMI
1945 * vc/diff.el (diff): Clarify the order the file names are read
1946 (bug#7111).
1947
43f5740b
LMI
1948 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
1949 the doc string (bug#7015).
1950
f2182a76
LMI
1951 * font-lock.el (font-lock-maximum-decoration): Mention what
1952 numeric levels mean (bug#6935).
1953
621ef9ab
LMI
1954 * startup.el (initial-buffer-choice): Don't mention the `none'
1955 selection, which is against policy.
1956
adc47434
MR
19572011-07-14 Martin Rudalics <rudalics@gmx.at>
1958
b796c9b7
SM
1959 * window.el (display-buffer-normalize-special):
1960 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 1961
7e5bfb8f
EZ
19622011-07-14 Eli Zaretskii <eliz@gnu.org>
1963
1964 * subr.el (version<, version<=, version=): Mention "-CVS" and
1965 "-12345" alpha version numbers.
1966
27fa387a
CY
19672011-07-14 Chong Yidong <cyd@stupidchicken.com>
1968
1969 * bindings.el: Add advertised binding for set-mark-command
1970 (Bug#5772).
1971
8bdfa064
CY
19722011-07-14 Chong Yidong <cyd@stupidchicken.com>
1973
1974 * bindings.el (mode-line-other-buffer):
1975 * bookmark.el (bookmark-bmenu-2-window):
1976 * bs.el (bs-cycle-next, bs-cycle-previous):
1977 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
1978 switch-to-buffer.
1979
1980 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 1981 Delete.
8bdfa064 1982
5eba16a3
JB
19832011-07-14 Juanma Barranquero <lekktu@gmail.com>
1984
1985 * follow.el (follow-debug-message, follow-redisplay):
1986 * jka-cmpr-hook.el (with-auto-compression-mode):
1987 Fix typos in docstrings.
1988
15853710
LMI
19892011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1990
a28e4607
LMI
1991 * subr.el (with-silent-modifications): Clarify somewhat what the
1992 macro inhibits (bug#6525).
1993
15853710
LMI
1994 * simple.el (eval-expression): Note what it does if called
1995 interactively (bug#6495).
1996
bee0fcef
CY
19972011-07-13 Chong Yidong <cyd@stupidchicken.com>
1998
b796c9b7
SM
1999 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2000 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
2001
2002 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2003 Remove switch-to-buffer.
2004
58274504
LMI
20052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2006
bd2fcc8d
LMI
2007 * files.el (make-directory): Clarify that an error will be raised
2008 if there's an error (bug#6397).
2009
0f04b32c
LMI
2010 * startup.el (initial-buffer-choice): Add `none' as a choice
2011 (bug#6234).
2012
465c5fc8
LMI
2013 * subr.el (add-hook): Clarify section about buffer-local hooks
2014 (bug#6218).
2015
58274504
LMI
2016 * dired.el (dired-flagged): Clarify doc string (bug#6117).
2017
bead9a43
JB
20182011-07-13 Juanma Barranquero <lekktu@gmail.com>
2019
2020 * tabify.el (untabify): Preserve the current column so that point
2021 doesn't move (bug#6032).
2022
3af98a7b
LMI
20232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2024
b796c9b7
SM
2025 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2026 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 2027
6240145a
GM
20282011-07-13 Glenn Morris <rgm@gnu.org>
2029
2030 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
2031 (dired-insert-directory): Give a message the first time
2032 if ls is found not to support --dired.
2033
1d8c2ccc
LMI
20342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2035
2036 * simple.el (toggle-truncate-lines): Clarify what is toggled
2037 (bug#5580). Text by Drew Adams.
2038
5fc4038e
CY
20392011-07-13 Chong Yidong <cyd@stupidchicken.com>
2040
2041 * simple.el (blink-matching-open): Make the error message from the
2042 last change less verbose.
2043
bf6012e5
DN
20442011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2045
2046 * font-lock.el (font-lock-comment-face): Use the high contrast
2047 "yellow" color for font-lock-comment-face on low color terminals
2048 using a dark background color (bug#4221).
2049
343c3b5a
LMI
20502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2051
7e9505c5
LMI
2052 * dired.el (dired-insert-set-properties): Make the doc string
2053 reflect what it does now (bug#5325).
2054
c26fdcf5
LMI
2055 * simple.el (blink-matching-open): Say that we were unable to find
2056 the match within the limit, if we're limited (bug#5122).
2057
bb388cc5
LMI
2058 * international/mule-cmds.el (prefer-coding-system): Add an
2059 example (bug#4869).
2060
343c3b5a
LMI
2061 * progmodes/etags.el (tags-search): Document `file-list-form'
2062 (bug#4731).
2063
2a517d45
LM
20642011-07-13 Lawrence Mitchell <wence@gmx.li>
2065
2066 * net/browse-url.el (browse-url-default-browser)
2067 (browse-url-browser-function): Make the default browser choice a
2068 bit more logical (bug#4300). Also clean up the doc string.
2069
b6c78ef2
JB
20702011-07-13 Juanma Barranquero <lekktu@gmail.com>
2071
2072 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2073 binary endings (bug#4440).
2074
1c4dd947
LMI
20752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2076
a2014063
LMI
2077 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2078 which can be pretty annoying (bug#8971).
2079
9c9c2d88
LMI
2080 * jka-compr.el (jka-compr-verbose): New variable, and use
2081 throughout (bug#8971).
2082
1c4dd947
LMI
2083 * info.el (Info-find-file): Fall back on the installation
2084 directory if we can't find the info node anywhere else.
2085
a1c9f41b
SO
20862011-07-13 Sergei Organov <osv@javad.com> (tiny change)
2087
2088 * vc/vc.el (vc-revert-file):
2089 Don't set file time-stamp in the past. (Bug#5181)
2090
536f3d36
LMI
20912011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2092
7152b011
LMI
2093 * files.el (after-find-file): Give a better error message when
2094 trying to find a symlink that points to a file that doesn't exist
2095 (bug#4398).
2096
536f3d36
LMI
2097 * progmodes/cc-vars.el: Remove (probably) misleading comment
2098 (bug#4396).
2099
460c0fba
JB
21002011-07-12 Johan Bockgård <bojohan@gnu.org>
2101
2102 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2103
7a6bda45
CY
21042011-07-12 Chong Yidong <cyd@stupidchicken.com>
2105
2106 * mouse-sel.el: Hack restoring functionality, while keeping
2107 compatibility with 2010-07-03 changes to mouse selection.
2108 (mouse-sel-primary-overlay): New var.
2109 (mouse-sel-selection-alist): Use it.
2110 (mouse-sel-mode): Doc fix; remove points that are default features
2111 of mouse.el.
2112
c79598ef
JB
21132011-07-12 Johan Bockgård <bojohan@gnu.org>
2114
2115 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2116 Fix previous fix (bug#2490).
2117
ff8be6ef
RW
21182011-07-12 Roland Winkler <winkler@gnu.org>
2119
b796c9b7
SM
2120 * textmodes/bibtex.el (bibtex-initialize):
2121 Use pop-to-buffer-same-window.
ff8be6ef
RW
2122 (bibtex-search-entries): Fix interactive call.
2123
296ba3ee
LMI
21242011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2125
f5242a02 2126 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
2127 Fontise bytecomp Error lines more correctly (bug#2490).
2128 Fix suggested by Johan Bockgård.
f5242a02 2129
296ba3ee
LMI
2130 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
2131
2132 * dired-x.el (dired-guess-default): Use `delete-dups'.
2133
f69fd0d2
CY
21342011-07-12 Chong Yidong <cyd@stupidchicken.com>
2135
2136 * dired.el (dired-mark-prompt):
2137 * dired-aux.el (dired-read-shell-command): Doc fix.
2138
eab5dc07
LMI
21392011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2140
b796c9b7
SM
2141 * mail/sendmail.el (sendmail-query-once):
2142 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
2143 emacs -Q.
2144
2145 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2146
eab5dc07
LMI
2147 * cus-edit.el (custom-file): Take an optional no-error variable.
2148 (customize-save-variable): Set the variable, and give a warning if
2149 running under "emacs -q".
2150
a1e65d42
JB
21512011-07-11 Juanma Barranquero <lekktu@gmail.com>
2152
2153 * loadhist.el (unload-feature-special-hooks):
2154 Add `auto-coding-functions', `fill-nobreak-predicate' and
2155 `find-directory-functions' (bug#5327).
2156
1d52da10
LMI
21572011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2158
be958f1d
LMI
2159 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
2160
5bedb26c
LMI
2161 * cus-edit.el (custom-guess-name-alist): -alist variables should
2162 use the `alist' type (bug#3120). Suggested by Drew Adams.
2163
1d52da10
LMI
2164 * printing.el: Add documentation to all the `pr-toggle-' commands.
2165
481a51b6
LL
21662011-07-11 Leo <sdl.web@gmail.com> (tiny change)
2167
2168 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
2169 backends where it makes sense (bug#2623).
2170
dcc88d8a
LMI
21712011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2172
c3de9feb
LMI
2173 * dired-x.el (dired-guess-default): Remove duplicate shell command
2174 entries (bug#2028).
8a93078b 2175 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 2176 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 2177
dcc88d8a
LMI
2178 * subr.el (remove-duplicates): New conveniency function.
2179
505e3645
LMI
21802011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2181
2182 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
2183 (bug#1526).
2184
21852011-07-10 Martin Rudalics <rudalics@gmx.at>
2186
2187 * window.el (display-buffer-normalize-default): Don't invert
2188 meaning of even-window-heights. Reported by Eli Zaretskii
2189 <eliz@gnu.org>.
2190
455e4fa1
BR
21912011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
2192
2193 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
2194
8e0bc3e9
CY
21952011-07-10 Chong Yidong <cyd@stupidchicken.com>
2196
2197 * window.el (display-buffer): Fix arguments to
2198 display-buffer-reuse-window in last change.
2199
fa7c3228
CY
2200 * faces.el (link): Use a less saturated blue on light backgrounds.
2201
2202 * startup.el (fancy-startup-text, fancy-about-text)
2203 (fancy-startup-tail): Use font-lock faces, for background safety.
2204
c0a7f300
BN
22052011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
2206
b796c9b7
SM
2207 * emulation/viper-cmd.el (viper-change-state-to-vi):
2208 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 2209
4dc2a129
MR
22102011-07-09 Martin Rudalics <rudalics@gmx.at>
2211
2212 * window.el (display-buffer-default-specifiers): Remove.
2213 (display-buffer-macro-specifiers): Remove default specifiers.
2214 (display-buffer-alist): Default to nil.
b796c9b7 2215 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
2216 (display-buffer-pop-up-window): Allow splitting internal
2217 windows. Check whether a live window was created.
2218 (display-buffer-other-window-means-other-frame)
2219 (display-buffer-normalize-arguments): Rename to
2220 display-buffer-normalize-argument and rewrite. Set the
2221 other-window specifier.
2222 (display-buffer-normalize-special): New function.
2223 (display-buffer-normalize-options): Rename to
2224 display-buffer-normalize-default and rewrite.
2225 (display-buffer-normalize-options-inhibit): Remove.
2226 (display-buffer-normalize-specifiers): Rewrite.
2227 (display-buffer): Process other-window specifier and call
2228 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
2229 more faithfully.
b796c9b7 2230 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 2231 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
2232 (display-buffer-in-window, display-buffer-alist-set):
2233 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
2234 <tassilo@member.fsf.org>.
2235
2d43b8c9
LL
22362011-07-09 Leo Liu <sdl.web@gmail.com>
2237
2238 * register.el (insert-register): Restore accidental change on
2239 2011-06-26. (Bug#9028)
2240
7f9b7c53
GM
22412011-07-09 Glenn Morris <rgm@gnu.org>
2242
2243 * subr.el (remq): Handle the empty list. (Bug#9024)
2244
f042cfd8
AS
22452011-07-08 Andreas Schwab <schwab@linux-m68k.org>
2246
2247 * mail/sendmail.el (send-mail-function): No longer delay custom
2248 initialization.
2249 * custom.el (custom-initialize-delay): Doc fix.
2250
856b2f11
SM
22512011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2252
2253 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
2254
afae1d68
MA
22552011-07-08 Michael Albinus <michael.albinus@gmx.de>
2256
2257 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
2258 human-friendly prompt.
2259
0757af94
SM
22602011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2261
2262 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
2263 provided by a particular plugin.
2264
d760b731
LMI
22652011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2266
2267 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
2268 save customizations (with "emacs -Q"), just set the variable
2269 instead of erroring out.
2270
2271 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2272
cd79ce90
JL
22732011-07-08 Juri Linkov <juri@jurta.org>
2274
2275 * arc-mode.el (archive-zip-expunge, archive-zip-update)
2276 (archive-zip-update-case): Use 7z if found by `executable-find'.
2277 The order of searching the available programs is the same as in
2278 `archive-zip-extract' (bug#8968).
2279
14cc04aa
CY
22802011-07-07 Chong Yidong <cyd@stupidchicken.com>
2281
2282 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
2283 (menu-bar-options-menu): Tweak descriptions.
2284
0a1848ec
LMI
22852011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2286
2287 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
2288 menu items into verb phrases (bug#1421). Also refill to fit under
2289 80 columns.
2290
f5bd0689
CY
22912011-07-07 Chong Yidong <cyd@stupidchicken.com>
2292
538e85c6
CY
2293 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
2294 (Info-read-node-name): Doc fix (Bug#1084).
2295
f5bd0689
CY
2296 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
2297 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
2298 (end-of-sexp, beginning-of-sexp)
2299 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
2300 (forward-symbol, forward-same-syntax, word-at-point)
2301 (sentence-at-point): Doc fix (Bug#1144).
2302
56ec5115
LMI
23032011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2304
f3f8e37f
LMI
2305 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
2306 should cover it (bug#1281).
2307
0757af94 2308 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 2309
12b9eb35
LMI
2310 * net/network-stream.el (network-stream-open-starttls): If gnutls
2311 negotiation fails, then possibly try again with a non-encrypted
2312 connection (bug#9017).
2313
56ec5115
LMI
2314 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
2315 be used.
2316
c2f9aec8
RS
23172011-07-07 Richard Stallman <rms@gnu.org>
2318
2319 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
2320 property, and handle its changed format.
2321 Look for the correct line number.
2322 Use file's line contents (but not past first =) to find
2323 correct line in message.
2324
ef7b981d 23252011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
2326
2327 * international/characters.el (build-unicode-category-table):
2328 Delete it.
0757af94 2329 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 2330
0757af94 2331 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
2332 to src/chartab.c.
2333 (get-char-code-property): Call unicode-property-table-internal to
2334 load a file. Call get-unicode-property-internal where necessary.
2335 (put-char-code-property): Call unicode-property-table-internal to
2336 load a file. Call put-unicode-property-internal where necessary.
2337 put-unicode-property-internal where necessary.
0757af94
SM
2338 (char-code-property-description):
2339 Call unicode-property-table-internal to load a file.
c805dec0
KH
2340
2341 * international/charprop.el:
2342 * international/uni-bidi.el:
2343 * international/uni-category.el:
2344 * international/uni-combining.el:
2345 * international/uni-comment.el:
2346 * international/uni-decimal.el:
2347 * international/uni-decomposition.el:
2348 * international/uni-digit.el:
2349 * international/uni-lowercase.el:
2350 * international/uni-mirrored.el:
2351 * international/uni-name.el:
2352 * international/uni-numeric.el:
2353 * international/uni-old-name.el:
2354 * international/uni-titlecase.el:
2355 * international/uni-uppercase.el: Regenerate.
2356
2357 * loadup.el: Load international/charprop.el before
2358 international/characters.
2359
e14b388a
CY
23602011-07-07 Chong Yidong <cyd@stupidchicken.com>
2361
2362 * window.el (next-buffer, previous-buffer): Signal an error if
2363 called from a minibuffer window.
2364
2365 * bindings.el: Revert 2011-07-04 change.
2366
354cf0ba
RS
23672011-07-06 Richard Stallman <rms@gnu.org>
2368
2369 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
2370 (rmail-mime-insert-bulk, rmail-mime-insert-text):
2371 Treat markers like ints.
2372 (rmail-mime-entity): Doc fix.
2373
a48868a7
LMI
23742011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2375
4906cd3d
LMI
2376 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
2377 defcustom again for backwards compatibility.
2378
e0457abe
LMI
2379 * simple.el (shell-command-on-region): Fill.
2380
d67f7e1f
LMI
2381 * dired-aux.el (dired-kill-line): Add a doc string.
2382
fe204702
LMI
2383 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
2384 to "\\sw\\|\\s_" (bug#358).
2385
a48868a7
LMI
2386 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
2387 (dired-unmark-backward): Ditto.
2388 (dired-flag-backup-files): Ditto.
2389
2390 * dired-x.el (dired-mark-sexp): Ditto.
2391
aa8a705c
RS
23922011-07-06 Richard Stallman <rms@gnu.org>
2393
2394 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
2395 (rmail-mime-entity): New arg TRUNCATED.
2396 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
2397 New functions.
2398 (rmail-mime-save): Warn if entity is truncated.
2399 (rmail-mime-toggle-hidden): Likewise, for showing.
2400 (rmail-mime-process-multipart): Record when an entity is truncated.
2401
a9a936b9
RS
2402 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
2403 if ENTITY is a string.
2404
1f2b92cb
LMI
24052011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2406
f4f73198 2407 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
2408 of faces when `M-C-x'-ing their definitions (bug#8378).
2409 Also clean up the code slightly.
f4f73198 2410
12b16734
LMI
2411 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
2412 because that makes the colours go away.
2413
f0691d22
LMI
2414 * mail/sendmail.el (send-mail-function): Change the default to
2415 `sendmail-query-once'.
9e87df06 2416 (sendmail-query-once): Add an autoload cookie.
f0691d22 2417
1f2b92cb
LMI
2418 * net/network-stream.el (network-stream-open-starttls): Try using
2419 a plain connection even if the server offered STARTTLS, and we
2420 kinda wanted to use it, if Emacs doesn't have any STARTTLS
2421 capability. This should make smtpmail.el work in slightly more
2422 configurations.
2423
1cdd2a1b
MA
24242011-07-06 Michael Albinus <michael.albinus@gmx.de>
2425
2426 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
2427 New defun.
2428 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
2429
fbcc67e2
MM
24302011-07-06 Michael R. Mauger <mmaug@yahoo.com>
2431
2432 * progmodes/sql.el: Version 3.0
0757af94 2433 (sql-product-alist): Add product :completion-object,
fbcc67e2 2434 :completion-column, and :statement attributes.
0757af94 2435 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 2436 (sql-mode-syntax-table): Mark all punctuation.
0757af94 2437 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
2438 ansi keywords.
2439 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 2440 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
2441 (sql-oracle-show-reserved-words): New function for development.
2442 (sql-product-font-lock): Simplify for source code buffers.
2443 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
2444 New functions.
2445 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
2446 (sql-mode-map): Add statement movement functions.
2447 (sql-ansi-statement-starters, sql-oracle-statement-starters):
2448 New variable.
fbcc67e2
MM
2449 (sql-statement-regexp, sql-beginning-of-statement)
2450 (sql-end-of-statement, sql-signum): New functions.
0757af94 2451 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
2452 (sql-show-sqli-buffer): Bug fix.
2453 (sql-interactive-mode): Store connection data as buffer local.
0757af94 2454 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
2455 with sql-interactive-mode.
2456 (sql-save-connection): Save buffer local settings.
0757af94 2457 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
2458 (sql-product-interactive): Bug fix.
2459 (sql-preoutput-hold): New variable.
2460 (sql-interactive-remove-continuation-prompt): Bug fixes.
2461 (sql-debug-redirect): New variable.
2462 (sql-str-literal): New function.
2463 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 2464 Redesign.
fbcc67e2
MM
2465 (sql-oracle-save-settings, sql-oracle-restore-settings)
2466 (sql-oracle-list-all, sql-oracle-list-table): New functions.
2467 (sql-completion-object, sql-completion-column)
2468 (sql-completion-sqlbuf): New variables.
2469 (sql-build-completions-1, sql-build-completions)
2470 (sql-try-completion): New functions.
2471 (sql-read-table-name): Use them.
2472 (sql-contains-names): New buffer local variable.
2473 (sql-list-all, sql-list-table): Use it.
2474 (sql-oracle-completion-types): New variable.
2475 (sql-oracle-completion-object, sql-sqlite-completion-object)
2476 (sql-postgres-completion-object): New functions.
2477
d4eaeab1
GM
24782011-07-06 Glenn Morris <rgm@gnu.org>
2479
2480 * window.el (pop-to-buffer): Doc fix.
2481
322b7dab 24822011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
2483
2484 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
2485
322b7dab 24862011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 2487
322b7dab 2488 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 2489
322b7dab 2490 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 2491
605dd5bf
CY
24922011-07-05 Chong Yidong <cyd@stupidchicken.com>
2493
2494 * button.el (button): Inherit from link face. Suggested by Dan
2495 Nicolaescu.
2496
7dbfa719
SM
24972011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
2498
3db614b0
SM
2499 * progmodes/gdb-mi.el: Fit in 80 columns.
2500 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
2501 switch-to-buffer.
2502
7dbfa719
SM
2503 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
2504 if imenu is simply not configured (bug#8941).
2505
919d884a
KM
25062011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
2507
2508 * allout.el (allout-post-undo-hook): New allout outline-change
2509 event hook to signal undo activity.
2510 (allout-post-command-business): Run allout-post-undo-hook if an
2511 undo just occurred.
7dbfa719
SM
2512 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
2513 * allout-widgets.el (allout-widgets-after-undo-function):
2514 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
2515 in the vicinity of an undo.
2516 (allout-widgets-mode): Include allout-widgets-after-undo-function
2517 on the new allout-post-undo-hook.
2518
450a0f09
SM
25192011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
2522 Let define-derived-mode define it.
2523 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
2524 cycles of abbrev-table inheritance (bug#8998).
2525
2de69e00
RW
25262011-07-05 Roland Winkler <winkler@gnu.org>
2527
2528 * textmodes/bibtex.el: Add support for biblatex.
2529 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
2530 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
2531 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
2532 (bibtex-entry-alist, bibtex-field-alist): New variables.
2533 (bibtex-entry-field-alist): Obsolete alias for
2534 bibtex-BibTeX-entry-alist.
2535 (bibtex-entry-alist, bibtex-field-alist): New widgets.
2536 (bibtex-set-dialect): New command.
2537 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
2538 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
2539 Bind via bibtex-set-dialect.
2de69e00
RW
2540 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
2541 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
2542 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
2543 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
2544 Define via bibtex-set-dialect.
450a0f09
SM
2545 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
2546 Obey bibtex-no-opt-remove-re.
2de69e00
RW
2547 (bibtex-vec-push, bibtex-vec-incr): New functions.
2548 (bibtex-format-entry, bibtex-field-list)
2549 (bibtex-print-help-message, bibtex-validate)
2550 (bibtex-search-entries): Use new format of bibtex-entry-alist.
2551
2dcdbdd9
SM
25522011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
2553
2554 * progmodes/compile.el (compilation-goto-locus):
2555 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2556 * bs.el (bs-cycle-next, bs-cycle-previous):
2557 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
2558 * bindings.el (mode-line-other-buffer):
2559 * autoinsert.el (auto-insert):
2560 * arc-mode.el (archive-extract):
2561 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
2562
b27640fe
JB
25632011-07-05 Juanma Barranquero <lekktu@gmail.com>
2564
2565 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
2566 Fix check of `emacs-lock-unlockable-modes'.
2567 Coerce true values of `emacs-lock--try-unlocking' to t.
2568
53bbe3ad
JB
25692011-07-05 Juanma Barranquero <lekktu@gmail.com>
2570
2571 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
2572 * emacs-lock.el: New file.
2573
1d3cdbc7
JD
25742011-07-05 Julien Danjou <julien@danjou.info>
2575
2576 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
2577 than `boundp' to check if face is set.
2578
9173deec
JB
25792011-07-05 Juanma Barranquero <lekktu@gmail.com>
2580
2581 * register.el (registerv-make):
2582 * window.el (window-min-height): Fix typos in docstrings.
2583
869795d6
JD
25842011-07-05 Jan Djärv <jan.h.d@swipnet.se>
2585
9173deec 2586 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
2587 Update doc string.
2588
b768cdcd
JB
25892011-07-04 Juanma Barranquero <lekktu@gmail.com>
2590
2591 * server.el (server-execute): Catch quit and call
2592 `server-return-error' to pass the error back to emacsclient and
2593 close the connection (bug#8942).
2594
13aa217b
KM
25952011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
2596
2597 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
2598 insecure exception for current topic. Also note that auto-saves
2599 are handled differently.
2600
2601 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
2602 State variables for tracking auto-save inhibition situation.
2603
2604 (allout-write-contents-hook-handler): Rename from
2605 'allout-write-file-hook-handler', and describe how it depends on
2606 write-contents-functions sensitivity to non-nil value to prevent
2607 file write.
2608
2609 (allout-auto-save-hook-handler): Remove. auto-save does not check
2610 this in individual buffers, only in the starting buffer, so this
2611 is not the right way for us to inhibit auto-save in a buffer
2612 according to its condition.
2613
2614 (allout-mode): Use new allout-write-contents-hook-handler, and
2615 only with write-contents-functions. Remove auto-save provisions -
2616 they're implemented elsewhere.
2617
2618 (allout-before-change-handler): If undo is in progress, note that
2619 for attention of allout-post-command-business.
2620
2621 (allout-post-command-business): If the command we're following was
2622 an undo, check for change in the status of encrypted items and
2623 adjust auto-save inhibitions accordingly.
2624
2625 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
2626 according to whether there are or aren't any plain-text topics
2627 pending encryption.
2628
2dcdbdd9
SM
2629 (allout-inhibit-auto-save-info-for-decryption):
2630 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
2631 there are plain-text topics pending encryption.
2632
2633 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
2634 buffer-saved-size and some allout state to not inhibit auto-saves
2635 if there are no longer any plain-text topics pending encryption.
2636
0757af94
SM
2637 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
2638 No longer provide for exemption of the current topic.
13aa217b 2639
ac89b32c
JL
26402011-07-04 Juri Linkov <juri@jurta.org>
2641
2642 Add 7z operations to delete and save changed members (bug#8968).
2643 * arc-mode.el (archive-7z-expunge, archive-7z-update):
2644 New defcustoms.
2645 (archive-7z-write-file-member): New function.
2646 (archive-7z-summarize): Fix the number of dashes in the
2647 listing output.
2648
8fa39615
SM
26492011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2650
2651 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
2652 (bug#8958).
2653
2f11b3f1
CY
26542011-07-04 Chong Yidong <cyd@stupidchicken.com>
2655
d66fef2b
CY
2656 * bindings.el: Ignore next-buffer and previous-buffer in
2657 minibuffer-local-map.
2658
2f11b3f1
CY
2659 * font-lock.el (font-lock-builtin-face): Change light background
2660 color to dark slate blue (Bug#6693).
2661
f932a347
WD
26622011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
2663
2664 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
2665
c8af70e1
SM
26662011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2667
2668 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
2669 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2670 Add switch-to-buffer.
2671
f158badc
LMI
26722011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2673
2674 * isearch.el (isearch-search-fun-function): Clarify further the
2675 meaning of the function returned.
2676
6d95bd46
MA
26772011-07-04 Michael Albinus <michael.albinus@gmx.de>
2678
2679 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
2680
2681 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
2682 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
2683 Use it.
2684 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
2685 `tramp-default-remote-path' does not exist.
2686 (tramp-send-command-and-read): New optional argument NOERROR.
2687 (tramp-open-connection-setup-interactive-shell)
2688 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
2689 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
2690 (tramp-process-sentinel): Flush also process' connection property.
2691 (tramp-sh-handle-start-file-process): Do not set process
2692 sentinel. It is done now ...
2693 (tramp-maybe-open-connection): ... here. (Bug#8929)
2694
909e6b67
MK
26952011-07-04 MON KEY <monkey@sandpframing.com>
2696
2697 * play/animate.el (animate-string): Doc fixes and allow changing
2698 the buffer name (bug#5417).
2699
27002011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2701
c8af70e1 2702 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 2703
f34755dc
PE
27042011-07-04 Paul Eggert <eggert@cs.ucla.edu>
2705
396cec72
PE
2706 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
2707 This is simpler and helps future-proof the code.
2708 (timer-until): Use time-subtract and float-time.
08235028 2709 (timer--time-less-p): Use time-less-p.
f34755dc 2710
56e6cc31
JB
27112011-07-04 Juanma Barranquero <lekktu@gmail.com>
2712
3abb79e5
JB
2713 * type-break.el (timep): Use the value of `float-time' to avoid a
2714 byte-compiler warning.
2715
56e6cc31
JB
2716 * server.el (server-eval-and-print): Return any result, even nil.
2717
7b9430b4
PE
27182011-07-03 Paul Eggert <eggert@cs.ucla.edu>
2719
2720 * type-break.el: Accept time formats that the builtins accept.
2721 (timep, type-break-time-difference): Accept any format that
2722 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
2723 This is simpler and helps future-proof the code.
2724 (type-break-time-difference): Round rather than ignoring
2725 subseconds components.
2726
3034e9e7
LMI
27272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2728
2729 * info.el (Info-apropos-matches): Make non-interactive, since it
2730 doesn't seem to do anything useful as a command (bug#8829).
2731
1485f4c0
CY
27322011-07-03 Chong Yidong <cyd@stupidchicken.com>
2733
2734 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 2735 Move from faces.el.
1485f4c0
CY
2736 (frame-default-terminal-background): New function.
2737
2738 * custom.el (custom-push-theme): Don't record faces in `changed'
2739 theme; this doesn't work correctly for per-frame face settings.
2740 (disable-theme): Use face-set-after-frame-default to reset faces.
2741 (custom--frame-color-default): New function.
2742
9fa3dd45
LMI
27432011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2744
c8af70e1 2745 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
2746 (bug#8769).
2747
6cbbc20c
KR
27482011-03-29 Kevin Ryde <user42@zip.com.au>
2749
2750 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2751 `perl-Test2' extend to match possible "fail #N" rep count
2752 (bug#8377).
2753
c7f98048
LMI
27542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2755
65676592
LMI
2756 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
2757 `smtpmail-via-smtp' now returns the error instead of nil.
2758
c7f98048
LMI
2759 * isearch.el (isearch-search-fun-function): Clarify the doc string
2760 (bug#8101).
2761
56e6cc31 27622011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
2763
2764 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
2765 unnecessary spaces (bug#8987).
2766
2b216704
LMI
27672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2768
2769 * net/network-stream.el (open-network-stream): Use the
2770 :end-of-capability command thoughout.
2771
27722011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2773
2774 * net/network-stream.el (open-network-stream): Add the
2775 :end-of-capability command parameter, used by pop3.el.
2776
36adf6ce
LMI
27772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2778
1ca0da0e
LMI
2779 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
2780
fc00f69c
LMI
2781 * fringe.el (fringe-query-style): Remove redundant text " (type ?
2782 for list)" (bug#6475).
2783
28fd8759
LMI
2784 * files.el (file-expand-wildcards): Ignore non-readable
2785 sub-directories while trying to find matches instead of signalling
2786 an error (bug#6297).
2787
0dd8b6da
LMI
2788 * man.el (Man-reference-regexp): Allow matching possible
2789 word-wrapped references (bug#6289).
2790
ce1438d6
LMI
2791 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
2792 for consistency with the other vc buffers (bug#6197).
2793 (vc-checkin): Ditto.
2794
2795 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
2796
36adf6ce
LMI
2797 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
2798
e83cc1f7
LMI
27992011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2800
8a20ca4c
LMI
2801 * custom.el (defcustom): Clarify that :set is only used in the
2802 Customize user interface (bug#6089).
2803
83319045
LMI
2804 * progmodes/flymake.el (flymake-mode): If the buffer isn't
2805 associated with a file, refuse to run instead of erroring out
2806 (bug#6084).
2807
a8392169
LMI
2808 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
2809 the doc string, since it appears that using `fill-column' always
2810 controls the width (bug#7845).
2811
e83cc1f7
LMI
2812 * simple.el (shell-command-on-region): Say where the error output
2813 went if `shell-command-default-error-buffer' is set (bug#6857).
2814
e47ca23b
KM
28152011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
2816
2817 * allout.el (allout-yank-processing): Adjust cursor position for
2818 backwards-deleted space.
2819
2820 (allout-rebullet-heading): Register changes with
2821 allout-exposure-changed-hook, so the modified topic is properly
2822 decorated.
2823
5cf56143
LMI
28242011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2825
08549772
LMI
2826 * minibuffer.el (completion-in-region): Document PREDICATE
2827 (bug#7136).
2828
48e96771
LMI
2829 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
2830 of keyword/argument pairs (bug#6904).
2831
c8af70e1
SM
2832 * replace.el (multi-occur):
2833 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 2834
e17d05e2
LMI
28352011-07-02 Drew Adams <drew.adams@oracle.com>
2836
2837 * dired.el (dired-mark-if): Make the message about whether it's
2838 marking or unmarking clearer (bug#8523).
2839
063b0e45
LMI
28402011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2841
2842 * disp-table.el (display-table-print-array): New function.
2843 (describe-display-table): Use it to print the vectors more pretty
2844 (Bug#8859).
2845
28545e04
MR
28462011-07-02 Martin Rudalics <rudalics@gmx.at>
2847
2848 * window.el (window-state-get-1): Don't assign clone numbers.
2849 Add clone-of item to list of window parameters.
2850 (window-state-put-2): Don't process clone numbers.
2851 (display-buffer-alist): Fix doc-string.
2852
3349e122
SM
28532011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2854
2855 * subr.el (remq): Don't allocate if it's not needed.
2856 (keymap--menu-item-binding, keymap--menu-item-with-binding)
2857 (keymap--merge-bindings): New functions.
2858 (keymap-canonicalize): Use them to refine the canonicalization.
2859 * minibuffer.el (minibuffer-local-completion-map)
2860 (minibuffer-local-must-match-map): Move initialization from C.
2861 (minibuffer-local-filename-completion-map): Move initialization from C;
2862 don't inherit from anything here.
2863 (minibuffer-local-filename-must-match-map): Make obsolete.
2864 (completing-read-default): Use make-composed-keymap to combine
2865 minibuffer-local-filename-completion-map with either
2866 minibuffer-local-must-match-map or
2867 minibuffer-local-filename-completion-map.
2868
d224ac83
GM
28692011-07-01 Glenn Morris <rgm@gnu.org>
2870
3de63bf8
GM
2871 * type-break.el (type-break-time-sum): Use dolist.
2872
d224ac83
GM
2873 * textmodes/flyspell.el (flyspell-word-search-backward):
2874 Replace CL function.
2875
1a1e3f32
SM
28762011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2877
fe3f64d5
SM
2878 * mouse.el (mouse--strip-first-event): New function.
2879 (function-key-map): Use it to map fringe clicks to normal clicks
2880 by default.
2881
eb604e34
SM
2882 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
2883 (vc-bzr-revision-completion-table): Add support for annotate and date.
2884
1a1e3f32
SM
2885 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
2886 inherit from parent.
2887
5bd35902
LMI
28882011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2889
ace6c69c 2890 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 2891 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 2892
191e2bed
LMI
2893 * dired.el (dired-mode): Fix up the doc string as suggested by
2894 Drew Adams (bug#8817).
2895
5bd35902
LMI
2896 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
2897 cookie, since the manual says that it should be possible to add
2898 this function to `find-file-hook' (bug#8709).
2899
eee8207a
TZ
29002011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
2901
2902 * progmodes/cfengine.el: Moved all cfengine3.el functionality
2903 here. Noted Ted Zlatanov as the maintainer.
2904 (cfengine-common-settings, cfengine-common-syntax): New functions
2905 to set up common things between `cfengine-mode' and
2906 `cfengine3-mode'.
2907 (cfengine3-mode): New mode.
2908 (cfengine3-defuns cfengine3-defuns-regex
2909 (cfengine3-class-selector-regex cfengine3-category-regex)
2910 (cfengine3-vartypes cfengine3-font-lock-keywords)
2911 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 2912 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 2913
36b148cf
MA
29142011-07-01 Michael Albinus <michael.albinus@gmx.de>
2915
2916 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
2917
2918 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2919
0bf4ba9a
MR
29202011-07-01 Martin Rudalics <rudalics@gmx.at>
2921
2922 * window.el (same-window-buffer-names, same-window-regexps)
2923 (same-window-p, special-display-frame-alist)
2924 (special-display-popup-frame, special-display-function)
2925 (special-display-buffer-names, special-display-regexps)
2926 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
2927 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2928 (split-window-preferred-function, split-height-threshold)
2929 (split-width-threshold, even-window-heights)
2930 (display-buffer-mark-dedicated, window-splittable-p)
2931 (split-window-sensibly, window-safely-shrinkable-p):
2932 Un-obsolete.
2933 (display-buffer): Don't spread args with function specifier
2934 because special-display-popup-frame won't like it.
2935
35837f51
PE
29362011-07-01 Paul Eggert <eggert@cs.ucla.edu>
2937
d0672f86
PE
2938 Time-stamp simplifications and fixes.
2939 These improve accuracy slightly, and future-proof the code
2940 against some potential changes to current-time format.
2941
b9444d97
PE
2942 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
2943 by using time-since and float-time.
2944
0ef923dc
PE
2945 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
2946 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
2947 + NNN microseconds".
2948
2f81380d
PE
2949 * type-break.el (type-break-time-sum): Rewrite using time-add.
2950
845b5c3e
PE
2951 * play/hanoi.el (hanoi-current-time-float): Remove.
2952 All uses replaced by float-time.
2953
ee6f1be0
PE
2954 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
2955 This yields a more-accurate answer.
2956 (rng-time-to-float): Remove; no longer needed.
2957
fe955043
PE
2958 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
2959
5777162a
PE
2960 * calendar/timeclock.el (timeclock-seconds-to-time):
2961 Defalias to seconds-to-time, since they're the same thing.
2962
3103f8b6 2963 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 2964 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
2965 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
2966
0e61a35f
SM
29672011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2968
2969 * window.el (bury-buffer): Don't iconify the only frame.
2970 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
2971 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
2972
ddd63a1e
CY
29732011-07-01 Chong Yidong <cyd@stupidchicken.com>
2974
0e61a35f
SM
2975 * eshell/em-smart.el (eshell-smart-display-navigate-list):
2976 Add mouse-yank-primary.
ddd63a1e 2977
055f4923
TZ
29782011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
2979
2980 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
2981
6a2fb145
SM
29822011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2983
2984 * emacs-lisp/find-func.el (find-library--load-name): New fun.
2985 (find-library-name): Use it to find relative load names when provided
2986 absolute file name (bug#8803).
2987
fd4983f2
LMI
29882011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2989
887d14ad
LMI
2990 * textmodes/flyspell.el (flyspell-word): Consider words that
2991 differ only in case as potential doublons (bug#5687).
2992
c53dc7fc
LMI
2993 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
2994 Remove two rather uninteresting debugging-like messages to make
2995 debbugs.el more silent.
2996
fd4983f2
LMI
2997 * comint.el (comint-password-prompt-regexp): Accept "Response" as
2998 a password-like phrase.
2999
b14c0c55
AM
30002011-06-30 Mastake YAMATO <yamato@redhat.com>
3001
3002 * progmodes/cc-guess.el: New file.
3003
6a2fb145 3004 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
3005
3006 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3007 derived from `c-basic-common-init'.
3008
3009 * progmodes/cc-mode.el (top-level): Require cc-guess.
3010 (c-basic-common-init): Use `cc-choose-style-for-mode'.
3011
1fa280a3
LM
30122011-06-30 Lawrence Mitchell <wence@gmx.li>
3013
3014 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3015
e6597158
AM
30162011-06-30 Alan Mackenzie <acm@muc.de>
3017
1fa280a3
LM
3018 * progmodes/cc-engine.el (c-guess-continued-construct):
3019 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
3020 lock is disabled. Name this case as "CASE G".
3021
68ba37fb
KM
30222011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
3023
3024 * allout.el (allout-yank-processing): Fix injection of extra space
3025 between bullet and non-whitespace character in first topic when
3026 pasting, ensuring that the actual spacing in the pasted topic
3027 following the bullet char is preserved. This extra space was
3028 causing pasted encrypted topics to get a decrypted status even
3029 when the content was actually still encrypted. Now the decryption
3030 status from before the paste is preserved.
3031
3032 (allout-flag-region): Set all allout overlays so they evaporate
3033 when reduced to zero length (evanescent), to prevent overlay
3034 leakage.
3035
887a0b34
GM
30362011-06-30 Glenn Morris <rgm@gnu.org>
3037
94b9acce
GM
3038 * w32-fns.el (w32-charset-info-alist): Declare.
3039
1d9b46d4
GM
3040 * find-dired.el (find-grep-options): Simplify.
3041
cc232200
GM
3042 * term/ns-win.el (ns-set-resource): Declare.
3043
28e77c46
GM
3044 * ses.el (row, col): Declare dynamic variables honestly.
3045
887a0b34
GM
3046 * textmodes/reftex-parse.el (index-tags): Declare.
3047
658d8eb8
CY
30482011-06-30 Chong Yidong <cyd@stupidchicken.com>
3049
3050 * cus-edit.el (customize-push-and-save): New function.
3051
3052 * files.el (hack-local-variables-confirm): Use it.
3053
1fa280a3
LM
3054 * custom.el (load-theme): New arg NO-CONFIRM.
3055 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
3056 (custom-enabled-themes): Doc fix.
3057
3058 * cus-theme.el (customize-create-theme)
3059 (custom-theme-merge-theme): Callers to load-theme changed.
3060
bb617717
LMI
30612011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3062
d61bdd5d
LMI
3063 * thingatpt.el (thing-at-point-short-url-regexp): Require that
3064 short URLs have at least one dot in them (bug #7614).
3065
bb617717
LMI
3066 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3067 nil, because using a pty is apparently too slow (bug #895).
3068
2f31f37a
LMI
30692011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3070
3071 * mail/sendmail.el (sendmail-query-once): New function.
3072 (sendmail-query-once-function): New variable.
3073
3076b24e
GM
30742011-06-29 Glenn Morris <rgm@gnu.org>
3075
faf2a174
GM
3076 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3077
3076b24e
GM
3078 * ses.el (top-level): Require cl when compiling.
3079 (ses-set-localvars): Fix error statement.
3080 Call it at compile time to silence a storm of warnings.
3081
5386012d
MR
30822011-06-29 Martin Rudalics <rudalics@gmx.at>
3083
3084 * window.el (normalize-live-buffer): Rename to
3085 window-normalize-buffer.
3086 (normalize-live-frame): Rename to window-normalize-frame.
3087 (normalize-any-window): Rename to window-normalize-any-window.
3088 (normalize-live-window): Rename to window-normalize-live-window.
3089 (make-window-atom): Rename to window-make-atom.
3090 (window-resize-reset): Rename to window--resize-reset.
3091 (window-resize-reset-1): Rename to window--resize-reset-1.
3092 (resize-mini-window): Rename to window--resize-mini-window.
3093 (resize-subwindows-skip-p): Rename to
3094 window--resize-subwindows-skip-p.
3095 (resize-subwindows-normal): Rename to
3096 window--resize-subwindows-normal.
3097 (resize-subwindows): Rename to window--resize-subwindows.
3098 (resize-other-windows): Rename to window--resize-siblings.
3099 (resize-this-window): Rename to window--resize-this-window.
3100 (resize-root-window): Rename to window--resize-root-window.
3101 (resize-root-window-vertically): Rename to
3102 window--resize-root-window-vertically.
3103 (normalize-buffer-to-display): Rename to
3104 window-normalize-buffer-to-display.
3105 (normalize-buffer-to-switch-to): Rename to
3106 window-normalize-buffer-to-switch-to.
3107 Correspondingly update all callers of the functions listed
3108 above.
3109 (display-buffer-alist, display-buffer-normalize-arguments)
3110 (display-buffer-normalize-options, display-buffer)
3111 (display-buffer-alist-set): Use "function" instead of
3112 "fun-with-args".
3113
1176868d
CY
31142011-06-28 Chong Yidong <cyd@stupidchicken.com>
3115
3116 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
3117 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
3118 debbugs.gnu.org. Mention acknowledgment email.
3119
20a7a65f
LMI
31202011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
3121
3122 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
3123 buffer multibyteness, since it shouldn't matter.
3124
5f45cca5
MR
31252011-06-28 Martin Rudalics <rudalics@gmx.at>
3126
3127 * window.el (display-buffer-in-side-window): Handle dedicated
3128 windows as in display-buffer-reuse-window.
3129 (display-buffer-normalize-alist): Use value of override
3130 specifier.
3131 (display-buffer-normalize-specifiers): Use value of
3132 other-window-means-other-frame specifier.
3133 (display-buffer-alist): Rewrite some texts in widgets.
3134 (display-buffer): Spread arguments when calling function
3135 specified by fun-with-args.
3136
ad85fe1f
DD
31372011-06-28 Deniz Dogan <deniz@dogan.se>
3138
1fa280a3
LM
3139 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3140 Unnest `let'.
da68c4c8 3141
ad85fe1f
DD
3142 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
3143 selectors (Bug#5732).
ec49bd31 3144 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 3145
a08cc025
JA
31462011-06-27 Jari Aalto <jari.aalto@cante.net>
3147
3148 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
3149 (eshell-ls-date-format): New defcustom.
3150 (eshell-ls-file): Use it.
3151
e2b551c5
SM
31522011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3153
3154 * help-fns.el (describe-variable): Fix message for terminal-local vars.
3155
8982b231
KY
31562011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
3157
3158 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
3159 (ange-ftp-make-tmp-name): New arg.
3160 (ange-ftp-file-local-copy): Use it.
3161
36c9fa27
J
31622011-06-27 Jambunathan K <kjambunathan@gmail.com>
3163
3164 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
3165 no-conversion (Bug#8870).
3166
d68443dc
MR
31672011-06-27 Martin Rudalics <rudalics@gmx.at>
3168
3169 * window.el (window-right, window-left, window-child)
3170 (window-child-count, window-last-child)
3171 (window-iso-combination-p, walk-window-tree-1)
3172 (window-atom-check-1, window-tree-1, delete-window)
3173 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
3174 new naming conventions - window-vchild, window-hchild,
3175 window-next and window-prev are now called window-top-child,
3176 window-left-child, window-next-sibling and window-prev-sibling
3177 respectively.
d615d6d2
MR
3178 (resize-window-reset): Rename to window-resize-reset.
3179 (resize-window-reset-1): Rename to window-resize-reset-1.
3180 (resize-window): Rename to window-resize.
3181 (window-min-height, window-min-width)
3182 (resize-mini-window, resize-this-window, resize-root-window)
3183 (resize-root-window-vertically, adjust-window-trailing-edge)
3184 (enlarge-window, shrink-window, maximize-window)
3185 (minimize-window, delete-window, quit-restore-window)
3186 (split-window, balance-windows, balance-windows-area-adjust)
3187 (balance-windows-area, window-state-put-2)
3188 (display-buffer-even-window-sizes, display-buffer-set-height)
3189 (display-buffer-set-width, set-window-text-height)
3190 (fit-window-to-buffer): Rename all "resize-window" prefixed
3191 calls to use the "window-resize" prefix convention.
3192 (display-buffer-alist): Fix symbol for label specifier.
3193 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
3194 corresponding specifier.
3195 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 3196
b6458526
VB
31972011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3198
3199 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
3200 convention.
3201 (ses-call-printer): Does not pass an empty string to formatter when the
3202 cell is empty to keep from barking printer Calc math-format-value.
3203
d31fd9ac
RS
32042011-06-27 Richard Stallman <rms@gnu.org>
3205
43d5bf84
RS
3206 * battery.el (battery-mode-line-limit): New variable.
3207 (battery-update): Handle it.
3208
d31fd9ac
RS
3209 * mail/rmailmm.el (rmail-mime-process-multipart):
3210 Handle truncated messages.
3211
819a6054
GM
32122011-06-27 Glenn Morris <rgm@gnu.org>
3213
3214 * progmodes/flymake.el (flymake-err-line-patterns):
3215 Allow for column numbers in the ant/javac pattern. (Bug#8866)
3216
cedc73f2
VB
32172011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3218
819a6054 3219 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
3220 (ses--clean-!, ses--clean-_): New functions.
3221 (ses-range): Add configurability of readout order, and conversion
3222 to Calc vector.
3223
5e5d49b6
VB
3224 * ses.el (ses-repair-cell-reference-all): New function.
3225 (ses-cell-symbol): Set macro as safe, so that it can be used in
3226 formulas.
3227
56e6cc31 3228 * ses.el: Update cycle detection algorithm.
90ca8b49 3229 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 3230 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
3231 (ses-set-localvars): New function.
3232 (ses-make-cell): Add property-list as a cell element.
3233 (ses-cell-property-get-fun, ses-cell-property-get)
3234 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
3235 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
3236 New functions.
90ca8b49
VB
3237 (ses-cell-property-set, ses-cell-property-pop)
3238 (ses-cell-property-get-handle): New macro.
3239 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
3240 New aliases, used for code readability.
3241 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
3242 cycle detection.
3243 (ses-self-reference-early-detection): New defcustom.
3244 (ses-formula-references): Robustify against self-refering cells.
3245 (ses-mode): Use ses-set-localvars.
3246 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
3247 before lauching the update processing.
3248 (ses-initialize-Dijkstra-attempt): New function.
3249 (ses-recalculate-cell): Update for cycle detection based on
3250 Dijkstra algorithm.
3251
2bb63e81
VB
3252 * ses.el: Fix commenting and indenting convention.
3253
c9d29fb8
SM
32542011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * bs.el (bs-cycle-next): Complete last change.
3257
d8e4b68b
JB
32582011-06-27 Drew Adams <drew.adams@oracle.com>
3259
3260 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
3261
40098786
LMI
32622011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3263
c9d29fb8
SM
3264 * net/network-stream.el (network-stream-open-starttls):
3265 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
3266 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
3267
40098786
LMI
3268 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
3269 to binary to possibly avoid line encoding issues on Windows (among
3270 other things).
3271
468d09d4
LMI
32722011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3273
3274 * net/network-stream.el (open-network-stream): Return an :error
3275 saying what the problem was, if possible.
3276
3277 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
3278 server.
3279
3280 * net/network-stream.el (network-stream-open-starttls): If we
3281 wanted to use STARTTLS, and the server offered it, but we weren't
3282 able to because we had no STARTTLS support, then close the connection.
3283 (open-network-stream): Return an :error element, if present.
3284
16f07dd7
CY
32852011-06-26 Chong Yidong <cyd@stupidchicken.com>
3286
88821ca0
CY
3287 * hl-line.el (hl-line-sticky-flag): Doc fix.
3288 (global-hl-line-sticky-flag): New option (Bug#8323).
3289 (global-hl-line-highlight): Obey it.
3290
16f07dd7
CY
3291 * vc/vc.el (vc-revert-show-diff): Default to t.
3292
6b5ccddf
KM
32932011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
3294
c9d29fb8
SM
3295 * allout-widgets.el (allout-widgets-post-command-business):
3296 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
3297 undecorated when an isearch is continued past, and isearch
3298 automatically collapses them. This leads to "widget leaks", where
3299 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
3300 hidden widgets can slow down cursor travel, substantially.
3301 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
3302 so we're doing without this nicety.
3303
3304 (allout-widgets-tally-string): Don't try to do a hash-table-count
3305 of allout-widgets-tally when it's nil. This eliminates spurious "Error
3306 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
3307 *Messages* when allout-widgets-maintain-tally is t.
3308
355f2e07
MR
33092011-06-26 Martin Rudalics <rudalics@gmx.at>
3310
3311 * window.el (display-buffer-normalize-argument): Rename to
3312 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
3313 LABEL argument. Respect special-display-function when popping up
3314 a new frame. Fix code searching for a window showing the buffer
3315 on another frame.
c9d29fb8
SM
3316 (display-buffer-normalize-specifiers):
3317 Call display-buffer-normalize-arguments.
355f2e07
MR
3318 (display-buffer-in-window): Don't undedicate the window if its
3319 buffer remains the same.
3320 Reported by Drew Adams <drew.adams@oracle.com>.
3321 (display-buffer-alist): Add choice for same-window macro
3322 specfier.
3323 (display-buffer): Mention special meaning of LABEL argument in
3324 doc-string. Fix quoting. Don't pop up a new frame even as
3325 fallback.
3326
7ca8fc42
JB
33272011-06-26 Juanma Barranquero <lekktu@gmail.com>
3328
3329 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
3330 avoid deleting the current window in some cases (bug#8911).
3331
bc312254
AS
33322011-06-26 Andreas Schwab <schwab@linux-m68k.org>
3333
3334 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
3335 (Bug#8934)
3336
2db18f3f
LMI
33372011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3338
c9d29fb8
SM
3339 * net/network-stream.el (network-stream-open-starttls):
3340 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
3341 (network-stream-open-tls): Ditto.
3342
6302e0d3
LL
33432011-06-26 Leo Liu <sdl.web@gmail.com>
3344
3345 * register.el (registerv): New struct.
3346 (registerv-make): New function.
c9d29fb8
SM
3347 (jump-to-register, describe-register-1, insert-register):
3348 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
3349 struct. (Bug#8415)
3350
5fdd4046
CY
33512011-06-26 Chong Yidong <cyd@stupidchicken.com>
3352
2afef60a
CY
3353 * vc/vc.el (vc-revert-show-diff): New defcustom.
3354 (vc-diff-internal): New arg specifying diff buffer.
3355 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
3356 reuse an existing *vc-diff* buffer (Bug#8927).
3357
5fdd4046
CY
3358 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
3359
e93db24a
GM
33602011-06-26 Glenn Morris <rgm@gnu.org>
3361
3362 * progmodes/f90.el (f90-critical-indent): New option.
3363 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
3364 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
3365 (f90-mode): Doc fix.
3366 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
3367 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
3368 (f90-beginning-of-block, f90-next-block, f90-indent-region)
3369 (f90-match-end): Handle block, critical.
3370
eefff499
GM
33712011-06-25 Glenn Morris <rgm@gnu.org>
3372
f6ba4cc9
GM
3373 * calendar/diary-lib.el (diary-included-files): Doc fix.
3374 (diary-include-files): New function, extracted from
3375 diary-include-other-diary-files and diary-mark-included-diary-files.
3376 (diary-include-other-diary-files, diary-mark-included-diary-files):
3377 Just call diary-include-files.
3378 (diary-mark-entries): Reset diary-included-files on first call.
3379
16712304
GM
3380 * calendar/diary-lib.el (diary-mark-entries)
3381 (diary-mark-included-diary-files):
3382 Visit included diary-files in temp buffers.
3383
5d8e0d43
GM
3384 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
3385 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
3386 (f90-start-block-re, f90-imenu-generic-expression)
3387 (f90-looking-at-program-block-start, f90-no-block-limit):
3388 Add support for submodules.
3389
ccf7a5d5
GM
3390 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
3391 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 3392
11fdef7d 33932011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
3394
3395 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
3396 buffer-file-type before setting its value, to avoid disastrous
eefff499 3397 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 3398
74f53697
JB
33992011-06-25 Juanma Barranquero <lekktu@gmail.com>
3400
3401 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
3402
3403 * ses.el (ses-unload-function):
3404 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
3405
3406 * proced.el (proced-unload-function):
3407 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
3408
18a4ce5e
AR
34092011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
3410
3411 * server.el (server-create-window-system-frame): Add parameters arg.
3412 (server-process-filter): Doc fix. Handle frame-parameters.
3413
519d22cc
JB
34142011-06-25 Juanma Barranquero <lekktu@gmail.com>
3415
3416 Fix bug#8730, bug#8781.
3417
3418 * loadhist.el (unload--set-major-mode): New function.
3419 (unload-feature): Use it.
3420
3421 * progmodes/python.el (python-after-info-look): Add autoload cookie.
3422 (python-unload-function): New function.
3423
c206f5b0
SM
34242011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
3427
f9ad64f3
GS
34282011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
3429
3430 * net/browse-url.el (browse-url-firefox-program): Add icecat to
3431 the candidates list.
3432
7d0da90e
JB
34332011-06-24 Juanma Barranquero <lekktu@gmail.com>
3434
3435 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
3436
14b4e83d
RS
34372011-06-23 Richard Stallman <rms@gnu.org>
3438
3439 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
3440 (rmail-variables): Set next-error-move-function.
3441 (rmail-what-message): Take argument POS.
3442 (rmail-next-error-move): New function.
3443
273d2baf
SM
34442011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3445
3446 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
3447 messages for adjacent non-terminals.
3448
56c2cc9a
RS
34492011-06-23 Richard Stallman <rms@gnu.org>
3450
3451 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 3452 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
3453 (rmail-start-mail): Don't specify use of rmail-mail-return;
3454 that's done by mail-bury now.
3455 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 3456
d59eb518
MA
34572011-06-23 Michael Albinus <michael.albinus@gmx.de>
3458
3459 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
3460 SIZE is a number.
3461
02cfc6d6
MR
34622011-06-23 Martin Rudalics <rudalics@gmx.at>
3463
3464 * window.el (get-lru-window, get-mru-window)
3465 (get-largest-window): Never return a minibuffer window.
3466 (display-buffer-pop-up-window): Fix a bug that could lead to
3467 reusing the minibuffer window.
3468 (display-buffer): Pass original specifier argument to
3469 display-buffer-function instead of the normalized one.
3470 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3471
4e323265
LL
34722011-06-22 Leo Liu <sdl.web@gmail.com>
3473
3474 * minibuffer.el (completing-read-function)
3475 (completing-read-default): Move from minibuf.c
3476
7a70468f
RS
34772011-06-22 Richard Stallman <rms@gnu.org>
3478
50718fc2
RS
3479 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
3480 to Rmail even if not started by a special Rmail command.
3481
7a70468f
RS
3482 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3483 Copy the buffer currently showing just one message.
3484
297dde5a
RW
34852011-06-22 Roland Winkler <winkler@gnu.org>
3486
3487 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
3488 (bibtex-clean-entry): First delete the old key so that a
3489 customized algorithm for generating the new key does not get
3490 confused by the old key.
3491 (bibtex-url): Obey regexp of first step.
3492 (bibtex-search-entries): Do not use add-to-list with local
3493 list-var.
3494
97bb1093
LMI
34952011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3496
3497 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
3498 stored a user name, then query for the password first, instead of
3499 waiting for SMTP to give an error message and the trying again.
3500
1c0f1a19
JD
35012011-06-22 Lawrence Mitchell <wence@gmx.li>
3502
3503 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
3504 BUFFER in call-process.
3505
396f7c9d
LMI
35062011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3507
3508 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
3509 QUIT twice.
ddb7ffee
LMI
3510 (smtpmail-try-auth-methods): Require user name and password from
3511 auth-source.
396f7c9d 3512
8998d1b3
MR
35132011-06-22 Martin Rudalics <rudalics@gmx.at>
3514
3515 * window.el (display-buffer-default-specifiers)
3516 (display-buffer-alist): Remove entries for pop-up-frame-alist.
3517 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 3518 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
3519
3520 * frame.el (pop-up-frame-alist, pop-up-frame-function)
3521 (special-display-frame-alist, special-display-popup-frame):
3522 Remove duplicate declarations. These are now in window.el.
3523
4ea31e07
LMI
35242011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3525
c9d29fb8
SM
3526 * mail/smtpmail.el (smtpmail-via-smtp):
3527 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
3528 server supports it. SMTP servers that support STARTTLS commonly
3529 require it.
3530
3531 * net/network-stream.el (network-stream-open-starttls): Support
3532 upgrading to STARTTLS always, even if we don't have built-in support.
3533 (open-network-stream): Add the :always-query-capabilies keyword.
3534
95f41d9a
LMI
3535 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
3536 upgrades with `open-network-stream', and rely solely on
3537 auth-source for all credentials. Big changes throughout the file,
3538 but in particular:
c9d29fb8
SM
3539 (smtpmail-auth-credentials): Remove.
3540 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
3541 (smtpmail-via-smtp): Check for servers saying they want AUTH after
3542 MAIL FROM, too.
95f41d9a 3543
c9d29fb8
SM
3544 * net/network-stream.el (network-stream-open-starttls):
3545 Provide support for client certificates both for external and built-in
4ea31e07
LMI
3546 STARTTLS.
3547 (auth-source): Require.
3548 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
3549 (network-stream-certificate): Change cert-cert to cert and
3550 cert-key to key.
4ea31e07 3551
065ec2c7
MA
35522011-06-21 Michael Albinus <michael.albinus@gmx.de>
3553
3554 * net/tramp-cache.el (top): Don't load the persistency file when
3555 "emacs -Q" has been called.
3556
cd93b359
DR
35572011-06-21 Tim Harper <timcharper@gmail.com>
3558
d8e4b68b
JB
3559 * term/ns-win.el (ns-initialize-window-system):
3560 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
3561 resource to NO as it is not yet supported by the NS port.
3562
ae9c0411
JB
35632011-06-21 Juanma Barranquero <lekktu@gmail.com>
3564
3565 * misc.el (list-dynamic-libraries--refresh): Compute header here...
3566 (list-dynamic-libraries): ...not here.
3567
7f3f739f
LL
35682011-06-21 Leo Liu <sdl.web@gmail.com>
3569
3570 * subr.el (sha1): Implement sha1 using secure-hash.
3571
327c8fb1
MR
35722011-06-21 Martin Rudalics <rudalics@gmx.at>
3573
3574 * window.el (display-buffer-alist): In default value do not
3575 enforce searching a window on any but the selected frame.
3576 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
3577 (display-buffer-select-window): Remove function.
3578 (display-buffer-in-window): When a window on another frame gets
3579 reused, do not select it any more but just raise its frame if
3580 necessary (Bug#8851) and (Bug#8856).
3581 (display-buffer-normalize-options): Handle pop-up-frames related
3582 options more faithfully.
3583 (pop-to-buffer): Don't rely on `display-buffer' selecting the
3584 window if it is on another frame.
c9d29fb8
SM
3585 (display-buffer-alist, display-buffer-default-specifiers):
3586 Don't make new frame unsplittable by default.
9e9de014
MR
3587 (display-buffer-normalize-argument): Fix doc-string typo and use
3588 'same-frame-other-window instead of 'other-window when associating
3589 with display-buffer-macro-specifiers.
327c8fb1 3590
7cf3f556
VB
35912011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
3592
3593 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
3594 New functions.
3595 (5x5-mode-map, 5x5-mode-menu): Bind them.
3596 (5x5-draw-grid): Tweak the solver's rendering.
3597
60a406cf
SM
35982011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3599
3600 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
3601 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
3602
d8e4b68b 36032011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
3604
3605 * menu-bar.el: Use function variable instead of switch-to-buffer.
3606 (menu-bar-select-buffer-function): New variable.
60a406cf 3607 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 3608
478d6f95
SM
36092011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3610
3611 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
3612 variable's status.
3613
ca530739
JD
36142011-06-20 Jan Djärv <jan.h.d@swipnet.se>
3615
3616 * x-dnd.el (x-dnd-version-from-flags)
3617 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
3618 and long as number (Bug#8899).
3619 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
3620
bcd70d97
SM
36212011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3622
60a406cf 3623 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
3624 (completion-try-completion, completion-all-completions): Compute the
3625 metadata argument if it's missing; make it optional (bug#8795).
3626
60a406cf 3627 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
3628 (widget-complete): Use new :completion-function property.
3629 (widget-completions-at-point): New function.
3630 (default): Use :completion-function instead of :complete.
60a406cf
SM
3631 (widget-default-completions): Rename from widget-default-complete;
3632 Rewrite.
bcd70d97
SM
3633 (widget-string-complete, widget-file-complete, widget-color-complete):
3634 Remove functions.
3635 (file, symbol, function, variable, coding-system, color):
3636 * international/mule-cmds.el (default-input-method, charset)
3637 (language-info-custom-alist):
3638 * cus-edit.el (face): Use new property :completions.
3639
3640 * progmodes/pascal.el (pascal-completions-at-point): New function.
3641 (pascal-mode): Use it.
3642 (pascal-mode-map): Use completion-at-point.
3643 (pascal-toggle-completions): Make obsolete.
3644 (pascal-complete-word, pascal-show-completions):
3645 * progmodes/octave-mod.el (octave-complete-symbol):
3646 Redefine as obsolete alias.
3647 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
3648 Signal absence of completion info for old Octave,
3649 (inferior-octave-complete): Redefine as obsolete alias.
3650 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
3651 (meta-completions-at-point): Rename from meta-complete-symbol and
3652 adapt it for use on completion-at-point-functions.
3653 (meta-common-mode): Use it.
3654 (meta-looking-at-backward, meta-match-buffer): Remove.
3655 (meta-complete-symbol): Redefine as obsolete alias.
3656 (meta-common-mode-map): Use completion-at-point.
3657 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
3658 (makefile-mode-map): Use completion-at-point.
3659 (makefile-completions-at-point): Rename from makefile-complete and
3660 adapt it for use on completion-at-point-functions.
3661 (makefile-mode): Use it.
3662 (makefile-complete): Redefine as obsolete alias.
3663
aebf69c8
DD
36642011-06-20 Deniz Dogan <deniz@dogan.se>
3665
3666 * net/rcirc.el: Delete trailing whitespaces once and for all.
3667
bfbbb27d
DC
36682011-06-20 Daniel Colascione <dan.colascione@gmail.com>
3669
3670 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
3671
d264a46b
CY
36722011-06-19 Chong Yidong <cyd@stupidchicken.com>
3673
4ca009e5
CY
3674 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
3675
d264a46b
CY
3676 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
3677
fbf5b3ce
MR
36782011-06-19 Martin Rudalics <rudalics@gmx.at>
3679
3680 * window.el (display-buffer-other-window-means-other-frame):
3681 Call display-buffer-normalize-alist.
3682 (display-buffer-normalize-specifiers-1): Rename to
3683 display-buffer-normalize-argument. New argument other-frame.
3684 Rewrite.
3685 (display-buffer-normalize-specifiers-2): Rename to
3686 display-buffer-normalize-options.
3687 (display-buffer-normalize-alist-1): New function.
3688 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
3689 display-buffer-normalize-alist.
3690 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
3691 (display-buffer-normalize-options-inhibit): New variable.
3692 (display-buffer-normalize-specifiers): Rewrite calling
3693 display-buffer-normalize-alist,
3694 display-buffer-normalize-argument, and
3695 display-buffer-normalize-options. Don't call the latter if
3696 display-buffer-normalize-options-inhibit is non-nil.
3697 (frame-auto-delete): New option.
3698 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
3699 (window-list-no-nils, window-state-ignored-parameters)
3700 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
3701 (window-state-put-1, window-state-put-2, window-state-put):
3702 New functions.
9a028c23
MR
3703 (display-buffer-normalize-options): Move special-display-p group
3704 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 3705
6d10d800
CY
37062011-06-18 Chong Yidong <cyd@stupidchicken.com>
3707
6420d28b
CY
3708 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
3709 groups (Bug#8776).
3710 (rx-submatch-n): New function.
3711 (rx): Document it.
3712
ddb8b596
CY
3713 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
3714 (Bug#8768).
3715
3716 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
3717
77080289
CY
3718 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
3719
61dfb316
CY
3720 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
3721 anytime existing face settings are present (Bug#8889).
3722
6d10d800
CY
3723 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
3724 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
3725 Remove unused argument.
3726
be3fb2b8
MR
37272011-06-18 Martin Rudalics <rudalics@gmx.at>
3728
bcd70d97
SM
3729 * window.el (display-buffer-default-specifiers):
3730 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
3731 pop-up-window-min-width, and another reuse-window specifier
3732 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
3733 (display-buffer-normalize-specifiers-2):
3734 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
3735 pop-up-windows is unset. Add a reuse-window specifier for the
3736 case popping up a new window fails.
3737 (special-display-popup-frame): Remove double quoting.
28dec25a 3738 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 3739
1c6d8c76
SM
37402011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3741
3742 * shell.el (shell-completion-vars): Set pcomplete-termination-string
3743 according to comint-completion-addsuffix.
3744
3745 * pcomplete.el: Convert to lexical binding and fix bug#8819.
3746 (pcomplete-suffix-list): Mark as obsolete.
3747 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
3748 pcomplete-seen in the closure.
3749 (pcomplete-comint-setup): Setup completion-at-point as well.
3750 (pcomplete--entries): New function.
3751 (pcomplete--env-regexp): New var.
3752 (pcomplete-entries): Rewrite to work with partial-completion and
3753 without relying on pcomplete-suffix-list.
3754 (pcomplete-pare-list): Remove, unused.
3755
25aef8b8
MR
37562011-06-17 Martin Rudalics <rudalics@gmx.at>
3757
3758 * window.el (display-buffer-alist): Set pop-up-window-min-height
3759 and pop-up-window-min-width in default value. Reported by
3760 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
3761 other-window-means-other-frame.
3762 (display-buffer-macro-specifiers): Comment out entry for
3763 other-window specifier.
3764 (display-buffer-other-window-means-other-frame): New function.
3765 (display-buffer-normalize-specifiers-1): New arguments
3766 buffer-name and label. Treat other-window case specially.
3767 (display-buffer-normalize-specifiers-2): Treat other-window case
3768 specially.
3769 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
3770 (display-buffer-normalize-specifiers):
3771 Call display-buffer-normalize-specifiers-3.
25aef8b8 3772
dbad4f69
MR
37732011-06-17 Martin Rudalics <rudalics@gmx.at>
3774
3775 * window.el (same-window-p): Fix two typos introduced when
3776 adding with-no-warnings.
d1067961
MR
3777 (display-buffer-normalize-specifiers-1): Don't check
3778 pop-up-frames for 'unset initialization.
3779 (display-buffer-normalize-specifiers-2): Major rewrite using
3780 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
3781 (pop-up-frames, display-buffer-reuse-frames)
3782 (display-buffer-mark-dedicated): Don't initialize to 'unset.
3783 Suggested by David Engster <deng@randomsample.de>.
3784 (even-window-heights): Initialize to 'unset.
3785 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
3786 (display-buffer-macro-specifiers): Don't pop up a new frame in the
3787 other window case.
dbad4f69 3788
9b9c9e3a
MR
37892011-06-16 Martin Rudalics <rudalics@gmx.at>
3790
bcd70d97
SM
3791 * window.el (display-buffer-normalize-specifiers-1):
3792 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 3793 second argument of display-buffer (Bug#8865).
981d5c09
MR
3794 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
3795 (switch-to-buffer-other-window-same-frame)
3796 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
3797 Adams (Bug#8875).
9c2755e9
MR
3798 (display-buffer): Don't check noninteractive when calling
3799 display-buffer-pop-up-frame.
3800 (display-buffer-pop-up-frame): Never pop up a frame in
3801 noninteractive mode (Bug#8857).
67222e1d
MR
3802 (enlarge-window, shrink-window): Don't report an error when the
3803 window can't be resized as requested (Bug#8862).
9b9c9e3a 3804
2b75be67
SM
38052011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3806
9ffdd3ba
SM
3807 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
3808
cb581a67
SM
3809 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
3810
2b75be67
SM
3811 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
3812
8c0e3589
AM
38132011-06-15 Alan Mackenzie <acm@muc.de>
3814
cb581a67
SM
3815 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
3816 for declarators, disable knr checking to speed up for normal files.
3817 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 3818
b96e6cde
LMI
38192011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3820
4bba86e6
LMI
3821 * net/network-stream.el (open-network-stream): Add the keyword
3822 :always-query-capabilities for the case where you want to force a
3823 `plain' network connection, but the protocol still requires the
3824 capabilitiy command (i.e., SMTP and EHLO).
3825
2b75be67 3826 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
3827 consistency with other `-live-p' functions.
3828
efdcdbf8
SM
38292011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3830
3831 * window.el (same-window-buffer-names, same-window-regexps)
3832 (special-display-frame-alist, special-display-popup-frame)
3833 (special-display-function, special-display-buffer-names)
3834 (special-display-regexps, pop-up-frame-alist)
3835 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
3836 (pop-up-windows, split-window-preferred-function)
3837 (split-height-threshold, split-width-threshold, even-window-heights)
3838 (display-buffer-mark-dedicated): Don't encourage the use of
3839 display-buffer-alist from Elisp code.
3840
c5cde042
DN
38412011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
3842
3843 * progmodes/python.el (python-mode): Derive from prog-mode.
3844 * progmodes/ps-mode.el (ps-mode):
3845 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 3846 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
3847 * progmodes/ld-script.el (ld-script-mode): Likewise.
3848
baa1c9ab
MR
38492011-06-15 Martin Rudalics <rudalics@gmx.at>
3850
3851 * window.el (display-buffer-alist): Trim default value to avoid
3852 popping up a new frame (Bug#8857) or reusing an arbitrary window
3853 on another frame.
3854 (display-buffer): Do not fall back on popping up a new frame in
3855 batch mode (Bug#8857).
3856
c5dd5a51
CY
38572011-06-14 Chong Yidong <cyd@stupidchicken.com>
3858
3859 * cus-theme.el (describe-theme-1): Use custom-theme-p.
3860 (custom-theme-summary): New function.
3861 (customize-themes): Use it.
3862
d647b7c4
GM
38632011-06-13 Glenn Morris <rgm@gnu.org>
3864
3865 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
3866
9481c002
MR
38672011-06-13 Martin Rudalics <rudalics@gmx.at>
3868
357f93d2
MR
3869 * help.el (help-window): Remove variable.
3870 (help-window-point-marker, temp-buffer-max-height)
3871 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
3872 (help-print-return-message): Don't set help-window.
3873 (resize-temp-buffer-window): Rewrite cod eand doc-string.
3874 (help-window-setup-finish): Remove.
3875 (help-window-display-message, help-window-setup)
3876 (with-help-window): Major rewrite based on new
3877 display-buffer-window variable.
3878
3879 * help-mode.el (help-mode-finish): Remove help-window related
3880 code.
3881
3882 * view.el (view-exits-all-viewing-windows): Remove reference to
3883 view-return-to-alist in doc-string.
3884 (view-return-to-alist): Make obsolete.
3885 (view-buffer): Call pop-to-buffer-same-window and remove
3886 undo-window code.
3887 (view-buffer-other-window): Call pop-to-buffer-other-window and
3888 simplify code. Ignore second argument.
3889 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
3890 simplify code. Ignore second argument.
3891 (view-return-to-alist-update): Make obsolete.
3892 (view-mode-enter): Rename second argument to QUIT-RESTORE.
3893 Rewrite using quit-restore window parameters.
2b75be67
SM
3894 (view-mode-exit): Rename second argument to EXIT-ONLY.
3895 Rewrite using quit-restore-window.
357f93d2
MR
3896 (View-exit, View-exit-and-edit, View-leave, View-quit)
3897 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
3898 appropriate arguments.
3899 (view-end-message): Use quit-restore window parameter.
3900
9481c002
MR
3901 * window.el (display-buffer-function): Rewrite doc-string.
3902 (display-buffer-window, display-buffer-alist): New variables.
3903 (display-buffer-split-specifiers)
3904 (display-buffer-side-specifiers)
3905 (display-buffer-macro-specifiers): New constants.
3906 (display-buffer-even-window-sizes, display-buffer-set-height)
3907 (display-buffer-set-width, display-buffer-select-window)
3908 (display-buffer-in-window, display-buffer-reuse-window)
3909 (display-buffer-split-window-1, display-buffer-split-window)
3910 (display-buffer-split-atom-window, display-buffer-pop-up-window)
3911 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
3912 (display-buffer-in-side-window, normalize-buffer-to-display)
3913 (display-buffer-normalize-specifiers-1)
3914 (display-buffer-normalize-specifiers-2)
2b75be67
SM
3915 (display-buffer-normalize-specifiers, display-buffer-frame):
3916 New functions.
9481c002
MR
3917 (display-buffer): Major rewrite.
3918 (display-buffer-other-window, display-buffer-other-frame)
3919 (pop-to-buffer, switch-to-buffer-other-window)
3920 (switch-to-buffer-other-frame): Rewrite.
3921 (display-buffer-same-window, display-buffer-same-frame)
3922 (display-buffer-same-frame-other-window)
3923 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3924 (pop-to-buffer-other-window)
3925 (pop-to-buffer-same-frame-other-window)
3926 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
3927 (switch-to-buffer-other-window-same-frame): New functions.
3928 (same-window-p, special-display-p): Rewrite disabling warnings.
3929 Make obsolete.
3930 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3931 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
3932 Make obsolete
3933 (same-window-buffer-names, same-window-regexps)
3934 (special-display-frame-alist, special-display-popup-frame)
3935 (special-display-function, special-display-buffer-names)
3936 (special-display-regexps, pop-up-frame-alist)
3937 (pop-up-frame-function, split-window-preferred-function)
3938 (split-height-threshold, split-width-threshold)
3939 (even-window-heights): Make obsolete.
3940
9db51aca
GM
39412011-06-12 Glenn Morris <rgm@gnu.org>
3942
3943 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 3944 Misc simplifications.
9db51aca 3945
39cffb44
MR
39462011-06-12 Martin Rudalics <rudalics@gmx.at>
3947
3948 * window.el (window-safely-shrinkable-p): Restore function which
3949 was inadvertently removed in change from 2011-06-11. Declare as
3950 obsolete.
3951
2b75be67
SM
3952 * calendar/calendar.el (calendar-generate-window):
3953 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
3954 window-safely-shrinkable-p.
3955
a8955be7
GM
39562011-06-12 Glenn Morris <rgm@gnu.org>
3957
3958 * progmodes/fortran.el (fortran-mode-syntax-table):
3959 * progmodes/f90.el (f90-mode-syntax-table):
3960 Set % to punctuation. (Bug#8820)
3961 (f90-find-tag-default): Remove, no longer needed.
3962
f0d4059d
DC
39632011-06-12 Daniel Colascione <dan.colascione@gmail.com>
3964
3965 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
3966
1100a63c
CY
39672011-06-11 Chong Yidong <cyd@stupidchicken.com>
3968
3969 * image.el (image-animated-p): Return animation delay in seconds.
3970 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
3971 (image-animate-timeout): Remove DELAY argument. Don't assume
3972 every subimage has the same delay; get it from image-animated-p.
3973 (image-animate): Caller changed.
3974
def722bf
MA
39752011-06-11 Michael Albinus <michael.albinus@gmx.de>
3976
3977 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
3978 to ignored backtrace functions.
3979
0a2bb1a9
GM
39802011-06-11 Glenn Morris <rgm@gnu.org>
3981
3982 * calendar/appt.el (appt-disp-window-function): Doc fix.
3983 (appt-check): Handle overlapping appointments. (Bug#8337)
3984
6198ccd0
MR
39852011-06-11 Martin Rudalics <rudalics@gmx.at>
3986
3987 * window.el (window-tree-1, window-tree): New functions, moving
3988 the latter to window.el.
3989 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
3990 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
3991 (bw-refresh-edges): Remove.
3992 (balance-windows-1, balance-windows-2): New functions.
3993 (balance-windows): Rewrite in terms of window tree functions,
3994 balance-windows-1 and balance-windows-2.
3995 (bw-adjust-window): Remove.
3996 (balance-windows-area-adjust): New function with functionality of
3997 bw-adjust-window but using resize-window.
2b75be67
SM
3998 (set-window-text-height): Rewrite doc-string.
3999 Use normalize-live-window and resize-window.
4000 (enlarge-window-horizontally, shrink-window-horizontally):
4001 Rename argument to DELTA.
6198ccd0
MR
4002 (window-buffer-height): New function.
4003 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4004 Rewrite using new window resize routines.
2b75be67
SM
4005 (kill-buffer-and-window, mouse-autoselect-window-select):
4006 Use ignore-errors instead of condition-case.
6198ccd0
MR
4007 (quit-window): Call delete-frame instead of delete-windows-on
4008 for the only buffer on frame.
4009
9397e56f
MR
40102011-06-10 Martin Rudalics <rudalics@gmx.at>
4011
4012 * loadup.el (top-level): Load window before files for the sake
4013 of replace-buffer-in-windows.
4014
4015 * files.el (read-buffer-to-switch)
4016 (switch-to-buffer-other-window)
2b75be67
SM
4017 (switch-to-buffer-other-frame, display-buffer-other-frame):
4018 Move to window.el.
9397e56f
MR
4019
4020 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4021 (previous-buffer): Move to window.el.
4022
4023 * bindings.el (unbury-buffer): Move to window.el.
4024
4025 * window.el (delete-other-windows-vertically): Move after
4026 definition of delete-other-windows.
4027 (other-window, delete-windows-on, replace-buffer-in-windows):
4028 Move here from window.c.
4029 (record-window-buffer, unrecord-window-buffer)
4030 (set-window-buffer-start-and-point, switch-to-prev-buffer)
4031 (switch-to-next-buffer): New functions.
4032 (get-next-valid-buffer, last-buffer, next-buffer): Move here
4033 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
4034 (previous-buffer): Move here from simple.el.
4035 Call switch-to-prev-buffer.
9397e56f
MR
4036 (bury-buffer): Move here from buffer.c. Switch to previous
4037 buffer when window cannot be deleted.
4038 (unbury-buffer): Move here from bindings.el.
4039 (ctl-x-map): Move binding for other-window from window.c to
4040 here.
4041 (read-buffer-to-switch, switch-to-buffer-other-window)
4042 (switch-to-buffer-other-frame): Move here from files.el.
4043 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
4044 (switch-to-buffer): Move here from buffer.c.
4045 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 4046
562dd5e9
MR
40472011-06-10 Martin Rudalics <rudalics@gmx.at>
4048
4049 * window.el (window-min-height, window-min-width): Move here
4050 from window.c. Add defcustoms and rewrite doc-strings.
4051 (resize-mini-window, resize-window): New functions.
4052 (adjust-window-trailing-edge, enlarge-window, shrink-window):
4053 Move here from window.c.
4054 (maximize-window, minimize-window): New functions.
4055 (delete-window, delete-other-windows, split-window): Move here
4056 from window.c.
4057 (window-split-min-size): New function.
4058 (split-window-keep-point): Mention split-window-above-each-other
4059 instead of split-window-vertically.
2b75be67
SM
4060 (split-window-above-each-other, split-window-vertically):
4061 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
4062 provide defalias for old definition.
4063 (split-window-side-by-side, split-window-horizontally): Rename
4064 split-window-horizontally to split-window-side-by-side and provide
4065 defalias for the old definition.
4066 (ctl-x-map): Move bindings for delete-window,
4067 delete-other-windows and enlarge-window here from window.c.
4068 Replace bindings for split-window-vertically and
4069 split-window-horizontally by bindings for
4070 split-window-above-each-other and split-window-side-by-side.
4071
4072 * cus-start.el (all): Remove entries for window-min-height and
4073 window-min-width. Add entries for window-splits and
4074 window-nest.
4075
f0da764a
GM
40762011-06-09 Glenn Morris <rgm@gnu.org>
4077
80675c21
GM
4078 * calendar/appt.el (appt-mode-line): New function.
4079 (appt-check, appt-disp-window): Use it.
4080
f0da764a
GM
4081 * files.el (hack-one-local-variable-eval-safep):
4082 Allow minor-modes with explicit +/-1 arguments.
4083
59f623b7
TZ
40842011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
4085
4086 * term/xterm.el (xterm): Add defgroup.
4087 (xterm-extra-capabilities): Add defcustom to supply known xterm
4088 capabilities, skip querying them, or query them (default).
4089 (terminal-init-xterm): Use it.
4090 (terminal-init-xterm-modify-other-keys): New function to set up
4091 modifyOtherKeys support to simplify `terminal-init-xterm'.
4092
9aab8e0d
MR
40932011-06-09 Martin Rudalics <rudalics@gmx.at>
4094
4095 * window.el (resize-window-reset, resize-window-reset-1)
4096 (resize-subwindows-skip-p, resize-subwindows-normal)
4097 (resize-subwindows, resize-other-windows, resize-this-window)
4098 (resize-root-window, resize-root-window-vertically)
4099 (window-deletable-p, window-or-subwindow-p)
4100 (frame-root-window-p): New functions.
4101
e8b08aee
GM
41022011-06-09 Glenn Morris <rgm@gnu.org>
4103
4104 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4105 (ange-ftp-get-files): Use it.
4106
254c37a5
AK
41072011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4108
4109 * mail/sendmail.el (mail-recover-1, mail-recover):
4110 * files.el (recover-file, recover-session):
4111 Handle dired-listing-switches not being just a single short option.
4112
35d7dbd3
GM
41132011-06-09 Glenn Morris <rgm@gnu.org>
4114
4115 * calendar/appt.el (appt-display-message, appt-disp-window):
4116 Handle lists of appointments.
4117
387522b2
MR
41182011-06-08 Martin Rudalics <rudalics@gmx.at>
4119
2b75be67
SM
4120 * window.el (one-window-p): Move down in code.
4121 Rewrite doc-string.
4122 (window-current-scroll-bars): Rewrite doc-string.
4123 Normalize live window argument.
387522b2
MR
4124 (walk-windows, get-window-with-predicate, count-windows):
4125 Rewrite doc-string. Use window-list-1.
4126 (window-in-direction-2, window-in-direction, get-mru-window):
4127 New functions.
4128
d8e4b68b 41292011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
4130
4131 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
4132 Doc fix (Bug#8713).
4133
41342011-06-08 Chong Yidong <cyd@stupidchicken.com>
4135
4136 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
4137
41382011-06-08 Juanma Barranquero <lekktu@gmail.com>
4139
4140 * loadhist.el (unload-feature-special-hooks):
4141 Add `comint-output-filter-functions'.
4142
0de12c52
IK
41432011-06-08 Ivan Kanis <gnu@kanis.fr>
4144
4145 * calendar/appt.el (appt-check): Move some initializations into the let.
4146
f3d1777e
MR
41472011-06-08 Martin Rudalics <rudalics@gmx.at>
4148
4149 * window.el (window-height): Defalias to window-total-height.
4150 (window-width): Defalias to window-body-width.
4151
18af70d0
CY
41522011-06-07 Chong Yidong <cyd@stupidchicken.com>
4153
4154 * image-mode.el (image-toggle-animation): New command.
4155 (image-mode-map): Bind it to RET.
4156 (image-mode): Update message.
4157 (image-toggle-display-image): Avoid a spurious cache flush.
4158 (image-transform-rotation): Doc fix.
4159 (image-transform-properties): Return quickly in the normal case.
4160 (image-animate-loop): Rename from image-animate-max-time.
4161
2b75be67 4162 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
4163 (create-animated-image): Remove unnecessary function.
4164 (image-animate): Rename from image-animate-start. New arg.
2b75be67 4165 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
4166 (image-animate-timer): Use car-safe.
4167 (image-animate-timeout): Rename argument.
4168
190b47e6
MR
41692011-06-07 Martin Rudalics <rudalics@gmx.at>
4170
4171 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
4172 window.c. Rename first argument to ALL-FRAMES.
4173 Rephrase doc-strings.
4174 (get-buffer-window-list): Rewrite using window-list-1.
4175 Rephrase doc-string.
a1511caf
MR
4176 (window-safe-min-height, window-safe-min-width): New constants.
4177 (window-size-ignore, window-min-size, window-min-size-1)
4178 (window-sizable, window-sizable-p, window-size-fixed-1)
4179 (window-size-fixed-p, window-min-delta-1, window-min-delta)
4180 (window-max-delta-1, window-max-delta, window-resizable)
4181 (window-resizable-p, window-total-height, window-total-width)
4182 (window-body-width): New functions.
4183 (window-full-height-p, window-full-width-p): Rewrite using
4184 window-total-size.
4185 (window-body-height): Rewrite using window-body-size.
190b47e6 4186
85cc1f11
MR
41872011-06-06 Martin Rudalics <rudalics@gmx.at>
4188
4189 * window.el (window-right, window-left, window-child)
4190 (window-child-count, window-last-child, window-any-p)
4191 (normalize-live-buffer, normalize-live-frame)
4192 (normalize-any-window, normalize-live-window)
4193 (window-iso-combination-p, window-iso-combined-p)
4194 (window-iso-combinations)
4195 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
4196 (windows-with-parameter, window-with-parameter)
4197 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
4198 (window-atom-check, window-side-check, window-check):
4199 New functions.
85cc1f11
MR
4200 (ignore-window-parameters, window-sides, window-sides-vertical)
4201 (window-sides-slots): New variables.
4202 (window-size-fixed): Move down in code. Minor doc-string fix.
4203
e7156492
AS
42042011-06-05 Andreas Schwab <schwab@linux-m68k.org>
4205
4206 * comint.el (comint-dynamic-complete-as-filename)
4207 (comint-dynamic-complete-filename): Correctly call
4208 completion-in-region.
4209
7e821d0d
DD
42102011-06-05 Deniz Dogan <deniz@dogan.se>
4211
4212 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
4213 in last change.
4214
ac09b8a1
DD
42152011-06-05 Deniz Dogan <deniz@dogan.se>
4216
4217 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
4218 (rcirc): Use it to prompt for encryption.
4219
34699b85
RW
42202011-06-05 Roland Winkler <winkler@gnu.org>
4221
4222 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
4223 (bibtex-search-entries): New command bound to C-c C-a.
4224 (bibtex-display-entries): New function.
4225
004dedd3
RW
42262011-06-05 Roland Winkler <winkler@gnu.org>
4227
4228 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
4229 (bibtex-insert-kill): After yanking insert newline if necessary.
4230 (bibtex-initialize): Call bibtex-string-files-init only once.
4231 (bibtex-mode): Do not call easy-menu-add.
4232 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
4233 (bibtex-yank): Set arg properly if nil.
4234
022fe7ce
RW
42352011-06-05 Roland Winkler <winkler@gnu.org>
4236
2b75be67
SM
4237 * textmodes/bibtex.el (bibtex-search-entry-globally):
4238 New variable.
022fe7ce
RW
4239 (bibtex-search-entry): Use it.
4240
b7c3692a
RW
42412011-06-05 Roland Winkler <winkler@gnu.org>
4242
4243 * textmodes/bibtex.el (bibtex-entry-format): New option
4244 sort-fields.
4245 (bibtex-format-entry, bibtex-reformat): Honor this option.
4246 (bibtex-parse-entry): Return fields in proper order.
4247
8eda563d
JB
42482011-06-05 Juanma Barranquero <lekktu@gmail.com>
4249
4250 * doc-view.el (doc-view-remove-if): Move computation of result out
4251 of `dolist' to silence misleading lexical-binding warning.
4252
7dbe3dbc
CY
42532011-06-04 Chong Yidong <cyd@stupidchicken.com>
4254
4255 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
4256 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
4257
0c33dd17
MA
42582011-06-04 Michael Albinus <michael.albinus@gmx.de>
4259
4260 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
4261 "SunOS 5.10".
4262
f8f91c2b
MA
42632011-06-04 Michael Albinus <michael.albinus@gmx.de>
4264
4265 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
4266 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
4267 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
4268 (tramp-parse-putty):
4269 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
4270 (tramp-completion-function-alist-ssh)
4271 (tramp-completion-function-alist-telnet)
4272 (tramp-completion-function-alist-su)
4273 (tramp-completion-function-alist-putty): Set `tramp-autoload'
4274 cookie.
4275
4276 * net/tramp-ftp.el:
4277 * net/tramp-sh.el:
4278 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
4279 load "tramp.el" `tramp-set-completion-function'.
4280
e17d9003
SM
42812011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * shell.el: Require and use pcomplete.
4284 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
4285 (shell-completion-vars): Set pcomplete-default-completion-function.
4286
6c4cab03
DD
42872011-06-04 Deniz Dogan <deniz@dogan.se>
4288
4289 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
4290 `memq' (Bug#8799).
4291
ea9fafe0
SM
42922011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4293
4294 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
4295
b3e945d3
JB
42962011-06-02 Juanma Barranquero <lekktu@gmail.com>
4297
4298 * bs.el (bs--mark-unmark, bs--nth-wrapper):
4299 * mpc.el (mpc-select-extend, mpc-songpointer-context):
4300 * vc/log-view.el (log-view-beginning-of-defun):
4301 * vc/smerge-mode.el (smerge-apply-resolution-patch)
4302 (smerge-refine-forward, smerge-refine-chopup-region):
4303 Silence warning for unused `dotimes' counter variables.
4304
7d520089
SM
43052011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * net/tramp.el (tramp-with-progress-reporter): Rename from
4308 with-progress-reporter. Use `declare'.
4309 * net/tramp-smb.el:
4310 * net/tramp-sh.el:
4311 * net/tramp-gvfs.el: Update all uses.
4312
a1c2400f
JB
43132011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
4314
4315 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
4316 buffer isn't killed before making it current.
4317
2403c841
SM
43182011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4319
4320 Silence various byte-compiler warnings.
4321 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
4322 `access-type' and new obsolescence format.
4323 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
4324 new format.
4325 (byte-compile-check-variable): New `access-type' argument.
4326 Only warn if the access-type is obsolete.
4327 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
4328 (byte-compile-variable-set): Adjust callers.
4329 * help-fns.el (describe-variable): Adjust to new obsolescence format.
4330 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
4331 setting it as obsolete.
4332 * simple.el (minibuffer-completing-symbol):
4333 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
4334 access as obsolete.
4335 * minibuffer.el (minibuffer-completing-file-name): Don't make it
4336 obsolete yet.
4337 * international/quail.el (quail-mouse-choose-completion): Remove unused
4338 code referring to obsolete var.
4339 (quail-choose-completion-string): Remove.
4340 * server.el (server-clients-with, server-kill-buffer-query-function)
4341 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
4342 * proced.el (proced-send-signal):
4343 * emacs-lisp/lisp.el (lisp-complete-symbol):
4344 Replace completion-annotate-function with completion-extra-properties.
4345
2462470b
SM
43462011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4347
fb5b2591
SM
4348 * simple.el (goto-line): Use read-number.
4349 (overriding-map-is-bound): Remove.
4350 (saved-overriding-map): Change default.
4351 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
4352 Take the map as argument.
4353 (universal-argument, negative-argument, digit-argument): Use it.
4354 (restore-overriding-map): Adjust.
4355 (do-auto-fill): Use fill-forward-paragraph.
4356 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
4357
fd6fa53f
SM
4358 * minibuffer.el (minibuffer-inactive-mode-map): New var.
4359 (minibuffer-inactive-mode): New major mode.
4360 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
4361 the *Messages* buffer" hack.
4362 (mouse-popup-menubar): Don't burp if the event is a normal key.
4363
2462470b
SM
4364 Miscellaneous tweaks.
4365 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
4366 lexical scoping as in subr.el's dolist and dotimes.
4367 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
4368 Silence compiler warning.
4369 * thingatpt.el (forward-whitespace): Trivial coding style fix.
4370 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
4371 * international/ccl.el (ccl-compile): Trivial simplification.
4372 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
4373 * emacs-lisp/testcover.el (testcover-end): Remove spurious
4374 `printflag' argument.
4375 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
4376 Purecopy the whole obsolescence data.
4377
108bf785
LL
43782011-06-01 Leo Liu <sdl.web@gmail.com>
4379
4380 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
4381 improve doc-string as suggested by Marco Pessotto
4382 <melmothx@gmail.com>.
4383 (rcirc-print): Fix last change.
4384
30a23501
SM
43852011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4386
4387 * minibuffer.el (complete-with-action): Return nil for the metadata and
4388 boundaries of non-functional tables.
4389 (completion-table-dynamic): Return nil for the metadata.
4390 (completion-table-with-terminator): Add default case, using
4391 complete-with-action.
4392 (completion--metadata): New function.
4393 (completion-all-sorted-completions, minibuffer-completion-help): Use it
4394 to try and avoid pathological performance problems.
4395 (completion--embedded-envvar-table): Return `category' metadata.
4396
bcd54f83
LMI
43972011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
4398
4399 * subr.el (process-alive-p): New tiny convenience function.
4400
e227544d
SM
44012011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4402
4403 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
4404 content but also its previous major mode.
4405
e8296fdc
HE
44062011-05-31 Helmut Eller <eller.helmut@gmail.com>
4407
4d61f28d 4408 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
4409 *Backtrace* buffer when we exit with C-M-c.
4410
620c53a6
SM
44112011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4412
4413 * minibuffer.el: Add metadata method to completion tables.
4414 (completion-category-overrides): New defcustom.
4415 (completion-metadata, completion--field-metadata)
4416 (completion-metadata-get, completion--styles)
4417 (completion--cycle-threshold): New functions.
4418 (completion-try-completion, completion-all-completions):
4419 Add `metadata' argument to choose completion-styles.
4420 (completion--do-completion): Use metadata to choose cycling.
4421 (completion-all-sorted-completions): Use metadata for sorting.
4422 Remove :completion-cycle-penalty which is not needed any more.
4423 (completion--try-word-completion): Add `metadata' argument.
4424 (minibuffer-completion-help): Check metadata for annotation function
4425 and sorting.
4426 (completion-file-name-table): Return `category' metadata.
4427 (minibuffer-completing-file-name): Make obsolete.
4428 * simple.el (minibuffer-completing-symbol): Make obsolete.
4429 * icomplete.el (icomplete-completions): Pass new `metadata' param to
4430 completion-try-completion.
4431
1257e755
SM
44322011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4433
4434 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
4435
3767e706
LL
44362011-05-30 Leo Liu <sdl.web@gmail.com>
4437
4438 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
4439 (rcirc-print): Decode all incoming messages (bug#8744).
4440 (rcirc-decode-coding-system): Allow value nil for automatic coding
4441 system detection.
3767e706 4442
d1a5d56a
GM
44432011-06-01 Glenn Morris <rgm@gnu.org>
4444
4445 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
4446
e8cbec34
CY
44472011-05-29 Chong Yidong <cyd@stupidchicken.com>
4448
4449 * image.el (image-animate-max-time): Allow nil and t values.
4450 Default to nil.
4451 (create-animated-image): Doc fix.
4452 (image-animate-start): Remove second arg; just use
4453 image-animate-max-time.
4454 (image-animate-timeout): Doc fix. Args changed.
4455
4456 * image-mode.el (image-toggle-display-image): Ensure that the
4457 image spec passed to the animate timer is the same object as in
4458 the the buffer's display property (Bug#6981).
4459 (image-transform-properties): Doc fix.
4460
4461 * image.el (image-animate-max-time): Default to nil.
4462
159daf87
MR
44632011-05-29 Martin Rudalics <rudalics@gmx.at>
4464
4465 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
4466 entire buffer list (Bug#8184).
4467
d66c4c7c
CY
44682011-05-29 Chong Yidong <cyd@stupidchicken.com>
4469
4470 * image.el (imagemagick-types-inhibit)
4471 (imagemagick-register-types): Doc fix.
4472
80aec780
DD
44732011-05-29 Deniz Dogan <deniz@dogan.se>
4474
4475 * net/rcirc.el (rcirc): Use the user's stored encryption method by
4476 default.
4477
1dd3c2d9
CY
44782011-05-29 Chong Yidong <cyd@stupidchicken.com>
4479
4480 * select.el: Don't perform clipboard-manager saving in hooks;
4481 leave the hooks empty.
4482
60e56523
LL
44832011-05-28 Leo Liu <sdl.web@gmail.com>
4484
4485 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
4486 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
4487 (occur-edit-mode): New major mode (Bug#8463).
4488 (occur-after-change-function): New function.
4489 (occur-engine): Give Occur tags a read-only property.
4490
2b1e1a22
KR
44912011-05-28 Kevin Ryde <user42@zip.com.au>
4492
4493 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
4494
5d344e88
CY
44952011-05-28 Chong Yidong <cyd@stupidchicken.com>
4496
8e6ca83d
CY
4497 * bindings.el (help-echo): Make the initial non-indicator dash
4498 empty on graphical terminals (Bug#7295).
4499
5d344e88
CY
4500 * files.el (auto-mode-alist): Move config rule after the
4501 in-stripping one (Bug#8547).
4502
bfbbace7
CY
4503 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
4504
fbeba6e2
CY
4505 * startup.el (normal-splash-screen): Remove gratuitous mode-line
4506 setting (Bug#8740).
4507
60ed8c72
AA
45082011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
4509
4ac619f0
AA
4510 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
4511 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
4512 (Bug#8539).
60ed8c72 4513
23db196e
CY
45142011-05-28 Chong Yidong <cyd@stupidchicken.com>
4515
4516 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
4517
5012f24c
DK
45182011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
4519
4520 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
4521 (hs-hide-block-at-point, hs-find-block-beginning)
4522 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
4523 (Bug#8279).
4524
6a639b16
GM
45252011-05-28 Glenn Morris <rgm@gnu.org>
4526
4527 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
4528
d43eaf2c
CY
45292011-05-28 Chong Yidong <cyd@stupidchicken.com>
4530
5199bde1
CY
4531 * help-fns.el (describe-function-1): If the function is a derived
4532 major mode, print the parent mode.
4533
d43eaf2c
CY
4534 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
4535 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
4536
423428a8
SM
45372011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4538
0ff8e1ba
SM
4539 * minibuffer.el (completion--capf-wrapper): Check applicability before
4540 retuning non-nil for non-exclusive completion data.
4541 * progmodes/etags.el (tags-completion-at-point-function):
4542 * info-look.el (info-lookup-completions-at-point): Mark as
4543 non-exclusive.
4544 (info-complete): Adjust accordingly.
4545
423428a8
SM
4546 * info-look.el: Convert to lexical-binding and completion-at-point.
4547 (info-lookup-completions-at-point): New function.
4548 (info-complete): Use it and completion-in-region.
4549
b74aa22b
DA
45502011-05-28 Drew Adams <drew.adams@oracle.com>
4551
4552 * isearch.el: Let M-e start with point at the first mismatched char.
4553 (isearch-fail-pos): New function.
4554 (isearch-edit-string): Use it.
4555
66e2e71d
DK
45562011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
4557
4558 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
4559
eb95d01d
TC
45602009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
4561
4562 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
4563 traversal functions for avl-trees.
4564 (avl-tree--stack): New struct.
4565 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
4566 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
4567 (avl-tree--do-enter): Add optional `updatefun' arg.
4568 Change return value.
eb95d01d 4569 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
4570 (avl-tree--do-delete): Add `test' and `nilflag' args.
4571 Change return value.
eb95d01d
TC
4572 (avl-tree-member): Add optional `nilflag'
4573 (avl-tree-member-p): New function.
4574 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
4575 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
4576 (avl-tree-stack-empty-p): New functions.
4577
3769ddcf
TC
45782009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
4579
4580 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
4581 avl-tree--del-balance1 and make it work both ways.
4582 (avl-tree--del-balance2): Remove.
4583 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
4584 make it work both ways.
4585 (avl-tree--enter-balance2): Remove.
4586 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
4587 New macros.
4588 (avl-tree--mapc, avl-tree-map): Add direction argument.
4589
eb95d01d 45902011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
4591
4592 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
4593
a9f737ee
CY
45942011-05-27 Chong Yidong <cyd@stupidchicken.com>
4595
4596 * select.el: Support clipboard managers with built-in function
4597 x-clipboard-manager-save, via delete-frame-functions and
4598 kill-emacs-hook.
4599 (xselect-convert-to-targets): Add MULTIPLE target to list.
4600 (xselect-convert-to-save-targets): New function.
4601
c92a1e54
KH
46022011-05-27 Kenichi Handa <handa@m17n.org>
4603
4604 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
4605 let-binding rfc2047-encode-encoded-words to nil.
4606
e145f188
GM
46072011-05-27 Glenn Morris <rgm@gnu.org>
4608
5ec8a862
GM
4609 * mail/emacsbug.el: Don't require url-util.
4610
4b29d9fb
GM
4611 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
4612
e145f188
GM
4613 * files.el (set-auto-mode):
4614 Also respect mode: entries at the end of the file. (Bug#8586)
4615
7d15102b
GM
46162011-05-26 Glenn Morris <rgm@gnu.org>
4617
98f593b8
GM
4618 * files.el (hack-local-variables-prop-line, hack-local-variables):
4619 Downcase mode names, as seems to be traditional.
27b48e63 4620 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 4621
7d15102b
GM
4622 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
4623 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
4624
51d5b4ec
JD
46252011-05-25 Julien Danjou <julien@danjou.info>
4626
4627 * textmodes/rst.el (rst-define-level-faces): Do not define face
4628 symbol if it is already defined.
4629
91513f63
VB
46302011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4631
4632 * play/5x5.el (5x5-new-game, 5x5-randomize):
4633 Reset 5x5-solver-output to nil when a new grid is cast.
4634 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
4635 these debugging traces, as defmacro breaks the compiled code.
4636
4d90d6d0
DK
46372011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
4638
4639 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
4640
e1b90ef6
LL
46412011-05-24 Leo Liu <sdl.web@gmail.com>
4642
4643 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
4644 (vc-bzr-sha1): Adapt.
4645
d8e4b68b 4646 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
4647
4648 * bindings.el: Provide sha1 feature.
4649
db0406bb 46502011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
4651
4652 * mail/sendmail.el: Require `rfc2047'.
4653 (mail-insert-from-field): Do not perform RFC2047 encoding.
4654 (mail-encode-header): New function.
4655 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
4656 buffer to the return value of select-message-coding-system.
4657 Call mail-encode-header.
b8d747b9
KH
4658
4659 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
4660
db0406bb 46612011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 4662
4d90d6d0
DK
4663 * mail/supercite.el (sc-default-cite-frame):
4664 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 4665
eb8a5e9b
GM
46662011-05-24 Glenn Morris <rgm@gnu.org>
4667
f8630703
GM
4668 * progmodes/python.el (brm-menu): Declare.
4669
8831bbed
GM
4670 * emulation/viper.el (viper-set-hooks): Declare.
4671
eb8a5e9b
GM
4672 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
4673 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
4674 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
4675 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
4676 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
4677 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
4678
a2a25d24
SM
46792011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 Add an :exit-function for completion-at-point.
4682
4683 * minibuffer.el (completion--done): New fun.
4684 (completion--do-completion): Use it. New arg `expect-exact'.
4685 (minibuffer-complete, minibuffer-complete-word): Don't output message,
4686 since completion--do-completion does it for us now.
4687 (minibuffer-force-complete): Use completion--done and
4688 completion--replace. Handle sole-completion case with more care.
4689 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
4690 (completion-extra-properties): New var.
4691 (completion-annotate-function): Make obsolete.
4692 (minibuffer-completion-help): Adjust accordingly.
4693 Use completion-list-insert-choice-function.
4694 (completion-at-point, completion-help-at-point):
4695 Bind completion-extra-properties.
4696 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
4697 * simple.el (completion-list-insert-choice-function): New var.
4698 (completion-setup-function): Preserve it.
4699 (choose-completion): Pay attention to it, shuffle the code a bit.
4700 (choose-completion-string): New arg `insert-function'.
4701
4702 * textmodes/bibtex.el: Convert to lexical binding.
4703 (bibtex-mode-map): Use completion-at-point.
4704 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
4705 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
4706 (bibtex-complete): Define as obsolete alias.
4707 (bibtex-complete-internal): Remove.
4708 (bibtex-format-entry): Remove unused sub-group in regexp.
4709 * shell.el (shell--command-completion-data)
4710 (shell-environment-variable-completion):
4711 * pcomplete.el (pcomplete-completions-at-point):
4712 * comint.el (comint--complete-file-name-data): Use :exit-function
4713 instead of completion-table-with-terminator so it also works for
4714 choose-completion.
4715
e44e373d
SM
47162011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4f91a816
SM
4718 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
4719
782fc819
SM
4720 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
4721 (bug#8710).
4722
e44e373d
SM
4723 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
4724
381987c3
KM
47252011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
4726
4727 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
4728 customization variable and implement: If non-nil, auto-fill will
4729 be inhibited while on topic's header line.
4730
b776bc70
VB
47312011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
4732
4733 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 4734 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
4735 always have a solution in grid size = 5 cases.
4736 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
4737 (5x5-solver-output, 5x5-log-buffer): New vars.
4738 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
4739 Make these variables buffer local to achieve 5x5 multi-session-ness.
4740 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
4741 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
4742 (5x5-solve-suggest): New funs.
4743 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
4744 randomize a grid so that we ensure that there is always a solution.
4745 (5x5-make-random-grid): Allow other movement than flipping.
4746
7de88b6e
KR
47472011-05-23 Kevin Ryde <user42@zip.com.au>
4748
4749 * emacs-lisp/advice.el (ad-read-advised-function):
4750 Use `function-called-at-point' as the default default, if it has
4751 advice and passes PREDICATE.
4752
b1ef1257
SM
47532011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4754
bbca48fe
SM
4755 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
4756 byte-compile-lambda if it's actually a lambda.
4757
b1ef1257
SM
4758 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
4759 Fix function quoting. Use backquote better.
4760
92a9cc65
YS
47612011-05-22 Yuanle Song <sylecn@gmail.com>
4762
4763 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
4764 matching (Bug#8516).
4765
f0fb8059
JA
47662011-01-22 Jari Aalto <jari.aalto@cante.net>
4767
4768 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
4769 different face (Bug#8178).
4770
d5b44c93
CY
47712011-05-22 Chong Yidong <cyd@stupidchicken.com>
4772
4773 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
4774 defface (Bug#8144).
4775
79106a44
SM
47762011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
4777
9c848d8a
SM
4778 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
4779 funcall as well (bug#8712). Warn when performing those conversions.
4780 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
4781
79106a44
SM
4782 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
4783
88dfa756
GM
47842011-05-22 Glenn Morris <rgm@gnu.org>
4785
4786 * files.el (hack-local-variables-prop-line): Small simplifications.
4787 (hack-local-variables, hack-local-variables-prop-line):
4788 If MODE-ONLY, return the mode, rather than just `t'.
4789
b7cf2c79
SM
47902011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4791
4792 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
4793
3f1a8558
GM
47942011-05-21 Glenn Morris <rgm@gnu.org>
4795
7e4ccca3
GM
4796 * files.el (hack-local-variables-prop-line, hack-local-variables):
4797 If only interested in the mode, don't bother doing the other stuff.
4798
637d46ca
GM
4799 * image-mode.el (image-after-revert-hook):
4800 Redraw all frames on which the image is visible. (Bug#8567)
4801
973d955b
GM
4802 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
4803
3f1a8558
GM
4804 * wid-edit.el (widget-checklist-match-inline):
4805 Fix 2011-04-19 change. (Bug#8649)
4806
96479927
SM
48072011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
4808
1dcf791f
SM
4809 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
4810 Also allow singlespace after single-letter capitals followed by a dot.
4811
96479927
SM
4812 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
4813 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
4814
35fd0881
N
48152011-05-20 Nix <nix@esperi.org.uk>
4816
4817 * files.el (basic-save-buffer-2):
4818 Fix handling of break-hardlink-on-save with non-existent files.
4819
82745640
DD
48202011-05-19 Deniz Dogan <deniz@dogan.se>
4821
4822 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 4823 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 4824
4a720484
GM
48252011-05-19 Glenn Morris <rgm@gnu.org>
4826
d1f21341
GM
4827 * progmodes/f90.el (f90-type-def-re):
4828 Handle "type, bind(c)". (Bug#8691)
4829
4a720484
GM
4830 * emacs-lisp/autoload.el (batch-update-autoloads):
4831 Set autoload-excludes by parsing loadup.el rather than Makefiles.
4832
2fb0a219
MA
48332011-05-18 Michael Albinus <michael.albinus@gmx.de>
4834
4835 * net/tramp.el (tramp-process-actions): Set "first-password-request"
4836 property for the correct connection in case of multihops.
4837
e565dd37
GM
48382011-05-18 Glenn Morris <rgm@gnu.org>
4839
c2571358 4840 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
4841 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
4842
e565dd37
GM
4843 Rationalize calendar handling of day and month abbrev-arrays.
4844 * calendar/calendar.el (calendar-customized-p): New function.
4845 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
4846 (calendar-day-name-array, calendar-month-name-array): Doc fix.
4847 Add :set function.
4848 (calendar-abbrev-length, calendar-day-abbrev-array)
4849 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
4850 (calendar-day-abbrev-array, calendar-month-abbrev-array):
4851 Elements may no longer be nil.
4852 (calendar-day-name, calendar-month-name):
4853 Update for changed nature of abbrev arrays.
4854 * calendar/diary-lib.el (diary-name-pattern):
4855 Update for changed nature of abbrev arrays.
4856 (diary-mark-entries-1): Update calendar-make-alist calls.
4857 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
4858 * calendar/cal-html.el (cal-html-day-abbrev-array):
4859 Simply inherit from calendar-day-abbrev-array.
4860
1d99a745
SM
48612011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4862
4863 * progmodes/grep.el (grep-mode): Disable default
4864 compilation-directory-matcher setting (bug#8684).
4865
7c1d9aa0
MA
48662011-05-17 Michael Albinus <michael.albinus@gmx.de>
4867
4868 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
4869 instead of "head" and "tail". There were problems with SunOS 5.9,
4870 and it performs better.
4871
3952e9d8
GM
48722011-05-17 Glenn Morris <rgm@gnu.org>
4873
2dd12e7f
GM
4874 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
4875
e4157b9c
GM
4876 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4877 Replace obsolete function.
4878
8e249bbd
GM
4879 * shell.el (pcomplete-parse-arguments-function): Declare.
4880
3952e9d8
GM
4881 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
4882 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
4883 (appt-check): Doc fixes.
4884 (appt-disp-window-function, appt-delete-window-function):
4885 Remove needless special case in custom :type.
4886 (appt-display-count): Default to 0, not nil.
4887 (appt-check): Reset appt-display-count to 0, not nil.
4888
c71a0d48 48892011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 4890
c71a0d48
GM
4891 * progmodes/python.el (python-font-lock-keywords):
4892 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 4893
31d55be9
SM
48942011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
4897
3bfacb2f
KR
48982011-05-16 Kevin Ryde <user42@zip.com.au>
4899
4900 * info-look.el (makefile-automake-mode): New setups, looking in
4901 automake manual, then makefile-mode.
4902 (makefile-mode): Remove automake manual, have it just in
4903 makefile-automake-mode since there's various things different or
4904 not relevant to plain make.
4905 (makefile-mode): Remove "other-modes" non-existent automake-mode,
4906 believe a hypothetical automake-mode would go to makefile-mode,
4907 not the other way around.
4908
c8e83751
CY
49092011-05-15 Chong Yidong <cyd@stupidchicken.com>
4910
5e9e35cd
CY
4911 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
4912 hunk-end tags (Bug#8672).
4913
c8e83751
CY
4914 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
4915 vc-annotate-show-diff-revision-at-line (Bug#8671).
4916
50b23e5a
GM
49172011-05-14 Glenn Morris <rgm@gnu.org>
4918
7210a739
GM
4919 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
4920 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
4921 (change-log-font-lock-keywords): Also handle multiple author lines
4922 with leading tabs. (Bug#8644)
7210a739 4923
4691905a
GM
4924 * calendar/appt.el (appt-check): Rename some local variables.
4925 Some simplification/reordering.
4926
50b23e5a
GM
4927 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
4928 (feedmail-sendmail-f-doesnt-sell-me-out)
4929 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
4930 (feedmail-debug-sit-for, feedmail-queue-express-hook)
4931 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
4932 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
4933 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
4934 (feedmail-binmail-gnulinuxish-template):
4935 Rename from feedmail-binmail-linuxish-template.
4936 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
4937 Use insert-buffer-substring.
4938
215cda7c
BC
49392011-05-14 Bill Carpenter <bill@carpenter.org>
4940
4941 * mail/feedmail.el (feedmail-patch-level): Increase.
4942 (feedmail-debug): New custom group.
4943 (feedmail-confirm-outgoing-timeout)
4944 (feedmail-sendmail-f-doesnt-sell-me-out)
4945 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
4946 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
4947 (feedmail-sender-line, feedmail-from-line)
4948 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 4949 (feedmail-spray-this-address)
215cda7c
BC
4950 (feedmail-spray-address-fiddle-plex-list)
4951 (feedmail-queue-use-send-time-for-date)
4952 (feedmail-queue-use-send-time-for-message-id)
4953 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
4954 (feedmail-buffer-eating-function):
4955 Doc fixes.
4956 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
4957 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
4958 (feedmail-message-action-scroll-down): New functions.
4959 (feedmail-queue-directory, feedmail-queue-draft-directory):
4960 Use expand-file-name.
4961 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
4962 Remove C-v help entry.
4963 (feedmail-queue-buffer-file-name): New variable.
4964 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
4965 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
4966 (feedmail-message-action-send-strong, feedmail-message-action-edit)
4967 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
4968 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
4969 (feedmail-message-action-toggle-spray)
4970 (feedmail-run-the-queue-no-prompts)
4971 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
4972 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
4973 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
4974 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
4975 (feedmail-envelope-deducer, feedmail-fiddle-from)
4976 (feedmail-fiddle-sender, feedmail-default-date-generator)
4977 (feedmail-fiddle-date, feedmail-fiddle-message-id)
4978 (feedmail-fiddle-spray-address)
4979 (feedmail-fiddle-list-of-spray-fiddle-plexes)
4980 (feedmail-fiddle-list-of-fiddle-plexes)
4981 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
4982 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
4983 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
4984 Change default. Doc fix.
4985 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
4986 (feedmail-binmail-linuxish-template): New constant.
4987 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
4988 Respect feedmail-sendmail-f-doesnt-sell-me-out.
4989 (feedmail-send-it): Add debug call.
4990 Use feedmail-queue-buffer-file-name, and
4991 feedmail-send-it-immediately-wrapper.
4992 (feedmail-message-action-send): Add debug call.
4993 Use feedmail-send-it-immediately-wrapper.
4994 (feedmail-queue-express-to-queue): Add debug call.
4995 Run feedmail-queue-express-hook.
4996 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
4997 (feedmail-message-action-help-blat):
4998 Rename from feedmail-queue-send-edit-prompt-help-first.
4999 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5000 Check line-endings. Handle errors better.
5001 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5002 Doc fix. Add debug call.
5003 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5004 Use feedmail-queue-send-edit-prompt-inner.
5005 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5006 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5007 from feedmail-queue-send-edit-prompt.
5008 (feedmail-queue-send-edit-prompt-help)
5009 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5010 (feedmail-tidy-up-slug): Add debug call.
5011 Respect feedmail-queue-slug-suspect-regexp.
5012 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5013 (feedmail-dump-message-to-queue): Add debug call.
5014 Expand queue-directory.
5015 (feedmail-dump-message-to-queue): Change message slightly.
5016 Use feedmail-say-chatter.
5017 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
5018 (feedmail-send-it-immediately-wrapper): New function.
5019 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
5020 Insert empty string rather than newline. Handle full-frame case.
5021 Use catch/throw. Use feedmail-say-chatter.
5022 (feedmail-fiddle-from): Try mail-host-address.
5023 (feedmail-default-message-id-generator): Doc fix.
5024 Bind system-time-locale. Handle missing end.
5025 (feedmail-fiddle-x-mailer): Add debug call.
5026 Handle feedmail-x-mailer-line being nil.
5027 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5028 Add debug call. Use buffer-substring-no-properties.
5029 (feedmail-say-debug, feedmail-say-chatter): New functions.
5030 (feedmail-find-eoh): Give an explicit error.
5031
42c7e61e
UJ
50322011-05-13 Ulf Jasper <ulf.jasper@web.de>
5033
c2571358 5034 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 5035 family from helvetica to sans.
c2571358 5036 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5037 etc/images/newsticker.
5038
c2571358 5039 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
5040 family from helvetica to sans.
5041
5042 * net/newst-plainview.el (newsticker-new-item-face)
5043 (newsticker-old-item-face, newsticker-immortal-item-face)
5044 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 5045 (newsticker-statistics-face): Change default family from
42c7e61e 5046 helvetica to sans.
c2571358 5047 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5048 etc/images/newsticker.
5049
5050 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5051 (newsticker--process-auto-mark-filter-match): : Tell user about
5052 auto-marking.
5053
8497a297
DV
50542011-05-13 Didier Verna <didier@xemacs.org>
5055
5056 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
5057 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5058 TODO entries.
8497a297
DV
5059 (lisp-lambda-list-keyword-parameter-indentation)
5060 (lisp-lambda-list-keyword-parameter-alignment)
5061 (lisp-lambda-list-keyword-alignment): New customizable user options.
5062 (lisp-indent-defun-method): Improve docstring.
5063 (extended-loop-p): Fix comment.
5064 (lisp-indent-lambda-list-keywords-regexp): New variable.
5065 (lisp-indent-lambda-list): New function.
5066 (lisp-indent-259): Use it.
5067 (lisp-indent-defmethod): Support for more than one
5068 method qualifier and properly indent methods lambda-lists.
5069 (defgeneric): Provide a missing common-lisp-indent-function property.
5070
f278f87f
SM
50712011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5072
5073 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5074 bounds for the empty string (bug#8667).
5075
5233edd7
GM
50762011-05-13 Glenn Morris <rgm@gnu.org>
5077
5237a44f
GM
5078 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5079
8340026c 5080 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 5081 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 5082
5233edd7 5083 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 5084 (appt-time-msg-list): Doc fix.
a5464014 5085 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 5086
92d10796
AS
50872011-05-12 Andreas Schwab <schwab@linux-m68k.org>
5088
5089 * progmodes/ld-script.el (ld-script-keywords)
5090 (ld-script-builtins): Update keywords list.
5091
914a0ae1
SM
50922011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5093
c89be45f
SM
5094 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5095
914a0ae1
SM
5096 * shell.el (shell-completion-vars): New function.
5097 (shell-mode):
5098 * simple.el (read-shell-command): Use it.
5099 (blink-matching-open): No need for " [...]" in minibuffer-message.
5100
98dc3df3
GM
51012011-05-12 Glenn Morris <rgm@gnu.org>
5102
5103 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5104 (appt-check): Simplify.
5105
d2fc7e3d 51062011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 5107
4d61f28d 5108 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
5109 literal "/dev/null".
5110
d2fc7e3d 51112011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
5112
5113 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5114 Fix typo.
5115
d2fc7e3d 51162011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 5117
3f254caa
SM
5118 * progmodes/which-func.el (which-function):
5119 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
5120 which might not be defined (Bug#8260).
5121
d45885f7
GM
51222011-05-12 Glenn Morris <rgm@gnu.org>
5123
5124 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5125 Let byte-compile-initial-macro-environment always take precedence.
5126
488086f4
SM
51272011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * net/rcirc.el: Add support for SSL/TLS connections.
5130 (rcirc-server-alist): New field `encryption'.
5131 (rcirc): Check `encryption' settings.
5132 (rcirc-connect): New arg `encryption'. Use open-network-stream.
5133 Merge make-local-variable into `set'.
5134 (rcirc--connection-open-p): New function.
5135 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
5136 the process is not a network process (e.g. running gnutls-cli).
5137 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
5138 Make rcirc-(en|de)code-coding-system local here.
5139 (rcirc-mode): Merge make-local-variable into `set'.
5140 (rcirc-parent-buffer): Make permanent buffer-local.
5141 (rcirc-multiline-minor-mode): Don't do it here.
5142 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
5143 there's no server buffer.
5144
7d3b9d44
GM
51452011-05-11 Glenn Morris <rgm@gnu.org>
5146
f64049c6
GM
5147 * newcomment.el (comment-kill): Prefix "unused" local.
5148
93c9df73
GM
5149 * term/w32console.el (get-screen-color): Declare.
5150
7d3b9d44
GM
5151 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5152 Handle symbol elements of byte-compile-initial-macro-environment.
5153
9e2dd53f
LL
51542011-05-10 Leo Liu <sdl.web@gmail.com>
5155
488086f4
SM
5156 * bookmark.el (bookmark-bmenu-mode-map):
5157 Bind bookmark-bmenu-search to `/'.
8b340240 5158
9e2dd53f 5159 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
5160 (footnote-unicode-string, footnote-unicode-regexp): New variable.
5161 (Footnote-unicode): New function.
5162 (footnote-style-alist): Add unicode style to the list.
5163 (footnote-style): Doc fix.
9e2dd53f 5164
79b70037
GM
51652011-05-10 Jim Meyering <meyering@redhat.com>
5166
5167 Fix doubled-word typos.
5168 * international/quail.el (quail-insert-kbd-layout): and and -> and
5169 * kermit.el: and and -> and
5170 * net/ldap.el (ldap-search-internal): to to -> to
5171 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
5172 * progmodes/js.el (js-mode): and and -> and
5173 * textmodes/artist.el (artist-move-to-xy): at at -> at
5174 (artist-draw-region-trim-line-endings): if if -> if
5175 And Safetyc -> Safety.
5176 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
5177
b8f82dc1 51782011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 5179 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
5180
5181 * files.el (hack-one-local-variable-eval-safep):
5182 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
5183
4f99f44b
GM
51842011-05-10 Glenn Morris <rgm@gnu.org>
5185
5186 * calendar/diary-lib.el (diary-list-entries-hook)
5187 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
5188 (diary-nongregorian-marking-hook, diary-list-entries)
5189 (diary-include-other-diary-files, diary-mark-entries)
5190 (diary-mark-included-diary-files): Doc fixes.
5191
84f29e6b
JB
51922011-05-09 Juanma Barranquero <lekktu@gmail.com>
5193
5194 * misc.el: Require tabulated-list.el during compilation.
5195
9bedd73a
CY
51962011-05-09 Chong Yidong <cyd@stupidchicken.com>
5197
488086f4
SM
5198 * progmodes/compile.el (compilation-start):
5199 Run compilation-filter-hook for the async case too.
9bedd73a
CY
5200 (compilation-filter-hook): Doc fix.
5201
797c735c
DD
52022011-05-09 Deniz Dogan <deniz@dogan.se>
5203
5204 * wdired.el: Remove outdated installation comment. Fix usage
5205 comment.
5206
5f4b1dfe
JB
52072011-05-09 Juanma Barranquero <lekktu@gmail.com>
5208
5209 * misc.el: Implement new command `list-dynamic-libraries'.
5210 (list-dynamic-libraries--loaded-only-p): New variable.
5211 (list-dynamic-libraries--refresh): New function.
5212 (list-dynamic-libraries): New command.
5213
4c44026c
CY
52142011-05-09 Chong Yidong <cyd@stupidchicken.com>
5215
488086f4
SM
5216 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5217 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
5218 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
5219 higher priority to avoid clobbering by gnu.
5220
027f966d
CY
52212011-05-08 Chong Yidong <cyd@stupidchicken.com>
5222
5223 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
5224 if the face has existing theme settings (Bug#8454).
5225
085f5d7d
CY
52262011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
5227
488086f4
SM
5228 * progmodes/perl-mode.el (perl-imenu-generic-expression):
5229 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 5230
2a86a00c
RS
5231 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
5232 special file names `.' and `..' (Bug#8259).
5233
d9c54a06
CY
52342011-05-08 Chong Yidong <cyd@stupidchicken.com>
5235
488086f4
SM
5236 * progmodes/grep.el (grep-mode-font-lock-keywords):
5237 Remove buffer-changing entries.
d9c54a06
CY
5238 (grep-filter): New function.
5239 (grep-mode): Add it to compilation-filter-hook.
5240
5241 * progmodes/compile.el (compilation-filter-hook)
5242 (compilation-filter-start): New defvars.
5243 (compilation-filter): Call compilation-filter-hook prior to
5244 updating the process mark.
5245
c4662635
SM
52462011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5247
5248 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
5249
b0512a1d
EZ
52502011-05-07 Eli Zaretskii <eliz@gnu.org>
5251
605c9376
EZ
5252 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
5253 mailclient-send-it even if window-system is nil. (Bug#8595)
5254
c4662635
SM
5255 * term/w32console.el (terminal-init-w32console):
5256 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
5257 background-mode. (Bug#8597)
5258
d1dc2cc2
SM
52592011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 Make bytecomp.el understand that defmethod defines funs (bug#8631).
5262 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
5263 New functions.
5264 (defgeneric, eieio--defmethod): Use them.
5265 (eieio-defgeneric): Remove.
5266 (defmethod): Call defgeneric in a way visible to the byte-compiler.
5267
915d1300
GM
52682011-05-07 Glenn Morris <rgm@gnu.org>
5269
a3961c3e
GM
5270 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
5271 Use let rather than let*.
5272 (timeclock-find-discrep): Remove unused local.
5273
314347b9
GM
5274 * calendar/diary-lib.el (diary-comment-start): Doc fix.
5275
915d1300
GM
5276 * calendar/appt.el (appt-time-msg-list): Doc fix.
5277
275b59b0
NF
52782011-05-06 Noah Friedman <friedman@splode.com>
5279
5280 * apropos.el (apropos-print-doc): Only use
5281 emacs-lisp-docstring-fill-column when it is bound to an integer,
5282 per that variable's documentation.
5283
6c19f744
SM
52842011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 5287 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 5288
60f884b2
GM
52892011-05-06 Glenn Morris <rgm@gnu.org>
5290
5006e634
GM
5291 * calendar/appt.el (appt-message-warning-time): Doc fix.
5292 (appt-warning-time-regexp): New option.
5293 (appt-make-list): Respect appt-message-warning-time.
5294
548d0a63
GM
5295 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
5296 New options.
5297 (diary-add-to-list): Strip comments from the displayed string.
5298 (diary-mode): Set comment-start and comment-end.
5299
60f884b2
GM
5300 * vc/diff-mode.el (smerge-refine-subst): Declare.
5301 (diff-refine-hunk): Don't require smerge-mode when compiling.
5302
989681bb
JB
53032011-05-06 Juanma Barranquero <lekktu@gmail.com>
5304
5305 * simple.el (list-processes): Return nil as the docstring says.
5306
a6bc05e1
MA
53072011-05-05 Michael Albinus <michael.albinus@gmx.de>
5308
5309 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
5310 to "".
5311 (ange-ftp-write-region, ange-ftp-insert-file-contents)
5312 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
5313 determining of binary transfer. (Bug#7383)
5314
23c22e9a
MA
53152011-05-05 Michael Albinus <michael.albinus@gmx.de>
5316
c4662635
SM
5317 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5318 Fix port computation bug. (Bug#8618)
23c22e9a 5319
0bff894f
GM
53202011-05-05 Glenn Morris <rgm@gnu.org>
5321
b8296902
GM
5322 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
5323
1f522ce8
GM
5324 * simple.el (shell-dynamic-complete-functions)
5325 (comint-dynamic-complete-functions): Declare.
5326
cf5bee67
GM
5327 * net/network-stream.el (gnutls-negotiate):
5328 * simple.el (tabulated-list-print): Fix declarations.
5329
5330 * progmodes/gud.el (syntax-symbol, syntax-point):
5331 Remove unnecessary and incorrect declarations.
5332
0bff894f
GM
5333 * emacs-lisp/check-declare.el (check-declare-scan):
5334 Handle byte-compile-initial-macro-environment in bytecomp.el
5335
9869b3ae
SM
53362011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5337
5338 Fix earlier half-done eieio-defmethod change (bug#8338).
5339 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
5340 Streamline and change calling convention.
5341 (defmethod): Adjust accordingly and simplify.
5342 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
5343 new eieio--defmethod.
5344 (slot-boundp): Minor CSE simplification.
5345
9c1d5ac5
MZ
53462011-05-05 Milan Zamazal <pdm@zamazal.org>
5347
5348 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
5349 (glasses-make-readable): Use glasses-separate-capital-groups.
5350
455c834e
JB
53512011-05-05 Juanma Barranquero <lekktu@gmail.com>
5352
5353 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
5354 (warning-series): Doc fix.
5355 (display-warning): Don't try to create the buffer if we just found it.
5356
9ed7c8cb
CY
53572011-05-04 Chong Yidong <cyd@stupidchicken.com>
5358
5359 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
5360 (autoload-find-generated-file): New function.
5361 (generate-file-autoloads): Bind generated-autoload-file to
5362 buffer-file-name.
9869b3ae
SM
5363 (update-file-autoloads, update-directory-autoloads):
5364 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
5365 output file (Bug#7989).
5366 (batch-update-autoloads): Doc fix.
5367
0898ca10
JB
53682011-05-04 Juanma Barranquero <lekktu@gmail.com>
5369
5370 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
5371
31dfb76c
GM
53722011-05-04 Glenn Morris <rgm@gnu.org>
5373
f330b642
GM
5374 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
5375 function, so it follows changes in calendar-date-style.
5376 (diary-fancy-date-matcher): New function.
5377 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
5378 (diary-fancy-font-lock-fontify-region-function):
5379 Use diary-fancy-date-pattern as a function.
5380
31dfb76c
GM
5381 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
5382 non-numbers for `year' etc pseudo-variables. (Bug#8583)
5383
48e79d6a
TZ
53842011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
5385
5386 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
5387 instead of positional arguments. Allow :keylist and :crlfiles
5388 arguments.
5389 (open-gnutls-stream): Call it.
5390
5391 * net/network-stream.el (network-stream-open-starttls): Adjust to
5392 call `gnutls-negotiate' with :process and :hostname arguments.
5393
dd5a5ee0
SM
53942011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5395
ef80fc09
SM
5396 * minibuffer.el (completion--message): New function.
5397 (completion--do-completion, minibuffer-complete)
5398 (minibuffer-force-complete, minibuffer-complete-word): Use it.
5399 (completion--do-completion): Don't ignore completion-auto-help when in
5400 icomplete-mode.
5401
dd5a5ee0
SM
5402 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
5403 internal encoding (e.g. tibetan zero is not whitespace).
5404 (global-whitespace-mode): Prefer save-current-buffer.
5405 (whitespace-trailing-regexp): Remove useless save-match-data.
5406 (whitespace-empty-at-bob-regexp): Minor simplification.
5407
b7d22a83
CY
54082011-05-03 Chong Yidong <cyd@stupidchicken.com>
5409
5410 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
5411
5192af46
AM
54122011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5413
5414 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 5415 Use `concat' to create string for insertion.
5192af46 5416
5767d190
SM
54172011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5418
5419 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
5420 Avoid open-line which runs post-self-insert-hook.
5421 (bibtex-fill-entry): Remove unused `end' var.
5422
bf242939
AM
54232011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
5424
5767d190
SM
5425 * textmodes/ispell.el (ispell-add-per-file-word-list):
5426 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 5427
25666126
LL
54282011-05-03 Leo Liu <sdl.web@gmail.com>
5429
5430 * isearch.el (isearch-yank-pop): New command.
5767d190 5431 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
5432 (isearch-forward): Mention it.
5433
52d3c2d0
SM
54342011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5435
1bcace58
SM
5436 * simple.el (minibuffer-complete-shell-command): Remove.
5437 (minibuffer-local-shell-command-map): Use completion-at-point.
5438 (read-shell-command): Setup completion vars here instead.
5439 (read-expression-map): Bind TAB to symbol completion.
5440
52d3c2d0
SM
5441 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
5442 error directly rather via storing it into `results'.
5443
35813471
LL
54442011-05-02 Leo Liu <sdl.web@gmail.com>
5445
5446 * vc/diff.el: Fix description.
5447
e793a940
LMI
54482011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5449
5450 * server.el (server-eval-at): New function.
5451
8de66e05
LMI
54522011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5453
5454 * net/network-stream.el (open-network-stream): Take a :nowait
5455 parameter and pass it on to `make-network-process'.
5456 (network-stream-open-plain): Ditto.
5457
dcb79f20
AS
54582011-04-30 Andreas Schwab <schwab@linux-m68k.org>
5459
5460 * faces.el (face-spec-set-match-display): Don't match toolkit
5461 options on terminal frames.
5462
14a7fbd8
SM
54632011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
5464
7eabc1be
SM
5465 * progmodes/pascal.el: Use lexical binding.
5466 (pascal-mode-map): Remove author preferences.
5467
14a7fbd8
SM
5468 * pcomplete.el (pcomplete-std-complete): Don't abuse
5469 completion-at-point.
5470
50f84510
JB
54712011-04-28 Juanma Barranquero <lekktu@gmail.com>
5472
6e087a44
JB
5473 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
5474 removing code that has been dead since 1991 or so.
5475
50f84510
JB
5476 * startup.el (command-line): When warning about "_emacs", use a
5477 delayed warning to allow the user to filter it out.
5478
0ba690bd
DD
54792011-04-28 Deniz Dogan <deniz@dogan.se>
5480
5481 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
5482 user has not joined.
5483
08abfaad
SM
54842011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5485
5486 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
5487 aren't any completions at point.
5488
638f053a
JB
54892011-04-28 Juanma Barranquero <lekktu@gmail.com>
5490
5491 * subr.el (display-delayed-warnings): New function.
5492 (delayed-warnings-hook): New variable.
5493
8fff8daa
SM
54942011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5495
08abfaad
SM
5496 * minibuffer.el (completion-at-point, completion-help-at-point):
5497 Don't presume that a given completion-at-point-function will always
5498 use the same calling convention.
5499
8fff8daa
SM
5500 * pcomplete.el (pcomplete-completions-at-point):
5501 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
5502 pcomplete-seen is non-nil.
5503 (pcomplete-comint-setup): Also recognize the new comint/shell
5504 completion functions.
5505 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
5506 pcomplete-seen is non-nil.
5507
841a1577 55082011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 5509
841a1577 5510 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 5511 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 5512 the first character in the entry. This allows for code to add its
211ec907
UJ
5513 own uid to the entry.
5514 (icalendar--convert-float-to-ical): Add export of
5515 `diary-float'-entries save for those with the optional DAY
5516 argument.
5517
2a782793
DC
55182011-04-27 Daniel Colascione <dan.colascione@gmail.com>
5519
5520 * subr.el (shell-quote-argument): Use alternate escaping strategy
5521 when we spot a variable reference in a string.
5522
0438ce91
DC
55232011-04-26 Daniel Colascione <dan.colascione@gmail.com>
5524
5525 * cus-start.el (all): Define customization for debug-on-event.
5526
841a1577 55272011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
5528
5529 * subr.el (shell-quote-argument): Escape correctly under Windows.
5530
d090ed6c
SM
55312011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
5534
bfd31217
MA
55352011-04-25 Michael Albinus <michael.albinus@gmx.de>
5536
d090ed6c
SM
5537 * net/tramp.el (tramp-process-actions): Add POS argument.
5538 Delete region between POS and (pos).
bfd31217 5539
d090ed6c
SM
5540 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5541 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
5542 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
5543
5544 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
5545 position in `tramp-process-actions' call.
5546
5547 * net/trampver.el: Update release number.
5548
e92f3bd3
SM
55492011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5550
850256b5
SM
5551 * custom.el (defcustom): Obey lexical-binding.
5552
e92f3bd3
SM
5553 Fix octave-inf completion problems reported by Alexander Klimov.
5554 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
5555 Inherit from octave-mode-syntax-table.
5556 (inferior-octave-mode): Set info-lookup-mode.
5557 (inferior-octave-completion-at-point): New function.
5558 (inferior-octave-complete): Use it and completion-in-region.
5559 (inferior-octave-dynamic-complete-functions): Use it as well, and use
5560 comint-filename-completion.
5561 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
5562 symbol elements which shouldn't be word elements.
5563 (octave-font-lock-keywords, octave-beginning-of-defun)
5564 (octave-function-header-regexp): Adjust regexps accordingly.
5565 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
5566
cd22b309
JB
55672011-04-25 Juanma Barranquero <lekktu@gmail.com>
5568
5569 * net/gnutls.el (gnutls-errorp): Declare before first use.
5570
8b492194
TZ
55712011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
5572
5573 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
5574 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
5575 default trustfile exists before going to use it. Add missing
5576 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
5577 Reported by Claudio Bley <claudio.bley@gmail.com>.
5578 (open-gnutls-stream): Add usage example.
5579
5580 * net/network-stream.el (network-stream-open-starttls): Give host
5581 parameter to `gnutls-negotiate'.
5582 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 5583 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 5584
841a1577 55852011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 5586
cd22b309
JB
5587 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5588 Use correct match group (bug#8438).
05842630 5589
3ba7869c
CY
55902011-04-24 Chong Yidong <cyd@stupidchicken.com>
5591
512e3ae1
CY
5592 * emacs-lisp/package.el (package-built-in-p): Fix typo.
5593 (package-menu--generate): New arg specifying packages to show.
5594 (package-menu-refresh, package-menu-execute, list-packages):
5595 Callers changed.
5596 (package-show-package-list): New function, replacing deleted
5597 package--list-packages (renamed because it is non-internal).
5598
5599 * finder.el (finder-list-matches): Use package-show-package-list
5600 instead of deleted package--list-packages.
5601
e92f3bd3
SM
5602 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
5603 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
5604 (vc-annotate-mode-map): Bind it to RET.
5605
7031be6d
UR
56062011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
5607
5608 * progmodes/etags.el (next-file): Don't use set-buffer to change
5609 buffers (Bug#8478).
5610
4ef177aa
CY
56112011-04-24 Chong Yidong <cyd@stupidchicken.com>
5612
c8d173eb
CY
5613 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
5614
4ef177aa
CY
5615 * apropos.el (apropos-label-face): Avoid variable-pitch face.
5616 (apropos-accumulator): Doc fix.
5617 (apropos-function, apropos-macro, apropos-command)
5618 (apropos-variable, apropos-face, apropos-group, apropos-widget)
5619 (apropos-plist): Add face property.
5620 (apropos-symbols-internal): Fix indentation.
5621 (apropos-print): Simplify help, and recognize apropos-multi-type.
5622 (apropos-print-doc): Use button-type-get to extract the button's
5623 face property. Fill docstring (Bug#8352).
5624
4ffd0d6b 56252011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
5626
5627 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
5628
c6c32125 5629 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 5630 (mpuz-mode-map): Use mapc.
c6c32125
JB
5631 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
5632 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
5633 Fix typos in docstrings.
5634
58d468b4
JB
5635 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
5636 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
5637
6470c3c6
JB
5638 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
5639
4ffd0d6b 56402011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
5641
5642 * minibuffer.el (completion--do-completion): Avoid the "Next char
5643 not unique" prompt if icomplete-mode is enabled (Bug#5849).
5644
3ad8bad0
CY
5645 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
5646 mouse-2 into unread-command-events, it is interpreted correctly.
5647
71d73c9c 5648 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 5649 (image-toggle-display): Doc fix.
71d73c9c 5650
841a1577 56512011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 5652
4ffd0d6b
GM
5653 * textmodes/page.el (what-page): Use line-number-at-pos to
5654 calculate line number (Bug#6825).
6e1dbaa9 5655
c2fb1b60
JB
56562011-04-22 Juanma Barranquero <lekktu@gmail.com>
5657
5658 * eshell/esh-mode.el (find-tag-interactive): Declare function.
5659 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
5660 Pass argument NO-DEFAULT to `find-tag-interactive'.
5661
e02f48d7
JB
56622011-04-22 Juanma Barranquero <lekktu@gmail.com>
5663
5664 Lexical-binding cleanup.
5665
5666 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
5667 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
5668 * progmodes/ada-prj.el (ada-prj-initialize-values)
5669 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
5670 (ada-prj-show-value):
5671 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
5672 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
5673 (antlr-invalidate-context-cache, antlr-options-menu-filter)
5674 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
5675 * progmodes/bug-reference.el (bug-reference-push-button):
5676 * progmodes/fortran.el (fortran-line-length):
5677 * progmodes/glasses.el (glasses-change):
5678 * progmodes/octave-mod.el (octave-fill-paragraph):
5679 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
5680 (python-pdbtrack-grub-for-buffer, python-sentinel):
5681 * progmodes/sql.el (sql-save-connection):
5682 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
5683 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
5684 Mark unused parameters.
5685
5686 * progmodes/compile.el (compilation--flush-directory-cache)
5687 (compilation--flush-parse, compile-internal): Mark unused parameters.
5688 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
5689 (compilation-next-error-function): Remove unused variable `timestamp'.
5690
5691 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
5692 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
5693
5694 * progmodes/dcl-mode.el (dcl-end-of-command):
5695 Remove unused variable `start'.
5696 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
5697 (dcl-option-value-basic, dcl-option-value-offset)
5698 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
5699 Mark unused parameters.
5700 (dcl-save-local-variable): Remove unused variable `val'.
5701 (mode): Declare.
5702
5703 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
5704 Mark unused parameters.
5705 (delphi-ignore-changes): Move before first use.
5706 (delphi-charset-token-at): Remove unused variable `start'.
5707 (delphi-else-start): Remove unused variable `if-count'.
5708 (delphi-comment-block-start, delphi-comment-block-end):
5709 Remove unused variable `kind'.
5710 (delphi-indent-line): Remove unused variable `new-point'.
5711
5712 * progmodes/ebrowse.el (ebrowse-files-list)
5713 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
5714 Mark unused parameters. Don't quote `lambda'.
5715 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
5716 Don't quote `lambda'.
5717 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
5718 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
5719 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
5720 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
5721 Use `ignore-errors'.
5722 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
5723 (ebrowse-view/find-file-and-search-pattern)
5724 (ebrowse-view/find-member-declaration/definition):
5725 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
5726 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
5727 Rename parameter PREFIX-ARG to PREFIX.
5728 (ebrowse-tags-read-name): Remove unused variables `start' and
5729 `member-info'.
5730 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
5731 to `tags-file'.
5732
5733 * progmodes/etags.el (local-find-tag-hook): Declare.
5734 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
5735 Mark unused parameters.
5736
5737 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
5738 (executable-interpret): Mark unused parameter.
5739
5740 * progmodes/flymake.el (flymake-process-sentinel)
5741 (flymake-after-change-function)
5742 (flymake-create-temp-with-folder-structure)
5743 (flymake-get-include-dirs-dot): Mark unused parameters.
5744 (flymake-safe-delete-directory): Remove unused variable `err'.
5745
5746 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
5747 (speedbar-timer-fn, speedbar-line-text)
5748 (speedbar-change-expand-button-char, speedbar-delete-subblock)
5749 (speedbar-center-buffer-smartly): Declare functions.
5750 (gdb-find-watch-expression): Remove unused variable `array'.
5751 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
5752 (gdb-starting): Mark unused parameters.
5753 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
5754 (gdb-table-string): Remove unused variable `res'.
5755 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
5756 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
5757 (gdb-display-buffer): Remove unused variable `cur-size'.
5758
5759 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
5760 allow lexical-binding compilation.
5761 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
5762 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
5763 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
5764 Mark unused parameters.
5765 (gud-gdb-marker-filter): Remove unused variable `match'.
5766 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
5767 lambda expressions and funcall them, instead of using `fset'.
5768
5769 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
5770 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
5771
5772 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
5773 variable `header-beg'; use `let'.
5774
5775 * progmodes/icon.el (indent-icon-exp): Remove unused variables
5776 `restart', `last-sexp' and `at-do'.
5777
5778 * progmodes/js.el (js--debug): Mark unused parameter.
5779 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
5780 (js--splice-into-items): Remove unused variable `item'.
5781 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
5782
5783 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
5784 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
5785 (makefile-complete): Remove unused variable `try'.
5786 (makefile-fill-paragraph, makefile-match-function-end):
5787 Mark unused parameters.
5788
5789 * progmodes/octave-inf.el (inferior-octave-complete):
5790 Remove unused variable `proc'.
5791 (inferior-octave-output-digest): Mark unused parameter.
5792
5793 * progmodes/perl-mode.el (perl-calculate-indent):
5794 Remove unused variable `err'.
5795
5796 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
5797 (prolog-indent-line): Mark unused parameters.
5798 (prolog-indent-line): Remove unused variable `beg'.
5799
5800 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
5801 (reporter-dont-compact-list): Declare.
5802
5803 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
5804 Remove unused variable `char'.
5805 (sh-debug): Mark unused parameter.
5806 (sh-get-indent-info): Remove unused variable `start'.
5807 (sh-calculate-indent): Remove unused variable `var'.
5808
5809 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
5810 (simula-electric-keyword): Remove unused variable `null'.
5811 (simula-search-backward, simula-search-forward): Remove unused
5812 variables `begin' and `end'.
5813
5814 * progmodes/vera-mode.el (vera-guess-basic-syntax):
5815 Remove unused variable `pos'.
5816 (vera-electric-tab, vera-comment-uncomment-region):
5817 Mark unused parameters.
5818 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
5819
7ede3b65
CY
58202011-04-22 Chong Yidong <cyd@stupidchicken.com>
5821
5822 * emacs-lisp/package.el (package--builtins, package-alist)
5823 (package-load-descriptor, package-built-in-p, package-activate)
5824 (define-package, package-installed-p)
5825 (package-compute-transaction, package-buffer-info)
5826 (package--push): Doc fix. Distinguish more clearly between
5827 version strings and version lists.
5828
121656e9
JB
58292011-04-21 Juanma Barranquero <lekktu@gmail.com>
5830
5831 Lexical-binding cleanup.
5832
5833 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
5834 (5x5-make-mutate-best):
5835 * play/fortune.el (fortune-in-buffer):
5836 * play/gomoku.el (gomoku-init-display):
5837 * play/solitaire.el (solitaire, solitaire-do-check):
5838 * play/tetris.el (tetris-default-update-speed-function):
5839 Mark unused parameters.
5840
5841 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
5842 (bubbles--shift): Remove unused variable `char-org'.
5843 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
5844 (bubbles--show-images): Remove unused variable `char'.
5845
5846 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
5847 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
5848 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
5849 (decipher-analyze-buffer): Use ?\s.
5850 (decipher-make-checkpoint): Remove unused variable `mapping'.
5851
5852 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
5853
5854 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
5855 Remove unused variable `result'; use `let'.
5856
5857 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
5858 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
5859 (gametree-children-shown-p, gametree-compute-reduced-score):
5860 Use `ignore-errors'.
5861
5862 * play/handwrite.el (ps-lpr-switches): Declare.
5863 (handwrite): Remove unused variables `pmin' and `lastp'.
5864
5865 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
5866
5867 * play/landmark.el (landmark-init-display)
5868 (landmark-update-naught-weights): Mark unused parameters.
5869 (landmark-y): Remove unused variable `noise'. Simplify.
5870 (landmark-human-plays): Remove unused variable `score'.
5871
5872 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
5873 (mpuz-try-proposal): Remove unused variable `game'.
5874
5875 * play/zone.el (life-patterns): Declare.
5876
80f499c7
JB
58772011-04-20 Juanma Barranquero <lekktu@gmail.com>
5878
5879 * vc/vc.el (ediff-vc-internal): Declare function.
5880
024ff170
SM
58812011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5882
c0a193ea
SM
5883 * shell.el: Use lexical-binding and std completion UI.
5884 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
5885 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
5886 comint-preoutput-filter-functions rather than on
5887 comint-output-filter-functions.
5888 (shell-command-completion, shell--command-completion-data)
5889 (shell-filename-completion, shell-environment-variable-completion)
5890 (shell-c-a-p-replace-by-expanded-directory): New functions.
5891 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
5892 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
5893 (shell-dynamic-complete-environment-variable): Use them.
5894 (shell-dynamic-complete-as-environment-variable)
5895 (shell-dynamic-complete-as-command): Remove.
5896 (shell-match-partial-variable): Match past point.
5897 * comint.el: Clean up use of completion-at-point-functions.
5898 (comint-completion-at-point): New function.
5899 (comint-mode): Use it completion-at-point-functions.
5900 (comint-dynamic-complete): Make it obsolete.
5901 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
5902 (comint-c-a-p-replace-by-expanded-history): New function.
5903 (comint-dynamic-complete-functions)
5904 (comint-replace-by-expanded-history): Use it.
5905 * minibuffer.el (completion-table-with-terminator): Allow dynamic
5906 termination strings. Try harder to avoid second try-completion.
5907 (completion-in-region-mode-map): Disable bindings that don't work yet.
5908
2dbaa080
SM
5909 * comint.el: Use lexical-binding. Require CL.
5910 (comint-dynamic-complete-functions): Use comint-filename-completion.
5911 (comint-completion-addsuffix): Tweak custom type.
5912 (comint-filename-completion, comint--common-suffix)
5913 (comint--common-quoted-suffix, comint--table-subvert)
5914 (comint--complete-file-name-data): New functions.
5915 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
5916 (comint-dynamic-list-filename-completions): Use them.
5917 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 5918
2dbaa080
SM
5919 * minibuffer.el (completion-in-region-mode):
5920 Keep completion-in-region-mode--predicate global.
5921 (completion-in-region--postch):
5922 Assume completion-in-region-mode--predicate is not null.
5923
c79a6f38
SM
5924 * progmodes/flymake.el (flymake-start-syntax-check-process):
5925 Obey `dir'. Simplify.
5926
024ff170
SM
5927 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
5928 we're in VC after all.
5929
1c6c854e
CS
59302011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
5931
5932 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 5933 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
5934 (vc-version-diff): Use vc-diff-build-argument-list-internal.
5935
bed7f140
SM
59362011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5937
332e62ab
SM
5938 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
5939 add sanity check.
5940
bed7f140
SM
5941 * obsolete/erc-hecomplete.el: Make obsolete.
5942 * obsolete/: Standardize obsolescence info in the header.
5943
f195c582
GM
59442011-04-20 Glenn Morris <rgm@gnu.org>
5945
5946 * calendar/solar.el (solar-horizontal-coordinates):
5947 Use the longitude argument rather than `calendar-longitude'.
5948 (solar-date-next-longitude): Remove unused locals.
5949
cb79b8c0
VJL
59502011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5951
5952 * whitespace.el: New version 13.2.1.
5953
59542011-04-20 felix <EmacsWiki> (tiny change)
5955
d8e4b68b 5956 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
5957 switching between major modes on a file.
5958
602ea69d
SM
59592011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
5962 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
5963 multi-line comments as well.
5964
06b60517
JB
59652011-04-19 Juanma Barranquero <lekktu@gmail.com>
5966
5967 Lexical-binding cleanup.
5968
5969 * arc-mode.el (archive-mode-revert):
5970 * cmuscheme.el (scheme-interactively-start-process):
5971 * custom.el (custom-initialize-delay):
5972 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
5973 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
5974 * emacs-lock.el (emacs-lock-clear-sentinel):
5975 * ezimage.el (defezimage):
5976 * follow.el (follow-avoid-tail-recenter):
5977 * fringe.el (set-fringe-mode-1):
5978 * generic-x.el (bat-generic-mode-compile):
5979 * help-mode.el (help-info-variable, help-do-xref)
5980 (help-mode-revert-buffer):
5981 * help.el (view-emacs-todo):
5982 * iswitchb.el (iswitchb-completion-help):
5983 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
5984 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
5985 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
5986 * locate.el (locate-update):
5987 * longlines.el (longlines-encode-region)
5988 (longlines-after-change-function):
5989 * outline.el (outline-isearch-open-invisible):
5990 * ps-def.el (declare-function, charset-dimension, char-width)
5991 (encode-char):
5992 * ps-mule.el (ps-mule-plot-string):
5993 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
5994 (recentf-edit-list-select, recentf-edit-list-validate)
5995 (recentf-open-files-action):
5996 * rect.el (delete-whitespace-rectangle-line)
5997 (rectangle-number-line-callback):
5998 * register.el (window-configuration-to-register)
5999 (frame-configuration-to-register):
6000 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6001 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6002 (xselect-convert-to-targets, xselect-convert-to-delete)
6003 (xselect-convert-to-filename, xselect-convert-to-charpos)
6004 (xselect-convert-to-lineno, xselect-convert-to-colno)
6005 (xselect-convert-to-os, xselect-convert-to-host)
6006 (xselect-convert-to-user, xselect-convert-to-class)
6007 (xselect-convert-to-name, xselect-convert-to-integer)
6008 (xselect-convert-to-atom, xselect-convert-to-identity):
6009 * subr.el (declare, ignore, process-kill-without-query)
6010 (text-clone-maintain):
6011 * terminal.el (te-get-char, te-tic-sentinel):
6012 * tool-bar.el (tool-bar-make-keymap):
6013 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6014 * type-break.el (type-break-mode, type-break-noninteractive-query):
6015 * view.el (View-back-to-mark):
6016 * wid-browse.el (widget-browse-action, widget-browse-widget)
6017 (widget-browse-widgets, widget-browse-sexp):
6018 * widget.el (define-widget-keywords):
6019 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6020 Mark unused parameters.
6021
6022 * align.el (align-adjust-col-for-rule): Mark unused parameter.
6023 (align-areas): Remove unused variable `look'.
6024 (align-region): Remove unused variables `real-end' and `pos-list'.
6025
6026 * apropos.el (apropos-score-doc): Remove unused variable `i'.
6027
6028 * bindings.el (mode-line-modified, mode-line-remote):
6029 Mark unused parameters.
6030 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6031
6032 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6033 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6034
6035 * comint.el (comint-history-isearch-pop-state)
6036 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6037 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6038 (comint-substitute-in-file-name): Doc fix.
6039
6040 * completion.el (cmpl-statistics-block): Mark unused parameter.
6041 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6042 (save-completions-to-file, load-completions-from-file):
6043 Remove unused local variable `e'.
6044
6045 * composite.el (compose-chars): Remove unused variable `len'.
6046 (lgstring-insert-glyph): Remove unused variable `g'.
6047 (compose-glyph-string): Remove unused variables `ascent',
6048 `descent', `lbearing' and `rbearing'.
6049 (compose-glyph-string-relative): Remove unused variables
6050 `lbearing', `rbearing' and `wadjust'.
6051 (compose-gstring-for-graphic): Remove unused variables `header',
6052 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
6053 (compose-gstring-for-terminal): Remove unused variables `header'
6054 and `nchars'. Use `let', not `let*'.
6055
6056 * cus-edit.el (Custom-set, Custom-save, custom-reset)
6057 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6058 (Custom-buffer-done, custom-buffer-create-internal)
6059 (custom-browse-visibility-action, custom-browse-group-tag-action)
6060 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6061 (widget-magic-mouse-down-action, custom-toggle-parent)
6062 (custom-add-parent-links, custom-toggle-hide-variable)
6063 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6064 (custom-toggle-hide-face, face, hook, custom-group-link-action)
6065 (custom-face-menu-create, custom-variable-menu-create, get)
6066 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6067 (custom-reset-standard-save-and-update): Remove unused variable `value'.
6068 (customize-apropos): Remove unused variable `tests'.
6069 (custom-group-value-create): Remove unused variable `hidden-p'.
6070 (sort-fold-case): Declare.
6071
6072 * cus-theme.el (custom-reset-standard-faces-list)
6073 (custom-reset-standard-variables-list): Declare.
6074 (customize-create-theme, custom-theme-revert, custom-theme-write)
6075 (custom-theme-choose-mode, customize-themes, custom-theme-save):
6076 Mark unused parameters.
6077
6078 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6079
6080 * delim-col.el (delimit-columns-max): Move defvar before first use.
6081
6082 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 6083 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
6084
6085 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6086 (auto-insert): Declare.
6087 (desktop-restore-file-buffer): Rename desktop-* parameters;
6088 mark unused ones.
6089 (desktop-create-buffer): Rename desktop-* parameters and bind them.
6090 (desktop-buffer): Rename desktop-* parameters.
6091
6092 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6093 (dframe-reposition-frame-xemacs, dframe-help-echo)
6094 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6095 Mark unused parameters.
6096
6097 * dired-aux.el (backup-extract-version-start, overwrite-query)
6098 (overwrite-backup-query, rename-regexp-query)
6099 (rename-non-directory-query): Declare.
6100 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6101 (dired-add-entry): Remove unused variable `orig-file-name'.
6102 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6103 Use parameter PRESERVE-TIME instead of accessing dynamic variable
6104 `dired-copy-preserve-time' directly.
6105 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6106 (dired-insert-subdir-newpos): Rename unused variable `pos'.
6107
6108 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6109 (dired-virtual-revert, dired-make-relative-symlink):
6110 Mark unused parameters.
6111 (manual-program): Declare.
6112 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6113 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6114 wrapped in `with-no-warnings' to avoid replacing one warning by another.
6115
6116 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
6117
6118 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
6119
6120 * echistory.el (electric-history-in-progress, Helper-return-blurb):
6121 Declare.
6122
6123 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
6124
6125 * electric.el (Electric-command-loop): Rename parameter
6126 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
6127
6128 * expand.el (expand-in-literal): Remove unused variable `here'.
6129
6130 * facemenu.el (facemenu-add-new-color):
6131 Remove unused variable `docstring'.
6132
6133 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
6134 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
6135 (face-attr-construct): Mark unused parameter. Doc fix.
6136 (read-color): Remove unused variable `hex-string'.
6137
6138 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
6139 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
6140 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
6141 (display-buffer-other-frame): Remove unused variable `old-window'.
6142 (kill-buffer-hook): Declare.
6143 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
6144 Mark unused parameters.
6145 (after-find-file): Pass 1 to `auto-save-mode', not t.
6146
6147 * files-x.el (auto-insert): Declare.
6148 (modify-file-local-variable-prop-line): Remove unused variable `val'.
6149
6150 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 6151 variable `buf'. Mark unused parameter.
06b60517
JB
6152 (find-lisp-insert-directory): Mark unused parameter.
6153
6154 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
6155 (format-encode-region): Remove unused variables `cur-buf' and `result'.
6156 (format-common-tail): Remove, unused.
6157 (format-deannotate-region): Remove unused variable `loc'.
6158 (format-annotate-region): Remove unused variable `p'.
6159 (format-annotate-single-property-change): Remove unused variables
6160 `default' and `tail'.
6161
6162 * forms.el (read-file-filter): Declare.
6163 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
6164
6165 * frame.el (frame-creation-function-alist): Mark unused parameter.
6166 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
6167
6168 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
6169 Remove unused parameters.
6170 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
6171 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
6172
6173 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
6174 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
6175 (hfy-prepare-tag-map): Mark unused parameters.
6176 (htmlfontify-buffer): Use `called-interactively-p'.
6177
6178 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
6179 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
6180 (ibuffer-do-occur): Mark unused parameters.
6181 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
6182 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
6183
6184 * ibuffer.el: Don't quote `lambda'.
6185 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
6186 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
6187 Mark unused parameters.
6188
6189 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
6190 (ido-completing-read): Mark unused parameters.
6191 (ido-copy-current-word): Mark unused parameters;
6192 remove unused variable `name'.
6193 (ido-sort-merged-list): Remove unused parameter `dirs'.
6194
6195 * ielm.el (ielm-input-sender): Mark unused parameter.
6196 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
6197 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
6198 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
6199 `ielm-string' as a dynamic variable accessible from the IELM prompt.
6200 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
6201
6202 * image-dired.el (image-dired-display-thumbs): Remove unused
6203 variables `curr-file' and `count'.
6204 (image-dired-remove-tag): Remove unused variable `start'.
6205 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
6206 variable `curr-file'
6207 (image-dired-rotate-original): Remove unused variable `temp-file'.
6208 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
6209 Remove unused variable `file'.
6210 (image-dired-gallery-generate): Remove unused variable `curr'.
6211 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
6212
6213 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
6214
6215 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
6216
6217 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
6218
6219 * isearch.el (minibuffer-history-symbol): Declare.
6220 (isearch-edit-string): Remove unused variable `err'.
6221 (isearch-message-prefix, isearch-message-suffix):
6222 Mark unused parameters.
6223
6224 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
6225
6226 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
6227
6228 * makesum.el (double-column): Remove unused variable `cnt'.
6229
6230 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
6231 (ido-ignore-item-temp-list): Declare.
6232
6233 * mouse-drag.el (mouse-drag-throw): Remove unused variables
6234 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
6235 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
6236 (mouse-drag-drag): Remove unused variables `mouse-delta' and
6237 `mouse-col-delta'.
6238
6239 * mouse-sel.el (mouse-extend-internal):
6240 Remove unused variable `orig-window-frame'.
6241
6242 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
6243 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
6244 Move declarations before first use.
6245 (pcomplete-opt): Mark unused parameters; doc fix.
6246
6247 * proced.el (proced-revert): Mark unused parameter.
6248 (proced-send-signal): Remove unused variable `err'.
6249
6250 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
6251 Rename parameter PREFIX-ARG to ARG.
6252 (ps-basic-plot-string, ps-basic-plot-whitespace):
6253 Mark unused parameters.
6254
6255 * replace.el (replace-count): Define.
6256 (occur-revert-function): Mark unused parameters.
6257 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
6258 (isearch-case-fold-search, isearch-string): Declare.
6259 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
6260 bind `case-fold-search'. Remove unused variables `beg' and `end',
6261 and simplify.
6262 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
6263 COUNT and bind `replace-count'.
6264 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
6265 to COUNT.
6266
6267 * savehist.el (print-readably, print-string-length): Declare.
6268
6269 * shadowfile.el (shadow-expand-cluster-in-file-name):
6270 Remove unused variable `cluster'.
6271 (shadow-copy-file): Remove unused variable `i'.
6272 (shadow-noquery, shadow-clusters, shadow-site-cluster)
6273 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
6274 (shadow-define-literal-group, shadow-define-regexp-group)
6275 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
6276
6277 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
6278 (shell): Use `called-interactively-p'.
6279 (shell-directory-tracker): Remove unused variable `chdir-failure'.
6280
6281 * simple.el (compilation-context-lines, comint-file-name-quote-list)
6282 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
6283 (delete-backward-char): Remove unused variable `ocol'.
6284 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
6285 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
6286 (event-apply-hyper-modifier, event-apply-shift-modifier)
6287 (event-apply-control-modifier, event-apply-meta-modifier):
6288 Mark unused parameters.
6289 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
6290 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
6291
6292 * speedbar.el (speedbar-ignored-directory-expressions)
6293 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
6294 (speedbar-find-file, speedbar-dir-follow)
6295 (speedbar-directory-buttons-follow, speedbar-tag-find)
6296 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
6297 (speedbar-buffers-line-directory, speedbar-buffer-click):
6298 Mark unused parameters.
6299 (speedbar-tag-file): Remove unused variable `mode'.
6300 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
6301
6302 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
6303
6304 * talk.el (talk): Remove unused variable `display'.
6305
6306 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
6307 (tar-write-region-annotate): Mark unused parameter.
6308
6309 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
6310 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
6311 Declare them, wrapped in `with-no-warnings' to avoid replacing one
6312 warning by another.
6313
6314 * time-stamp.el (time-stamp-string-preprocess):
6315 Remove unused variable `require-padding'.
6316
6317 * tree-widget.el (widget-glyph-enable): Declare.
6318 (tree-widget-action): Mark unused parameter.
6319
6320 * w32-fns.el (x-get-selection): Mark unused parameter.
6321 (autoload-make-program, generated-autoload-file): Declare.
6322
6323 * wdired.el (wdired-revert): Mark unused parameters.
6324 (wdired-xcase-word): Remove unused variable `err'.
6325
6326 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
6327 (whitespace-help-scroll): Remove unused variable `data-help'.
6328
6329 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
6330 (widget-image-insert, widget-after-change, default)
6331 (widget-default-format-handler, widget-default-notify)
6332 (widget-default-prompt-value, widget-info-link-action)
6333 (widget-url-link-action, widget-function-link-action)
6334 (widget-variable-link-action, widget-file-link-action)
6335 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
6336 (widget-field-prompt-internal, widget-field-action, widget-field-match)
6337 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
6338 (widget-insert-button-action, widget-delete-button-action, visibility)
6339 (widget-documentation-link-action, widget-documentation-string-action)
6340 (widget-const-prompt-value, widget-regexp-match, symbol)
6341 (widget-coding-system-prompt-value)
6342 (widget-key-sequence-value-to-external, sexp)
6343 (widget-sexp-value-to-internal, character, vector, cons)
6344 (widget-choice-prompt-value, widget-boolean-prompt-value)
6345 (widget-color--choose-action): Mark unused parameters.
6346 (widget-item-match-inline, widget-choice-match-inline)
6347 (widget-checklist-match, widget-checklist-match-inline)
6348 (widget-group-match): Rename parameter VALUES to VALS.
6349 (widget-field-value-set): Remove unused variable `size'.
6350 (widget-color-action): Remove unused variables `value' and `start'.
6351
6352 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 6353 variable `dir'. Doc fix.
06b60517
JB
6354 (windmove-find-other-window): Don't pass it.
6355
6356 * window.el (count-windows): Mark unused parameter.
6357 (bw-adjust-window): Remove unused variable `err'.
6358
6359 * woman.el (woman-file-name): Remove unused variable `default'.
6360 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
6361 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
6362 (global-font-lock-mode): Declare.
6363 (woman-decode-region): Mark unused parameter.
6364 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
6365
6366 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
6367 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
6368 (x-dnd-handle-moz-url): Remove unused variable `title'.
6369 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
6370
6371 * xml.el (xml-parse-tag, xml-parse-attlist):
6372 Remove unused variable `pos'.
6373
bc4f7f3d
GM
63742011-04-19 Glenn Morris <rgm@gnu.org>
6375
6376 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
6377 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6378 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6379 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
6380 * calendar/cal-html.el (cal-html-insert-minical):
6381 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
6382 (calendar-mark-date-pattern):
6383 Prefix "unused" locals.
6384
6385 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
6386 optional argument `style'.
6387
6388 * calendar/appt.el (appt-make-list):
6389 * calendar/cal-china.el (calendar-chinese-date-string):
6390 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
6391 (diary-hebrew-yahrzeit):
6392 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
6393 * calendar/calendar.el (calendar-generate-window):
6394 * calendar/time-date.el (time-to-days):
6395 Remove unused local variables.
6396
16a43933
CY
63972011-04-18 Chong Yidong <cyd@stupidchicken.com>
6398
6399 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
6400 glyphless-char-display table.
6401 (tabulated-list-glyphless-char-display): New var.
6402
7eed1860
SS
64032011-04-18 Sam Steingold <sds@gnu.org>
6404
6405 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
6406 to acknowledgments.
6407
4d2d1ccd
GM
64082011-04-17 Glenn Morris <rgm@gnu.org>
6409
6410 * calendar/diary-lib.el (diary-sexp-entry):
6411 * calendar/holidays.el (holiday-sexp):
6412 Set debug-on-error rather than the removed stack-trace-on-error.
6413
239da61d
GM
64142011-04-16 Glenn Morris <rgm@gnu.org>
6415
6416 * progmodes/f90.el: Use lexical-binding.
6417 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
6418
8b05752a
SM
64192011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6420
daca8ba5
SM
6421 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
6422 (mail-mode): Setup mailalias completion here instead.
6423 * mail/mailalias.el: Use lexical-binding.
6424 (pattern, mailalias-done): Declare dynamic.
6425 (mail-completion-at-point-function): New function, from mail-complete.
6426 (mail-complete): Use it.
6427 (mail-completion-expand): New function.
6428 (mail-get-names): Use it.
6429 (mail-directory, mail-directory-process, mail-directory-stream):
6430 Don't use `pattern' for lexically bound arg.
6431
6f542485
SM
6432 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
6433
037e7c3f
SM
6434 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
6435 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
6436 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
6437
8b05752a
SM
6438 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
6439 (byte-save-window-excursion, byte-temp-output-buffer-setup)
6440 (byte-interactive-p): Define them again, for use when inlining
6441 old code.
6442
49093f60
JB
64432011-04-15 Juanma Barranquero <lekktu@gmail.com>
6444
6445 * loadup.el: Use `string-to-number', not `string-to-int'.
6446
b5b8e7de
SM
64472011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6448
6449 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
6450 gud-gdb-complete-command.
6451 (gud-gdb-completions): New function, from gud-gdb-complete-command.
6452 (gud-gdb-completion-at-point): New function.
6453 (gud-gdb-completions): Remove.
6454
f42efeb5
MA
64552011-04-14 Michael Albinus <michael.albinus@gmx.de>
6456
49093f60
JB
6457 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
6458 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
6459 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
6460 whether `executable-find' is bound.
f42efeb5
MA
6461
6462 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
6463
e240cc21
SM
64642011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6465
6466 * minibuffer.el (completion-in-region-mode-predicate)
6467 (completion-in-region-mode--predicate): New vars.
6468 (completion-in-region, completion-in-region--postch)
6469 (completion-in-region-mode): Use them.
6470 (completion--capf-wrapper): Also return the hook function.
6471 (completion-at-point, completion-help-at-point):
6472 Adjust and provide a predicate.
c2bd2ab0
SM
6473
6474 Preserve arg names for advice of subr and lexical functions (bug#8457).
6475 * help-fns.el (help-function-arglist): Consolidate the subr and
6476 new-byte-code cases. Add argument `preserve-names' to extract names
6477 from the docstring when needed.
6478 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
6479 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
6480 (ad-arglist): Use help-function-arglist's new arg.
6481 (ad-definition-type): Use cond.
6482
c183f693
JB
64832011-04-13 Juanma Barranquero <lekktu@gmail.com>
6484
06641a47
JB
6485 * autorevert.el (auto-revert-handler):
6486 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
6487 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
6488 Don't quote lambda.
6489
c183f693
JB
6490 * image-mode.el (image-transform-set-scale):
6491 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
6492
1e3b6001
G
64932011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6494
6495 * net/network-stream.el (network-stream-open-starttls): Only do
6496 opportunistic STARTTLS upgrades if we have built-in gnutls support.
6497 Upgrades via gnutls-cli are too slow to be done opportunistically.
6498
2d6af8dd
JB
64992011-04-12 Juanma Barranquero <lekktu@gmail.com>
6500
6501 * dframe.el (dframe-current-frame): Remove spurious quote.
6502
c0749a51
GM
65032011-04-12 Glenn Morris <rgm@gnu.org>
6504
088d0d61
GM
6505 * calendar/cal-tex.el (cal-tex-end-document):
6506 Try to automatically use latin1 input if needed.
6507
c0749a51
GM
6508 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
6509 Don't try to cons a mark onto an empty element.
6510
5c90fde0
LL
65112011-04-11 Leo Liu <sdl.web@gmail.com>
6512
6513 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
6514 buffers.
6515 (ido-kill-buffer-at-head): Support killing virtual buffers.
6516
369e974d
CY
65172011-04-10 Chong Yidong <cyd@stupidchicken.com>
6518
6519 * minibuffer.el (completion-show-inline-help): New var.
6520 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
6521 (minibuffer-force-complete, minibuffer-complete-word):
6522 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
6523
6524 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
6525 to avoid interference from inline help (Bug#5849).
6526
37f1c930
LL
65272011-04-10 Leo Liu <sdl.web@gmail.com>
6528
099c39a4
JB
6529 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6530 Fix typo.
37f1c930 6531
a32d4040
CY
65322011-04-09 Chong Yidong <cyd@stupidchicken.com>
6533
6534 * image-mode.el (image-toggle-display-image): Signal an error if
6535 not in Image mode.
6536 (image-transform-mode, image-transform-resize)
6537 (image-transform-set-rotation): Doc fix.
daca8ba5 6538 (image-transform-set-resize): Delete.
a32d4040
CY
6539 (image-transform-set-scale, image-transform-fit-to-height)
6540 (image-transform-fit-to-width): Handle image-toggle-display-image
6541 and image-transform-resize directly.
6542
099c39a4 65432011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
6544
6545 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
6546 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
6547 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
6548 (doc-view-mode-map): Add bindings for the new functions.
6549
099c39a4 65502011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 6551
4d61f28d 6552 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
6553 Fix typo in docstring.
6554
3726838a
EZ
65552011-04-08 Eli Zaretskii <eliz@gnu.org>
6556
04f33f1e
EZ
6557 * files.el (file-size-human-readable): Produce one digit after
6558 decimal, like "ls -lh" does.
6559
6560 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
6561 the file size representation.
6562
3726838a
EZ
6563 * simple.el (list-processes): If async subprocesses are not
6564 available, error out with a clear error message.
6565
cbb59342
CY
65662011-04-08 Chong Yidong <cyd@stupidchicken.com>
6567
6568 * help.el (help-form-show): New function, to be called from C.
6569 Put help-form output in a buffer named differently than *Help*.
6570
e3971c44
EZ
65712011-04-08 Eli Zaretskii <eliz@gnu.org>
6572
6573 * files.el (file-size-human-readable): New function.
6574
6575 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
6576 computing the representation inline. Don't require `cl'.
6577
12544bbe
GM
65782011-04-08 Glenn Morris <rgm@gnu.org>
6579
a1de6c6a
GM
6580 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
6581
3c4671f4
GM
6582 * net/browse-url.el (browse-url-firefox):
6583 Test system-type, not system-configuration.
6584
b605679c
GM
6585 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
6586 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
6587 Use log-edit-empty-buffer-p. (Bug#7598)
6588
56442f0c
GM
6589 * net/rlogin.el (rlogin-process-connection-type): Simplify.
6590 (rlogin-mode-map): Initialize in the defvar.
6591 (rlogin): Use ignore-errors.
6592
12544bbe
GM
6593 * replace.el (occur-mode-map): Some fixes for menu items.
6594
eb237b0f
AH
65952011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6596
6597 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
6598
7d668f2c
CY
65992011-04-06 Chong Yidong <cyd@stupidchicken.com>
6600
e67a13ab
CY
6601 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
6602 issuing unused warnings.
6603
6604 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
6605 macro directly.
6606
7d668f2c
CY
6607 * simple.el: Lisp reimplement of list-processes. Based on an
6608 earlier reimplementation by Leo Liu, but using tabulated-list.el.
6609 (process-menu-mode): New major mode.
6610 (list-processes--refresh, list-processes):
6611 (process-menu-visit-buffer): New functions.
6612
6613 * files.el (save-buffers-kill-emacs): Don't assume any return
6614 value of list-processes, which is undocumented anyway.
6615
a83ec3c9
CY
66162011-04-06 Chong Yidong <cyd@stupidchicken.com>
6617
6618 * emacs-lisp/tabulated-list.el: New file.
6619
e91a96fe
CY
6620 * emacs-lisp/package.el: Use Tabulated List mode.
6621 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
6622 (package-menu-mode): Derive from tabulated-list-mode. Set up the
6623 table format using Tabulated List mode variables.
6624 (package--push): New macro, replacing package-list-maybe-add.
6625 (package-menu--generate): Use package--push. Renamed from
6626 package--generate-package-list.
6627 (package-menu-refresh, list-packages): Use it.
daca8ba5 6628 (package-menu--print-info): Rename from package-print-package.
e91a96fe 6629 Return insertion data instead of inserting it directly.
099c39a4
JB
6630 (package-menu-describe-package, package-menu-execute):
6631 Use tabulated-list-get-id.
e91a96fe
CY
6632 (package-menu-mark-delete, package-menu-mark-install)
6633 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
6634 (package-menu-mark-obsolete-for-deletion):
6635 Use tabulated-list-put-tag.
e91a96fe
CY
6636 (package--list-packages, package-menu-revert)
6637 (package-menu-get-package, package-menu-get-version)
6638 (package-menu-sort-by-column): Functions deleted.
6639 (package-menu-package-list, package-menu-sort-key): Vars deleted.
6640 (package-menu--status-predicate, package-menu--version-predicate)
6641 (package-menu--name-predicate)
6642 (package-menu--description-predicate): Handle arguments in the
6643 Tabulated List format.
6644 (package-list-packages-no-fetch): Call list-packages.
6645
3e214b50
JB
66462011-04-06 Juanma Barranquero <lekktu@gmail.com>
6647
6648 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 6649 (after-find-file): Don't bind it.
3e214b50
JB
6650 (revert-buffer-in-progress-p): New variable.
6651 (revert-buffer): Bind it.
6652 Pass nil for `after-find-file-from-revert-buffer'.
6653
6654 * saveplace.el (save-place-find-file-hook): Use new variable
6655 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
6656
3f0f1700
GM
66572011-04-06 Glenn Morris <rgm@gnu.org>
6658
c0274801
GM
6659 * Makefile.in (AUTOGEN_VCS): New variable.
6660 (autoloads): Use $AUTOGEN_VCS.
6661
3f0f1700
GM
6662 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
6663 * calendar/calendar.el (calendar-mode-map):
6664 Check for toolkit scroll bars. (Bug#8305)
6665
41ea9e48
CY
66662011-04-05 Chong Yidong <cyd@stupidchicken.com>
6667
6668 * minibuffer.el (completion-in-region--postch)
6669 (completion-in-region-mode): Remove unnecessary messages.
6670
6194c800
JB
66712011-04-05 Juanma Barranquero <lekktu@gmail.com>
6672
33256f14
JB
6673 * font-lock.el (font-lock-refresh-defaults):
6674 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
6675 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
6676
6194c800
JB
6677 * info.el (Info-directory-list, Info-read-node-name-2)
6678 (Info-split-parameter-string): Doc fixes.
6679 (Info-virtual-nodes): Reflow docstring.
6680 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
6681 (Info-apropos-toc-nodes, info-finder, Info-get-token)
6682 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
6683 Fix typos in docstrings.
6684 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
6685 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
6686 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
6687 (Info-restore-desktop-buffer): Mark unused parameters.
6688 (Info-directory-find-file, Info-directory-find-node)
6689 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
6690 (Info-virtual-index-find-node, Info-apropos-find-file)
6691 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 6692 Mark unused parameters; fix typos in docstrings.
6194c800
JB
6693 (Info-virtual-index): Remove unused local variable `nodename'.
6694
b87a8200 66952011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 6696
b87a8200
DD
6697 * net/rcirc.el: Update my e-mail address.
6698 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 6699
3b2ff876
CY
67002011-04-05 Chong Yidong <cyd@stupidchicken.com>
6701
6702 * startup.el (command-line): Save the cursor's theme-face
6703 directly, instead of using face-override-spec.
6704
6705 * custom.el (load-theme): Minor optimization in assigning faces.
6706
8d17e7ca
JB
67072011-04-04 Juanma Barranquero <lekktu@gmail.com>
6708
6709 * help-fns.el (describe-variable): Complete all variables having
6710 documentation, including keywords.
6711 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
6712
2fbc1934
JB
67132011-04-04 Juanma Barranquero <lekktu@gmail.com>
6714
6715 Convert to lexical-binding.
6716
6717 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
6718 (bs--get-marked-string, bs--get-modified-string)
6719 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
6720 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
6721 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
6722
6723 * ehelp.el (electric-help-execute-extended)
6724 (electric-help-ctrl-x-prefix):
6725 * hexl.el (hexl-revert-buffer-function):
6726 * linum.el (linum-after-change, linum-after-scroll):
6727 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
6728
6729 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
6730
74f50695
DU
67312011-04-04 Daiki Ueno <ueno@unixuser.org>
6732
6733 * epa-dired.el:
6734 * epa-mail.el:
6735 * epa-hook.el:
6736 * epa-file.el:
6737 * epa.el:
6738 * epg.el: Use lexical binding.
6739
c11325f7
CY
67402011-04-03 Chong Yidong <cyd@stupidchicken.com>
6741
0d9e9a12
CY
6742 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
6743
c11325f7 6744 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
6745 dictionary case for flyspell-mark-duplications-exceptions.
6746 Use regexp matching for languages.
c11325f7
CY
6747 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
6748 default dictionary (Bug#7926).
6749
da91b5f2
CY
67502011-04-02 Chong Yidong <cyd@stupidchicken.com>
6751
099c39a4
JB
6752 * emacs-lisp/package.el (package--with-work-buffer):
6753 Recognize https URLs.
da91b5f2 6754
099c39a4
JB
6755 * net/network-stream.el: Move from gnus/proto-stream.el.
6756 Change prefix to network-stream throughout.
da91b5f2
CY
6757 (open-protocol-stream): Merge into open-network-stream, leaving
6758 open-protocol-stream as an alias. Handle nil BUFFER args.
6759
6760 * subr.el (open-network-stream): Move to net/network-stream.el.
6761
afa8e9f6
GM
67622011-04-02 Glenn Morris <rgm@gnu.org>
6763
1d2e369d
GM
6764 * find-dired.el (find-exec-terminator): New option.
6765 (find-ls-option): Test for -ls support.
6766 (find-ls-subdir-switches): Test for -b in find-ls-option.
6767 (find-dired, find-grep-dired): Doc fixes.
6768 (find-dired): Use find-exec-terminator.
6769
8abb7da8 6770 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
6771 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
6772 (find-name-arg): Remove purecopy.
8abb7da8 6773
f3ca7378
GM
6774 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
6775 (grep-compute-defaults): Check for `-exec COMMAND +' support.
6776 Set grep-find-use-xargs, grep-find-command, and grep-find-template
6777 accordingly. Don't add the null-device if not needed.
6778
afa8e9f6
GM
6779 * files.el (save-some-buffers): Doc fix.
6780
35eae264
EZ
67812011-04-02 Eli Zaretskii <eliz@gnu.org>
6782
6783 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
6784
26b51db5
JB
67852011-04-01 Juanma Barranquero <lekktu@gmail.com>
6786
6787 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
6788 Use `dolist' rather than `mapcar'.
6789
7200d79c
SM
67902011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6791
03408648 6792 Add lexical binding.
7200d79c 6793
03408648
SM
6794 * subr.el (apply-partially): Use new closures rather than CL.
6795 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
6796 (dolist, dotimes): Use slightly different expansion for lexical code.
6797 (functionp): Move to C.
6798 (letrec): New macro.
6799 (with-wrapper-hook): Use it and apply-partially instead of CL.
6800 (eval-after-load): Preserve lexical-binding.
6801 (save-window-excursion, with-output-to-temp-buffer): Turn them
6802 into macros.
7200d79c 6803
03408648
SM
6804 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
6805
6806 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
6807 than the arglist.
6808 (help-add-fundoc-usage): Don't add `Not documented'.
6809 (help-function-arglist): Handle closures, subroutines, and new
6810 byte-code-functions.
6811 (help-make-usage): Remove leading underscores.
6812 (describe-function-1): Handle closures.
6813 (describe-variable): Use special-variable-p for completion.
6814
6815 * files.el (lexical-binding): Declare safe.
f488fb65 6816
03408648
SM
6817 * emacs-lisp/pcase.el: Don't use destructuring-bind.
6818 (pcase--memoize): Rename from pcase-memoize. Change weakness.
6819 (pcase): Add `let' pattern.
6820 Change memoization so it actually works.
6821 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
6822 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
6823 <let>: New case.
f488fb65 6824
03408648
SM
6825 * emacs-lisp/macroexp.el: Use lexical binding.
6826 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
6827 Don't convert ' to #' without checking that it's indeed quoting
6828 a lambda.
6829
6830 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 6831 Use eval-sexp-add-defvars.
03408648
SM
6832 (eval-sexp-add-defvars): New fun.
6833
6834 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
6835
6836 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
6837 Don't autoload.
6838 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
6839 than the internal `byte-compile-lambda'.
6840 (defmethod): Don't hide code under quotes.
6841 (eieio-defmethod): New `code' argument.
6842
6843 * emacs-lisp/eieio-comp.el: Remove.
6844
6845 * emacs-lisp/edebug.el (edebug-eval-defun)
6846 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
6847 (edebug-toggle): Avoid `eval'.
6848
6849 * emacs-lisp/disass.el (disassemble-internal): Handle new
6850 `closure' objects.
6851 (disassemble-1): Handle new byte codes.
6852
6853 * emacs-lisp/cl.el (pushnew): Silence warning.
6854
6855 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
6856 (cl-byte-compile-throw): Remove.
6857 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
6858
6859 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
6860 closures.
6861
6862 * emacs-lisp/cconv.el: New file.
6863
6864 * emacs-lisp/bytecomp.el: Use lexical binding instead of
6865 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
6866 (byte-compile-initial-macro-environment):
6867 Handle declare-function here.
6868 (byte-compile--lexical-environment): New var.
6869 (byte-stack-ref, byte-stack-set, byte-discardN)
6870 (byte-discardN-preserve-tos): New lap codes.
6871 (byte-interactive-p): Don't use any more.
6872 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
6873 New macros.
6874 (byte-compile-lapcode): Use them and handle new lap codes.
6875 (byte-compile-obsolete): Remove.
6876 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
6877 (byte-compile-arglist-warn): Check late def of inlinable funs.
6878 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
6879 since they should have been expanded by now.
6880 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
6881 (byte-compile-from-buffer): Remove unused second arg.
6882 (byte-compile-preprocess): New function.
6883 (byte-compile-toplevel-file-form): New function to distinguish
6884 file-form calls from outside from file-form calls from hunk-handlers.
6885 (byte-compile-file-form): Simplify.
6886 (byte-compile-file-form-defsubst): Remove.
6887 (byte-compile-file-form-defmumble): Simplify now that
6888 byte-compile-lambda always returns a byte-code-function.
6889 (byte-compile): Preprocess.
6890 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
6891 Remove, not used any more.
6892 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
6893 (byte-compile-make-args-desc): New funs.
6894 (byte-compile-lambda): Handle lexical functions. Always return
6895 a byte-code-function.
6896 (byte-compile-reserved-constants): New var, to make up room for
6897 closed-over variables.
6898 (byte-compile-constants-vector): Obey it.
6899 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
6900 (byte-compile-macroexpand-declare-function): New function.
6901 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
6902 byte-code-functions.
6903 (byte-compile-form): Check obsolescence here.
6904 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
6905 (byte-compile-variable-ref): Remove.
6906 (byte-compile-dynamic-variable-op): New fun.
6907 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6908 (byte-compile-variable-set): New funs.
6909 (byte-compile-discard): Add 2 args.
6910 (byte-compile-stack-ref, byte-compile-stack-set)
6911 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
6912 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
6913 macroexpand-all instead.
6914 (byte-compile-quote-form): Remove.
6915 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
6916 (byte-compile-bind, byte-compile-unbind): New funs.
6917 (byte-compile-let): Handle let* and lexical binding.
6918 (byte-compile-let*): Remove.
6919 (byte-compile-catch, byte-compile-unwind-protect)
6920 (byte-compile-track-mouse, byte-compile-condition-case):
6921 Handle a new :fun-body form, used for lexical scoping.
6922 (byte-compile-save-window-excursion)
6923 (byte-compile-with-output-to-temp-buffer): Remove.
6924 (byte-compile-defun): Simplify.
6925 (byte-compile-stack-adjustment): New fun.
6926 (byte-compile-out): Use it.
6927 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
6928
6929 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
6930 handler any more.
6931
6932 * emacs-lisp/byte-opt.el: Use lexical binding.
6933 (byte-inline-lapcode): Remove (to bytecomp).
6934 (byte-compile-inline-expand): Pay attention to inlining to/from
6935 lexically bound code.
6936 (byte-compile-unfold-lambda): Don't handle byte-code-functions
6937 any more.
6938 (byte-optimize-form-code-walker): Don't handle save-window-excursion
6939 any more and don't call compiler-macros.
6940 (byte-compile-splice-in-already-compiled-code): Remove.
6941 (byte-code): Don't inline any more.
6942 (disassemble-offset): Receive `bytes' as argument rather than via
6943 dynamic scoping.
6944 (byte-compile-tag-number): Declare before first use.
6945 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
6946 `return' even if make-spliceable.
6947 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
6948 obsolete interactive-p.
6949 (byte-optimize-lapcode): Optimize new lap-codes.
6950 Don't trip up on new form of `byte-constant' lap code.
6951
6952 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
6953
6954 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
6955
6956 * custom.el (custom-initialize-default, custom-declare-variable):
6957 Use `defvar'.
6958
6959 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
6960 New variables.
6961 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
6962 (COMPILE_FIRST): Add macroexp and cconv.
6963 * makefile.w32-in: Mirror changes in Makefile.in.
6964
6965 * vc/cvs-status.el:
6966 * vc/diff-mode.el:
6967 * vc/log-edit.el:
6968 * vc/log-view.el:
6969 * vc/smerge-mode.el:
6970 * textmodes/bibtex-style.el:
6971 * textmodes/css.el:
6972 * startup.el:
6973 * uniquify.el:
da91b5f2
CY
6974 * minibuffer.el:
6975 * newcomment.el:
6976 * reveal.el:
6977 * server.el:
6978 * mpc.el:
6979 * emacs-lisp/smie.el:
6980 * doc-view.el:
6981 * dired.el:
03408648
SM
6982 * abbrev.el: Use lexical binding.
6983
0f0c1f27
EZ
69842011-04-01 Eli Zaretskii <eliz@gnu.org>
6985
6986 * info.el (info-display-manual): New function.
6987
c82b2579
SM
69882011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6989
6990 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
6991
221ddf68
TH
69922011-03-31 Tassilo Horn <tassilo@member.fsf.org>
6993
6994 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 6995 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 6996
cba6e77e
GM
69972011-03-31 Glenn Morris <rgm@gnu.org>
6998
e040639f
GM
6999 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7000
cba6e77e
GM
7001 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7002
6d0f1c9e
CS
70032011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7004
7005 * progmodes/python.el (python-default-interpreter)
7006 (python-python-command-args, python-jython-command-args)
7007 (python-which-shell, python-which-args, python-which-bufname)
7008 (python-file-queue, python-comint-output-filter-function)
7009 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7010 variables and functions.
7011
3e2d70fd
SM
70122011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7015 (completion-in-region-mode): New minor mode.
7016 (completion-in-region): Use it.
7017 (completion-in-region--data, completion-in-region-mode-map): New vars.
7018 (completion-in-region--postch): New function.
7019 (completion--capf-misbehave-funs, completion--capf-safe-funs):
7020 New vars.
7021 (completion--capf-wrapper): New function.
7022 (completion-at-point): Use it to track well-behavedness of
7023 hook functions.
7024 (completion-help-at-point): New command.
7025
f3e4086c
JM
70262011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
7027
7028 * vc/add-log.el (add-change-log-entry): Don't use whitespace
7029 syntax class to search for whitespace on a single line
7030 (Message-ID: <4D938140.4030905@redhat.com>).
7031
eb7ffc14
LL
70322011-03-30 Leo Liu <sdl.web@gmail.com>
7033
7034 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7035 New commands.
7036 (edit-abbrevs-map): Bind them here.
7037 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
7038
d806ab68
KM
70392011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
7040
7041 * allout.el (allout-hide-by-annotation, allout-flag-region):
7042 Reduce possibility of overlay leakage by making them volatile.
7043
7044 * allout-widgets.el (allout-widgets-tally): Define as nil so the
7045 hash is not shared between buffers. Mode initialization is
7046 responsible for giving it a useful starting value.
7047 (allout-item-span): Reduce possibility of overlay leakage by
7048 making them volatile.
7049 (allout-widgets-count-buttons-in-region): Add diagnostic function
7050 for tracking down button overlay leaks.
7051
ea622834
LL
70522011-03-29 Leo Liu <sdl.web@gmail.com>
7053
7054 * ido.el (ido-read-internal): Use the default history var
7055 minibuffer-history if no HISTORY is specified.
7056
b62f8267
G
70572011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
7058
03408648
SM
7059 * net/imap.el (imap-shell-open, imap-process-connection-type):
7060 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
7061 Kerberos, SSL, other subprocesses.
7062
947b6566
LL
70632011-03-28 Leo Liu <sdl.web@gmail.com>
7064
7065 * abbrev.el (abbrev-table-empty-p): New function.
7066 (prepare-abbrev-list-buffer): Place empty abbrev tables after
7067 nonempty ones. (Bug#5937)
7068
5ffb62aa
JD
70692011-03-27 Jan Djärv <jan.h.d@swipnet.se>
7070
7071 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7072
7a097943
LL
70732011-03-27 Leo Liu <sdl.web@gmail.com>
7074
7075 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7076 for foreground and background colors.
7077 (ansi-color-make-color-map): Adapt.
7078
c5b40130
LL
70792011-03-25 Leo Liu <sdl.web@gmail.com>
7080
1f48f7d2
LL
7081 * midnight.el (midnight-time-float): Remove. Note it calculates
7082 the microsecond component incorrectly and seconds-to-time does the
7083 same job.
625897ec 7084 Remove redundant (require 'timer).
1f48f7d2 7085
c5b40130
LL
7086 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7087 (ido-completions): Remove unused arguments. (Bug#8329)
7088
d86d2721
SM
70892011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7090
7091 * minibuffer.el (completion--flush-all-sorted-completions):
7092 Remove itself from hook.
7093 (completion-at-point): Let the functions perform the completion
7094 immediately and return nil or t.
7095 * comint.el (comint-dynamic-complete-functions): Now identical to
7096 completion-at-point-functions.
7097 (comint-dynamic-list-input-ring): Remove unused var `index'.
7098 (comint--match-partial-filename, comint--unquote&expand-filename):
7099 New funs, split from comint-match-partial-filename.
7100 (comint-dynamic-complete): Use completion-at-point.
7101 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7102
e8974c48
DA
71032011-03-24 Drew Adams <drew.adams@oracle.com>
7104
7105 * thingatpt.el: Support `defun'.
7106
def71b5e
LL
71072011-03-23 Leo Liu <sdl.web@gmail.com>
7108
cb5af48e
LL
7109 * abbrevlist.el: Move to obsolete/abbrevlist.el.
7110
def71b5e
LL
7111 * help-mode.el (help-mode-finish): Tweak regexp.
7112
927c53e7
GM
71132011-03-23 Glenn Morris <rgm@gnu.org>
7114
18d05bed
GM
7115 * eshell/esh-opt.el (eshell-eval-using-options):
7116 Do not bind unused local variable `eshell-option-stub'.
7117
927c53e7
GM
7118 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
7119
9d0da923
JB
71202011-03-22 Juanma Barranquero <lekktu@gmail.com>
7121
7122 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
7123 keymap variable in `with-no-warnings' to avoid a warning when the
7124 keymap has been already `defconst'ed.
7125
4b978a67
LL
71262011-03-22 Leo Liu <sdl.web@gmail.com>
7127
7128 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
7129 encode all chars in abbrevs; otherwise use emacs-mule or
7130 utf-8-emacs. (Bug#8308)
7131
5fd62452
JB
71322011-03-22 Juanma Barranquero <lekktu@gmail.com>
7133
0b1596c6
JB
7134 * simple.el (backward-delete-char-untabify):
7135 Avoid warning about using `delete-backward-char'.
7136
5fd62452
JB
7137 * image.el (image-type-file-name-regexps): Make it variable.
7138 `imagemagick-register-types' modifies it, and the user may want
7139 to add new extensions for known image types.
7140 (imagemagick-register-types): Throw error if not using ImageMagick.
7141
0b4e93f1
LL
71422011-03-22 Leo Liu <sdl.web@gmail.com>
7143
7144 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
7145 located before rcirc-prompt-end-marker.
7146 (rcirc-complete): Error if point is not after rcirc prompt.
7147 Handle the case when table is nil.
9882e214 7148 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 7149
fccee4ab
CY
71502011-03-22 Chong Yidong <cyd@stupidchicken.com>
7151
7152 * custom.el (custom--inhibit-theme-enable): Make it affect only
7153 custom-theme-set-variables and custom-theme-set-faces.
7154 (provide-theme): Ignore custom--inhibit-theme-enable.
7155 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
7156 (custom-enabling-themes): Delete variable.
d86d2721
SM
7157 (enable-theme): Accept only loaded themes as arguments.
7158 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
7159 (custom-enabled-themes): Forbid themes from setting this.
7160 Eliminate use of custom-enabling-themes.
7161 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 7162
af896da6
LL
71632011-03-21 Leo Liu <sdl.web@gmail.com>
7164
7165 * ido.el (ido-read-internal): Add ido-selected to history instead
7166 of user input.
7167
78f64af0
SM
71682011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7169
7170 * subr.el (deferred-action-list, deferred-action-function):
7171 Mark obsolete.
7172
b16ac1ec
LL
71732011-03-21 Leo Liu <sdl.web@gmail.com>
7174
810f7698
LL
7175 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
7176 change on 2011-02-13 (bug#8309).
7177
b16ac1ec
LL
7178 * minibuffer.el (read-file-name-function): Change default value.
7179 (read-file-name--defaults): Rename from read-file-name-defaults.
7180 (read-file-name-default): Rename from read-file-name.
7181 (read-file-name): Call read-file-name-function.
7182
4e05e67e
GM
71832011-03-21 Glenn Morris <rgm@gnu.org>
7184
7185 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
7186 Doc fixes.
7187
4359915b
CY
71882011-03-21 Chong Yidong <cyd@stupidchicken.com>
7189
7190 * cus-theme.el: Add missing provide statement.
7191 (customize-create-theme): Extract theme value correctly.
7192 (custom-theme-visit-theme): Autoload.
7193 (customize-create-theme): Prompt before inserting default faces.
7194
1fe275ee
JB
71952011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
7196
7197 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
7198 units and musical notes.
7199
3ec03f7e
LL
72002011-03-20 Leo <sdl.web@gmail.com>
7201
7202 * ido.el (ido-read-internal): Use completing-read-default.
7203 (ido-completing-read): Fix compatibility with completing-read.
7204
7d476bde
CO
72052011-03-20 Christian Ohler <ohler@gnu.org>
7206
7207 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
7208 (ert-delete-all-tests): Use `called-interactively-p' rather than
7209 `interactive-p'.
7210 (ert--make-xrefs-region): Respect END.
7211
fe0fb33e
CY
72122011-03-19 Chong Yidong <cyd@stupidchicken.com>
7213
ff854b0b
CY
7214 * dired-aux.el (dired-create-directory): Signal an error if the
7215 directory already exists (Bug#8246).
7216
fe0fb33e
CY
7217 * facemenu.el (list-colors-display): Call list-faces-display
7218 inside with-help-window.
7219 (list-colors-print): Use display property to align the final
7220 column, instead of checking window-width.
7221
576bce32
EZ
72222011-03-19 Eli Zaretskii <eliz@gnu.org>
7223
4d61f28d 7224 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
7225 windows-nt systems.
7226 (emerge-protect-metachars): Quote correctly for ms-dos and
7227 windows-nt systems.
7228
89c41d68 72292011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
7230
7231 * info.el (info-initialize): Replace all uses of `:' with
7232 path-separator for compatibility with non-Unix systems.
7233 Cache quoting of path-separator. (Bug#8258)
7234
b14e3e21 72352011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
7236
7237 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
7238 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
7239 (mouse-avoidance-mode): Fix typos in docstrings.
7240
4525ce3e
CY
72412011-03-19 Chong Yidong <cyd@stupidchicken.com>
7242
7243 * startup.el (package-subdirectory-regexp): Move from package.el.
7244 Omit \\` and \\', and let callers add them.
7245
7246 * emacs-lisp/package.el (package-strip-version)
7247 (package-load-all-descriptors): Add \\` and \\' to
7248 package-subdirectory-regexp before using it.
7249 (package-untar-buffer): New arg DIR; ensure that file untars only
7250 into this expected directory. Remove superfluous delete-region.
7251 (package-unpack): Caller changed.
7252 (package-tar-file-info): Use package-subdirectory-regexp.
7253
a904a09a 72542011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 7255
a904a09a
SM
7256 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
7257 diff-mode-shared-map (bug#8284).
7258 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
7259
72602011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7261
7262 * calendar/time-date.el (format-seconds): Use assoc instead of
7263 assoc-string, since assoc-string doesn't exist in XEmacs.
7264
171fc304
JB
72652011-03-17 Juanma Barranquero <lekktu@gmail.com>
7266
7267 * custom.el (custom-known-themes): Reflow docstring.
7268 (custom-theme-load-path): Fix typo in docstring.
7269 (load-theme): Fix typo in error message.
7270 (custom-available-themes, custom-variable-theme-value):
7271 Use `let', not `let*'.
7272
d71990a1
JB
72732011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7274
7275 * calc/README: Mention inclusion of musical notes.
7276
7277 * calc/calc-units.el (calc-lu-quant): Rename from
7278 `calc-logunits-quantity'.
7279 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
7280 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
7281 (calc-db): Rename from `calc-dblevel'.
7282 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
7283 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
7284 (calc-np): Rename from `calc-nplevel'.
7285 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
7286 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
7287 (calc-lu-plus): Rename from `calc-logunits-add'.
7288 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
7289 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
7290 (calc-lu-minus): Rename from `calc-logunits-sub'.
7291 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
7292 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
7293 (calc-lu-times): Rename from `calc-logunits-mul'.
7294 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
7295 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
7296 (calc-lu-divide): Rename from `calc-logunits-div'.
7297 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
7298 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
7299
7300 * calc/calc-ext.el (calc-init-extensions): Update the names of the
7301 functions being autoloaded.
7302
7303 * calc/calc.el (calc-lu-power-reference): Rename from
7304 `calc-logunits-power-reference'.
7305 (calc-lu-field-reference): Rename from
7306 `calc-logunits-field-reference'.
7307
7308 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
7309
40c2934b
SM
73102011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
7311
7312 * minibuffer.el (completion-all-sorted-completions):
7313 Use :completion-cycle-penalty text property if present.
7314
b0911414
KM
73152011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
7316
7317 * allout.el (allout-yank-processing): Adjust for new rebulleting
7318 regime so bullet being yanked is used without prompting the user
7319 for a choice.
7320
8a05b668
JB
73212011-03-16 Juanma Barranquero <lekktu@gmail.com>
7322
7323 * startup.el (command-line): Warn the user that _emacs is deprecated.
7324
5ba5fb81
JB
73252011-03-16 Juanma Barranquero <lekktu@gmail.com>
7326
7327 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
7328 (delphi-verbose, delphi-comment-face, delphi-string-face)
7329 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
7330 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
7331 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
7332 (delphi-new-comment-line, delphi-font-lock-defaults)
7333 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
7334 Fix typos in docstrings.
7335
2dab465b
KM
73362011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
7337
5ba5fb81 7338 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
7339 Invert the roles of character and string values for INSTEAD, so a
7340 string is used for the more common case of a defaulting prompt.
7341
0adf5618
SM
73422011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7343
7344 * progmodes/ruby-mode.el (ruby-backward-sexp):
7345 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
7346 * play/gamegrid.el (gamegrid-make-face):
7347 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
7348 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
7349 * notifications.el (notifications-notify):
7350 * net/xesam.el (xesam-search-engines):
7351 * net/quickurl.el (quickurl-list-insert):
7352 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
7353
d72700e5
CY
73542011-03-15 Chong Yidong <cyd@stupidchicken.com>
7355
7356 * startup.el (command-line): Update package subdirectory regexp.
7357
49c5410a
SM
73582011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7359
c6eee9aa
SM
7360 * allout.el (allout-abbreviate-flattened-numbering)
7361 (allout-mode-deactivate-hook): Fix up obsolescence "date".
7362
49c5410a
SM
7363 * subr.el (read-char-choice): Only show the cursor after the prompt,
7364 not after the answer.
7365
047b2bb9
KR
73662011-03-15 Kevin Ryde <user42@zip.com.au>
7367
7368 * help-fns.el (variable-at-point): Skip leading quotes, if any
7369 (bug#8253).
7370
0a57d256
SM
73712011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
7374 warning message.
7375
77c992bc
MA
73762011-03-14 Michael Albinus <michael.albinus@gmx.de>
7377
7378 * shell.el (shell): When called interactively, offer to change the
7379 shell file name on remote hosts.
7380
eebc475d
TZ
73812011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
7382
7383 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
7384 integration for LDAP parameters. The host, base, user or binddn,
7385 and secret tokens can be specified in a netrc file, for instance.
7386 This is optional because an `auth-source' parameter must be
7387 specified in the search attributes.
7388
9d05d1ba
JB
73892011-03-13 Juanma Barranquero <lekktu@gmail.com>
7390
7391 * help.el (describe-mode): Link to the mode's definition (bug#8185).
7392
09d9db2c
GM
73932011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7394
7395 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
7396 into declaration. Remove redundant and harmful binding.
7397
73982011-03-12 Eli Zaretskii <eliz@gnu.org>
7399
7400 * files.el (file-ownership-preserved-p): Pass `integer' as an
7401 explicit 2nd argument to `file-attributes'. If the file's owner
7402 is the Administrators group on Windows, and the current user is
7403 Administrator, consider that a match.
7404
7405 * server.el (server-ensure-safe-dir): Consider server directory
7406 safe on MS-Windows if its owner is the Administrators group while
7407 the current Emacs user is Administrator. Use `=' to compare
7408 numerical UIDs, since they could be integers or floats.
7409
219bd536
JB
74102011-03-12 Juanma Barranquero <lekktu@gmail.com>
7411
7412 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
7413
f3afd36b
MA
74142011-03-12 Michael Albinus <michael.albinus@gmx.de>
7415
7416 Sync with Tramp 2.2.1.
7417
7418 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
7419
7420 * net/trampver.el: Update release number.
7421
3aaaa6f1
SM
74222011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7423
94642599
SM
7424 * progmodes/compile.el (compilation--previous-directory): Fix up
7425 various nil/dead-marker mismatches (bug#8014).
7426 (compilation-directory-properties, compilation-error-properties):
7427 Don't call it at a position past the one we're about to change.
7428
3aaaa6f1
SM
7429 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
7430 Disable obsolescence warnings in the file that declares it.
7431
14239447
KM
74322011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
7433
099c39a4
JB
7434 * allout-widgets.el (allout-widgets-tally):
7435 Initialize allout-widgets-tally as a hash table rather than nil to
7436 prevent mode-line redisplay warnings. Also, clarify the module
7437 description and fix a comment typo.
14239447 7438
135e287c
JB
74392011-03-11 Juanma Barranquero <lekktu@gmail.com>
7440
7441 * help-fns.el (describe-variable): Don't complete keywords.
7442 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
7443
ffbf300e
CY
74442011-03-10 Chong Yidong <cyd@stupidchicken.com>
7445
ba08b241
CY
7446 * emacs-lisp/package.el (package-version-join): Impose a standard
7447 string representation for pre/alpha/beta version lists.
7448 (package-unpack-single): Standardize the directory name by passing
7449 it through package-version-join.
7450 (package-strip-rcs-id): Accept any version string that does not
7451 signal an error in version-to-list.
ffbf300e 7452
f346fd6b
MA
74532011-03-10 Michael Albinus <michael.albinus@gmx.de>
7454
7455 * simple.el (delete-trailing-whitespace): Return nil for the
7456 benefit of `write-file-functions'.
7457
ccb55d27
GM
74582011-03-10 Glenn Morris <rgm@gnu.org>
7459
5ceaac0c
GM
7460 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
7461
02da65ff
GM
7462 * vc/vc-git.el (vc-git-program): New option.
7463 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
7464 (vc-git--call): Use it.
7465
b2f603cc
GM
7466 * eshell/esh-util.el (eshell-condition-case): Doc fix.
7467
5772caab
GM
7468 * cus-edit.el (Custom-newline): If no button at point, look
7469 for a subgroup button at start-of-line. (Bug#2298)
7470
ccb55d27
GM
7471 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
7472
ec6ecaed
JD
74732011-03-10 Julien Danjou <julien@danjou.info>
7474
7475 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
7476 `cursor-type' is nil.
7477
9d5aa01d
JB
74782011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
7479
7480 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
7481
b6a5875b
KM
74822011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
7483
7484 * allout.el Summary: Change so yank of distinctive-bullet items
7485 preserves the existing header prefix, rebulleting it if necessary,
7486 rather than replacing it. This is necessary for proper operation
7487 of cooperative addons like allout-widgets.
219bd536 7488 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
7489 SOLICIT arg to INSTEAD, and interpret additionally a string value
7490 as alternate bullet to be used, instead of prompting the user for
7491 a bullet character.
7492
ee545c35
MA
74932011-03-09 Michael Albinus <michael.albinus@gmx.de>
7494
d86d2721
SM
7495 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7496 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
7497 `tramp-default-port'.
7498
c47971d7
DD
74992011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7500
7501 * net/rcirc.el (rcirc-handler-001): Remove useless
7502 with-rcirc-process-buffer.
7503 (rcirc-check-auth-status): Swap arguments to string-match.
7504
13522cb4
GM
75052011-03-09 Glenn Morris <rgm@gnu.org>
7506
0be6f4f1
GM
7507 * shell.el (shell-mode):
7508 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
7509
13522cb4
GM
7510 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
7511 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
7512
515de2e3
CY
75132011-03-08 Chong Yidong <cyd@stupidchicken.com>
7514
7515 * emacs-lisp/package.el (package-refresh-contents)
7516 (package-menu-execute): Use condition-case-no-debug.
7517
b511b994
MA
75182011-03-08 Michael Albinus <michael.albinus@gmx.de>
7519
7520 * simple.el (shell-command-to-string): Use `process-file'.
7521
7522 * emacs-lisp/package.el (package-tar-file-info): Handle also
7523 remote files.
7524
d86d2721
SM
7525 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7526 Use `equal' for upload base check.
b511b994 7527
25bbfb31
AM
75282011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
7529
7530 * textmodes/texinfo.el (texinfo-environments):
7531 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
7532
be996521
GM
75332011-03-08 Glenn Morris <rgm@gnu.org>
7534
e9c8529f
GM
7535 * cus-start.el (cursor-in-non-selected-windows):
7536 Fix :set quoting oddness. (Bug#8192)
7537
be996521
GM
7538 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
7539 in some setf expressions. (Bug#2159)
7540
2bb5649e
CY
75412011-03-08 Chong Yidong <cyd@stupidchicken.com>
7542
7543 * custom.el (custom-available-themes): Return themes in
7544 alphabetical order.
7545
33383987 7546See ChangeLog.15 for earlier changes.
e3d51b27
MR
7547
7548;; Local Variables:
7549;; coding: utf-8
e3d51b27
MR
7550;; End:
7551
33383987 7552 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
7553
7554 This file is part of GNU Emacs.
7555
7556 GNU Emacs is free software: you can redistribute it and/or modify
7557 it under the terms of the GNU General Public License as published by
7558 the Free Software Foundation, either version 3 of the License, or
7559 (at your option) any later version.
7560
7561 GNU Emacs is distributed in the hope that it will be useful,
7562 but WITHOUT ANY WARRANTY; without even the implied warranty of
7563 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7564 GNU General Public License for more details.
7565
7566 You should have received a copy of the GNU General Public License
7567 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.