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