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