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