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