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