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