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