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