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