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