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