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