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