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