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