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