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