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