* lisp/vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
024ff170
SM
12011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
4 we're in VC after all.
5
1c6c854e
CS
62011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7
8 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 9 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11
bed7f140
SM
122011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13
332e62ab
SM
14 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15 add sanity check.
16
bed7f140
SM
17 * obsolete/erc-hecomplete.el: Make obsolete.
18 * obsolete/: Standardize obsolescence info in the header.
19
f195c582
GM
202011-04-20 Glenn Morris <rgm@gnu.org>
21
22 * calendar/solar.el (solar-horizontal-coordinates):
23 Use the longitude argument rather than `calendar-longitude'.
24 (solar-date-next-longitude): Remove unused locals.
25
602ea69d
SM
262011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
29 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
30 multi-line comments as well.
31
06b60517
JB
322011-04-19 Juanma Barranquero <lekktu@gmail.com>
33
34 Lexical-binding cleanup.
35
36 * arc-mode.el (archive-mode-revert):
37 * cmuscheme.el (scheme-interactively-start-process):
38 * custom.el (custom-initialize-delay):
39 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
40 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
41 * emacs-lock.el (emacs-lock-clear-sentinel):
42 * ezimage.el (defezimage):
43 * follow.el (follow-avoid-tail-recenter):
44 * fringe.el (set-fringe-mode-1):
45 * generic-x.el (bat-generic-mode-compile):
46 * help-mode.el (help-info-variable, help-do-xref)
47 (help-mode-revert-buffer):
48 * help.el (view-emacs-todo):
49 * iswitchb.el (iswitchb-completion-help):
50 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
51 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
52 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
53 * locate.el (locate-update):
54 * longlines.el (longlines-encode-region)
55 (longlines-after-change-function):
56 * outline.el (outline-isearch-open-invisible):
57 * ps-def.el (declare-function, charset-dimension, char-width)
58 (encode-char):
59 * ps-mule.el (ps-mule-plot-string):
60 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
61 (recentf-edit-list-select, recentf-edit-list-validate)
62 (recentf-open-files-action):
63 * rect.el (delete-whitespace-rectangle-line)
64 (rectangle-number-line-callback):
65 * register.el (window-configuration-to-register)
66 (frame-configuration-to-register):
67 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
68 * select.el (xselect-convert-to-string, xselect-convert-to-length)
69 (xselect-convert-to-targets, xselect-convert-to-delete)
70 (xselect-convert-to-filename, xselect-convert-to-charpos)
71 (xselect-convert-to-lineno, xselect-convert-to-colno)
72 (xselect-convert-to-os, xselect-convert-to-host)
73 (xselect-convert-to-user, xselect-convert-to-class)
74 (xselect-convert-to-name, xselect-convert-to-integer)
75 (xselect-convert-to-atom, xselect-convert-to-identity):
76 * subr.el (declare, ignore, process-kill-without-query)
77 (text-clone-maintain):
78 * terminal.el (te-get-char, te-tic-sentinel):
79 * tool-bar.el (tool-bar-make-keymap):
80 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
81 * type-break.el (type-break-mode, type-break-noninteractive-query):
82 * view.el (View-back-to-mark):
83 * wid-browse.el (widget-browse-action, widget-browse-widget)
84 (widget-browse-widgets, widget-browse-sexp):
85 * widget.el (define-widget-keywords):
86 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
87 Mark unused parameters.
88
89 * align.el (align-adjust-col-for-rule): Mark unused parameter.
90 (align-areas): Remove unused variable `look'.
91 (align-region): Remove unused variables `real-end' and `pos-list'.
92
93 * apropos.el (apropos-score-doc): Remove unused variable `i'.
94
95 * bindings.el (mode-line-modified, mode-line-remote):
96 Mark unused parameters.
97 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
98
99 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
100 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
101
102 * comint.el (comint-history-isearch-pop-state)
103 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
104 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
105 (comint-substitute-in-file-name): Doc fix.
106
107 * completion.el (cmpl-statistics-block): Mark unused parameter.
108 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
109 (save-completions-to-file, load-completions-from-file):
110 Remove unused local variable `e'.
111
112 * composite.el (compose-chars): Remove unused variable `len'.
113 (lgstring-insert-glyph): Remove unused variable `g'.
114 (compose-glyph-string): Remove unused variables `ascent',
115 `descent', `lbearing' and `rbearing'.
116 (compose-glyph-string-relative): Remove unused variables
117 `lbearing', `rbearing' and `wadjust'.
118 (compose-gstring-for-graphic): Remove unused variables `header',
119 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
120 (compose-gstring-for-terminal): Remove unused variables `header'
121 and `nchars'. Use `let', not `let*'.
122
123 * cus-edit.el (Custom-set, Custom-save, custom-reset)
124 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
125 (Custom-buffer-done, custom-buffer-create-internal)
126 (custom-browse-visibility-action, custom-browse-group-tag-action)
127 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
128 (widget-magic-mouse-down-action, custom-toggle-parent)
129 (custom-add-parent-links, custom-toggle-hide-variable)
130 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
131 (custom-toggle-hide-face, face, hook, custom-group-link-action)
132 (custom-face-menu-create, custom-variable-menu-create, get)
133 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
134 (custom-reset-standard-save-and-update): Remove unused variable `value'.
135 (customize-apropos): Remove unused variable `tests'.
136 (custom-group-value-create): Remove unused variable `hidden-p'.
137 (sort-fold-case): Declare.
138
139 * cus-theme.el (custom-reset-standard-faces-list)
140 (custom-reset-standard-variables-list): Declare.
141 (customize-create-theme, custom-theme-revert, custom-theme-write)
142 (custom-theme-choose-mode, customize-themes, custom-theme-save):
143 Mark unused parameters.
144
145 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
146
147 * delim-col.el (delimit-columns-max): Move defvar before first use.
148
149 * descr-text.el (describe-char-categories): Don't quote `lambda'.
150 (describe-char): Don't quote `lambda'. Mark unused parameter.
151
152 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
153 (auto-insert): Declare.
154 (desktop-restore-file-buffer): Rename desktop-* parameters;
155 mark unused ones.
156 (desktop-create-buffer): Rename desktop-* parameters and bind them.
157 (desktop-buffer): Rename desktop-* parameters.
158
159 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
160 (dframe-reposition-frame-xemacs, dframe-help-echo)
161 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
162 Mark unused parameters.
163
164 * dired-aux.el (backup-extract-version-start, overwrite-query)
165 (overwrite-backup-query, rename-regexp-query)
166 (rename-non-directory-query): Declare.
167 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
168 (dired-add-entry): Remove unused variable `orig-file-name'.
169 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
170 Use parameter PRESERVE-TIME instead of accessing dynamic variable
171 `dired-copy-preserve-time' directly.
172 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
173 (dired-insert-subdir-newpos): Rename unused variable `pos'.
174
175 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
176 (dired-virtual-revert, dired-make-relative-symlink):
177 Mark unused parameters.
178 (manual-program): Declare.
179 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
180 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
181 wrapped in `with-no-warnings' to avoid replacing one warning by another.
182
183 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
184
185 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
186
187 * echistory.el (electric-history-in-progress, Helper-return-blurb):
188 Declare.
189
190 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
191
192 * electric.el (Electric-command-loop): Rename parameter
193 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
194
195 * expand.el (expand-in-literal): Remove unused variable `here'.
196
197 * facemenu.el (facemenu-add-new-color):
198 Remove unused variable `docstring'.
199
200 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
201 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
202 (face-attr-construct): Mark unused parameter. Doc fix.
203 (read-color): Remove unused variable `hex-string'.
204
205 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
206 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
207 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
208 (display-buffer-other-frame): Remove unused variable `old-window'.
209 (kill-buffer-hook): Declare.
210 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
211 Mark unused parameters.
212 (after-find-file): Pass 1 to `auto-save-mode', not t.
213
214 * files-x.el (auto-insert): Declare.
215 (modify-file-local-variable-prop-line): Remove unused variable `val'.
216
217 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
218 variable `buf'. Mark unused parameter.
219 (find-lisp-insert-directory): Mark unused parameter.
220
221 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
222 (format-encode-region): Remove unused variables `cur-buf' and `result'.
223 (format-common-tail): Remove, unused.
224 (format-deannotate-region): Remove unused variable `loc'.
225 (format-annotate-region): Remove unused variable `p'.
226 (format-annotate-single-property-change): Remove unused variables
227 `default' and `tail'.
228
229 * forms.el (read-file-filter): Declare.
230 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
231
232 * frame.el (frame-creation-function-alist): Mark unused parameter.
233 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
234
235 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
236 Remove unused parameters.
237 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
238 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
239
240 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
241 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
242 (hfy-prepare-tag-map): Mark unused parameters.
243 (htmlfontify-buffer): Use `called-interactively-p'.
244
245 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
246 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
247 (ibuffer-do-occur): Mark unused parameters.
248 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
249 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
250
251 * ibuffer.el: Don't quote `lambda'.
252 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
253 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
254 Mark unused parameters.
255
256 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
257 (ido-completing-read): Mark unused parameters.
258 (ido-copy-current-word): Mark unused parameters;
259 remove unused variable `name'.
260 (ido-sort-merged-list): Remove unused parameter `dirs'.
261
262 * ielm.el (ielm-input-sender): Mark unused parameter.
263 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
264 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
265 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
266 `ielm-string' as a dynamic variable accessible from the IELM prompt.
267 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
268
269 * image-dired.el (image-dired-display-thumbs): Remove unused
270 variables `curr-file' and `count'.
271 (image-dired-remove-tag): Remove unused variable `start'.
272 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
273 variable `curr-file'
274 (image-dired-rotate-original): Remove unused variable `temp-file'.
275 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
276 Remove unused variable `file'.
277 (image-dired-gallery-generate): Remove unused variable `curr'.
278 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
279
280 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
281
282 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
283
284 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
285
286 * isearch.el (minibuffer-history-symbol): Declare.
287 (isearch-edit-string): Remove unused variable `err'.
288 (isearch-message-prefix, isearch-message-suffix):
289 Mark unused parameters.
290
291 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
292
293 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
294
295 * makesum.el (double-column): Remove unused variable `cnt'.
296
297 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
298 (ido-ignore-item-temp-list): Declare.
299
300 * mouse-drag.el (mouse-drag-throw): Remove unused variables
301 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
302 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
303 (mouse-drag-drag): Remove unused variables `mouse-delta' and
304 `mouse-col-delta'.
305
306 * mouse-sel.el (mouse-extend-internal):
307 Remove unused variable `orig-window-frame'.
308
309 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
310 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
311 Move declarations before first use.
312 (pcomplete-opt): Mark unused parameters; doc fix.
313
314 * proced.el (proced-revert): Mark unused parameter.
315 (proced-send-signal): Remove unused variable `err'.
316
317 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
318 Rename parameter PREFIX-ARG to ARG.
319 (ps-basic-plot-string, ps-basic-plot-whitespace):
320 Mark unused parameters.
321
322 * replace.el (replace-count): Define.
323 (occur-revert-function): Mark unused parameters.
324 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
325 (isearch-case-fold-search, isearch-string): Declare.
326 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
327 bind `case-fold-search'. Remove unused variables `beg' and `end',
328 and simplify.
329 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
330 COUNT and bind `replace-count'.
331 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
332 to COUNT.
333
334 * savehist.el (print-readably, print-string-length): Declare.
335
336 * shadowfile.el (shadow-expand-cluster-in-file-name):
337 Remove unused variable `cluster'.
338 (shadow-copy-file): Remove unused variable `i'.
339 (shadow-noquery, shadow-clusters, shadow-site-cluster)
340 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
341 (shadow-define-literal-group, shadow-define-regexp-group)
342 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
343
344 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
345 (shell): Use `called-interactively-p'.
346 (shell-directory-tracker): Remove unused variable `chdir-failure'.
347
348 * simple.el (compilation-context-lines, comint-file-name-quote-list)
349 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
350 (delete-backward-char): Remove unused variable `ocol'.
351 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
352 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
353 (event-apply-hyper-modifier, event-apply-shift-modifier)
354 (event-apply-control-modifier, event-apply-meta-modifier):
355 Mark unused parameters.
356 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
357 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
358
359 * speedbar.el (speedbar-ignored-directory-expressions)
360 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
361 (speedbar-find-file, speedbar-dir-follow)
362 (speedbar-directory-buttons-follow, speedbar-tag-find)
363 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
364 (speedbar-buffers-line-directory, speedbar-buffer-click):
365 Mark unused parameters.
366 (speedbar-tag-file): Remove unused variable `mode'.
367 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
368
369 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
370
371 * talk.el (talk): Remove unused variable `display'.
372
373 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
374 (tar-write-region-annotate): Mark unused parameter.
375
376 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
377 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
378 Declare them, wrapped in `with-no-warnings' to avoid replacing one
379 warning by another.
380
381 * time-stamp.el (time-stamp-string-preprocess):
382 Remove unused variable `require-padding'.
383
384 * tree-widget.el (widget-glyph-enable): Declare.
385 (tree-widget-action): Mark unused parameter.
386
387 * w32-fns.el (x-get-selection): Mark unused parameter.
388 (autoload-make-program, generated-autoload-file): Declare.
389
390 * wdired.el (wdired-revert): Mark unused parameters.
391 (wdired-xcase-word): Remove unused variable `err'.
392
393 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
394 (whitespace-help-scroll): Remove unused variable `data-help'.
395
396 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
397 (widget-image-insert, widget-after-change, default)
398 (widget-default-format-handler, widget-default-notify)
399 (widget-default-prompt-value, widget-info-link-action)
400 (widget-url-link-action, widget-function-link-action)
401 (widget-variable-link-action, widget-file-link-action)
402 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
403 (widget-field-prompt-internal, widget-field-action, widget-field-match)
404 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
405 (widget-insert-button-action, widget-delete-button-action, visibility)
406 (widget-documentation-link-action, widget-documentation-string-action)
407 (widget-const-prompt-value, widget-regexp-match, symbol)
408 (widget-coding-system-prompt-value)
409 (widget-key-sequence-value-to-external, sexp)
410 (widget-sexp-value-to-internal, character, vector, cons)
411 (widget-choice-prompt-value, widget-boolean-prompt-value)
412 (widget-color--choose-action): Mark unused parameters.
413 (widget-item-match-inline, widget-choice-match-inline)
414 (widget-checklist-match, widget-checklist-match-inline)
415 (widget-group-match): Rename parameter VALUES to VALS.
416 (widget-field-value-set): Remove unused variable `size'.
417 (widget-color-action): Remove unused variables `value' and `start'.
418
419 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
420 variable `dir'. Doc fix.
421 (windmove-find-other-window): Don't pass it.
422
423 * window.el (count-windows): Mark unused parameter.
424 (bw-adjust-window): Remove unused variable `err'.
425
426 * woman.el (woman-file-name): Remove unused variable `default'.
427 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
428 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
429 (global-font-lock-mode): Declare.
430 (woman-decode-region): Mark unused parameter.
431 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
432
433 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
434 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
435 (x-dnd-handle-moz-url): Remove unused variable `title'.
436 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
437
438 * xml.el (xml-parse-tag, xml-parse-attlist):
439 Remove unused variable `pos'.
440
bc4f7f3d
GM
4412011-04-19 Glenn Morris <rgm@gnu.org>
442
443 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
444 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
445 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
446 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
447 * calendar/cal-html.el (cal-html-insert-minical):
448 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
449 (calendar-mark-date-pattern):
450 Prefix "unused" locals.
451
452 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
453 optional argument `style'.
454
455 * calendar/appt.el (appt-make-list):
456 * calendar/cal-china.el (calendar-chinese-date-string):
457 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
458 (diary-hebrew-yahrzeit):
459 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
460 * calendar/calendar.el (calendar-generate-window):
461 * calendar/time-date.el (time-to-days):
462 Remove unused local variables.
463
16a43933
CY
4642011-04-18 Chong Yidong <cyd@stupidchicken.com>
465
466 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
467 glyphless-char-display table.
468 (tabulated-list-glyphless-char-display): New var.
469
7eed1860
SS
4702011-04-18 Sam Steingold <sds@gnu.org>
471
472 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
473 to acknowledgments.
474
4d2d1ccd
GM
4752011-04-17 Glenn Morris <rgm@gnu.org>
476
477 * calendar/diary-lib.el (diary-sexp-entry):
478 * calendar/holidays.el (holiday-sexp):
479 Set debug-on-error rather than the removed stack-trace-on-error.
480
239da61d
GM
4812011-04-16 Glenn Morris <rgm@gnu.org>
482
483 * progmodes/f90.el: Use lexical-binding.
484 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
485
8b05752a
SM
4862011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
487
daca8ba5
SM
488 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
489 (mail-mode): Setup mailalias completion here instead.
490 * mail/mailalias.el: Use lexical-binding.
491 (pattern, mailalias-done): Declare dynamic.
492 (mail-completion-at-point-function): New function, from mail-complete.
493 (mail-complete): Use it.
494 (mail-completion-expand): New function.
495 (mail-get-names): Use it.
496 (mail-directory, mail-directory-process, mail-directory-stream):
497 Don't use `pattern' for lexically bound arg.
498
6f542485
SM
499 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
500
037e7c3f
SM
501 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
502 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
503 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
504
8b05752a
SM
505 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
506 (byte-save-window-excursion, byte-temp-output-buffer-setup)
507 (byte-interactive-p): Define them again, for use when inlining
508 old code.
509
49093f60
JB
5102011-04-15 Juanma Barranquero <lekktu@gmail.com>
511
512 * loadup.el: Use `string-to-number', not `string-to-int'.
513
b5b8e7de
SM
5142011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
517 gud-gdb-complete-command.
518 (gud-gdb-completions): New function, from gud-gdb-complete-command.
519 (gud-gdb-completion-at-point): New function.
520 (gud-gdb-completions): Remove.
521
f42efeb5
MA
5222011-04-14 Michael Albinus <michael.albinus@gmx.de>
523
49093f60
JB
524 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
525 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
526 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
527 whether `executable-find' is bound.
f42efeb5
MA
528
529 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
530
e240cc21
SM
5312011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
532
533 * minibuffer.el (completion-in-region-mode-predicate)
534 (completion-in-region-mode--predicate): New vars.
535 (completion-in-region, completion-in-region--postch)
536 (completion-in-region-mode): Use them.
537 (completion--capf-wrapper): Also return the hook function.
538 (completion-at-point, completion-help-at-point):
539 Adjust and provide a predicate.
c2bd2ab0
SM
540
541 Preserve arg names for advice of subr and lexical functions (bug#8457).
542 * help-fns.el (help-function-arglist): Consolidate the subr and
543 new-byte-code cases. Add argument `preserve-names' to extract names
544 from the docstring when needed.
545 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
546 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
547 (ad-arglist): Use help-function-arglist's new arg.
548 (ad-definition-type): Use cond.
549
c183f693
JB
5502011-04-13 Juanma Barranquero <lekktu@gmail.com>
551
06641a47
JB
552 * autorevert.el (auto-revert-handler):
553 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
554 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
555 Don't quote lambda.
556
c183f693
JB
557 * image-mode.el (image-transform-set-scale):
558 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
559
1e3b6001
G
5602011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
561
562 * net/network-stream.el (network-stream-open-starttls): Only do
563 opportunistic STARTTLS upgrades if we have built-in gnutls support.
564 Upgrades via gnutls-cli are too slow to be done opportunistically.
565
2d6af8dd
JB
5662011-04-12 Juanma Barranquero <lekktu@gmail.com>
567
568 * dframe.el (dframe-current-frame): Remove spurious quote.
569
c0749a51
GM
5702011-04-12 Glenn Morris <rgm@gnu.org>
571
088d0d61
GM
572 * calendar/cal-tex.el (cal-tex-end-document):
573 Try to automatically use latin1 input if needed.
574
c0749a51
GM
575 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
576 Don't try to cons a mark onto an empty element.
577
5c90fde0
LL
5782011-04-11 Leo Liu <sdl.web@gmail.com>
579
580 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
581 buffers.
582 (ido-kill-buffer-at-head): Support killing virtual buffers.
583
369e974d
CY
5842011-04-10 Chong Yidong <cyd@stupidchicken.com>
585
586 * minibuffer.el (completion-show-inline-help): New var.
587 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
588 (minibuffer-force-complete, minibuffer-complete-word):
589 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
590
591 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
592 to avoid interference from inline help (Bug#5849).
593
37f1c930
LL
5942011-04-10 Leo Liu <sdl.web@gmail.com>
595
099c39a4
JB
596 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
597 Fix typo.
37f1c930 598
a32d4040
CY
5992011-04-09 Chong Yidong <cyd@stupidchicken.com>
600
601 * image-mode.el (image-toggle-display-image): Signal an error if
602 not in Image mode.
603 (image-transform-mode, image-transform-resize)
604 (image-transform-set-rotation): Doc fix.
daca8ba5 605 (image-transform-set-resize): Delete.
a32d4040
CY
606 (image-transform-set-scale, image-transform-fit-to-height)
607 (image-transform-fit-to-width): Handle image-toggle-display-image
608 and image-transform-resize directly.
609
099c39a4 6102011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
611
612 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
613 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
614 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
615 (doc-view-mode-map): Add bindings for the new functions.
616
099c39a4 6172011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
618
619 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
620 Fix typo in docstring.
621
3726838a
EZ
6222011-04-08 Eli Zaretskii <eliz@gnu.org>
623
04f33f1e
EZ
624 * files.el (file-size-human-readable): Produce one digit after
625 decimal, like "ls -lh" does.
626
627 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
628 the file size representation.
629
3726838a
EZ
630 * simple.el (list-processes): If async subprocesses are not
631 available, error out with a clear error message.
632
cbb59342
CY
6332011-04-08 Chong Yidong <cyd@stupidchicken.com>
634
635 * help.el (help-form-show): New function, to be called from C.
636 Put help-form output in a buffer named differently than *Help*.
637
e3971c44
EZ
6382011-04-08 Eli Zaretskii <eliz@gnu.org>
639
640 * files.el (file-size-human-readable): New function.
641
642 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
643 computing the representation inline. Don't require `cl'.
644
12544bbe
GM
6452011-04-08 Glenn Morris <rgm@gnu.org>
646
a1de6c6a
GM
647 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
648
3c4671f4
GM
649 * net/browse-url.el (browse-url-firefox):
650 Test system-type, not system-configuration.
651
b605679c
GM
652 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
653 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
654 Use log-edit-empty-buffer-p. (Bug#7598)
655
56442f0c
GM
656 * net/rlogin.el (rlogin-process-connection-type): Simplify.
657 (rlogin-mode-map): Initialize in the defvar.
658 (rlogin): Use ignore-errors.
659
12544bbe
GM
660 * replace.el (occur-mode-map): Some fixes for menu items.
661
eb237b0f
AH
6622011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
663
664 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
665
7d668f2c
CY
6662011-04-06 Chong Yidong <cyd@stupidchicken.com>
667
e67a13ab
CY
668 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
669 issuing unused warnings.
670
671 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
672 macro directly.
673
7d668f2c
CY
674 * simple.el: Lisp reimplement of list-processes. Based on an
675 earlier reimplementation by Leo Liu, but using tabulated-list.el.
676 (process-menu-mode): New major mode.
677 (list-processes--refresh, list-processes):
678 (process-menu-visit-buffer): New functions.
679
680 * files.el (save-buffers-kill-emacs): Don't assume any return
681 value of list-processes, which is undocumented anyway.
682
a83ec3c9
CY
6832011-04-06 Chong Yidong <cyd@stupidchicken.com>
684
685 * emacs-lisp/tabulated-list.el: New file.
686
e91a96fe
CY
687 * emacs-lisp/package.el: Use Tabulated List mode.
688 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
689 (package-menu-mode): Derive from tabulated-list-mode. Set up the
690 table format using Tabulated List mode variables.
691 (package--push): New macro, replacing package-list-maybe-add.
692 (package-menu--generate): Use package--push. Renamed from
693 package--generate-package-list.
694 (package-menu-refresh, list-packages): Use it.
daca8ba5 695 (package-menu--print-info): Rename from package-print-package.
e91a96fe 696 Return insertion data instead of inserting it directly.
099c39a4
JB
697 (package-menu-describe-package, package-menu-execute):
698 Use tabulated-list-get-id.
e91a96fe
CY
699 (package-menu-mark-delete, package-menu-mark-install)
700 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
701 (package-menu-mark-obsolete-for-deletion):
702 Use tabulated-list-put-tag.
e91a96fe
CY
703 (package--list-packages, package-menu-revert)
704 (package-menu-get-package, package-menu-get-version)
705 (package-menu-sort-by-column): Functions deleted.
706 (package-menu-package-list, package-menu-sort-key): Vars deleted.
707 (package-menu--status-predicate, package-menu--version-predicate)
708 (package-menu--name-predicate)
709 (package-menu--description-predicate): Handle arguments in the
710 Tabulated List format.
711 (package-list-packages-no-fetch): Call list-packages.
712
3e214b50
JB
7132011-04-06 Juanma Barranquero <lekktu@gmail.com>
714
715 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 716 (after-find-file): Don't bind it.
3e214b50
JB
717 (revert-buffer-in-progress-p): New variable.
718 (revert-buffer): Bind it.
719 Pass nil for `after-find-file-from-revert-buffer'.
720
721 * saveplace.el (save-place-find-file-hook): Use new variable
722 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
723
3f0f1700
GM
7242011-04-06 Glenn Morris <rgm@gnu.org>
725
c0274801
GM
726 * Makefile.in (AUTOGEN_VCS): New variable.
727 (autoloads): Use $AUTOGEN_VCS.
728
3f0f1700
GM
729 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
730 * calendar/calendar.el (calendar-mode-map):
731 Check for toolkit scroll bars. (Bug#8305)
732
41ea9e48
CY
7332011-04-05 Chong Yidong <cyd@stupidchicken.com>
734
735 * minibuffer.el (completion-in-region--postch)
736 (completion-in-region-mode): Remove unnecessary messages.
737
6194c800
JB
7382011-04-05 Juanma Barranquero <lekktu@gmail.com>
739
33256f14
JB
740 * font-lock.el (font-lock-refresh-defaults):
741 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
742 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
743
6194c800
JB
744 * info.el (Info-directory-list, Info-read-node-name-2)
745 (Info-split-parameter-string): Doc fixes.
746 (Info-virtual-nodes): Reflow docstring.
747 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
748 (Info-apropos-toc-nodes, info-finder, Info-get-token)
749 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
750 Fix typos in docstrings.
751 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
752 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
753 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
754 (Info-restore-desktop-buffer): Mark unused parameters.
755 (Info-directory-find-file, Info-directory-find-node)
756 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
757 (Info-virtual-index-find-node, Info-apropos-find-file)
758 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 759 Mark unused parameters; fix typos in docstrings.
6194c800
JB
760 (Info-virtual-index): Remove unused local variable `nodename'.
761
b87a8200 7622011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 763
b87a8200
DD
764 * net/rcirc.el: Update my e-mail address.
765 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 766
3b2ff876
CY
7672011-04-05 Chong Yidong <cyd@stupidchicken.com>
768
769 * startup.el (command-line): Save the cursor's theme-face
770 directly, instead of using face-override-spec.
771
772 * custom.el (load-theme): Minor optimization in assigning faces.
773
8d17e7ca
JB
7742011-04-04 Juanma Barranquero <lekktu@gmail.com>
775
776 * help-fns.el (describe-variable): Complete all variables having
777 documentation, including keywords.
778 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
779
2fbc1934
JB
7802011-04-04 Juanma Barranquero <lekktu@gmail.com>
781
782 Convert to lexical-binding.
783
784 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
785 (bs--get-marked-string, bs--get-modified-string)
786 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
787 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
788 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
789
790 * ehelp.el (electric-help-execute-extended)
791 (electric-help-ctrl-x-prefix):
792 * hexl.el (hexl-revert-buffer-function):
793 * linum.el (linum-after-change, linum-after-scroll):
794 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
795
796 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
797
74f50695
DU
7982011-04-04 Daiki Ueno <ueno@unixuser.org>
799
800 * epa-dired.el:
801 * epa-mail.el:
802 * epa-hook.el:
803 * epa-file.el:
804 * epa.el:
805 * epg.el: Use lexical binding.
806
c11325f7
CY
8072011-04-03 Chong Yidong <cyd@stupidchicken.com>
808
0d9e9a12
CY
809 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
810
c11325f7 811 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
812 dictionary case for flyspell-mark-duplications-exceptions.
813 Use regexp matching for languages.
c11325f7
CY
814 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
815 default dictionary (Bug#7926).
816
da91b5f2
CY
8172011-04-02 Chong Yidong <cyd@stupidchicken.com>
818
099c39a4
JB
819 * emacs-lisp/package.el (package--with-work-buffer):
820 Recognize https URLs.
da91b5f2 821
099c39a4
JB
822 * net/network-stream.el: Move from gnus/proto-stream.el.
823 Change prefix to network-stream throughout.
da91b5f2
CY
824 (open-protocol-stream): Merge into open-network-stream, leaving
825 open-protocol-stream as an alias. Handle nil BUFFER args.
826
827 * subr.el (open-network-stream): Move to net/network-stream.el.
828
afa8e9f6
GM
8292011-04-02 Glenn Morris <rgm@gnu.org>
830
1d2e369d
GM
831 * find-dired.el (find-exec-terminator): New option.
832 (find-ls-option): Test for -ls support.
833 (find-ls-subdir-switches): Test for -b in find-ls-option.
834 (find-dired, find-grep-dired): Doc fixes.
835 (find-dired): Use find-exec-terminator.
836
8abb7da8 837 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
838 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
839 (find-name-arg): Remove purecopy.
8abb7da8 840
f3ca7378
GM
841 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
842 (grep-compute-defaults): Check for `-exec COMMAND +' support.
843 Set grep-find-use-xargs, grep-find-command, and grep-find-template
844 accordingly. Don't add the null-device if not needed.
845
afa8e9f6
GM
846 * files.el (save-some-buffers): Doc fix.
847
35eae264
EZ
8482011-04-02 Eli Zaretskii <eliz@gnu.org>
849
850 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
851
26b51db5
JB
8522011-04-01 Juanma Barranquero <lekktu@gmail.com>
853
854 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
855 Use `dolist' rather than `mapcar'.
856
7200d79c
SM
8572011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
858
03408648 859 Add lexical binding.
7200d79c 860
03408648
SM
861 * subr.el (apply-partially): Use new closures rather than CL.
862 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
863 (dolist, dotimes): Use slightly different expansion for lexical code.
864 (functionp): Move to C.
865 (letrec): New macro.
866 (with-wrapper-hook): Use it and apply-partially instead of CL.
867 (eval-after-load): Preserve lexical-binding.
868 (save-window-excursion, with-output-to-temp-buffer): Turn them
869 into macros.
7200d79c 870
03408648
SM
871 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
872
873 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
874 than the arglist.
875 (help-add-fundoc-usage): Don't add `Not documented'.
876 (help-function-arglist): Handle closures, subroutines, and new
877 byte-code-functions.
878 (help-make-usage): Remove leading underscores.
879 (describe-function-1): Handle closures.
880 (describe-variable): Use special-variable-p for completion.
881
882 * files.el (lexical-binding): Declare safe.
f488fb65 883
03408648
SM
884 * emacs-lisp/pcase.el: Don't use destructuring-bind.
885 (pcase--memoize): Rename from pcase-memoize. Change weakness.
886 (pcase): Add `let' pattern.
887 Change memoization so it actually works.
888 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
889 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
890 <let>: New case.
f488fb65 891
03408648
SM
892 * emacs-lisp/macroexp.el: Use lexical binding.
893 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
894 Don't convert ' to #' without checking that it's indeed quoting
895 a lambda.
896
897 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 898 Use eval-sexp-add-defvars.
03408648
SM
899 (eval-sexp-add-defvars): New fun.
900
901 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
902
903 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
904 Don't autoload.
905 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
906 than the internal `byte-compile-lambda'.
907 (defmethod): Don't hide code under quotes.
908 (eieio-defmethod): New `code' argument.
909
910 * emacs-lisp/eieio-comp.el: Remove.
911
912 * emacs-lisp/edebug.el (edebug-eval-defun)
913 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
914 (edebug-toggle): Avoid `eval'.
915
916 * emacs-lisp/disass.el (disassemble-internal): Handle new
917 `closure' objects.
918 (disassemble-1): Handle new byte codes.
919
920 * emacs-lisp/cl.el (pushnew): Silence warning.
921
922 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
923 (cl-byte-compile-throw): Remove.
924 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
925
926 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
927 closures.
928
929 * emacs-lisp/cconv.el: New file.
930
931 * emacs-lisp/bytecomp.el: Use lexical binding instead of
932 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
933 (byte-compile-initial-macro-environment):
934 Handle declare-function here.
935 (byte-compile--lexical-environment): New var.
936 (byte-stack-ref, byte-stack-set, byte-discardN)
937 (byte-discardN-preserve-tos): New lap codes.
938 (byte-interactive-p): Don't use any more.
939 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
940 New macros.
941 (byte-compile-lapcode): Use them and handle new lap codes.
942 (byte-compile-obsolete): Remove.
943 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
944 (byte-compile-arglist-warn): Check late def of inlinable funs.
945 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
946 since they should have been expanded by now.
947 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
948 (byte-compile-from-buffer): Remove unused second arg.
949 (byte-compile-preprocess): New function.
950 (byte-compile-toplevel-file-form): New function to distinguish
951 file-form calls from outside from file-form calls from hunk-handlers.
952 (byte-compile-file-form): Simplify.
953 (byte-compile-file-form-defsubst): Remove.
954 (byte-compile-file-form-defmumble): Simplify now that
955 byte-compile-lambda always returns a byte-code-function.
956 (byte-compile): Preprocess.
957 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
958 Remove, not used any more.
959 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
960 (byte-compile-make-args-desc): New funs.
961 (byte-compile-lambda): Handle lexical functions. Always return
962 a byte-code-function.
963 (byte-compile-reserved-constants): New var, to make up room for
964 closed-over variables.
965 (byte-compile-constants-vector): Obey it.
966 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
967 (byte-compile-macroexpand-declare-function): New function.
968 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
969 byte-code-functions.
970 (byte-compile-form): Check obsolescence here.
971 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
972 (byte-compile-variable-ref): Remove.
973 (byte-compile-dynamic-variable-op): New fun.
974 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
975 (byte-compile-variable-set): New funs.
976 (byte-compile-discard): Add 2 args.
977 (byte-compile-stack-ref, byte-compile-stack-set)
978 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
979 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
980 macroexpand-all instead.
981 (byte-compile-quote-form): Remove.
982 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
983 (byte-compile-bind, byte-compile-unbind): New funs.
984 (byte-compile-let): Handle let* and lexical binding.
985 (byte-compile-let*): Remove.
986 (byte-compile-catch, byte-compile-unwind-protect)
987 (byte-compile-track-mouse, byte-compile-condition-case):
988 Handle a new :fun-body form, used for lexical scoping.
989 (byte-compile-save-window-excursion)
990 (byte-compile-with-output-to-temp-buffer): Remove.
991 (byte-compile-defun): Simplify.
992 (byte-compile-stack-adjustment): New fun.
993 (byte-compile-out): Use it.
994 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
995
996 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
997 handler any more.
998
999 * emacs-lisp/byte-opt.el: Use lexical binding.
1000 (byte-inline-lapcode): Remove (to bytecomp).
1001 (byte-compile-inline-expand): Pay attention to inlining to/from
1002 lexically bound code.
1003 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1004 any more.
1005 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1006 any more and don't call compiler-macros.
1007 (byte-compile-splice-in-already-compiled-code): Remove.
1008 (byte-code): Don't inline any more.
1009 (disassemble-offset): Receive `bytes' as argument rather than via
1010 dynamic scoping.
1011 (byte-compile-tag-number): Declare before first use.
1012 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1013 `return' even if make-spliceable.
1014 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1015 obsolete interactive-p.
1016 (byte-optimize-lapcode): Optimize new lap-codes.
1017 Don't trip up on new form of `byte-constant' lap code.
1018
1019 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1020
1021 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1022
1023 * custom.el (custom-initialize-default, custom-declare-variable):
1024 Use `defvar'.
1025
1026 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1027 New variables.
1028 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1029 (COMPILE_FIRST): Add macroexp and cconv.
1030 * makefile.w32-in: Mirror changes in Makefile.in.
1031
1032 * vc/cvs-status.el:
1033 * vc/diff-mode.el:
1034 * vc/log-edit.el:
1035 * vc/log-view.el:
1036 * vc/smerge-mode.el:
1037 * textmodes/bibtex-style.el:
1038 * textmodes/css.el:
1039 * startup.el:
1040 * uniquify.el:
da91b5f2
CY
1041 * minibuffer.el:
1042 * newcomment.el:
1043 * reveal.el:
1044 * server.el:
1045 * mpc.el:
1046 * emacs-lisp/smie.el:
1047 * doc-view.el:
1048 * dired.el:
03408648
SM
1049 * abbrev.el: Use lexical binding.
1050
0f0c1f27
EZ
10512011-04-01 Eli Zaretskii <eliz@gnu.org>
1052
1053 * info.el (info-display-manual): New function.
1054
c82b2579
SM
10552011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1056
1057 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1058
221ddf68
TH
10592011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1060
1061 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 1062 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 1063
cba6e77e
GM
10642011-03-31 Glenn Morris <rgm@gnu.org>
1065
e040639f
GM
1066 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1067
cba6e77e
GM
1068 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1069
6d0f1c9e
CS
10702011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1071
1072 * progmodes/python.el (python-default-interpreter)
1073 (python-python-command-args, python-jython-command-args)
1074 (python-which-shell, python-which-args, python-which-bufname)
1075 (python-file-queue, python-comint-output-filter-function)
1076 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1077 variables and functions.
1078
3e2d70fd
SM
10792011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1080
1081 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1082 (completion-in-region-mode): New minor mode.
1083 (completion-in-region): Use it.
1084 (completion-in-region--data, completion-in-region-mode-map): New vars.
1085 (completion-in-region--postch): New function.
1086 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1087 New vars.
1088 (completion--capf-wrapper): New function.
1089 (completion-at-point): Use it to track well-behavedness of
1090 hook functions.
1091 (completion-help-at-point): New command.
1092
f3e4086c
JM
10932011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1094
1095 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1096 syntax class to search for whitespace on a single line
1097 (Message-ID: <4D938140.4030905@redhat.com>).
1098
eb7ffc14
LL
10992011-03-30 Leo Liu <sdl.web@gmail.com>
1100
1101 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1102 New commands.
1103 (edit-abbrevs-map): Bind them here.
1104 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1105
d806ab68
KM
11062011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1107
1108 * allout.el (allout-hide-by-annotation, allout-flag-region):
1109 Reduce possibility of overlay leakage by making them volatile.
1110
1111 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1112 hash is not shared between buffers. Mode initialization is
1113 responsible for giving it a useful starting value.
1114 (allout-item-span): Reduce possibility of overlay leakage by
1115 making them volatile.
1116 (allout-widgets-count-buttons-in-region): Add diagnostic function
1117 for tracking down button overlay leaks.
1118
ea622834
LL
11192011-03-29 Leo Liu <sdl.web@gmail.com>
1120
1121 * ido.el (ido-read-internal): Use the default history var
1122 minibuffer-history if no HISTORY is specified.
1123
b62f8267
G
11242011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1125
03408648
SM
1126 * net/imap.el (imap-shell-open, imap-process-connection-type):
1127 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
1128 Kerberos, SSL, other subprocesses.
1129
947b6566
LL
11302011-03-28 Leo Liu <sdl.web@gmail.com>
1131
1132 * abbrev.el (abbrev-table-empty-p): New function.
1133 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1134 nonempty ones. (Bug#5937)
1135
5ffb62aa
JD
11362011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1137
1138 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1139
7a097943
LL
11402011-03-27 Leo Liu <sdl.web@gmail.com>
1141
1142 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1143 for foreground and background colors.
1144 (ansi-color-make-color-map): Adapt.
1145
c5b40130
LL
11462011-03-25 Leo Liu <sdl.web@gmail.com>
1147
1f48f7d2
LL
1148 * midnight.el (midnight-time-float): Remove. Note it calculates
1149 the microsecond component incorrectly and seconds-to-time does the
1150 same job.
625897ec 1151 Remove redundant (require 'timer).
1f48f7d2 1152
c5b40130
LL
1153 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1154 (ido-completions): Remove unused arguments. (Bug#8329)
1155
d86d2721
SM
11562011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * minibuffer.el (completion--flush-all-sorted-completions):
1159 Remove itself from hook.
1160 (completion-at-point): Let the functions perform the completion
1161 immediately and return nil or t.
1162 * comint.el (comint-dynamic-complete-functions): Now identical to
1163 completion-at-point-functions.
1164 (comint-dynamic-list-input-ring): Remove unused var `index'.
1165 (comint--match-partial-filename, comint--unquote&expand-filename):
1166 New funs, split from comint-match-partial-filename.
1167 (comint-dynamic-complete): Use completion-at-point.
1168 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1169
e8974c48
DA
11702011-03-24 Drew Adams <drew.adams@oracle.com>
1171
1172 * thingatpt.el: Support `defun'.
1173
def71b5e
LL
11742011-03-23 Leo Liu <sdl.web@gmail.com>
1175
cb5af48e
LL
1176 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1177
def71b5e
LL
1178 * help-mode.el (help-mode-finish): Tweak regexp.
1179
927c53e7
GM
11802011-03-23 Glenn Morris <rgm@gnu.org>
1181
18d05bed
GM
1182 * eshell/esh-opt.el (eshell-eval-using-options):
1183 Do not bind unused local variable `eshell-option-stub'.
1184
927c53e7
GM
1185 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1186
9d0da923
JB
11872011-03-22 Juanma Barranquero <lekktu@gmail.com>
1188
1189 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1190 keymap variable in `with-no-warnings' to avoid a warning when the
1191 keymap has been already `defconst'ed.
1192
4b978a67
LL
11932011-03-22 Leo Liu <sdl.web@gmail.com>
1194
1195 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1196 encode all chars in abbrevs; otherwise use emacs-mule or
1197 utf-8-emacs. (Bug#8308)
1198
5fd62452
JB
11992011-03-22 Juanma Barranquero <lekktu@gmail.com>
1200
0b1596c6
JB
1201 * simple.el (backward-delete-char-untabify):
1202 Avoid warning about using `delete-backward-char'.
1203
5fd62452
JB
1204 * image.el (image-type-file-name-regexps): Make it variable.
1205 `imagemagick-register-types' modifies it, and the user may want
1206 to add new extensions for known image types.
1207 (imagemagick-register-types): Throw error if not using ImageMagick.
1208
0b4e93f1
LL
12092011-03-22 Leo Liu <sdl.web@gmail.com>
1210
1211 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1212 located before rcirc-prompt-end-marker.
1213 (rcirc-complete): Error if point is not after rcirc prompt.
1214 Handle the case when table is nil.
9882e214 1215 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 1216
fccee4ab
CY
12172011-03-22 Chong Yidong <cyd@stupidchicken.com>
1218
1219 * custom.el (custom--inhibit-theme-enable): Make it affect only
1220 custom-theme-set-variables and custom-theme-set-faces.
1221 (provide-theme): Ignore custom--inhibit-theme-enable.
1222 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1223 (custom-enabling-themes): Delete variable.
d86d2721
SM
1224 (enable-theme): Accept only loaded themes as arguments.
1225 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
1226 (custom-enabled-themes): Forbid themes from setting this.
1227 Eliminate use of custom-enabling-themes.
1228 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 1229
af896da6
LL
12302011-03-21 Leo Liu <sdl.web@gmail.com>
1231
1232 * ido.el (ido-read-internal): Add ido-selected to history instead
1233 of user input.
1234
78f64af0
SM
12352011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * subr.el (deferred-action-list, deferred-action-function):
1238 Mark obsolete.
1239
b16ac1ec
LL
12402011-03-21 Leo Liu <sdl.web@gmail.com>
1241
810f7698
LL
1242 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1243 change on 2011-02-13 (bug#8309).
1244
b16ac1ec
LL
1245 * minibuffer.el (read-file-name-function): Change default value.
1246 (read-file-name--defaults): Rename from read-file-name-defaults.
1247 (read-file-name-default): Rename from read-file-name.
1248 (read-file-name): Call read-file-name-function.
1249
4e05e67e
GM
12502011-03-21 Glenn Morris <rgm@gnu.org>
1251
1252 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1253 Doc fixes.
1254
4359915b
CY
12552011-03-21 Chong Yidong <cyd@stupidchicken.com>
1256
1257 * cus-theme.el: Add missing provide statement.
1258 (customize-create-theme): Extract theme value correctly.
1259 (custom-theme-visit-theme): Autoload.
1260 (customize-create-theme): Prompt before inserting default faces.
1261
1fe275ee
JB
12622011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1263
1264 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1265 units and musical notes.
1266
3ec03f7e
LL
12672011-03-20 Leo <sdl.web@gmail.com>
1268
1269 * ido.el (ido-read-internal): Use completing-read-default.
1270 (ido-completing-read): Fix compatibility with completing-read.
1271
7d476bde
CO
12722011-03-20 Christian Ohler <ohler@gnu.org>
1273
1274 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1275 (ert-delete-all-tests): Use `called-interactively-p' rather than
1276 `interactive-p'.
1277 (ert--make-xrefs-region): Respect END.
1278
fe0fb33e
CY
12792011-03-19 Chong Yidong <cyd@stupidchicken.com>
1280
ff854b0b
CY
1281 * dired-aux.el (dired-create-directory): Signal an error if the
1282 directory already exists (Bug#8246).
1283
fe0fb33e
CY
1284 * facemenu.el (list-colors-display): Call list-faces-display
1285 inside with-help-window.
1286 (list-colors-print): Use display property to align the final
1287 column, instead of checking window-width.
1288
576bce32
EZ
12892011-03-19 Eli Zaretskii <eliz@gnu.org>
1290
1291 * emerge.el (emerge-metachars): Separate value for ms-dos and
1292 windows-nt systems.
1293 (emerge-protect-metachars): Quote correctly for ms-dos and
1294 windows-nt systems.
1295
8546720e 12962011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
e6ce307c
RS
1297
1298 * info.el (info-initialize): Replace all uses of `:' with
1299 path-separator for compatibility with non-Unix systems.
1300 Cache quoting of path-separator. (Bug#8258)
1301
b14e3e21 13022011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
1303
1304 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1305 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1306 (mouse-avoidance-mode): Fix typos in docstrings.
1307
4525ce3e
CY
13082011-03-19 Chong Yidong <cyd@stupidchicken.com>
1309
1310 * startup.el (package-subdirectory-regexp): Move from package.el.
1311 Omit \\` and \\', and let callers add them.
1312
1313 * emacs-lisp/package.el (package-strip-version)
1314 (package-load-all-descriptors): Add \\` and \\' to
1315 package-subdirectory-regexp before using it.
1316 (package-untar-buffer): New arg DIR; ensure that file untars only
1317 into this expected directory. Remove superfluous delete-region.
1318 (package-unpack): Caller changed.
1319 (package-tar-file-info): Use package-subdirectory-regexp.
1320
a904a09a 13212011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 1322
a904a09a
SM
1323 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1324 diff-mode-shared-map (bug#8284).
1325 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
1326
13272011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1328
1329 * calendar/time-date.el (format-seconds): Use assoc instead of
1330 assoc-string, since assoc-string doesn't exist in XEmacs.
1331
171fc304
JB
13322011-03-17 Juanma Barranquero <lekktu@gmail.com>
1333
1334 * custom.el (custom-known-themes): Reflow docstring.
1335 (custom-theme-load-path): Fix typo in docstring.
1336 (load-theme): Fix typo in error message.
1337 (custom-available-themes, custom-variable-theme-value):
1338 Use `let', not `let*'.
1339
d71990a1
JB
13402011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1341
1342 * calc/README: Mention inclusion of musical notes.
1343
1344 * calc/calc-units.el (calc-lu-quant): Rename from
1345 `calc-logunits-quantity'.
1346 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1347 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1348 (calc-db): Rename from `calc-dblevel'.
1349 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1350 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1351 (calc-np): Rename from `calc-nplevel'.
1352 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1353 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1354 (calc-lu-plus): Rename from `calc-logunits-add'.
1355 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1356 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1357 (calc-lu-minus): Rename from `calc-logunits-sub'.
1358 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1359 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1360 (calc-lu-times): Rename from `calc-logunits-mul'.
1361 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1362 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1363 (calc-lu-divide): Rename from `calc-logunits-div'.
1364 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1365 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1366
1367 * calc/calc-ext.el (calc-init-extensions): Update the names of the
1368 functions being autoloaded.
1369
1370 * calc/calc.el (calc-lu-power-reference): Rename from
1371 `calc-logunits-power-reference'.
1372 (calc-lu-field-reference): Rename from
1373 `calc-logunits-field-reference'.
1374
1375 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
1376
40c2934b
SM
13772011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 * minibuffer.el (completion-all-sorted-completions):
1380 Use :completion-cycle-penalty text property if present.
1381
b0911414
KM
13822011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
1383
1384 * allout.el (allout-yank-processing): Adjust for new rebulleting
1385 regime so bullet being yanked is used without prompting the user
1386 for a choice.
1387
8a05b668
JB
13882011-03-16 Juanma Barranquero <lekktu@gmail.com>
1389
1390 * startup.el (command-line): Warn the user that _emacs is deprecated.
1391
5ba5fb81
JB
13922011-03-16 Juanma Barranquero <lekktu@gmail.com>
1393
1394 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
1395 (delphi-verbose, delphi-comment-face, delphi-string-face)
1396 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
1397 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
1398 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
1399 (delphi-new-comment-line, delphi-font-lock-defaults)
1400 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
1401 Fix typos in docstrings.
1402
2dab465b
KM
14032011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
1404
5ba5fb81 1405 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
1406 Invert the roles of character and string values for INSTEAD, so a
1407 string is used for the more common case of a defaulting prompt.
1408
0adf5618
SM
14092011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1410
1411 * progmodes/ruby-mode.el (ruby-backward-sexp):
1412 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
1413 * play/gamegrid.el (gamegrid-make-face):
1414 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
1415 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
1416 * notifications.el (notifications-notify):
1417 * net/xesam.el (xesam-search-engines):
1418 * net/quickurl.el (quickurl-list-insert):
1419 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
1420
d72700e5
CY
14212011-03-15 Chong Yidong <cyd@stupidchicken.com>
1422
1423 * startup.el (command-line): Update package subdirectory regexp.
1424
49c5410a
SM
14252011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1426
c6eee9aa
SM
1427 * allout.el (allout-abbreviate-flattened-numbering)
1428 (allout-mode-deactivate-hook): Fix up obsolescence "date".
1429
49c5410a
SM
1430 * subr.el (read-char-choice): Only show the cursor after the prompt,
1431 not after the answer.
1432
047b2bb9
KR
14332011-03-15 Kevin Ryde <user42@zip.com.au>
1434
1435 * help-fns.el (variable-at-point): Skip leading quotes, if any
1436 (bug#8253).
1437
0a57d256
SM
14382011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1439
1440 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
1441 warning message.
1442
77c992bc
MA
14432011-03-14 Michael Albinus <michael.albinus@gmx.de>
1444
1445 * shell.el (shell): When called interactively, offer to change the
1446 shell file name on remote hosts.
1447
eebc475d
TZ
14482011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
1449
1450 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
1451 integration for LDAP parameters. The host, base, user or binddn,
1452 and secret tokens can be specified in a netrc file, for instance.
1453 This is optional because an `auth-source' parameter must be
1454 specified in the search attributes.
1455
9d05d1ba
JB
14562011-03-13 Juanma Barranquero <lekktu@gmail.com>
1457
1458 * help.el (describe-mode): Link to the mode's definition (bug#8185).
1459
09d9db2c
GM
14602011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1461
1462 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
1463 into declaration. Remove redundant and harmful binding.
1464
14652011-03-12 Eli Zaretskii <eliz@gnu.org>
1466
1467 * files.el (file-ownership-preserved-p): Pass `integer' as an
1468 explicit 2nd argument to `file-attributes'. If the file's owner
1469 is the Administrators group on Windows, and the current user is
1470 Administrator, consider that a match.
1471
1472 * server.el (server-ensure-safe-dir): Consider server directory
1473 safe on MS-Windows if its owner is the Administrators group while
1474 the current Emacs user is Administrator. Use `=' to compare
1475 numerical UIDs, since they could be integers or floats.
1476
219bd536
JB
14772011-03-12 Juanma Barranquero <lekktu@gmail.com>
1478
1479 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
1480
f3afd36b
MA
14812011-03-12 Michael Albinus <michael.albinus@gmx.de>
1482
1483 Sync with Tramp 2.2.1.
1484
1485 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
1486
1487 * net/trampver.el: Update release number.
1488
3aaaa6f1
SM
14892011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1490
94642599
SM
1491 * progmodes/compile.el (compilation--previous-directory): Fix up
1492 various nil/dead-marker mismatches (bug#8014).
1493 (compilation-directory-properties, compilation-error-properties):
1494 Don't call it at a position past the one we're about to change.
1495
3aaaa6f1
SM
1496 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
1497 Disable obsolescence warnings in the file that declares it.
1498
14239447
KM
14992011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
1500
099c39a4
JB
1501 * allout-widgets.el (allout-widgets-tally):
1502 Initialize allout-widgets-tally as a hash table rather than nil to
1503 prevent mode-line redisplay warnings. Also, clarify the module
1504 description and fix a comment typo.
14239447 1505
135e287c
JB
15062011-03-11 Juanma Barranquero <lekktu@gmail.com>
1507
1508 * help-fns.el (describe-variable): Don't complete keywords.
1509 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
1510
ffbf300e
CY
15112011-03-10 Chong Yidong <cyd@stupidchicken.com>
1512
ba08b241
CY
1513 * emacs-lisp/package.el (package-version-join): Impose a standard
1514 string representation for pre/alpha/beta version lists.
1515 (package-unpack-single): Standardize the directory name by passing
1516 it through package-version-join.
1517 (package-strip-rcs-id): Accept any version string that does not
1518 signal an error in version-to-list.
ffbf300e 1519
f346fd6b
MA
15202011-03-10 Michael Albinus <michael.albinus@gmx.de>
1521
1522 * simple.el (delete-trailing-whitespace): Return nil for the
1523 benefit of `write-file-functions'.
1524
ccb55d27
GM
15252011-03-10 Glenn Morris <rgm@gnu.org>
1526
5ceaac0c
GM
1527 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
1528
02da65ff
GM
1529 * vc/vc-git.el (vc-git-program): New option.
1530 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
1531 (vc-git--call): Use it.
1532
b2f603cc
GM
1533 * eshell/esh-util.el (eshell-condition-case): Doc fix.
1534
5772caab
GM
1535 * cus-edit.el (Custom-newline): If no button at point, look
1536 for a subgroup button at start-of-line. (Bug#2298)
1537
ccb55d27
GM
1538 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
1539
ec6ecaed
JD
15402011-03-10 Julien Danjou <julien@danjou.info>
1541
1542 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
1543 `cursor-type' is nil.
1544
9d5aa01d
JB
15452011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
1546
1547 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
1548
b6a5875b
KM
15492011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
1550
1551 * allout.el Summary: Change so yank of distinctive-bullet items
1552 preserves the existing header prefix, rebulleting it if necessary,
1553 rather than replacing it. This is necessary for proper operation
1554 of cooperative addons like allout-widgets.
219bd536 1555 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
1556 SOLICIT arg to INSTEAD, and interpret additionally a string value
1557 as alternate bullet to be used, instead of prompting the user for
1558 a bullet character.
1559
ee545c35
MA
15602011-03-09 Michael Albinus <michael.albinus@gmx.de>
1561
d86d2721
SM
1562 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1563 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
1564 `tramp-default-port'.
1565
c47971d7
DD
15662011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1567
1568 * net/rcirc.el (rcirc-handler-001): Remove useless
1569 with-rcirc-process-buffer.
1570 (rcirc-check-auth-status): Swap arguments to string-match.
1571
13522cb4
GM
15722011-03-09 Glenn Morris <rgm@gnu.org>
1573
0be6f4f1
GM
1574 * shell.el (shell-mode):
1575 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
1576
13522cb4
GM
1577 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
1578 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
1579
515de2e3
CY
15802011-03-08 Chong Yidong <cyd@stupidchicken.com>
1581
1582 * emacs-lisp/package.el (package-refresh-contents)
1583 (package-menu-execute): Use condition-case-no-debug.
1584
b511b994
MA
15852011-03-08 Michael Albinus <michael.albinus@gmx.de>
1586
1587 * simple.el (shell-command-to-string): Use `process-file'.
1588
1589 * emacs-lisp/package.el (package-tar-file-info): Handle also
1590 remote files.
1591
d86d2721
SM
1592 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1593 Use `equal' for upload base check.
b511b994 1594
25bbfb31
AM
15952011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
1596
1597 * textmodes/texinfo.el (texinfo-environments):
1598 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
1599
be996521
GM
16002011-03-08 Glenn Morris <rgm@gnu.org>
1601
e9c8529f
GM
1602 * cus-start.el (cursor-in-non-selected-windows):
1603 Fix :set quoting oddness. (Bug#8192)
1604
be996521
GM
1605 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
1606 in some setf expressions. (Bug#2159)
1607
2bb5649e
CY
16082011-03-08 Chong Yidong <cyd@stupidchicken.com>
1609
1610 * custom.el (custom-available-themes): Return themes in
1611 alphabetical order.
1612
33383987 1613See ChangeLog.15 for earlier changes.
e3d51b27
MR
1614
1615;; Local Variables:
1616;; coding: utf-8
e3d51b27
MR
1617;; End:
1618
33383987 1619 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
1620
1621 This file is part of GNU Emacs.
1622
1623 GNU Emacs is free software: you can redistribute it and/or modify
1624 it under the terms of the GNU General Public License as published by
1625 the Free Software Foundation, either version 3 of the License, or
1626 (at your option) any later version.
1627
1628 GNU Emacs is distributed in the hope that it will be useful,
1629 but WITHOUT ANY WARRANTY; without even the implied warranty of
1630 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1631 GNU General Public License for more details.
1632
1633 You should have received a copy of the GNU General Public License
1634 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.