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