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