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