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