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