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