* lisp/mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
5233edd7
GM
12011-05-13 Glenn Morris <rgm@gnu.org>
2
5237a44f
GM
3 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
4
8340026c
GM
5 * mail/sendmail.el (sendmail-program): Try executable-find first.
6 (sendmail-send-it): sendmail-program cannot be unbound.
7
5233edd7 8 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9 (appt-time-msg-list): Doc fix.
a5464014 10 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11
92d10796
AS
122011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13
14 * progmodes/ld-script.el (ld-script-keywords)
15 (ld-script-builtins): Update keywords list.
16
914a0ae1
SM
172011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18
c89be45f
SM
19 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20
914a0ae1
SM
21 * shell.el (shell-completion-vars): New function.
22 (shell-mode):
23 * simple.el (read-shell-command): Use it.
24 (blink-matching-open): No need for " [...]" in minibuffer-message.
25
98dc3df3
GM
262011-05-12 Glenn Morris <rgm@gnu.org>
27
28 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
29 (appt-check): Simplify.
30
d2fc7e3d 312011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21
EZ
32
33 * smerge-mode.el (smerge-resolve): Use null-device rather than a
34 literal "/dev/null".
35
d2fc7e3d 362011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
37
38 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
39 Fix typo.
40
d2fc7e3d 412011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 42
3f254caa
SM
43 * progmodes/which-func.el (which-function):
44 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
45 which might not be defined (Bug#8260).
46
d45885f7
GM
472011-05-12 Glenn Morris <rgm@gnu.org>
48
49 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
50 Let byte-compile-initial-macro-environment always take precedence.
51
488086f4
SM
522011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
53
54 * net/rcirc.el: Add support for SSL/TLS connections.
55 (rcirc-server-alist): New field `encryption'.
56 (rcirc): Check `encryption' settings.
57 (rcirc-connect): New arg `encryption'. Use open-network-stream.
58 Merge make-local-variable into `set'.
59 (rcirc--connection-open-p): New function.
60 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
61 the process is not a network process (e.g. running gnutls-cli).
62 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
63 Make rcirc-(en|de)code-coding-system local here.
64 (rcirc-mode): Merge make-local-variable into `set'.
65 (rcirc-parent-buffer): Make permanent buffer-local.
66 (rcirc-multiline-minor-mode): Don't do it here.
67 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
68 there's no server buffer.
69
7d3b9d44
GM
702011-05-11 Glenn Morris <rgm@gnu.org>
71
f64049c6
GM
72 * newcomment.el (comment-kill): Prefix "unused" local.
73
93c9df73
GM
74 * term/w32console.el (get-screen-color): Declare.
75
7d3b9d44
GM
76 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
77 Handle symbol elements of byte-compile-initial-macro-environment.
78
9e2dd53f
LL
792011-05-10 Leo Liu <sdl.web@gmail.com>
80
488086f4
SM
81 * bookmark.el (bookmark-bmenu-mode-map):
82 Bind bookmark-bmenu-search to `/'.
8b340240 83
9e2dd53f 84 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
85 (footnote-unicode-string, footnote-unicode-regexp): New variable.
86 (Footnote-unicode): New function.
87 (footnote-style-alist): Add unicode style to the list.
88 (footnote-style): Doc fix.
9e2dd53f 89
79b70037
GM
902011-05-10 Jim Meyering <meyering@redhat.com>
91
92 Fix doubled-word typos.
93 * international/quail.el (quail-insert-kbd-layout): and and -> and
94 * kermit.el: and and -> and
95 * net/ldap.el (ldap-search-internal): to to -> to
96 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
97 * progmodes/js.el (js-mode): and and -> and
98 * textmodes/artist.el (artist-move-to-xy): at at -> at
99 (artist-draw-region-trim-line-endings): if if -> if
100 And Safetyc -> Safety.
101 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
102
b8f82dc1
GM
1032011-05-10 Glenn Morris <rgm@gnu.org>
104 Stefan Monnier <monnier@iro.umontreal.ca>
105
106 * files.el (hack-one-local-variable-eval-safep):
107 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
108
4f99f44b
GM
1092011-05-10 Glenn Morris <rgm@gnu.org>
110
111 * calendar/diary-lib.el (diary-list-entries-hook)
112 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
113 (diary-nongregorian-marking-hook, diary-list-entries)
114 (diary-include-other-diary-files, diary-mark-entries)
115 (diary-mark-included-diary-files): Doc fixes.
116
84f29e6b
JB
1172011-05-09 Juanma Barranquero <lekktu@gmail.com>
118
119 * misc.el: Require tabulated-list.el during compilation.
120
9bedd73a
CY
1212011-05-09 Chong Yidong <cyd@stupidchicken.com>
122
488086f4
SM
123 * progmodes/compile.el (compilation-start):
124 Run compilation-filter-hook for the async case too.
9bedd73a
CY
125 (compilation-filter-hook): Doc fix.
126
797c735c
DD
1272011-05-09 Deniz Dogan <deniz@dogan.se>
128
129 * wdired.el: Remove outdated installation comment. Fix usage
130 comment.
131
5f4b1dfe
JB
1322011-05-09 Juanma Barranquero <lekktu@gmail.com>
133
134 * misc.el: Implement new command `list-dynamic-libraries'.
135 (list-dynamic-libraries--loaded-only-p): New variable.
136 (list-dynamic-libraries--refresh): New function.
137 (list-dynamic-libraries): New command.
138
4c44026c
CY
1392011-05-09 Chong Yidong <cyd@stupidchicken.com>
140
488086f4
SM
141 * progmodes/compile.el (compilation-error-regexp-alist-alist):
142 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
143 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
144 higher priority to avoid clobbering by gnu.
145
027f966d
CY
1462011-05-08 Chong Yidong <cyd@stupidchicken.com>
147
148 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
149 if the face has existing theme settings (Bug#8454).
150
085f5d7d
CY
1512011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
152
488086f4
SM
153 * progmodes/perl-mode.el (perl-imenu-generic-expression):
154 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 155
2a86a00c
RS
156 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
157 special file names `.' and `..' (Bug#8259).
158
d9c54a06
CY
1592011-05-08 Chong Yidong <cyd@stupidchicken.com>
160
488086f4
SM
161 * progmodes/grep.el (grep-mode-font-lock-keywords):
162 Remove buffer-changing entries.
d9c54a06
CY
163 (grep-filter): New function.
164 (grep-mode): Add it to compilation-filter-hook.
165
166 * progmodes/compile.el (compilation-filter-hook)
167 (compilation-filter-start): New defvars.
168 (compilation-filter): Call compilation-filter-hook prior to
169 updating the process mark.
170
c4662635
SM
1712011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
174
b0512a1d
EZ
1752011-05-07 Eli Zaretskii <eliz@gnu.org>
176
605c9376
EZ
177 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
178 mailclient-send-it even if window-system is nil. (Bug#8595)
179
c4662635
SM
180 * term/w32console.el (terminal-init-w32console):
181 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
182 background-mode. (Bug#8597)
183
d1dc2cc2
SM
1842011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
185
186 Make bytecomp.el understand that defmethod defines funs (bug#8631).
187 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
188 New functions.
189 (defgeneric, eieio--defmethod): Use them.
190 (eieio-defgeneric): Remove.
191 (defmethod): Call defgeneric in a way visible to the byte-compiler.
192
915d1300
GM
1932011-05-07 Glenn Morris <rgm@gnu.org>
194
a3961c3e
GM
195 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
196 Use let rather than let*.
197 (timeclock-find-discrep): Remove unused local.
198
314347b9
GM
199 * calendar/diary-lib.el (diary-comment-start): Doc fix.
200
915d1300
GM
201 * calendar/appt.el (appt-time-msg-list): Doc fix.
202
275b59b0
NF
2032011-05-06 Noah Friedman <friedman@splode.com>
204
205 * apropos.el (apropos-print-doc): Only use
206 emacs-lisp-docstring-fill-column when it is bound to an integer,
207 per that variable's documentation.
208
6c19f744
SM
2092011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
210
211 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 212 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 213
60f884b2
GM
2142011-05-06 Glenn Morris <rgm@gnu.org>
215
5006e634
GM
216 * calendar/appt.el (appt-message-warning-time): Doc fix.
217 (appt-warning-time-regexp): New option.
218 (appt-make-list): Respect appt-message-warning-time.
219
548d0a63
GM
220 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
221 New options.
222 (diary-add-to-list): Strip comments from the displayed string.
223 (diary-mode): Set comment-start and comment-end.
224
60f884b2
GM
225 * vc/diff-mode.el (smerge-refine-subst): Declare.
226 (diff-refine-hunk): Don't require smerge-mode when compiling.
227
989681bb
JB
2282011-05-06 Juanma Barranquero <lekktu@gmail.com>
229
230 * simple.el (list-processes): Return nil as the docstring says.
231
a6bc05e1
MA
2322011-05-05 Michael Albinus <michael.albinus@gmx.de>
233
234 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
235 to "".
236 (ange-ftp-write-region, ange-ftp-insert-file-contents)
237 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
238 determining of binary transfer. (Bug#7383)
239
23c22e9a
MA
2402011-05-05 Michael Albinus <michael.albinus@gmx.de>
241
c4662635
SM
242 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
243 Fix port computation bug. (Bug#8618)
23c22e9a 244
0bff894f
GM
2452011-05-05 Glenn Morris <rgm@gnu.org>
246
b8296902
GM
247 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
248
1f522ce8
GM
249 * simple.el (shell-dynamic-complete-functions)
250 (comint-dynamic-complete-functions): Declare.
251
cf5bee67
GM
252 * net/network-stream.el (gnutls-negotiate):
253 * simple.el (tabulated-list-print): Fix declarations.
254
255 * progmodes/gud.el (syntax-symbol, syntax-point):
256 Remove unnecessary and incorrect declarations.
257
0bff894f
GM
258 * emacs-lisp/check-declare.el (check-declare-scan):
259 Handle byte-compile-initial-macro-environment in bytecomp.el
260
9869b3ae
SM
2612011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
262
263 Fix earlier half-done eieio-defmethod change (bug#8338).
264 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
265 Streamline and change calling convention.
266 (defmethod): Adjust accordingly and simplify.
267 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
268 new eieio--defmethod.
269 (slot-boundp): Minor CSE simplification.
270
9c1d5ac5
MZ
2712011-05-05 Milan Zamazal <pdm@zamazal.org>
272
273 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
274 (glasses-make-readable): Use glasses-separate-capital-groups.
275
455c834e
JB
2762011-05-05 Juanma Barranquero <lekktu@gmail.com>
277
278 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
279 (warning-series): Doc fix.
280 (display-warning): Don't try to create the buffer if we just found it.
281
9ed7c8cb
CY
2822011-05-04 Chong Yidong <cyd@stupidchicken.com>
283
284 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
285 (autoload-find-generated-file): New function.
286 (generate-file-autoloads): Bind generated-autoload-file to
287 buffer-file-name.
9869b3ae
SM
288 (update-file-autoloads, update-directory-autoloads):
289 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
290 output file (Bug#7989).
291 (batch-update-autoloads): Doc fix.
292
0898ca10
JB
2932011-05-04 Juanma Barranquero <lekktu@gmail.com>
294
295 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
296
31dfb76c
GM
2972011-05-04 Glenn Morris <rgm@gnu.org>
298
f330b642
GM
299 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
300 function, so it follows changes in calendar-date-style.
301 (diary-fancy-date-matcher): New function.
302 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
303 (diary-fancy-font-lock-fontify-region-function):
304 Use diary-fancy-date-pattern as a function.
305
31dfb76c
GM
306 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
307 non-numbers for `year' etc pseudo-variables. (Bug#8583)
308
48e79d6a
TZ
3092011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
310
311 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
312 instead of positional arguments. Allow :keylist and :crlfiles
313 arguments.
314 (open-gnutls-stream): Call it.
315
316 * net/network-stream.el (network-stream-open-starttls): Adjust to
317 call `gnutls-negotiate' with :process and :hostname arguments.
318
dd5a5ee0
SM
3192011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
320
ef80fc09
SM
321 * minibuffer.el (completion--message): New function.
322 (completion--do-completion, minibuffer-complete)
323 (minibuffer-force-complete, minibuffer-complete-word): Use it.
324 (completion--do-completion): Don't ignore completion-auto-help when in
325 icomplete-mode.
326
dd5a5ee0
SM
327 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
328 internal encoding (e.g. tibetan zero is not whitespace).
329 (global-whitespace-mode): Prefer save-current-buffer.
330 (whitespace-trailing-regexp): Remove useless save-match-data.
331 (whitespace-empty-at-bob-regexp): Minor simplification.
332
b7d22a83
CY
3332011-05-03 Chong Yidong <cyd@stupidchicken.com>
334
335 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
336
5192af46
AM
3372011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
338
339 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 340 Use `concat' to create string for insertion.
5192af46 341
5767d190
SM
3422011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
343
344 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
345 Avoid open-line which runs post-self-insert-hook.
346 (bibtex-fill-entry): Remove unused `end' var.
347
bf242939
AM
3482011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
349
5767d190
SM
350 * textmodes/ispell.el (ispell-add-per-file-word-list):
351 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 352
25666126
LL
3532011-05-03 Leo Liu <sdl.web@gmail.com>
354
355 * isearch.el (isearch-yank-pop): New command.
5767d190 356 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
357 (isearch-forward): Mention it.
358
52d3c2d0
SM
3592011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
360
1bcace58
SM
361 * simple.el (minibuffer-complete-shell-command): Remove.
362 (minibuffer-local-shell-command-map): Use completion-at-point.
363 (read-shell-command): Setup completion vars here instead.
364 (read-expression-map): Bind TAB to symbol completion.
365
52d3c2d0
SM
366 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
367 error directly rather via storing it into `results'.
368
35813471
LL
3692011-05-02 Leo Liu <sdl.web@gmail.com>
370
371 * vc/diff.el: Fix description.
372
e793a940
LMI
3732011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
374
375 * server.el (server-eval-at): New function.
376
8de66e05
LMI
3772011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
378
379 * net/network-stream.el (open-network-stream): Take a :nowait
380 parameter and pass it on to `make-network-process'.
381 (network-stream-open-plain): Ditto.
382
dcb79f20
AS
3832011-04-30 Andreas Schwab <schwab@linux-m68k.org>
384
385 * faces.el (face-spec-set-match-display): Don't match toolkit
386 options on terminal frames.
387
14a7fbd8
SM
3882011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
389
7eabc1be
SM
390 * progmodes/pascal.el: Use lexical binding.
391 (pascal-mode-map): Remove author preferences.
392
14a7fbd8
SM
393 * pcomplete.el (pcomplete-std-complete): Don't abuse
394 completion-at-point.
395
50f84510
JB
3962011-04-28 Juanma Barranquero <lekktu@gmail.com>
397
6e087a44
JB
398 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
399 removing code that has been dead since 1991 or so.
400
50f84510
JB
401 * startup.el (command-line): When warning about "_emacs", use a
402 delayed warning to allow the user to filter it out.
403
0ba690bd
DD
4042011-04-28 Deniz Dogan <deniz@dogan.se>
405
406 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
407 user has not joined.
408
08abfaad
SM
4092011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
412 aren't any completions at point.
413
638f053a
JB
4142011-04-28 Juanma Barranquero <lekktu@gmail.com>
415
416 * subr.el (display-delayed-warnings): New function.
417 (delayed-warnings-hook): New variable.
418
8fff8daa
SM
4192011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
420
08abfaad
SM
421 * minibuffer.el (completion-at-point, completion-help-at-point):
422 Don't presume that a given completion-at-point-function will always
423 use the same calling convention.
424
8fff8daa
SM
425 * pcomplete.el (pcomplete-completions-at-point):
426 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
427 pcomplete-seen is non-nil.
428 (pcomplete-comint-setup): Also recognize the new comint/shell
429 completion functions.
430 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
431 pcomplete-seen is non-nil.
432
841a1577 4332011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 434
841a1577 435 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 436 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 437 the first character in the entry. This allows for code to add its
211ec907
UJ
438 own uid to the entry.
439 (icalendar--convert-float-to-ical): Add export of
440 `diary-float'-entries save for those with the optional DAY
441 argument.
442
2a782793
DC
4432011-04-27 Daniel Colascione <dan.colascione@gmail.com>
444
445 * subr.el (shell-quote-argument): Use alternate escaping strategy
446 when we spot a variable reference in a string.
447
0438ce91
DC
4482011-04-26 Daniel Colascione <dan.colascione@gmail.com>
449
450 * cus-start.el (all): Define customization for debug-on-event.
451
841a1577 4522011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
453
454 * subr.el (shell-quote-argument): Escape correctly under Windows.
455
d090ed6c
SM
4562011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
457
458 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
459
bfd31217
MA
4602011-04-25 Michael Albinus <michael.albinus@gmx.de>
461
d090ed6c
SM
462 * net/tramp.el (tramp-process-actions): Add POS argument.
463 Delete region between POS and (pos).
bfd31217 464
d090ed6c
SM
465 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
466 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
467 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
468
469 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
470 position in `tramp-process-actions' call.
471
472 * net/trampver.el: Update release number.
473
e92f3bd3
SM
4742011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
475
850256b5
SM
476 * custom.el (defcustom): Obey lexical-binding.
477
e92f3bd3
SM
478 Fix octave-inf completion problems reported by Alexander Klimov.
479 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
480 Inherit from octave-mode-syntax-table.
481 (inferior-octave-mode): Set info-lookup-mode.
482 (inferior-octave-completion-at-point): New function.
483 (inferior-octave-complete): Use it and completion-in-region.
484 (inferior-octave-dynamic-complete-functions): Use it as well, and use
485 comint-filename-completion.
486 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
487 symbol elements which shouldn't be word elements.
488 (octave-font-lock-keywords, octave-beginning-of-defun)
489 (octave-function-header-regexp): Adjust regexps accordingly.
490 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
491
cd22b309
JB
4922011-04-25 Juanma Barranquero <lekktu@gmail.com>
493
494 * net/gnutls.el (gnutls-errorp): Declare before first use.
495
8b492194
TZ
4962011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
497
498 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
499 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
500 default trustfile exists before going to use it. Add missing
501 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
502 Reported by Claudio Bley <claudio.bley@gmail.com>.
503 (open-gnutls-stream): Add usage example.
504
505 * net/network-stream.el (network-stream-open-starttls): Give host
506 parameter to `gnutls-negotiate'.
507 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 508 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 509
841a1577 5102011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 511
cd22b309
JB
512 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
513 Use correct match group (bug#8438).
05842630 514
3ba7869c
CY
5152011-04-24 Chong Yidong <cyd@stupidchicken.com>
516
512e3ae1
CY
517 * emacs-lisp/package.el (package-built-in-p): Fix typo.
518 (package-menu--generate): New arg specifying packages to show.
519 (package-menu-refresh, package-menu-execute, list-packages):
520 Callers changed.
521 (package-show-package-list): New function, replacing deleted
522 package--list-packages (renamed because it is non-internal).
523
524 * finder.el (finder-list-matches): Use package-show-package-list
525 instead of deleted package--list-packages.
526
e92f3bd3
SM
527 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
528 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
529 (vc-annotate-mode-map): Bind it to RET.
530
7031be6d
UR
5312011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
532
533 * progmodes/etags.el (next-file): Don't use set-buffer to change
534 buffers (Bug#8478).
535
4ef177aa
CY
5362011-04-24 Chong Yidong <cyd@stupidchicken.com>
537
c8d173eb
CY
538 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
539
4ef177aa
CY
540 * apropos.el (apropos-label-face): Avoid variable-pitch face.
541 (apropos-accumulator): Doc fix.
542 (apropos-function, apropos-macro, apropos-command)
543 (apropos-variable, apropos-face, apropos-group, apropos-widget)
544 (apropos-plist): Add face property.
545 (apropos-symbols-internal): Fix indentation.
546 (apropos-print): Simplify help, and recognize apropos-multi-type.
547 (apropos-print-doc): Use button-type-get to extract the button's
548 face property. Fill docstring (Bug#8352).
549
4ffd0d6b 5502011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
551
552 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
553
c6c32125 554 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 555 (mpuz-mode-map): Use mapc.
c6c32125
JB
556 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
557 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
558 Fix typos in docstrings.
559
58d468b4
JB
560 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
561 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
562
6470c3c6
JB
563 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
564
4ffd0d6b 5652011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
566
567 * minibuffer.el (completion--do-completion): Avoid the "Next char
568 not unique" prompt if icomplete-mode is enabled (Bug#5849).
569
3ad8bad0
CY
570 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
571 mouse-2 into unread-command-events, it is interpreted correctly.
572
71d73c9c 573 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 574 (image-toggle-display): Doc fix.
71d73c9c 575
841a1577 5762011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 577
4ffd0d6b
GM
578 * textmodes/page.el (what-page): Use line-number-at-pos to
579 calculate line number (Bug#6825).
6e1dbaa9 580
c2fb1b60
JB
5812011-04-22 Juanma Barranquero <lekktu@gmail.com>
582
583 * eshell/esh-mode.el (find-tag-interactive): Declare function.
584 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
585 Pass argument NO-DEFAULT to `find-tag-interactive'.
586
e02f48d7
JB
5872011-04-22 Juanma Barranquero <lekktu@gmail.com>
588
589 Lexical-binding cleanup.
590
591 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
592 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
593 * progmodes/ada-prj.el (ada-prj-initialize-values)
594 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
595 (ada-prj-show-value):
596 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
597 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
598 (antlr-invalidate-context-cache, antlr-options-menu-filter)
599 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
600 * progmodes/bug-reference.el (bug-reference-push-button):
601 * progmodes/fortran.el (fortran-line-length):
602 * progmodes/glasses.el (glasses-change):
603 * progmodes/octave-mod.el (octave-fill-paragraph):
604 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
605 (python-pdbtrack-grub-for-buffer, python-sentinel):
606 * progmodes/sql.el (sql-save-connection):
607 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
608 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
609 Mark unused parameters.
610
611 * progmodes/compile.el (compilation--flush-directory-cache)
612 (compilation--flush-parse, compile-internal): Mark unused parameters.
613 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
614 (compilation-next-error-function): Remove unused variable `timestamp'.
615
616 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
617 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
618
619 * progmodes/dcl-mode.el (dcl-end-of-command):
620 Remove unused variable `start'.
621 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
622 (dcl-option-value-basic, dcl-option-value-offset)
623 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
624 Mark unused parameters.
625 (dcl-save-local-variable): Remove unused variable `val'.
626 (mode): Declare.
627
628 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
629 Mark unused parameters.
630 (delphi-ignore-changes): Move before first use.
631 (delphi-charset-token-at): Remove unused variable `start'.
632 (delphi-else-start): Remove unused variable `if-count'.
633 (delphi-comment-block-start, delphi-comment-block-end):
634 Remove unused variable `kind'.
635 (delphi-indent-line): Remove unused variable `new-point'.
636
637 * progmodes/ebrowse.el (ebrowse-files-list)
638 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
639 Mark unused parameters. Don't quote `lambda'.
640 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
641 Don't quote `lambda'.
642 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
643 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
644 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
645 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
646 Use `ignore-errors'.
647 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
648 (ebrowse-view/find-file-and-search-pattern)
649 (ebrowse-view/find-member-declaration/definition):
650 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
651 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
652 Rename parameter PREFIX-ARG to PREFIX.
653 (ebrowse-tags-read-name): Remove unused variables `start' and
654 `member-info'.
655 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
656 to `tags-file'.
657
658 * progmodes/etags.el (local-find-tag-hook): Declare.
659 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
660 Mark unused parameters.
661
662 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
663 (executable-interpret): Mark unused parameter.
664
665 * progmodes/flymake.el (flymake-process-sentinel)
666 (flymake-after-change-function)
667 (flymake-create-temp-with-folder-structure)
668 (flymake-get-include-dirs-dot): Mark unused parameters.
669 (flymake-safe-delete-directory): Remove unused variable `err'.
670
671 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
672 (speedbar-timer-fn, speedbar-line-text)
673 (speedbar-change-expand-button-char, speedbar-delete-subblock)
674 (speedbar-center-buffer-smartly): Declare functions.
675 (gdb-find-watch-expression): Remove unused variable `array'.
676 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
677 (gdb-starting): Mark unused parameters.
678 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
679 (gdb-table-string): Remove unused variable `res'.
680 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
681 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
682 (gdb-display-buffer): Remove unused variable `cur-size'.
683
684 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
685 allow lexical-binding compilation.
686 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
687 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
688 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
689 Mark unused parameters.
690 (gud-gdb-marker-filter): Remove unused variable `match'.
691 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
692 lambda expressions and funcall them, instead of using `fset'.
693
694 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
695 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
696
697 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
698 variable `header-beg'; use `let'.
699
700 * progmodes/icon.el (indent-icon-exp): Remove unused variables
701 `restart', `last-sexp' and `at-do'.
702
703 * progmodes/js.el (js--debug): Mark unused parameter.
704 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
705 (js--splice-into-items): Remove unused variable `item'.
706 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
707
708 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
709 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
710 (makefile-complete): Remove unused variable `try'.
711 (makefile-fill-paragraph, makefile-match-function-end):
712 Mark unused parameters.
713
714 * progmodes/octave-inf.el (inferior-octave-complete):
715 Remove unused variable `proc'.
716 (inferior-octave-output-digest): Mark unused parameter.
717
718 * progmodes/perl-mode.el (perl-calculate-indent):
719 Remove unused variable `err'.
720
721 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
722 (prolog-indent-line): Mark unused parameters.
723 (prolog-indent-line): Remove unused variable `beg'.
724
725 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
726 (reporter-dont-compact-list): Declare.
727
728 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
729 Remove unused variable `char'.
730 (sh-debug): Mark unused parameter.
731 (sh-get-indent-info): Remove unused variable `start'.
732 (sh-calculate-indent): Remove unused variable `var'.
733
734 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
735 (simula-electric-keyword): Remove unused variable `null'.
736 (simula-search-backward, simula-search-forward): Remove unused
737 variables `begin' and `end'.
738
739 * progmodes/vera-mode.el (vera-guess-basic-syntax):
740 Remove unused variable `pos'.
741 (vera-electric-tab, vera-comment-uncomment-region):
742 Mark unused parameters.
743 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
744
7ede3b65
CY
7452011-04-22 Chong Yidong <cyd@stupidchicken.com>
746
747 * emacs-lisp/package.el (package--builtins, package-alist)
748 (package-load-descriptor, package-built-in-p, package-activate)
749 (define-package, package-installed-p)
750 (package-compute-transaction, package-buffer-info)
751 (package--push): Doc fix. Distinguish more clearly between
752 version strings and version lists.
753
121656e9
JB
7542011-04-21 Juanma Barranquero <lekktu@gmail.com>
755
756 Lexical-binding cleanup.
757
758 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
759 (5x5-make-mutate-best):
760 * play/fortune.el (fortune-in-buffer):
761 * play/gomoku.el (gomoku-init-display):
762 * play/solitaire.el (solitaire, solitaire-do-check):
763 * play/tetris.el (tetris-default-update-speed-function):
764 Mark unused parameters.
765
766 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
767 (bubbles--shift): Remove unused variable `char-org'.
768 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
769 (bubbles--show-images): Remove unused variable `char'.
770
771 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
772 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
773 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
774 (decipher-analyze-buffer): Use ?\s.
775 (decipher-make-checkpoint): Remove unused variable `mapping'.
776
777 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
778
779 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
780 Remove unused variable `result'; use `let'.
781
782 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
783 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
784 (gametree-children-shown-p, gametree-compute-reduced-score):
785 Use `ignore-errors'.
786
787 * play/handwrite.el (ps-lpr-switches): Declare.
788 (handwrite): Remove unused variables `pmin' and `lastp'.
789
790 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
791
792 * play/landmark.el (landmark-init-display)
793 (landmark-update-naught-weights): Mark unused parameters.
794 (landmark-y): Remove unused variable `noise'. Simplify.
795 (landmark-human-plays): Remove unused variable `score'.
796
797 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
798 (mpuz-try-proposal): Remove unused variable `game'.
799
800 * play/zone.el (life-patterns): Declare.
801
80f499c7
JB
8022011-04-20 Juanma Barranquero <lekktu@gmail.com>
803
804 * vc/vc.el (ediff-vc-internal): Declare function.
805
024ff170
SM
8062011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
807
c0a193ea
SM
808 * shell.el: Use lexical-binding and std completion UI.
809 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
810 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
811 comint-preoutput-filter-functions rather than on
812 comint-output-filter-functions.
813 (shell-command-completion, shell--command-completion-data)
814 (shell-filename-completion, shell-environment-variable-completion)
815 (shell-c-a-p-replace-by-expanded-directory): New functions.
816 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
817 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
818 (shell-dynamic-complete-environment-variable): Use them.
819 (shell-dynamic-complete-as-environment-variable)
820 (shell-dynamic-complete-as-command): Remove.
821 (shell-match-partial-variable): Match past point.
822 * comint.el: Clean up use of completion-at-point-functions.
823 (comint-completion-at-point): New function.
824 (comint-mode): Use it completion-at-point-functions.
825 (comint-dynamic-complete): Make it obsolete.
826 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
827 (comint-c-a-p-replace-by-expanded-history): New function.
828 (comint-dynamic-complete-functions)
829 (comint-replace-by-expanded-history): Use it.
830 * minibuffer.el (completion-table-with-terminator): Allow dynamic
831 termination strings. Try harder to avoid second try-completion.
832 (completion-in-region-mode-map): Disable bindings that don't work yet.
833
2dbaa080
SM
834 * comint.el: Use lexical-binding. Require CL.
835 (comint-dynamic-complete-functions): Use comint-filename-completion.
836 (comint-completion-addsuffix): Tweak custom type.
837 (comint-filename-completion, comint--common-suffix)
838 (comint--common-quoted-suffix, comint--table-subvert)
839 (comint--complete-file-name-data): New functions.
840 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
841 (comint-dynamic-list-filename-completions): Use them.
842 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 843
2dbaa080
SM
844 * minibuffer.el (completion-in-region-mode):
845 Keep completion-in-region-mode--predicate global.
846 (completion-in-region--postch):
847 Assume completion-in-region-mode--predicate is not null.
848
c79a6f38
SM
849 * progmodes/flymake.el (flymake-start-syntax-check-process):
850 Obey `dir'. Simplify.
851
024ff170
SM
852 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
853 we're in VC after all.
854
1c6c854e
CS
8552011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
856
857 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 858 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
859 (vc-version-diff): Use vc-diff-build-argument-list-internal.
860
bed7f140
SM
8612011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
862
332e62ab
SM
863 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
864 add sanity check.
865
bed7f140
SM
866 * obsolete/erc-hecomplete.el: Make obsolete.
867 * obsolete/: Standardize obsolescence info in the header.
868
f195c582
GM
8692011-04-20 Glenn Morris <rgm@gnu.org>
870
871 * calendar/solar.el (solar-horizontal-coordinates):
872 Use the longitude argument rather than `calendar-longitude'.
873 (solar-date-next-longitude): Remove unused locals.
874
cb79b8c0
VJL
8752011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
876
877 * whitespace.el: New version 13.2.1.
878
8792011-04-20 felix <EmacsWiki> (tiny change)
880
881 * whitespace.el (global-whitespace-mode): keep highlight when
882 switching between major modes on a file.
883
602ea69d
SM
8842011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
885
886 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
887 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
888 multi-line comments as well.
889
06b60517
JB
8902011-04-19 Juanma Barranquero <lekktu@gmail.com>
891
892 Lexical-binding cleanup.
893
894 * arc-mode.el (archive-mode-revert):
895 * cmuscheme.el (scheme-interactively-start-process):
896 * custom.el (custom-initialize-delay):
897 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
898 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
899 * emacs-lock.el (emacs-lock-clear-sentinel):
900 * ezimage.el (defezimage):
901 * follow.el (follow-avoid-tail-recenter):
902 * fringe.el (set-fringe-mode-1):
903 * generic-x.el (bat-generic-mode-compile):
904 * help-mode.el (help-info-variable, help-do-xref)
905 (help-mode-revert-buffer):
906 * help.el (view-emacs-todo):
907 * iswitchb.el (iswitchb-completion-help):
908 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
909 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
910 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
911 * locate.el (locate-update):
912 * longlines.el (longlines-encode-region)
913 (longlines-after-change-function):
914 * outline.el (outline-isearch-open-invisible):
915 * ps-def.el (declare-function, charset-dimension, char-width)
916 (encode-char):
917 * ps-mule.el (ps-mule-plot-string):
918 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
919 (recentf-edit-list-select, recentf-edit-list-validate)
920 (recentf-open-files-action):
921 * rect.el (delete-whitespace-rectangle-line)
922 (rectangle-number-line-callback):
923 * register.el (window-configuration-to-register)
924 (frame-configuration-to-register):
925 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
926 * select.el (xselect-convert-to-string, xselect-convert-to-length)
927 (xselect-convert-to-targets, xselect-convert-to-delete)
928 (xselect-convert-to-filename, xselect-convert-to-charpos)
929 (xselect-convert-to-lineno, xselect-convert-to-colno)
930 (xselect-convert-to-os, xselect-convert-to-host)
931 (xselect-convert-to-user, xselect-convert-to-class)
932 (xselect-convert-to-name, xselect-convert-to-integer)
933 (xselect-convert-to-atom, xselect-convert-to-identity):
934 * subr.el (declare, ignore, process-kill-without-query)
935 (text-clone-maintain):
936 * terminal.el (te-get-char, te-tic-sentinel):
937 * tool-bar.el (tool-bar-make-keymap):
938 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
939 * type-break.el (type-break-mode, type-break-noninteractive-query):
940 * view.el (View-back-to-mark):
941 * wid-browse.el (widget-browse-action, widget-browse-widget)
942 (widget-browse-widgets, widget-browse-sexp):
943 * widget.el (define-widget-keywords):
944 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
945 Mark unused parameters.
946
947 * align.el (align-adjust-col-for-rule): Mark unused parameter.
948 (align-areas): Remove unused variable `look'.
949 (align-region): Remove unused variables `real-end' and `pos-list'.
950
951 * apropos.el (apropos-score-doc): Remove unused variable `i'.
952
953 * bindings.el (mode-line-modified, mode-line-remote):
954 Mark unused parameters.
955 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
956
957 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
958 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
959
960 * comint.el (comint-history-isearch-pop-state)
961 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
962 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
963 (comint-substitute-in-file-name): Doc fix.
964
965 * completion.el (cmpl-statistics-block): Mark unused parameter.
966 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
967 (save-completions-to-file, load-completions-from-file):
968 Remove unused local variable `e'.
969
970 * composite.el (compose-chars): Remove unused variable `len'.
971 (lgstring-insert-glyph): Remove unused variable `g'.
972 (compose-glyph-string): Remove unused variables `ascent',
973 `descent', `lbearing' and `rbearing'.
974 (compose-glyph-string-relative): Remove unused variables
975 `lbearing', `rbearing' and `wadjust'.
976 (compose-gstring-for-graphic): Remove unused variables `header',
977 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
978 (compose-gstring-for-terminal): Remove unused variables `header'
979 and `nchars'. Use `let', not `let*'.
980
981 * cus-edit.el (Custom-set, Custom-save, custom-reset)
982 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
983 (Custom-buffer-done, custom-buffer-create-internal)
984 (custom-browse-visibility-action, custom-browse-group-tag-action)
985 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
986 (widget-magic-mouse-down-action, custom-toggle-parent)
987 (custom-add-parent-links, custom-toggle-hide-variable)
988 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
989 (custom-toggle-hide-face, face, hook, custom-group-link-action)
990 (custom-face-menu-create, custom-variable-menu-create, get)
991 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
992 (custom-reset-standard-save-and-update): Remove unused variable `value'.
993 (customize-apropos): Remove unused variable `tests'.
994 (custom-group-value-create): Remove unused variable `hidden-p'.
995 (sort-fold-case): Declare.
996
997 * cus-theme.el (custom-reset-standard-faces-list)
998 (custom-reset-standard-variables-list): Declare.
999 (customize-create-theme, custom-theme-revert, custom-theme-write)
1000 (custom-theme-choose-mode, customize-themes, custom-theme-save):
1001 Mark unused parameters.
1002
1003 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
1004
1005 * delim-col.el (delimit-columns-max): Move defvar before first use.
1006
1007 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 1008 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
1009
1010 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
1011 (auto-insert): Declare.
1012 (desktop-restore-file-buffer): Rename desktop-* parameters;
1013 mark unused ones.
1014 (desktop-create-buffer): Rename desktop-* parameters and bind them.
1015 (desktop-buffer): Rename desktop-* parameters.
1016
1017 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1018 (dframe-reposition-frame-xemacs, dframe-help-echo)
1019 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
1020 Mark unused parameters.
1021
1022 * dired-aux.el (backup-extract-version-start, overwrite-query)
1023 (overwrite-backup-query, rename-regexp-query)
1024 (rename-non-directory-query): Declare.
1025 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
1026 (dired-add-entry): Remove unused variable `orig-file-name'.
1027 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
1028 Use parameter PRESERVE-TIME instead of accessing dynamic variable
1029 `dired-copy-preserve-time' directly.
1030 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
1031 (dired-insert-subdir-newpos): Rename unused variable `pos'.
1032
1033 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
1034 (dired-virtual-revert, dired-make-relative-symlink):
1035 Mark unused parameters.
1036 (manual-program): Declare.
1037 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
1038 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
1039 wrapped in `with-no-warnings' to avoid replacing one warning by another.
1040
1041 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1042
1043 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1044
1045 * echistory.el (electric-history-in-progress, Helper-return-blurb):
1046 Declare.
1047
1048 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1049
1050 * electric.el (Electric-command-loop): Rename parameter
1051 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1052
1053 * expand.el (expand-in-literal): Remove unused variable `here'.
1054
1055 * facemenu.el (facemenu-add-new-color):
1056 Remove unused variable `docstring'.
1057
1058 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1059 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1060 (face-attr-construct): Mark unused parameter. Doc fix.
1061 (read-color): Remove unused variable `hex-string'.
1062
1063 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1064 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1065 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1066 (display-buffer-other-frame): Remove unused variable `old-window'.
1067 (kill-buffer-hook): Declare.
1068 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1069 Mark unused parameters.
1070 (after-find-file): Pass 1 to `auto-save-mode', not t.
1071
1072 * files-x.el (auto-insert): Declare.
1073 (modify-file-local-variable-prop-line): Remove unused variable `val'.
1074
1075 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 1076 variable `buf'. Mark unused parameter.
06b60517
JB
1077 (find-lisp-insert-directory): Mark unused parameter.
1078
1079 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1080 (format-encode-region): Remove unused variables `cur-buf' and `result'.
1081 (format-common-tail): Remove, unused.
1082 (format-deannotate-region): Remove unused variable `loc'.
1083 (format-annotate-region): Remove unused variable `p'.
1084 (format-annotate-single-property-change): Remove unused variables
1085 `default' and `tail'.
1086
1087 * forms.el (read-file-filter): Declare.
1088 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1089
1090 * frame.el (frame-creation-function-alist): Mark unused parameter.
1091 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1092
1093 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1094 Remove unused parameters.
1095 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1096 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1097
1098 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1099 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1100 (hfy-prepare-tag-map): Mark unused parameters.
1101 (htmlfontify-buffer): Use `called-interactively-p'.
1102
1103 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1104 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1105 (ibuffer-do-occur): Mark unused parameters.
1106 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1107 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1108
1109 * ibuffer.el: Don't quote `lambda'.
1110 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1111 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1112 Mark unused parameters.
1113
1114 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1115 (ido-completing-read): Mark unused parameters.
1116 (ido-copy-current-word): Mark unused parameters;
1117 remove unused variable `name'.
1118 (ido-sort-merged-list): Remove unused parameter `dirs'.
1119
1120 * ielm.el (ielm-input-sender): Mark unused parameter.
1121 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1122 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1123 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1124 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1125 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1126
1127 * image-dired.el (image-dired-display-thumbs): Remove unused
1128 variables `curr-file' and `count'.
1129 (image-dired-remove-tag): Remove unused variable `start'.
1130 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1131 variable `curr-file'
1132 (image-dired-rotate-original): Remove unused variable `temp-file'.
1133 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1134 Remove unused variable `file'.
1135 (image-dired-gallery-generate): Remove unused variable `curr'.
1136 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1137
1138 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1139
1140 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1141
1142 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1143
1144 * isearch.el (minibuffer-history-symbol): Declare.
1145 (isearch-edit-string): Remove unused variable `err'.
1146 (isearch-message-prefix, isearch-message-suffix):
1147 Mark unused parameters.
1148
1149 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1150
1151 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1152
1153 * makesum.el (double-column): Remove unused variable `cnt'.
1154
1155 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1156 (ido-ignore-item-temp-list): Declare.
1157
1158 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1159 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1160 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1161 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1162 `mouse-col-delta'.
1163
1164 * mouse-sel.el (mouse-extend-internal):
1165 Remove unused variable `orig-window-frame'.
1166
1167 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1168 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1169 Move declarations before first use.
1170 (pcomplete-opt): Mark unused parameters; doc fix.
1171
1172 * proced.el (proced-revert): Mark unused parameter.
1173 (proced-send-signal): Remove unused variable `err'.
1174
1175 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1176 Rename parameter PREFIX-ARG to ARG.
1177 (ps-basic-plot-string, ps-basic-plot-whitespace):
1178 Mark unused parameters.
1179
1180 * replace.el (replace-count): Define.
1181 (occur-revert-function): Mark unused parameters.
1182 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1183 (isearch-case-fold-search, isearch-string): Declare.
1184 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1185 bind `case-fold-search'. Remove unused variables `beg' and `end',
1186 and simplify.
1187 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1188 COUNT and bind `replace-count'.
1189 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1190 to COUNT.
1191
1192 * savehist.el (print-readably, print-string-length): Declare.
1193
1194 * shadowfile.el (shadow-expand-cluster-in-file-name):
1195 Remove unused variable `cluster'.
1196 (shadow-copy-file): Remove unused variable `i'.
1197 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1198 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1199 (shadow-define-literal-group, shadow-define-regexp-group)
1200 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1201
1202 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1203 (shell): Use `called-interactively-p'.
1204 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1205
1206 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1207 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1208 (delete-backward-char): Remove unused variable `ocol'.
1209 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1210 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1211 (event-apply-hyper-modifier, event-apply-shift-modifier)
1212 (event-apply-control-modifier, event-apply-meta-modifier):
1213 Mark unused parameters.
1214 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1215 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1216
1217 * speedbar.el (speedbar-ignored-directory-expressions)
1218 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1219 (speedbar-find-file, speedbar-dir-follow)
1220 (speedbar-directory-buttons-follow, speedbar-tag-find)
1221 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1222 (speedbar-buffers-line-directory, speedbar-buffer-click):
1223 Mark unused parameters.
1224 (speedbar-tag-file): Remove unused variable `mode'.
1225 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1226
1227 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1228
1229 * talk.el (talk): Remove unused variable `display'.
1230
1231 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1232 (tar-write-region-annotate): Mark unused parameter.
1233
1234 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1235 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1236 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1237 warning by another.
1238
1239 * time-stamp.el (time-stamp-string-preprocess):
1240 Remove unused variable `require-padding'.
1241
1242 * tree-widget.el (widget-glyph-enable): Declare.
1243 (tree-widget-action): Mark unused parameter.
1244
1245 * w32-fns.el (x-get-selection): Mark unused parameter.
1246 (autoload-make-program, generated-autoload-file): Declare.
1247
1248 * wdired.el (wdired-revert): Mark unused parameters.
1249 (wdired-xcase-word): Remove unused variable `err'.
1250
1251 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1252 (whitespace-help-scroll): Remove unused variable `data-help'.
1253
1254 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1255 (widget-image-insert, widget-after-change, default)
1256 (widget-default-format-handler, widget-default-notify)
1257 (widget-default-prompt-value, widget-info-link-action)
1258 (widget-url-link-action, widget-function-link-action)
1259 (widget-variable-link-action, widget-file-link-action)
1260 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1261 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1262 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1263 (widget-insert-button-action, widget-delete-button-action, visibility)
1264 (widget-documentation-link-action, widget-documentation-string-action)
1265 (widget-const-prompt-value, widget-regexp-match, symbol)
1266 (widget-coding-system-prompt-value)
1267 (widget-key-sequence-value-to-external, sexp)
1268 (widget-sexp-value-to-internal, character, vector, cons)
1269 (widget-choice-prompt-value, widget-boolean-prompt-value)
1270 (widget-color--choose-action): Mark unused parameters.
1271 (widget-item-match-inline, widget-choice-match-inline)
1272 (widget-checklist-match, widget-checklist-match-inline)
1273 (widget-group-match): Rename parameter VALUES to VALS.
1274 (widget-field-value-set): Remove unused variable `size'.
1275 (widget-color-action): Remove unused variables `value' and `start'.
1276
1277 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 1278 variable `dir'. Doc fix.
06b60517
JB
1279 (windmove-find-other-window): Don't pass it.
1280
1281 * window.el (count-windows): Mark unused parameter.
1282 (bw-adjust-window): Remove unused variable `err'.
1283
1284 * woman.el (woman-file-name): Remove unused variable `default'.
1285 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1286 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1287 (global-font-lock-mode): Declare.
1288 (woman-decode-region): Mark unused parameter.
1289 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1290
1291 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1292 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1293 (x-dnd-handle-moz-url): Remove unused variable `title'.
1294 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1295
1296 * xml.el (xml-parse-tag, xml-parse-attlist):
1297 Remove unused variable `pos'.
1298
bc4f7f3d
GM
12992011-04-19 Glenn Morris <rgm@gnu.org>
1300
1301 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1302 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1303 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1304 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1305 * calendar/cal-html.el (cal-html-insert-minical):
1306 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1307 (calendar-mark-date-pattern):
1308 Prefix "unused" locals.
1309
1310 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1311 optional argument `style'.
1312
1313 * calendar/appt.el (appt-make-list):
1314 * calendar/cal-china.el (calendar-chinese-date-string):
1315 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1316 (diary-hebrew-yahrzeit):
1317 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1318 * calendar/calendar.el (calendar-generate-window):
1319 * calendar/time-date.el (time-to-days):
1320 Remove unused local variables.
1321
16a43933
CY
13222011-04-18 Chong Yidong <cyd@stupidchicken.com>
1323
1324 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1325 glyphless-char-display table.
1326 (tabulated-list-glyphless-char-display): New var.
1327
7eed1860
SS
13282011-04-18 Sam Steingold <sds@gnu.org>
1329
1330 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1331 to acknowledgments.
1332
4d2d1ccd
GM
13332011-04-17 Glenn Morris <rgm@gnu.org>
1334
1335 * calendar/diary-lib.el (diary-sexp-entry):
1336 * calendar/holidays.el (holiday-sexp):
1337 Set debug-on-error rather than the removed stack-trace-on-error.
1338
239da61d
GM
13392011-04-16 Glenn Morris <rgm@gnu.org>
1340
1341 * progmodes/f90.el: Use lexical-binding.
1342 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1343
8b05752a
SM
13442011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1345
daca8ba5
SM
1346 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1347 (mail-mode): Setup mailalias completion here instead.
1348 * mail/mailalias.el: Use lexical-binding.
1349 (pattern, mailalias-done): Declare dynamic.
1350 (mail-completion-at-point-function): New function, from mail-complete.
1351 (mail-complete): Use it.
1352 (mail-completion-expand): New function.
1353 (mail-get-names): Use it.
1354 (mail-directory, mail-directory-process, mail-directory-stream):
1355 Don't use `pattern' for lexically bound arg.
1356
6f542485
SM
1357 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1358
037e7c3f
SM
1359 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1360 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1361 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1362
8b05752a
SM
1363 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1364 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1365 (byte-interactive-p): Define them again, for use when inlining
1366 old code.
1367
49093f60
JB
13682011-04-15 Juanma Barranquero <lekktu@gmail.com>
1369
1370 * loadup.el: Use `string-to-number', not `string-to-int'.
1371
b5b8e7de
SM
13722011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1373
1374 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1375 gud-gdb-complete-command.
1376 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1377 (gud-gdb-completion-at-point): New function.
1378 (gud-gdb-completions): Remove.
1379
f42efeb5
MA
13802011-04-14 Michael Albinus <michael.albinus@gmx.de>
1381
49093f60
JB
1382 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1383 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1384 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1385 whether `executable-find' is bound.
f42efeb5
MA
1386
1387 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1388
e240cc21
SM
13892011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1390
1391 * minibuffer.el (completion-in-region-mode-predicate)
1392 (completion-in-region-mode--predicate): New vars.
1393 (completion-in-region, completion-in-region--postch)
1394 (completion-in-region-mode): Use them.
1395 (completion--capf-wrapper): Also return the hook function.
1396 (completion-at-point, completion-help-at-point):
1397 Adjust and provide a predicate.
c2bd2ab0
SM
1398
1399 Preserve arg names for advice of subr and lexical functions (bug#8457).
1400 * help-fns.el (help-function-arglist): Consolidate the subr and
1401 new-byte-code cases. Add argument `preserve-names' to extract names
1402 from the docstring when needed.
1403 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1404 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1405 (ad-arglist): Use help-function-arglist's new arg.
1406 (ad-definition-type): Use cond.
1407
c183f693
JB
14082011-04-13 Juanma Barranquero <lekktu@gmail.com>
1409
06641a47
JB
1410 * autorevert.el (auto-revert-handler):
1411 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1412 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1413 Don't quote lambda.
1414
c183f693
JB
1415 * image-mode.el (image-transform-set-scale):
1416 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1417
1e3b6001
G
14182011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1419
1420 * net/network-stream.el (network-stream-open-starttls): Only do
1421 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1422 Upgrades via gnutls-cli are too slow to be done opportunistically.
1423
2d6af8dd
JB
14242011-04-12 Juanma Barranquero <lekktu@gmail.com>
1425
1426 * dframe.el (dframe-current-frame): Remove spurious quote.
1427
c0749a51
GM
14282011-04-12 Glenn Morris <rgm@gnu.org>
1429
088d0d61
GM
1430 * calendar/cal-tex.el (cal-tex-end-document):
1431 Try to automatically use latin1 input if needed.
1432
c0749a51
GM
1433 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1434 Don't try to cons a mark onto an empty element.
1435
5c90fde0
LL
14362011-04-11 Leo Liu <sdl.web@gmail.com>
1437
1438 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1439 buffers.
1440 (ido-kill-buffer-at-head): Support killing virtual buffers.
1441
369e974d
CY
14422011-04-10 Chong Yidong <cyd@stupidchicken.com>
1443
1444 * minibuffer.el (completion-show-inline-help): New var.
1445 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
1446 (minibuffer-force-complete, minibuffer-complete-word):
1447 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
1448
1449 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1450 to avoid interference from inline help (Bug#5849).
1451
37f1c930
LL
14522011-04-10 Leo Liu <sdl.web@gmail.com>
1453
099c39a4
JB
1454 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1455 Fix typo.
37f1c930 1456
a32d4040
CY
14572011-04-09 Chong Yidong <cyd@stupidchicken.com>
1458
1459 * image-mode.el (image-toggle-display-image): Signal an error if
1460 not in Image mode.
1461 (image-transform-mode, image-transform-resize)
1462 (image-transform-set-rotation): Doc fix.
daca8ba5 1463 (image-transform-set-resize): Delete.
a32d4040
CY
1464 (image-transform-set-scale, image-transform-fit-to-height)
1465 (image-transform-fit-to-width): Handle image-toggle-display-image
1466 and image-transform-resize directly.
1467
099c39a4 14682011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
1469
1470 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
1471 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1472 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
1473 (doc-view-mode-map): Add bindings for the new functions.
1474
099c39a4 14752011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
1476
1477 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1478 Fix typo in docstring.
1479
3726838a
EZ
14802011-04-08 Eli Zaretskii <eliz@gnu.org>
1481
04f33f1e
EZ
1482 * files.el (file-size-human-readable): Produce one digit after
1483 decimal, like "ls -lh" does.
1484
1485 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1486 the file size representation.
1487
3726838a
EZ
1488 * simple.el (list-processes): If async subprocesses are not
1489 available, error out with a clear error message.
1490
cbb59342
CY
14912011-04-08 Chong Yidong <cyd@stupidchicken.com>
1492
1493 * help.el (help-form-show): New function, to be called from C.
1494 Put help-form output in a buffer named differently than *Help*.
1495
e3971c44
EZ
14962011-04-08 Eli Zaretskii <eliz@gnu.org>
1497
1498 * files.el (file-size-human-readable): New function.
1499
1500 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1501 computing the representation inline. Don't require `cl'.
1502
12544bbe
GM
15032011-04-08 Glenn Morris <rgm@gnu.org>
1504
a1de6c6a
GM
1505 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1506
3c4671f4
GM
1507 * net/browse-url.el (browse-url-firefox):
1508 Test system-type, not system-configuration.
1509
b605679c
GM
1510 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1511 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1512 Use log-edit-empty-buffer-p. (Bug#7598)
1513
56442f0c
GM
1514 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1515 (rlogin-mode-map): Initialize in the defvar.
1516 (rlogin): Use ignore-errors.
1517
12544bbe
GM
1518 * replace.el (occur-mode-map): Some fixes for menu items.
1519
eb237b0f
AH
15202011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1521
1522 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1523
7d668f2c
CY
15242011-04-06 Chong Yidong <cyd@stupidchicken.com>
1525
e67a13ab
CY
1526 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1527 issuing unused warnings.
1528
1529 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1530 macro directly.
1531
7d668f2c
CY
1532 * simple.el: Lisp reimplement of list-processes. Based on an
1533 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1534 (process-menu-mode): New major mode.
1535 (list-processes--refresh, list-processes):
1536 (process-menu-visit-buffer): New functions.
1537
1538 * files.el (save-buffers-kill-emacs): Don't assume any return
1539 value of list-processes, which is undocumented anyway.
1540
a83ec3c9
CY
15412011-04-06 Chong Yidong <cyd@stupidchicken.com>
1542
1543 * emacs-lisp/tabulated-list.el: New file.
1544
e91a96fe
CY
1545 * emacs-lisp/package.el: Use Tabulated List mode.
1546 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1547 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1548 table format using Tabulated List mode variables.
1549 (package--push): New macro, replacing package-list-maybe-add.
1550 (package-menu--generate): Use package--push. Renamed from
1551 package--generate-package-list.
1552 (package-menu-refresh, list-packages): Use it.
daca8ba5 1553 (package-menu--print-info): Rename from package-print-package.
e91a96fe 1554 Return insertion data instead of inserting it directly.
099c39a4
JB
1555 (package-menu-describe-package, package-menu-execute):
1556 Use tabulated-list-get-id.
e91a96fe
CY
1557 (package-menu-mark-delete, package-menu-mark-install)
1558 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
1559 (package-menu-mark-obsolete-for-deletion):
1560 Use tabulated-list-put-tag.
e91a96fe
CY
1561 (package--list-packages, package-menu-revert)
1562 (package-menu-get-package, package-menu-get-version)
1563 (package-menu-sort-by-column): Functions deleted.
1564 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1565 (package-menu--status-predicate, package-menu--version-predicate)
1566 (package-menu--name-predicate)
1567 (package-menu--description-predicate): Handle arguments in the
1568 Tabulated List format.
1569 (package-list-packages-no-fetch): Call list-packages.
1570
3e214b50
JB
15712011-04-06 Juanma Barranquero <lekktu@gmail.com>
1572
1573 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 1574 (after-find-file): Don't bind it.
3e214b50
JB
1575 (revert-buffer-in-progress-p): New variable.
1576 (revert-buffer): Bind it.
1577 Pass nil for `after-find-file-from-revert-buffer'.
1578
1579 * saveplace.el (save-place-find-file-hook): Use new variable
1580 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1581
3f0f1700
GM
15822011-04-06 Glenn Morris <rgm@gnu.org>
1583
c0274801
GM
1584 * Makefile.in (AUTOGEN_VCS): New variable.
1585 (autoloads): Use $AUTOGEN_VCS.
1586
3f0f1700
GM
1587 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1588 * calendar/calendar.el (calendar-mode-map):
1589 Check for toolkit scroll bars. (Bug#8305)
1590
41ea9e48
CY
15912011-04-05 Chong Yidong <cyd@stupidchicken.com>
1592
1593 * minibuffer.el (completion-in-region--postch)
1594 (completion-in-region-mode): Remove unnecessary messages.
1595
6194c800
JB
15962011-04-05 Juanma Barranquero <lekktu@gmail.com>
1597
33256f14
JB
1598 * font-lock.el (font-lock-refresh-defaults):
1599 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1600 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1601
6194c800
JB
1602 * info.el (Info-directory-list, Info-read-node-name-2)
1603 (Info-split-parameter-string): Doc fixes.
1604 (Info-virtual-nodes): Reflow docstring.
1605 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1606 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1607 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1608 Fix typos in docstrings.
1609 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1610 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1611 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1612 (Info-restore-desktop-buffer): Mark unused parameters.
1613 (Info-directory-find-file, Info-directory-find-node)
1614 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1615 (Info-virtual-index-find-node, Info-apropos-find-file)
1616 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 1617 Mark unused parameters; fix typos in docstrings.
6194c800
JB
1618 (Info-virtual-index): Remove unused local variable `nodename'.
1619
b87a8200 16202011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 1621
b87a8200
DD
1622 * net/rcirc.el: Update my e-mail address.
1623 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 1624
3b2ff876
CY
16252011-04-05 Chong Yidong <cyd@stupidchicken.com>
1626
1627 * startup.el (command-line): Save the cursor's theme-face
1628 directly, instead of using face-override-spec.
1629
1630 * custom.el (load-theme): Minor optimization in assigning faces.
1631
8d17e7ca
JB
16322011-04-04 Juanma Barranquero <lekktu@gmail.com>
1633
1634 * help-fns.el (describe-variable): Complete all variables having
1635 documentation, including keywords.
1636 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1637
2fbc1934
JB
16382011-04-04 Juanma Barranquero <lekktu@gmail.com>
1639
1640 Convert to lexical-binding.
1641
1642 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1643 (bs--get-marked-string, bs--get-modified-string)
1644 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1645 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1646 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1647
1648 * ehelp.el (electric-help-execute-extended)
1649 (electric-help-ctrl-x-prefix):
1650 * hexl.el (hexl-revert-buffer-function):
1651 * linum.el (linum-after-change, linum-after-scroll):
1652 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1653
1654 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1655
74f50695
DU
16562011-04-04 Daiki Ueno <ueno@unixuser.org>
1657
1658 * epa-dired.el:
1659 * epa-mail.el:
1660 * epa-hook.el:
1661 * epa-file.el:
1662 * epa.el:
1663 * epg.el: Use lexical binding.
1664
c11325f7
CY
16652011-04-03 Chong Yidong <cyd@stupidchicken.com>
1666
0d9e9a12
CY
1667 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1668
c11325f7 1669 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
1670 dictionary case for flyspell-mark-duplications-exceptions.
1671 Use regexp matching for languages.
c11325f7
CY
1672 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1673 default dictionary (Bug#7926).
1674
da91b5f2
CY
16752011-04-02 Chong Yidong <cyd@stupidchicken.com>
1676
099c39a4
JB
1677 * emacs-lisp/package.el (package--with-work-buffer):
1678 Recognize https URLs.
da91b5f2 1679
099c39a4
JB
1680 * net/network-stream.el: Move from gnus/proto-stream.el.
1681 Change prefix to network-stream throughout.
da91b5f2
CY
1682 (open-protocol-stream): Merge into open-network-stream, leaving
1683 open-protocol-stream as an alias. Handle nil BUFFER args.
1684
1685 * subr.el (open-network-stream): Move to net/network-stream.el.
1686
afa8e9f6
GM
16872011-04-02 Glenn Morris <rgm@gnu.org>
1688
1d2e369d
GM
1689 * find-dired.el (find-exec-terminator): New option.
1690 (find-ls-option): Test for -ls support.
1691 (find-ls-subdir-switches): Test for -b in find-ls-option.
1692 (find-dired, find-grep-dired): Doc fixes.
1693 (find-dired): Use find-exec-terminator.
1694
8abb7da8 1695 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
1696 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1697 (find-name-arg): Remove purecopy.
8abb7da8 1698
f3ca7378
GM
1699 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1700 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1701 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1702 accordingly. Don't add the null-device if not needed.
1703
afa8e9f6
GM
1704 * files.el (save-some-buffers): Doc fix.
1705
35eae264
EZ
17062011-04-02 Eli Zaretskii <eliz@gnu.org>
1707
1708 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1709
26b51db5
JB
17102011-04-01 Juanma Barranquero <lekktu@gmail.com>
1711
1712 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1713 Use `dolist' rather than `mapcar'.
1714
7200d79c
SM
17152011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1716
03408648 1717 Add lexical binding.
7200d79c 1718
03408648
SM
1719 * subr.el (apply-partially): Use new closures rather than CL.
1720 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1721 (dolist, dotimes): Use slightly different expansion for lexical code.
1722 (functionp): Move to C.
1723 (letrec): New macro.
1724 (with-wrapper-hook): Use it and apply-partially instead of CL.
1725 (eval-after-load): Preserve lexical-binding.
1726 (save-window-excursion, with-output-to-temp-buffer): Turn them
1727 into macros.
7200d79c 1728
03408648
SM
1729 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1730
1731 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1732 than the arglist.
1733 (help-add-fundoc-usage): Don't add `Not documented'.
1734 (help-function-arglist): Handle closures, subroutines, and new
1735 byte-code-functions.
1736 (help-make-usage): Remove leading underscores.
1737 (describe-function-1): Handle closures.
1738 (describe-variable): Use special-variable-p for completion.
1739
1740 * files.el (lexical-binding): Declare safe.
f488fb65 1741
03408648
SM
1742 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1743 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1744 (pcase): Add `let' pattern.
1745 Change memoization so it actually works.
1746 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1747 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1748 <let>: New case.
f488fb65 1749
03408648
SM
1750 * emacs-lisp/macroexp.el: Use lexical binding.
1751 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1752 Don't convert ' to #' without checking that it's indeed quoting
1753 a lambda.
1754
1755 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 1756 Use eval-sexp-add-defvars.
03408648
SM
1757 (eval-sexp-add-defvars): New fun.
1758
1759 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1760
1761 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1762 Don't autoload.
1763 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1764 than the internal `byte-compile-lambda'.
1765 (defmethod): Don't hide code under quotes.
1766 (eieio-defmethod): New `code' argument.
1767
1768 * emacs-lisp/eieio-comp.el: Remove.
1769
1770 * emacs-lisp/edebug.el (edebug-eval-defun)
1771 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1772 (edebug-toggle): Avoid `eval'.
1773
1774 * emacs-lisp/disass.el (disassemble-internal): Handle new
1775 `closure' objects.
1776 (disassemble-1): Handle new byte codes.
1777
1778 * emacs-lisp/cl.el (pushnew): Silence warning.
1779
1780 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1781 (cl-byte-compile-throw): Remove.
1782 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1783
1784 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1785 closures.
1786
1787 * emacs-lisp/cconv.el: New file.
1788
1789 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1790 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1791 (byte-compile-initial-macro-environment):
1792 Handle declare-function here.
1793 (byte-compile--lexical-environment): New var.
1794 (byte-stack-ref, byte-stack-set, byte-discardN)
1795 (byte-discardN-preserve-tos): New lap codes.
1796 (byte-interactive-p): Don't use any more.
1797 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1798 New macros.
1799 (byte-compile-lapcode): Use them and handle new lap codes.
1800 (byte-compile-obsolete): Remove.
1801 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1802 (byte-compile-arglist-warn): Check late def of inlinable funs.
1803 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1804 since they should have been expanded by now.
1805 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1806 (byte-compile-from-buffer): Remove unused second arg.
1807 (byte-compile-preprocess): New function.
1808 (byte-compile-toplevel-file-form): New function to distinguish
1809 file-form calls from outside from file-form calls from hunk-handlers.
1810 (byte-compile-file-form): Simplify.
1811 (byte-compile-file-form-defsubst): Remove.
1812 (byte-compile-file-form-defmumble): Simplify now that
1813 byte-compile-lambda always returns a byte-code-function.
1814 (byte-compile): Preprocess.
1815 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1816 Remove, not used any more.
1817 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1818 (byte-compile-make-args-desc): New funs.
1819 (byte-compile-lambda): Handle lexical functions. Always return
1820 a byte-code-function.
1821 (byte-compile-reserved-constants): New var, to make up room for
1822 closed-over variables.
1823 (byte-compile-constants-vector): Obey it.
1824 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1825 (byte-compile-macroexpand-declare-function): New function.
1826 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1827 byte-code-functions.
1828 (byte-compile-form): Check obsolescence here.
1829 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1830 (byte-compile-variable-ref): Remove.
1831 (byte-compile-dynamic-variable-op): New fun.
1832 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1833 (byte-compile-variable-set): New funs.
1834 (byte-compile-discard): Add 2 args.
1835 (byte-compile-stack-ref, byte-compile-stack-set)
1836 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1837 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1838 macroexpand-all instead.
1839 (byte-compile-quote-form): Remove.
1840 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1841 (byte-compile-bind, byte-compile-unbind): New funs.
1842 (byte-compile-let): Handle let* and lexical binding.
1843 (byte-compile-let*): Remove.
1844 (byte-compile-catch, byte-compile-unwind-protect)
1845 (byte-compile-track-mouse, byte-compile-condition-case):
1846 Handle a new :fun-body form, used for lexical scoping.
1847 (byte-compile-save-window-excursion)
1848 (byte-compile-with-output-to-temp-buffer): Remove.
1849 (byte-compile-defun): Simplify.
1850 (byte-compile-stack-adjustment): New fun.
1851 (byte-compile-out): Use it.
1852 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1853
1854 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1855 handler any more.
1856
1857 * emacs-lisp/byte-opt.el: Use lexical binding.
1858 (byte-inline-lapcode): Remove (to bytecomp).
1859 (byte-compile-inline-expand): Pay attention to inlining to/from
1860 lexically bound code.
1861 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1862 any more.
1863 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1864 any more and don't call compiler-macros.
1865 (byte-compile-splice-in-already-compiled-code): Remove.
1866 (byte-code): Don't inline any more.
1867 (disassemble-offset): Receive `bytes' as argument rather than via
1868 dynamic scoping.
1869 (byte-compile-tag-number): Declare before first use.
1870 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1871 `return' even if make-spliceable.
1872 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1873 obsolete interactive-p.
1874 (byte-optimize-lapcode): Optimize new lap-codes.
1875 Don't trip up on new form of `byte-constant' lap code.
1876
1877 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1878
1879 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1880
1881 * custom.el (custom-initialize-default, custom-declare-variable):
1882 Use `defvar'.
1883
1884 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1885 New variables.
1886 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1887 (COMPILE_FIRST): Add macroexp and cconv.
1888 * makefile.w32-in: Mirror changes in Makefile.in.
1889
1890 * vc/cvs-status.el:
1891 * vc/diff-mode.el:
1892 * vc/log-edit.el:
1893 * vc/log-view.el:
1894 * vc/smerge-mode.el:
1895 * textmodes/bibtex-style.el:
1896 * textmodes/css.el:
1897 * startup.el:
1898 * uniquify.el:
da91b5f2
CY
1899 * minibuffer.el:
1900 * newcomment.el:
1901 * reveal.el:
1902 * server.el:
1903 * mpc.el:
1904 * emacs-lisp/smie.el:
1905 * doc-view.el:
1906 * dired.el:
03408648
SM
1907 * abbrev.el: Use lexical binding.
1908
0f0c1f27
EZ
19092011-04-01 Eli Zaretskii <eliz@gnu.org>
1910
1911 * info.el (info-display-manual): New function.
1912
c82b2579
SM
19132011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1914
1915 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1916
221ddf68
TH
19172011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1918
1919 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 1920 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 1921
cba6e77e
GM
19222011-03-31 Glenn Morris <rgm@gnu.org>
1923
e040639f
GM
1924 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1925
cba6e77e
GM
1926 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1927
6d0f1c9e
CS
19282011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1929
1930 * progmodes/python.el (python-default-interpreter)
1931 (python-python-command-args, python-jython-command-args)
1932 (python-which-shell, python-which-args, python-which-bufname)
1933 (python-file-queue, python-comint-output-filter-function)
1934 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1935 variables and functions.
1936
3e2d70fd
SM
19372011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1940 (completion-in-region-mode): New minor mode.
1941 (completion-in-region): Use it.
1942 (completion-in-region--data, completion-in-region-mode-map): New vars.
1943 (completion-in-region--postch): New function.
1944 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1945 New vars.
1946 (completion--capf-wrapper): New function.
1947 (completion-at-point): Use it to track well-behavedness of
1948 hook functions.
1949 (completion-help-at-point): New command.
1950
f3e4086c
JM
19512011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1952
1953 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1954 syntax class to search for whitespace on a single line
1955 (Message-ID: <4D938140.4030905@redhat.com>).
1956
eb7ffc14
LL
19572011-03-30 Leo Liu <sdl.web@gmail.com>
1958
1959 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1960 New commands.
1961 (edit-abbrevs-map): Bind them here.
1962 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1963
d806ab68
KM
19642011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1965
1966 * allout.el (allout-hide-by-annotation, allout-flag-region):
1967 Reduce possibility of overlay leakage by making them volatile.
1968
1969 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1970 hash is not shared between buffers. Mode initialization is
1971 responsible for giving it a useful starting value.
1972 (allout-item-span): Reduce possibility of overlay leakage by
1973 making them volatile.
1974 (allout-widgets-count-buttons-in-region): Add diagnostic function
1975 for tracking down button overlay leaks.
1976
ea622834
LL
19772011-03-29 Leo Liu <sdl.web@gmail.com>
1978
1979 * ido.el (ido-read-internal): Use the default history var
1980 minibuffer-history if no HISTORY is specified.
1981
b62f8267
G
19822011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1983
03408648
SM
1984 * net/imap.el (imap-shell-open, imap-process-connection-type):
1985 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
1986 Kerberos, SSL, other subprocesses.
1987
947b6566
LL
19882011-03-28 Leo Liu <sdl.web@gmail.com>
1989
1990 * abbrev.el (abbrev-table-empty-p): New function.
1991 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1992 nonempty ones. (Bug#5937)
1993
5ffb62aa
JD
19942011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1995
1996 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1997
7a097943
LL
19982011-03-27 Leo Liu <sdl.web@gmail.com>
1999
2000 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
2001 for foreground and background colors.
2002 (ansi-color-make-color-map): Adapt.
2003
c5b40130
LL
20042011-03-25 Leo Liu <sdl.web@gmail.com>
2005
1f48f7d2
LL
2006 * midnight.el (midnight-time-float): Remove. Note it calculates
2007 the microsecond component incorrectly and seconds-to-time does the
2008 same job.
625897ec 2009 Remove redundant (require 'timer).
1f48f7d2 2010
c5b40130
LL
2011 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
2012 (ido-completions): Remove unused arguments. (Bug#8329)
2013
d86d2721
SM
20142011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
2015
2016 * minibuffer.el (completion--flush-all-sorted-completions):
2017 Remove itself from hook.
2018 (completion-at-point): Let the functions perform the completion
2019 immediately and return nil or t.
2020 * comint.el (comint-dynamic-complete-functions): Now identical to
2021 completion-at-point-functions.
2022 (comint-dynamic-list-input-ring): Remove unused var `index'.
2023 (comint--match-partial-filename, comint--unquote&expand-filename):
2024 New funs, split from comint-match-partial-filename.
2025 (comint-dynamic-complete): Use completion-at-point.
2026 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
2027
e8974c48
DA
20282011-03-24 Drew Adams <drew.adams@oracle.com>
2029
2030 * thingatpt.el: Support `defun'.
2031
def71b5e
LL
20322011-03-23 Leo Liu <sdl.web@gmail.com>
2033
cb5af48e
LL
2034 * abbrevlist.el: Move to obsolete/abbrevlist.el.
2035
def71b5e
LL
2036 * help-mode.el (help-mode-finish): Tweak regexp.
2037
927c53e7
GM
20382011-03-23 Glenn Morris <rgm@gnu.org>
2039
18d05bed
GM
2040 * eshell/esh-opt.el (eshell-eval-using-options):
2041 Do not bind unused local variable `eshell-option-stub'.
2042
927c53e7
GM
2043 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2044
9d0da923
JB
20452011-03-22 Juanma Barranquero <lekktu@gmail.com>
2046
2047 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
2048 keymap variable in `with-no-warnings' to avoid a warning when the
2049 keymap has been already `defconst'ed.
2050
4b978a67
LL
20512011-03-22 Leo Liu <sdl.web@gmail.com>
2052
2053 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
2054 encode all chars in abbrevs; otherwise use emacs-mule or
2055 utf-8-emacs. (Bug#8308)
2056
5fd62452
JB
20572011-03-22 Juanma Barranquero <lekktu@gmail.com>
2058
0b1596c6
JB
2059 * simple.el (backward-delete-char-untabify):
2060 Avoid warning about using `delete-backward-char'.
2061
5fd62452
JB
2062 * image.el (image-type-file-name-regexps): Make it variable.
2063 `imagemagick-register-types' modifies it, and the user may want
2064 to add new extensions for known image types.
2065 (imagemagick-register-types): Throw error if not using ImageMagick.
2066
0b4e93f1
LL
20672011-03-22 Leo Liu <sdl.web@gmail.com>
2068
2069 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2070 located before rcirc-prompt-end-marker.
2071 (rcirc-complete): Error if point is not after rcirc prompt.
2072 Handle the case when table is nil.
9882e214 2073 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 2074
fccee4ab
CY
20752011-03-22 Chong Yidong <cyd@stupidchicken.com>
2076
2077 * custom.el (custom--inhibit-theme-enable): Make it affect only
2078 custom-theme-set-variables and custom-theme-set-faces.
2079 (provide-theme): Ignore custom--inhibit-theme-enable.
2080 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2081 (custom-enabling-themes): Delete variable.
d86d2721
SM
2082 (enable-theme): Accept only loaded themes as arguments.
2083 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
2084 (custom-enabled-themes): Forbid themes from setting this.
2085 Eliminate use of custom-enabling-themes.
2086 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 2087
af896da6
LL
20882011-03-21 Leo Liu <sdl.web@gmail.com>
2089
2090 * ido.el (ido-read-internal): Add ido-selected to history instead
2091 of user input.
2092
78f64af0
SM
20932011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2094
2095 * subr.el (deferred-action-list, deferred-action-function):
2096 Mark obsolete.
2097
b16ac1ec
LL
20982011-03-21 Leo Liu <sdl.web@gmail.com>
2099
810f7698
LL
2100 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2101 change on 2011-02-13 (bug#8309).
2102
b16ac1ec
LL
2103 * minibuffer.el (read-file-name-function): Change default value.
2104 (read-file-name--defaults): Rename from read-file-name-defaults.
2105 (read-file-name-default): Rename from read-file-name.
2106 (read-file-name): Call read-file-name-function.
2107
4e05e67e
GM
21082011-03-21 Glenn Morris <rgm@gnu.org>
2109
2110 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2111 Doc fixes.
2112
4359915b
CY
21132011-03-21 Chong Yidong <cyd@stupidchicken.com>
2114
2115 * cus-theme.el: Add missing provide statement.
2116 (customize-create-theme): Extract theme value correctly.
2117 (custom-theme-visit-theme): Autoload.
2118 (customize-create-theme): Prompt before inserting default faces.
2119
1fe275ee
JB
21202011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2121
2122 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2123 units and musical notes.
2124
3ec03f7e
LL
21252011-03-20 Leo <sdl.web@gmail.com>
2126
2127 * ido.el (ido-read-internal): Use completing-read-default.
2128 (ido-completing-read): Fix compatibility with completing-read.
2129
7d476bde
CO
21302011-03-20 Christian Ohler <ohler@gnu.org>
2131
2132 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2133 (ert-delete-all-tests): Use `called-interactively-p' rather than
2134 `interactive-p'.
2135 (ert--make-xrefs-region): Respect END.
2136
fe0fb33e
CY
21372011-03-19 Chong Yidong <cyd@stupidchicken.com>
2138
ff854b0b
CY
2139 * dired-aux.el (dired-create-directory): Signal an error if the
2140 directory already exists (Bug#8246).
2141
fe0fb33e
CY
2142 * facemenu.el (list-colors-display): Call list-faces-display
2143 inside with-help-window.
2144 (list-colors-print): Use display property to align the final
2145 column, instead of checking window-width.
2146
576bce32
EZ
21472011-03-19 Eli Zaretskii <eliz@gnu.org>
2148
2149 * emerge.el (emerge-metachars): Separate value for ms-dos and
2150 windows-nt systems.
2151 (emerge-protect-metachars): Quote correctly for ms-dos and
2152 windows-nt systems.
2153
89c41d68 21542011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
2155
2156 * info.el (info-initialize): Replace all uses of `:' with
2157 path-separator for compatibility with non-Unix systems.
2158 Cache quoting of path-separator. (Bug#8258)
2159
b14e3e21 21602011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
2161
2162 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2163 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2164 (mouse-avoidance-mode): Fix typos in docstrings.
2165
4525ce3e
CY
21662011-03-19 Chong Yidong <cyd@stupidchicken.com>
2167
2168 * startup.el (package-subdirectory-regexp): Move from package.el.
2169 Omit \\` and \\', and let callers add them.
2170
2171 * emacs-lisp/package.el (package-strip-version)
2172 (package-load-all-descriptors): Add \\` and \\' to
2173 package-subdirectory-regexp before using it.
2174 (package-untar-buffer): New arg DIR; ensure that file untars only
2175 into this expected directory. Remove superfluous delete-region.
2176 (package-unpack): Caller changed.
2177 (package-tar-file-info): Use package-subdirectory-regexp.
2178
a904a09a 21792011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 2180
a904a09a
SM
2181 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2182 diff-mode-shared-map (bug#8284).
2183 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
2184
21852011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2186
2187 * calendar/time-date.el (format-seconds): Use assoc instead of
2188 assoc-string, since assoc-string doesn't exist in XEmacs.
2189
171fc304
JB
21902011-03-17 Juanma Barranquero <lekktu@gmail.com>
2191
2192 * custom.el (custom-known-themes): Reflow docstring.
2193 (custom-theme-load-path): Fix typo in docstring.
2194 (load-theme): Fix typo in error message.
2195 (custom-available-themes, custom-variable-theme-value):
2196 Use `let', not `let*'.
2197
d71990a1
JB
21982011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2199
2200 * calc/README: Mention inclusion of musical notes.
2201
2202 * calc/calc-units.el (calc-lu-quant): Rename from
2203 `calc-logunits-quantity'.
2204 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2205 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2206 (calc-db): Rename from `calc-dblevel'.
2207 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2208 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2209 (calc-np): Rename from `calc-nplevel'.
2210 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2211 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2212 (calc-lu-plus): Rename from `calc-logunits-add'.
2213 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2214 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2215 (calc-lu-minus): Rename from `calc-logunits-sub'.
2216 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2217 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2218 (calc-lu-times): Rename from `calc-logunits-mul'.
2219 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2220 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2221 (calc-lu-divide): Rename from `calc-logunits-div'.
2222 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2223 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2224
2225 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2226 functions being autoloaded.
2227
2228 * calc/calc.el (calc-lu-power-reference): Rename from
2229 `calc-logunits-power-reference'.
2230 (calc-lu-field-reference): Rename from
2231 `calc-logunits-field-reference'.
2232
2233 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2234
40c2934b
SM
22352011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * minibuffer.el (completion-all-sorted-completions):
2238 Use :completion-cycle-penalty text property if present.
2239
b0911414
KM
22402011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2241
2242 * allout.el (allout-yank-processing): Adjust for new rebulleting
2243 regime so bullet being yanked is used without prompting the user
2244 for a choice.
2245
8a05b668
JB
22462011-03-16 Juanma Barranquero <lekktu@gmail.com>
2247
2248 * startup.el (command-line): Warn the user that _emacs is deprecated.
2249
5ba5fb81
JB
22502011-03-16 Juanma Barranquero <lekktu@gmail.com>
2251
2252 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2253 (delphi-verbose, delphi-comment-face, delphi-string-face)
2254 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2255 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2256 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2257 (delphi-new-comment-line, delphi-font-lock-defaults)
2258 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2259 Fix typos in docstrings.
2260
2dab465b
KM
22612011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2262
5ba5fb81 2263 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
2264 Invert the roles of character and string values for INSTEAD, so a
2265 string is used for the more common case of a defaulting prompt.
2266
0adf5618
SM
22672011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * progmodes/ruby-mode.el (ruby-backward-sexp):
2270 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2271 * play/gamegrid.el (gamegrid-make-face):
2272 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2273 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2274 * notifications.el (notifications-notify):
2275 * net/xesam.el (xesam-search-engines):
2276 * net/quickurl.el (quickurl-list-insert):
2277 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2278
d72700e5
CY
22792011-03-15 Chong Yidong <cyd@stupidchicken.com>
2280
2281 * startup.el (command-line): Update package subdirectory regexp.
2282
49c5410a
SM
22832011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2284
c6eee9aa
SM
2285 * allout.el (allout-abbreviate-flattened-numbering)
2286 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2287
49c5410a
SM
2288 * subr.el (read-char-choice): Only show the cursor after the prompt,
2289 not after the answer.
2290
047b2bb9
KR
22912011-03-15 Kevin Ryde <user42@zip.com.au>
2292
2293 * help-fns.el (variable-at-point): Skip leading quotes, if any
2294 (bug#8253).
2295
0a57d256
SM
22962011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2297
2298 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2299 warning message.
2300
77c992bc
MA
23012011-03-14 Michael Albinus <michael.albinus@gmx.de>
2302
2303 * shell.el (shell): When called interactively, offer to change the
2304 shell file name on remote hosts.
2305
eebc475d
TZ
23062011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2307
2308 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2309 integration for LDAP parameters. The host, base, user or binddn,
2310 and secret tokens can be specified in a netrc file, for instance.
2311 This is optional because an `auth-source' parameter must be
2312 specified in the search attributes.
2313
9d05d1ba
JB
23142011-03-13 Juanma Barranquero <lekktu@gmail.com>
2315
2316 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2317
09d9db2c
GM
23182011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2319
2320 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2321 into declaration. Remove redundant and harmful binding.
2322
23232011-03-12 Eli Zaretskii <eliz@gnu.org>
2324
2325 * files.el (file-ownership-preserved-p): Pass `integer' as an
2326 explicit 2nd argument to `file-attributes'. If the file's owner
2327 is the Administrators group on Windows, and the current user is
2328 Administrator, consider that a match.
2329
2330 * server.el (server-ensure-safe-dir): Consider server directory
2331 safe on MS-Windows if its owner is the Administrators group while
2332 the current Emacs user is Administrator. Use `=' to compare
2333 numerical UIDs, since they could be integers or floats.
2334
219bd536
JB
23352011-03-12 Juanma Barranquero <lekktu@gmail.com>
2336
2337 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2338
f3afd36b
MA
23392011-03-12 Michael Albinus <michael.albinus@gmx.de>
2340
2341 Sync with Tramp 2.2.1.
2342
2343 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2344
2345 * net/trampver.el: Update release number.
2346
3aaaa6f1
SM
23472011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2348
94642599
SM
2349 * progmodes/compile.el (compilation--previous-directory): Fix up
2350 various nil/dead-marker mismatches (bug#8014).
2351 (compilation-directory-properties, compilation-error-properties):
2352 Don't call it at a position past the one we're about to change.
2353
3aaaa6f1
SM
2354 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2355 Disable obsolescence warnings in the file that declares it.
2356
14239447
KM
23572011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2358
099c39a4
JB
2359 * allout-widgets.el (allout-widgets-tally):
2360 Initialize allout-widgets-tally as a hash table rather than nil to
2361 prevent mode-line redisplay warnings. Also, clarify the module
2362 description and fix a comment typo.
14239447 2363
135e287c
JB
23642011-03-11 Juanma Barranquero <lekktu@gmail.com>
2365
2366 * help-fns.el (describe-variable): Don't complete keywords.
2367 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2368
ffbf300e
CY
23692011-03-10 Chong Yidong <cyd@stupidchicken.com>
2370
ba08b241
CY
2371 * emacs-lisp/package.el (package-version-join): Impose a standard
2372 string representation for pre/alpha/beta version lists.
2373 (package-unpack-single): Standardize the directory name by passing
2374 it through package-version-join.
2375 (package-strip-rcs-id): Accept any version string that does not
2376 signal an error in version-to-list.
ffbf300e 2377
f346fd6b
MA
23782011-03-10 Michael Albinus <michael.albinus@gmx.de>
2379
2380 * simple.el (delete-trailing-whitespace): Return nil for the
2381 benefit of `write-file-functions'.
2382
ccb55d27
GM
23832011-03-10 Glenn Morris <rgm@gnu.org>
2384
5ceaac0c
GM
2385 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2386
02da65ff
GM
2387 * vc/vc-git.el (vc-git-program): New option.
2388 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2389 (vc-git--call): Use it.
2390
b2f603cc
GM
2391 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2392
5772caab
GM
2393 * cus-edit.el (Custom-newline): If no button at point, look
2394 for a subgroup button at start-of-line. (Bug#2298)
2395
ccb55d27
GM
2396 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2397
ec6ecaed
JD
23982011-03-10 Julien Danjou <julien@danjou.info>
2399
2400 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2401 `cursor-type' is nil.
2402
9d5aa01d
JB
24032011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2404
2405 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2406
b6a5875b
KM
24072011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2408
2409 * allout.el Summary: Change so yank of distinctive-bullet items
2410 preserves the existing header prefix, rebulleting it if necessary,
2411 rather than replacing it. This is necessary for proper operation
2412 of cooperative addons like allout-widgets.
219bd536 2413 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
2414 SOLICIT arg to INSTEAD, and interpret additionally a string value
2415 as alternate bullet to be used, instead of prompting the user for
2416 a bullet character.
2417
ee545c35
MA
24182011-03-09 Michael Albinus <michael.albinus@gmx.de>
2419
d86d2721
SM
2420 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2421 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
2422 `tramp-default-port'.
2423
c47971d7
DD
24242011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2425
2426 * net/rcirc.el (rcirc-handler-001): Remove useless
2427 with-rcirc-process-buffer.
2428 (rcirc-check-auth-status): Swap arguments to string-match.
2429
13522cb4
GM
24302011-03-09 Glenn Morris <rgm@gnu.org>
2431
0be6f4f1
GM
2432 * shell.el (shell-mode):
2433 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2434
13522cb4
GM
2435 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2436 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2437
515de2e3
CY
24382011-03-08 Chong Yidong <cyd@stupidchicken.com>
2439
2440 * emacs-lisp/package.el (package-refresh-contents)
2441 (package-menu-execute): Use condition-case-no-debug.
2442
b511b994
MA
24432011-03-08 Michael Albinus <michael.albinus@gmx.de>
2444
2445 * simple.el (shell-command-to-string): Use `process-file'.
2446
2447 * emacs-lisp/package.el (package-tar-file-info): Handle also
2448 remote files.
2449
d86d2721
SM
2450 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2451 Use `equal' for upload base check.
b511b994 2452
25bbfb31
AM
24532011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2454
2455 * textmodes/texinfo.el (texinfo-environments):
2456 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2457
be996521
GM
24582011-03-08 Glenn Morris <rgm@gnu.org>
2459
e9c8529f
GM
2460 * cus-start.el (cursor-in-non-selected-windows):
2461 Fix :set quoting oddness. (Bug#8192)
2462
be996521
GM
2463 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2464 in some setf expressions. (Bug#2159)
2465
2bb5649e
CY
24662011-03-08 Chong Yidong <cyd@stupidchicken.com>
2467
2468 * custom.el (custom-available-themes): Return themes in
2469 alphabetical order.
2470
33383987 2471See ChangeLog.15 for earlier changes.
e3d51b27
MR
2472
2473;; Local Variables:
2474;; coding: utf-8
e3d51b27
MR
2475;; End:
2476
33383987 2477 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
2478
2479 This file is part of GNU Emacs.
2480
2481 GNU Emacs is free software: you can redistribute it and/or modify
2482 it under the terms of the GNU General Public License as published by
2483 the Free Software Foundation, either version 3 of the License, or
2484 (at your option) any later version.
2485
2486 GNU Emacs is distributed in the hope that it will be useful,
2487 but WITHOUT ANY WARRANTY; without even the implied warranty of
2488 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2489 GNU General Public License for more details.
2490
2491 You should have received a copy of the GNU General Public License
2492 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.