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