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