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