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