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