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