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