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