]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* simple.el (shell-command-on-region): Say where the error output
[gnu-emacs] / lisp / ChangeLog
1 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * simple.el (shell-command-on-region): Say where the error output
4 went if `shell-command-default-error-buffer' is set (bug#6857).
5
6 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7
8 * allout.el (allout-yank-processing): Adjust cursor position for
9 backwards-deleted space.
10
11 (allout-rebullet-heading): Register changes with
12 allout-exposure-changed-hook, so the modified topic is properly
13 decorated.
14
15 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16
17 * minibuffer.el (completion-in-region): Document PREDICATE
18 (bug#7136).
19
20 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21 of keyword/argument pairs (bug#6904).
22
23 * replace.el (multi-occur): Mention
24 `multi-occur-in-matching-buffers' in the doc string (bug#7566).
25
26 2011-07-02 Drew Adams <drew.adams@oracle.com>
27
28 * dired.el (dired-mark-if): Make the message about whether it's
29 marking or unmarking clearer (bug#8523).
30
31 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
32
33 * disp-table.el (display-table-print-array): New function.
34 (describe-display-table): Use it to print the vectors more pretty
35 (Bug#8859).
36
37 2011-07-02 Martin Rudalics <rudalics@gmx.at>
38
39 * window.el (window-state-get-1): Don't assign clone numbers.
40 Add clone-of item to list of window parameters.
41 (window-state-put-2): Don't process clone numbers.
42 (display-buffer-alist): Fix doc-string.
43
44 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
45
46 * subr.el (remq): Don't allocate if it's not needed.
47 (keymap--menu-item-binding, keymap--menu-item-with-binding)
48 (keymap--merge-bindings): New functions.
49 (keymap-canonicalize): Use them to refine the canonicalization.
50 * minibuffer.el (minibuffer-local-completion-map)
51 (minibuffer-local-must-match-map): Move initialization from C.
52 (minibuffer-local-filename-completion-map): Move initialization from C;
53 don't inherit from anything here.
54 (minibuffer-local-filename-must-match-map): Make obsolete.
55 (completing-read-default): Use make-composed-keymap to combine
56 minibuffer-local-filename-completion-map with either
57 minibuffer-local-must-match-map or
58 minibuffer-local-filename-completion-map.
59
60 2011-07-01 Glenn Morris <rgm@gnu.org>
61
62 * type-break.el (type-break-time-sum): Use dolist.
63
64 * textmodes/flyspell.el (flyspell-word-search-backward):
65 Replace CL function.
66
67 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
68
69 * mouse.el (mouse--strip-first-event): New function.
70 (function-key-map): Use it to map fringe clicks to normal clicks
71 by default.
72
73 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
74 (vc-bzr-revision-completion-table): Add support for annotate and date.
75
76 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
77 inherit from parent.
78
79 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
80
81 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
82 (dired-show-file-type): Doc fixup (bug#8818).
83
84 * dired.el (dired-mode): Fix up the doc string as suggested by
85 Drew Adams (bug#8817).
86
87 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
88 cookie, since the manual says that it should be possible to add
89 this function to `find-file-hook' (bug#8709).
90
91 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
92
93 * progmodes/cfengine.el: Moved all cfengine3.el functionality
94 here. Noted Ted Zlatanov as the maintainer.
95 (cfengine-common-settings, cfengine-common-syntax): New functions
96 to set up common things between `cfengine-mode' and
97 `cfengine3-mode'.
98 (cfengine3-mode): New mode.
99 (cfengine3-defuns cfengine3-defuns-regex
100 (cfengine3-class-selector-regex cfengine3-category-regex)
101 (cfengine3-vartypes cfengine3-font-lock-keywords)
102 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
103 (cfengine3-indent-line): Add from cfengine3.el.
104
105 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
106
107 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
108
109 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
110
111 2011-07-01 Martin Rudalics <rudalics@gmx.at>
112
113 * window.el (same-window-buffer-names, same-window-regexps)
114 (same-window-p, special-display-frame-alist)
115 (special-display-popup-frame, special-display-function)
116 (special-display-buffer-names, special-display-regexps)
117 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
118 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
119 (split-window-preferred-function, split-height-threshold)
120 (split-width-threshold, even-window-heights)
121 (display-buffer-mark-dedicated, window-splittable-p)
122 (split-window-sensibly, window-safely-shrinkable-p):
123 Un-obsolete.
124 (display-buffer): Don't spread args with function specifier
125 because special-display-popup-frame won't like it.
126
127 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
128
129 Time-stamp simplifications and fixes.
130 These improve accuracy slightly, and future-proof the code
131 against some potential changes to current-time format.
132
133 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
134 by using time-since and float-time.
135
136 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
137 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
138 + NNN microseconds".
139
140 * type-break.el (type-break-time-sum): Rewrite using time-add.
141
142 * play/hanoi.el (hanoi-current-time-float): Remove.
143 All uses replaced by float-time.
144
145 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
146 This yields a more-accurate answer.
147 (rng-time-to-float): Remove; no longer needed.
148
149 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
150
151 * calendar/timeclock.el (timeclock-seconds-to-time):
152 Defalias to seconds-to-time, since they're the same thing.
153
154 * emacs-lisp/elp.el (elp-elapsed-time):
155 * emacs-lisp/benchmark.el (benchmark-elapse):
156 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
157
158 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
159
160 * window.el (bury-buffer): Don't iconify the only frame.
161 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
162 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
163
164 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
165
166 * eshell/em-smart.el (eshell-smart-display-navigate-list):
167 Add mouse-yank-primary.
168
169 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
170
171 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
172
173 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * emacs-lisp/find-func.el (find-library--load-name): New fun.
176 (find-library-name): Use it to find relative load names when provided
177 absolute file name (bug#8803).
178
179 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
180
181 * textmodes/flyspell.el (flyspell-word): Consider words that
182 differ only in case as potential doublons (bug#5687).
183
184 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
185 Remove two rather uninteresting debugging-like messages to make
186 debbugs.el more silent.
187
188 * comint.el (comint-password-prompt-regexp): Accept "Response" as
189 a password-like phrase.
190
191 2011-06-30 Mastake YAMATO <yamato@redhat.com>
192
193 * progmodes/cc-guess.el: New file.
194
195 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
196
197 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
198 derived from `c-basic-common-init'.
199
200 * progmodes/cc-mode.el (top-level): Require cc-guess.
201 (c-basic-common-init): Use `cc-choose-style-for-mode'.
202
203 2011-06-30 Lawrence Mitchell <wence@gmx.li>
204
205 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
206
207 2011-06-30 Alan Mackenzie <acm@muc.de>
208
209 * progmodes/cc-engine.el (c-guess-continued-construct):
210 Correct the handling of template-args-cont, particularly for when font
211 lock is disabled. Name this case as "CASE G".
212
213 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
214
215 * allout.el (allout-yank-processing): Fix injection of extra space
216 between bullet and non-whitespace character in first topic when
217 pasting, ensuring that the actual spacing in the pasted topic
218 following the bullet char is preserved. This extra space was
219 causing pasted encrypted topics to get a decrypted status even
220 when the content was actually still encrypted. Now the decryption
221 status from before the paste is preserved.
222
223 (allout-flag-region): Set all allout overlays so they evaporate
224 when reduced to zero length (evanescent), to prevent overlay
225 leakage.
226
227 2011-06-30 Glenn Morris <rgm@gnu.org>
228
229 * w32-fns.el (w32-charset-info-alist): Declare.
230
231 * find-dired.el (find-grep-options): Simplify.
232
233 * term/ns-win.el (ns-set-resource): Declare.
234
235 * ses.el (row, col): Declare dynamic variables honestly.
236
237 * textmodes/reftex-parse.el (index-tags): Declare.
238
239 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
240
241 * cus-edit.el (customize-push-and-save): New function.
242
243 * files.el (hack-local-variables-confirm): Use it.
244
245 * custom.el (load-theme): New arg NO-CONFIRM.
246 Use customize-push-and-save (Bug#8720).
247 (custom-enabled-themes): Doc fix.
248
249 * cus-theme.el (customize-create-theme)
250 (custom-theme-merge-theme): Callers to load-theme changed.
251
252 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
253
254 * thingatpt.el (thing-at-point-short-url-regexp): Require that
255 short URLs have at least one dot in them (bug #7614).
256
257 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
258 nil, because using a pty is apparently too slow (bug #895).
259
260 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
261
262 * mail/sendmail.el (sendmail-query-once): New function.
263 (sendmail-query-once-function): New variable.
264
265 2011-06-29 Glenn Morris <rgm@gnu.org>
266
267 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
268
269 * ses.el (top-level): Require cl when compiling.
270 (ses-set-localvars): Fix error statement.
271 Call it at compile time to silence a storm of warnings.
272
273 2011-06-29 Martin Rudalics <rudalics@gmx.at>
274
275 * window.el (normalize-live-buffer): Rename to
276 window-normalize-buffer.
277 (normalize-live-frame): Rename to window-normalize-frame.
278 (normalize-any-window): Rename to window-normalize-any-window.
279 (normalize-live-window): Rename to window-normalize-live-window.
280 (make-window-atom): Rename to window-make-atom.
281 (window-resize-reset): Rename to window--resize-reset.
282 (window-resize-reset-1): Rename to window--resize-reset-1.
283 (resize-mini-window): Rename to window--resize-mini-window.
284 (resize-subwindows-skip-p): Rename to
285 window--resize-subwindows-skip-p.
286 (resize-subwindows-normal): Rename to
287 window--resize-subwindows-normal.
288 (resize-subwindows): Rename to window--resize-subwindows.
289 (resize-other-windows): Rename to window--resize-siblings.
290 (resize-this-window): Rename to window--resize-this-window.
291 (resize-root-window): Rename to window--resize-root-window.
292 (resize-root-window-vertically): Rename to
293 window--resize-root-window-vertically.
294 (normalize-buffer-to-display): Rename to
295 window-normalize-buffer-to-display.
296 (normalize-buffer-to-switch-to): Rename to
297 window-normalize-buffer-to-switch-to.
298 Correspondingly update all callers of the functions listed
299 above.
300 (display-buffer-alist, display-buffer-normalize-arguments)
301 (display-buffer-normalize-options, display-buffer)
302 (display-buffer-alist-set): Use "function" instead of
303 "fun-with-args".
304
305 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
306
307 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
308 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
309 debbugs.gnu.org. Mention acknowledgment email.
310
311 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
312
313 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
314 buffer multibyteness, since it shouldn't matter.
315
316 2011-06-28 Martin Rudalics <rudalics@gmx.at>
317
318 * window.el (display-buffer-in-side-window): Handle dedicated
319 windows as in display-buffer-reuse-window.
320 (display-buffer-normalize-alist): Use value of override
321 specifier.
322 (display-buffer-normalize-specifiers): Use value of
323 other-window-means-other-frame specifier.
324 (display-buffer-alist): Rewrite some texts in widgets.
325 (display-buffer): Spread arguments when calling function
326 specified by fun-with-args.
327
328 2011-06-28 Deniz Dogan <deniz@dogan.se>
329
330 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
331 Unnest `let'.
332
333 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
334 selectors (Bug#5732).
335 (css-proprietary-nmstart-re): Use `regexp-opt'.
336
337 2011-06-27 Jari Aalto <jari.aalto@cante.net>
338
339 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
340 (eshell-ls-date-format): New defcustom.
341 (eshell-ls-file): Use it.
342
343 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
344
345 * help-fns.el (describe-variable): Fix message for terminal-local vars.
346
347 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
348
349 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
350 (ange-ftp-make-tmp-name): New arg.
351 (ange-ftp-file-local-copy): Use it.
352
353 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
354
355 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
356 no-conversion (Bug#8870).
357
358 2011-06-27 Martin Rudalics <rudalics@gmx.at>
359
360 * window.el (window-right, window-left, window-child)
361 (window-child-count, window-last-child)
362 (window-iso-combination-p, walk-window-tree-1)
363 (window-atom-check-1, window-tree-1, delete-window)
364 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
365 new naming conventions - window-vchild, window-hchild,
366 window-next and window-prev are now called window-top-child,
367 window-left-child, window-next-sibling and window-prev-sibling
368 respectively.
369 (resize-window-reset): Rename to window-resize-reset.
370 (resize-window-reset-1): Rename to window-resize-reset-1.
371 (resize-window): Rename to window-resize.
372 (window-min-height, window-min-width)
373 (resize-mini-window, resize-this-window, resize-root-window)
374 (resize-root-window-vertically, adjust-window-trailing-edge)
375 (enlarge-window, shrink-window, maximize-window)
376 (minimize-window, delete-window, quit-restore-window)
377 (split-window, balance-windows, balance-windows-area-adjust)
378 (balance-windows-area, window-state-put-2)
379 (display-buffer-even-window-sizes, display-buffer-set-height)
380 (display-buffer-set-width, set-window-text-height)
381 (fit-window-to-buffer): Rename all "resize-window" prefixed
382 calls to use the "window-resize" prefix convention.
383 (display-buffer-alist): Fix symbol for label specifier.
384 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
385 corresponding specifier.
386 Reported by Juanma Barranquero <lekktu@gmail.com>.
387
388 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
389
390 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
391 convention.
392 (ses-call-printer): Does not pass an empty string to formatter when the
393 cell is empty to keep from barking printer Calc math-format-value.
394
395 2011-06-27 Richard Stallman <rms@gnu.org>
396
397 * battery.el (battery-mode-line-limit): New variable.
398 (battery-update): Handle it.
399
400 * mail/rmailmm.el (rmail-mime-process-multipart):
401 Handle truncated messages.
402
403 2011-06-27 Glenn Morris <rgm@gnu.org>
404
405 * progmodes/flymake.el (flymake-err-line-patterns):
406 Allow for column numbers in the ant/javac pattern. (Bug#8866)
407
408 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
409
410 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
411 (ses--clean-!, ses--clean-_): New functions.
412 (ses-range): Add configurability of readout order, and conversion
413 to Calc vector.
414
415 * ses.el (ses-repair-cell-reference-all): New function.
416 (ses-cell-symbol): Set macro as safe, so that it can be used in
417 formulas.
418
419 * ses.el: Update cycle detection algorithm.
420 (ses-localvars): Add ses--Dijkstra-attempt-nb and
421 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
422 (ses-set-localvars): New function.
423 (ses-make-cell): Add property-list as a cell element.
424 (ses-cell-property-get-fun, ses-cell-property-get)
425 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
426 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
427 New functions.
428 (ses-cell-property-set, ses-cell-property-pop)
429 (ses-cell-property-get-handle): New macro.
430 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
431 New aliases, used for code readability.
432 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
433 cycle detection.
434 (ses-self-reference-early-detection): New defcustom.
435 (ses-formula-references): Robustify against self-refering cells.
436 (ses-mode): Use ses-set-localvars.
437 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
438 before lauching the update processing.
439 (ses-initialize-Dijkstra-attempt): New function.
440 (ses-recalculate-cell): Update for cycle detection based on
441 Dijkstra algorithm.
442
443 * ses.el: Fix commenting and indenting convention.
444
445 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
446
447 * bs.el (bs-cycle-next): Complete last change.
448
449 2011-06-27 Drew Adams <drew.adams@oracle.com>
450
451 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
452
453 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
454
455 * net/network-stream.el (network-stream-open-starttls):
456 Don't re-get capabilities unless we've reestablished connection.
457 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
458
459 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
460 to binary to possibly avoid line encoding issues on Windows (among
461 other things).
462
463 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
464
465 * net/network-stream.el (open-network-stream): Return an :error
466 saying what the problem was, if possible.
467
468 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
469 server.
470
471 * net/network-stream.el (network-stream-open-starttls): If we
472 wanted to use STARTTLS, and the server offered it, but we weren't
473 able to because we had no STARTTLS support, then close the connection.
474 (open-network-stream): Return an :error element, if present.
475
476 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
477
478 * hl-line.el (hl-line-sticky-flag): Doc fix.
479 (global-hl-line-sticky-flag): New option (Bug#8323).
480 (global-hl-line-highlight): Obey it.
481
482 * vc/vc.el (vc-revert-show-diff): Default to t.
483
484 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
485
486 * allout-widgets.el (allout-widgets-post-command-business):
487 Stop decorating intermediate isearch matches. They're not being
488 undecorated when an isearch is continued past, and isearch
489 automatically collapses them. This leads to "widget leaks", where
490 decorated items accumulate in collapsed areas. Lines with lots of
491 hidden widgets can slow down cursor travel, substantially.
492 Too much complicated machinery would be needed to ensure undecoration,
493 so we're doing without this nicety.
494
495 (allout-widgets-tally-string): Don't try to do a hash-table-count
496 of allout-widgets-tally when it's nil. This eliminates spurious "Error
497 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
498 *Messages* when allout-widgets-maintain-tally is t.
499
500 2011-06-26 Martin Rudalics <rudalics@gmx.at>
501
502 * window.el (display-buffer-normalize-argument): Rename to
503 display-buffer-normalize-arguments. Handle special meaning of
504 LABEL argument. Respect special-display-function when popping up
505 a new frame. Fix code searching for a window showing the buffer
506 on another frame.
507 (display-buffer-normalize-specifiers):
508 Call display-buffer-normalize-arguments.
509 (display-buffer-in-window): Don't undedicate the window if its
510 buffer remains the same.
511 Reported by Drew Adams <drew.adams@oracle.com>.
512 (display-buffer-alist): Add choice for same-window macro
513 specfier.
514 (display-buffer): Mention special meaning of LABEL argument in
515 doc-string. Fix quoting. Don't pop up a new frame even as
516 fallback.
517
518 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
519
520 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
521 avoid deleting the current window in some cases (bug#8911).
522
523 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
524
525 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
526 (Bug#8934)
527
528 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
529
530 * net/network-stream.el (network-stream-open-starttls):
531 Use built-in TLS support if `gnutls-available-p' is true.
532 (network-stream-open-tls): Ditto.
533
534 2011-06-26 Leo Liu <sdl.web@gmail.com>
535
536 * register.el (registerv): New struct.
537 (registerv-make): New function.
538 (jump-to-register, describe-register-1, insert-register):
539 Support the jump-func, print-func and insert-func slot of a registerv
540 struct. (Bug#8415)
541
542 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
543
544 * vc/vc.el (vc-revert-show-diff): New defcustom.
545 (vc-diff-internal): New arg specifying diff buffer.
546 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
547 reuse an existing *vc-diff* buffer (Bug#8927).
548
549 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
550
551 2011-06-26 Glenn Morris <rgm@gnu.org>
552
553 * progmodes/f90.el (f90-critical-indent): New option.
554 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
555 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
556 (f90-mode): Doc fix.
557 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
558 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
559 (f90-beginning-of-block, f90-next-block, f90-indent-region)
560 (f90-match-end): Handle block, critical.
561
562 2011-06-25 Glenn Morris <rgm@gnu.org>
563
564 * calendar/diary-lib.el (diary-included-files): Doc fix.
565 (diary-include-files): New function, extracted from
566 diary-include-other-diary-files and diary-mark-included-diary-files.
567 (diary-include-other-diary-files, diary-mark-included-diary-files):
568 Just call diary-include-files.
569 (diary-mark-entries): Reset diary-included-files on first call.
570
571 * calendar/diary-lib.el (diary-mark-entries)
572 (diary-mark-included-diary-files):
573 Visit included diary-files in temp buffers.
574
575 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
576 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
577 (f90-start-block-re, f90-imenu-generic-expression)
578 (f90-looking-at-program-block-start, f90-no-block-limit):
579 Add support for submodules.
580
581 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
582 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
583
584 2011-06-25 Eli Zaretskii <eliz@gnu.org>
585
586 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
587 buffer-file-type before setting its value, to avoid disastrous
588 global effects on decoding files for DOS/Windows systems. (Bug#8780)
589
590 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
591
592 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
593
594 * ses.el (ses-unload-function):
595 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
596
597 * proced.el (proced-unload-function):
598 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
599
600 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
601
602 * server.el (server-create-window-system-frame): Add parameters arg.
603 (server-process-filter): Doc fix. Handle frame-parameters.
604
605 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
606
607 Fix bug#8730, bug#8781.
608
609 * loadhist.el (unload--set-major-mode): New function.
610 (unload-feature): Use it.
611
612 * progmodes/python.el (python-after-info-look): Add autoload cookie.
613 (python-unload-function): New function.
614
615 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
616
617 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
618
619 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
620
621 * net/browse-url.el (browse-url-firefox-program): Add icecat to
622 the candidates list.
623
624 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
625
626 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
627
628 2011-06-23 Richard Stallman <rms@gnu.org>
629
630 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
631 (rmail-variables): Set next-error-move-function.
632 (rmail-what-message): Take argument POS.
633 (rmail-next-error-move): New function.
634
635 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
636
637 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
638 messages for adjacent non-terminals.
639
640 2011-06-23 Richard Stallman <rms@gnu.org>
641
642 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
643 (rmail-show-message-1): Preserve buffer modified flag.
644 (rmail-start-mail): Don't specify use of rmail-mail-return;
645 that's done by mail-bury now.
646 (rmail-mail-return): Handle arg NEWBUF.
647
648 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
649
650 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
651 SIZE is a number.
652
653 2011-06-23 Martin Rudalics <rudalics@gmx.at>
654
655 * window.el (get-lru-window, get-mru-window)
656 (get-largest-window): Never return a minibuffer window.
657 (display-buffer-pop-up-window): Fix a bug that could lead to
658 reusing the minibuffer window.
659 (display-buffer): Pass original specifier argument to
660 display-buffer-function instead of the normalized one.
661 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
662
663 2011-06-22 Leo Liu <sdl.web@gmail.com>
664
665 * minibuffer.el (completing-read-function)
666 (completing-read-default): Move from minibuf.c
667
668 2011-06-22 Richard Stallman <rms@gnu.org>
669
670 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
671 to Rmail even if not started by a special Rmail command.
672
673 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
674 Copy the buffer currently showing just one message.
675
676 2011-06-22 Roland Winkler <winkler@gnu.org>
677
678 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
679 (bibtex-clean-entry): First delete the old key so that a
680 customized algorithm for generating the new key does not get
681 confused by the old key.
682 (bibtex-url): Obey regexp of first step.
683 (bibtex-search-entries): Do not use add-to-list with local
684 list-var.
685
686 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
687
688 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
689 stored a user name, then query for the password first, instead of
690 waiting for SMTP to give an error message and the trying again.
691
692 2011-06-22 Lawrence Mitchell <wence@gmx.li>
693
694 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
695 BUFFER in call-process.
696
697 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
698
699 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
700 QUIT twice.
701 (smtpmail-try-auth-methods): Require user name and password from
702 auth-source.
703
704 2011-06-22 Martin Rudalics <rudalics@gmx.at>
705
706 * window.el (display-buffer-default-specifiers)
707 (display-buffer-alist): Remove entries for pop-up-frame-alist.
708 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
709 (split-window): Normalize SIDE argument (Bug#8916).
710
711 * frame.el (pop-up-frame-alist, pop-up-frame-function)
712 (special-display-frame-alist, special-display-popup-frame):
713 Remove duplicate declarations. These are now in window.el.
714
715 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
716
717 * mail/smtpmail.el (smtpmail-via-smtp):
718 Set :use-starttls-if-possible so that we always use STARTTLS if the
719 server supports it. SMTP servers that support STARTTLS commonly
720 require it.
721
722 * net/network-stream.el (network-stream-open-starttls): Support
723 upgrading to STARTTLS always, even if we don't have built-in support.
724 (open-network-stream): Add the :always-query-capabilies keyword.
725
726 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
727 upgrades with `open-network-stream', and rely solely on
728 auth-source for all credentials. Big changes throughout the file,
729 but in particular:
730 (smtpmail-auth-credentials): Remove.
731 (smtpmail-starttls-credentials): Remove.
732 (smtpmail-via-smtp): Check for servers saying they want AUTH after
733 MAIL FROM, too.
734
735 * net/network-stream.el (network-stream-open-starttls):
736 Provide support for client certificates both for external and built-in
737 STARTTLS.
738 (auth-source): Require.
739 (open-network-stream): Document the :client-certificate keyword.
740 (network-stream-certificate): Change cert-cert to cert and
741 cert-key to key.
742
743 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
744
745 * net/tramp-cache.el (top): Don't load the persistency file when
746 "emacs -Q" has been called.
747
748 2011-06-21 Tim Harper <timcharper@gmail.com>
749
750 * term/ns-win.el (ns-initialize-window-system):
751 Set application-specific `ApplePressAndHoldEnabled' system
752 resource to NO as it is not yet supported by the NS port.
753
754 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
755
756 * misc.el (list-dynamic-libraries--refresh): Compute header here...
757 (list-dynamic-libraries): ...not here.
758
759 2011-06-21 Leo Liu <sdl.web@gmail.com>
760
761 * subr.el (sha1): Implement sha1 using secure-hash.
762
763 2011-06-21 Martin Rudalics <rudalics@gmx.at>
764
765 * window.el (display-buffer-alist): In default value do not
766 enforce searching a window on any but the selected frame.
767 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
768 (display-buffer-select-window): Remove function.
769 (display-buffer-in-window): When a window on another frame gets
770 reused, do not select it any more but just raise its frame if
771 necessary (Bug#8851) and (Bug#8856).
772 (display-buffer-normalize-options): Handle pop-up-frames related
773 options more faithfully.
774 (pop-to-buffer): Don't rely on `display-buffer' selecting the
775 window if it is on another frame.
776 (display-buffer-alist, display-buffer-default-specifiers):
777 Don't make new frame unsplittable by default.
778 (display-buffer-normalize-argument): Fix doc-string typo and use
779 'same-frame-other-window instead of 'other-window when associating
780 with display-buffer-macro-specifiers.
781
782 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
783
784 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
785 New functions.
786 (5x5-mode-map, 5x5-mode-menu): Bind them.
787 (5x5-draw-grid): Tweak the solver's rendering.
788
789 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
790
791 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
792 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
793
794 2011-06-21 Drew Adams <drew.adams@oracle.com>
795
796 * menu-bar.el: Use function variable instead of switch-to-buffer.
797 (menu-bar-select-buffer-function): New variable.
798 (menu-bar-update-buffers): Use it (bug#8876).
799
800 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
803 variable's status.
804
805 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
806
807 * x-dnd.el (x-dnd-version-from-flags)
808 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
809 and long as number (Bug#8899).
810 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
811
812 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
813
814 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
815 (completion-try-completion, completion-all-completions): Compute the
816 metadata argument if it's missing; make it optional (bug#8795).
817
818 * wid-edit.el: Use lex-bind and move towards completion-at-point.
819 (widget-complete): Use new :completion-function property.
820 (widget-completions-at-point): New function.
821 (default): Use :completion-function instead of :complete.
822 (widget-default-completions): Rename from widget-default-complete;
823 Rewrite.
824 (widget-string-complete, widget-file-complete, widget-color-complete):
825 Remove functions.
826 (file, symbol, function, variable, coding-system, color):
827 * international/mule-cmds.el (default-input-method, charset)
828 (language-info-custom-alist):
829 * cus-edit.el (face): Use new property :completions.
830
831 * progmodes/pascal.el (pascal-completions-at-point): New function.
832 (pascal-mode): Use it.
833 (pascal-mode-map): Use completion-at-point.
834 (pascal-toggle-completions): Make obsolete.
835 (pascal-complete-word, pascal-show-completions):
836 * progmodes/octave-mod.el (octave-complete-symbol):
837 Redefine as obsolete alias.
838 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
839 Signal absence of completion info for old Octave,
840 (inferior-octave-complete): Redefine as obsolete alias.
841 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
842 (meta-completions-at-point): Rename from meta-complete-symbol and
843 adapt it for use on completion-at-point-functions.
844 (meta-common-mode): Use it.
845 (meta-looking-at-backward, meta-match-buffer): Remove.
846 (meta-complete-symbol): Redefine as obsolete alias.
847 (meta-common-mode-map): Use completion-at-point.
848 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
849 (makefile-mode-map): Use completion-at-point.
850 (makefile-completions-at-point): Rename from makefile-complete and
851 adapt it for use on completion-at-point-functions.
852 (makefile-mode): Use it.
853 (makefile-complete): Redefine as obsolete alias.
854
855 2011-06-20 Deniz Dogan <deniz@dogan.se>
856
857 * net/rcirc.el: Delete trailing whitespaces once and for all.
858
859 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
860
861 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
862
863 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
864
865 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
866
867 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
868
869 2011-06-19 Martin Rudalics <rudalics@gmx.at>
870
871 * window.el (display-buffer-other-window-means-other-frame):
872 Call display-buffer-normalize-alist.
873 (display-buffer-normalize-specifiers-1): Rename to
874 display-buffer-normalize-argument. New argument other-frame.
875 Rewrite.
876 (display-buffer-normalize-specifiers-2): Rename to
877 display-buffer-normalize-options.
878 (display-buffer-normalize-alist-1): New function.
879 (display-buffer-normalize-specifiers-3): Rename to
880 display-buffer-normalize-alist.
881 Call display-buffer-normalize-alist-1.
882 (display-buffer-normalize-options-inhibit): New variable.
883 (display-buffer-normalize-specifiers): Rewrite calling
884 display-buffer-normalize-alist,
885 display-buffer-normalize-argument, and
886 display-buffer-normalize-options. Don't call the latter if
887 display-buffer-normalize-options-inhibit is non-nil.
888 (frame-auto-delete): New option.
889 (window-deletable-p): Use frame-auto-delete.
890 (window-list-no-nils, window-state-ignored-parameters)
891 (window-state-get-1, window-state-get, window-state-put-list)
892 (window-state-put-1, window-state-put-2, window-state-put):
893 New functions.
894 (display-buffer-normalize-options): Move special-display-p group
895 after pop-up-frame group (Bug#8851) and (Bug#8856).
896
897 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
898
899 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
900 groups (Bug#8776).
901 (rx-submatch-n): New function.
902 (rx): Document it.
903
904 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
905 (Bug#8768).
906
907 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
908
909 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
910
911 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
912 anytime existing face settings are present (Bug#8889).
913
914 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
915 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
916 Remove unused argument.
917
918 2011-06-18 Martin Rudalics <rudalics@gmx.at>
919
920 * window.el (display-buffer-default-specifiers):
921 Remove pop-up-frame. Add pop-up-window-min-height,
922 pop-up-window-min-width, and another reuse-window specifier
923 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
924 (display-buffer-normalize-specifiers-2):
925 Handle split-height-threshold and split-width-threshold also when
926 pop-up-windows is unset. Add a reuse-window specifier for the
927 case popping up a new window fails.
928 (special-display-popup-frame): Remove double quoting.
929 (display-buffer-normalize-specifiers-1): Fix thinko.
930
931 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
932
933 * shell.el (shell-completion-vars): Set pcomplete-termination-string
934 according to comint-completion-addsuffix.
935
936 * pcomplete.el: Convert to lexical binding and fix bug#8819.
937 (pcomplete-suffix-list): Mark as obsolete.
938 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
939 pcomplete-seen in the closure.
940 (pcomplete-comint-setup): Setup completion-at-point as well.
941 (pcomplete--entries): New function.
942 (pcomplete--env-regexp): New var.
943 (pcomplete-entries): Rewrite to work with partial-completion and
944 without relying on pcomplete-suffix-list.
945 (pcomplete-pare-list): Remove, unused.
946
947 2011-06-17 Martin Rudalics <rudalics@gmx.at>
948
949 * window.el (display-buffer-alist): Set pop-up-window-min-height
950 and pop-up-window-min-width in default value. Reported by
951 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
952 other-window-means-other-frame.
953 (display-buffer-macro-specifiers): Comment out entry for
954 other-window specifier.
955 (display-buffer-other-window-means-other-frame): New function.
956 (display-buffer-normalize-specifiers-1): New arguments
957 buffer-name and label. Treat other-window case specially.
958 (display-buffer-normalize-specifiers-2): Treat other-window case
959 specially.
960 (display-buffer-normalize-specifiers-3): New function.
961 (display-buffer-normalize-specifiers):
962 Call display-buffer-normalize-specifiers-3.
963
964 2011-06-17 Martin Rudalics <rudalics@gmx.at>
965
966 * window.el (same-window-p): Fix two typos introduced when
967 adding with-no-warnings.
968 (display-buffer-normalize-specifiers-1): Don't check
969 pop-up-frames for 'unset initialization.
970 (display-buffer-normalize-specifiers-2): Major rewrite using
971 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
972 (pop-up-frames, display-buffer-reuse-frames)
973 (display-buffer-mark-dedicated): Don't initialize to 'unset.
974 Suggested by David Engster <deng@randomsample.de>.
975 (even-window-heights): Initialize to 'unset.
976 (display-buffer-alist-set): Handle new 'unset initializations.
977 (display-buffer-macro-specifiers): Don't pop up a new frame in the
978 other window case.
979
980 2011-06-16 Martin Rudalics <rudalics@gmx.at>
981
982 * window.el (display-buffer-normalize-specifiers-1):
983 Respect current value of pop-up-frames for most reasonable values of
984 second argument of display-buffer (Bug#8865).
985 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
986 (switch-to-buffer-other-window-same-frame)
987 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
988 Adams (Bug#8875).
989 (display-buffer): Don't check noninteractive when calling
990 display-buffer-pop-up-frame.
991 (display-buffer-pop-up-frame): Never pop up a frame in
992 noninteractive mode (Bug#8857).
993 (enlarge-window, shrink-window): Don't report an error when the
994 window can't be resized as requested (Bug#8862).
995
996 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
997
998 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
999
1000 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
1001
1002 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
1003
1004 2011-06-15 Alan Mackenzie <acm@muc.de>
1005
1006 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
1007 for declarators, disable knr checking to speed up for normal files.
1008 2: Refactor, replacing a sequence of nested if forms by a cond form.
1009
1010 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1011
1012 * net/network-stream.el (open-network-stream): Add the keyword
1013 :always-query-capabilities for the case where you want to force a
1014 `plain' network connection, but the protocol still requires the
1015 capabilitiy command (i.e., SMTP and EHLO).
1016
1017 * subr.el (process-live-p): Rename from `process-alive-p' for
1018 consistency with other `-live-p' functions.
1019
1020 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1021
1022 * window.el (same-window-buffer-names, same-window-regexps)
1023 (special-display-frame-alist, special-display-popup-frame)
1024 (special-display-function, special-display-buffer-names)
1025 (special-display-regexps, pop-up-frame-alist)
1026 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
1027 (pop-up-windows, split-window-preferred-function)
1028 (split-height-threshold, split-width-threshold, even-window-heights)
1029 (display-buffer-mark-dedicated): Don't encourage the use of
1030 display-buffer-alist from Elisp code.
1031
1032 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
1033
1034 * progmodes/python.el (python-mode): Derive from prog-mode.
1035 * progmodes/ps-mode.el (ps-mode):
1036 * progmodes/mixal-mode.el (mixal-mode):
1037 * progmodes/cfengine.el (cfengine-mode):
1038 * progmodes/ld-script.el (ld-script-mode): Likewise.
1039
1040 2011-06-15 Martin Rudalics <rudalics@gmx.at>
1041
1042 * window.el (display-buffer-alist): Trim default value to avoid
1043 popping up a new frame (Bug#8857) or reusing an arbitrary window
1044 on another frame.
1045 (display-buffer): Do not fall back on popping up a new frame in
1046 batch mode (Bug#8857).
1047
1048 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
1049
1050 * cus-theme.el (describe-theme-1): Use custom-theme-p.
1051 (custom-theme-summary): New function.
1052 (customize-themes): Use it.
1053
1054 2011-06-13 Glenn Morris <rgm@gnu.org>
1055
1056 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
1057
1058 2011-06-13 Martin Rudalics <rudalics@gmx.at>
1059
1060 * help.el (help-window): Remove variable.
1061 (help-window-point-marker, temp-buffer-max-height)
1062 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
1063 (help-print-return-message): Don't set help-window.
1064 (resize-temp-buffer-window): Rewrite cod eand doc-string.
1065 (help-window-setup-finish): Remove.
1066 (help-window-display-message, help-window-setup)
1067 (with-help-window): Major rewrite based on new
1068 display-buffer-window variable.
1069
1070 * help-mode.el (help-mode-finish): Remove help-window related
1071 code.
1072
1073 * view.el (view-exits-all-viewing-windows): Remove reference to
1074 view-return-to-alist in doc-string.
1075 (view-return-to-alist): Make obsolete.
1076 (view-buffer): Call pop-to-buffer-same-window and remove
1077 undo-window code.
1078 (view-buffer-other-window): Call pop-to-buffer-other-window and
1079 simplify code. Ignore second argument.
1080 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
1081 simplify code. Ignore second argument.
1082 (view-return-to-alist-update): Make obsolete.
1083 (view-mode-enter): Rename second argument to QUIT-RESTORE.
1084 Rewrite using quit-restore window parameters.
1085 (view-mode-exit): Rename second argument to EXIT-ONLY.
1086 Rewrite using quit-restore-window.
1087 (View-exit, View-exit-and-edit, View-leave, View-quit)
1088 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
1089 appropriate arguments.
1090 (view-end-message): Use quit-restore window parameter.
1091
1092 * window.el (display-buffer-function): Rewrite doc-string.
1093 (display-buffer-window, display-buffer-alist): New variables.
1094 (display-buffer-split-specifiers)
1095 (display-buffer-side-specifiers)
1096 (display-buffer-macro-specifiers): New constants.
1097 (display-buffer-even-window-sizes, display-buffer-set-height)
1098 (display-buffer-set-width, display-buffer-select-window)
1099 (display-buffer-in-window, display-buffer-reuse-window)
1100 (display-buffer-split-window-1, display-buffer-split-window)
1101 (display-buffer-split-atom-window, display-buffer-pop-up-window)
1102 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
1103 (display-buffer-in-side-window, normalize-buffer-to-display)
1104 (display-buffer-normalize-specifiers-1)
1105 (display-buffer-normalize-specifiers-2)
1106 (display-buffer-normalize-specifiers, display-buffer-frame):
1107 New functions.
1108 (display-buffer): Major rewrite.
1109 (display-buffer-other-window, display-buffer-other-frame)
1110 (pop-to-buffer, switch-to-buffer-other-window)
1111 (switch-to-buffer-other-frame): Rewrite.
1112 (display-buffer-same-window, display-buffer-same-frame)
1113 (display-buffer-same-frame-other-window)
1114 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
1115 (pop-to-buffer-other-window)
1116 (pop-to-buffer-same-frame-other-window)
1117 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
1118 (switch-to-buffer-other-window-same-frame): New functions.
1119 (same-window-p, special-display-p): Rewrite disabling warnings.
1120 Make obsolete.
1121 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1122 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
1123 Make obsolete
1124 (same-window-buffer-names, same-window-regexps)
1125 (special-display-frame-alist, special-display-popup-frame)
1126 (special-display-function, special-display-buffer-names)
1127 (special-display-regexps, pop-up-frame-alist)
1128 (pop-up-frame-function, split-window-preferred-function)
1129 (split-height-threshold, split-width-threshold)
1130 (even-window-heights): Make obsolete.
1131
1132 2011-06-12 Glenn Morris <rgm@gnu.org>
1133
1134 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
1135 Misc simplifications.
1136
1137 2011-06-12 Martin Rudalics <rudalics@gmx.at>
1138
1139 * window.el (window-safely-shrinkable-p): Restore function which
1140 was inadvertently removed in change from 2011-06-11. Declare as
1141 obsolete.
1142
1143 * calendar/calendar.el (calendar-generate-window):
1144 Use window-iso-combined-p instead of combination of one-window-p and
1145 window-safely-shrinkable-p.
1146
1147 2011-06-12 Glenn Morris <rgm@gnu.org>
1148
1149 * progmodes/fortran.el (fortran-mode-syntax-table):
1150 * progmodes/f90.el (f90-mode-syntax-table):
1151 Set % to punctuation. (Bug#8820)
1152 (f90-find-tag-default): Remove, no longer needed.
1153
1154 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
1155
1156 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
1157
1158 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
1159
1160 * image.el (image-animated-p): Return animation delay in seconds.
1161 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
1162 (image-animate-timeout): Remove DELAY argument. Don't assume
1163 every subimage has the same delay; get it from image-animated-p.
1164 (image-animate): Caller changed.
1165
1166 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
1167
1168 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
1169 to ignored backtrace functions.
1170
1171 2011-06-11 Glenn Morris <rgm@gnu.org>
1172
1173 * calendar/appt.el (appt-disp-window-function): Doc fix.
1174 (appt-check): Handle overlapping appointments. (Bug#8337)
1175
1176 2011-06-11 Martin Rudalics <rudalics@gmx.at>
1177
1178 * window.el (window-tree-1, window-tree): New functions, moving
1179 the latter to window.el.
1180 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
1181 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
1182 (bw-refresh-edges): Remove.
1183 (balance-windows-1, balance-windows-2): New functions.
1184 (balance-windows): Rewrite in terms of window tree functions,
1185 balance-windows-1 and balance-windows-2.
1186 (bw-adjust-window): Remove.
1187 (balance-windows-area-adjust): New function with functionality of
1188 bw-adjust-window but using resize-window.
1189 (set-window-text-height): Rewrite doc-string.
1190 Use normalize-live-window and resize-window.
1191 (enlarge-window-horizontally, shrink-window-horizontally):
1192 Rename argument to DELTA.
1193 (window-buffer-height): New function.
1194 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
1195 Rewrite using new window resize routines.
1196 (kill-buffer-and-window, mouse-autoselect-window-select):
1197 Use ignore-errors instead of condition-case.
1198 (quit-window): Call delete-frame instead of delete-windows-on
1199 for the only buffer on frame.
1200
1201 2011-06-10 Martin Rudalics <rudalics@gmx.at>
1202
1203 * loadup.el (top-level): Load window before files for the sake
1204 of replace-buffer-in-windows.
1205
1206 * files.el (read-buffer-to-switch)
1207 (switch-to-buffer-other-window)
1208 (switch-to-buffer-other-frame, display-buffer-other-frame):
1209 Move to window.el.
1210
1211 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
1212 (previous-buffer): Move to window.el.
1213
1214 * bindings.el (unbury-buffer): Move to window.el.
1215
1216 * window.el (delete-other-windows-vertically): Move after
1217 definition of delete-other-windows.
1218 (other-window, delete-windows-on, replace-buffer-in-windows):
1219 Move here from window.c.
1220 (record-window-buffer, unrecord-window-buffer)
1221 (set-window-buffer-start-and-point, switch-to-prev-buffer)
1222 (switch-to-next-buffer): New functions.
1223 (get-next-valid-buffer, last-buffer, next-buffer): Move here
1224 from simple.el. Call switch-to-next-buffer.
1225 (previous-buffer): Move here from simple.el.
1226 Call switch-to-prev-buffer.
1227 (bury-buffer): Move here from buffer.c. Switch to previous
1228 buffer when window cannot be deleted.
1229 (unbury-buffer): Move here from bindings.el.
1230 (ctl-x-map): Move binding for other-window from window.c to
1231 here.
1232 (read-buffer-to-switch, switch-to-buffer-other-window)
1233 (switch-to-buffer-other-frame): Move here from files.el.
1234 (normalize-buffer-to-switch-to): New functions.
1235 (switch-to-buffer): Move here from buffer.c.
1236 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
1237
1238 2011-06-10 Martin Rudalics <rudalics@gmx.at>
1239
1240 * window.el (window-min-height, window-min-width): Move here
1241 from window.c. Add defcustoms and rewrite doc-strings.
1242 (resize-mini-window, resize-window): New functions.
1243 (adjust-window-trailing-edge, enlarge-window, shrink-window):
1244 Move here from window.c.
1245 (maximize-window, minimize-window): New functions.
1246 (delete-window, delete-other-windows, split-window): Move here
1247 from window.c.
1248 (window-split-min-size): New function.
1249 (split-window-keep-point): Mention split-window-above-each-other
1250 instead of split-window-vertically.
1251 (split-window-above-each-other, split-window-vertically):
1252 Rename split-window-vertically to split-window-above-each-other and
1253 provide defalias for old definition.
1254 (split-window-side-by-side, split-window-horizontally): Rename
1255 split-window-horizontally to split-window-side-by-side and provide
1256 defalias for the old definition.
1257 (ctl-x-map): Move bindings for delete-window,
1258 delete-other-windows and enlarge-window here from window.c.
1259 Replace bindings for split-window-vertically and
1260 split-window-horizontally by bindings for
1261 split-window-above-each-other and split-window-side-by-side.
1262
1263 * cus-start.el (all): Remove entries for window-min-height and
1264 window-min-width. Add entries for window-splits and
1265 window-nest.
1266
1267 2011-06-09 Glenn Morris <rgm@gnu.org>
1268
1269 * calendar/appt.el (appt-mode-line): New function.
1270 (appt-check, appt-disp-window): Use it.
1271
1272 * files.el (hack-one-local-variable-eval-safep):
1273 Allow minor-modes with explicit +/-1 arguments.
1274
1275 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
1276
1277 * term/xterm.el (xterm): Add defgroup.
1278 (xterm-extra-capabilities): Add defcustom to supply known xterm
1279 capabilities, skip querying them, or query them (default).
1280 (terminal-init-xterm): Use it.
1281 (terminal-init-xterm-modify-other-keys): New function to set up
1282 modifyOtherKeys support to simplify `terminal-init-xterm'.
1283
1284 2011-06-09 Martin Rudalics <rudalics@gmx.at>
1285
1286 * window.el (resize-window-reset, resize-window-reset-1)
1287 (resize-subwindows-skip-p, resize-subwindows-normal)
1288 (resize-subwindows, resize-other-windows, resize-this-window)
1289 (resize-root-window, resize-root-window-vertically)
1290 (window-deletable-p, window-or-subwindow-p)
1291 (frame-root-window-p): New functions.
1292
1293 2011-06-09 Glenn Morris <rgm@gnu.org>
1294
1295 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
1296 (ange-ftp-get-files): Use it.
1297
1298 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
1299
1300 * mail/sendmail.el (mail-recover-1, mail-recover):
1301 * files.el (recover-file, recover-session):
1302 Handle dired-listing-switches not being just a single short option.
1303
1304 2011-06-09 Glenn Morris <rgm@gnu.org>
1305
1306 * calendar/appt.el (appt-display-message, appt-disp-window):
1307 Handle lists of appointments.
1308
1309 2011-06-08 Martin Rudalics <rudalics@gmx.at>
1310
1311 * window.el (one-window-p): Move down in code.
1312 Rewrite doc-string.
1313 (window-current-scroll-bars): Rewrite doc-string.
1314 Normalize live window argument.
1315 (walk-windows, get-window-with-predicate, count-windows):
1316 Rewrite doc-string. Use window-list-1.
1317 (window-in-direction-2, window-in-direction, get-mru-window):
1318 New functions.
1319
1320 2011-06-08 Reuben Thomas <rrt@sc3d.org>
1321
1322 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
1323 Doc fix (Bug#8713).
1324
1325 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
1326
1327 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
1328
1329 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
1330
1331 * loadhist.el (unload-feature-special-hooks):
1332 Add `comint-output-filter-functions'.
1333
1334 2011-06-08 Ivan Kanis <gnu@kanis.fr>
1335
1336 * calendar/appt.el (appt-check): Move some initializations into the let.
1337
1338 2011-06-08 Martin Rudalics <rudalics@gmx.at>
1339
1340 * window.el (window-height): Defalias to window-total-height.
1341 (window-width): Defalias to window-body-width.
1342
1343 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
1344
1345 * image-mode.el (image-toggle-animation): New command.
1346 (image-mode-map): Bind it to RET.
1347 (image-mode): Update message.
1348 (image-toggle-display-image): Avoid a spurious cache flush.
1349 (image-transform-rotation): Doc fix.
1350 (image-transform-properties): Return quickly in the normal case.
1351 (image-animate-loop): Rename from image-animate-max-time.
1352
1353 * image.el (image-animate-max-time): Move to image-mode.el.
1354 (create-animated-image): Remove unnecessary function.
1355 (image-animate): Rename from image-animate-start. New arg.
1356 (image-animate-stop): Remove; just use image-animate-timer.
1357 (image-animate-timer): Use car-safe.
1358 (image-animate-timeout): Rename argument.
1359
1360 2011-06-07 Martin Rudalics <rudalics@gmx.at>
1361
1362 * window.el (get-lru-window, get-largest-window): Move here from
1363 window.c. Rename first argument to ALL-FRAMES.
1364 Rephrase doc-strings.
1365 (get-buffer-window-list): Rewrite using window-list-1.
1366 Rephrase doc-string.
1367 (window-safe-min-height, window-safe-min-width): New constants.
1368 (window-size-ignore, window-min-size, window-min-size-1)
1369 (window-sizable, window-sizable-p, window-size-fixed-1)
1370 (window-size-fixed-p, window-min-delta-1, window-min-delta)
1371 (window-max-delta-1, window-max-delta, window-resizable)
1372 (window-resizable-p, window-total-height, window-total-width)
1373 (window-body-width): New functions.
1374 (window-full-height-p, window-full-width-p): Rewrite using
1375 window-total-size.
1376 (window-body-height): Rewrite using window-body-size.
1377
1378 2011-06-06 Martin Rudalics <rudalics@gmx.at>
1379
1380 * window.el (window-right, window-left, window-child)
1381 (window-child-count, window-last-child, window-any-p)
1382 (normalize-live-buffer, normalize-live-frame)
1383 (normalize-any-window, normalize-live-window)
1384 (window-iso-combination-p, window-iso-combined-p)
1385 (window-iso-combinations)
1386 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
1387 (windows-with-parameter, window-with-parameter)
1388 (window-atom-root, make-window-atom, window-atom-check-1)
1389 (window-atom-check, window-side-check, window-check):
1390 New functions.
1391 (ignore-window-parameters, window-sides, window-sides-vertical)
1392 (window-sides-slots): New variables.
1393 (window-size-fixed): Move down in code. Minor doc-string fix.
1394
1395 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
1396
1397 * comint.el (comint-dynamic-complete-as-filename)
1398 (comint-dynamic-complete-filename): Correctly call
1399 completion-in-region.
1400
1401 2011-06-05 Deniz Dogan <deniz@dogan.se>
1402
1403 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
1404 in last change.
1405
1406 2011-06-05 Deniz Dogan <deniz@dogan.se>
1407
1408 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
1409 (rcirc): Use it to prompt for encryption.
1410
1411 2011-06-05 Roland Winkler <winkler@gnu.org>
1412
1413 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
1414 (bibtex-search-entries): New command bound to C-c C-a.
1415 (bibtex-display-entries): New function.
1416
1417 2011-06-05 Roland Winkler <winkler@gnu.org>
1418
1419 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
1420 (bibtex-insert-kill): After yanking insert newline if necessary.
1421 (bibtex-initialize): Call bibtex-string-files-init only once.
1422 (bibtex-mode): Do not call easy-menu-add.
1423 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
1424 (bibtex-yank): Set arg properly if nil.
1425
1426 2011-06-05 Roland Winkler <winkler@gnu.org>
1427
1428 * textmodes/bibtex.el (bibtex-search-entry-globally):
1429 New variable.
1430 (bibtex-search-entry): Use it.
1431
1432 2011-06-05 Roland Winkler <winkler@gnu.org>
1433
1434 * textmodes/bibtex.el (bibtex-entry-format): New option
1435 sort-fields.
1436 (bibtex-format-entry, bibtex-reformat): Honor this option.
1437 (bibtex-parse-entry): Return fields in proper order.
1438
1439 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
1440
1441 * doc-view.el (doc-view-remove-if): Move computation of result out
1442 of `dolist' to silence misleading lexical-binding warning.
1443
1444 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
1445
1446 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
1447 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
1448
1449 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
1450
1451 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
1452 "SunOS 5.10".
1453
1454 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
1455
1456 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
1457 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
1458 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
1459 (tramp-parse-putty):
1460 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
1461 (tramp-completion-function-alist-ssh)
1462 (tramp-completion-function-alist-telnet)
1463 (tramp-completion-function-alist-su)
1464 (tramp-completion-function-alist-putty): Set `tramp-autoload'
1465 cookie.
1466
1467 * net/tramp-ftp.el:
1468 * net/tramp-sh.el:
1469 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
1470 load "tramp.el" `tramp-set-completion-function'.
1471
1472 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1473
1474 * shell.el: Require and use pcomplete.
1475 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
1476 (shell-completion-vars): Set pcomplete-default-completion-function.
1477
1478 2011-06-04 Deniz Dogan <deniz@dogan.se>
1479
1480 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
1481 `memq' (Bug#8799).
1482
1483 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
1486
1487 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
1488
1489 * bs.el (bs--mark-unmark, bs--nth-wrapper):
1490 * mpc.el (mpc-select-extend, mpc-songpointer-context):
1491 * vc/log-view.el (log-view-beginning-of-defun):
1492 * vc/smerge-mode.el (smerge-apply-resolution-patch)
1493 (smerge-refine-forward, smerge-refine-chopup-region):
1494 Silence warning for unused `dotimes' counter variables.
1495
1496 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1497
1498 * net/tramp.el (tramp-with-progress-reporter): Rename from
1499 with-progress-reporter. Use `declare'.
1500 * net/tramp-smb.el:
1501 * net/tramp-sh.el:
1502 * net/tramp-gvfs.el: Update all uses.
1503
1504 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
1505
1506 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
1507 buffer isn't killed before making it current.
1508
1509 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1510
1511 Silence various byte-compiler warnings.
1512 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
1513 `access-type' and new obsolescence format.
1514 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
1515 new format.
1516 (byte-compile-check-variable): New `access-type' argument.
1517 Only warn if the access-type is obsolete.
1518 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1519 (byte-compile-variable-set): Adjust callers.
1520 * help-fns.el (describe-variable): Adjust to new obsolescence format.
1521 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
1522 setting it as obsolete.
1523 * simple.el (minibuffer-completing-symbol):
1524 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
1525 access as obsolete.
1526 * minibuffer.el (minibuffer-completing-file-name): Don't make it
1527 obsolete yet.
1528 * international/quail.el (quail-mouse-choose-completion): Remove unused
1529 code referring to obsolete var.
1530 (quail-choose-completion-string): Remove.
1531 * server.el (server-clients-with, server-kill-buffer-query-function)
1532 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
1533 * proced.el (proced-send-signal):
1534 * emacs-lisp/lisp.el (lisp-complete-symbol):
1535 Replace completion-annotate-function with completion-extra-properties.
1536
1537 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1538
1539 * simple.el (goto-line): Use read-number.
1540 (overriding-map-is-bound): Remove.
1541 (saved-overriding-map): Change default.
1542 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
1543 Take the map as argument.
1544 (universal-argument, negative-argument, digit-argument): Use it.
1545 (restore-overriding-map): Adjust.
1546 (do-auto-fill): Use fill-forward-paragraph.
1547 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
1548
1549 * minibuffer.el (minibuffer-inactive-mode-map): New var.
1550 (minibuffer-inactive-mode): New major mode.
1551 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
1552 the *Messages* buffer" hack.
1553 (mouse-popup-menubar): Don't burp if the event is a normal key.
1554
1555 Miscellaneous tweaks.
1556 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
1557 lexical scoping as in subr.el's dolist and dotimes.
1558 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
1559 Silence compiler warning.
1560 * thingatpt.el (forward-whitespace): Trivial coding style fix.
1561 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
1562 * international/ccl.el (ccl-compile): Trivial simplification.
1563 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
1564 * emacs-lisp/testcover.el (testcover-end): Remove spurious
1565 `printflag' argument.
1566 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
1567 Purecopy the whole obsolescence data.
1568
1569 2011-06-01 Leo Liu <sdl.web@gmail.com>
1570
1571 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
1572 improve doc-string as suggested by Marco Pessotto
1573 <melmothx@gmail.com>.
1574 (rcirc-print): Fix last change.
1575
1576 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1577
1578 * minibuffer.el (complete-with-action): Return nil for the metadata and
1579 boundaries of non-functional tables.
1580 (completion-table-dynamic): Return nil for the metadata.
1581 (completion-table-with-terminator): Add default case, using
1582 complete-with-action.
1583 (completion--metadata): New function.
1584 (completion-all-sorted-completions, minibuffer-completion-help): Use it
1585 to try and avoid pathological performance problems.
1586 (completion--embedded-envvar-table): Return `category' metadata.
1587
1588 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
1589
1590 * subr.el (process-alive-p): New tiny convenience function.
1591
1592 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
1595 content but also its previous major mode.
1596
1597 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
1598
1599 * debug.el (debug): Restore the previous content of the
1600 *Backtrace* buffer when we exit with C-M-c.
1601
1602 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1603
1604 * minibuffer.el: Add metadata method to completion tables.
1605 (completion-category-overrides): New defcustom.
1606 (completion-metadata, completion--field-metadata)
1607 (completion-metadata-get, completion--styles)
1608 (completion--cycle-threshold): New functions.
1609 (completion-try-completion, completion-all-completions):
1610 Add `metadata' argument to choose completion-styles.
1611 (completion--do-completion): Use metadata to choose cycling.
1612 (completion-all-sorted-completions): Use metadata for sorting.
1613 Remove :completion-cycle-penalty which is not needed any more.
1614 (completion--try-word-completion): Add `metadata' argument.
1615 (minibuffer-completion-help): Check metadata for annotation function
1616 and sorting.
1617 (completion-file-name-table): Return `category' metadata.
1618 (minibuffer-completing-file-name): Make obsolete.
1619 * simple.el (minibuffer-completing-symbol): Make obsolete.
1620 * icomplete.el (icomplete-completions): Pass new `metadata' param to
1621 completion-try-completion.
1622
1623 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1624
1625 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
1626
1627 2011-05-30 Leo Liu <sdl.web@gmail.com>
1628
1629 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
1630 (rcirc-print): Decode all incoming messages (bug#8744).
1631 (rcirc-decode-coding-system): Allow value nil for automatic coding
1632 system detection.
1633
1634 2011-06-01 Glenn Morris <rgm@gnu.org>
1635
1636 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
1637
1638 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
1639
1640 * image.el (image-animate-max-time): Allow nil and t values.
1641 Default to nil.
1642 (create-animated-image): Doc fix.
1643 (image-animate-start): Remove second arg; just use
1644 image-animate-max-time.
1645 (image-animate-timeout): Doc fix. Args changed.
1646
1647 * image-mode.el (image-toggle-display-image): Ensure that the
1648 image spec passed to the animate timer is the same object as in
1649 the the buffer's display property (Bug#6981).
1650 (image-transform-properties): Doc fix.
1651
1652 * image.el (image-animate-max-time): Default to nil.
1653
1654 2011-05-29 Martin Rudalics <rudalics@gmx.at>
1655
1656 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
1657 entire buffer list (Bug#8184).
1658
1659 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
1660
1661 * image.el (imagemagick-types-inhibit)
1662 (imagemagick-register-types): Doc fix.
1663
1664 2011-05-29 Deniz Dogan <deniz@dogan.se>
1665
1666 * net/rcirc.el (rcirc): Use the user's stored encryption method by
1667 default.
1668
1669 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
1670
1671 * select.el: Don't perform clipboard-manager saving in hooks;
1672 leave the hooks empty.
1673
1674 2011-05-28 Leo Liu <sdl.web@gmail.com>
1675
1676 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
1677 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
1678 (occur-edit-mode): New major mode (Bug#8463).
1679 (occur-after-change-function): New function.
1680 (occur-engine): Give Occur tags a read-only property.
1681
1682 2011-05-28 Kevin Ryde <user42@zip.com.au>
1683
1684 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
1685
1686 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
1687
1688 * bindings.el (help-echo): Make the initial non-indicator dash
1689 empty on graphical terminals (Bug#7295).
1690
1691 * files.el (auto-mode-alist): Move config rule after the
1692 in-stripping one (Bug#8547).
1693
1694 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
1695
1696 * startup.el (normal-splash-screen): Remove gratuitous mode-line
1697 setting (Bug#8740).
1698
1699 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
1700
1701 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
1702 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
1703 (Bug#8539).
1704
1705 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
1706
1707 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
1708
1709 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1710
1711 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
1712 (hs-hide-block-at-point, hs-find-block-beginning)
1713 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
1714 (Bug#8279).
1715
1716 2011-05-28 Glenn Morris <rgm@gnu.org>
1717
1718 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
1719
1720 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
1721
1722 * help-fns.el (describe-function-1): If the function is a derived
1723 major mode, print the parent mode.
1724
1725 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
1726 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
1727
1728 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1729
1730 * minibuffer.el (completion--capf-wrapper): Check applicability before
1731 retuning non-nil for non-exclusive completion data.
1732 * progmodes/etags.el (tags-completion-at-point-function):
1733 * info-look.el (info-lookup-completions-at-point): Mark as
1734 non-exclusive.
1735 (info-complete): Adjust accordingly.
1736
1737 * info-look.el: Convert to lexical-binding and completion-at-point.
1738 (info-lookup-completions-at-point): New function.
1739 (info-complete): Use it and completion-in-region.
1740
1741 2011-05-28 Drew Adams <drew.adams@oracle.com>
1742
1743 * isearch.el: Let M-e start with point at the first mismatched char.
1744 (isearch-fail-pos): New function.
1745 (isearch-edit-string): Use it.
1746
1747 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1748
1749 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1750
1751 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
1752
1753 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
1754 traversal functions for avl-trees.
1755 (avl-tree--stack): New struct.
1756 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
1757 (avl-tree-enter): Add optional `updatefun' arg.
1758 (avl-tree--do-enter): Add optional `updatefun' arg.
1759 Change return value.
1760 (avl-tree-delete): Add optional `test' and `nilflag' args.
1761 (avl-tree--do-delete): Add `test' and `nilflag' args.
1762 Change return value.
1763 (avl-tree-member): Add optional `nilflag'
1764 (avl-tree-member-p): New function.
1765 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
1766 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
1767 (avl-tree-stack-empty-p): New functions.
1768
1769 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
1770
1771 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
1772 avl-tree--del-balance1 and make it work both ways.
1773 (avl-tree--del-balance2): Remove.
1774 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
1775 make it work both ways.
1776 (avl-tree--enter-balance2): Remove.
1777 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
1778 New macros.
1779 (avl-tree--mapc, avl-tree-map): Add direction argument.
1780
1781 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
1782
1783 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
1784
1785 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
1786
1787 * select.el: Support clipboard managers with built-in function
1788 x-clipboard-manager-save, via delete-frame-functions and
1789 kill-emacs-hook.
1790 (xselect-convert-to-targets): Add MULTIPLE target to list.
1791 (xselect-convert-to-save-targets): New function.
1792
1793 2011-05-27 Kenichi Handa <handa@m17n.org>
1794
1795 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
1796 let-binding rfc2047-encode-encoded-words to nil.
1797
1798 2011-05-27 Glenn Morris <rgm@gnu.org>
1799
1800 * mail/emacsbug.el: Don't require url-util.
1801
1802 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
1803
1804 * files.el (set-auto-mode):
1805 Also respect mode: entries at the end of the file. (Bug#8586)
1806
1807 2011-05-26 Glenn Morris <rgm@gnu.org>
1808
1809 * files.el (hack-local-variables-prop-line, hack-local-variables):
1810 Downcase mode names, as seems to be traditional.
1811 (hack-local-variables, hack-local-variables-apply): Doc fixes.
1812
1813 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
1814 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
1815
1816 2011-05-25 Julien Danjou <julien@danjou.info>
1817
1818 * textmodes/rst.el (rst-define-level-faces): Do not define face
1819 symbol if it is already defined.
1820
1821 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1822
1823 * play/5x5.el (5x5-new-game, 5x5-randomize):
1824 Reset 5x5-solver-output to nil when a new grid is cast.
1825 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
1826 these debugging traces, as defmacro breaks the compiled code.
1827
1828 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1829
1830 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1831
1832 2011-05-24 Leo Liu <sdl.web@gmail.com>
1833
1834 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
1835 (vc-bzr-sha1): Adapt.
1836
1837 * sha1.el: Remove. Function `sha1' is now builtin.
1838
1839 * bindings.el: Provide sha1 feature.
1840
1841 2011-05-24 Kenichi Handa <handa@m17n.org>
1842
1843 * mail/sendmail.el: Require `rfc2047'.
1844 (mail-insert-from-field): Do not perform RFC2047 encoding.
1845 (mail-encode-header): New function.
1846 (sendmail-send-it): Set buffer-file-coding-system of the work
1847 buffer to the return value of select-message-coding-system.
1848 Call mail-encode-header.
1849
1850 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
1851
1852 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
1853
1854 * mail/supercite.el (sc-default-cite-frame):
1855 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
1856
1857 2011-05-24 Glenn Morris <rgm@gnu.org>
1858
1859 * progmodes/python.el (brm-menu): Declare.
1860
1861 * emulation/viper.el (viper-set-hooks): Declare.
1862
1863 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
1864 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
1865 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
1866 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
1867 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
1868 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
1869
1870 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1871
1872 Add an :exit-function for completion-at-point.
1873
1874 * minibuffer.el (completion--done): New fun.
1875 (completion--do-completion): Use it. New arg `expect-exact'.
1876 (minibuffer-complete, minibuffer-complete-word): Don't output message,
1877 since completion--do-completion does it for us now.
1878 (minibuffer-force-complete): Use completion--done and
1879 completion--replace. Handle sole-completion case with more care.
1880 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
1881 (completion-extra-properties): New var.
1882 (completion-annotate-function): Make obsolete.
1883 (minibuffer-completion-help): Adjust accordingly.
1884 Use completion-list-insert-choice-function.
1885 (completion-at-point, completion-help-at-point):
1886 Bind completion-extra-properties.
1887 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
1888 * simple.el (completion-list-insert-choice-function): New var.
1889 (completion-setup-function): Preserve it.
1890 (choose-completion): Pay attention to it, shuffle the code a bit.
1891 (choose-completion-string): New arg `insert-function'.
1892
1893 * textmodes/bibtex.el: Convert to lexical binding.
1894 (bibtex-mode-map): Use completion-at-point.
1895 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
1896 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
1897 (bibtex-complete): Define as obsolete alias.
1898 (bibtex-complete-internal): Remove.
1899 (bibtex-format-entry): Remove unused sub-group in regexp.
1900 * shell.el (shell--command-completion-data)
1901 (shell-environment-variable-completion):
1902 * pcomplete.el (pcomplete-completions-at-point):
1903 * comint.el (comint--complete-file-name-data): Use :exit-function
1904 instead of completion-table-with-terminator so it also works for
1905 choose-completion.
1906
1907 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1908
1909 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
1910
1911 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
1912 (bug#8710).
1913
1914 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
1915
1916 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
1917
1918 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
1919 customization variable and implement: If non-nil, auto-fill will
1920 be inhibited while on topic's header line.
1921
1922 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
1923
1924 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
1925 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
1926 always have a solution in grid size = 5 cases.
1927 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
1928 (5x5-solver-output, 5x5-log-buffer): New vars.
1929 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
1930 Make these variables buffer local to achieve 5x5 multi-session-ness.
1931 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
1932 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
1933 (5x5-solve-suggest): New funs.
1934 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
1935 randomize a grid so that we ensure that there is always a solution.
1936 (5x5-make-random-grid): Allow other movement than flipping.
1937
1938 2011-05-23 Kevin Ryde <user42@zip.com.au>
1939
1940 * emacs-lisp/advice.el (ad-read-advised-function):
1941 Use `function-called-at-point' as the default default, if it has
1942 advice and passes PREDICATE.
1943
1944 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
1947 byte-compile-lambda if it's actually a lambda.
1948
1949 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
1950 Fix function quoting. Use backquote better.
1951
1952 2011-05-22 Yuanle Song <sylecn@gmail.com>
1953
1954 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
1955 matching (Bug#8516).
1956
1957 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1958
1959 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
1960 different face (Bug#8178).
1961
1962 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
1963
1964 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
1965 defface (Bug#8144).
1966
1967 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
1968
1969 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
1970 funcall as well (bug#8712). Warn when performing those conversions.
1971 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
1972
1973 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
1974
1975 2011-05-22 Glenn Morris <rgm@gnu.org>
1976
1977 * files.el (hack-local-variables-prop-line): Small simplifications.
1978 (hack-local-variables, hack-local-variables-prop-line):
1979 If MODE-ONLY, return the mode, rather than just `t'.
1980
1981 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
1984
1985 2011-05-21 Glenn Morris <rgm@gnu.org>
1986
1987 * files.el (hack-local-variables-prop-line, hack-local-variables):
1988 If only interested in the mode, don't bother doing the other stuff.
1989
1990 * image-mode.el (image-after-revert-hook):
1991 Redraw all frames on which the image is visible. (Bug#8567)
1992
1993 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
1994
1995 * wid-edit.el (widget-checklist-match-inline):
1996 Fix 2011-04-19 change. (Bug#8649)
1997
1998 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1999
2000 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
2001 Also allow singlespace after single-letter capitals followed by a dot.
2002
2003 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
2004 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
2005
2006 2011-05-20 Nix <nix@esperi.org.uk>
2007
2008 * files.el (basic-save-buffer-2):
2009 Fix handling of break-hardlink-on-save with non-existent files.
2010
2011 2011-05-19 Deniz Dogan <deniz@dogan.se>
2012
2013 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
2014 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
2015
2016 2011-05-19 Glenn Morris <rgm@gnu.org>
2017
2018 * progmodes/f90.el (f90-type-def-re):
2019 Handle "type, bind(c)". (Bug#8691)
2020
2021 * emacs-lisp/autoload.el (batch-update-autoloads):
2022 Set autoload-excludes by parsing loadup.el rather than Makefiles.
2023
2024 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
2025
2026 * net/tramp.el (tramp-process-actions): Set "first-password-request"
2027 property for the correct connection in case of multihops.
2028
2029 2011-05-18 Glenn Morris <rgm@gnu.org>
2030
2031 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
2032 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
2033
2034 Rationalize calendar handling of day and month abbrev-arrays.
2035 * calendar/calendar.el (calendar-customized-p): New function.
2036 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
2037 (calendar-day-name-array, calendar-month-name-array): Doc fix.
2038 Add :set function.
2039 (calendar-abbrev-length, calendar-day-abbrev-array)
2040 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
2041 (calendar-day-abbrev-array, calendar-month-abbrev-array):
2042 Elements may no longer be nil.
2043 (calendar-day-name, calendar-month-name):
2044 Update for changed nature of abbrev arrays.
2045 * calendar/diary-lib.el (diary-name-pattern):
2046 Update for changed nature of abbrev arrays.
2047 (diary-mark-entries-1): Update calendar-make-alist calls.
2048 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
2049 * calendar/cal-html.el (cal-html-day-abbrev-array):
2050 Simply inherit from calendar-day-abbrev-array.
2051
2052 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2053
2054 * progmodes/grep.el (grep-mode): Disable default
2055 compilation-directory-matcher setting (bug#8684).
2056
2057 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
2058
2059 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
2060 instead of "head" and "tail". There were problems with SunOS 5.9,
2061 and it performs better.
2062
2063 2011-05-17 Glenn Morris <rgm@gnu.org>
2064
2065 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
2066
2067 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2068 Replace obsolete function.
2069
2070 * shell.el (pcomplete-parse-arguments-function): Declare.
2071
2072 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
2073 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
2074 (appt-check): Doc fixes.
2075 (appt-disp-window-function, appt-delete-window-function):
2076 Remove needless special case in custom :type.
2077 (appt-display-count): Default to 0, not nil.
2078 (appt-check): Reset appt-display-count to 0, not nil.
2079
2080 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
2081
2082 * progmodes/python.el (python-font-lock-keywords):
2083 Add the Python 3.X keyword "nonlocal" (bug#8639).
2084
2085 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
2088
2089 2011-05-16 Kevin Ryde <user42@zip.com.au>
2090
2091 * info-look.el (makefile-automake-mode): New setups, looking in
2092 automake manual, then makefile-mode.
2093 (makefile-mode): Remove automake manual, have it just in
2094 makefile-automake-mode since there's various things different or
2095 not relevant to plain make.
2096 (makefile-mode): Remove "other-modes" non-existent automake-mode,
2097 believe a hypothetical automake-mode would go to makefile-mode,
2098 not the other way around.
2099
2100 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
2101
2102 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
2103 hunk-end tags (Bug#8672).
2104
2105 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
2106 vc-annotate-show-diff-revision-at-line (Bug#8671).
2107
2108 2011-05-14 Glenn Morris <rgm@gnu.org>
2109
2110 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
2111 in the middle of an existing one with multiple authors. (Bug#8645)
2112 (change-log-font-lock-keywords): Also handle multiple author lines
2113 with leading tabs. (Bug#8644)
2114
2115 * calendar/appt.el (appt-check): Rename some local variables.
2116 Some simplification/reordering.
2117
2118 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
2119 (feedmail-sendmail-f-doesnt-sell-me-out)
2120 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
2121 (feedmail-debug-sit-for, feedmail-queue-express-hook)
2122 (feedmail-queue-runner-message-sender): Set :version.
2123 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
2124 (bbdb-dwim-net-address, vm-mail): Declare.
2125 (feedmail-binmail-gnulinuxish-template):
2126 Rename from feedmail-binmail-linuxish-template.
2127 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
2128 Use insert-buffer-substring.
2129
2130 2011-05-14 Bill Carpenter <bill@carpenter.org>
2131
2132 * mail/feedmail.el (feedmail-patch-level): Increase.
2133 (feedmail-debug): New custom group.
2134 (feedmail-confirm-outgoing-timeout)
2135 (feedmail-sendmail-f-doesnt-sell-me-out)
2136 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
2137 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
2138 (feedmail-sender-line, feedmail-from-line)
2139 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
2140 (feedmail-spray-this-address)
2141 (feedmail-spray-address-fiddle-plex-list)
2142 (feedmail-queue-use-send-time-for-date)
2143 (feedmail-queue-use-send-time-for-message-id)
2144 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
2145 (feedmail-buffer-eating-function):
2146 Doc fixes.
2147 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
2148 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
2149 (feedmail-message-action-scroll-down): New functions.
2150 (feedmail-queue-directory, feedmail-queue-draft-directory):
2151 Use expand-file-name.
2152 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
2153 Remove C-v help entry.
2154 (feedmail-queue-buffer-file-name): New variable.
2155 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
2156 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
2157 (feedmail-message-action-send-strong, feedmail-message-action-edit)
2158 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
2159 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
2160 (feedmail-message-action-toggle-spray)
2161 (feedmail-run-the-queue-no-prompts)
2162 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
2163 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
2164 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
2165 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
2166 (feedmail-envelope-deducer, feedmail-fiddle-from)
2167 (feedmail-fiddle-sender, feedmail-default-date-generator)
2168 (feedmail-fiddle-date, feedmail-fiddle-message-id)
2169 (feedmail-fiddle-spray-address)
2170 (feedmail-fiddle-list-of-spray-fiddle-plexes)
2171 (feedmail-fiddle-list-of-fiddle-plexes)
2172 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
2173 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
2174 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
2175 Change default. Doc fix.
2176 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
2177 (feedmail-binmail-linuxish-template): New constant.
2178 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
2179 Respect feedmail-sendmail-f-doesnt-sell-me-out.
2180 (feedmail-send-it): Add debug call.
2181 Use feedmail-queue-buffer-file-name, and
2182 feedmail-send-it-immediately-wrapper.
2183 (feedmail-message-action-send): Add debug call.
2184 Use feedmail-send-it-immediately-wrapper.
2185 (feedmail-queue-express-to-queue): Add debug call.
2186 Run feedmail-queue-express-hook.
2187 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
2188 (feedmail-message-action-help-blat):
2189 Rename from feedmail-queue-send-edit-prompt-help-first.
2190 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
2191 Check line-endings. Handle errors better.
2192 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
2193 Doc fix. Add debug call.
2194 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
2195 Use feedmail-queue-send-edit-prompt-inner.
2196 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
2197 (feedmail-queue-send-edit-prompt-inner): New function, extracted
2198 from feedmail-queue-send-edit-prompt.
2199 (feedmail-queue-send-edit-prompt-help)
2200 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
2201 (feedmail-tidy-up-slug): Add debug call.
2202 Respect feedmail-queue-slug-suspect-regexp.
2203 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
2204 (feedmail-dump-message-to-queue): Add debug call.
2205 Expand queue-directory.
2206 (feedmail-dump-message-to-queue): Change message slightly.
2207 Use feedmail-say-chatter.
2208 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
2209 (feedmail-send-it-immediately-wrapper): New function.
2210 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
2211 Insert empty string rather than newline. Handle full-frame case.
2212 Use catch/throw. Use feedmail-say-chatter.
2213 (feedmail-fiddle-from): Try mail-host-address.
2214 (feedmail-default-message-id-generator): Doc fix.
2215 Bind system-time-locale. Handle missing end.
2216 (feedmail-fiddle-x-mailer): Add debug call.
2217 Handle feedmail-x-mailer-line being nil.
2218 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
2219 Add debug call. Use buffer-substring-no-properties.
2220 (feedmail-say-debug, feedmail-say-chatter): New functions.
2221 (feedmail-find-eoh): Give an explicit error.
2222
2223 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
2224
2225 * net/newst-treeview.el (newsticker-treeview-face): Change default
2226 family from helvetica to sans.
2227 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
2228 etc/images/newsticker.
2229
2230 * net/newst-reader.el (newsticker-feed-face): Change default
2231 family from helvetica to sans.
2232
2233 * net/newst-plainview.el (newsticker-new-item-face)
2234 (newsticker-old-item-face, newsticker-immortal-item-face)
2235 (newsticker-obsolete-item-face, newsticker-date-face)
2236 (newsticker-statistics-face): Change default family from
2237 helvetica to sans.
2238 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
2239 etc/images/newsticker.
2240
2241 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
2242 (newsticker--process-auto-mark-filter-match): : Tell user about
2243 auto-marking.
2244
2245 2011-05-13 Didier Verna <didier@xemacs.org>
2246
2247 Common Lisp indentation improvements on defmethod and lambda-lists.
2248 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
2249 (lisp-lambda-list-keyword-parameter-indentation)
2250 (lisp-lambda-list-keyword-parameter-alignment)
2251 (lisp-lambda-list-keyword-alignment): New customizable user options.
2252 (lisp-indent-defun-method): Improve docstring.
2253 (extended-loop-p): Fix comment.
2254 (lisp-indent-lambda-list-keywords-regexp): New variable.
2255 (lisp-indent-lambda-list): New function.
2256 (lisp-indent-259): Use it.
2257 (lisp-indent-defmethod): Support for more than one
2258 method qualifier and properly indent methods lambda-lists.
2259 (defgeneric): Provide a missing common-lisp-indent-function property.
2260
2261 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2262
2263 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
2264 bounds for the empty string (bug#8667).
2265
2266 2011-05-13 Glenn Morris <rgm@gnu.org>
2267
2268 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
2269
2270 * mail/sendmail.el (sendmail-program): Try executable-find first.
2271 (sendmail-send-it): `sendmail-program' cannot be unbound.
2272
2273 * calendar/appt.el (appt-make-list): Simplify.
2274 (appt-time-msg-list): Doc fix.
2275 (appt-check): Change mode-line message at the time of the appointment.
2276
2277 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
2278
2279 * progmodes/ld-script.el (ld-script-keywords)
2280 (ld-script-builtins): Update keywords list.
2281
2282 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2283
2284 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
2285
2286 * shell.el (shell-completion-vars): New function.
2287 (shell-mode):
2288 * simple.el (read-shell-command): Use it.
2289 (blink-matching-open): No need for " [...]" in minibuffer-message.
2290
2291 2011-05-12 Glenn Morris <rgm@gnu.org>
2292
2293 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
2294 (appt-check): Simplify.
2295
2296 2011-05-12 Eli Zaretskii <eliz@gnu.org>
2297
2298 * smerge-mode.el (smerge-resolve): Use null-device rather than a
2299 literal "/dev/null".
2300
2301 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2302
2303 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
2304 Fix typo.
2305
2306 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
2307
2308 * progmodes/which-func.el (which-function):
2309 Use add-log-current-defun instead of add-log-current-defun-function,
2310 which might not be defined (Bug#8260).
2311
2312 2011-05-12 Glenn Morris <rgm@gnu.org>
2313
2314 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
2315 Let byte-compile-initial-macro-environment always take precedence.
2316
2317 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2318
2319 * net/rcirc.el: Add support for SSL/TLS connections.
2320 (rcirc-server-alist): New field `encryption'.
2321 (rcirc): Check `encryption' settings.
2322 (rcirc-connect): New arg `encryption'. Use open-network-stream.
2323 Merge make-local-variable into `set'.
2324 (rcirc--connection-open-p): New function.
2325 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
2326 the process is not a network process (e.g. running gnutls-cli).
2327 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
2328 Make rcirc-(en|de)code-coding-system local here.
2329 (rcirc-mode): Merge make-local-variable into `set'.
2330 (rcirc-parent-buffer): Make permanent buffer-local.
2331 (rcirc-multiline-minor-mode): Don't do it here.
2332 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
2333 there's no server buffer.
2334
2335 2011-05-11 Glenn Morris <rgm@gnu.org>
2336
2337 * newcomment.el (comment-kill): Prefix "unused" local.
2338
2339 * term/w32console.el (get-screen-color): Declare.
2340
2341 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2342 Handle symbol elements of byte-compile-initial-macro-environment.
2343
2344 2011-05-10 Leo Liu <sdl.web@gmail.com>
2345
2346 * bookmark.el (bookmark-bmenu-mode-map):
2347 Bind bookmark-bmenu-search to `/'.
2348
2349 * mail/footnote.el: Convert to utf-8 encoding.
2350 (footnote-unicode-string, footnote-unicode-regexp): New variable.
2351 (Footnote-unicode): New function.
2352 (footnote-style-alist): Add unicode style to the list.
2353 (footnote-style): Doc fix.
2354
2355 2011-05-10 Jim Meyering <meyering@redhat.com>
2356
2357 Fix doubled-word typos.
2358 * international/quail.el (quail-insert-kbd-layout): and and -> and
2359 * kermit.el: and and -> and
2360 * net/ldap.el (ldap-search-internal): to to -> to
2361 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
2362 * progmodes/js.el (js-mode): and and -> and
2363 * textmodes/artist.el (artist-move-to-xy): at at -> at
2364 (artist-draw-region-trim-line-endings): if if -> if
2365 And Safetyc -> Safety.
2366 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
2367
2368 2011-05-10 Glenn Morris <rgm@gnu.org>
2369 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * files.el (hack-one-local-variable-eval-safep):
2372 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
2373
2374 2011-05-10 Glenn Morris <rgm@gnu.org>
2375
2376 * calendar/diary-lib.el (diary-list-entries-hook)
2377 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
2378 (diary-nongregorian-marking-hook, diary-list-entries)
2379 (diary-include-other-diary-files, diary-mark-entries)
2380 (diary-mark-included-diary-files): Doc fixes.
2381
2382 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
2383
2384 * misc.el: Require tabulated-list.el during compilation.
2385
2386 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
2387
2388 * progmodes/compile.el (compilation-start):
2389 Run compilation-filter-hook for the async case too.
2390 (compilation-filter-hook): Doc fix.
2391
2392 2011-05-09 Deniz Dogan <deniz@dogan.se>
2393
2394 * wdired.el: Remove outdated installation comment. Fix usage
2395 comment.
2396
2397 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
2398
2399 * misc.el: Implement new command `list-dynamic-libraries'.
2400 (list-dynamic-libraries--loaded-only-p): New variable.
2401 (list-dynamic-libraries--refresh): New function.
2402 (list-dynamic-libraries): New command.
2403
2404 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
2405
2406 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2407 Fix the ant regexp to handle end-line and end-column info from jikes.
2408 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
2409 higher priority to avoid clobbering by gnu.
2410
2411 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
2412
2413 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
2414 if the face has existing theme settings (Bug#8454).
2415
2416 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
2417
2418 * progmodes/perl-mode.el (perl-imenu-generic-expression):
2419 Only match variables declared via `my' or `our' (Bug#8261).
2420
2421 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
2422 special file names `.' and `..' (Bug#8259).
2423
2424 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
2425
2426 * progmodes/grep.el (grep-mode-font-lock-keywords):
2427 Remove buffer-changing entries.
2428 (grep-filter): New function.
2429 (grep-mode): Add it to compilation-filter-hook.
2430
2431 * progmodes/compile.el (compilation-filter-hook)
2432 (compilation-filter-start): New defvars.
2433 (compilation-filter): Call compilation-filter-hook prior to
2434 updating the process mark.
2435
2436 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
2439
2440 2011-05-07 Eli Zaretskii <eliz@gnu.org>
2441
2442 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
2443 mailclient-send-it even if window-system is nil. (Bug#8595)
2444
2445 * term/w32console.el (terminal-init-w32console):
2446 Call get-screen-color and use its output to set the frame
2447 background-mode. (Bug#8597)
2448
2449 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 Make bytecomp.el understand that defmethod defines funs (bug#8631).
2452 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
2453 New functions.
2454 (defgeneric, eieio--defmethod): Use them.
2455 (eieio-defgeneric): Remove.
2456 (defmethod): Call defgeneric in a way visible to the byte-compiler.
2457
2458 2011-05-07 Glenn Morris <rgm@gnu.org>
2459
2460 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
2461 Use let rather than let*.
2462 (timeclock-find-discrep): Remove unused local.
2463
2464 * calendar/diary-lib.el (diary-comment-start): Doc fix.
2465
2466 * calendar/appt.el (appt-time-msg-list): Doc fix.
2467
2468 2011-05-06 Noah Friedman <friedman@splode.com>
2469
2470 * apropos.el (apropos-print-doc): Only use
2471 emacs-lisp-docstring-fill-column when it is bound to an integer,
2472 per that variable's documentation.
2473
2474 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2475
2476 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
2477 and warnings are not silently discarded (e.g. use -d instead of -P).
2478
2479 2011-05-06 Glenn Morris <rgm@gnu.org>
2480
2481 * calendar/appt.el (appt-message-warning-time): Doc fix.
2482 (appt-warning-time-regexp): New option.
2483 (appt-make-list): Respect appt-message-warning-time.
2484
2485 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
2486 New options.
2487 (diary-add-to-list): Strip comments from the displayed string.
2488 (diary-mode): Set comment-start and comment-end.
2489
2490 * vc/diff-mode.el (smerge-refine-subst): Declare.
2491 (diff-refine-hunk): Don't require smerge-mode when compiling.
2492
2493 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
2494
2495 * simple.el (list-processes): Return nil as the docstring says.
2496
2497 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
2498
2499 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
2500 to "".
2501 (ange-ftp-write-region, ange-ftp-insert-file-contents)
2502 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
2503 determining of binary transfer. (Bug#7383)
2504
2505 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
2506
2507 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2508 Fix port computation bug. (Bug#8618)
2509
2510 2011-05-05 Glenn Morris <rgm@gnu.org>
2511
2512 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
2513
2514 * simple.el (shell-dynamic-complete-functions)
2515 (comint-dynamic-complete-functions): Declare.
2516
2517 * net/network-stream.el (gnutls-negotiate):
2518 * simple.el (tabulated-list-print): Fix declarations.
2519
2520 * progmodes/gud.el (syntax-symbol, syntax-point):
2521 Remove unnecessary and incorrect declarations.
2522
2523 * emacs-lisp/check-declare.el (check-declare-scan):
2524 Handle byte-compile-initial-macro-environment in bytecomp.el
2525
2526 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 Fix earlier half-done eieio-defmethod change (bug#8338).
2529 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
2530 Streamline and change calling convention.
2531 (defmethod): Adjust accordingly and simplify.
2532 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
2533 new eieio--defmethod.
2534 (slot-boundp): Minor CSE simplification.
2535
2536 2011-05-05 Milan Zamazal <pdm@zamazal.org>
2537
2538 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
2539 (glasses-make-readable): Use glasses-separate-capital-groups.
2540
2541 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
2542
2543 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
2544 (warning-series): Doc fix.
2545 (display-warning): Don't try to create the buffer if we just found it.
2546
2547 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
2548
2549 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
2550 (autoload-find-generated-file): New function.
2551 (generate-file-autoloads): Bind generated-autoload-file to
2552 buffer-file-name.
2553 (update-file-autoloads, update-directory-autoloads):
2554 Use autoload-find-generated-file. If called interactively, prompt for
2555 output file (Bug#7989).
2556 (batch-update-autoloads): Doc fix.
2557
2558 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
2559
2560 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
2561
2562 2011-05-04 Glenn Morris <rgm@gnu.org>
2563
2564 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
2565 function, so it follows changes in calendar-date-style.
2566 (diary-fancy-date-matcher): New function.
2567 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
2568 (diary-fancy-font-lock-fontify-region-function):
2569 Use diary-fancy-date-pattern as a function.
2570
2571 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
2572 non-numbers for `year' etc pseudo-variables. (Bug#8583)
2573
2574 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
2575
2576 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
2577 instead of positional arguments. Allow :keylist and :crlfiles
2578 arguments.
2579 (open-gnutls-stream): Call it.
2580
2581 * net/network-stream.el (network-stream-open-starttls): Adjust to
2582 call `gnutls-negotiate' with :process and :hostname arguments.
2583
2584 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * minibuffer.el (completion--message): New function.
2587 (completion--do-completion, minibuffer-complete)
2588 (minibuffer-force-complete, minibuffer-complete-word): Use it.
2589 (completion--do-completion): Don't ignore completion-auto-help when in
2590 icomplete-mode.
2591
2592 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
2593 internal encoding (e.g. tibetan zero is not whitespace).
2594 (global-whitespace-mode): Prefer save-current-buffer.
2595 (whitespace-trailing-regexp): Remove useless save-match-data.
2596 (whitespace-empty-at-bob-regexp): Minor simplification.
2597
2598 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
2599
2600 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
2601
2602 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2603
2604 * textmodes/ispell.el (ispell-add-per-file-word-list):
2605 Use `concat' to create string for insertion.
2606
2607 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
2610 Avoid open-line which runs post-self-insert-hook.
2611 (bibtex-fill-entry): Remove unused `end' var.
2612
2613 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
2614
2615 * textmodes/ispell.el (ispell-add-per-file-word-list):
2616 Protect against `nil' value of `comment-start' (Bug#8579).
2617
2618 2011-05-03 Leo Liu <sdl.web@gmail.com>
2619
2620 * isearch.el (isearch-yank-pop): New command.
2621 (isearch-mode-map): Bind it to `M-y'.
2622 (isearch-forward): Mention it.
2623
2624 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2625
2626 * simple.el (minibuffer-complete-shell-command): Remove.
2627 (minibuffer-local-shell-command-map): Use completion-at-point.
2628 (read-shell-command): Setup completion vars here instead.
2629 (read-expression-map): Bind TAB to symbol completion.
2630
2631 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
2632 error directly rather via storing it into `results'.
2633
2634 2011-05-02 Leo Liu <sdl.web@gmail.com>
2635
2636 * vc/diff.el: Fix description.
2637
2638 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2639
2640 * server.el (server-eval-at): New function.
2641
2642 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2643
2644 * net/network-stream.el (open-network-stream): Take a :nowait
2645 parameter and pass it on to `make-network-process'.
2646 (network-stream-open-plain): Ditto.
2647
2648 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
2649
2650 * faces.el (face-spec-set-match-display): Don't match toolkit
2651 options on terminal frames.
2652
2653 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
2654
2655 * progmodes/pascal.el: Use lexical binding.
2656 (pascal-mode-map): Remove author preferences.
2657
2658 * pcomplete.el (pcomplete-std-complete): Don't abuse
2659 completion-at-point.
2660
2661 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
2662
2663 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
2664 removing code that has been dead since 1991 or so.
2665
2666 * startup.el (command-line): When warning about "_emacs", use a
2667 delayed warning to allow the user to filter it out.
2668
2669 2011-04-28 Deniz Dogan <deniz@dogan.se>
2670
2671 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
2672 user has not joined.
2673
2674 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
2677 aren't any completions at point.
2678
2679 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
2680
2681 * subr.el (display-delayed-warnings): New function.
2682 (delayed-warnings-hook): New variable.
2683
2684 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2685
2686 * minibuffer.el (completion-at-point, completion-help-at-point):
2687 Don't presume that a given completion-at-point-function will always
2688 use the same calling convention.
2689
2690 * pcomplete.el (pcomplete-completions-at-point):
2691 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
2692 pcomplete-seen is non-nil.
2693 (pcomplete-comint-setup): Also recognize the new comint/shell
2694 completion functions.
2695 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
2696 pcomplete-seen is non-nil.
2697
2698 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
2699
2700 * calendar/icalendar.el (diary-lib): Add require statement.
2701 (icalendar--create-uid): Read out a uid from a text-property on
2702 the first character in the entry. This allows for code to add its
2703 own uid to the entry.
2704 (icalendar--convert-float-to-ical): Add export of
2705 `diary-float'-entries save for those with the optional DAY
2706 argument.
2707
2708 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
2709
2710 * subr.el (shell-quote-argument): Use alternate escaping strategy
2711 when we spot a variable reference in a string.
2712
2713 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
2714
2715 * cus-start.el (all): Define customization for debug-on-event.
2716
2717 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
2718
2719 * subr.el (shell-quote-argument): Escape correctly under Windows.
2720
2721 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2722
2723 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
2724
2725 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
2726
2727 * net/tramp.el (tramp-process-actions): Add POS argument.
2728 Delete region between POS and (pos).
2729
2730 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2731 Use `nil' position in `tramp-process-actions' call.
2732 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
2733
2734 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
2735 position in `tramp-process-actions' call.
2736
2737 * net/trampver.el: Update release number.
2738
2739 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2740
2741 * custom.el (defcustom): Obey lexical-binding.
2742
2743 Fix octave-inf completion problems reported by Alexander Klimov.
2744 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
2745 Inherit from octave-mode-syntax-table.
2746 (inferior-octave-mode): Set info-lookup-mode.
2747 (inferior-octave-completion-at-point): New function.
2748 (inferior-octave-complete): Use it and completion-in-region.
2749 (inferior-octave-dynamic-complete-functions): Use it as well, and use
2750 comint-filename-completion.
2751 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
2752 symbol elements which shouldn't be word elements.
2753 (octave-font-lock-keywords, octave-beginning-of-defun)
2754 (octave-function-header-regexp): Adjust regexps accordingly.
2755 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
2756
2757 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
2758
2759 * net/gnutls.el (gnutls-errorp): Declare before first use.
2760
2761 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
2762
2763 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
2764 verify-error, and verify-hostname-error parameters. Check whether
2765 default trustfile exists before going to use it. Add missing
2766 argument to gnutls-message-maybe call. Return return value.
2767 Reported by Claudio Bley <claudio.bley@gmail.com>.
2768 (open-gnutls-stream): Add usage example.
2769
2770 * net/network-stream.el (network-stream-open-starttls): Give host
2771 parameter to `gnutls-negotiate'.
2772 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
2773 * subr.el (shell-quote-argument): Escape correctly under Windows.
2774
2775 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
2776
2777 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2778 Use correct match group (bug#8438).
2779
2780 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
2781
2782 * emacs-lisp/package.el (package-built-in-p): Fix typo.
2783 (package-menu--generate): New arg specifying packages to show.
2784 (package-menu-refresh, package-menu-execute, list-packages):
2785 Callers changed.
2786 (package-show-package-list): New function, replacing deleted
2787 package--list-packages (renamed because it is non-internal).
2788
2789 * finder.el (finder-list-matches): Use package-show-package-list
2790 instead of deleted package--list-packages.
2791
2792 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
2793 Based on a previous implementation by Juanma Barranquero (Bug#8366).
2794 (vc-annotate-mode-map): Bind it to RET.
2795
2796 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
2797
2798 * progmodes/etags.el (next-file): Don't use set-buffer to change
2799 buffers (Bug#8478).
2800
2801 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
2802
2803 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
2804
2805 * apropos.el (apropos-label-face): Avoid variable-pitch face.
2806 (apropos-accumulator): Doc fix.
2807 (apropos-function, apropos-macro, apropos-command)
2808 (apropos-variable, apropos-face, apropos-group, apropos-widget)
2809 (apropos-plist): Add face property.
2810 (apropos-symbols-internal): Fix indentation.
2811 (apropos-print): Simplify help, and recognize apropos-multi-type.
2812 (apropos-print-doc): Use button-type-get to extract the button's
2813 face property. Fill docstring (Bug#8352).
2814
2815 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
2816
2817 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
2818
2819 * play/mpuz.el (mpuz-silent): Doc fix.
2820 (mpuz-mode-map): Use mapc.
2821 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
2822 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
2823 Fix typos in docstrings.
2824
2825 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
2826 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
2827
2828 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
2829
2830 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
2831
2832 * minibuffer.el (completion--do-completion): Avoid the "Next char
2833 not unique" prompt if icomplete-mode is enabled (Bug#5849).
2834
2835 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
2836 mouse-2 into unread-command-events, it is interpreted correctly.
2837
2838 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
2839 (image-toggle-display): Doc fix.
2840
2841 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
2842
2843 * textmodes/page.el (what-page): Use line-number-at-pos to
2844 calculate line number (Bug#6825).
2845
2846 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
2847
2848 * eshell/esh-mode.el (find-tag-interactive): Declare function.
2849 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
2850 Pass argument NO-DEFAULT to `find-tag-interactive'.
2851
2852 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
2853
2854 Lexical-binding cleanup.
2855
2856 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
2857 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
2858 * progmodes/ada-prj.el (ada-prj-initialize-values)
2859 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
2860 (ada-prj-show-value):
2861 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
2862 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
2863 (antlr-invalidate-context-cache, antlr-options-menu-filter)
2864 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
2865 * progmodes/bug-reference.el (bug-reference-push-button):
2866 * progmodes/fortran.el (fortran-line-length):
2867 * progmodes/glasses.el (glasses-change):
2868 * progmodes/octave-mod.el (octave-fill-paragraph):
2869 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
2870 (python-pdbtrack-grub-for-buffer, python-sentinel):
2871 * progmodes/sql.el (sql-save-connection):
2872 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
2873 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
2874 Mark unused parameters.
2875
2876 * progmodes/compile.el (compilation--flush-directory-cache)
2877 (compilation--flush-parse, compile-internal): Mark unused parameters.
2878 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
2879 (compilation-next-error-function): Remove unused variable `timestamp'.
2880
2881 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
2882 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
2883
2884 * progmodes/dcl-mode.el (dcl-end-of-command):
2885 Remove unused variable `start'.
2886 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
2887 (dcl-option-value-basic, dcl-option-value-offset)
2888 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
2889 Mark unused parameters.
2890 (dcl-save-local-variable): Remove unused variable `val'.
2891 (mode): Declare.
2892
2893 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
2894 Mark unused parameters.
2895 (delphi-ignore-changes): Move before first use.
2896 (delphi-charset-token-at): Remove unused variable `start'.
2897 (delphi-else-start): Remove unused variable `if-count'.
2898 (delphi-comment-block-start, delphi-comment-block-end):
2899 Remove unused variable `kind'.
2900 (delphi-indent-line): Remove unused variable `new-point'.
2901
2902 * progmodes/ebrowse.el (ebrowse-files-list)
2903 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
2904 Mark unused parameters. Don't quote `lambda'.
2905 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
2906 Don't quote `lambda'.
2907 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
2908 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
2909 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
2910 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
2911 Use `ignore-errors'.
2912 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
2913 (ebrowse-view/find-file-and-search-pattern)
2914 (ebrowse-view/find-member-declaration/definition):
2915 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
2916 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
2917 Rename parameter PREFIX-ARG to PREFIX.
2918 (ebrowse-tags-read-name): Remove unused variables `start' and
2919 `member-info'.
2920 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
2921 to `tags-file'.
2922
2923 * progmodes/etags.el (local-find-tag-hook): Declare.
2924 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
2925 Mark unused parameters.
2926
2927 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
2928 (executable-interpret): Mark unused parameter.
2929
2930 * progmodes/flymake.el (flymake-process-sentinel)
2931 (flymake-after-change-function)
2932 (flymake-create-temp-with-folder-structure)
2933 (flymake-get-include-dirs-dot): Mark unused parameters.
2934 (flymake-safe-delete-directory): Remove unused variable `err'.
2935
2936 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
2937 (speedbar-timer-fn, speedbar-line-text)
2938 (speedbar-change-expand-button-char, speedbar-delete-subblock)
2939 (speedbar-center-buffer-smartly): Declare functions.
2940 (gdb-find-watch-expression): Remove unused variable `array'.
2941 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
2942 (gdb-starting): Mark unused parameters.
2943 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
2944 (gdb-table-string): Remove unused variable `res'.
2945 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
2946 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
2947 (gdb-display-buffer): Remove unused variable `cur-size'.
2948
2949 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
2950 allow lexical-binding compilation.
2951 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
2952 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
2953 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
2954 Mark unused parameters.
2955 (gud-gdb-marker-filter): Remove unused variable `match'.
2956 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
2957 lambda expressions and funcall them, instead of using `fset'.
2958
2959 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
2960 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
2961
2962 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
2963 variable `header-beg'; use `let'.
2964
2965 * progmodes/icon.el (indent-icon-exp): Remove unused variables
2966 `restart', `last-sexp' and `at-do'.
2967
2968 * progmodes/js.el (js--debug): Mark unused parameter.
2969 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
2970 (js--splice-into-items): Remove unused variable `item'.
2971 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
2972
2973 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
2974 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
2975 (makefile-complete): Remove unused variable `try'.
2976 (makefile-fill-paragraph, makefile-match-function-end):
2977 Mark unused parameters.
2978
2979 * progmodes/octave-inf.el (inferior-octave-complete):
2980 Remove unused variable `proc'.
2981 (inferior-octave-output-digest): Mark unused parameter.
2982
2983 * progmodes/perl-mode.el (perl-calculate-indent):
2984 Remove unused variable `err'.
2985
2986 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
2987 (prolog-indent-line): Mark unused parameters.
2988 (prolog-indent-line): Remove unused variable `beg'.
2989
2990 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
2991 (reporter-dont-compact-list): Declare.
2992
2993 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
2994 Remove unused variable `char'.
2995 (sh-debug): Mark unused parameter.
2996 (sh-get-indent-info): Remove unused variable `start'.
2997 (sh-calculate-indent): Remove unused variable `var'.
2998
2999 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
3000 (simula-electric-keyword): Remove unused variable `null'.
3001 (simula-search-backward, simula-search-forward): Remove unused
3002 variables `begin' and `end'.
3003
3004 * progmodes/vera-mode.el (vera-guess-basic-syntax):
3005 Remove unused variable `pos'.
3006 (vera-electric-tab, vera-comment-uncomment-region):
3007 Mark unused parameters.
3008 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
3009
3010 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
3011
3012 * emacs-lisp/package.el (package--builtins, package-alist)
3013 (package-load-descriptor, package-built-in-p, package-activate)
3014 (define-package, package-installed-p)
3015 (package-compute-transaction, package-buffer-info)
3016 (package--push): Doc fix. Distinguish more clearly between
3017 version strings and version lists.
3018
3019 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
3020
3021 Lexical-binding cleanup.
3022
3023 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
3024 (5x5-make-mutate-best):
3025 * play/fortune.el (fortune-in-buffer):
3026 * play/gomoku.el (gomoku-init-display):
3027 * play/solitaire.el (solitaire, solitaire-do-check):
3028 * play/tetris.el (tetris-default-update-speed-function):
3029 Mark unused parameters.
3030
3031 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
3032 (bubbles--shift): Remove unused variable `char-org'.
3033 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
3034 (bubbles--show-images): Remove unused variable `char'.
3035
3036 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
3037 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
3038 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
3039 (decipher-analyze-buffer): Use ?\s.
3040 (decipher-make-checkpoint): Remove unused variable `mapping'.
3041
3042 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
3043
3044 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3045 Remove unused variable `result'; use `let'.
3046
3047 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
3048 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
3049 (gametree-children-shown-p, gametree-compute-reduced-score):
3050 Use `ignore-errors'.
3051
3052 * play/handwrite.el (ps-lpr-switches): Declare.
3053 (handwrite): Remove unused variables `pmin' and `lastp'.
3054
3055 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
3056
3057 * play/landmark.el (landmark-init-display)
3058 (landmark-update-naught-weights): Mark unused parameters.
3059 (landmark-y): Remove unused variable `noise'. Simplify.
3060 (landmark-human-plays): Remove unused variable `score'.
3061
3062 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
3063 (mpuz-try-proposal): Remove unused variable `game'.
3064
3065 * play/zone.el (life-patterns): Declare.
3066
3067 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
3068
3069 * vc/vc.el (ediff-vc-internal): Declare function.
3070
3071 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3072
3073 * shell.el: Use lexical-binding and std completion UI.
3074 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
3075 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
3076 comint-preoutput-filter-functions rather than on
3077 comint-output-filter-functions.
3078 (shell-command-completion, shell--command-completion-data)
3079 (shell-filename-completion, shell-environment-variable-completion)
3080 (shell-c-a-p-replace-by-expanded-directory): New functions.
3081 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
3082 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
3083 (shell-dynamic-complete-environment-variable): Use them.
3084 (shell-dynamic-complete-as-environment-variable)
3085 (shell-dynamic-complete-as-command): Remove.
3086 (shell-match-partial-variable): Match past point.
3087 * comint.el: Clean up use of completion-at-point-functions.
3088 (comint-completion-at-point): New function.
3089 (comint-mode): Use it completion-at-point-functions.
3090 (comint-dynamic-complete): Make it obsolete.
3091 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
3092 (comint-c-a-p-replace-by-expanded-history): New function.
3093 (comint-dynamic-complete-functions)
3094 (comint-replace-by-expanded-history): Use it.
3095 * minibuffer.el (completion-table-with-terminator): Allow dynamic
3096 termination strings. Try harder to avoid second try-completion.
3097 (completion-in-region-mode-map): Disable bindings that don't work yet.
3098
3099 * comint.el: Use lexical-binding. Require CL.
3100 (comint-dynamic-complete-functions): Use comint-filename-completion.
3101 (comint-completion-addsuffix): Tweak custom type.
3102 (comint-filename-completion, comint--common-suffix)
3103 (comint--common-quoted-suffix, comint--table-subvert)
3104 (comint--complete-file-name-data): New functions.
3105 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
3106 (comint-dynamic-list-filename-completions): Use them.
3107 (comint-dynamic-simple-complete): Make obsolete.
3108
3109 * minibuffer.el (completion-in-region-mode):
3110 Keep completion-in-region-mode--predicate global.
3111 (completion-in-region--postch):
3112 Assume completion-in-region-mode--predicate is not null.
3113
3114 * progmodes/flymake.el (flymake-start-syntax-check-process):
3115 Obey `dir'. Simplify.
3116
3117 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
3118 we're in VC after all.
3119
3120 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
3121
3122 * vc/vc.el (vc-diff-build-argument-list-internal)
3123 (vc-version-ediff, vc-ediff): New commands.
3124 (vc-version-diff): Use vc-diff-build-argument-list-internal.
3125
3126 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3127
3128 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
3129 add sanity check.
3130
3131 * obsolete/erc-hecomplete.el: Make obsolete.
3132 * obsolete/: Standardize obsolescence info in the header.
3133
3134 2011-04-20 Glenn Morris <rgm@gnu.org>
3135
3136 * calendar/solar.el (solar-horizontal-coordinates):
3137 Use the longitude argument rather than `calendar-longitude'.
3138 (solar-date-next-longitude): Remove unused locals.
3139
3140 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3141
3142 * whitespace.el: New version 13.2.1.
3143
3144 2011-04-20 felix <EmacsWiki> (tiny change)
3145
3146 * whitespace.el (global-whitespace-mode): Keep highlight when
3147 switching between major modes on a file.
3148
3149 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
3152 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
3153 multi-line comments as well.
3154
3155 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
3156
3157 Lexical-binding cleanup.
3158
3159 * arc-mode.el (archive-mode-revert):
3160 * cmuscheme.el (scheme-interactively-start-process):
3161 * custom.el (custom-initialize-delay):
3162 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
3163 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
3164 * emacs-lock.el (emacs-lock-clear-sentinel):
3165 * ezimage.el (defezimage):
3166 * follow.el (follow-avoid-tail-recenter):
3167 * fringe.el (set-fringe-mode-1):
3168 * generic-x.el (bat-generic-mode-compile):
3169 * help-mode.el (help-info-variable, help-do-xref)
3170 (help-mode-revert-buffer):
3171 * help.el (view-emacs-todo):
3172 * iswitchb.el (iswitchb-completion-help):
3173 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
3174 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
3175 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
3176 * locate.el (locate-update):
3177 * longlines.el (longlines-encode-region)
3178 (longlines-after-change-function):
3179 * outline.el (outline-isearch-open-invisible):
3180 * ps-def.el (declare-function, charset-dimension, char-width)
3181 (encode-char):
3182 * ps-mule.el (ps-mule-plot-string):
3183 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
3184 (recentf-edit-list-select, recentf-edit-list-validate)
3185 (recentf-open-files-action):
3186 * rect.el (delete-whitespace-rectangle-line)
3187 (rectangle-number-line-callback):
3188 * register.el (window-configuration-to-register)
3189 (frame-configuration-to-register):
3190 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
3191 * select.el (xselect-convert-to-string, xselect-convert-to-length)
3192 (xselect-convert-to-targets, xselect-convert-to-delete)
3193 (xselect-convert-to-filename, xselect-convert-to-charpos)
3194 (xselect-convert-to-lineno, xselect-convert-to-colno)
3195 (xselect-convert-to-os, xselect-convert-to-host)
3196 (xselect-convert-to-user, xselect-convert-to-class)
3197 (xselect-convert-to-name, xselect-convert-to-integer)
3198 (xselect-convert-to-atom, xselect-convert-to-identity):
3199 * subr.el (declare, ignore, process-kill-without-query)
3200 (text-clone-maintain):
3201 * terminal.el (te-get-char, te-tic-sentinel):
3202 * tool-bar.el (tool-bar-make-keymap):
3203 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
3204 * type-break.el (type-break-mode, type-break-noninteractive-query):
3205 * view.el (View-back-to-mark):
3206 * wid-browse.el (widget-browse-action, widget-browse-widget)
3207 (widget-browse-widgets, widget-browse-sexp):
3208 * widget.el (define-widget-keywords):
3209 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
3210 Mark unused parameters.
3211
3212 * align.el (align-adjust-col-for-rule): Mark unused parameter.
3213 (align-areas): Remove unused variable `look'.
3214 (align-region): Remove unused variables `real-end' and `pos-list'.
3215
3216 * apropos.el (apropos-score-doc): Remove unused variable `i'.
3217
3218 * bindings.el (mode-line-modified, mode-line-remote):
3219 Mark unused parameters.
3220 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
3221
3222 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
3223 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
3224
3225 * comint.el (comint-history-isearch-pop-state)
3226 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
3227 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
3228 (comint-substitute-in-file-name): Doc fix.
3229
3230 * completion.el (cmpl-statistics-block): Mark unused parameter.
3231 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
3232 (save-completions-to-file, load-completions-from-file):
3233 Remove unused local variable `e'.
3234
3235 * composite.el (compose-chars): Remove unused variable `len'.
3236 (lgstring-insert-glyph): Remove unused variable `g'.
3237 (compose-glyph-string): Remove unused variables `ascent',
3238 `descent', `lbearing' and `rbearing'.
3239 (compose-glyph-string-relative): Remove unused variables
3240 `lbearing', `rbearing' and `wadjust'.
3241 (compose-gstring-for-graphic): Remove unused variables `header',
3242 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
3243 (compose-gstring-for-terminal): Remove unused variables `header'
3244 and `nchars'. Use `let', not `let*'.
3245
3246 * cus-edit.el (Custom-set, Custom-save, custom-reset)
3247 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
3248 (Custom-buffer-done, custom-buffer-create-internal)
3249 (custom-browse-visibility-action, custom-browse-group-tag-action)
3250 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
3251 (widget-magic-mouse-down-action, custom-toggle-parent)
3252 (custom-add-parent-links, custom-toggle-hide-variable)
3253 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
3254 (custom-toggle-hide-face, face, hook, custom-group-link-action)
3255 (custom-face-menu-create, custom-variable-menu-create, get)
3256 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
3257 (custom-reset-standard-save-and-update): Remove unused variable `value'.
3258 (customize-apropos): Remove unused variable `tests'.
3259 (custom-group-value-create): Remove unused variable `hidden-p'.
3260 (sort-fold-case): Declare.
3261
3262 * cus-theme.el (custom-reset-standard-faces-list)
3263 (custom-reset-standard-variables-list): Declare.
3264 (customize-create-theme, custom-theme-revert, custom-theme-write)
3265 (custom-theme-choose-mode, customize-themes, custom-theme-save):
3266 Mark unused parameters.
3267
3268 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
3269
3270 * delim-col.el (delimit-columns-max): Move defvar before first use.
3271
3272 * descr-text.el (describe-char-categories): Don't quote `lambda'.
3273 (describe-char): Don't quote `lambda'. Mark unused parameter.
3274
3275 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
3276 (auto-insert): Declare.
3277 (desktop-restore-file-buffer): Rename desktop-* parameters;
3278 mark unused ones.
3279 (desktop-create-buffer): Rename desktop-* parameters and bind them.
3280 (desktop-buffer): Rename desktop-* parameters.
3281
3282 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3283 (dframe-reposition-frame-xemacs, dframe-help-echo)
3284 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
3285 Mark unused parameters.
3286
3287 * dired-aux.el (backup-extract-version-start, overwrite-query)
3288 (overwrite-backup-query, rename-regexp-query)
3289 (rename-non-directory-query): Declare.
3290 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
3291 (dired-add-entry): Remove unused variable `orig-file-name'.
3292 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
3293 Use parameter PRESERVE-TIME instead of accessing dynamic variable
3294 `dired-copy-preserve-time' directly.
3295 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
3296 (dired-insert-subdir-newpos): Rename unused variable `pos'.
3297
3298 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
3299 (dired-virtual-revert, dired-make-relative-symlink):
3300 Mark unused parameters.
3301 (manual-program): Declare.
3302 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
3303 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
3304 wrapped in `with-no-warnings' to avoid replacing one warning by another.
3305
3306 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
3307
3308 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
3309
3310 * echistory.el (electric-history-in-progress, Helper-return-blurb):
3311 Declare.
3312
3313 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
3314
3315 * electric.el (Electric-command-loop): Rename parameter
3316 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
3317
3318 * expand.el (expand-in-literal): Remove unused variable `here'.
3319
3320 * facemenu.el (facemenu-add-new-color):
3321 Remove unused variable `docstring'.
3322
3323 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
3324 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
3325 (face-attr-construct): Mark unused parameter. Doc fix.
3326 (read-color): Remove unused variable `hex-string'.
3327
3328 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
3329 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
3330 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
3331 (display-buffer-other-frame): Remove unused variable `old-window'.
3332 (kill-buffer-hook): Declare.
3333 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
3334 Mark unused parameters.
3335 (after-find-file): Pass 1 to `auto-save-mode', not t.
3336
3337 * files-x.el (auto-insert): Declare.
3338 (modify-file-local-variable-prop-line): Remove unused variable `val'.
3339
3340 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
3341 variable `buf'. Mark unused parameter.
3342 (find-lisp-insert-directory): Mark unused parameter.
3343
3344 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
3345 (format-encode-region): Remove unused variables `cur-buf' and `result'.
3346 (format-common-tail): Remove, unused.
3347 (format-deannotate-region): Remove unused variable `loc'.
3348 (format-annotate-region): Remove unused variable `p'.
3349 (format-annotate-single-property-change): Remove unused variables
3350 `default' and `tail'.
3351
3352 * forms.el (read-file-filter): Declare.
3353 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
3354
3355 * frame.el (frame-creation-function-alist): Mark unused parameter.
3356 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
3357
3358 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
3359 Remove unused parameters.
3360 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
3361 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
3362
3363 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
3364 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
3365 (hfy-prepare-tag-map): Mark unused parameters.
3366 (htmlfontify-buffer): Use `called-interactively-p'.
3367
3368 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
3369 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
3370 (ibuffer-do-occur): Mark unused parameters.
3371 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
3372 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
3373
3374 * ibuffer.el: Don't quote `lambda'.
3375 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
3376 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
3377 Mark unused parameters.
3378
3379 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
3380 (ido-completing-read): Mark unused parameters.
3381 (ido-copy-current-word): Mark unused parameters;
3382 remove unused variable `name'.
3383 (ido-sort-merged-list): Remove unused parameter `dirs'.
3384
3385 * ielm.el (ielm-input-sender): Mark unused parameter.
3386 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
3387 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
3388 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
3389 `ielm-string' as a dynamic variable accessible from the IELM prompt.
3390 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
3391
3392 * image-dired.el (image-dired-display-thumbs): Remove unused
3393 variables `curr-file' and `count'.
3394 (image-dired-remove-tag): Remove unused variable `start'.
3395 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
3396 variable `curr-file'
3397 (image-dired-rotate-original): Remove unused variable `temp-file'.
3398 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
3399 Remove unused variable `file'.
3400 (image-dired-gallery-generate): Remove unused variable `curr'.
3401 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
3402
3403 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
3404
3405 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
3406
3407 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
3408
3409 * isearch.el (minibuffer-history-symbol): Declare.
3410 (isearch-edit-string): Remove unused variable `err'.
3411 (isearch-message-prefix, isearch-message-suffix):
3412 Mark unused parameters.
3413
3414 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
3415
3416 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
3417
3418 * makesum.el (double-column): Remove unused variable `cnt'.
3419
3420 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
3421 (ido-ignore-item-temp-list): Declare.
3422
3423 * mouse-drag.el (mouse-drag-throw): Remove unused variables
3424 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
3425 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
3426 (mouse-drag-drag): Remove unused variables `mouse-delta' and
3427 `mouse-col-delta'.
3428
3429 * mouse-sel.el (mouse-extend-internal):
3430 Remove unused variable `orig-window-frame'.
3431
3432 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
3433 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
3434 Move declarations before first use.
3435 (pcomplete-opt): Mark unused parameters; doc fix.
3436
3437 * proced.el (proced-revert): Mark unused parameter.
3438 (proced-send-signal): Remove unused variable `err'.
3439
3440 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
3441 Rename parameter PREFIX-ARG to ARG.
3442 (ps-basic-plot-string, ps-basic-plot-whitespace):
3443 Mark unused parameters.
3444
3445 * replace.el (replace-count): Define.
3446 (occur-revert-function): Mark unused parameters.
3447 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
3448 (isearch-case-fold-search, isearch-string): Declare.
3449 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
3450 bind `case-fold-search'. Remove unused variables `beg' and `end',
3451 and simplify.
3452 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
3453 COUNT and bind `replace-count'.
3454 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
3455 to COUNT.
3456
3457 * savehist.el (print-readably, print-string-length): Declare.
3458
3459 * shadowfile.el (shadow-expand-cluster-in-file-name):
3460 Remove unused variable `cluster'.
3461 (shadow-copy-file): Remove unused variable `i'.
3462 (shadow-noquery, shadow-clusters, shadow-site-cluster)
3463 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
3464 (shadow-define-literal-group, shadow-define-regexp-group)
3465 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
3466
3467 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
3468 (shell): Use `called-interactively-p'.
3469 (shell-directory-tracker): Remove unused variable `chdir-failure'.
3470
3471 * simple.el (compilation-context-lines, comint-file-name-quote-list)
3472 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
3473 (delete-backward-char): Remove unused variable `ocol'.
3474 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
3475 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
3476 (event-apply-hyper-modifier, event-apply-shift-modifier)
3477 (event-apply-control-modifier, event-apply-meta-modifier):
3478 Mark unused parameters.
3479 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
3480 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
3481
3482 * speedbar.el (speedbar-ignored-directory-expressions)
3483 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
3484 (speedbar-find-file, speedbar-dir-follow)
3485 (speedbar-directory-buttons-follow, speedbar-tag-find)
3486 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
3487 (speedbar-buffers-line-directory, speedbar-buffer-click):
3488 Mark unused parameters.
3489 (speedbar-tag-file): Remove unused variable `mode'.
3490 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
3491
3492 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
3493
3494 * talk.el (talk): Remove unused variable `display'.
3495
3496 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
3497 (tar-write-region-annotate): Mark unused parameter.
3498
3499 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
3500 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
3501 Declare them, wrapped in `with-no-warnings' to avoid replacing one
3502 warning by another.
3503
3504 * time-stamp.el (time-stamp-string-preprocess):
3505 Remove unused variable `require-padding'.
3506
3507 * tree-widget.el (widget-glyph-enable): Declare.
3508 (tree-widget-action): Mark unused parameter.
3509
3510 * w32-fns.el (x-get-selection): Mark unused parameter.
3511 (autoload-make-program, generated-autoload-file): Declare.
3512
3513 * wdired.el (wdired-revert): Mark unused parameters.
3514 (wdired-xcase-word): Remove unused variable `err'.
3515
3516 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
3517 (whitespace-help-scroll): Remove unused variable `data-help'.
3518
3519 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
3520 (widget-image-insert, widget-after-change, default)
3521 (widget-default-format-handler, widget-default-notify)
3522 (widget-default-prompt-value, widget-info-link-action)
3523 (widget-url-link-action, widget-function-link-action)
3524 (widget-variable-link-action, widget-file-link-action)
3525 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
3526 (widget-field-prompt-internal, widget-field-action, widget-field-match)
3527 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
3528 (widget-insert-button-action, widget-delete-button-action, visibility)
3529 (widget-documentation-link-action, widget-documentation-string-action)
3530 (widget-const-prompt-value, widget-regexp-match, symbol)
3531 (widget-coding-system-prompt-value)
3532 (widget-key-sequence-value-to-external, sexp)
3533 (widget-sexp-value-to-internal, character, vector, cons)
3534 (widget-choice-prompt-value, widget-boolean-prompt-value)
3535 (widget-color--choose-action): Mark unused parameters.
3536 (widget-item-match-inline, widget-choice-match-inline)
3537 (widget-checklist-match, widget-checklist-match-inline)
3538 (widget-group-match): Rename parameter VALUES to VALS.
3539 (widget-field-value-set): Remove unused variable `size'.
3540 (widget-color-action): Remove unused variables `value' and `start'.
3541
3542 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
3543 variable `dir'. Doc fix.
3544 (windmove-find-other-window): Don't pass it.
3545
3546 * window.el (count-windows): Mark unused parameter.
3547 (bw-adjust-window): Remove unused variable `err'.
3548
3549 * woman.el (woman-file-name): Remove unused variable `default'.
3550 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
3551 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
3552 (global-font-lock-mode): Declare.
3553 (woman-decode-region): Mark unused parameter.
3554 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
3555
3556 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
3557 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
3558 (x-dnd-handle-moz-url): Remove unused variable `title'.
3559 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
3560
3561 * xml.el (xml-parse-tag, xml-parse-attlist):
3562 Remove unused variable `pos'.
3563
3564 2011-04-19 Glenn Morris <rgm@gnu.org>
3565
3566 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
3567 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3568 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3569 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
3570 * calendar/cal-html.el (cal-html-insert-minical):
3571 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
3572 (calendar-mark-date-pattern):
3573 Prefix "unused" locals.
3574
3575 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
3576 optional argument `style'.
3577
3578 * calendar/appt.el (appt-make-list):
3579 * calendar/cal-china.el (calendar-chinese-date-string):
3580 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
3581 (diary-hebrew-yahrzeit):
3582 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
3583 * calendar/calendar.el (calendar-generate-window):
3584 * calendar/time-date.el (time-to-days):
3585 Remove unused local variables.
3586
3587 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
3588
3589 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
3590 glyphless-char-display table.
3591 (tabulated-list-glyphless-char-display): New var.
3592
3593 2011-04-18 Sam Steingold <sds@gnu.org>
3594
3595 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
3596 to acknowledgments.
3597
3598 2011-04-17 Glenn Morris <rgm@gnu.org>
3599
3600 * calendar/diary-lib.el (diary-sexp-entry):
3601 * calendar/holidays.el (holiday-sexp):
3602 Set debug-on-error rather than the removed stack-trace-on-error.
3603
3604 2011-04-16 Glenn Morris <rgm@gnu.org>
3605
3606 * progmodes/f90.el: Use lexical-binding.
3607 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
3608
3609 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3610
3611 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
3612 (mail-mode): Setup mailalias completion here instead.
3613 * mail/mailalias.el: Use lexical-binding.
3614 (pattern, mailalias-done): Declare dynamic.
3615 (mail-completion-at-point-function): New function, from mail-complete.
3616 (mail-complete): Use it.
3617 (mail-completion-expand): New function.
3618 (mail-get-names): Use it.
3619 (mail-directory, mail-directory-process, mail-directory-stream):
3620 Don't use `pattern' for lexically bound arg.
3621
3622 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
3623
3624 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
3625 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
3626 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
3627
3628 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
3629 (byte-save-window-excursion, byte-temp-output-buffer-setup)
3630 (byte-interactive-p): Define them again, for use when inlining
3631 old code.
3632
3633 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
3634
3635 * loadup.el: Use `string-to-number', not `string-to-int'.
3636
3637 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3638
3639 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
3640 gud-gdb-complete-command.
3641 (gud-gdb-completions): New function, from gud-gdb-complete-command.
3642 (gud-gdb-completion-at-point): New function.
3643 (gud-gdb-completions): Remove.
3644
3645 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
3646
3647 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
3648 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
3649 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
3650 whether `executable-find' is bound.
3651
3652 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
3653
3654 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3655
3656 * minibuffer.el (completion-in-region-mode-predicate)
3657 (completion-in-region-mode--predicate): New vars.
3658 (completion-in-region, completion-in-region--postch)
3659 (completion-in-region-mode): Use them.
3660 (completion--capf-wrapper): Also return the hook function.
3661 (completion-at-point, completion-help-at-point):
3662 Adjust and provide a predicate.
3663
3664 Preserve arg names for advice of subr and lexical functions (bug#8457).
3665 * help-fns.el (help-function-arglist): Consolidate the subr and
3666 new-byte-code cases. Add argument `preserve-names' to extract names
3667 from the docstring when needed.
3668 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
3669 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
3670 (ad-arglist): Use help-function-arglist's new arg.
3671 (ad-definition-type): Use cond.
3672
3673 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
3674
3675 * autorevert.el (auto-revert-handler):
3676 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
3677 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
3678 Don't quote lambda.
3679
3680 * image-mode.el (image-transform-set-scale):
3681 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
3682
3683 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3684
3685 * net/network-stream.el (network-stream-open-starttls): Only do
3686 opportunistic STARTTLS upgrades if we have built-in gnutls support.
3687 Upgrades via gnutls-cli are too slow to be done opportunistically.
3688
3689 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
3690
3691 * dframe.el (dframe-current-frame): Remove spurious quote.
3692
3693 2011-04-12 Glenn Morris <rgm@gnu.org>
3694
3695 * calendar/cal-tex.el (cal-tex-end-document):
3696 Try to automatically use latin1 input if needed.
3697
3698 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
3699 Don't try to cons a mark onto an empty element.
3700
3701 2011-04-11 Leo Liu <sdl.web@gmail.com>
3702
3703 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
3704 buffers.
3705 (ido-kill-buffer-at-head): Support killing virtual buffers.
3706
3707 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
3708
3709 * minibuffer.el (completion-show-inline-help): New var.
3710 (completion--do-completion, minibuffer-complete)
3711 (minibuffer-force-complete, minibuffer-complete-word):
3712 Inhibit minibuffer messages if completion-show-inline-help is nil.
3713
3714 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
3715 to avoid interference from inline help (Bug#5849).
3716
3717 2011-04-10 Leo Liu <sdl.web@gmail.com>
3718
3719 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3720 Fix typo.
3721
3722 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
3723
3724 * image-mode.el (image-toggle-display-image): Signal an error if
3725 not in Image mode.
3726 (image-transform-mode, image-transform-resize)
3727 (image-transform-set-rotation): Doc fix.
3728 (image-transform-set-resize): Delete.
3729 (image-transform-set-scale, image-transform-fit-to-height)
3730 (image-transform-fit-to-width): Handle image-toggle-display-image
3731 and image-transform-resize directly.
3732
3733 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
3734
3735 * doc-view.el (doc-view-fit-width-to-window)
3736 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
3737 New functions for fitting the shown image to the Emacs window size.
3738 (doc-view-mode-map): Add bindings for the new functions.
3739
3740 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
3741
3742 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
3743 Fix typo in docstring.
3744
3745 2011-04-08 Eli Zaretskii <eliz@gnu.org>
3746
3747 * files.el (file-size-human-readable): Produce one digit after
3748 decimal, like "ls -lh" does.
3749
3750 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
3751 the file size representation.
3752
3753 * simple.el (list-processes): If async subprocesses are not
3754 available, error out with a clear error message.
3755
3756 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
3757
3758 * help.el (help-form-show): New function, to be called from C.
3759 Put help-form output in a buffer named differently than *Help*.
3760
3761 2011-04-08 Eli Zaretskii <eliz@gnu.org>
3762
3763 * files.el (file-size-human-readable): New function.
3764
3765 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
3766 computing the representation inline. Don't require `cl'.
3767
3768 2011-04-08 Glenn Morris <rgm@gnu.org>
3769
3770 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
3771
3772 * net/browse-url.el (browse-url-firefox):
3773 Test system-type, not system-configuration.
3774
3775 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
3776 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
3777 Use log-edit-empty-buffer-p. (Bug#7598)
3778
3779 * net/rlogin.el (rlogin-process-connection-type): Simplify.
3780 (rlogin-mode-map): Initialize in the defvar.
3781 (rlogin): Use ignore-errors.
3782
3783 * replace.el (occur-mode-map): Some fixes for menu items.
3784
3785 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3786
3787 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
3788
3789 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
3790
3791 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
3792 issuing unused warnings.
3793
3794 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
3795 macro directly.
3796
3797 * simple.el: Lisp reimplement of list-processes. Based on an
3798 earlier reimplementation by Leo Liu, but using tabulated-list.el.
3799 (process-menu-mode): New major mode.
3800 (list-processes--refresh, list-processes):
3801 (process-menu-visit-buffer): New functions.
3802
3803 * files.el (save-buffers-kill-emacs): Don't assume any return
3804 value of list-processes, which is undocumented anyway.
3805
3806 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
3807
3808 * emacs-lisp/tabulated-list.el: New file.
3809
3810 * emacs-lisp/package.el: Use Tabulated List mode.
3811 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
3812 (package-menu-mode): Derive from tabulated-list-mode. Set up the
3813 table format using Tabulated List mode variables.
3814 (package--push): New macro, replacing package-list-maybe-add.
3815 (package-menu--generate): Use package--push. Renamed from
3816 package--generate-package-list.
3817 (package-menu-refresh, list-packages): Use it.
3818 (package-menu--print-info): Rename from package-print-package.
3819 Return insertion data instead of inserting it directly.
3820 (package-menu-describe-package, package-menu-execute):
3821 Use tabulated-list-get-id.
3822 (package-menu-mark-delete, package-menu-mark-install)
3823 (package-menu-mark-unmark, package-menu-backup-unmark)
3824 (package-menu-mark-obsolete-for-deletion):
3825 Use tabulated-list-put-tag.
3826 (package--list-packages, package-menu-revert)
3827 (package-menu-get-package, package-menu-get-version)
3828 (package-menu-sort-by-column): Functions deleted.
3829 (package-menu-package-list, package-menu-sort-key): Vars deleted.
3830 (package-menu--status-predicate, package-menu--version-predicate)
3831 (package-menu--name-predicate)
3832 (package-menu--description-predicate): Handle arguments in the
3833 Tabulated List format.
3834 (package-list-packages-no-fetch): Call list-packages.
3835
3836 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
3837
3838 * files.el (after-find-file-from-revert-buffer): Remove variable.
3839 (after-find-file): Don't bind it.
3840 (revert-buffer-in-progress-p): New variable.
3841 (revert-buffer): Bind it.
3842 Pass nil for `after-find-file-from-revert-buffer'.
3843
3844 * saveplace.el (save-place-find-file-hook): Use new variable
3845 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
3846
3847 2011-04-06 Glenn Morris <rgm@gnu.org>
3848
3849 * Makefile.in (AUTOGEN_VCS): New variable.
3850 (autoloads): Use $AUTOGEN_VCS.
3851
3852 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
3853 * calendar/calendar.el (calendar-mode-map):
3854 Check for toolkit scroll bars. (Bug#8305)
3855
3856 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
3857
3858 * minibuffer.el (completion-in-region--postch)
3859 (completion-in-region-mode): Remove unnecessary messages.
3860
3861 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
3862
3863 * font-lock.el (font-lock-refresh-defaults):
3864 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
3865 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
3866
3867 * info.el (Info-directory-list, Info-read-node-name-2)
3868 (Info-split-parameter-string): Doc fixes.
3869 (Info-virtual-nodes): Reflow docstring.
3870 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
3871 (Info-apropos-toc-nodes, info-finder, Info-get-token)
3872 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
3873 Fix typos in docstrings.
3874 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
3875 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
3876 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
3877 (Info-restore-desktop-buffer): Mark unused parameters.
3878 (Info-directory-find-file, Info-directory-find-node)
3879 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
3880 (Info-virtual-index-find-node, Info-apropos-find-file)
3881 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
3882 Mark unused parameters; fix typos in docstrings.
3883 (Info-virtual-index): Remove unused local variable `nodename'.
3884
3885 2011-04-05 Deniz Dogan <deniz@dogan.se>
3886
3887 * net/rcirc.el: Update my e-mail address.
3888 (rcirc-mode-map): Remove M-o binding.
3889
3890 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
3891
3892 * startup.el (command-line): Save the cursor's theme-face
3893 directly, instead of using face-override-spec.
3894
3895 * custom.el (load-theme): Minor optimization in assigning faces.
3896
3897 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
3898
3899 * help-fns.el (describe-variable): Complete all variables having
3900 documentation, including keywords.
3901 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
3902
3903 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
3904
3905 Convert to lexical-binding.
3906
3907 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
3908 (bs--get-marked-string, bs--get-modified-string)
3909 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
3910 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
3911 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
3912
3913 * ehelp.el (electric-help-execute-extended)
3914 (electric-help-ctrl-x-prefix):
3915 * hexl.el (hexl-revert-buffer-function):
3916 * linum.el (linum-after-change, linum-after-scroll):
3917 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
3918
3919 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
3920
3921 2011-04-04 Daiki Ueno <ueno@unixuser.org>
3922
3923 * epa-dired.el:
3924 * epa-mail.el:
3925 * epa-hook.el:
3926 * epa-file.el:
3927 * epa.el:
3928 * epg.el: Use lexical binding.
3929
3930 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
3931
3932 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
3933
3934 * textmodes/flyspell.el (flyspell-word): Recognize default
3935 dictionary case for flyspell-mark-duplications-exceptions.
3936 Use regexp matching for languages.
3937 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
3938 default dictionary (Bug#7926).
3939
3940 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
3941
3942 * emacs-lisp/package.el (package--with-work-buffer):
3943 Recognize https URLs.
3944
3945 * net/network-stream.el: Move from gnus/proto-stream.el.
3946 Change prefix to network-stream throughout.
3947 (open-protocol-stream): Merge into open-network-stream, leaving
3948 open-protocol-stream as an alias. Handle nil BUFFER args.
3949
3950 * subr.el (open-network-stream): Move to net/network-stream.el.
3951
3952 2011-04-02 Glenn Morris <rgm@gnu.org>
3953
3954 * find-dired.el (find-exec-terminator): New option.
3955 (find-ls-option): Test for -ls support.
3956 (find-ls-subdir-switches): Test for -b in find-ls-option.
3957 (find-dired, find-grep-dired): Doc fixes.
3958 (find-dired): Use find-exec-terminator.
3959
3960 * find-dired.el (find-ls-option, find-ls-subdir-switches)
3961 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
3962 (find-name-arg): Remove purecopy.
3963
3964 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
3965 (grep-compute-defaults): Check for `-exec COMMAND +' support.
3966 Set grep-find-use-xargs, grep-find-command, and grep-find-template
3967 accordingly. Don't add the null-device if not needed.
3968
3969 * files.el (save-some-buffers): Doc fix.
3970
3971 2011-04-02 Eli Zaretskii <eliz@gnu.org>
3972
3973 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
3974
3975 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
3976
3977 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
3978 Use `dolist' rather than `mapcar'.
3979
3980 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3981
3982 Add lexical binding.
3983
3984 * subr.el (apply-partially): Use new closures rather than CL.
3985 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
3986 (dolist, dotimes): Use slightly different expansion for lexical code.
3987 (functionp): Move to C.
3988 (letrec): New macro.
3989 (with-wrapper-hook): Use it and apply-partially instead of CL.
3990 (eval-after-load): Preserve lexical-binding.
3991 (save-window-excursion, with-output-to-temp-buffer): Turn them
3992 into macros.
3993
3994 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
3995
3996 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
3997 than the arglist.
3998 (help-add-fundoc-usage): Don't add `Not documented'.
3999 (help-function-arglist): Handle closures, subroutines, and new
4000 byte-code-functions.
4001 (help-make-usage): Remove leading underscores.
4002 (describe-function-1): Handle closures.
4003 (describe-variable): Use special-variable-p for completion.
4004
4005 * files.el (lexical-binding): Declare safe.
4006
4007 * emacs-lisp/pcase.el: Don't use destructuring-bind.
4008 (pcase--memoize): Rename from pcase-memoize. Change weakness.
4009 (pcase): Add `let' pattern.
4010 Change memoization so it actually works.
4011 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
4012 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
4013 <let>: New case.
4014
4015 * emacs-lisp/macroexp.el: Use lexical binding.
4016 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
4017 Don't convert ' to #' without checking that it's indeed quoting
4018 a lambda.
4019
4020 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
4021 Use eval-sexp-add-defvars.
4022 (eval-sexp-add-defvars): New fun.
4023
4024 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
4025
4026 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
4027 Don't autoload.
4028 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
4029 than the internal `byte-compile-lambda'.
4030 (defmethod): Don't hide code under quotes.
4031 (eieio-defmethod): New `code' argument.
4032
4033 * emacs-lisp/eieio-comp.el: Remove.
4034
4035 * emacs-lisp/edebug.el (edebug-eval-defun)
4036 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
4037 (edebug-toggle): Avoid `eval'.
4038
4039 * emacs-lisp/disass.el (disassemble-internal): Handle new
4040 `closure' objects.
4041 (disassemble-1): Handle new byte codes.
4042
4043 * emacs-lisp/cl.el (pushnew): Silence warning.
4044
4045 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
4046 (cl-byte-compile-throw): Remove.
4047 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
4048
4049 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
4050 closures.
4051
4052 * emacs-lisp/cconv.el: New file.
4053
4054 * emacs-lisp/bytecomp.el: Use lexical binding instead of
4055 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
4056 (byte-compile-initial-macro-environment):
4057 Handle declare-function here.
4058 (byte-compile--lexical-environment): New var.
4059 (byte-stack-ref, byte-stack-set, byte-discardN)
4060 (byte-discardN-preserve-tos): New lap codes.
4061 (byte-interactive-p): Don't use any more.
4062 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
4063 New macros.
4064 (byte-compile-lapcode): Use them and handle new lap codes.
4065 (byte-compile-obsolete): Remove.
4066 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
4067 (byte-compile-arglist-warn): Check late def of inlinable funs.
4068 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
4069 since they should have been expanded by now.
4070 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
4071 (byte-compile-from-buffer): Remove unused second arg.
4072 (byte-compile-preprocess): New function.
4073 (byte-compile-toplevel-file-form): New function to distinguish
4074 file-form calls from outside from file-form calls from hunk-handlers.
4075 (byte-compile-file-form): Simplify.
4076 (byte-compile-file-form-defsubst): Remove.
4077 (byte-compile-file-form-defmumble): Simplify now that
4078 byte-compile-lambda always returns a byte-code-function.
4079 (byte-compile): Preprocess.
4080 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
4081 Remove, not used any more.
4082 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
4083 (byte-compile-make-args-desc): New funs.
4084 (byte-compile-lambda): Handle lexical functions. Always return
4085 a byte-code-function.
4086 (byte-compile-reserved-constants): New var, to make up room for
4087 closed-over variables.
4088 (byte-compile-constants-vector): Obey it.
4089 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
4090 (byte-compile-macroexpand-declare-function): New function.
4091 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
4092 byte-code-functions.
4093 (byte-compile-form): Check obsolescence here.
4094 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
4095 (byte-compile-variable-ref): Remove.
4096 (byte-compile-dynamic-variable-op): New fun.
4097 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
4098 (byte-compile-variable-set): New funs.
4099 (byte-compile-discard): Add 2 args.
4100 (byte-compile-stack-ref, byte-compile-stack-set)
4101 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
4102 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
4103 macroexpand-all instead.
4104 (byte-compile-quote-form): Remove.
4105 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
4106 (byte-compile-bind, byte-compile-unbind): New funs.
4107 (byte-compile-let): Handle let* and lexical binding.
4108 (byte-compile-let*): Remove.
4109 (byte-compile-catch, byte-compile-unwind-protect)
4110 (byte-compile-track-mouse, byte-compile-condition-case):
4111 Handle a new :fun-body form, used for lexical scoping.
4112 (byte-compile-save-window-excursion)
4113 (byte-compile-with-output-to-temp-buffer): Remove.
4114 (byte-compile-defun): Simplify.
4115 (byte-compile-stack-adjustment): New fun.
4116 (byte-compile-out): Use it.
4117 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
4118
4119 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
4120 handler any more.
4121
4122 * emacs-lisp/byte-opt.el: Use lexical binding.
4123 (byte-inline-lapcode): Remove (to bytecomp).
4124 (byte-compile-inline-expand): Pay attention to inlining to/from
4125 lexically bound code.
4126 (byte-compile-unfold-lambda): Don't handle byte-code-functions
4127 any more.
4128 (byte-optimize-form-code-walker): Don't handle save-window-excursion
4129 any more and don't call compiler-macros.
4130 (byte-compile-splice-in-already-compiled-code): Remove.
4131 (byte-code): Don't inline any more.
4132 (disassemble-offset): Receive `bytes' as argument rather than via
4133 dynamic scoping.
4134 (byte-compile-tag-number): Declare before first use.
4135 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
4136 `return' even if make-spliceable.
4137 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
4138 obsolete interactive-p.
4139 (byte-optimize-lapcode): Optimize new lap-codes.
4140 Don't trip up on new form of `byte-constant' lap code.
4141
4142 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
4143
4144 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
4145
4146 * custom.el (custom-initialize-default, custom-declare-variable):
4147 Use `defvar'.
4148
4149 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
4150 New variables.
4151 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
4152 (COMPILE_FIRST): Add macroexp and cconv.
4153 * makefile.w32-in: Mirror changes in Makefile.in.
4154
4155 * vc/cvs-status.el:
4156 * vc/diff-mode.el:
4157 * vc/log-edit.el:
4158 * vc/log-view.el:
4159 * vc/smerge-mode.el:
4160 * textmodes/bibtex-style.el:
4161 * textmodes/css.el:
4162 * startup.el:
4163 * uniquify.el:
4164 * minibuffer.el:
4165 * newcomment.el:
4166 * reveal.el:
4167 * server.el:
4168 * mpc.el:
4169 * emacs-lisp/smie.el:
4170 * doc-view.el:
4171 * dired.el:
4172 * abbrev.el: Use lexical binding.
4173
4174 2011-04-01 Eli Zaretskii <eliz@gnu.org>
4175
4176 * info.el (info-display-manual): New function.
4177
4178 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4179
4180 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
4181
4182 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
4183
4184 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
4185 an entry for that server in rcirc-authinfo. (Bug#8385)
4186
4187 2011-03-31 Glenn Morris <rgm@gnu.org>
4188
4189 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
4190
4191 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
4192
4193 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
4194
4195 * progmodes/python.el (python-default-interpreter)
4196 (python-python-command-args, python-jython-command-args)
4197 (python-which-shell, python-which-args, python-which-bufname)
4198 (python-file-queue, python-comint-output-filter-function)
4199 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
4200 variables and functions.
4201
4202 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
4205 (completion-in-region-mode): New minor mode.
4206 (completion-in-region): Use it.
4207 (completion-in-region--data, completion-in-region-mode-map): New vars.
4208 (completion-in-region--postch): New function.
4209 (completion--capf-misbehave-funs, completion--capf-safe-funs):
4210 New vars.
4211 (completion--capf-wrapper): New function.
4212 (completion-at-point): Use it to track well-behavedness of
4213 hook functions.
4214 (completion-help-at-point): New command.
4215
4216 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
4217
4218 * vc/add-log.el (add-change-log-entry): Don't use whitespace
4219 syntax class to search for whitespace on a single line
4220 (Message-ID: <4D938140.4030905@redhat.com>).
4221
4222 2011-03-30 Leo Liu <sdl.web@gmail.com>
4223
4224 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
4225 New commands.
4226 (edit-abbrevs-map): Bind them here.
4227 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
4228
4229 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
4230
4231 * allout.el (allout-hide-by-annotation, allout-flag-region):
4232 Reduce possibility of overlay leakage by making them volatile.
4233
4234 * allout-widgets.el (allout-widgets-tally): Define as nil so the
4235 hash is not shared between buffers. Mode initialization is
4236 responsible for giving it a useful starting value.
4237 (allout-item-span): Reduce possibility of overlay leakage by
4238 making them volatile.
4239 (allout-widgets-count-buttons-in-region): Add diagnostic function
4240 for tracking down button overlay leaks.
4241
4242 2011-03-29 Leo Liu <sdl.web@gmail.com>
4243
4244 * ido.el (ido-read-internal): Use the default history var
4245 minibuffer-history if no HISTORY is specified.
4246
4247 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
4248
4249 * net/imap.el (imap-shell-open, imap-process-connection-type):
4250 Use imap-process-connection-type for 'shell' streams as well as
4251 Kerberos, SSL, other subprocesses.
4252
4253 2011-03-28 Leo Liu <sdl.web@gmail.com>
4254
4255 * abbrev.el (abbrev-table-empty-p): New function.
4256 (prepare-abbrev-list-buffer): Place empty abbrev tables after
4257 nonempty ones. (Bug#5937)
4258
4259 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
4260
4261 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
4262
4263 2011-03-27 Leo Liu <sdl.web@gmail.com>
4264
4265 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
4266 for foreground and background colors.
4267 (ansi-color-make-color-map): Adapt.
4268
4269 2011-03-25 Leo Liu <sdl.web@gmail.com>
4270
4271 * midnight.el (midnight-time-float): Remove. Note it calculates
4272 the microsecond component incorrectly and seconds-to-time does the
4273 same job.
4274 Remove redundant (require 'timer).
4275
4276 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
4277 (ido-completions): Remove unused arguments. (Bug#8329)
4278
4279 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 * minibuffer.el (completion--flush-all-sorted-completions):
4282 Remove itself from hook.
4283 (completion-at-point): Let the functions perform the completion
4284 immediately and return nil or t.
4285 * comint.el (comint-dynamic-complete-functions): Now identical to
4286 completion-at-point-functions.
4287 (comint-dynamic-list-input-ring): Remove unused var `index'.
4288 (comint--match-partial-filename, comint--unquote&expand-filename):
4289 New funs, split from comint-match-partial-filename.
4290 (comint-dynamic-complete): Use completion-at-point.
4291 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
4292
4293 2011-03-24 Drew Adams <drew.adams@oracle.com>
4294
4295 * thingatpt.el: Support `defun'.
4296
4297 2011-03-23 Leo Liu <sdl.web@gmail.com>
4298
4299 * abbrevlist.el: Move to obsolete/abbrevlist.el.
4300
4301 * help-mode.el (help-mode-finish): Tweak regexp.
4302
4303 2011-03-23 Glenn Morris <rgm@gnu.org>
4304
4305 * eshell/esh-opt.el (eshell-eval-using-options):
4306 Do not bind unused local variable `eshell-option-stub'.
4307
4308 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
4309
4310 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
4311
4312 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
4313 keymap variable in `with-no-warnings' to avoid a warning when the
4314 keymap has been already `defconst'ed.
4315
4316 2011-03-22 Leo Liu <sdl.web@gmail.com>
4317
4318 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
4319 encode all chars in abbrevs; otherwise use emacs-mule or
4320 utf-8-emacs. (Bug#8308)
4321
4322 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
4323
4324 * simple.el (backward-delete-char-untabify):
4325 Avoid warning about using `delete-backward-char'.
4326
4327 * image.el (image-type-file-name-regexps): Make it variable.
4328 `imagemagick-register-types' modifies it, and the user may want
4329 to add new extensions for known image types.
4330 (imagemagick-register-types): Throw error if not using ImageMagick.
4331
4332 2011-03-22 Leo Liu <sdl.web@gmail.com>
4333
4334 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
4335 located before rcirc-prompt-end-marker.
4336 (rcirc-complete): Error if point is not after rcirc prompt.
4337 Handle the case when table is nil.
4338 (rcirc-user-authenticated): Define to fix compiler warning.
4339
4340 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
4341
4342 * custom.el (custom--inhibit-theme-enable): Make it affect only
4343 custom-theme-set-variables and custom-theme-set-faces.
4344 (provide-theme): Ignore custom--inhibit-theme-enable.
4345 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
4346 (custom-enabling-themes): Delete variable.
4347 (enable-theme): Accept only loaded themes as arguments.
4348 Ignore the special custom-enabled-themes variable.
4349 (custom-enabled-themes): Forbid themes from setting this.
4350 Eliminate use of custom-enabling-themes.
4351 (custom-push-theme): Quote "changed" custom var entry.
4352
4353 2011-03-21 Leo Liu <sdl.web@gmail.com>
4354
4355 * ido.el (ido-read-internal): Add ido-selected to history instead
4356 of user input.
4357
4358 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4359
4360 * subr.el (deferred-action-list, deferred-action-function):
4361 Mark obsolete.
4362
4363 2011-03-21 Leo Liu <sdl.web@gmail.com>
4364
4365 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
4366 change on 2011-02-13 (bug#8309).
4367
4368 * minibuffer.el (read-file-name-function): Change default value.
4369 (read-file-name--defaults): Rename from read-file-name-defaults.
4370 (read-file-name-default): Rename from read-file-name.
4371 (read-file-name): Call read-file-name-function.
4372
4373 2011-03-21 Glenn Morris <rgm@gnu.org>
4374
4375 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
4376 Doc fixes.
4377
4378 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
4379
4380 * cus-theme.el: Add missing provide statement.
4381 (customize-create-theme): Extract theme value correctly.
4382 (custom-theme-visit-theme): Autoload.
4383 (customize-create-theme): Prompt before inserting default faces.
4384
4385 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
4386
4387 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
4388 units and musical notes.
4389
4390 2011-03-20 Leo <sdl.web@gmail.com>
4391
4392 * ido.el (ido-read-internal): Use completing-read-default.
4393 (ido-completing-read): Fix compatibility with completing-read.
4394
4395 2011-03-20 Christian Ohler <ohler@gnu.org>
4396
4397 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
4398 (ert-delete-all-tests): Use `called-interactively-p' rather than
4399 `interactive-p'.
4400 (ert--make-xrefs-region): Respect END.
4401
4402 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
4403
4404 * dired-aux.el (dired-create-directory): Signal an error if the
4405 directory already exists (Bug#8246).
4406
4407 * facemenu.el (list-colors-display): Call list-faces-display
4408 inside with-help-window.
4409 (list-colors-print): Use display property to align the final
4410 column, instead of checking window-width.
4411
4412 2011-03-19 Eli Zaretskii <eliz@gnu.org>
4413
4414 * emerge.el (emerge-metachars): Separate value for ms-dos and
4415 windows-nt systems.
4416 (emerge-protect-metachars): Quote correctly for ms-dos and
4417 windows-nt systems.
4418
4419 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
4420
4421 * info.el (info-initialize): Replace all uses of `:' with
4422 path-separator for compatibility with non-Unix systems.
4423 Cache quoting of path-separator. (Bug#8258)
4424
4425 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
4426
4427 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
4428 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
4429 (mouse-avoidance-mode): Fix typos in docstrings.
4430
4431 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
4432
4433 * startup.el (package-subdirectory-regexp): Move from package.el.
4434 Omit \\` and \\', and let callers add them.
4435
4436 * emacs-lisp/package.el (package-strip-version)
4437 (package-load-all-descriptors): Add \\` and \\' to
4438 package-subdirectory-regexp before using it.
4439 (package-untar-buffer): New arg DIR; ensure that file untars only
4440 into this expected directory. Remove superfluous delete-region.
4441 (package-unpack): Caller changed.
4442 (package-tar-file-info): Use package-subdirectory-regexp.
4443
4444 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
4447 diff-mode-shared-map (bug#8284).
4448 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
4449
4450 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4451
4452 * calendar/time-date.el (format-seconds): Use assoc instead of
4453 assoc-string, since assoc-string doesn't exist in XEmacs.
4454
4455 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
4456
4457 * custom.el (custom-known-themes): Reflow docstring.
4458 (custom-theme-load-path): Fix typo in docstring.
4459 (load-theme): Fix typo in error message.
4460 (custom-available-themes, custom-variable-theme-value):
4461 Use `let', not `let*'.
4462
4463 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
4464
4465 * calc/README: Mention inclusion of musical notes.
4466
4467 * calc/calc-units.el (calc-lu-quant): Rename from
4468 `calc-logunits-quantity'.
4469 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
4470 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
4471 (calc-db): Rename from `calc-dblevel'.
4472 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
4473 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
4474 (calc-np): Rename from `calc-nplevel'.
4475 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
4476 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
4477 (calc-lu-plus): Rename from `calc-logunits-add'.
4478 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
4479 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
4480 (calc-lu-minus): Rename from `calc-logunits-sub'.
4481 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
4482 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
4483 (calc-lu-times): Rename from `calc-logunits-mul'.
4484 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
4485 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
4486 (calc-lu-divide): Rename from `calc-logunits-div'.
4487 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
4488 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
4489
4490 * calc/calc-ext.el (calc-init-extensions): Update the names of the
4491 functions being autoloaded.
4492
4493 * calc/calc.el (calc-lu-power-reference): Rename from
4494 `calc-logunits-power-reference'.
4495 (calc-lu-field-reference): Rename from
4496 `calc-logunits-field-reference'.
4497
4498 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
4499
4500 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * minibuffer.el (completion-all-sorted-completions):
4503 Use :completion-cycle-penalty text property if present.
4504
4505 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
4506
4507 * allout.el (allout-yank-processing): Adjust for new rebulleting
4508 regime so bullet being yanked is used without prompting the user
4509 for a choice.
4510
4511 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
4512
4513 * startup.el (command-line): Warn the user that _emacs is deprecated.
4514
4515 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
4516
4517 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
4518 (delphi-verbose, delphi-comment-face, delphi-string-face)
4519 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
4520 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
4521 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
4522 (delphi-new-comment-line, delphi-font-lock-defaults)
4523 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
4524 Fix typos in docstrings.
4525
4526 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
4527
4528 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
4529 Invert the roles of character and string values for INSTEAD, so a
4530 string is used for the more common case of a defaulting prompt.
4531
4532 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4533
4534 * progmodes/ruby-mode.el (ruby-backward-sexp):
4535 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
4536 * play/gamegrid.el (gamegrid-make-face):
4537 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
4538 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
4539 * notifications.el (notifications-notify):
4540 * net/xesam.el (xesam-search-engines):
4541 * net/quickurl.el (quickurl-list-insert):
4542 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
4543
4544 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
4545
4546 * startup.el (command-line): Update package subdirectory regexp.
4547
4548 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4549
4550 * allout.el (allout-abbreviate-flattened-numbering)
4551 (allout-mode-deactivate-hook): Fix up obsolescence "date".
4552
4553 * subr.el (read-char-choice): Only show the cursor after the prompt,
4554 not after the answer.
4555
4556 2011-03-15 Kevin Ryde <user42@zip.com.au>
4557
4558 * help-fns.el (variable-at-point): Skip leading quotes, if any
4559 (bug#8253).
4560
4561 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4562
4563 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
4564 warning message.
4565
4566 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
4567
4568 * shell.el (shell): When called interactively, offer to change the
4569 shell file name on remote hosts.
4570
4571 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
4572
4573 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
4574 integration for LDAP parameters. The host, base, user or binddn,
4575 and secret tokens can be specified in a netrc file, for instance.
4576 This is optional because an `auth-source' parameter must be
4577 specified in the search attributes.
4578
4579 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
4580
4581 * help.el (describe-mode): Link to the mode's definition (bug#8185).
4582
4583 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
4586 into declaration. Remove redundant and harmful binding.
4587
4588 2011-03-12 Eli Zaretskii <eliz@gnu.org>
4589
4590 * files.el (file-ownership-preserved-p): Pass `integer' as an
4591 explicit 2nd argument to `file-attributes'. If the file's owner
4592 is the Administrators group on Windows, and the current user is
4593 Administrator, consider that a match.
4594
4595 * server.el (server-ensure-safe-dir): Consider server directory
4596 safe on MS-Windows if its owner is the Administrators group while
4597 the current Emacs user is Administrator. Use `=' to compare
4598 numerical UIDs, since they could be integers or floats.
4599
4600 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
4601
4602 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
4603
4604 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
4605
4606 Sync with Tramp 2.2.1.
4607
4608 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
4609
4610 * net/trampver.el: Update release number.
4611
4612 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4613
4614 * progmodes/compile.el (compilation--previous-directory): Fix up
4615 various nil/dead-marker mismatches (bug#8014).
4616 (compilation-directory-properties, compilation-error-properties):
4617 Don't call it at a position past the one we're about to change.
4618
4619 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
4620 Disable obsolescence warnings in the file that declares it.
4621
4622 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
4623
4624 * allout-widgets.el (allout-widgets-tally):
4625 Initialize allout-widgets-tally as a hash table rather than nil to
4626 prevent mode-line redisplay warnings. Also, clarify the module
4627 description and fix a comment typo.
4628
4629 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
4630
4631 * help-fns.el (describe-variable): Don't complete keywords.
4632 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
4633
4634 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
4635
4636 * emacs-lisp/package.el (package-version-join): Impose a standard
4637 string representation for pre/alpha/beta version lists.
4638 (package-unpack-single): Standardize the directory name by passing
4639 it through package-version-join.
4640 (package-strip-rcs-id): Accept any version string that does not
4641 signal an error in version-to-list.
4642
4643 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
4644
4645 * simple.el (delete-trailing-whitespace): Return nil for the
4646 benefit of `write-file-functions'.
4647
4648 2011-03-10 Glenn Morris <rgm@gnu.org>
4649
4650 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
4651
4652 * vc/vc-git.el (vc-git-program): New option.
4653 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
4654 (vc-git--call): Use it.
4655
4656 * eshell/esh-util.el (eshell-condition-case): Doc fix.
4657
4658 * cus-edit.el (Custom-newline): If no button at point, look
4659 for a subgroup button at start-of-line. (Bug#2298)
4660
4661 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
4662
4663 2011-03-10 Julien Danjou <julien@danjou.info>
4664
4665 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
4666 `cursor-type' is nil.
4667
4668 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
4669
4670 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
4671
4672 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
4673
4674 * allout.el Summary: Change so yank of distinctive-bullet items
4675 preserves the existing header prefix, rebulleting it if necessary,
4676 rather than replacing it. This is necessary for proper operation
4677 of cooperative addons like allout-widgets.
4678 (allout-make-topic-prefix, allout-rebullet-heading): Change
4679 SOLICIT arg to INSTEAD, and interpret additionally a string value
4680 as alternate bullet to be used, instead of prompting the user for
4681 a bullet character.
4682
4683 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
4684
4685 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4686 Do not use `tramp-file-name-port', because this returns also
4687 `tramp-default-port'.
4688
4689 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4690
4691 * net/rcirc.el (rcirc-handler-001): Remove useless
4692 with-rcirc-process-buffer.
4693 (rcirc-check-auth-status): Swap arguments to string-match.
4694
4695 2011-03-09 Glenn Morris <rgm@gnu.org>
4696
4697 * shell.el (shell-mode):
4698 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
4699
4700 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
4701 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
4702
4703 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
4704
4705 * emacs-lisp/package.el (package-refresh-contents)
4706 (package-menu-execute): Use condition-case-no-debug.
4707
4708 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
4709
4710 * simple.el (shell-command-to-string): Use `process-file'.
4711
4712 * emacs-lisp/package.el (package-tar-file-info): Handle also
4713 remote files.
4714
4715 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4716 Use `equal' for upload base check.
4717
4718 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
4719
4720 * textmodes/texinfo.el (texinfo-environments):
4721 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
4722
4723 2011-03-08 Glenn Morris <rgm@gnu.org>
4724
4725 * cus-start.el (cursor-in-non-selected-windows):
4726 Fix :set quoting oddness. (Bug#8192)
4727
4728 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
4729 in some setf expressions. (Bug#2159)
4730
4731 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
4732
4733 * custom.el (custom-available-themes): Return themes in
4734 alphabetical order.
4735
4736 See ChangeLog.15 for earlier changes.
4737
4738 ;; Local Variables:
4739 ;; coding: utf-8
4740 ;; End:
4741
4742 Copyright (C) 2011 Free Software Foundation, Inc.
4743
4744 This file is part of GNU Emacs.
4745
4746 GNU Emacs is free software: you can redistribute it and/or modify
4747 it under the terms of the GNU General Public License as published by
4748 the Free Software Foundation, either version 3 of the License, or
4749 (at your option) any later version.
4750
4751 GNU Emacs is distributed in the hope that it will be useful,
4752 but WITHOUT ANY WARRANTY; without even the implied warranty of
4753 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4754 GNU General Public License for more details.
4755
4756 You should have received a copy of the GNU General Public License
4757 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.