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