Prefer the ~/.authinfo file over the ~/.authinfo.gpg file, especially when saving.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4ea31e07
LMI
12011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * net/network-stream.el (network-stream-open-starttls): Provide
4 support for client certificates both for external and built-in
5 STARTTLS.
6 (auth-source): Require.
7 (open-network-stream): Document the :client-certificate keyword.
8
065ec2c7
MA
92011-06-21 Michael Albinus <michael.albinus@gmx.de>
10
11 * net/tramp-cache.el (top): Don't load the persistency file when
12 "emacs -Q" has been called.
13
cd93b359
DR
142011-06-21 Tim Harper <timcharper@gmail.com>
15
16 * term/ns-win.el (ns-initialize-window-system): set
17 application-specific `ApplePressAndHoldEnabled' system
18 resource to NO as it is not yet supported by the NS port.
19
ae9c0411
JB
202011-06-21 Juanma Barranquero <lekktu@gmail.com>
21
22 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23 (list-dynamic-libraries): ...not here.
24
7f3f739f
LL
252011-06-21 Leo Liu <sdl.web@gmail.com>
26
27 * subr.el (sha1): Implement sha1 using secure-hash.
28
327c8fb1
MR
292011-06-21 Martin Rudalics <rudalics@gmx.at>
30
31 * window.el (display-buffer-alist): In default value do not
32 enforce searching a window on any but the selected frame.
33 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
34 (display-buffer-select-window): Remove function.
35 (display-buffer-in-window): When a window on another frame gets
36 reused, do not select it any more but just raise its frame if
37 necessary (Bug#8851) and (Bug#8856).
38 (display-buffer-normalize-options): Handle pop-up-frames related
39 options more faithfully.
40 (pop-to-buffer): Don't rely on `display-buffer' selecting the
41 window if it is on another frame.
9e9de014
MR
42 (display-buffer-alist, display-buffer-default-specifiers): Don't
43 make new frame unsplittable by default.
44 (display-buffer-normalize-argument): Fix doc-string typo and use
45 'same-frame-other-window instead of 'other-window when associating
46 with display-buffer-macro-specifiers.
327c8fb1 47
7cf3f556
VB
482011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
49
50 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
51 New functions.
52 (5x5-mode-map, 5x5-mode-menu): Bind them.
53 (5x5-draw-grid): Tweak the solver's rendering.
54
60a406cf
SM
552011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
58 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
59
5d907d6c
DA
602011-06-21 Drew Adams <drew.adams@oracle.com>
61
62 * menu-bar.el: Use function variable instead of switch-to-buffer.
63 (menu-bar-select-buffer-function): New variable.
60a406cf 64 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 65
478d6f95
SM
662011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
69 variable's status.
70
ca530739
JD
712011-06-20 Jan Djärv <jan.h.d@swipnet.se>
72
73 * x-dnd.el (x-dnd-version-from-flags)
74 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
75 and long as number (Bug#8899).
76 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
77
bcd70d97
SM
782011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
79
60a406cf 80 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
81 (completion-try-completion, completion-all-completions): Compute the
82 metadata argument if it's missing; make it optional (bug#8795).
83
60a406cf 84 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
85 (widget-complete): Use new :completion-function property.
86 (widget-completions-at-point): New function.
87 (default): Use :completion-function instead of :complete.
60a406cf
SM
88 (widget-default-completions): Rename from widget-default-complete;
89 Rewrite.
bcd70d97
SM
90 (widget-string-complete, widget-file-complete, widget-color-complete):
91 Remove functions.
92 (file, symbol, function, variable, coding-system, color):
93 * international/mule-cmds.el (default-input-method, charset)
94 (language-info-custom-alist):
95 * cus-edit.el (face): Use new property :completions.
96
97 * progmodes/pascal.el (pascal-completions-at-point): New function.
98 (pascal-mode): Use it.
99 (pascal-mode-map): Use completion-at-point.
100 (pascal-toggle-completions): Make obsolete.
101 (pascal-complete-word, pascal-show-completions):
102 * progmodes/octave-mod.el (octave-complete-symbol):
103 Redefine as obsolete alias.
104 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
105 Signal absence of completion info for old Octave,
106 (inferior-octave-complete): Redefine as obsolete alias.
107 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
108 (meta-completions-at-point): Rename from meta-complete-symbol and
109 adapt it for use on completion-at-point-functions.
110 (meta-common-mode): Use it.
111 (meta-looking-at-backward, meta-match-buffer): Remove.
112 (meta-complete-symbol): Redefine as obsolete alias.
113 (meta-common-mode-map): Use completion-at-point.
114 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
115 (makefile-mode-map): Use completion-at-point.
116 (makefile-completions-at-point): Rename from makefile-complete and
117 adapt it for use on completion-at-point-functions.
118 (makefile-mode): Use it.
119 (makefile-complete): Redefine as obsolete alias.
120
aebf69c8
DD
1212011-06-20 Deniz Dogan <deniz@dogan.se>
122
123 * net/rcirc.el: Delete trailing whitespaces once and for all.
124
bfbbb27d
DC
1252011-06-20 Daniel Colascione <dan.colascione@gmail.com>
126
127 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
128
d264a46b
CY
1292011-06-19 Chong Yidong <cyd@stupidchicken.com>
130
4ca009e5
CY
131 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
132
d264a46b
CY
133 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
134
fbf5b3ce
MR
1352011-06-19 Martin Rudalics <rudalics@gmx.at>
136
137 * window.el (display-buffer-other-window-means-other-frame):
138 Call display-buffer-normalize-alist.
139 (display-buffer-normalize-specifiers-1): Rename to
140 display-buffer-normalize-argument. New argument other-frame.
141 Rewrite.
142 (display-buffer-normalize-specifiers-2): Rename to
143 display-buffer-normalize-options.
144 (display-buffer-normalize-alist-1): New function.
145 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
146 display-buffer-normalize-alist.
147 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
148 (display-buffer-normalize-options-inhibit): New variable.
149 (display-buffer-normalize-specifiers): Rewrite calling
150 display-buffer-normalize-alist,
151 display-buffer-normalize-argument, and
152 display-buffer-normalize-options. Don't call the latter if
153 display-buffer-normalize-options-inhibit is non-nil.
154 (frame-auto-delete): New option.
155 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
156 (window-list-no-nils, window-state-ignored-parameters)
157 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
158 (window-state-put-1, window-state-put-2, window-state-put):
159 New functions.
9a028c23
MR
160 (display-buffer-normalize-options): Move special-display-p group
161 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 162
6d10d800
CY
1632011-06-18 Chong Yidong <cyd@stupidchicken.com>
164
6420d28b
CY
165 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
166 groups (Bug#8776).
167 (rx-submatch-n): New function.
168 (rx): Document it.
169
ddb8b596
CY
170 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
171 (Bug#8768).
172
173 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
174
77080289
CY
175 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
176
61dfb316
CY
177 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
178 anytime existing face settings are present (Bug#8889).
179
6d10d800
CY
180 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
181 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
182 Remove unused argument.
183
be3fb2b8
MR
1842011-06-18 Martin Rudalics <rudalics@gmx.at>
185
bcd70d97
SM
186 * window.el (display-buffer-default-specifiers):
187 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
188 pop-up-window-min-width, and another reuse-window specifier
189 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
190 (display-buffer-normalize-specifiers-2):
191 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
192 pop-up-windows is unset. Add a reuse-window specifier for the
193 case popping up a new window fails.
194 (special-display-popup-frame): Remove double quoting.
28dec25a 195 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 196
1c6d8c76
SM
1972011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 * shell.el (shell-completion-vars): Set pcomplete-termination-string
200 according to comint-completion-addsuffix.
201
202 * pcomplete.el: Convert to lexical binding and fix bug#8819.
203 (pcomplete-suffix-list): Mark as obsolete.
204 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
205 pcomplete-seen in the closure.
206 (pcomplete-comint-setup): Setup completion-at-point as well.
207 (pcomplete--entries): New function.
208 (pcomplete--env-regexp): New var.
209 (pcomplete-entries): Rewrite to work with partial-completion and
210 without relying on pcomplete-suffix-list.
211 (pcomplete-pare-list): Remove, unused.
212
25aef8b8
MR
2132011-06-17 Martin Rudalics <rudalics@gmx.at>
214
215 * window.el (display-buffer-alist): Set pop-up-window-min-height
216 and pop-up-window-min-width in default value. Reported by
217 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
218 other-window-means-other-frame.
219 (display-buffer-macro-specifiers): Comment out entry for
220 other-window specifier.
221 (display-buffer-other-window-means-other-frame): New function.
222 (display-buffer-normalize-specifiers-1): New arguments
223 buffer-name and label. Treat other-window case specially.
224 (display-buffer-normalize-specifiers-2): Treat other-window case
225 specially.
226 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
227 (display-buffer-normalize-specifiers):
228 Call display-buffer-normalize-specifiers-3.
25aef8b8 229
dbad4f69
MR
2302011-06-17 Martin Rudalics <rudalics@gmx.at>
231
232 * window.el (same-window-p): Fix two typos introduced when
233 adding with-no-warnings.
d1067961
MR
234 (display-buffer-normalize-specifiers-1): Don't check
235 pop-up-frames for 'unset initialization.
236 (display-buffer-normalize-specifiers-2): Major rewrite using
237 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
238 (pop-up-frames, display-buffer-reuse-frames)
239 (display-buffer-mark-dedicated): Don't initialize to 'unset.
240 Suggested by David Engster <deng@randomsample.de>.
241 (even-window-heights): Initialize to 'unset.
242 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
243 (display-buffer-macro-specifiers): Don't pop up a new frame in the
244 other window case.
dbad4f69 245
9b9c9e3a
MR
2462011-06-16 Martin Rudalics <rudalics@gmx.at>
247
bcd70d97
SM
248 * window.el (display-buffer-normalize-specifiers-1):
249 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 250 second argument of display-buffer (Bug#8865).
981d5c09
MR
251 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
252 (switch-to-buffer-other-window-same-frame)
253 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
254 Adams (Bug#8875).
9c2755e9
MR
255 (display-buffer): Don't check noninteractive when calling
256 display-buffer-pop-up-frame.
257 (display-buffer-pop-up-frame): Never pop up a frame in
258 noninteractive mode (Bug#8857).
67222e1d
MR
259 (enlarge-window, shrink-window): Don't report an error when the
260 window can't be resized as requested (Bug#8862).
9b9c9e3a 261
2b75be67
SM
2622011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
263
9ffdd3ba
SM
264 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
265
cb581a67
SM
266 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
267
2b75be67
SM
268 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
269
8c0e3589
AM
2702011-06-15 Alan Mackenzie <acm@muc.de>
271
cb581a67
SM
272 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
273 for declarators, disable knr checking to speed up for normal files.
274 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 275
b96e6cde
LMI
2762011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
277
4bba86e6
LMI
278 * net/network-stream.el (open-network-stream): Add the keyword
279 :always-query-capabilities for the case where you want to force a
280 `plain' network connection, but the protocol still requires the
281 capabilitiy command (i.e., SMTP and EHLO).
282
2b75be67 283 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
284 consistency with other `-live-p' functions.
285
efdcdbf8
SM
2862011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
287
288 * window.el (same-window-buffer-names, same-window-regexps)
289 (special-display-frame-alist, special-display-popup-frame)
290 (special-display-function, special-display-buffer-names)
291 (special-display-regexps, pop-up-frame-alist)
292 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
293 (pop-up-windows, split-window-preferred-function)
294 (split-height-threshold, split-width-threshold, even-window-heights)
295 (display-buffer-mark-dedicated): Don't encourage the use of
296 display-buffer-alist from Elisp code.
297
c5cde042
DN
2982011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
299
300 * progmodes/python.el (python-mode): Derive from prog-mode.
301 * progmodes/ps-mode.el (ps-mode):
302 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 303 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
304 * progmodes/ld-script.el (ld-script-mode): Likewise.
305
baa1c9ab
MR
3062011-06-15 Martin Rudalics <rudalics@gmx.at>
307
308 * window.el (display-buffer-alist): Trim default value to avoid
309 popping up a new frame (Bug#8857) or reusing an arbitrary window
310 on another frame.
311 (display-buffer): Do not fall back on popping up a new frame in
312 batch mode (Bug#8857).
313
c5dd5a51
CY
3142011-06-14 Chong Yidong <cyd@stupidchicken.com>
315
316 * cus-theme.el (describe-theme-1): Use custom-theme-p.
317 (custom-theme-summary): New function.
318 (customize-themes): Use it.
319
d647b7c4
GM
3202011-06-13 Glenn Morris <rgm@gnu.org>
321
322 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
323
9481c002
MR
3242011-06-13 Martin Rudalics <rudalics@gmx.at>
325
357f93d2
MR
326 * help.el (help-window): Remove variable.
327 (help-window-point-marker, temp-buffer-max-height)
328 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
329 (help-print-return-message): Don't set help-window.
330 (resize-temp-buffer-window): Rewrite cod eand doc-string.
331 (help-window-setup-finish): Remove.
332 (help-window-display-message, help-window-setup)
333 (with-help-window): Major rewrite based on new
334 display-buffer-window variable.
335
336 * help-mode.el (help-mode-finish): Remove help-window related
337 code.
338
339 * view.el (view-exits-all-viewing-windows): Remove reference to
340 view-return-to-alist in doc-string.
341 (view-return-to-alist): Make obsolete.
342 (view-buffer): Call pop-to-buffer-same-window and remove
343 undo-window code.
344 (view-buffer-other-window): Call pop-to-buffer-other-window and
345 simplify code. Ignore second argument.
346 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
347 simplify code. Ignore second argument.
348 (view-return-to-alist-update): Make obsolete.
349 (view-mode-enter): Rename second argument to QUIT-RESTORE.
350 Rewrite using quit-restore window parameters.
2b75be67
SM
351 (view-mode-exit): Rename second argument to EXIT-ONLY.
352 Rewrite using quit-restore-window.
357f93d2
MR
353 (View-exit, View-exit-and-edit, View-leave, View-quit)
354 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
355 appropriate arguments.
356 (view-end-message): Use quit-restore window parameter.
357
9481c002
MR
358 * window.el (display-buffer-function): Rewrite doc-string.
359 (display-buffer-window, display-buffer-alist): New variables.
360 (display-buffer-split-specifiers)
361 (display-buffer-side-specifiers)
362 (display-buffer-macro-specifiers): New constants.
363 (display-buffer-even-window-sizes, display-buffer-set-height)
364 (display-buffer-set-width, display-buffer-select-window)
365 (display-buffer-in-window, display-buffer-reuse-window)
366 (display-buffer-split-window-1, display-buffer-split-window)
367 (display-buffer-split-atom-window, display-buffer-pop-up-window)
368 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
369 (display-buffer-in-side-window, normalize-buffer-to-display)
370 (display-buffer-normalize-specifiers-1)
371 (display-buffer-normalize-specifiers-2)
2b75be67
SM
372 (display-buffer-normalize-specifiers, display-buffer-frame):
373 New functions.
9481c002
MR
374 (display-buffer): Major rewrite.
375 (display-buffer-other-window, display-buffer-other-frame)
376 (pop-to-buffer, switch-to-buffer-other-window)
377 (switch-to-buffer-other-frame): Rewrite.
378 (display-buffer-same-window, display-buffer-same-frame)
379 (display-buffer-same-frame-other-window)
380 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
381 (pop-to-buffer-other-window)
382 (pop-to-buffer-same-frame-other-window)
383 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
384 (switch-to-buffer-other-window-same-frame): New functions.
385 (same-window-p, special-display-p): Rewrite disabling warnings.
386 Make obsolete.
387 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
388 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
389 Make obsolete
390 (same-window-buffer-names, same-window-regexps)
391 (special-display-frame-alist, special-display-popup-frame)
392 (special-display-function, special-display-buffer-names)
393 (special-display-regexps, pop-up-frame-alist)
394 (pop-up-frame-function, split-window-preferred-function)
395 (split-height-threshold, split-width-threshold)
396 (even-window-heights): Make obsolete.
397
9db51aca
GM
3982011-06-12 Glenn Morris <rgm@gnu.org>
399
400 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 401 Misc simplifications.
9db51aca 402
39cffb44
MR
4032011-06-12 Martin Rudalics <rudalics@gmx.at>
404
405 * window.el (window-safely-shrinkable-p): Restore function which
406 was inadvertently removed in change from 2011-06-11. Declare as
407 obsolete.
408
2b75be67
SM
409 * calendar/calendar.el (calendar-generate-window):
410 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
411 window-safely-shrinkable-p.
412
a8955be7
GM
4132011-06-12 Glenn Morris <rgm@gnu.org>
414
415 * progmodes/fortran.el (fortran-mode-syntax-table):
416 * progmodes/f90.el (f90-mode-syntax-table):
417 Set % to punctuation. (Bug#8820)
418 (f90-find-tag-default): Remove, no longer needed.
419
f0d4059d
DC
4202011-06-12 Daniel Colascione <dan.colascione@gmail.com>
421
422 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
423
1100a63c
CY
4242011-06-11 Chong Yidong <cyd@stupidchicken.com>
425
426 * image.el (image-animated-p): Return animation delay in seconds.
427 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
428 (image-animate-timeout): Remove DELAY argument. Don't assume
429 every subimage has the same delay; get it from image-animated-p.
430 (image-animate): Caller changed.
431
def722bf
MA
4322011-06-11 Michael Albinus <michael.albinus@gmx.de>
433
434 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
435 to ignored backtrace functions.
436
0a2bb1a9
GM
4372011-06-11 Glenn Morris <rgm@gnu.org>
438
439 * calendar/appt.el (appt-disp-window-function): Doc fix.
440 (appt-check): Handle overlapping appointments. (Bug#8337)
441
6198ccd0
MR
4422011-06-11 Martin Rudalics <rudalics@gmx.at>
443
444 * window.el (window-tree-1, window-tree): New functions, moving
445 the latter to window.el.
446 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
447 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
448 (bw-refresh-edges): Remove.
449 (balance-windows-1, balance-windows-2): New functions.
450 (balance-windows): Rewrite in terms of window tree functions,
451 balance-windows-1 and balance-windows-2.
452 (bw-adjust-window): Remove.
453 (balance-windows-area-adjust): New function with functionality of
454 bw-adjust-window but using resize-window.
2b75be67
SM
455 (set-window-text-height): Rewrite doc-string.
456 Use normalize-live-window and resize-window.
457 (enlarge-window-horizontally, shrink-window-horizontally):
458 Rename argument to DELTA.
6198ccd0
MR
459 (window-buffer-height): New function.
460 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
461 Rewrite using new window resize routines.
2b75be67
SM
462 (kill-buffer-and-window, mouse-autoselect-window-select):
463 Use ignore-errors instead of condition-case.
6198ccd0
MR
464 (quit-window): Call delete-frame instead of delete-windows-on
465 for the only buffer on frame.
466
9397e56f
MR
4672011-06-10 Martin Rudalics <rudalics@gmx.at>
468
469 * loadup.el (top-level): Load window before files for the sake
470 of replace-buffer-in-windows.
471
472 * files.el (read-buffer-to-switch)
473 (switch-to-buffer-other-window)
2b75be67
SM
474 (switch-to-buffer-other-frame, display-buffer-other-frame):
475 Move to window.el.
9397e56f
MR
476
477 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
478 (previous-buffer): Move to window.el.
479
480 * bindings.el (unbury-buffer): Move to window.el.
481
482 * window.el (delete-other-windows-vertically): Move after
483 definition of delete-other-windows.
484 (other-window, delete-windows-on, replace-buffer-in-windows):
485 Move here from window.c.
486 (record-window-buffer, unrecord-window-buffer)
487 (set-window-buffer-start-and-point, switch-to-prev-buffer)
488 (switch-to-next-buffer): New functions.
489 (get-next-valid-buffer, last-buffer, next-buffer): Move here
490 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
491 (previous-buffer): Move here from simple.el.
492 Call switch-to-prev-buffer.
9397e56f
MR
493 (bury-buffer): Move here from buffer.c. Switch to previous
494 buffer when window cannot be deleted.
495 (unbury-buffer): Move here from bindings.el.
496 (ctl-x-map): Move binding for other-window from window.c to
497 here.
498 (read-buffer-to-switch, switch-to-buffer-other-window)
499 (switch-to-buffer-other-frame): Move here from files.el.
500 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
501 (switch-to-buffer): Move here from buffer.c.
502 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 503
562dd5e9
MR
5042011-06-10 Martin Rudalics <rudalics@gmx.at>
505
506 * window.el (window-min-height, window-min-width): Move here
507 from window.c. Add defcustoms and rewrite doc-strings.
508 (resize-mini-window, resize-window): New functions.
509 (adjust-window-trailing-edge, enlarge-window, shrink-window):
510 Move here from window.c.
511 (maximize-window, minimize-window): New functions.
512 (delete-window, delete-other-windows, split-window): Move here
513 from window.c.
514 (window-split-min-size): New function.
515 (split-window-keep-point): Mention split-window-above-each-other
516 instead of split-window-vertically.
2b75be67
SM
517 (split-window-above-each-other, split-window-vertically):
518 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
519 provide defalias for old definition.
520 (split-window-side-by-side, split-window-horizontally): Rename
521 split-window-horizontally to split-window-side-by-side and provide
522 defalias for the old definition.
523 (ctl-x-map): Move bindings for delete-window,
524 delete-other-windows and enlarge-window here from window.c.
525 Replace bindings for split-window-vertically and
526 split-window-horizontally by bindings for
527 split-window-above-each-other and split-window-side-by-side.
528
529 * cus-start.el (all): Remove entries for window-min-height and
530 window-min-width. Add entries for window-splits and
531 window-nest.
532
f0da764a
GM
5332011-06-09 Glenn Morris <rgm@gnu.org>
534
80675c21
GM
535 * calendar/appt.el (appt-mode-line): New function.
536 (appt-check, appt-disp-window): Use it.
537
f0da764a
GM
538 * files.el (hack-one-local-variable-eval-safep):
539 Allow minor-modes with explicit +/-1 arguments.
540
59f623b7
TZ
5412011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
542
543 * term/xterm.el (xterm): Add defgroup.
544 (xterm-extra-capabilities): Add defcustom to supply known xterm
545 capabilities, skip querying them, or query them (default).
546 (terminal-init-xterm): Use it.
547 (terminal-init-xterm-modify-other-keys): New function to set up
548 modifyOtherKeys support to simplify `terminal-init-xterm'.
549
9aab8e0d
MR
5502011-06-09 Martin Rudalics <rudalics@gmx.at>
551
552 * window.el (resize-window-reset, resize-window-reset-1)
553 (resize-subwindows-skip-p, resize-subwindows-normal)
554 (resize-subwindows, resize-other-windows, resize-this-window)
555 (resize-root-window, resize-root-window-vertically)
556 (window-deletable-p, window-or-subwindow-p)
557 (frame-root-window-p): New functions.
558
e8b08aee
GM
5592011-06-09 Glenn Morris <rgm@gnu.org>
560
561 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
562 (ange-ftp-get-files): Use it.
563
254c37a5
AK
5642011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
565
566 * mail/sendmail.el (mail-recover-1, mail-recover):
567 * files.el (recover-file, recover-session):
568 Handle dired-listing-switches not being just a single short option.
569
35d7dbd3
GM
5702011-06-09 Glenn Morris <rgm@gnu.org>
571
572 * calendar/appt.el (appt-display-message, appt-disp-window):
573 Handle lists of appointments.
574
387522b2
MR
5752011-06-08 Martin Rudalics <rudalics@gmx.at>
576
2b75be67
SM
577 * window.el (one-window-p): Move down in code.
578 Rewrite doc-string.
579 (window-current-scroll-bars): Rewrite doc-string.
580 Normalize live window argument.
387522b2
MR
581 (walk-windows, get-window-with-predicate, count-windows):
582 Rewrite doc-string. Use window-list-1.
583 (window-in-direction-2, window-in-direction, get-mru-window):
584 New functions.
585
2c587104
GM
5862011-06-08 Reuben Thomas <rrt@sc3d.org>
587
588 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
589 Doc fix (Bug#8713).
590
5912011-06-08 Chong Yidong <cyd@stupidchicken.com>
592
593 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
594
5952011-06-08 Juanma Barranquero <lekktu@gmail.com>
596
597 * loadhist.el (unload-feature-special-hooks):
598 Add `comint-output-filter-functions'.
599
0de12c52
IK
6002011-06-08 Ivan Kanis <gnu@kanis.fr>
601
602 * calendar/appt.el (appt-check): Move some initializations into the let.
603
f3d1777e
MR
6042011-06-08 Martin Rudalics <rudalics@gmx.at>
605
606 * window.el (window-height): Defalias to window-total-height.
607 (window-width): Defalias to window-body-width.
608
18af70d0
CY
6092011-06-07 Chong Yidong <cyd@stupidchicken.com>
610
611 * image-mode.el (image-toggle-animation): New command.
612 (image-mode-map): Bind it to RET.
613 (image-mode): Update message.
614 (image-toggle-display-image): Avoid a spurious cache flush.
615 (image-transform-rotation): Doc fix.
616 (image-transform-properties): Return quickly in the normal case.
617 (image-animate-loop): Rename from image-animate-max-time.
618
2b75be67 619 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
620 (create-animated-image): Remove unnecessary function.
621 (image-animate): Rename from image-animate-start. New arg.
2b75be67 622 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
623 (image-animate-timer): Use car-safe.
624 (image-animate-timeout): Rename argument.
625
190b47e6
MR
6262011-06-07 Martin Rudalics <rudalics@gmx.at>
627
628 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
629 window.c. Rename first argument to ALL-FRAMES.
630 Rephrase doc-strings.
631 (get-buffer-window-list): Rewrite using window-list-1.
632 Rephrase doc-string.
a1511caf
MR
633 (window-safe-min-height, window-safe-min-width): New constants.
634 (window-size-ignore, window-min-size, window-min-size-1)
635 (window-sizable, window-sizable-p, window-size-fixed-1)
636 (window-size-fixed-p, window-min-delta-1, window-min-delta)
637 (window-max-delta-1, window-max-delta, window-resizable)
638 (window-resizable-p, window-total-height, window-total-width)
639 (window-body-width): New functions.
640 (window-full-height-p, window-full-width-p): Rewrite using
641 window-total-size.
642 (window-body-height): Rewrite using window-body-size.
190b47e6 643
85cc1f11
MR
6442011-06-06 Martin Rudalics <rudalics@gmx.at>
645
646 * window.el (window-right, window-left, window-child)
647 (window-child-count, window-last-child, window-any-p)
648 (normalize-live-buffer, normalize-live-frame)
649 (normalize-any-window, normalize-live-window)
650 (window-iso-combination-p, window-iso-combined-p)
651 (window-iso-combinations)
652 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
653 (windows-with-parameter, window-with-parameter)
654 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
655 (window-atom-check, window-side-check, window-check):
656 New functions.
85cc1f11
MR
657 (ignore-window-parameters, window-sides, window-sides-vertical)
658 (window-sides-slots): New variables.
659 (window-size-fixed): Move down in code. Minor doc-string fix.
660
e7156492
AS
6612011-06-05 Andreas Schwab <schwab@linux-m68k.org>
662
663 * comint.el (comint-dynamic-complete-as-filename)
664 (comint-dynamic-complete-filename): Correctly call
665 completion-in-region.
666
7e821d0d
DD
6672011-06-05 Deniz Dogan <deniz@dogan.se>
668
669 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
670 in last change.
671
ac09b8a1
DD
6722011-06-05 Deniz Dogan <deniz@dogan.se>
673
674 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
675 (rcirc): Use it to prompt for encryption.
676
34699b85
RW
6772011-06-05 Roland Winkler <winkler@gnu.org>
678
679 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
680 (bibtex-search-entries): New command bound to C-c C-a.
681 (bibtex-display-entries): New function.
682
004dedd3
RW
6832011-06-05 Roland Winkler <winkler@gnu.org>
684
685 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
686 (bibtex-insert-kill): After yanking insert newline if necessary.
687 (bibtex-initialize): Call bibtex-string-files-init only once.
688 (bibtex-mode): Do not call easy-menu-add.
689 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
690 (bibtex-yank): Set arg properly if nil.
691
022fe7ce
RW
6922011-06-05 Roland Winkler <winkler@gnu.org>
693
2b75be67
SM
694 * textmodes/bibtex.el (bibtex-search-entry-globally):
695 New variable.
022fe7ce
RW
696 (bibtex-search-entry): Use it.
697
b7c3692a
RW
6982011-06-05 Roland Winkler <winkler@gnu.org>
699
700 * textmodes/bibtex.el (bibtex-entry-format): New option
701 sort-fields.
702 (bibtex-format-entry, bibtex-reformat): Honor this option.
703 (bibtex-parse-entry): Return fields in proper order.
704
8eda563d
JB
7052011-06-05 Juanma Barranquero <lekktu@gmail.com>
706
707 * doc-view.el (doc-view-remove-if): Move computation of result out
708 of `dolist' to silence misleading lexical-binding warning.
709
7dbe3dbc
CY
7102011-06-04 Chong Yidong <cyd@stupidchicken.com>
711
712 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
713 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
714
0c33dd17
MA
7152011-06-04 Michael Albinus <michael.albinus@gmx.de>
716
717 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
718 "SunOS 5.10".
719
f8f91c2b
MA
7202011-06-04 Michael Albinus <michael.albinus@gmx.de>
721
722 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
723 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
724 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
725 (tramp-parse-putty):
726 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
727 (tramp-completion-function-alist-ssh)
728 (tramp-completion-function-alist-telnet)
729 (tramp-completion-function-alist-su)
730 (tramp-completion-function-alist-putty): Set `tramp-autoload'
731 cookie.
732
733 * net/tramp-ftp.el:
734 * net/tramp-sh.el:
735 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
736 load "tramp.el" `tramp-set-completion-function'.
737
e17d9003
SM
7382011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
739
740 * shell.el: Require and use pcomplete.
741 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
742 (shell-completion-vars): Set pcomplete-default-completion-function.
743
6c4cab03
DD
7442011-06-04 Deniz Dogan <deniz@dogan.se>
745
746 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
747 `memq' (Bug#8799).
748
ea9fafe0
SM
7492011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
750
751 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
752
b3e945d3
JB
7532011-06-02 Juanma Barranquero <lekktu@gmail.com>
754
755 * bs.el (bs--mark-unmark, bs--nth-wrapper):
756 * mpc.el (mpc-select-extend, mpc-songpointer-context):
757 * vc/log-view.el (log-view-beginning-of-defun):
758 * vc/smerge-mode.el (smerge-apply-resolution-patch)
759 (smerge-refine-forward, smerge-refine-chopup-region):
760 Silence warning for unused `dotimes' counter variables.
761
7d520089
SM
7622011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
763
764 * net/tramp.el (tramp-with-progress-reporter): Rename from
765 with-progress-reporter. Use `declare'.
766 * net/tramp-smb.el:
767 * net/tramp-sh.el:
768 * net/tramp-gvfs.el: Update all uses.
769
a1c2400f
JB
7702011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
771
772 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
773 buffer isn't killed before making it current.
774
2403c841
SM
7752011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
776
777 Silence various byte-compiler warnings.
778 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
779 `access-type' and new obsolescence format.
780 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
781 new format.
782 (byte-compile-check-variable): New `access-type' argument.
783 Only warn if the access-type is obsolete.
784 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
785 (byte-compile-variable-set): Adjust callers.
786 * help-fns.el (describe-variable): Adjust to new obsolescence format.
787 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
788 setting it as obsolete.
789 * simple.el (minibuffer-completing-symbol):
790 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
791 access as obsolete.
792 * minibuffer.el (minibuffer-completing-file-name): Don't make it
793 obsolete yet.
794 * international/quail.el (quail-mouse-choose-completion): Remove unused
795 code referring to obsolete var.
796 (quail-choose-completion-string): Remove.
797 * server.el (server-clients-with, server-kill-buffer-query-function)
798 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
799 * proced.el (proced-send-signal):
800 * emacs-lisp/lisp.el (lisp-complete-symbol):
801 Replace completion-annotate-function with completion-extra-properties.
802
2462470b
SM
8032011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
804
fb5b2591
SM
805 * simple.el (goto-line): Use read-number.
806 (overriding-map-is-bound): Remove.
807 (saved-overriding-map): Change default.
808 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
809 Take the map as argument.
810 (universal-argument, negative-argument, digit-argument): Use it.
811 (restore-overriding-map): Adjust.
812 (do-auto-fill): Use fill-forward-paragraph.
813 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
814
fd6fa53f
SM
815 * minibuffer.el (minibuffer-inactive-mode-map): New var.
816 (minibuffer-inactive-mode): New major mode.
817 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
818 the *Messages* buffer" hack.
819 (mouse-popup-menubar): Don't burp if the event is a normal key.
820
2462470b
SM
821 Miscellaneous tweaks.
822 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
823 lexical scoping as in subr.el's dolist and dotimes.
824 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
825 Silence compiler warning.
826 * thingatpt.el (forward-whitespace): Trivial coding style fix.
827 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
828 * international/ccl.el (ccl-compile): Trivial simplification.
829 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
830 * emacs-lisp/testcover.el (testcover-end): Remove spurious
831 `printflag' argument.
832 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
833 Purecopy the whole obsolescence data.
834
108bf785
LL
8352011-06-01 Leo Liu <sdl.web@gmail.com>
836
837 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
838 improve doc-string as suggested by Marco Pessotto
839 <melmothx@gmail.com>.
840 (rcirc-print): Fix last change.
841
30a23501
SM
8422011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 * minibuffer.el (complete-with-action): Return nil for the metadata and
845 boundaries of non-functional tables.
846 (completion-table-dynamic): Return nil for the metadata.
847 (completion-table-with-terminator): Add default case, using
848 complete-with-action.
849 (completion--metadata): New function.
850 (completion-all-sorted-completions, minibuffer-completion-help): Use it
851 to try and avoid pathological performance problems.
852 (completion--embedded-envvar-table): Return `category' metadata.
853
bcd54f83
LMI
8542011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
855
856 * subr.el (process-alive-p): New tiny convenience function.
857
e227544d
SM
8582011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
861 content but also its previous major mode.
862
e8296fdc
HE
8632011-05-31 Helmut Eller <eller.helmut@gmail.com>
864
865 * debug.el (debug): Restore the previous content of the
866 *Backtrace* buffer when we exit with C-M-c.
867
620c53a6
SM
8682011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
869
870 * minibuffer.el: Add metadata method to completion tables.
871 (completion-category-overrides): New defcustom.
872 (completion-metadata, completion--field-metadata)
873 (completion-metadata-get, completion--styles)
874 (completion--cycle-threshold): New functions.
875 (completion-try-completion, completion-all-completions):
876 Add `metadata' argument to choose completion-styles.
877 (completion--do-completion): Use metadata to choose cycling.
878 (completion-all-sorted-completions): Use metadata for sorting.
879 Remove :completion-cycle-penalty which is not needed any more.
880 (completion--try-word-completion): Add `metadata' argument.
881 (minibuffer-completion-help): Check metadata for annotation function
882 and sorting.
883 (completion-file-name-table): Return `category' metadata.
884 (minibuffer-completing-file-name): Make obsolete.
885 * simple.el (minibuffer-completing-symbol): Make obsolete.
886 * icomplete.el (icomplete-completions): Pass new `metadata' param to
887 completion-try-completion.
888
1257e755
SM
8892011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
890
891 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
892
3767e706
LL
8932011-05-30 Leo Liu <sdl.web@gmail.com>
894
895 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
896 (rcirc-print): Decode all incoming messages (bug#8744).
897 (rcirc-decode-coding-system): Allow value nil for automatic coding
898 system detection.
3767e706 899
d1a5d56a
GM
9002011-06-01 Glenn Morris <rgm@gnu.org>
901
902 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
903
e8cbec34
CY
9042011-05-29 Chong Yidong <cyd@stupidchicken.com>
905
906 * image.el (image-animate-max-time): Allow nil and t values.
907 Default to nil.
908 (create-animated-image): Doc fix.
909 (image-animate-start): Remove second arg; just use
910 image-animate-max-time.
911 (image-animate-timeout): Doc fix. Args changed.
912
913 * image-mode.el (image-toggle-display-image): Ensure that the
914 image spec passed to the animate timer is the same object as in
915 the the buffer's display property (Bug#6981).
916 (image-transform-properties): Doc fix.
917
918 * image.el (image-animate-max-time): Default to nil.
919
159daf87
MR
9202011-05-29 Martin Rudalics <rudalics@gmx.at>
921
922 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
923 entire buffer list (Bug#8184).
924
d66c4c7c
CY
9252011-05-29 Chong Yidong <cyd@stupidchicken.com>
926
927 * image.el (imagemagick-types-inhibit)
928 (imagemagick-register-types): Doc fix.
929
80aec780
DD
9302011-05-29 Deniz Dogan <deniz@dogan.se>
931
932 * net/rcirc.el (rcirc): Use the user's stored encryption method by
933 default.
934
1dd3c2d9
CY
9352011-05-29 Chong Yidong <cyd@stupidchicken.com>
936
937 * select.el: Don't perform clipboard-manager saving in hooks;
938 leave the hooks empty.
939
60e56523
LL
9402011-05-28 Leo Liu <sdl.web@gmail.com>
941
942 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
943 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
944 (occur-edit-mode): New major mode (Bug#8463).
945 (occur-after-change-function): New function.
946 (occur-engine): Give Occur tags a read-only property.
947
2b1e1a22
KR
9482011-05-28 Kevin Ryde <user42@zip.com.au>
949
950 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
951
5d344e88
CY
9522011-05-28 Chong Yidong <cyd@stupidchicken.com>
953
8e6ca83d
CY
954 * bindings.el (help-echo): Make the initial non-indicator dash
955 empty on graphical terminals (Bug#7295).
956
5d344e88
CY
957 * files.el (auto-mode-alist): Move config rule after the
958 in-stripping one (Bug#8547).
959
bfbbace7
CY
960 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
961
fbeba6e2
CY
962 * startup.el (normal-splash-screen): Remove gratuitous mode-line
963 setting (Bug#8740).
964
60ed8c72
AA
9652011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
966
4ac619f0
AA
967 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
968 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
969 (Bug#8539).
60ed8c72 970
23db196e
CY
9712011-05-28 Chong Yidong <cyd@stupidchicken.com>
972
60ed8c72 973
23db196e
CY
974 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
975
5012f24c
DK
9762011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
977
978 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
979 (hs-hide-block-at-point, hs-find-block-beginning)
980 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
981 (Bug#8279).
982
6a639b16
GM
9832011-05-28 Glenn Morris <rgm@gnu.org>
984
985 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
986
d43eaf2c
CY
9872011-05-28 Chong Yidong <cyd@stupidchicken.com>
988
5199bde1
CY
989 * help-fns.el (describe-function-1): If the function is a derived
990 major mode, print the parent mode.
991
d43eaf2c
CY
992 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
993 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
994
423428a8
SM
9952011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
996
0ff8e1ba
SM
997 * minibuffer.el (completion--capf-wrapper): Check applicability before
998 retuning non-nil for non-exclusive completion data.
999 * progmodes/etags.el (tags-completion-at-point-function):
1000 * info-look.el (info-lookup-completions-at-point): Mark as
1001 non-exclusive.
1002 (info-complete): Adjust accordingly.
1003
423428a8
SM
1004 * info-look.el: Convert to lexical-binding and completion-at-point.
1005 (info-lookup-completions-at-point): New function.
1006 (info-complete): Use it and completion-in-region.
1007
b74aa22b
DA
10082011-05-28 Drew Adams <drew.adams@oracle.com>
1009
1010 * isearch.el: Let M-e start with point at the first mismatched char.
1011 (isearch-fail-pos): New function.
1012 (isearch-edit-string): Use it.
1013
66e2e71d
DK
10142011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1015
1016 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1017
eb95d01d
TC
10182009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
1019
1020 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
1021 traversal functions for avl-trees.
1022 (avl-tree--stack): New struct.
1023 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
1024 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
1025 (avl-tree--do-enter): Add optional `updatefun' arg.
1026 Change return value.
eb95d01d 1027 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
1028 (avl-tree--do-delete): Add `test' and `nilflag' args.
1029 Change return value.
eb95d01d
TC
1030 (avl-tree-member): Add optional `nilflag'
1031 (avl-tree-member-p): New function.
1032 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
1033 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
1034 (avl-tree-stack-empty-p): New functions.
1035
3769ddcf
TC
10362009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
1037
1038 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
1039 avl-tree--del-balance1 and make it work both ways.
1040 (avl-tree--del-balance2): Remove.
1041 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
1042 make it work both ways.
1043 (avl-tree--enter-balance2): Remove.
1044 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
1045 New macros.
1046 (avl-tree--mapc, avl-tree-map): Add direction argument.
1047
eb95d01d 10482011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
1049
1050 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
1051
a9f737ee
CY
10522011-05-27 Chong Yidong <cyd@stupidchicken.com>
1053
1054 * select.el: Support clipboard managers with built-in function
1055 x-clipboard-manager-save, via delete-frame-functions and
1056 kill-emacs-hook.
1057 (xselect-convert-to-targets): Add MULTIPLE target to list.
1058 (xselect-convert-to-save-targets): New function.
1059
c92a1e54
KH
10602011-05-27 Kenichi Handa <handa@m17n.org>
1061
1062 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
1063 let-binding rfc2047-encode-encoded-words to nil.
1064
e145f188
GM
10652011-05-27 Glenn Morris <rgm@gnu.org>
1066
5ec8a862
GM
1067 * mail/emacsbug.el: Don't require url-util.
1068
4b29d9fb
GM
1069 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
1070
e145f188
GM
1071 * files.el (set-auto-mode):
1072 Also respect mode: entries at the end of the file. (Bug#8586)
1073
7d15102b
GM
10742011-05-26 Glenn Morris <rgm@gnu.org>
1075
98f593b8
GM
1076 * files.el (hack-local-variables-prop-line, hack-local-variables):
1077 Downcase mode names, as seems to be traditional.
27b48e63 1078 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 1079
7d15102b
GM
1080 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
1081 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
1082
51d5b4ec
JD
10832011-05-25 Julien Danjou <julien@danjou.info>
1084
1085 * textmodes/rst.el (rst-define-level-faces): Do not define face
1086 symbol if it is already defined.
1087
91513f63
VB
10882011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1089
1090 * play/5x5.el (5x5-new-game, 5x5-randomize):
1091 Reset 5x5-solver-output to nil when a new grid is cast.
1092 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
1093 these debugging traces, as defmacro breaks the compiled code.
1094
4d90d6d0
DK
10952011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1096
1097 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1098
e1b90ef6
LL
10992011-05-24 Leo Liu <sdl.web@gmail.com>
1100
1101 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
1102 (vc-bzr-sha1): Adapt.
1103
1104 * sha1.el: Remove. Function `sha1' is now builtin.
1105
1106 * bindings.el: Provide sha1 feature.
1107
db0406bb 11082011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
1109
1110 * mail/sendmail.el: Require `rfc2047'.
1111 (mail-insert-from-field): Do not perform RFC2047 encoding.
1112 (mail-encode-header): New function.
1113 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
1114 buffer to the return value of select-message-coding-system.
1115 Call mail-encode-header.
b8d747b9
KH
1116
1117 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
1118
db0406bb 11192011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 1120
4d90d6d0
DK
1121 * mail/supercite.el (sc-default-cite-frame):
1122 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 1123
eb8a5e9b
GM
11242011-05-24 Glenn Morris <rgm@gnu.org>
1125
f8630703
GM
1126 * progmodes/python.el (brm-menu): Declare.
1127
8831bbed
GM
1128 * emulation/viper.el (viper-set-hooks): Declare.
1129
eb8a5e9b
GM
1130 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
1131 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
1132 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
1133 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
1134 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
1135 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
1136
a2a25d24
SM
11372011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1138
1139 Add an :exit-function for completion-at-point.
1140
1141 * minibuffer.el (completion--done): New fun.
1142 (completion--do-completion): Use it. New arg `expect-exact'.
1143 (minibuffer-complete, minibuffer-complete-word): Don't output message,
1144 since completion--do-completion does it for us now.
1145 (minibuffer-force-complete): Use completion--done and
1146 completion--replace. Handle sole-completion case with more care.
1147 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
1148 (completion-extra-properties): New var.
1149 (completion-annotate-function): Make obsolete.
1150 (minibuffer-completion-help): Adjust accordingly.
1151 Use completion-list-insert-choice-function.
1152 (completion-at-point, completion-help-at-point):
1153 Bind completion-extra-properties.
1154 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
1155 * simple.el (completion-list-insert-choice-function): New var.
1156 (completion-setup-function): Preserve it.
1157 (choose-completion): Pay attention to it, shuffle the code a bit.
1158 (choose-completion-string): New arg `insert-function'.
1159
1160 * textmodes/bibtex.el: Convert to lexical binding.
1161 (bibtex-mode-map): Use completion-at-point.
1162 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
1163 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
1164 (bibtex-complete): Define as obsolete alias.
1165 (bibtex-complete-internal): Remove.
1166 (bibtex-format-entry): Remove unused sub-group in regexp.
1167 * shell.el (shell--command-completion-data)
1168 (shell-environment-variable-completion):
1169 * pcomplete.el (pcomplete-completions-at-point):
1170 * comint.el (comint--complete-file-name-data): Use :exit-function
1171 instead of completion-table-with-terminator so it also works for
1172 choose-completion.
1173
e44e373d
SM
11742011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1175
4f91a816
SM
1176 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
1177
782fc819
SM
1178 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
1179 (bug#8710).
1180
e44e373d
SM
1181 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
1182
381987c3
KM
11832011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
1184
1185 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
1186 customization variable and implement: If non-nil, auto-fill will
1187 be inhibited while on topic's header line.
1188
b776bc70
VB
11892011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
1190
1191 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
1192 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
1193 always have a solution in grid size = 5 cases.
1194 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
1195 (5x5-solver-output, 5x5-log-buffer): New vars.
1196 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
1197 Make these variables buffer local to achieve 5x5 multi-session-ness.
1198 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
1199 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
1200 (5x5-solve-suggest): New funs.
1201 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
1202 randomize a grid so that we ensure that there is always a solution.
1203 (5x5-make-random-grid): Allow other movement than flipping.
1204
7de88b6e
KR
12052011-05-23 Kevin Ryde <user42@zip.com.au>
1206
1207 * emacs-lisp/advice.el (ad-read-advised-function):
1208 Use `function-called-at-point' as the default default, if it has
1209 advice and passes PREDICATE.
1210
b1ef1257
SM
12112011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1212
bbca48fe
SM
1213 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
1214 byte-compile-lambda if it's actually a lambda.
1215
b1ef1257
SM
1216 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
1217 Fix function quoting. Use backquote better.
1218
92a9cc65
YS
12192011-05-22 Yuanle Song <sylecn@gmail.com>
1220
1221 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
1222 matching (Bug#8516).
1223
f0fb8059
JA
12242011-01-22 Jari Aalto <jari.aalto@cante.net>
1225
1226 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
1227 different face (Bug#8178).
1228
d5b44c93
CY
12292011-05-22 Chong Yidong <cyd@stupidchicken.com>
1230
1231 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
1232 defface (Bug#8144).
1233
79106a44
SM
12342011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
1235
9c848d8a
SM
1236 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
1237 funcall as well (bug#8712). Warn when performing those conversions.
1238 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
1239
79106a44
SM
1240 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
1241
88dfa756
GM
12422011-05-22 Glenn Morris <rgm@gnu.org>
1243
1244 * files.el (hack-local-variables-prop-line): Small simplifications.
1245 (hack-local-variables, hack-local-variables-prop-line):
1246 If MODE-ONLY, return the mode, rather than just `t'.
1247
b7cf2c79
SM
12482011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1250 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
1251
3f1a8558
GM
12522011-05-21 Glenn Morris <rgm@gnu.org>
1253
7e4ccca3
GM
1254 * files.el (hack-local-variables-prop-line, hack-local-variables):
1255 If only interested in the mode, don't bother doing the other stuff.
1256
637d46ca
GM
1257 * image-mode.el (image-after-revert-hook):
1258 Redraw all frames on which the image is visible. (Bug#8567)
1259
973d955b
GM
1260 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
1261
3f1a8558
GM
1262 * wid-edit.el (widget-checklist-match-inline):
1263 Fix 2011-04-19 change. (Bug#8649)
1264
96479927
SM
12652011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1dcf791f
SM
1267 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
1268 Also allow singlespace after single-letter capitals followed by a dot.
1269
96479927
SM
1270 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
1271 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
1272
35fd0881
N
12732011-05-20 Nix <nix@esperi.org.uk>
1274
1275 * files.el (basic-save-buffer-2):
1276 Fix handling of break-hardlink-on-save with non-existent files.
1277
82745640
DD
12782011-05-19 Deniz Dogan <deniz@dogan.se>
1279
1280 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 1281 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 1282
4a720484
GM
12832011-05-19 Glenn Morris <rgm@gnu.org>
1284
d1f21341
GM
1285 * progmodes/f90.el (f90-type-def-re):
1286 Handle "type, bind(c)". (Bug#8691)
1287
4a720484
GM
1288 * emacs-lisp/autoload.el (batch-update-autoloads):
1289 Set autoload-excludes by parsing loadup.el rather than Makefiles.
1290
2fb0a219
MA
12912011-05-18 Michael Albinus <michael.albinus@gmx.de>
1292
1293 * net/tramp.el (tramp-process-actions): Set "first-password-request"
1294 property for the correct connection in case of multihops.
1295
e565dd37
GM
12962011-05-18 Glenn Morris <rgm@gnu.org>
1297
c2571358 1298 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
1299 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
1300
e565dd37
GM
1301 Rationalize calendar handling of day and month abbrev-arrays.
1302 * calendar/calendar.el (calendar-customized-p): New function.
1303 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
1304 (calendar-day-name-array, calendar-month-name-array): Doc fix.
1305 Add :set function.
1306 (calendar-abbrev-length, calendar-day-abbrev-array)
1307 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
1308 (calendar-day-abbrev-array, calendar-month-abbrev-array):
1309 Elements may no longer be nil.
1310 (calendar-day-name, calendar-month-name):
1311 Update for changed nature of abbrev arrays.
1312 * calendar/diary-lib.el (diary-name-pattern):
1313 Update for changed nature of abbrev arrays.
1314 (diary-mark-entries-1): Update calendar-make-alist calls.
1315 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
1316 * calendar/cal-html.el (cal-html-day-abbrev-array):
1317 Simply inherit from calendar-day-abbrev-array.
1318
1d99a745
SM
13192011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * progmodes/grep.el (grep-mode): Disable default
1322 compilation-directory-matcher setting (bug#8684).
1323
7c1d9aa0
MA
13242011-05-17 Michael Albinus <michael.albinus@gmx.de>
1325
1326 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
1327 instead of "head" and "tail". There were problems with SunOS 5.9,
1328 and it performs better.
1329
3952e9d8
GM
13302011-05-17 Glenn Morris <rgm@gnu.org>
1331
2dd12e7f
GM
1332 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
1333
e4157b9c
GM
1334 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1335 Replace obsolete function.
1336
8e249bbd
GM
1337 * shell.el (pcomplete-parse-arguments-function): Declare.
1338
3952e9d8
GM
1339 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
1340 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
1341 (appt-check): Doc fixes.
1342 (appt-disp-window-function, appt-delete-window-function):
1343 Remove needless special case in custom :type.
1344 (appt-display-count): Default to 0, not nil.
1345 (appt-check): Reset appt-display-count to 0, not nil.
1346
c71a0d48 13472011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 1348
c71a0d48
GM
1349 * progmodes/python.el (python-font-lock-keywords):
1350 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 1351
31d55be9
SM
13522011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1353
1354 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
1355
3bfacb2f
KR
13562011-05-16 Kevin Ryde <user42@zip.com.au>
1357
1358 * info-look.el (makefile-automake-mode): New setups, looking in
1359 automake manual, then makefile-mode.
1360 (makefile-mode): Remove automake manual, have it just in
1361 makefile-automake-mode since there's various things different or
1362 not relevant to plain make.
1363 (makefile-mode): Remove "other-modes" non-existent automake-mode,
1364 believe a hypothetical automake-mode would go to makefile-mode,
1365 not the other way around.
1366
c8e83751
CY
13672011-05-15 Chong Yidong <cyd@stupidchicken.com>
1368
5e9e35cd
CY
1369 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
1370 hunk-end tags (Bug#8672).
1371
c8e83751
CY
1372 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
1373 vc-annotate-show-diff-revision-at-line (Bug#8671).
1374
50b23e5a
GM
13752011-05-14 Glenn Morris <rgm@gnu.org>
1376
7210a739
GM
1377 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
1378 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
1379 (change-log-font-lock-keywords): Also handle multiple author lines
1380 with leading tabs. (Bug#8644)
7210a739 1381
4691905a
GM
1382 * calendar/appt.el (appt-check): Rename some local variables.
1383 Some simplification/reordering.
1384
50b23e5a
GM
1385 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
1386 (feedmail-sendmail-f-doesnt-sell-me-out)
1387 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1388 (feedmail-debug-sit-for, feedmail-queue-express-hook)
1389 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
1390 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
1391 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
1392 (feedmail-binmail-gnulinuxish-template):
1393 Rename from feedmail-binmail-linuxish-template.
1394 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
1395 Use insert-buffer-substring.
1396
215cda7c
BC
13972011-05-14 Bill Carpenter <bill@carpenter.org>
1398
1399 * mail/feedmail.el (feedmail-patch-level): Increase.
1400 (feedmail-debug): New custom group.
1401 (feedmail-confirm-outgoing-timeout)
1402 (feedmail-sendmail-f-doesnt-sell-me-out)
1403 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1404 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
1405 (feedmail-sender-line, feedmail-from-line)
1406 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 1407 (feedmail-spray-this-address)
215cda7c
BC
1408 (feedmail-spray-address-fiddle-plex-list)
1409 (feedmail-queue-use-send-time-for-date)
1410 (feedmail-queue-use-send-time-for-message-id)
1411 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
1412 (feedmail-buffer-eating-function):
1413 Doc fixes.
1414 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
1415 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
1416 (feedmail-message-action-scroll-down): New functions.
1417 (feedmail-queue-directory, feedmail-queue-draft-directory):
1418 Use expand-file-name.
1419 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
1420 Remove C-v help entry.
1421 (feedmail-queue-buffer-file-name): New variable.
1422 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
1423 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
1424 (feedmail-message-action-send-strong, feedmail-message-action-edit)
1425 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
1426 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
1427 (feedmail-message-action-toggle-spray)
1428 (feedmail-run-the-queue-no-prompts)
1429 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
1430 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
1431 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
1432 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
1433 (feedmail-envelope-deducer, feedmail-fiddle-from)
1434 (feedmail-fiddle-sender, feedmail-default-date-generator)
1435 (feedmail-fiddle-date, feedmail-fiddle-message-id)
1436 (feedmail-fiddle-spray-address)
1437 (feedmail-fiddle-list-of-spray-fiddle-plexes)
1438 (feedmail-fiddle-list-of-fiddle-plexes)
1439 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
1440 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
1441 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
1442 Change default. Doc fix.
1443 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
1444 (feedmail-binmail-linuxish-template): New constant.
1445 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
1446 Respect feedmail-sendmail-f-doesnt-sell-me-out.
1447 (feedmail-send-it): Add debug call.
1448 Use feedmail-queue-buffer-file-name, and
1449 feedmail-send-it-immediately-wrapper.
1450 (feedmail-message-action-send): Add debug call.
1451 Use feedmail-send-it-immediately-wrapper.
1452 (feedmail-queue-express-to-queue): Add debug call.
1453 Run feedmail-queue-express-hook.
1454 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
1455 (feedmail-message-action-help-blat):
1456 Rename from feedmail-queue-send-edit-prompt-help-first.
1457 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
1458 Check line-endings. Handle errors better.
1459 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
1460 Doc fix. Add debug call.
1461 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
1462 Use feedmail-queue-send-edit-prompt-inner.
1463 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
1464 (feedmail-queue-send-edit-prompt-inner): New function, extracted
1465 from feedmail-queue-send-edit-prompt.
1466 (feedmail-queue-send-edit-prompt-help)
1467 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
1468 (feedmail-tidy-up-slug): Add debug call.
1469 Respect feedmail-queue-slug-suspect-regexp.
1470 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
1471 (feedmail-dump-message-to-queue): Add debug call.
1472 Expand queue-directory.
1473 (feedmail-dump-message-to-queue): Change message slightly.
1474 Use feedmail-say-chatter.
1475 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
1476 (feedmail-send-it-immediately-wrapper): New function.
1477 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
1478 Insert empty string rather than newline. Handle full-frame case.
1479 Use catch/throw. Use feedmail-say-chatter.
1480 (feedmail-fiddle-from): Try mail-host-address.
1481 (feedmail-default-message-id-generator): Doc fix.
1482 Bind system-time-locale. Handle missing end.
1483 (feedmail-fiddle-x-mailer): Add debug call.
1484 Handle feedmail-x-mailer-line being nil.
1485 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
1486 Add debug call. Use buffer-substring-no-properties.
1487 (feedmail-say-debug, feedmail-say-chatter): New functions.
1488 (feedmail-find-eoh): Give an explicit error.
1489
42c7e61e
UJ
14902011-05-13 Ulf Jasper <ulf.jasper@web.de>
1491
c2571358 1492 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 1493 family from helvetica to sans.
c2571358 1494 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
1495 etc/images/newsticker.
1496
c2571358 1497 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
1498 family from helvetica to sans.
1499
1500 * net/newst-plainview.el (newsticker-new-item-face)
1501 (newsticker-old-item-face, newsticker-immortal-item-face)
1502 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 1503 (newsticker-statistics-face): Change default family from
42c7e61e 1504 helvetica to sans.
c2571358 1505 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
1506 etc/images/newsticker.
1507
1508 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
1509 (newsticker--process-auto-mark-filter-match): : Tell user about
1510 auto-marking.
1511
8497a297
DV
15122011-05-13 Didier Verna <didier@xemacs.org>
1513
1514 Common Lisp indentation improvements on defmethod and lambda-lists.
1515 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
1516 (lisp-lambda-list-keyword-parameter-indentation)
1517 (lisp-lambda-list-keyword-parameter-alignment)
1518 (lisp-lambda-list-keyword-alignment): New customizable user options.
1519 (lisp-indent-defun-method): Improve docstring.
1520 (extended-loop-p): Fix comment.
1521 (lisp-indent-lambda-list-keywords-regexp): New variable.
1522 (lisp-indent-lambda-list): New function.
1523 (lisp-indent-259): Use it.
1524 (lisp-indent-defmethod): Support for more than one
1525 method qualifier and properly indent methods lambda-lists.
1526 (defgeneric): Provide a missing common-lisp-indent-function property.
1527
f278f87f
SM
15282011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1529
1530 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
1531 bounds for the empty string (bug#8667).
1532
5233edd7
GM
15332011-05-13 Glenn Morris <rgm@gnu.org>
1534
5237a44f
GM
1535 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
1536
8340026c 1537 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 1538 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 1539
5233edd7 1540 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 1541 (appt-time-msg-list): Doc fix.
a5464014 1542 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 1543
92d10796
AS
15442011-05-12 Andreas Schwab <schwab@linux-m68k.org>
1545
1546 * progmodes/ld-script.el (ld-script-keywords)
1547 (ld-script-builtins): Update keywords list.
1548
914a0ae1
SM
15492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1550
c89be45f
SM
1551 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
1552
914a0ae1
SM
1553 * shell.el (shell-completion-vars): New function.
1554 (shell-mode):
1555 * simple.el (read-shell-command): Use it.
1556 (blink-matching-open): No need for " [...]" in minibuffer-message.
1557
98dc3df3
GM
15582011-05-12 Glenn Morris <rgm@gnu.org>
1559
1560 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
1561 (appt-check): Simplify.
1562
d2fc7e3d 15632011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21
EZ
1564
1565 * smerge-mode.el (smerge-resolve): Use null-device rather than a
1566 literal "/dev/null".
1567
d2fc7e3d 15682011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
1569
1570 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
1571 Fix typo.
1572
d2fc7e3d 15732011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 1574
3f254caa
SM
1575 * progmodes/which-func.el (which-function):
1576 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
1577 which might not be defined (Bug#8260).
1578
d45885f7
GM
15792011-05-12 Glenn Morris <rgm@gnu.org>
1580
1581 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
1582 Let byte-compile-initial-macro-environment always take precedence.
1583
488086f4
SM
15842011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1585
1586 * net/rcirc.el: Add support for SSL/TLS connections.
1587 (rcirc-server-alist): New field `encryption'.
1588 (rcirc): Check `encryption' settings.
1589 (rcirc-connect): New arg `encryption'. Use open-network-stream.
1590 Merge make-local-variable into `set'.
1591 (rcirc--connection-open-p): New function.
1592 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
1593 the process is not a network process (e.g. running gnutls-cli).
1594 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
1595 Make rcirc-(en|de)code-coding-system local here.
1596 (rcirc-mode): Merge make-local-variable into `set'.
1597 (rcirc-parent-buffer): Make permanent buffer-local.
1598 (rcirc-multiline-minor-mode): Don't do it here.
1599 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
1600 there's no server buffer.
1601
7d3b9d44
GM
16022011-05-11 Glenn Morris <rgm@gnu.org>
1603
f64049c6
GM
1604 * newcomment.el (comment-kill): Prefix "unused" local.
1605
93c9df73
GM
1606 * term/w32console.el (get-screen-color): Declare.
1607
7d3b9d44
GM
1608 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1609 Handle symbol elements of byte-compile-initial-macro-environment.
1610
9e2dd53f
LL
16112011-05-10 Leo Liu <sdl.web@gmail.com>
1612
488086f4
SM
1613 * bookmark.el (bookmark-bmenu-mode-map):
1614 Bind bookmark-bmenu-search to `/'.
8b340240 1615
9e2dd53f 1616 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
1617 (footnote-unicode-string, footnote-unicode-regexp): New variable.
1618 (Footnote-unicode): New function.
1619 (footnote-style-alist): Add unicode style to the list.
1620 (footnote-style): Doc fix.
9e2dd53f 1621
79b70037
GM
16222011-05-10 Jim Meyering <meyering@redhat.com>
1623
1624 Fix doubled-word typos.
1625 * international/quail.el (quail-insert-kbd-layout): and and -> and
1626 * kermit.el: and and -> and
1627 * net/ldap.el (ldap-search-internal): to to -> to
1628 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
1629 * progmodes/js.el (js-mode): and and -> and
1630 * textmodes/artist.el (artist-move-to-xy): at at -> at
1631 (artist-draw-region-trim-line-endings): if if -> if
1632 And Safetyc -> Safety.
1633 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
1634
b8f82dc1 16352011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 1636 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
1637
1638 * files.el (hack-one-local-variable-eval-safep):
1639 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
1640
4f99f44b
GM
16412011-05-10 Glenn Morris <rgm@gnu.org>
1642
1643 * calendar/diary-lib.el (diary-list-entries-hook)
1644 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
1645 (diary-nongregorian-marking-hook, diary-list-entries)
1646 (diary-include-other-diary-files, diary-mark-entries)
1647 (diary-mark-included-diary-files): Doc fixes.
1648
84f29e6b
JB
16492011-05-09 Juanma Barranquero <lekktu@gmail.com>
1650
1651 * misc.el: Require tabulated-list.el during compilation.
1652
9bedd73a
CY
16532011-05-09 Chong Yidong <cyd@stupidchicken.com>
1654
488086f4
SM
1655 * progmodes/compile.el (compilation-start):
1656 Run compilation-filter-hook for the async case too.
9bedd73a
CY
1657 (compilation-filter-hook): Doc fix.
1658
797c735c
DD
16592011-05-09 Deniz Dogan <deniz@dogan.se>
1660
1661 * wdired.el: Remove outdated installation comment. Fix usage
1662 comment.
1663
5f4b1dfe
JB
16642011-05-09 Juanma Barranquero <lekktu@gmail.com>
1665
1666 * misc.el: Implement new command `list-dynamic-libraries'.
1667 (list-dynamic-libraries--loaded-only-p): New variable.
1668 (list-dynamic-libraries--refresh): New function.
1669 (list-dynamic-libraries): New command.
1670
4c44026c
CY
16712011-05-09 Chong Yidong <cyd@stupidchicken.com>
1672
488086f4
SM
1673 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1674 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
1675 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
1676 higher priority to avoid clobbering by gnu.
1677
027f966d
CY
16782011-05-08 Chong Yidong <cyd@stupidchicken.com>
1679
1680 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
1681 if the face has existing theme settings (Bug#8454).
1682
085f5d7d
CY
16832011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
1684
488086f4
SM
1685 * progmodes/perl-mode.el (perl-imenu-generic-expression):
1686 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 1687
2a86a00c
RS
1688 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
1689 special file names `.' and `..' (Bug#8259).
1690
d9c54a06
CY
16912011-05-08 Chong Yidong <cyd@stupidchicken.com>
1692
488086f4
SM
1693 * progmodes/grep.el (grep-mode-font-lock-keywords):
1694 Remove buffer-changing entries.
d9c54a06
CY
1695 (grep-filter): New function.
1696 (grep-mode): Add it to compilation-filter-hook.
1697
1698 * progmodes/compile.el (compilation-filter-hook)
1699 (compilation-filter-start): New defvars.
1700 (compilation-filter): Call compilation-filter-hook prior to
1701 updating the process mark.
1702
c4662635
SM
17032011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1704
1705 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
1706
b0512a1d
EZ
17072011-05-07 Eli Zaretskii <eliz@gnu.org>
1708
605c9376
EZ
1709 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
1710 mailclient-send-it even if window-system is nil. (Bug#8595)
1711
c4662635
SM
1712 * term/w32console.el (terminal-init-w32console):
1713 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
1714 background-mode. (Bug#8597)
1715
d1dc2cc2
SM
17162011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1717
1718 Make bytecomp.el understand that defmethod defines funs (bug#8631).
1719 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
1720 New functions.
1721 (defgeneric, eieio--defmethod): Use them.
1722 (eieio-defgeneric): Remove.
1723 (defmethod): Call defgeneric in a way visible to the byte-compiler.
1724
915d1300
GM
17252011-05-07 Glenn Morris <rgm@gnu.org>
1726
a3961c3e
GM
1727 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
1728 Use let rather than let*.
1729 (timeclock-find-discrep): Remove unused local.
1730
314347b9
GM
1731 * calendar/diary-lib.el (diary-comment-start): Doc fix.
1732
915d1300
GM
1733 * calendar/appt.el (appt-time-msg-list): Doc fix.
1734
275b59b0
NF
17352011-05-06 Noah Friedman <friedman@splode.com>
1736
1737 * apropos.el (apropos-print-doc): Only use
1738 emacs-lisp-docstring-fill-column when it is bound to an integer,
1739 per that variable's documentation.
1740
6c19f744
SM
17412011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1742
1743 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 1744 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 1745
60f884b2
GM
17462011-05-06 Glenn Morris <rgm@gnu.org>
1747
5006e634
GM
1748 * calendar/appt.el (appt-message-warning-time): Doc fix.
1749 (appt-warning-time-regexp): New option.
1750 (appt-make-list): Respect appt-message-warning-time.
1751
548d0a63
GM
1752 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
1753 New options.
1754 (diary-add-to-list): Strip comments from the displayed string.
1755 (diary-mode): Set comment-start and comment-end.
1756
60f884b2
GM
1757 * vc/diff-mode.el (smerge-refine-subst): Declare.
1758 (diff-refine-hunk): Don't require smerge-mode when compiling.
1759
989681bb
JB
17602011-05-06 Juanma Barranquero <lekktu@gmail.com>
1761
1762 * simple.el (list-processes): Return nil as the docstring says.
1763
a6bc05e1
MA
17642011-05-05 Michael Albinus <michael.albinus@gmx.de>
1765
1766 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
1767 to "".
1768 (ange-ftp-write-region, ange-ftp-insert-file-contents)
1769 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
1770 determining of binary transfer. (Bug#7383)
1771
23c22e9a
MA
17722011-05-05 Michael Albinus <michael.albinus@gmx.de>
1773
c4662635
SM
1774 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1775 Fix port computation bug. (Bug#8618)
23c22e9a 1776
0bff894f
GM
17772011-05-05 Glenn Morris <rgm@gnu.org>
1778
b8296902
GM
1779 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
1780
1f522ce8
GM
1781 * simple.el (shell-dynamic-complete-functions)
1782 (comint-dynamic-complete-functions): Declare.
1783
cf5bee67
GM
1784 * net/network-stream.el (gnutls-negotiate):
1785 * simple.el (tabulated-list-print): Fix declarations.
1786
1787 * progmodes/gud.el (syntax-symbol, syntax-point):
1788 Remove unnecessary and incorrect declarations.
1789
0bff894f
GM
1790 * emacs-lisp/check-declare.el (check-declare-scan):
1791 Handle byte-compile-initial-macro-environment in bytecomp.el
1792
9869b3ae
SM
17932011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 Fix earlier half-done eieio-defmethod change (bug#8338).
1796 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
1797 Streamline and change calling convention.
1798 (defmethod): Adjust accordingly and simplify.
1799 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
1800 new eieio--defmethod.
1801 (slot-boundp): Minor CSE simplification.
1802
9c1d5ac5
MZ
18032011-05-05 Milan Zamazal <pdm@zamazal.org>
1804
1805 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
1806 (glasses-make-readable): Use glasses-separate-capital-groups.
1807
455c834e
JB
18082011-05-05 Juanma Barranquero <lekktu@gmail.com>
1809
1810 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
1811 (warning-series): Doc fix.
1812 (display-warning): Don't try to create the buffer if we just found it.
1813
9ed7c8cb
CY
18142011-05-04 Chong Yidong <cyd@stupidchicken.com>
1815
1816 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
1817 (autoload-find-generated-file): New function.
1818 (generate-file-autoloads): Bind generated-autoload-file to
1819 buffer-file-name.
9869b3ae
SM
1820 (update-file-autoloads, update-directory-autoloads):
1821 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
1822 output file (Bug#7989).
1823 (batch-update-autoloads): Doc fix.
1824
0898ca10
JB
18252011-05-04 Juanma Barranquero <lekktu@gmail.com>
1826
1827 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
1828
31dfb76c
GM
18292011-05-04 Glenn Morris <rgm@gnu.org>
1830
f330b642
GM
1831 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
1832 function, so it follows changes in calendar-date-style.
1833 (diary-fancy-date-matcher): New function.
1834 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
1835 (diary-fancy-font-lock-fontify-region-function):
1836 Use diary-fancy-date-pattern as a function.
1837
31dfb76c
GM
1838 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
1839 non-numbers for `year' etc pseudo-variables. (Bug#8583)
1840
48e79d6a
TZ
18412011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
1842
1843 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
1844 instead of positional arguments. Allow :keylist and :crlfiles
1845 arguments.
1846 (open-gnutls-stream): Call it.
1847
1848 * net/network-stream.el (network-stream-open-starttls): Adjust to
1849 call `gnutls-negotiate' with :process and :hostname arguments.
1850
dd5a5ee0
SM
18512011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1852
ef80fc09
SM
1853 * minibuffer.el (completion--message): New function.
1854 (completion--do-completion, minibuffer-complete)
1855 (minibuffer-force-complete, minibuffer-complete-word): Use it.
1856 (completion--do-completion): Don't ignore completion-auto-help when in
1857 icomplete-mode.
1858
dd5a5ee0
SM
1859 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
1860 internal encoding (e.g. tibetan zero is not whitespace).
1861 (global-whitespace-mode): Prefer save-current-buffer.
1862 (whitespace-trailing-regexp): Remove useless save-match-data.
1863 (whitespace-empty-at-bob-regexp): Minor simplification.
1864
b7d22a83
CY
18652011-05-03 Chong Yidong <cyd@stupidchicken.com>
1866
1867 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
1868
5192af46
AM
18692011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1870
1871 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 1872 Use `concat' to create string for insertion.
5192af46 1873
5767d190
SM
18742011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1875
1876 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
1877 Avoid open-line which runs post-self-insert-hook.
1878 (bibtex-fill-entry): Remove unused `end' var.
1879
bf242939
AM
18802011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
1881
5767d190
SM
1882 * textmodes/ispell.el (ispell-add-per-file-word-list):
1883 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 1884
25666126
LL
18852011-05-03 Leo Liu <sdl.web@gmail.com>
1886
1887 * isearch.el (isearch-yank-pop): New command.
5767d190 1888 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
1889 (isearch-forward): Mention it.
1890
52d3c2d0
SM
18912011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1bcace58
SM
1893 * simple.el (minibuffer-complete-shell-command): Remove.
1894 (minibuffer-local-shell-command-map): Use completion-at-point.
1895 (read-shell-command): Setup completion vars here instead.
1896 (read-expression-map): Bind TAB to symbol completion.
1897
52d3c2d0
SM
1898 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
1899 error directly rather via storing it into `results'.
1900
35813471
LL
19012011-05-02 Leo Liu <sdl.web@gmail.com>
1902
1903 * vc/diff.el: Fix description.
1904
e793a940
LMI
19052011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1906
1907 * server.el (server-eval-at): New function.
1908
8de66e05
LMI
19092011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1910
1911 * net/network-stream.el (open-network-stream): Take a :nowait
1912 parameter and pass it on to `make-network-process'.
1913 (network-stream-open-plain): Ditto.
1914
dcb79f20
AS
19152011-04-30 Andreas Schwab <schwab@linux-m68k.org>
1916
1917 * faces.el (face-spec-set-match-display): Don't match toolkit
1918 options on terminal frames.
1919
14a7fbd8
SM
19202011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1921
7eabc1be
SM
1922 * progmodes/pascal.el: Use lexical binding.
1923 (pascal-mode-map): Remove author preferences.
1924
14a7fbd8
SM
1925 * pcomplete.el (pcomplete-std-complete): Don't abuse
1926 completion-at-point.
1927
50f84510
JB
19282011-04-28 Juanma Barranquero <lekktu@gmail.com>
1929
6e087a44
JB
1930 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
1931 removing code that has been dead since 1991 or so.
1932
50f84510
JB
1933 * startup.el (command-line): When warning about "_emacs", use a
1934 delayed warning to allow the user to filter it out.
1935
0ba690bd
DD
19362011-04-28 Deniz Dogan <deniz@dogan.se>
1937
1938 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
1939 user has not joined.
1940
08abfaad
SM
19412011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1942
1943 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
1944 aren't any completions at point.
1945
638f053a
JB
19462011-04-28 Juanma Barranquero <lekktu@gmail.com>
1947
1948 * subr.el (display-delayed-warnings): New function.
1949 (delayed-warnings-hook): New variable.
1950
8fff8daa
SM
19512011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1952
08abfaad
SM
1953 * minibuffer.el (completion-at-point, completion-help-at-point):
1954 Don't presume that a given completion-at-point-function will always
1955 use the same calling convention.
1956
8fff8daa
SM
1957 * pcomplete.el (pcomplete-completions-at-point):
1958 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
1959 pcomplete-seen is non-nil.
1960 (pcomplete-comint-setup): Also recognize the new comint/shell
1961 completion functions.
1962 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
1963 pcomplete-seen is non-nil.
1964
841a1577 19652011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 1966
841a1577 1967 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 1968 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 1969 the first character in the entry. This allows for code to add its
211ec907
UJ
1970 own uid to the entry.
1971 (icalendar--convert-float-to-ical): Add export of
1972 `diary-float'-entries save for those with the optional DAY
1973 argument.
1974
2a782793
DC
19752011-04-27 Daniel Colascione <dan.colascione@gmail.com>
1976
1977 * subr.el (shell-quote-argument): Use alternate escaping strategy
1978 when we spot a variable reference in a string.
1979
0438ce91
DC
19802011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1981
1982 * cus-start.el (all): Define customization for debug-on-event.
1983
841a1577 19842011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
1985
1986 * subr.el (shell-quote-argument): Escape correctly under Windows.
1987
d090ed6c
SM
19882011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1989
1990 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
1991
bfd31217
MA
19922011-04-25 Michael Albinus <michael.albinus@gmx.de>
1993
d090ed6c
SM
1994 * net/tramp.el (tramp-process-actions): Add POS argument.
1995 Delete region between POS and (pos).
bfd31217 1996
d090ed6c
SM
1997 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1998 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
1999 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
2000
2001 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
2002 position in `tramp-process-actions' call.
2003
2004 * net/trampver.el: Update release number.
2005
e92f3bd3
SM
20062011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2007
850256b5
SM
2008 * custom.el (defcustom): Obey lexical-binding.
2009
e92f3bd3
SM
2010 Fix octave-inf completion problems reported by Alexander Klimov.
2011 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
2012 Inherit from octave-mode-syntax-table.
2013 (inferior-octave-mode): Set info-lookup-mode.
2014 (inferior-octave-completion-at-point): New function.
2015 (inferior-octave-complete): Use it and completion-in-region.
2016 (inferior-octave-dynamic-complete-functions): Use it as well, and use
2017 comint-filename-completion.
2018 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
2019 symbol elements which shouldn't be word elements.
2020 (octave-font-lock-keywords, octave-beginning-of-defun)
2021 (octave-function-header-regexp): Adjust regexps accordingly.
2022 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
2023
cd22b309
JB
20242011-04-25 Juanma Barranquero <lekktu@gmail.com>
2025
2026 * net/gnutls.el (gnutls-errorp): Declare before first use.
2027
8b492194
TZ
20282011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
2029
2030 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
2031 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
2032 default trustfile exists before going to use it. Add missing
2033 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
2034 Reported by Claudio Bley <claudio.bley@gmail.com>.
2035 (open-gnutls-stream): Add usage example.
2036
2037 * net/network-stream.el (network-stream-open-starttls): Give host
2038 parameter to `gnutls-negotiate'.
2039 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 2040 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 2041
841a1577 20422011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 2043
cd22b309
JB
2044 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2045 Use correct match group (bug#8438).
05842630 2046
3ba7869c
CY
20472011-04-24 Chong Yidong <cyd@stupidchicken.com>
2048
512e3ae1
CY
2049 * emacs-lisp/package.el (package-built-in-p): Fix typo.
2050 (package-menu--generate): New arg specifying packages to show.
2051 (package-menu-refresh, package-menu-execute, list-packages):
2052 Callers changed.
2053 (package-show-package-list): New function, replacing deleted
2054 package--list-packages (renamed because it is non-internal).
2055
2056 * finder.el (finder-list-matches): Use package-show-package-list
2057 instead of deleted package--list-packages.
2058
e92f3bd3
SM
2059 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
2060 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
2061 (vc-annotate-mode-map): Bind it to RET.
2062
7031be6d
UR
20632011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
2064
2065 * progmodes/etags.el (next-file): Don't use set-buffer to change
2066 buffers (Bug#8478).
2067
4ef177aa
CY
20682011-04-24 Chong Yidong <cyd@stupidchicken.com>
2069
c8d173eb
CY
2070 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
2071
4ef177aa
CY
2072 * apropos.el (apropos-label-face): Avoid variable-pitch face.
2073 (apropos-accumulator): Doc fix.
2074 (apropos-function, apropos-macro, apropos-command)
2075 (apropos-variable, apropos-face, apropos-group, apropos-widget)
2076 (apropos-plist): Add face property.
2077 (apropos-symbols-internal): Fix indentation.
2078 (apropos-print): Simplify help, and recognize apropos-multi-type.
2079 (apropos-print-doc): Use button-type-get to extract the button's
2080 face property. Fill docstring (Bug#8352).
2081
4ffd0d6b 20822011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
2083
2084 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
2085
c6c32125 2086 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 2087 (mpuz-mode-map): Use mapc.
c6c32125
JB
2088 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
2089 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
2090 Fix typos in docstrings.
2091
58d468b4
JB
2092 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
2093 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
2094
6470c3c6
JB
2095 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
2096
4ffd0d6b 20972011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
2098
2099 * minibuffer.el (completion--do-completion): Avoid the "Next char
2100 not unique" prompt if icomplete-mode is enabled (Bug#5849).
2101
3ad8bad0
CY
2102 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
2103 mouse-2 into unread-command-events, it is interpreted correctly.
2104
71d73c9c 2105 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 2106 (image-toggle-display): Doc fix.
71d73c9c 2107
841a1577 21082011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 2109
4ffd0d6b
GM
2110 * textmodes/page.el (what-page): Use line-number-at-pos to
2111 calculate line number (Bug#6825).
6e1dbaa9 2112
c2fb1b60
JB
21132011-04-22 Juanma Barranquero <lekktu@gmail.com>
2114
2115 * eshell/esh-mode.el (find-tag-interactive): Declare function.
2116 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
2117 Pass argument NO-DEFAULT to `find-tag-interactive'.
2118
e02f48d7
JB
21192011-04-22 Juanma Barranquero <lekktu@gmail.com>
2120
2121 Lexical-binding cleanup.
2122
2123 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
2124 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
2125 * progmodes/ada-prj.el (ada-prj-initialize-values)
2126 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
2127 (ada-prj-show-value):
2128 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
2129 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
2130 (antlr-invalidate-context-cache, antlr-options-menu-filter)
2131 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
2132 * progmodes/bug-reference.el (bug-reference-push-button):
2133 * progmodes/fortran.el (fortran-line-length):
2134 * progmodes/glasses.el (glasses-change):
2135 * progmodes/octave-mod.el (octave-fill-paragraph):
2136 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
2137 (python-pdbtrack-grub-for-buffer, python-sentinel):
2138 * progmodes/sql.el (sql-save-connection):
2139 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
2140 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
2141 Mark unused parameters.
2142
2143 * progmodes/compile.el (compilation--flush-directory-cache)
2144 (compilation--flush-parse, compile-internal): Mark unused parameters.
2145 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
2146 (compilation-next-error-function): Remove unused variable `timestamp'.
2147
2148 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
2149 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
2150
2151 * progmodes/dcl-mode.el (dcl-end-of-command):
2152 Remove unused variable `start'.
2153 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
2154 (dcl-option-value-basic, dcl-option-value-offset)
2155 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
2156 Mark unused parameters.
2157 (dcl-save-local-variable): Remove unused variable `val'.
2158 (mode): Declare.
2159
2160 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
2161 Mark unused parameters.
2162 (delphi-ignore-changes): Move before first use.
2163 (delphi-charset-token-at): Remove unused variable `start'.
2164 (delphi-else-start): Remove unused variable `if-count'.
2165 (delphi-comment-block-start, delphi-comment-block-end):
2166 Remove unused variable `kind'.
2167 (delphi-indent-line): Remove unused variable `new-point'.
2168
2169 * progmodes/ebrowse.el (ebrowse-files-list)
2170 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
2171 Mark unused parameters. Don't quote `lambda'.
2172 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
2173 Don't quote `lambda'.
2174 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
2175 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
2176 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
2177 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
2178 Use `ignore-errors'.
2179 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
2180 (ebrowse-view/find-file-and-search-pattern)
2181 (ebrowse-view/find-member-declaration/definition):
2182 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
2183 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
2184 Rename parameter PREFIX-ARG to PREFIX.
2185 (ebrowse-tags-read-name): Remove unused variables `start' and
2186 `member-info'.
2187 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
2188 to `tags-file'.
2189
2190 * progmodes/etags.el (local-find-tag-hook): Declare.
2191 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
2192 Mark unused parameters.
2193
2194 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
2195 (executable-interpret): Mark unused parameter.
2196
2197 * progmodes/flymake.el (flymake-process-sentinel)
2198 (flymake-after-change-function)
2199 (flymake-create-temp-with-folder-structure)
2200 (flymake-get-include-dirs-dot): Mark unused parameters.
2201 (flymake-safe-delete-directory): Remove unused variable `err'.
2202
2203 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
2204 (speedbar-timer-fn, speedbar-line-text)
2205 (speedbar-change-expand-button-char, speedbar-delete-subblock)
2206 (speedbar-center-buffer-smartly): Declare functions.
2207 (gdb-find-watch-expression): Remove unused variable `array'.
2208 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
2209 (gdb-starting): Mark unused parameters.
2210 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
2211 (gdb-table-string): Remove unused variable `res'.
2212 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
2213 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
2214 (gdb-display-buffer): Remove unused variable `cur-size'.
2215
2216 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
2217 allow lexical-binding compilation.
2218 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
2219 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
2220 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
2221 Mark unused parameters.
2222 (gud-gdb-marker-filter): Remove unused variable `match'.
2223 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
2224 lambda expressions and funcall them, instead of using `fset'.
2225
2226 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
2227 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
2228
2229 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
2230 variable `header-beg'; use `let'.
2231
2232 * progmodes/icon.el (indent-icon-exp): Remove unused variables
2233 `restart', `last-sexp' and `at-do'.
2234
2235 * progmodes/js.el (js--debug): Mark unused parameter.
2236 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
2237 (js--splice-into-items): Remove unused variable `item'.
2238 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
2239
2240 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
2241 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
2242 (makefile-complete): Remove unused variable `try'.
2243 (makefile-fill-paragraph, makefile-match-function-end):
2244 Mark unused parameters.
2245
2246 * progmodes/octave-inf.el (inferior-octave-complete):
2247 Remove unused variable `proc'.
2248 (inferior-octave-output-digest): Mark unused parameter.
2249
2250 * progmodes/perl-mode.el (perl-calculate-indent):
2251 Remove unused variable `err'.
2252
2253 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
2254 (prolog-indent-line): Mark unused parameters.
2255 (prolog-indent-line): Remove unused variable `beg'.
2256
2257 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
2258 (reporter-dont-compact-list): Declare.
2259
2260 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
2261 Remove unused variable `char'.
2262 (sh-debug): Mark unused parameter.
2263 (sh-get-indent-info): Remove unused variable `start'.
2264 (sh-calculate-indent): Remove unused variable `var'.
2265
2266 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
2267 (simula-electric-keyword): Remove unused variable `null'.
2268 (simula-search-backward, simula-search-forward): Remove unused
2269 variables `begin' and `end'.
2270
2271 * progmodes/vera-mode.el (vera-guess-basic-syntax):
2272 Remove unused variable `pos'.
2273 (vera-electric-tab, vera-comment-uncomment-region):
2274 Mark unused parameters.
2275 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
2276
7ede3b65
CY
22772011-04-22 Chong Yidong <cyd@stupidchicken.com>
2278
2279 * emacs-lisp/package.el (package--builtins, package-alist)
2280 (package-load-descriptor, package-built-in-p, package-activate)
2281 (define-package, package-installed-p)
2282 (package-compute-transaction, package-buffer-info)
2283 (package--push): Doc fix. Distinguish more clearly between
2284 version strings and version lists.
2285
121656e9
JB
22862011-04-21 Juanma Barranquero <lekktu@gmail.com>
2287
2288 Lexical-binding cleanup.
2289
2290 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
2291 (5x5-make-mutate-best):
2292 * play/fortune.el (fortune-in-buffer):
2293 * play/gomoku.el (gomoku-init-display):
2294 * play/solitaire.el (solitaire, solitaire-do-check):
2295 * play/tetris.el (tetris-default-update-speed-function):
2296 Mark unused parameters.
2297
2298 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
2299 (bubbles--shift): Remove unused variable `char-org'.
2300 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
2301 (bubbles--show-images): Remove unused variable `char'.
2302
2303 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
2304 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
2305 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
2306 (decipher-analyze-buffer): Use ?\s.
2307 (decipher-make-checkpoint): Remove unused variable `mapping'.
2308
2309 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
2310
2311 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2312 Remove unused variable `result'; use `let'.
2313
2314 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
2315 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
2316 (gametree-children-shown-p, gametree-compute-reduced-score):
2317 Use `ignore-errors'.
2318
2319 * play/handwrite.el (ps-lpr-switches): Declare.
2320 (handwrite): Remove unused variables `pmin' and `lastp'.
2321
2322 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
2323
2324 * play/landmark.el (landmark-init-display)
2325 (landmark-update-naught-weights): Mark unused parameters.
2326 (landmark-y): Remove unused variable `noise'. Simplify.
2327 (landmark-human-plays): Remove unused variable `score'.
2328
2329 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
2330 (mpuz-try-proposal): Remove unused variable `game'.
2331
2332 * play/zone.el (life-patterns): Declare.
2333
80f499c7
JB
23342011-04-20 Juanma Barranquero <lekktu@gmail.com>
2335
2336 * vc/vc.el (ediff-vc-internal): Declare function.
2337
024ff170
SM
23382011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2339
c0a193ea
SM
2340 * shell.el: Use lexical-binding and std completion UI.
2341 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
2342 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
2343 comint-preoutput-filter-functions rather than on
2344 comint-output-filter-functions.
2345 (shell-command-completion, shell--command-completion-data)
2346 (shell-filename-completion, shell-environment-variable-completion)
2347 (shell-c-a-p-replace-by-expanded-directory): New functions.
2348 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
2349 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
2350 (shell-dynamic-complete-environment-variable): Use them.
2351 (shell-dynamic-complete-as-environment-variable)
2352 (shell-dynamic-complete-as-command): Remove.
2353 (shell-match-partial-variable): Match past point.
2354 * comint.el: Clean up use of completion-at-point-functions.
2355 (comint-completion-at-point): New function.
2356 (comint-mode): Use it completion-at-point-functions.
2357 (comint-dynamic-complete): Make it obsolete.
2358 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
2359 (comint-c-a-p-replace-by-expanded-history): New function.
2360 (comint-dynamic-complete-functions)
2361 (comint-replace-by-expanded-history): Use it.
2362 * minibuffer.el (completion-table-with-terminator): Allow dynamic
2363 termination strings. Try harder to avoid second try-completion.
2364 (completion-in-region-mode-map): Disable bindings that don't work yet.
2365
2dbaa080
SM
2366 * comint.el: Use lexical-binding. Require CL.
2367 (comint-dynamic-complete-functions): Use comint-filename-completion.
2368 (comint-completion-addsuffix): Tweak custom type.
2369 (comint-filename-completion, comint--common-suffix)
2370 (comint--common-quoted-suffix, comint--table-subvert)
2371 (comint--complete-file-name-data): New functions.
2372 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
2373 (comint-dynamic-list-filename-completions): Use them.
2374 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 2375
2dbaa080
SM
2376 * minibuffer.el (completion-in-region-mode):
2377 Keep completion-in-region-mode--predicate global.
2378 (completion-in-region--postch):
2379 Assume completion-in-region-mode--predicate is not null.
2380
c79a6f38
SM
2381 * progmodes/flymake.el (flymake-start-syntax-check-process):
2382 Obey `dir'. Simplify.
2383
024ff170
SM
2384 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
2385 we're in VC after all.
2386
1c6c854e
CS
23872011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
2388
2389 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 2390 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
2391 (vc-version-diff): Use vc-diff-build-argument-list-internal.
2392
bed7f140
SM
23932011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2394
332e62ab
SM
2395 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
2396 add sanity check.
2397
bed7f140
SM
2398 * obsolete/erc-hecomplete.el: Make obsolete.
2399 * obsolete/: Standardize obsolescence info in the header.
2400
f195c582
GM
24012011-04-20 Glenn Morris <rgm@gnu.org>
2402
2403 * calendar/solar.el (solar-horizontal-coordinates):
2404 Use the longitude argument rather than `calendar-longitude'.
2405 (solar-date-next-longitude): Remove unused locals.
2406
cb79b8c0
VJL
24072011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2408
2409 * whitespace.el: New version 13.2.1.
2410
24112011-04-20 felix <EmacsWiki> (tiny change)
2412
2413 * whitespace.el (global-whitespace-mode): keep highlight when
2414 switching between major modes on a file.
2415
602ea69d
SM
24162011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2417
2418 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
2419 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
2420 multi-line comments as well.
2421
06b60517
JB
24222011-04-19 Juanma Barranquero <lekktu@gmail.com>
2423
2424 Lexical-binding cleanup.
2425
2426 * arc-mode.el (archive-mode-revert):
2427 * cmuscheme.el (scheme-interactively-start-process):
2428 * custom.el (custom-initialize-delay):
2429 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
2430 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
2431 * emacs-lock.el (emacs-lock-clear-sentinel):
2432 * ezimage.el (defezimage):
2433 * follow.el (follow-avoid-tail-recenter):
2434 * fringe.el (set-fringe-mode-1):
2435 * generic-x.el (bat-generic-mode-compile):
2436 * help-mode.el (help-info-variable, help-do-xref)
2437 (help-mode-revert-buffer):
2438 * help.el (view-emacs-todo):
2439 * iswitchb.el (iswitchb-completion-help):
2440 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
2441 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
2442 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
2443 * locate.el (locate-update):
2444 * longlines.el (longlines-encode-region)
2445 (longlines-after-change-function):
2446 * outline.el (outline-isearch-open-invisible):
2447 * ps-def.el (declare-function, charset-dimension, char-width)
2448 (encode-char):
2449 * ps-mule.el (ps-mule-plot-string):
2450 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
2451 (recentf-edit-list-select, recentf-edit-list-validate)
2452 (recentf-open-files-action):
2453 * rect.el (delete-whitespace-rectangle-line)
2454 (rectangle-number-line-callback):
2455 * register.el (window-configuration-to-register)
2456 (frame-configuration-to-register):
2457 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
2458 * select.el (xselect-convert-to-string, xselect-convert-to-length)
2459 (xselect-convert-to-targets, xselect-convert-to-delete)
2460 (xselect-convert-to-filename, xselect-convert-to-charpos)
2461 (xselect-convert-to-lineno, xselect-convert-to-colno)
2462 (xselect-convert-to-os, xselect-convert-to-host)
2463 (xselect-convert-to-user, xselect-convert-to-class)
2464 (xselect-convert-to-name, xselect-convert-to-integer)
2465 (xselect-convert-to-atom, xselect-convert-to-identity):
2466 * subr.el (declare, ignore, process-kill-without-query)
2467 (text-clone-maintain):
2468 * terminal.el (te-get-char, te-tic-sentinel):
2469 * tool-bar.el (tool-bar-make-keymap):
2470 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
2471 * type-break.el (type-break-mode, type-break-noninteractive-query):
2472 * view.el (View-back-to-mark):
2473 * wid-browse.el (widget-browse-action, widget-browse-widget)
2474 (widget-browse-widgets, widget-browse-sexp):
2475 * widget.el (define-widget-keywords):
2476 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
2477 Mark unused parameters.
2478
2479 * align.el (align-adjust-col-for-rule): Mark unused parameter.
2480 (align-areas): Remove unused variable `look'.
2481 (align-region): Remove unused variables `real-end' and `pos-list'.
2482
2483 * apropos.el (apropos-score-doc): Remove unused variable `i'.
2484
2485 * bindings.el (mode-line-modified, mode-line-remote):
2486 Mark unused parameters.
2487 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
2488
2489 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
2490 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
2491
2492 * comint.el (comint-history-isearch-pop-state)
2493 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
2494 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
2495 (comint-substitute-in-file-name): Doc fix.
2496
2497 * completion.el (cmpl-statistics-block): Mark unused parameter.
2498 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
2499 (save-completions-to-file, load-completions-from-file):
2500 Remove unused local variable `e'.
2501
2502 * composite.el (compose-chars): Remove unused variable `len'.
2503 (lgstring-insert-glyph): Remove unused variable `g'.
2504 (compose-glyph-string): Remove unused variables `ascent',
2505 `descent', `lbearing' and `rbearing'.
2506 (compose-glyph-string-relative): Remove unused variables
2507 `lbearing', `rbearing' and `wadjust'.
2508 (compose-gstring-for-graphic): Remove unused variables `header',
2509 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
2510 (compose-gstring-for-terminal): Remove unused variables `header'
2511 and `nchars'. Use `let', not `let*'.
2512
2513 * cus-edit.el (Custom-set, Custom-save, custom-reset)
2514 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
2515 (Custom-buffer-done, custom-buffer-create-internal)
2516 (custom-browse-visibility-action, custom-browse-group-tag-action)
2517 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
2518 (widget-magic-mouse-down-action, custom-toggle-parent)
2519 (custom-add-parent-links, custom-toggle-hide-variable)
2520 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
2521 (custom-toggle-hide-face, face, hook, custom-group-link-action)
2522 (custom-face-menu-create, custom-variable-menu-create, get)
2523 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
2524 (custom-reset-standard-save-and-update): Remove unused variable `value'.
2525 (customize-apropos): Remove unused variable `tests'.
2526 (custom-group-value-create): Remove unused variable `hidden-p'.
2527 (sort-fold-case): Declare.
2528
2529 * cus-theme.el (custom-reset-standard-faces-list)
2530 (custom-reset-standard-variables-list): Declare.
2531 (customize-create-theme, custom-theme-revert, custom-theme-write)
2532 (custom-theme-choose-mode, customize-themes, custom-theme-save):
2533 Mark unused parameters.
2534
2535 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
2536
2537 * delim-col.el (delimit-columns-max): Move defvar before first use.
2538
2539 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 2540 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
2541
2542 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
2543 (auto-insert): Declare.
2544 (desktop-restore-file-buffer): Rename desktop-* parameters;
2545 mark unused ones.
2546 (desktop-create-buffer): Rename desktop-* parameters and bind them.
2547 (desktop-buffer): Rename desktop-* parameters.
2548
2549 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2550 (dframe-reposition-frame-xemacs, dframe-help-echo)
2551 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
2552 Mark unused parameters.
2553
2554 * dired-aux.el (backup-extract-version-start, overwrite-query)
2555 (overwrite-backup-query, rename-regexp-query)
2556 (rename-non-directory-query): Declare.
2557 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
2558 (dired-add-entry): Remove unused variable `orig-file-name'.
2559 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
2560 Use parameter PRESERVE-TIME instead of accessing dynamic variable
2561 `dired-copy-preserve-time' directly.
2562 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
2563 (dired-insert-subdir-newpos): Rename unused variable `pos'.
2564
2565 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
2566 (dired-virtual-revert, dired-make-relative-symlink):
2567 Mark unused parameters.
2568 (manual-program): Declare.
2569 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
2570 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
2571 wrapped in `with-no-warnings' to avoid replacing one warning by another.
2572
2573 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
2574
2575 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
2576
2577 * echistory.el (electric-history-in-progress, Helper-return-blurb):
2578 Declare.
2579
2580 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
2581
2582 * electric.el (Electric-command-loop): Rename parameter
2583 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
2584
2585 * expand.el (expand-in-literal): Remove unused variable `here'.
2586
2587 * facemenu.el (facemenu-add-new-color):
2588 Remove unused variable `docstring'.
2589
2590 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
2591 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
2592 (face-attr-construct): Mark unused parameter. Doc fix.
2593 (read-color): Remove unused variable `hex-string'.
2594
2595 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
2596 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
2597 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
2598 (display-buffer-other-frame): Remove unused variable `old-window'.
2599 (kill-buffer-hook): Declare.
2600 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
2601 Mark unused parameters.
2602 (after-find-file): Pass 1 to `auto-save-mode', not t.
2603
2604 * files-x.el (auto-insert): Declare.
2605 (modify-file-local-variable-prop-line): Remove unused variable `val'.
2606
2607 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 2608 variable `buf'. Mark unused parameter.
06b60517
JB
2609 (find-lisp-insert-directory): Mark unused parameter.
2610
2611 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
2612 (format-encode-region): Remove unused variables `cur-buf' and `result'.
2613 (format-common-tail): Remove, unused.
2614 (format-deannotate-region): Remove unused variable `loc'.
2615 (format-annotate-region): Remove unused variable `p'.
2616 (format-annotate-single-property-change): Remove unused variables
2617 `default' and `tail'.
2618
2619 * forms.el (read-file-filter): Declare.
2620 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
2621
2622 * frame.el (frame-creation-function-alist): Mark unused parameter.
2623 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
2624
2625 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
2626 Remove unused parameters.
2627 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
2628 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
2629
2630 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
2631 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
2632 (hfy-prepare-tag-map): Mark unused parameters.
2633 (htmlfontify-buffer): Use `called-interactively-p'.
2634
2635 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
2636 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
2637 (ibuffer-do-occur): Mark unused parameters.
2638 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
2639 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
2640
2641 * ibuffer.el: Don't quote `lambda'.
2642 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
2643 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
2644 Mark unused parameters.
2645
2646 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
2647 (ido-completing-read): Mark unused parameters.
2648 (ido-copy-current-word): Mark unused parameters;
2649 remove unused variable `name'.
2650 (ido-sort-merged-list): Remove unused parameter `dirs'.
2651
2652 * ielm.el (ielm-input-sender): Mark unused parameter.
2653 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
2654 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
2655 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
2656 `ielm-string' as a dynamic variable accessible from the IELM prompt.
2657 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
2658
2659 * image-dired.el (image-dired-display-thumbs): Remove unused
2660 variables `curr-file' and `count'.
2661 (image-dired-remove-tag): Remove unused variable `start'.
2662 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
2663 variable `curr-file'
2664 (image-dired-rotate-original): Remove unused variable `temp-file'.
2665 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
2666 Remove unused variable `file'.
2667 (image-dired-gallery-generate): Remove unused variable `curr'.
2668 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
2669
2670 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
2671
2672 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
2673
2674 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
2675
2676 * isearch.el (minibuffer-history-symbol): Declare.
2677 (isearch-edit-string): Remove unused variable `err'.
2678 (isearch-message-prefix, isearch-message-suffix):
2679 Mark unused parameters.
2680
2681 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
2682
2683 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
2684
2685 * makesum.el (double-column): Remove unused variable `cnt'.
2686
2687 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
2688 (ido-ignore-item-temp-list): Declare.
2689
2690 * mouse-drag.el (mouse-drag-throw): Remove unused variables
2691 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
2692 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
2693 (mouse-drag-drag): Remove unused variables `mouse-delta' and
2694 `mouse-col-delta'.
2695
2696 * mouse-sel.el (mouse-extend-internal):
2697 Remove unused variable `orig-window-frame'.
2698
2699 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
2700 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
2701 Move declarations before first use.
2702 (pcomplete-opt): Mark unused parameters; doc fix.
2703
2704 * proced.el (proced-revert): Mark unused parameter.
2705 (proced-send-signal): Remove unused variable `err'.
2706
2707 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
2708 Rename parameter PREFIX-ARG to ARG.
2709 (ps-basic-plot-string, ps-basic-plot-whitespace):
2710 Mark unused parameters.
2711
2712 * replace.el (replace-count): Define.
2713 (occur-revert-function): Mark unused parameters.
2714 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
2715 (isearch-case-fold-search, isearch-string): Declare.
2716 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
2717 bind `case-fold-search'. Remove unused variables `beg' and `end',
2718 and simplify.
2719 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
2720 COUNT and bind `replace-count'.
2721 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
2722 to COUNT.
2723
2724 * savehist.el (print-readably, print-string-length): Declare.
2725
2726 * shadowfile.el (shadow-expand-cluster-in-file-name):
2727 Remove unused variable `cluster'.
2728 (shadow-copy-file): Remove unused variable `i'.
2729 (shadow-noquery, shadow-clusters, shadow-site-cluster)
2730 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
2731 (shadow-define-literal-group, shadow-define-regexp-group)
2732 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
2733
2734 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
2735 (shell): Use `called-interactively-p'.
2736 (shell-directory-tracker): Remove unused variable `chdir-failure'.
2737
2738 * simple.el (compilation-context-lines, comint-file-name-quote-list)
2739 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
2740 (delete-backward-char): Remove unused variable `ocol'.
2741 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
2742 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
2743 (event-apply-hyper-modifier, event-apply-shift-modifier)
2744 (event-apply-control-modifier, event-apply-meta-modifier):
2745 Mark unused parameters.
2746 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
2747 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
2748
2749 * speedbar.el (speedbar-ignored-directory-expressions)
2750 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
2751 (speedbar-find-file, speedbar-dir-follow)
2752 (speedbar-directory-buttons-follow, speedbar-tag-find)
2753 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2754 (speedbar-buffers-line-directory, speedbar-buffer-click):
2755 Mark unused parameters.
2756 (speedbar-tag-file): Remove unused variable `mode'.
2757 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
2758
2759 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
2760
2761 * talk.el (talk): Remove unused variable `display'.
2762
2763 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
2764 (tar-write-region-annotate): Mark unused parameter.
2765
2766 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
2767 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
2768 Declare them, wrapped in `with-no-warnings' to avoid replacing one
2769 warning by another.
2770
2771 * time-stamp.el (time-stamp-string-preprocess):
2772 Remove unused variable `require-padding'.
2773
2774 * tree-widget.el (widget-glyph-enable): Declare.
2775 (tree-widget-action): Mark unused parameter.
2776
2777 * w32-fns.el (x-get-selection): Mark unused parameter.
2778 (autoload-make-program, generated-autoload-file): Declare.
2779
2780 * wdired.el (wdired-revert): Mark unused parameters.
2781 (wdired-xcase-word): Remove unused variable `err'.
2782
2783 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
2784 (whitespace-help-scroll): Remove unused variable `data-help'.
2785
2786 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
2787 (widget-image-insert, widget-after-change, default)
2788 (widget-default-format-handler, widget-default-notify)
2789 (widget-default-prompt-value, widget-info-link-action)
2790 (widget-url-link-action, widget-function-link-action)
2791 (widget-variable-link-action, widget-file-link-action)
2792 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
2793 (widget-field-prompt-internal, widget-field-action, widget-field-match)
2794 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
2795 (widget-insert-button-action, widget-delete-button-action, visibility)
2796 (widget-documentation-link-action, widget-documentation-string-action)
2797 (widget-const-prompt-value, widget-regexp-match, symbol)
2798 (widget-coding-system-prompt-value)
2799 (widget-key-sequence-value-to-external, sexp)
2800 (widget-sexp-value-to-internal, character, vector, cons)
2801 (widget-choice-prompt-value, widget-boolean-prompt-value)
2802 (widget-color--choose-action): Mark unused parameters.
2803 (widget-item-match-inline, widget-choice-match-inline)
2804 (widget-checklist-match, widget-checklist-match-inline)
2805 (widget-group-match): Rename parameter VALUES to VALS.
2806 (widget-field-value-set): Remove unused variable `size'.
2807 (widget-color-action): Remove unused variables `value' and `start'.
2808
2809 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 2810 variable `dir'. Doc fix.
06b60517
JB
2811 (windmove-find-other-window): Don't pass it.
2812
2813 * window.el (count-windows): Mark unused parameter.
2814 (bw-adjust-window): Remove unused variable `err'.
2815
2816 * woman.el (woman-file-name): Remove unused variable `default'.
2817 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
2818 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
2819 (global-font-lock-mode): Declare.
2820 (woman-decode-region): Mark unused parameter.
2821 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
2822
2823 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
2824 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
2825 (x-dnd-handle-moz-url): Remove unused variable `title'.
2826 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
2827
2828 * xml.el (xml-parse-tag, xml-parse-attlist):
2829 Remove unused variable `pos'.
2830
bc4f7f3d
GM
28312011-04-19 Glenn Morris <rgm@gnu.org>
2832
2833 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
2834 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2835 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2836 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
2837 * calendar/cal-html.el (cal-html-insert-minical):
2838 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
2839 (calendar-mark-date-pattern):
2840 Prefix "unused" locals.
2841
2842 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
2843 optional argument `style'.
2844
2845 * calendar/appt.el (appt-make-list):
2846 * calendar/cal-china.el (calendar-chinese-date-string):
2847 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
2848 (diary-hebrew-yahrzeit):
2849 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
2850 * calendar/calendar.el (calendar-generate-window):
2851 * calendar/time-date.el (time-to-days):
2852 Remove unused local variables.
2853
16a43933
CY
28542011-04-18 Chong Yidong <cyd@stupidchicken.com>
2855
2856 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
2857 glyphless-char-display table.
2858 (tabulated-list-glyphless-char-display): New var.
2859
7eed1860
SS
28602011-04-18 Sam Steingold <sds@gnu.org>
2861
2862 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
2863 to acknowledgments.
2864
4d2d1ccd
GM
28652011-04-17 Glenn Morris <rgm@gnu.org>
2866
2867 * calendar/diary-lib.el (diary-sexp-entry):
2868 * calendar/holidays.el (holiday-sexp):
2869 Set debug-on-error rather than the removed stack-trace-on-error.
2870
239da61d
GM
28712011-04-16 Glenn Morris <rgm@gnu.org>
2872
2873 * progmodes/f90.el: Use lexical-binding.
2874 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
2875
8b05752a
SM
28762011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2877
daca8ba5
SM
2878 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
2879 (mail-mode): Setup mailalias completion here instead.
2880 * mail/mailalias.el: Use lexical-binding.
2881 (pattern, mailalias-done): Declare dynamic.
2882 (mail-completion-at-point-function): New function, from mail-complete.
2883 (mail-complete): Use it.
2884 (mail-completion-expand): New function.
2885 (mail-get-names): Use it.
2886 (mail-directory, mail-directory-process, mail-directory-stream):
2887 Don't use `pattern' for lexically bound arg.
2888
6f542485
SM
2889 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
2890
037e7c3f
SM
2891 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
2892 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
2893 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
2894
8b05752a
SM
2895 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
2896 (byte-save-window-excursion, byte-temp-output-buffer-setup)
2897 (byte-interactive-p): Define them again, for use when inlining
2898 old code.
2899
49093f60
JB
29002011-04-15 Juanma Barranquero <lekktu@gmail.com>
2901
2902 * loadup.el: Use `string-to-number', not `string-to-int'.
2903
b5b8e7de
SM
29042011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2905
2906 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
2907 gud-gdb-complete-command.
2908 (gud-gdb-completions): New function, from gud-gdb-complete-command.
2909 (gud-gdb-completion-at-point): New function.
2910 (gud-gdb-completions): Remove.
2911
f42efeb5
MA
29122011-04-14 Michael Albinus <michael.albinus@gmx.de>
2913
49093f60
JB
2914 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
2915 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
2916 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
2917 whether `executable-find' is bound.
f42efeb5
MA
2918
2919 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
2920
e240cc21
SM
29212011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * minibuffer.el (completion-in-region-mode-predicate)
2924 (completion-in-region-mode--predicate): New vars.
2925 (completion-in-region, completion-in-region--postch)
2926 (completion-in-region-mode): Use them.
2927 (completion--capf-wrapper): Also return the hook function.
2928 (completion-at-point, completion-help-at-point):
2929 Adjust and provide a predicate.
c2bd2ab0
SM
2930
2931 Preserve arg names for advice of subr and lexical functions (bug#8457).
2932 * help-fns.el (help-function-arglist): Consolidate the subr and
2933 new-byte-code cases. Add argument `preserve-names' to extract names
2934 from the docstring when needed.
2935 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
2936 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
2937 (ad-arglist): Use help-function-arglist's new arg.
2938 (ad-definition-type): Use cond.
2939
c183f693
JB
29402011-04-13 Juanma Barranquero <lekktu@gmail.com>
2941
06641a47
JB
2942 * autorevert.el (auto-revert-handler):
2943 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
2944 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
2945 Don't quote lambda.
2946
c183f693
JB
2947 * image-mode.el (image-transform-set-scale):
2948 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
2949
1e3b6001
G
29502011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2951
2952 * net/network-stream.el (network-stream-open-starttls): Only do
2953 opportunistic STARTTLS upgrades if we have built-in gnutls support.
2954 Upgrades via gnutls-cli are too slow to be done opportunistically.
2955
2d6af8dd
JB
29562011-04-12 Juanma Barranquero <lekktu@gmail.com>
2957
2958 * dframe.el (dframe-current-frame): Remove spurious quote.
2959
c0749a51
GM
29602011-04-12 Glenn Morris <rgm@gnu.org>
2961
088d0d61
GM
2962 * calendar/cal-tex.el (cal-tex-end-document):
2963 Try to automatically use latin1 input if needed.
2964
c0749a51
GM
2965 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
2966 Don't try to cons a mark onto an empty element.
2967
5c90fde0
LL
29682011-04-11 Leo Liu <sdl.web@gmail.com>
2969
2970 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
2971 buffers.
2972 (ido-kill-buffer-at-head): Support killing virtual buffers.
2973
369e974d
CY
29742011-04-10 Chong Yidong <cyd@stupidchicken.com>
2975
2976 * minibuffer.el (completion-show-inline-help): New var.
2977 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
2978 (minibuffer-force-complete, minibuffer-complete-word):
2979 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
2980
2981 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
2982 to avoid interference from inline help (Bug#5849).
2983
37f1c930
LL
29842011-04-10 Leo Liu <sdl.web@gmail.com>
2985
099c39a4
JB
2986 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2987 Fix typo.
37f1c930 2988
a32d4040
CY
29892011-04-09 Chong Yidong <cyd@stupidchicken.com>
2990
2991 * image-mode.el (image-toggle-display-image): Signal an error if
2992 not in Image mode.
2993 (image-transform-mode, image-transform-resize)
2994 (image-transform-set-rotation): Doc fix.
daca8ba5 2995 (image-transform-set-resize): Delete.
a32d4040
CY
2996 (image-transform-set-scale, image-transform-fit-to-height)
2997 (image-transform-fit-to-width): Handle image-toggle-display-image
2998 and image-transform-resize directly.
2999
099c39a4 30002011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
3001
3002 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
3003 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
3004 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
3005 (doc-view-mode-map): Add bindings for the new functions.
3006
099c39a4 30072011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
3008
3009 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
3010 Fix typo in docstring.
3011
3726838a
EZ
30122011-04-08 Eli Zaretskii <eliz@gnu.org>
3013
04f33f1e
EZ
3014 * files.el (file-size-human-readable): Produce one digit after
3015 decimal, like "ls -lh" does.
3016
3017 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
3018 the file size representation.
3019
3726838a
EZ
3020 * simple.el (list-processes): If async subprocesses are not
3021 available, error out with a clear error message.
3022
cbb59342
CY
30232011-04-08 Chong Yidong <cyd@stupidchicken.com>
3024
3025 * help.el (help-form-show): New function, to be called from C.
3026 Put help-form output in a buffer named differently than *Help*.
3027
e3971c44
EZ
30282011-04-08 Eli Zaretskii <eliz@gnu.org>
3029
3030 * files.el (file-size-human-readable): New function.
3031
3032 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
3033 computing the representation inline. Don't require `cl'.
3034
12544bbe
GM
30352011-04-08 Glenn Morris <rgm@gnu.org>
3036
a1de6c6a
GM
3037 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
3038
3c4671f4
GM
3039 * net/browse-url.el (browse-url-firefox):
3040 Test system-type, not system-configuration.
3041
b605679c
GM
3042 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
3043 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
3044 Use log-edit-empty-buffer-p. (Bug#7598)
3045
56442f0c
GM
3046 * net/rlogin.el (rlogin-process-connection-type): Simplify.
3047 (rlogin-mode-map): Initialize in the defvar.
3048 (rlogin): Use ignore-errors.
3049
12544bbe
GM
3050 * replace.el (occur-mode-map): Some fixes for menu items.
3051
eb237b0f
AH
30522011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3053
3054 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
3055
7d668f2c
CY
30562011-04-06 Chong Yidong <cyd@stupidchicken.com>
3057
e67a13ab
CY
3058 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
3059 issuing unused warnings.
3060
3061 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
3062 macro directly.
3063
7d668f2c
CY
3064 * simple.el: Lisp reimplement of list-processes. Based on an
3065 earlier reimplementation by Leo Liu, but using tabulated-list.el.
3066 (process-menu-mode): New major mode.
3067 (list-processes--refresh, list-processes):
3068 (process-menu-visit-buffer): New functions.
3069
3070 * files.el (save-buffers-kill-emacs): Don't assume any return
3071 value of list-processes, which is undocumented anyway.
3072
a83ec3c9
CY
30732011-04-06 Chong Yidong <cyd@stupidchicken.com>
3074
3075 * emacs-lisp/tabulated-list.el: New file.
3076
e91a96fe
CY
3077 * emacs-lisp/package.el: Use Tabulated List mode.
3078 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
3079 (package-menu-mode): Derive from tabulated-list-mode. Set up the
3080 table format using Tabulated List mode variables.
3081 (package--push): New macro, replacing package-list-maybe-add.
3082 (package-menu--generate): Use package--push. Renamed from
3083 package--generate-package-list.
3084 (package-menu-refresh, list-packages): Use it.
daca8ba5 3085 (package-menu--print-info): Rename from package-print-package.
e91a96fe 3086 Return insertion data instead of inserting it directly.
099c39a4
JB
3087 (package-menu-describe-package, package-menu-execute):
3088 Use tabulated-list-get-id.
e91a96fe
CY
3089 (package-menu-mark-delete, package-menu-mark-install)
3090 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
3091 (package-menu-mark-obsolete-for-deletion):
3092 Use tabulated-list-put-tag.
e91a96fe
CY
3093 (package--list-packages, package-menu-revert)
3094 (package-menu-get-package, package-menu-get-version)
3095 (package-menu-sort-by-column): Functions deleted.
3096 (package-menu-package-list, package-menu-sort-key): Vars deleted.
3097 (package-menu--status-predicate, package-menu--version-predicate)
3098 (package-menu--name-predicate)
3099 (package-menu--description-predicate): Handle arguments in the
3100 Tabulated List format.
3101 (package-list-packages-no-fetch): Call list-packages.
3102
3e214b50
JB
31032011-04-06 Juanma Barranquero <lekktu@gmail.com>
3104
3105 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 3106 (after-find-file): Don't bind it.
3e214b50
JB
3107 (revert-buffer-in-progress-p): New variable.
3108 (revert-buffer): Bind it.
3109 Pass nil for `after-find-file-from-revert-buffer'.
3110
3111 * saveplace.el (save-place-find-file-hook): Use new variable
3112 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
3113
3f0f1700
GM
31142011-04-06 Glenn Morris <rgm@gnu.org>
3115
c0274801
GM
3116 * Makefile.in (AUTOGEN_VCS): New variable.
3117 (autoloads): Use $AUTOGEN_VCS.
3118
3f0f1700
GM
3119 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
3120 * calendar/calendar.el (calendar-mode-map):
3121 Check for toolkit scroll bars. (Bug#8305)
3122
41ea9e48
CY
31232011-04-05 Chong Yidong <cyd@stupidchicken.com>
3124
3125 * minibuffer.el (completion-in-region--postch)
3126 (completion-in-region-mode): Remove unnecessary messages.
3127
6194c800
JB
31282011-04-05 Juanma Barranquero <lekktu@gmail.com>
3129
33256f14
JB
3130 * font-lock.el (font-lock-refresh-defaults):
3131 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
3132 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
3133
6194c800
JB
3134 * info.el (Info-directory-list, Info-read-node-name-2)
3135 (Info-split-parameter-string): Doc fixes.
3136 (Info-virtual-nodes): Reflow docstring.
3137 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
3138 (Info-apropos-toc-nodes, info-finder, Info-get-token)
3139 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
3140 Fix typos in docstrings.
3141 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
3142 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
3143 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
3144 (Info-restore-desktop-buffer): Mark unused parameters.
3145 (Info-directory-find-file, Info-directory-find-node)
3146 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
3147 (Info-virtual-index-find-node, Info-apropos-find-file)
3148 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 3149 Mark unused parameters; fix typos in docstrings.
6194c800
JB
3150 (Info-virtual-index): Remove unused local variable `nodename'.
3151
b87a8200 31522011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 3153
b87a8200
DD
3154 * net/rcirc.el: Update my e-mail address.
3155 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 3156
3b2ff876
CY
31572011-04-05 Chong Yidong <cyd@stupidchicken.com>
3158
3159 * startup.el (command-line): Save the cursor's theme-face
3160 directly, instead of using face-override-spec.
3161
3162 * custom.el (load-theme): Minor optimization in assigning faces.
3163
8d17e7ca
JB
31642011-04-04 Juanma Barranquero <lekktu@gmail.com>
3165
3166 * help-fns.el (describe-variable): Complete all variables having
3167 documentation, including keywords.
3168 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
3169
2fbc1934
JB
31702011-04-04 Juanma Barranquero <lekktu@gmail.com>
3171
3172 Convert to lexical-binding.
3173
3174 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
3175 (bs--get-marked-string, bs--get-modified-string)
3176 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
3177 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
3178 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
3179
3180 * ehelp.el (electric-help-execute-extended)
3181 (electric-help-ctrl-x-prefix):
3182 * hexl.el (hexl-revert-buffer-function):
3183 * linum.el (linum-after-change, linum-after-scroll):
3184 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
3185
3186 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
3187
74f50695
DU
31882011-04-04 Daiki Ueno <ueno@unixuser.org>
3189
3190 * epa-dired.el:
3191 * epa-mail.el:
3192 * epa-hook.el:
3193 * epa-file.el:
3194 * epa.el:
3195 * epg.el: Use lexical binding.
3196
c11325f7
CY
31972011-04-03 Chong Yidong <cyd@stupidchicken.com>
3198
0d9e9a12
CY
3199 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
3200
c11325f7 3201 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
3202 dictionary case for flyspell-mark-duplications-exceptions.
3203 Use regexp matching for languages.
c11325f7
CY
3204 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
3205 default dictionary (Bug#7926).
3206
da91b5f2
CY
32072011-04-02 Chong Yidong <cyd@stupidchicken.com>
3208
099c39a4
JB
3209 * emacs-lisp/package.el (package--with-work-buffer):
3210 Recognize https URLs.
da91b5f2 3211
099c39a4
JB
3212 * net/network-stream.el: Move from gnus/proto-stream.el.
3213 Change prefix to network-stream throughout.
da91b5f2
CY
3214 (open-protocol-stream): Merge into open-network-stream, leaving
3215 open-protocol-stream as an alias. Handle nil BUFFER args.
3216
3217 * subr.el (open-network-stream): Move to net/network-stream.el.
3218
afa8e9f6
GM
32192011-04-02 Glenn Morris <rgm@gnu.org>
3220
1d2e369d
GM
3221 * find-dired.el (find-exec-terminator): New option.
3222 (find-ls-option): Test for -ls support.
3223 (find-ls-subdir-switches): Test for -b in find-ls-option.
3224 (find-dired, find-grep-dired): Doc fixes.
3225 (find-dired): Use find-exec-terminator.
3226
8abb7da8 3227 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
3228 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
3229 (find-name-arg): Remove purecopy.
8abb7da8 3230
f3ca7378
GM
3231 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
3232 (grep-compute-defaults): Check for `-exec COMMAND +' support.
3233 Set grep-find-use-xargs, grep-find-command, and grep-find-template
3234 accordingly. Don't add the null-device if not needed.
3235
afa8e9f6
GM
3236 * files.el (save-some-buffers): Doc fix.
3237
35eae264
EZ
32382011-04-02 Eli Zaretskii <eliz@gnu.org>
3239
3240 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
3241
26b51db5
JB
32422011-04-01 Juanma Barranquero <lekktu@gmail.com>
3243
3244 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
3245 Use `dolist' rather than `mapcar'.
3246
7200d79c
SM
32472011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3248
03408648 3249 Add lexical binding.
7200d79c 3250
03408648
SM
3251 * subr.el (apply-partially): Use new closures rather than CL.
3252 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
3253 (dolist, dotimes): Use slightly different expansion for lexical code.
3254 (functionp): Move to C.
3255 (letrec): New macro.
3256 (with-wrapper-hook): Use it and apply-partially instead of CL.
3257 (eval-after-load): Preserve lexical-binding.
3258 (save-window-excursion, with-output-to-temp-buffer): Turn them
3259 into macros.
7200d79c 3260
03408648
SM
3261 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
3262
3263 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
3264 than the arglist.
3265 (help-add-fundoc-usage): Don't add `Not documented'.
3266 (help-function-arglist): Handle closures, subroutines, and new
3267 byte-code-functions.
3268 (help-make-usage): Remove leading underscores.
3269 (describe-function-1): Handle closures.
3270 (describe-variable): Use special-variable-p for completion.
3271
3272 * files.el (lexical-binding): Declare safe.
f488fb65 3273
03408648
SM
3274 * emacs-lisp/pcase.el: Don't use destructuring-bind.
3275 (pcase--memoize): Rename from pcase-memoize. Change weakness.
3276 (pcase): Add `let' pattern.
3277 Change memoization so it actually works.
3278 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
3279 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
3280 <let>: New case.
f488fb65 3281
03408648
SM
3282 * emacs-lisp/macroexp.el: Use lexical binding.
3283 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
3284 Don't convert ' to #' without checking that it's indeed quoting
3285 a lambda.
3286
3287 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 3288 Use eval-sexp-add-defvars.
03408648
SM
3289 (eval-sexp-add-defvars): New fun.
3290
3291 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
3292
3293 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
3294 Don't autoload.
3295 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
3296 than the internal `byte-compile-lambda'.
3297 (defmethod): Don't hide code under quotes.
3298 (eieio-defmethod): New `code' argument.
3299
3300 * emacs-lisp/eieio-comp.el: Remove.
3301
3302 * emacs-lisp/edebug.el (edebug-eval-defun)
3303 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
3304 (edebug-toggle): Avoid `eval'.
3305
3306 * emacs-lisp/disass.el (disassemble-internal): Handle new
3307 `closure' objects.
3308 (disassemble-1): Handle new byte codes.
3309
3310 * emacs-lisp/cl.el (pushnew): Silence warning.
3311
3312 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
3313 (cl-byte-compile-throw): Remove.
3314 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
3315
3316 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
3317 closures.
3318
3319 * emacs-lisp/cconv.el: New file.
3320
3321 * emacs-lisp/bytecomp.el: Use lexical binding instead of
3322 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
3323 (byte-compile-initial-macro-environment):
3324 Handle declare-function here.
3325 (byte-compile--lexical-environment): New var.
3326 (byte-stack-ref, byte-stack-set, byte-discardN)
3327 (byte-discardN-preserve-tos): New lap codes.
3328 (byte-interactive-p): Don't use any more.
3329 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
3330 New macros.
3331 (byte-compile-lapcode): Use them and handle new lap codes.
3332 (byte-compile-obsolete): Remove.
3333 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
3334 (byte-compile-arglist-warn): Check late def of inlinable funs.
3335 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
3336 since they should have been expanded by now.
3337 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
3338 (byte-compile-from-buffer): Remove unused second arg.
3339 (byte-compile-preprocess): New function.
3340 (byte-compile-toplevel-file-form): New function to distinguish
3341 file-form calls from outside from file-form calls from hunk-handlers.
3342 (byte-compile-file-form): Simplify.
3343 (byte-compile-file-form-defsubst): Remove.
3344 (byte-compile-file-form-defmumble): Simplify now that
3345 byte-compile-lambda always returns a byte-code-function.
3346 (byte-compile): Preprocess.
3347 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
3348 Remove, not used any more.
3349 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
3350 (byte-compile-make-args-desc): New funs.
3351 (byte-compile-lambda): Handle lexical functions. Always return
3352 a byte-code-function.
3353 (byte-compile-reserved-constants): New var, to make up room for
3354 closed-over variables.
3355 (byte-compile-constants-vector): Obey it.
3356 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
3357 (byte-compile-macroexpand-declare-function): New function.
3358 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
3359 byte-code-functions.
3360 (byte-compile-form): Check obsolescence here.
3361 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
3362 (byte-compile-variable-ref): Remove.
3363 (byte-compile-dynamic-variable-op): New fun.
3364 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3365 (byte-compile-variable-set): New funs.
3366 (byte-compile-discard): Add 2 args.
3367 (byte-compile-stack-ref, byte-compile-stack-set)
3368 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
3369 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
3370 macroexpand-all instead.
3371 (byte-compile-quote-form): Remove.
3372 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
3373 (byte-compile-bind, byte-compile-unbind): New funs.
3374 (byte-compile-let): Handle let* and lexical binding.
3375 (byte-compile-let*): Remove.
3376 (byte-compile-catch, byte-compile-unwind-protect)
3377 (byte-compile-track-mouse, byte-compile-condition-case):
3378 Handle a new :fun-body form, used for lexical scoping.
3379 (byte-compile-save-window-excursion)
3380 (byte-compile-with-output-to-temp-buffer): Remove.
3381 (byte-compile-defun): Simplify.
3382 (byte-compile-stack-adjustment): New fun.
3383 (byte-compile-out): Use it.
3384 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
3385
3386 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
3387 handler any more.
3388
3389 * emacs-lisp/byte-opt.el: Use lexical binding.
3390 (byte-inline-lapcode): Remove (to bytecomp).
3391 (byte-compile-inline-expand): Pay attention to inlining to/from
3392 lexically bound code.
3393 (byte-compile-unfold-lambda): Don't handle byte-code-functions
3394 any more.
3395 (byte-optimize-form-code-walker): Don't handle save-window-excursion
3396 any more and don't call compiler-macros.
3397 (byte-compile-splice-in-already-compiled-code): Remove.
3398 (byte-code): Don't inline any more.
3399 (disassemble-offset): Receive `bytes' as argument rather than via
3400 dynamic scoping.
3401 (byte-compile-tag-number): Declare before first use.
3402 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
3403 `return' even if make-spliceable.
3404 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
3405 obsolete interactive-p.
3406 (byte-optimize-lapcode): Optimize new lap-codes.
3407 Don't trip up on new form of `byte-constant' lap code.
3408
3409 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
3410
3411 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
3412
3413 * custom.el (custom-initialize-default, custom-declare-variable):
3414 Use `defvar'.
3415
3416 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
3417 New variables.
3418 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
3419 (COMPILE_FIRST): Add macroexp and cconv.
3420 * makefile.w32-in: Mirror changes in Makefile.in.
3421
3422 * vc/cvs-status.el:
3423 * vc/diff-mode.el:
3424 * vc/log-edit.el:
3425 * vc/log-view.el:
3426 * vc/smerge-mode.el:
3427 * textmodes/bibtex-style.el:
3428 * textmodes/css.el:
3429 * startup.el:
3430 * uniquify.el:
da91b5f2
CY
3431 * minibuffer.el:
3432 * newcomment.el:
3433 * reveal.el:
3434 * server.el:
3435 * mpc.el:
3436 * emacs-lisp/smie.el:
3437 * doc-view.el:
3438 * dired.el:
03408648
SM
3439 * abbrev.el: Use lexical binding.
3440
0f0c1f27
EZ
34412011-04-01 Eli Zaretskii <eliz@gnu.org>
3442
3443 * info.el (info-display-manual): New function.
3444
c82b2579
SM
34452011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
3446
3447 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
3448
221ddf68
TH
34492011-03-31 Tassilo Horn <tassilo@member.fsf.org>
3450
3451 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 3452 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 3453
cba6e77e
GM
34542011-03-31 Glenn Morris <rgm@gnu.org>
3455
e040639f
GM
3456 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
3457
cba6e77e
GM
3458 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
3459
6d0f1c9e
CS
34602011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
3461
3462 * progmodes/python.el (python-default-interpreter)
3463 (python-python-command-args, python-jython-command-args)
3464 (python-which-shell, python-which-args, python-which-bufname)
3465 (python-file-queue, python-comint-output-filter-function)
3466 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
3467 variables and functions.
3468
3e2d70fd
SM
34692011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
3472 (completion-in-region-mode): New minor mode.
3473 (completion-in-region): Use it.
3474 (completion-in-region--data, completion-in-region-mode-map): New vars.
3475 (completion-in-region--postch): New function.
3476 (completion--capf-misbehave-funs, completion--capf-safe-funs):
3477 New vars.
3478 (completion--capf-wrapper): New function.
3479 (completion-at-point): Use it to track well-behavedness of
3480 hook functions.
3481 (completion-help-at-point): New command.
3482
f3e4086c
JM
34832011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
3484
3485 * vc/add-log.el (add-change-log-entry): Don't use whitespace
3486 syntax class to search for whitespace on a single line
3487 (Message-ID: <4D938140.4030905@redhat.com>).
3488
eb7ffc14
LL
34892011-03-30 Leo Liu <sdl.web@gmail.com>
3490
3491 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
3492 New commands.
3493 (edit-abbrevs-map): Bind them here.
3494 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
3495
d806ab68
KM
34962011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
3497
3498 * allout.el (allout-hide-by-annotation, allout-flag-region):
3499 Reduce possibility of overlay leakage by making them volatile.
3500
3501 * allout-widgets.el (allout-widgets-tally): Define as nil so the
3502 hash is not shared between buffers. Mode initialization is
3503 responsible for giving it a useful starting value.
3504 (allout-item-span): Reduce possibility of overlay leakage by
3505 making them volatile.
3506 (allout-widgets-count-buttons-in-region): Add diagnostic function
3507 for tracking down button overlay leaks.
3508
ea622834
LL
35092011-03-29 Leo Liu <sdl.web@gmail.com>
3510
3511 * ido.el (ido-read-internal): Use the default history var
3512 minibuffer-history if no HISTORY is specified.
3513
b62f8267
G
35142011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
3515
03408648
SM
3516 * net/imap.el (imap-shell-open, imap-process-connection-type):
3517 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
3518 Kerberos, SSL, other subprocesses.
3519
947b6566
LL
35202011-03-28 Leo Liu <sdl.web@gmail.com>
3521
3522 * abbrev.el (abbrev-table-empty-p): New function.
3523 (prepare-abbrev-list-buffer): Place empty abbrev tables after
3524 nonempty ones. (Bug#5937)
3525
5ffb62aa
JD
35262011-03-27 Jan Djärv <jan.h.d@swipnet.se>
3527
3528 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
3529
7a097943
LL
35302011-03-27 Leo Liu <sdl.web@gmail.com>
3531
3532 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
3533 for foreground and background colors.
3534 (ansi-color-make-color-map): Adapt.
3535
c5b40130
LL
35362011-03-25 Leo Liu <sdl.web@gmail.com>
3537
1f48f7d2
LL
3538 * midnight.el (midnight-time-float): Remove. Note it calculates
3539 the microsecond component incorrectly and seconds-to-time does the
3540 same job.
625897ec 3541 Remove redundant (require 'timer).
1f48f7d2 3542
c5b40130
LL
3543 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
3544 (ido-completions): Remove unused arguments. (Bug#8329)
3545
d86d2721
SM
35462011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
3547
3548 * minibuffer.el (completion--flush-all-sorted-completions):
3549 Remove itself from hook.
3550 (completion-at-point): Let the functions perform the completion
3551 immediately and return nil or t.
3552 * comint.el (comint-dynamic-complete-functions): Now identical to
3553 completion-at-point-functions.
3554 (comint-dynamic-list-input-ring): Remove unused var `index'.
3555 (comint--match-partial-filename, comint--unquote&expand-filename):
3556 New funs, split from comint-match-partial-filename.
3557 (comint-dynamic-complete): Use completion-at-point.
3558 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
3559
e8974c48
DA
35602011-03-24 Drew Adams <drew.adams@oracle.com>
3561
3562 * thingatpt.el: Support `defun'.
3563
def71b5e
LL
35642011-03-23 Leo Liu <sdl.web@gmail.com>
3565
cb5af48e
LL
3566 * abbrevlist.el: Move to obsolete/abbrevlist.el.
3567
def71b5e
LL
3568 * help-mode.el (help-mode-finish): Tweak regexp.
3569
927c53e7
GM
35702011-03-23 Glenn Morris <rgm@gnu.org>
3571
18d05bed
GM
3572 * eshell/esh-opt.el (eshell-eval-using-options):
3573 Do not bind unused local variable `eshell-option-stub'.
3574
927c53e7
GM
3575 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
3576
9d0da923
JB
35772011-03-22 Juanma Barranquero <lekktu@gmail.com>
3578
3579 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
3580 keymap variable in `with-no-warnings' to avoid a warning when the
3581 keymap has been already `defconst'ed.
3582
4b978a67
LL
35832011-03-22 Leo Liu <sdl.web@gmail.com>
3584
3585 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
3586 encode all chars in abbrevs; otherwise use emacs-mule or
3587 utf-8-emacs. (Bug#8308)
3588
5fd62452
JB
35892011-03-22 Juanma Barranquero <lekktu@gmail.com>
3590
0b1596c6
JB
3591 * simple.el (backward-delete-char-untabify):
3592 Avoid warning about using `delete-backward-char'.
3593
5fd62452
JB
3594 * image.el (image-type-file-name-regexps): Make it variable.
3595 `imagemagick-register-types' modifies it, and the user may want
3596 to add new extensions for known image types.
3597 (imagemagick-register-types): Throw error if not using ImageMagick.
3598
0b4e93f1
LL
35992011-03-22 Leo Liu <sdl.web@gmail.com>
3600
3601 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
3602 located before rcirc-prompt-end-marker.
3603 (rcirc-complete): Error if point is not after rcirc prompt.
3604 Handle the case when table is nil.
9882e214 3605 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 3606
fccee4ab
CY
36072011-03-22 Chong Yidong <cyd@stupidchicken.com>
3608
3609 * custom.el (custom--inhibit-theme-enable): Make it affect only
3610 custom-theme-set-variables and custom-theme-set-faces.
3611 (provide-theme): Ignore custom--inhibit-theme-enable.
3612 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
3613 (custom-enabling-themes): Delete variable.
d86d2721
SM
3614 (enable-theme): Accept only loaded themes as arguments.
3615 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
3616 (custom-enabled-themes): Forbid themes from setting this.
3617 Eliminate use of custom-enabling-themes.
3618 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 3619
af896da6
LL
36202011-03-21 Leo Liu <sdl.web@gmail.com>
3621
3622 * ido.el (ido-read-internal): Add ido-selected to history instead
3623 of user input.
3624
78f64af0
SM
36252011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * subr.el (deferred-action-list, deferred-action-function):
3628 Mark obsolete.
3629
b16ac1ec
LL
36302011-03-21 Leo Liu <sdl.web@gmail.com>
3631
810f7698
LL
3632 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
3633 change on 2011-02-13 (bug#8309).
3634
b16ac1ec
LL
3635 * minibuffer.el (read-file-name-function): Change default value.
3636 (read-file-name--defaults): Rename from read-file-name-defaults.
3637 (read-file-name-default): Rename from read-file-name.
3638 (read-file-name): Call read-file-name-function.
3639
4e05e67e
GM
36402011-03-21 Glenn Morris <rgm@gnu.org>
3641
3642 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
3643 Doc fixes.
3644
4359915b
CY
36452011-03-21 Chong Yidong <cyd@stupidchicken.com>
3646
3647 * cus-theme.el: Add missing provide statement.
3648 (customize-create-theme): Extract theme value correctly.
3649 (custom-theme-visit-theme): Autoload.
3650 (customize-create-theme): Prompt before inserting default faces.
3651
1fe275ee
JB
36522011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
3653
3654 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
3655 units and musical notes.
3656
3ec03f7e
LL
36572011-03-20 Leo <sdl.web@gmail.com>
3658
3659 * ido.el (ido-read-internal): Use completing-read-default.
3660 (ido-completing-read): Fix compatibility with completing-read.
3661
7d476bde
CO
36622011-03-20 Christian Ohler <ohler@gnu.org>
3663
3664 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
3665 (ert-delete-all-tests): Use `called-interactively-p' rather than
3666 `interactive-p'.
3667 (ert--make-xrefs-region): Respect END.
3668
fe0fb33e
CY
36692011-03-19 Chong Yidong <cyd@stupidchicken.com>
3670
ff854b0b
CY
3671 * dired-aux.el (dired-create-directory): Signal an error if the
3672 directory already exists (Bug#8246).
3673
fe0fb33e
CY
3674 * facemenu.el (list-colors-display): Call list-faces-display
3675 inside with-help-window.
3676 (list-colors-print): Use display property to align the final
3677 column, instead of checking window-width.
3678
576bce32
EZ
36792011-03-19 Eli Zaretskii <eliz@gnu.org>
3680
3681 * emerge.el (emerge-metachars): Separate value for ms-dos and
3682 windows-nt systems.
3683 (emerge-protect-metachars): Quote correctly for ms-dos and
3684 windows-nt systems.
3685
89c41d68 36862011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
3687
3688 * info.el (info-initialize): Replace all uses of `:' with
3689 path-separator for compatibility with non-Unix systems.
3690 Cache quoting of path-separator. (Bug#8258)
3691
b14e3e21 36922011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
3693
3694 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
3695 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
3696 (mouse-avoidance-mode): Fix typos in docstrings.
3697
4525ce3e
CY
36982011-03-19 Chong Yidong <cyd@stupidchicken.com>
3699
3700 * startup.el (package-subdirectory-regexp): Move from package.el.
3701 Omit \\` and \\', and let callers add them.
3702
3703 * emacs-lisp/package.el (package-strip-version)
3704 (package-load-all-descriptors): Add \\` and \\' to
3705 package-subdirectory-regexp before using it.
3706 (package-untar-buffer): New arg DIR; ensure that file untars only
3707 into this expected directory. Remove superfluous delete-region.
3708 (package-unpack): Caller changed.
3709 (package-tar-file-info): Use package-subdirectory-regexp.
3710
a904a09a 37112011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 3712
a904a09a
SM
3713 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
3714 diff-mode-shared-map (bug#8284).
3715 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
3716
37172011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3718
3719 * calendar/time-date.el (format-seconds): Use assoc instead of
3720 assoc-string, since assoc-string doesn't exist in XEmacs.
3721
171fc304
JB
37222011-03-17 Juanma Barranquero <lekktu@gmail.com>
3723
3724 * custom.el (custom-known-themes): Reflow docstring.
3725 (custom-theme-load-path): Fix typo in docstring.
3726 (load-theme): Fix typo in error message.
3727 (custom-available-themes, custom-variable-theme-value):
3728 Use `let', not `let*'.
3729
d71990a1
JB
37302011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3731
3732 * calc/README: Mention inclusion of musical notes.
3733
3734 * calc/calc-units.el (calc-lu-quant): Rename from
3735 `calc-logunits-quantity'.
3736 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
3737 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
3738 (calc-db): Rename from `calc-dblevel'.
3739 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
3740 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
3741 (calc-np): Rename from `calc-nplevel'.
3742 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
3743 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
3744 (calc-lu-plus): Rename from `calc-logunits-add'.
3745 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
3746 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
3747 (calc-lu-minus): Rename from `calc-logunits-sub'.
3748 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
3749 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
3750 (calc-lu-times): Rename from `calc-logunits-mul'.
3751 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
3752 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
3753 (calc-lu-divide): Rename from `calc-logunits-div'.
3754 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
3755 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
3756
3757 * calc/calc-ext.el (calc-init-extensions): Update the names of the
3758 functions being autoloaded.
3759
3760 * calc/calc.el (calc-lu-power-reference): Rename from
3761 `calc-logunits-power-reference'.
3762 (calc-lu-field-reference): Rename from
3763 `calc-logunits-field-reference'.
3764
3765 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
3766
40c2934b
SM
37672011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3768
3769 * minibuffer.el (completion-all-sorted-completions):
3770 Use :completion-cycle-penalty text property if present.
3771
b0911414
KM
37722011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
3773
3774 * allout.el (allout-yank-processing): Adjust for new rebulleting
3775 regime so bullet being yanked is used without prompting the user
3776 for a choice.
3777
8a05b668
JB
37782011-03-16 Juanma Barranquero <lekktu@gmail.com>
3779
3780 * startup.el (command-line): Warn the user that _emacs is deprecated.
3781
5ba5fb81
JB
37822011-03-16 Juanma Barranquero <lekktu@gmail.com>
3783
3784 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
3785 (delphi-verbose, delphi-comment-face, delphi-string-face)
3786 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
3787 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
3788 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
3789 (delphi-new-comment-line, delphi-font-lock-defaults)
3790 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
3791 Fix typos in docstrings.
3792
2dab465b
KM
37932011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
3794
5ba5fb81 3795 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
3796 Invert the roles of character and string values for INSTEAD, so a
3797 string is used for the more common case of a defaulting prompt.
3798
0adf5618
SM
37992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3800
3801 * progmodes/ruby-mode.el (ruby-backward-sexp):
3802 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
3803 * play/gamegrid.el (gamegrid-make-face):
3804 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
3805 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
3806 * notifications.el (notifications-notify):
3807 * net/xesam.el (xesam-search-engines):
3808 * net/quickurl.el (quickurl-list-insert):
3809 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
3810
d72700e5
CY
38112011-03-15 Chong Yidong <cyd@stupidchicken.com>
3812
3813 * startup.el (command-line): Update package subdirectory regexp.
3814
49c5410a
SM
38152011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3816
c6eee9aa
SM
3817 * allout.el (allout-abbreviate-flattened-numbering)
3818 (allout-mode-deactivate-hook): Fix up obsolescence "date".
3819
49c5410a
SM
3820 * subr.el (read-char-choice): Only show the cursor after the prompt,
3821 not after the answer.
3822
047b2bb9
KR
38232011-03-15 Kevin Ryde <user42@zip.com.au>
3824
3825 * help-fns.el (variable-at-point): Skip leading quotes, if any
3826 (bug#8253).
3827
0a57d256
SM
38282011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3829
3830 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
3831 warning message.
3832
77c992bc
MA
38332011-03-14 Michael Albinus <michael.albinus@gmx.de>
3834
3835 * shell.el (shell): When called interactively, offer to change the
3836 shell file name on remote hosts.
3837
eebc475d
TZ
38382011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
3839
3840 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
3841 integration for LDAP parameters. The host, base, user or binddn,
3842 and secret tokens can be specified in a netrc file, for instance.
3843 This is optional because an `auth-source' parameter must be
3844 specified in the search attributes.
3845
9d05d1ba
JB
38462011-03-13 Juanma Barranquero <lekktu@gmail.com>
3847
3848 * help.el (describe-mode): Link to the mode's definition (bug#8185).
3849
09d9db2c
GM
38502011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3851
3852 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
3853 into declaration. Remove redundant and harmful binding.
3854
38552011-03-12 Eli Zaretskii <eliz@gnu.org>
3856
3857 * files.el (file-ownership-preserved-p): Pass `integer' as an
3858 explicit 2nd argument to `file-attributes'. If the file's owner
3859 is the Administrators group on Windows, and the current user is
3860 Administrator, consider that a match.
3861
3862 * server.el (server-ensure-safe-dir): Consider server directory
3863 safe on MS-Windows if its owner is the Administrators group while
3864 the current Emacs user is Administrator. Use `=' to compare
3865 numerical UIDs, since they could be integers or floats.
3866
219bd536
JB
38672011-03-12 Juanma Barranquero <lekktu@gmail.com>
3868
3869 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
3870
f3afd36b
MA
38712011-03-12 Michael Albinus <michael.albinus@gmx.de>
3872
3873 Sync with Tramp 2.2.1.
3874
3875 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
3876
3877 * net/trampver.el: Update release number.
3878
3aaaa6f1
SM
38792011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3880
94642599
SM
3881 * progmodes/compile.el (compilation--previous-directory): Fix up
3882 various nil/dead-marker mismatches (bug#8014).
3883 (compilation-directory-properties, compilation-error-properties):
3884 Don't call it at a position past the one we're about to change.
3885
3aaaa6f1
SM
3886 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
3887 Disable obsolescence warnings in the file that declares it.
3888
14239447
KM
38892011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
3890
099c39a4
JB
3891 * allout-widgets.el (allout-widgets-tally):
3892 Initialize allout-widgets-tally as a hash table rather than nil to
3893 prevent mode-line redisplay warnings. Also, clarify the module
3894 description and fix a comment typo.
14239447 3895
135e287c
JB
38962011-03-11 Juanma Barranquero <lekktu@gmail.com>
3897
3898 * help-fns.el (describe-variable): Don't complete keywords.
3899 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
3900
ffbf300e
CY
39012011-03-10 Chong Yidong <cyd@stupidchicken.com>
3902
ba08b241
CY
3903 * emacs-lisp/package.el (package-version-join): Impose a standard
3904 string representation for pre/alpha/beta version lists.
3905 (package-unpack-single): Standardize the directory name by passing
3906 it through package-version-join.
3907 (package-strip-rcs-id): Accept any version string that does not
3908 signal an error in version-to-list.
ffbf300e 3909
f346fd6b
MA
39102011-03-10 Michael Albinus <michael.albinus@gmx.de>
3911
3912 * simple.el (delete-trailing-whitespace): Return nil for the
3913 benefit of `write-file-functions'.
3914
ccb55d27
GM
39152011-03-10 Glenn Morris <rgm@gnu.org>
3916
5ceaac0c
GM
3917 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
3918
02da65ff
GM
3919 * vc/vc-git.el (vc-git-program): New option.
3920 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
3921 (vc-git--call): Use it.
3922
b2f603cc
GM
3923 * eshell/esh-util.el (eshell-condition-case): Doc fix.
3924
5772caab
GM
3925 * cus-edit.el (Custom-newline): If no button at point, look
3926 for a subgroup button at start-of-line. (Bug#2298)
3927
ccb55d27
GM
3928 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
3929
ec6ecaed
JD
39302011-03-10 Julien Danjou <julien@danjou.info>
3931
3932 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
3933 `cursor-type' is nil.
3934
9d5aa01d
JB
39352011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
3936
3937 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
3938
b6a5875b
KM
39392011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
3940
3941 * allout.el Summary: Change so yank of distinctive-bullet items
3942 preserves the existing header prefix, rebulleting it if necessary,
3943 rather than replacing it. This is necessary for proper operation
3944 of cooperative addons like allout-widgets.
219bd536 3945 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
3946 SOLICIT arg to INSTEAD, and interpret additionally a string value
3947 as alternate bullet to be used, instead of prompting the user for
3948 a bullet character.
3949
ee545c35
MA
39502011-03-09 Michael Albinus <michael.albinus@gmx.de>
3951
d86d2721
SM
3952 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3953 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
3954 `tramp-default-port'.
3955
c47971d7
DD
39562011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3957
3958 * net/rcirc.el (rcirc-handler-001): Remove useless
3959 with-rcirc-process-buffer.
3960 (rcirc-check-auth-status): Swap arguments to string-match.
3961
13522cb4
GM
39622011-03-09 Glenn Morris <rgm@gnu.org>
3963
0be6f4f1
GM
3964 * shell.el (shell-mode):
3965 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
3966
13522cb4
GM
3967 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
3968 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
3969
515de2e3
CY
39702011-03-08 Chong Yidong <cyd@stupidchicken.com>
3971
3972 * emacs-lisp/package.el (package-refresh-contents)
3973 (package-menu-execute): Use condition-case-no-debug.
3974
b511b994
MA
39752011-03-08 Michael Albinus <michael.albinus@gmx.de>
3976
3977 * simple.el (shell-command-to-string): Use `process-file'.
3978
3979 * emacs-lisp/package.el (package-tar-file-info): Handle also
3980 remote files.
3981
d86d2721
SM
3982 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3983 Use `equal' for upload base check.
b511b994 3984
25bbfb31
AM
39852011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
3986
3987 * textmodes/texinfo.el (texinfo-environments):
3988 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
3989
be996521
GM
39902011-03-08 Glenn Morris <rgm@gnu.org>
3991
e9c8529f
GM
3992 * cus-start.el (cursor-in-non-selected-windows):
3993 Fix :set quoting oddness. (Bug#8192)
3994
be996521
GM
3995 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
3996 in some setf expressions. (Bug#2159)
3997
2bb5649e
CY
39982011-03-08 Chong Yidong <cyd@stupidchicken.com>
3999
4000 * custom.el (custom-available-themes): Return themes in
4001 alphabetical order.
4002
33383987 4003See ChangeLog.15 for earlier changes.
e3d51b27
MR
4004
4005;; Local Variables:
4006;; coding: utf-8
e3d51b27
MR
4007;; End:
4008
33383987 4009 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
4010
4011 This file is part of GNU Emacs.
4012
4013 GNU Emacs is free software: you can redistribute it and/or modify
4014 it under the terms of the GNU General Public License as published by
4015 the Free Software Foundation, either version 3 of the License, or
4016 (at your option) any later version.
4017
4018 GNU Emacs is distributed in the hope that it will be useful,
4019 but WITHOUT ANY WARRANTY; without even the implied warranty of
4020 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4021 GNU General Public License for more details.
4022
4023 You should have received a copy of the GNU General Public License
4024 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.