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