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