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