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