1 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
3 * vc/vc.el (ediff-vc-internal): Declare function.
5 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7 * shell.el: Use lexical-binding and std completion UI.
8 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10 comint-preoutput-filter-functions rather than on
11 comint-output-filter-functions.
12 (shell-command-completion, shell--command-completion-data)
13 (shell-filename-completion, shell-environment-variable-completion)
14 (shell-c-a-p-replace-by-expanded-directory): New functions.
15 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17 (shell-dynamic-complete-environment-variable): Use them.
18 (shell-dynamic-complete-as-environment-variable)
19 (shell-dynamic-complete-as-command): Remove.
20 (shell-match-partial-variable): Match past point.
21 * comint.el: Clean up use of completion-at-point-functions.
22 (comint-completion-at-point): New function.
23 (comint-mode): Use it completion-at-point-functions.
24 (comint-dynamic-complete): Make it obsolete.
25 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26 (comint-c-a-p-replace-by-expanded-history): New function.
27 (comint-dynamic-complete-functions)
28 (comint-replace-by-expanded-history): Use it.
29 * minibuffer.el (completion-table-with-terminator): Allow dynamic
30 termination strings. Try harder to avoid second try-completion.
31 (completion-in-region-mode-map): Disable bindings that don't work yet.
33 * comint.el: Use lexical-binding. Require CL.
34 (comint-dynamic-complete-functions): Use comint-filename-completion.
35 (comint-completion-addsuffix): Tweak custom type.
36 (comint-filename-completion, comint--common-suffix)
37 (comint--common-quoted-suffix, comint--table-subvert)
38 (comint--complete-file-name-data): New functions.
39 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
40 (comint-dynamic-list-filename-completions): Use them.
41 (comint-dynamic-simple-complete): Make obsolete.
43 * minibuffer.el (completion-in-region-mode):
44 Keep completion-in-region-mode--predicate global.
45 (completion-in-region--postch):
46 Assume completion-in-region-mode--predicate is not null.
48 * progmodes/flymake.el (flymake-start-syntax-check-process):
51 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
52 we're in VC after all.
54 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
56 * vc/vc.el (vc-diff-build-argument-list-internal)
57 (vc-version-ediff, vc-ediff): New commands.
58 (vc-version-diff): Use vc-diff-build-argument-list-internal.
60 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
62 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
65 * obsolete/erc-hecomplete.el: Make obsolete.
66 * obsolete/: Standardize obsolescence info in the header.
68 2011-04-20 Glenn Morris <rgm@gnu.org>
70 * calendar/solar.el (solar-horizontal-coordinates):
71 Use the longitude argument rather than `calendar-longitude'.
72 (solar-date-next-longitude): Remove unused locals.
74 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
76 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
77 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
78 multi-line comments as well.
80 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
82 Lexical-binding cleanup.
84 * arc-mode.el (archive-mode-revert):
85 * cmuscheme.el (scheme-interactively-start-process):
86 * custom.el (custom-initialize-delay):
87 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
88 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
89 * emacs-lock.el (emacs-lock-clear-sentinel):
90 * ezimage.el (defezimage):
91 * follow.el (follow-avoid-tail-recenter):
92 * fringe.el (set-fringe-mode-1):
93 * generic-x.el (bat-generic-mode-compile):
94 * help-mode.el (help-info-variable, help-do-xref)
95 (help-mode-revert-buffer):
96 * help.el (view-emacs-todo):
97 * iswitchb.el (iswitchb-completion-help):
98 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
99 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
100 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
101 * locate.el (locate-update):
102 * longlines.el (longlines-encode-region)
103 (longlines-after-change-function):
104 * outline.el (outline-isearch-open-invisible):
105 * ps-def.el (declare-function, charset-dimension, char-width)
107 * ps-mule.el (ps-mule-plot-string):
108 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
109 (recentf-edit-list-select, recentf-edit-list-validate)
110 (recentf-open-files-action):
111 * rect.el (delete-whitespace-rectangle-line)
112 (rectangle-number-line-callback):
113 * register.el (window-configuration-to-register)
114 (frame-configuration-to-register):
115 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
116 * select.el (xselect-convert-to-string, xselect-convert-to-length)
117 (xselect-convert-to-targets, xselect-convert-to-delete)
118 (xselect-convert-to-filename, xselect-convert-to-charpos)
119 (xselect-convert-to-lineno, xselect-convert-to-colno)
120 (xselect-convert-to-os, xselect-convert-to-host)
121 (xselect-convert-to-user, xselect-convert-to-class)
122 (xselect-convert-to-name, xselect-convert-to-integer)
123 (xselect-convert-to-atom, xselect-convert-to-identity):
124 * subr.el (declare, ignore, process-kill-without-query)
125 (text-clone-maintain):
126 * terminal.el (te-get-char, te-tic-sentinel):
127 * tool-bar.el (tool-bar-make-keymap):
128 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
129 * type-break.el (type-break-mode, type-break-noninteractive-query):
130 * view.el (View-back-to-mark):
131 * wid-browse.el (widget-browse-action, widget-browse-widget)
132 (widget-browse-widgets, widget-browse-sexp):
133 * widget.el (define-widget-keywords):
134 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
135 Mark unused parameters.
137 * align.el (align-adjust-col-for-rule): Mark unused parameter.
138 (align-areas): Remove unused variable `look'.
139 (align-region): Remove unused variables `real-end' and `pos-list'.
141 * apropos.el (apropos-score-doc): Remove unused variable `i'.
143 * bindings.el (mode-line-modified, mode-line-remote):
144 Mark unused parameters.
145 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
147 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
148 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
150 * comint.el (comint-history-isearch-pop-state)
151 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
152 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
153 (comint-substitute-in-file-name): Doc fix.
155 * completion.el (cmpl-statistics-block): Mark unused parameter.
156 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
157 (save-completions-to-file, load-completions-from-file):
158 Remove unused local variable `e'.
160 * composite.el (compose-chars): Remove unused variable `len'.
161 (lgstring-insert-glyph): Remove unused variable `g'.
162 (compose-glyph-string): Remove unused variables `ascent',
163 `descent', `lbearing' and `rbearing'.
164 (compose-glyph-string-relative): Remove unused variables
165 `lbearing', `rbearing' and `wadjust'.
166 (compose-gstring-for-graphic): Remove unused variables `header',
167 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
168 (compose-gstring-for-terminal): Remove unused variables `header'
169 and `nchars'. Use `let', not `let*'.
171 * cus-edit.el (Custom-set, Custom-save, custom-reset)
172 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
173 (Custom-buffer-done, custom-buffer-create-internal)
174 (custom-browse-visibility-action, custom-browse-group-tag-action)
175 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
176 (widget-magic-mouse-down-action, custom-toggle-parent)
177 (custom-add-parent-links, custom-toggle-hide-variable)
178 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
179 (custom-toggle-hide-face, face, hook, custom-group-link-action)
180 (custom-face-menu-create, custom-variable-menu-create, get)
181 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
182 (custom-reset-standard-save-and-update): Remove unused variable `value'.
183 (customize-apropos): Remove unused variable `tests'.
184 (custom-group-value-create): Remove unused variable `hidden-p'.
185 (sort-fold-case): Declare.
187 * cus-theme.el (custom-reset-standard-faces-list)
188 (custom-reset-standard-variables-list): Declare.
189 (customize-create-theme, custom-theme-revert, custom-theme-write)
190 (custom-theme-choose-mode, customize-themes, custom-theme-save):
191 Mark unused parameters.
193 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
195 * delim-col.el (delimit-columns-max): Move defvar before first use.
197 * descr-text.el (describe-char-categories): Don't quote `lambda'.
198 (describe-char): Don't quote `lambda'. Mark unused parameter.
200 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
201 (auto-insert): Declare.
202 (desktop-restore-file-buffer): Rename desktop-* parameters;
204 (desktop-create-buffer): Rename desktop-* parameters and bind them.
205 (desktop-buffer): Rename desktop-* parameters.
207 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
208 (dframe-reposition-frame-xemacs, dframe-help-echo)
209 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
210 Mark unused parameters.
212 * dired-aux.el (backup-extract-version-start, overwrite-query)
213 (overwrite-backup-query, rename-regexp-query)
214 (rename-non-directory-query): Declare.
215 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
216 (dired-add-entry): Remove unused variable `orig-file-name'.
217 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
218 Use parameter PRESERVE-TIME instead of accessing dynamic variable
219 `dired-copy-preserve-time' directly.
220 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
221 (dired-insert-subdir-newpos): Rename unused variable `pos'.
223 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
224 (dired-virtual-revert, dired-make-relative-symlink):
225 Mark unused parameters.
226 (manual-program): Declare.
227 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
228 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
229 wrapped in `with-no-warnings' to avoid replacing one warning by another.
231 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
233 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
235 * echistory.el (electric-history-in-progress, Helper-return-blurb):
238 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
240 * electric.el (Electric-command-loop): Rename parameter
241 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
243 * expand.el (expand-in-literal): Remove unused variable `here'.
245 * facemenu.el (facemenu-add-new-color):
246 Remove unused variable `docstring'.
248 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
249 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
250 (face-attr-construct): Mark unused parameter. Doc fix.
251 (read-color): Remove unused variable `hex-string'.
253 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
254 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
255 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
256 (display-buffer-other-frame): Remove unused variable `old-window'.
257 (kill-buffer-hook): Declare.
258 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
259 Mark unused parameters.
260 (after-find-file): Pass 1 to `auto-save-mode', not t.
262 * files-x.el (auto-insert): Declare.
263 (modify-file-local-variable-prop-line): Remove unused variable `val'.
265 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
266 variable `buf'. Mark unused parameter.
267 (find-lisp-insert-directory): Mark unused parameter.
269 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
270 (format-encode-region): Remove unused variables `cur-buf' and `result'.
271 (format-common-tail): Remove, unused.
272 (format-deannotate-region): Remove unused variable `loc'.
273 (format-annotate-region): Remove unused variable `p'.
274 (format-annotate-single-property-change): Remove unused variables
275 `default' and `tail'.
277 * forms.el (read-file-filter): Declare.
278 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
280 * frame.el (frame-creation-function-alist): Mark unused parameter.
281 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
283 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
284 Remove unused parameters.
285 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
286 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
288 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
289 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
290 (hfy-prepare-tag-map): Mark unused parameters.
291 (htmlfontify-buffer): Use `called-interactively-p'.
293 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
294 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
295 (ibuffer-do-occur): Mark unused parameters.
296 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
297 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
299 * ibuffer.el: Don't quote `lambda'.
300 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
301 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
302 Mark unused parameters.
304 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
305 (ido-completing-read): Mark unused parameters.
306 (ido-copy-current-word): Mark unused parameters;
307 remove unused variable `name'.
308 (ido-sort-merged-list): Remove unused parameter `dirs'.
310 * ielm.el (ielm-input-sender): Mark unused parameter.
311 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
312 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
313 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
314 `ielm-string' as a dynamic variable accessible from the IELM prompt.
315 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
317 * image-dired.el (image-dired-display-thumbs): Remove unused
318 variables `curr-file' and `count'.
319 (image-dired-remove-tag): Remove unused variable `start'.
320 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
322 (image-dired-rotate-original): Remove unused variable `temp-file'.
323 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
324 Remove unused variable `file'.
325 (image-dired-gallery-generate): Remove unused variable `curr'.
326 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
328 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
330 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
332 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
334 * isearch.el (minibuffer-history-symbol): Declare.
335 (isearch-edit-string): Remove unused variable `err'.
336 (isearch-message-prefix, isearch-message-suffix):
337 Mark unused parameters.
339 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
341 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
343 * makesum.el (double-column): Remove unused variable `cnt'.
345 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
346 (ido-ignore-item-temp-list): Declare.
348 * mouse-drag.el (mouse-drag-throw): Remove unused variables
349 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
350 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
351 (mouse-drag-drag): Remove unused variables `mouse-delta' and
354 * mouse-sel.el (mouse-extend-internal):
355 Remove unused variable `orig-window-frame'.
357 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
358 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
359 Move declarations before first use.
360 (pcomplete-opt): Mark unused parameters; doc fix.
362 * proced.el (proced-revert): Mark unused parameter.
363 (proced-send-signal): Remove unused variable `err'.
365 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
366 Rename parameter PREFIX-ARG to ARG.
367 (ps-basic-plot-string, ps-basic-plot-whitespace):
368 Mark unused parameters.
370 * replace.el (replace-count): Define.
371 (occur-revert-function): Mark unused parameters.
372 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
373 (isearch-case-fold-search, isearch-string): Declare.
374 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
375 bind `case-fold-search'. Remove unused variables `beg' and `end',
377 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
378 COUNT and bind `replace-count'.
379 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
382 * savehist.el (print-readably, print-string-length): Declare.
384 * shadowfile.el (shadow-expand-cluster-in-file-name):
385 Remove unused variable `cluster'.
386 (shadow-copy-file): Remove unused variable `i'.
387 (shadow-noquery, shadow-clusters, shadow-site-cluster)
388 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
389 (shadow-define-literal-group, shadow-define-regexp-group)
390 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
392 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
393 (shell): Use `called-interactively-p'.
394 (shell-directory-tracker): Remove unused variable `chdir-failure'.
396 * simple.el (compilation-context-lines, comint-file-name-quote-list)
397 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
398 (delete-backward-char): Remove unused variable `ocol'.
399 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
400 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
401 (event-apply-hyper-modifier, event-apply-shift-modifier)
402 (event-apply-control-modifier, event-apply-meta-modifier):
403 Mark unused parameters.
404 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
405 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
407 * speedbar.el (speedbar-ignored-directory-expressions)
408 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
409 (speedbar-find-file, speedbar-dir-follow)
410 (speedbar-directory-buttons-follow, speedbar-tag-find)
411 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
412 (speedbar-buffers-line-directory, speedbar-buffer-click):
413 Mark unused parameters.
414 (speedbar-tag-file): Remove unused variable `mode'.
415 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
417 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
419 * talk.el (talk): Remove unused variable `display'.
421 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
422 (tar-write-region-annotate): Mark unused parameter.
424 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
425 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
426 Declare them, wrapped in `with-no-warnings' to avoid replacing one
429 * time-stamp.el (time-stamp-string-preprocess):
430 Remove unused variable `require-padding'.
432 * tree-widget.el (widget-glyph-enable): Declare.
433 (tree-widget-action): Mark unused parameter.
435 * w32-fns.el (x-get-selection): Mark unused parameter.
436 (autoload-make-program, generated-autoload-file): Declare.
438 * wdired.el (wdired-revert): Mark unused parameters.
439 (wdired-xcase-word): Remove unused variable `err'.
441 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
442 (whitespace-help-scroll): Remove unused variable `data-help'.
444 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
445 (widget-image-insert, widget-after-change, default)
446 (widget-default-format-handler, widget-default-notify)
447 (widget-default-prompt-value, widget-info-link-action)
448 (widget-url-link-action, widget-function-link-action)
449 (widget-variable-link-action, widget-file-link-action)
450 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
451 (widget-field-prompt-internal, widget-field-action, widget-field-match)
452 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
453 (widget-insert-button-action, widget-delete-button-action, visibility)
454 (widget-documentation-link-action, widget-documentation-string-action)
455 (widget-const-prompt-value, widget-regexp-match, symbol)
456 (widget-coding-system-prompt-value)
457 (widget-key-sequence-value-to-external, sexp)
458 (widget-sexp-value-to-internal, character, vector, cons)
459 (widget-choice-prompt-value, widget-boolean-prompt-value)
460 (widget-color--choose-action): Mark unused parameters.
461 (widget-item-match-inline, widget-choice-match-inline)
462 (widget-checklist-match, widget-checklist-match-inline)
463 (widget-group-match): Rename parameter VALUES to VALS.
464 (widget-field-value-set): Remove unused variable `size'.
465 (widget-color-action): Remove unused variables `value' and `start'.
467 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
468 variable `dir'. Doc fix.
469 (windmove-find-other-window): Don't pass it.
471 * window.el (count-windows): Mark unused parameter.
472 (bw-adjust-window): Remove unused variable `err'.
474 * woman.el (woman-file-name): Remove unused variable `default'.
475 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
476 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
477 (global-font-lock-mode): Declare.
478 (woman-decode-region): Mark unused parameter.
479 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
481 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
482 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
483 (x-dnd-handle-moz-url): Remove unused variable `title'.
484 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
486 * xml.el (xml-parse-tag, xml-parse-attlist):
487 Remove unused variable `pos'.
489 2011-04-19 Glenn Morris <rgm@gnu.org>
491 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
492 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
493 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
494 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
495 * calendar/cal-html.el (cal-html-insert-minical):
496 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
497 (calendar-mark-date-pattern):
498 Prefix "unused" locals.
500 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
501 optional argument `style'.
503 * calendar/appt.el (appt-make-list):
504 * calendar/cal-china.el (calendar-chinese-date-string):
505 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
506 (diary-hebrew-yahrzeit):
507 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
508 * calendar/calendar.el (calendar-generate-window):
509 * calendar/time-date.el (time-to-days):
510 Remove unused local variables.
512 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
514 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
515 glyphless-char-display table.
516 (tabulated-list-glyphless-char-display): New var.
518 2011-04-18 Sam Steingold <sds@gnu.org>
520 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
523 2011-04-17 Glenn Morris <rgm@gnu.org>
525 * calendar/diary-lib.el (diary-sexp-entry):
526 * calendar/holidays.el (holiday-sexp):
527 Set debug-on-error rather than the removed stack-trace-on-error.
529 2011-04-16 Glenn Morris <rgm@gnu.org>
531 * progmodes/f90.el: Use lexical-binding.
532 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
534 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
536 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
537 (mail-mode): Setup mailalias completion here instead.
538 * mail/mailalias.el: Use lexical-binding.
539 (pattern, mailalias-done): Declare dynamic.
540 (mail-completion-at-point-function): New function, from mail-complete.
541 (mail-complete): Use it.
542 (mail-completion-expand): New function.
543 (mail-get-names): Use it.
544 (mail-directory, mail-directory-process, mail-directory-stream):
545 Don't use `pattern' for lexically bound arg.
547 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
549 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
550 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
551 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
553 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
554 (byte-save-window-excursion, byte-temp-output-buffer-setup)
555 (byte-interactive-p): Define them again, for use when inlining
558 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
560 * loadup.el: Use `string-to-number', not `string-to-int'.
562 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
564 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
565 gud-gdb-complete-command.
566 (gud-gdb-completions): New function, from gud-gdb-complete-command.
567 (gud-gdb-completion-at-point): New function.
568 (gud-gdb-completions): Remove.
570 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
572 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
573 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
574 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
575 whether `executable-find' is bound.
577 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
579 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
581 * minibuffer.el (completion-in-region-mode-predicate)
582 (completion-in-region-mode--predicate): New vars.
583 (completion-in-region, completion-in-region--postch)
584 (completion-in-region-mode): Use them.
585 (completion--capf-wrapper): Also return the hook function.
586 (completion-at-point, completion-help-at-point):
587 Adjust and provide a predicate.
589 Preserve arg names for advice of subr and lexical functions (bug#8457).
590 * help-fns.el (help-function-arglist): Consolidate the subr and
591 new-byte-code cases. Add argument `preserve-names' to extract names
592 from the docstring when needed.
593 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
594 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
595 (ad-arglist): Use help-function-arglist's new arg.
596 (ad-definition-type): Use cond.
598 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
600 * autorevert.el (auto-revert-handler):
601 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
602 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
605 * image-mode.el (image-transform-set-scale):
606 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
608 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
610 * net/network-stream.el (network-stream-open-starttls): Only do
611 opportunistic STARTTLS upgrades if we have built-in gnutls support.
612 Upgrades via gnutls-cli are too slow to be done opportunistically.
614 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
616 * dframe.el (dframe-current-frame): Remove spurious quote.
618 2011-04-12 Glenn Morris <rgm@gnu.org>
620 * calendar/cal-tex.el (cal-tex-end-document):
621 Try to automatically use latin1 input if needed.
623 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
624 Don't try to cons a mark onto an empty element.
626 2011-04-11 Leo Liu <sdl.web@gmail.com>
628 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
630 (ido-kill-buffer-at-head): Support killing virtual buffers.
632 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
634 * minibuffer.el (completion-show-inline-help): New var.
635 (completion--do-completion, minibuffer-complete)
636 (minibuffer-force-complete, minibuffer-complete-word):
637 Inhibit minibuffer messages if completion-show-inline-help is nil.
639 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
640 to avoid interference from inline help (Bug#5849).
642 2011-04-10 Leo Liu <sdl.web@gmail.com>
644 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
647 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
649 * image-mode.el (image-toggle-display-image): Signal an error if
651 (image-transform-mode, image-transform-resize)
652 (image-transform-set-rotation): Doc fix.
653 (image-transform-set-resize): Delete.
654 (image-transform-set-scale, image-transform-fit-to-height)
655 (image-transform-fit-to-width): Handle image-toggle-display-image
656 and image-transform-resize directly.
658 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
660 * doc-view.el (doc-view-fit-width-to-window)
661 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
662 New functions for fitting the shown image to the Emacs window size.
663 (doc-view-mode-map): Add bindings for the new functions.
665 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
667 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
668 Fix typo in docstring.
670 2011-04-08 Eli Zaretskii <eliz@gnu.org>
672 * files.el (file-size-human-readable): Produce one digit after
673 decimal, like "ls -lh" does.
675 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
676 the file size representation.
678 * simple.el (list-processes): If async subprocesses are not
679 available, error out with a clear error message.
681 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
683 * help.el (help-form-show): New function, to be called from C.
684 Put help-form output in a buffer named differently than *Help*.
686 2011-04-08 Eli Zaretskii <eliz@gnu.org>
688 * files.el (file-size-human-readable): New function.
690 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
691 computing the representation inline. Don't require `cl'.
693 2011-04-08 Glenn Morris <rgm@gnu.org>
695 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
697 * net/browse-url.el (browse-url-firefox):
698 Test system-type, not system-configuration.
700 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
701 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
702 Use log-edit-empty-buffer-p. (Bug#7598)
704 * net/rlogin.el (rlogin-process-connection-type): Simplify.
705 (rlogin-mode-map): Initialize in the defvar.
706 (rlogin): Use ignore-errors.
708 * replace.el (occur-mode-map): Some fixes for menu items.
710 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
712 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
714 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
716 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
717 issuing unused warnings.
719 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
722 * simple.el: Lisp reimplement of list-processes. Based on an
723 earlier reimplementation by Leo Liu, but using tabulated-list.el.
724 (process-menu-mode): New major mode.
725 (list-processes--refresh, list-processes):
726 (process-menu-visit-buffer): New functions.
728 * files.el (save-buffers-kill-emacs): Don't assume any return
729 value of list-processes, which is undocumented anyway.
731 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
733 * emacs-lisp/tabulated-list.el: New file.
735 * emacs-lisp/package.el: Use Tabulated List mode.
736 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
737 (package-menu-mode): Derive from tabulated-list-mode. Set up the
738 table format using Tabulated List mode variables.
739 (package--push): New macro, replacing package-list-maybe-add.
740 (package-menu--generate): Use package--push. Renamed from
741 package--generate-package-list.
742 (package-menu-refresh, list-packages): Use it.
743 (package-menu--print-info): Rename from package-print-package.
744 Return insertion data instead of inserting it directly.
745 (package-menu-describe-package, package-menu-execute):
746 Use tabulated-list-get-id.
747 (package-menu-mark-delete, package-menu-mark-install)
748 (package-menu-mark-unmark, package-menu-backup-unmark)
749 (package-menu-mark-obsolete-for-deletion):
750 Use tabulated-list-put-tag.
751 (package--list-packages, package-menu-revert)
752 (package-menu-get-package, package-menu-get-version)
753 (package-menu-sort-by-column): Functions deleted.
754 (package-menu-package-list, package-menu-sort-key): Vars deleted.
755 (package-menu--status-predicate, package-menu--version-predicate)
756 (package-menu--name-predicate)
757 (package-menu--description-predicate): Handle arguments in the
758 Tabulated List format.
759 (package-list-packages-no-fetch): Call list-packages.
761 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
763 * files.el (after-find-file-from-revert-buffer): Remove variable.
764 (after-find-file): Don't bind it.
765 (revert-buffer-in-progress-p): New variable.
766 (revert-buffer): Bind it.
767 Pass nil for `after-find-file-from-revert-buffer'.
769 * saveplace.el (save-place-find-file-hook): Use new variable
770 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
772 2011-04-06 Glenn Morris <rgm@gnu.org>
774 * Makefile.in (AUTOGEN_VCS): New variable.
775 (autoloads): Use $AUTOGEN_VCS.
777 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
778 * calendar/calendar.el (calendar-mode-map):
779 Check for toolkit scroll bars. (Bug#8305)
781 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
783 * minibuffer.el (completion-in-region--postch)
784 (completion-in-region-mode): Remove unnecessary messages.
786 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
788 * font-lock.el (font-lock-refresh-defaults):
789 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
790 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
792 * info.el (Info-directory-list, Info-read-node-name-2)
793 (Info-split-parameter-string): Doc fixes.
794 (Info-virtual-nodes): Reflow docstring.
795 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
796 (Info-apropos-toc-nodes, info-finder, Info-get-token)
797 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
798 Fix typos in docstrings.
799 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
800 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
801 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
802 (Info-restore-desktop-buffer): Mark unused parameters.
803 (Info-directory-find-file, Info-directory-find-node)
804 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
805 (Info-virtual-index-find-node, Info-apropos-find-file)
806 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
807 Mark unused parameters; fix typos in docstrings.
808 (Info-virtual-index): Remove unused local variable `nodename'.
810 2011-04-05 Deniz Dogan <deniz@dogan.se>
812 * net/rcirc.el: Update my e-mail address.
813 (rcirc-mode-map): Remove M-o binding.
815 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
817 * startup.el (command-line): Save the cursor's theme-face
818 directly, instead of using face-override-spec.
820 * custom.el (load-theme): Minor optimization in assigning faces.
822 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
824 * help-fns.el (describe-variable): Complete all variables having
825 documentation, including keywords.
826 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
828 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
830 Convert to lexical-binding.
832 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
833 (bs--get-marked-string, bs--get-modified-string)
834 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
835 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
836 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
838 * ehelp.el (electric-help-execute-extended)
839 (electric-help-ctrl-x-prefix):
840 * hexl.el (hexl-revert-buffer-function):
841 * linum.el (linum-after-change, linum-after-scroll):
842 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
844 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
846 2011-04-04 Daiki Ueno <ueno@unixuser.org>
853 * epg.el: Use lexical binding.
855 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
857 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
859 * textmodes/flyspell.el (flyspell-word): Recognize default
860 dictionary case for flyspell-mark-duplications-exceptions.
861 Use regexp matching for languages.
862 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
863 default dictionary (Bug#7926).
865 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
867 * emacs-lisp/package.el (package--with-work-buffer):
868 Recognize https URLs.
870 * net/network-stream.el: Move from gnus/proto-stream.el.
871 Change prefix to network-stream throughout.
872 (open-protocol-stream): Merge into open-network-stream, leaving
873 open-protocol-stream as an alias. Handle nil BUFFER args.
875 * subr.el (open-network-stream): Move to net/network-stream.el.
877 2011-04-02 Glenn Morris <rgm@gnu.org>
879 * find-dired.el (find-exec-terminator): New option.
880 (find-ls-option): Test for -ls support.
881 (find-ls-subdir-switches): Test for -b in find-ls-option.
882 (find-dired, find-grep-dired): Doc fixes.
883 (find-dired): Use find-exec-terminator.
885 * find-dired.el (find-ls-option, find-ls-subdir-switches)
886 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
887 (find-name-arg): Remove purecopy.
889 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
890 (grep-compute-defaults): Check for `-exec COMMAND +' support.
891 Set grep-find-use-xargs, grep-find-command, and grep-find-template
892 accordingly. Don't add the null-device if not needed.
894 * files.el (save-some-buffers): Doc fix.
896 2011-04-02 Eli Zaretskii <eliz@gnu.org>
898 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
900 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
902 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
903 Use `dolist' rather than `mapcar'.
905 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
909 * subr.el (apply-partially): Use new closures rather than CL.
910 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
911 (dolist, dotimes): Use slightly different expansion for lexical code.
912 (functionp): Move to C.
914 (with-wrapper-hook): Use it and apply-partially instead of CL.
915 (eval-after-load): Preserve lexical-binding.
916 (save-window-excursion, with-output-to-temp-buffer): Turn them
919 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
921 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
923 (help-add-fundoc-usage): Don't add `Not documented'.
924 (help-function-arglist): Handle closures, subroutines, and new
926 (help-make-usage): Remove leading underscores.
927 (describe-function-1): Handle closures.
928 (describe-variable): Use special-variable-p for completion.
930 * files.el (lexical-binding): Declare safe.
932 * emacs-lisp/pcase.el: Don't use destructuring-bind.
933 (pcase--memoize): Rename from pcase-memoize. Change weakness.
934 (pcase): Add `let' pattern.
935 Change memoization so it actually works.
936 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
937 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
940 * emacs-lisp/macroexp.el: Use lexical binding.
941 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
942 Don't convert ' to #' without checking that it's indeed quoting
945 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
946 Use eval-sexp-add-defvars.
947 (eval-sexp-add-defvars): New fun.
949 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
951 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
953 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
954 than the internal `byte-compile-lambda'.
955 (defmethod): Don't hide code under quotes.
956 (eieio-defmethod): New `code' argument.
958 * emacs-lisp/eieio-comp.el: Remove.
960 * emacs-lisp/edebug.el (edebug-eval-defun)
961 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
962 (edebug-toggle): Avoid `eval'.
964 * emacs-lisp/disass.el (disassemble-internal): Handle new
966 (disassemble-1): Handle new byte codes.
968 * emacs-lisp/cl.el (pushnew): Silence warning.
970 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
971 (cl-byte-compile-throw): Remove.
972 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
974 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
977 * emacs-lisp/cconv.el: New file.
979 * emacs-lisp/bytecomp.el: Use lexical binding instead of
980 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
981 (byte-compile-initial-macro-environment):
982 Handle declare-function here.
983 (byte-compile--lexical-environment): New var.
984 (byte-stack-ref, byte-stack-set, byte-discardN)
985 (byte-discardN-preserve-tos): New lap codes.
986 (byte-interactive-p): Don't use any more.
987 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
989 (byte-compile-lapcode): Use them and handle new lap codes.
990 (byte-compile-obsolete): Remove.
991 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
992 (byte-compile-arglist-warn): Check late def of inlinable funs.
993 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
994 since they should have been expanded by now.
995 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
996 (byte-compile-from-buffer): Remove unused second arg.
997 (byte-compile-preprocess): New function.
998 (byte-compile-toplevel-file-form): New function to distinguish
999 file-form calls from outside from file-form calls from hunk-handlers.
1000 (byte-compile-file-form): Simplify.
1001 (byte-compile-file-form-defsubst): Remove.
1002 (byte-compile-file-form-defmumble): Simplify now that
1003 byte-compile-lambda always returns a byte-code-function.
1004 (byte-compile): Preprocess.
1005 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1006 Remove, not used any more.
1007 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1008 (byte-compile-make-args-desc): New funs.
1009 (byte-compile-lambda): Handle lexical functions. Always return
1010 a byte-code-function.
1011 (byte-compile-reserved-constants): New var, to make up room for
1012 closed-over variables.
1013 (byte-compile-constants-vector): Obey it.
1014 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1015 (byte-compile-macroexpand-declare-function): New function.
1016 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1017 byte-code-functions.
1018 (byte-compile-form): Check obsolescence here.
1019 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1020 (byte-compile-variable-ref): Remove.
1021 (byte-compile-dynamic-variable-op): New fun.
1022 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1023 (byte-compile-variable-set): New funs.
1024 (byte-compile-discard): Add 2 args.
1025 (byte-compile-stack-ref, byte-compile-stack-set)
1026 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1027 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1028 macroexpand-all instead.
1029 (byte-compile-quote-form): Remove.
1030 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1031 (byte-compile-bind, byte-compile-unbind): New funs.
1032 (byte-compile-let): Handle let* and lexical binding.
1033 (byte-compile-let*): Remove.
1034 (byte-compile-catch, byte-compile-unwind-protect)
1035 (byte-compile-track-mouse, byte-compile-condition-case):
1036 Handle a new :fun-body form, used for lexical scoping.
1037 (byte-compile-save-window-excursion)
1038 (byte-compile-with-output-to-temp-buffer): Remove.
1039 (byte-compile-defun): Simplify.
1040 (byte-compile-stack-adjustment): New fun.
1041 (byte-compile-out): Use it.
1042 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1044 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1047 * emacs-lisp/byte-opt.el: Use lexical binding.
1048 (byte-inline-lapcode): Remove (to bytecomp).
1049 (byte-compile-inline-expand): Pay attention to inlining to/from
1050 lexically bound code.
1051 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1053 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1054 any more and don't call compiler-macros.
1055 (byte-compile-splice-in-already-compiled-code): Remove.
1056 (byte-code): Don't inline any more.
1057 (disassemble-offset): Receive `bytes' as argument rather than via
1059 (byte-compile-tag-number): Declare before first use.
1060 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1061 `return' even if make-spliceable.
1062 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1063 obsolete interactive-p.
1064 (byte-optimize-lapcode): Optimize new lap-codes.
1065 Don't trip up on new form of `byte-constant' lap code.
1067 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1069 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1071 * custom.el (custom-initialize-default, custom-declare-variable):
1074 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1076 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1077 (COMPILE_FIRST): Add macroexp and cconv.
1078 * makefile.w32-in: Mirror changes in Makefile.in.
1084 * vc/smerge-mode.el:
1085 * textmodes/bibtex-style.el:
1094 * emacs-lisp/smie.el:
1097 * abbrev.el: Use lexical binding.
1099 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1101 * info.el (info-display-manual): New function.
1103 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1105 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1107 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1109 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1110 an entry for that server in rcirc-authinfo. (Bug#8385)
1112 2011-03-31 Glenn Morris <rgm@gnu.org>
1114 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1116 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1118 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1120 * progmodes/python.el (python-default-interpreter)
1121 (python-python-command-args, python-jython-command-args)
1122 (python-which-shell, python-which-args, python-which-bufname)
1123 (python-file-queue, python-comint-output-filter-function)
1124 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1125 variables and functions.
1127 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1129 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1130 (completion-in-region-mode): New minor mode.
1131 (completion-in-region): Use it.
1132 (completion-in-region--data, completion-in-region-mode-map): New vars.
1133 (completion-in-region--postch): New function.
1134 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1136 (completion--capf-wrapper): New function.
1137 (completion-at-point): Use it to track well-behavedness of
1139 (completion-help-at-point): New command.
1141 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1143 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1144 syntax class to search for whitespace on a single line
1145 (Message-ID: <4D938140.4030905@redhat.com>).
1147 2011-03-30 Leo Liu <sdl.web@gmail.com>
1149 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1151 (edit-abbrevs-map): Bind them here.
1152 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1154 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1156 * allout.el (allout-hide-by-annotation, allout-flag-region):
1157 Reduce possibility of overlay leakage by making them volatile.
1159 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1160 hash is not shared between buffers. Mode initialization is
1161 responsible for giving it a useful starting value.
1162 (allout-item-span): Reduce possibility of overlay leakage by
1163 making them volatile.
1164 (allout-widgets-count-buttons-in-region): Add diagnostic function
1165 for tracking down button overlay leaks.
1167 2011-03-29 Leo Liu <sdl.web@gmail.com>
1169 * ido.el (ido-read-internal): Use the default history var
1170 minibuffer-history if no HISTORY is specified.
1172 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1174 * net/imap.el (imap-shell-open, imap-process-connection-type):
1175 Use imap-process-connection-type for 'shell' streams as well as
1176 Kerberos, SSL, other subprocesses.
1178 2011-03-28 Leo Liu <sdl.web@gmail.com>
1180 * abbrev.el (abbrev-table-empty-p): New function.
1181 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1182 nonempty ones. (Bug#5937)
1184 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1186 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1188 2011-03-27 Leo Liu <sdl.web@gmail.com>
1190 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1191 for foreground and background colors.
1192 (ansi-color-make-color-map): Adapt.
1194 2011-03-25 Leo Liu <sdl.web@gmail.com>
1196 * midnight.el (midnight-time-float): Remove. Note it calculates
1197 the microsecond component incorrectly and seconds-to-time does the
1199 Remove redundant (require 'timer).
1201 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1202 (ido-completions): Remove unused arguments. (Bug#8329)
1204 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1206 * minibuffer.el (completion--flush-all-sorted-completions):
1207 Remove itself from hook.
1208 (completion-at-point): Let the functions perform the completion
1209 immediately and return nil or t.
1210 * comint.el (comint-dynamic-complete-functions): Now identical to
1211 completion-at-point-functions.
1212 (comint-dynamic-list-input-ring): Remove unused var `index'.
1213 (comint--match-partial-filename, comint--unquote&expand-filename):
1214 New funs, split from comint-match-partial-filename.
1215 (comint-dynamic-complete): Use completion-at-point.
1216 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1218 2011-03-24 Drew Adams <drew.adams@oracle.com>
1220 * thingatpt.el: Support `defun'.
1222 2011-03-23 Leo Liu <sdl.web@gmail.com>
1224 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1226 * help-mode.el (help-mode-finish): Tweak regexp.
1228 2011-03-23 Glenn Morris <rgm@gnu.org>
1230 * eshell/esh-opt.el (eshell-eval-using-options):
1231 Do not bind unused local variable `eshell-option-stub'.
1233 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1235 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1237 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1238 keymap variable in `with-no-warnings' to avoid a warning when the
1239 keymap has been already `defconst'ed.
1241 2011-03-22 Leo Liu <sdl.web@gmail.com>
1243 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1244 encode all chars in abbrevs; otherwise use emacs-mule or
1245 utf-8-emacs. (Bug#8308)
1247 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1249 * simple.el (backward-delete-char-untabify):
1250 Avoid warning about using `delete-backward-char'.
1252 * image.el (image-type-file-name-regexps): Make it variable.
1253 `imagemagick-register-types' modifies it, and the user may want
1254 to add new extensions for known image types.
1255 (imagemagick-register-types): Throw error if not using ImageMagick.
1257 2011-03-22 Leo Liu <sdl.web@gmail.com>
1259 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1260 located before rcirc-prompt-end-marker.
1261 (rcirc-complete): Error if point is not after rcirc prompt.
1262 Handle the case when table is nil.
1263 (rcirc-user-authenticated): Define to fix compiler warning.
1265 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1267 * custom.el (custom--inhibit-theme-enable): Make it affect only
1268 custom-theme-set-variables and custom-theme-set-faces.
1269 (provide-theme): Ignore custom--inhibit-theme-enable.
1270 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1271 (custom-enabling-themes): Delete variable.
1272 (enable-theme): Accept only loaded themes as arguments.
1273 Ignore the special custom-enabled-themes variable.
1274 (custom-enabled-themes): Forbid themes from setting this.
1275 Eliminate use of custom-enabling-themes.
1276 (custom-push-theme): Quote "changed" custom var entry.
1278 2011-03-21 Leo Liu <sdl.web@gmail.com>
1280 * ido.el (ido-read-internal): Add ido-selected to history instead
1283 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1285 * subr.el (deferred-action-list, deferred-action-function):
1288 2011-03-21 Leo Liu <sdl.web@gmail.com>
1290 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1291 change on 2011-02-13 (bug#8309).
1293 * minibuffer.el (read-file-name-function): Change default value.
1294 (read-file-name--defaults): Rename from read-file-name-defaults.
1295 (read-file-name-default): Rename from read-file-name.
1296 (read-file-name): Call read-file-name-function.
1298 2011-03-21 Glenn Morris <rgm@gnu.org>
1300 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1303 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
1305 * cus-theme.el: Add missing provide statement.
1306 (customize-create-theme): Extract theme value correctly.
1307 (custom-theme-visit-theme): Autoload.
1308 (customize-create-theme): Prompt before inserting default faces.
1310 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1312 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1313 units and musical notes.
1315 2011-03-20 Leo <sdl.web@gmail.com>
1317 * ido.el (ido-read-internal): Use completing-read-default.
1318 (ido-completing-read): Fix compatibility with completing-read.
1320 2011-03-20 Christian Ohler <ohler@gnu.org>
1322 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1323 (ert-delete-all-tests): Use `called-interactively-p' rather than
1325 (ert--make-xrefs-region): Respect END.
1327 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1329 * dired-aux.el (dired-create-directory): Signal an error if the
1330 directory already exists (Bug#8246).
1332 * facemenu.el (list-colors-display): Call list-faces-display
1333 inside with-help-window.
1334 (list-colors-print): Use display property to align the final
1335 column, instead of checking window-width.
1337 2011-03-19 Eli Zaretskii <eliz@gnu.org>
1339 * emerge.el (emerge-metachars): Separate value for ms-dos and
1341 (emerge-protect-metachars): Quote correctly for ms-dos and
1344 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
1346 * info.el (info-initialize): Replace all uses of `:' with
1347 path-separator for compatibility with non-Unix systems.
1348 Cache quoting of path-separator. (Bug#8258)
1350 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
1352 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1353 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1354 (mouse-avoidance-mode): Fix typos in docstrings.
1356 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1358 * startup.el (package-subdirectory-regexp): Move from package.el.
1359 Omit \\` and \\', and let callers add them.
1361 * emacs-lisp/package.el (package-strip-version)
1362 (package-load-all-descriptors): Add \\` and \\' to
1363 package-subdirectory-regexp before using it.
1364 (package-untar-buffer): New arg DIR; ensure that file untars only
1365 into this expected directory. Remove superfluous delete-region.
1366 (package-unpack): Caller changed.
1367 (package-tar-file-info): Use package-subdirectory-regexp.
1369 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1371 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1372 diff-mode-shared-map (bug#8284).
1373 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1375 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1377 * calendar/time-date.el (format-seconds): Use assoc instead of
1378 assoc-string, since assoc-string doesn't exist in XEmacs.
1380 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
1382 * custom.el (custom-known-themes): Reflow docstring.
1383 (custom-theme-load-path): Fix typo in docstring.
1384 (load-theme): Fix typo in error message.
1385 (custom-available-themes, custom-variable-theme-value):
1386 Use `let', not `let*'.
1388 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1390 * calc/README: Mention inclusion of musical notes.
1392 * calc/calc-units.el (calc-lu-quant): Rename from
1393 `calc-logunits-quantity'.
1394 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1395 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1396 (calc-db): Rename from `calc-dblevel'.
1397 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1398 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1399 (calc-np): Rename from `calc-nplevel'.
1400 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1401 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1402 (calc-lu-plus): Rename from `calc-logunits-add'.
1403 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1404 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1405 (calc-lu-minus): Rename from `calc-logunits-sub'.
1406 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1407 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1408 (calc-lu-times): Rename from `calc-logunits-mul'.
1409 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1410 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1411 (calc-lu-divide): Rename from `calc-logunits-div'.
1412 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1413 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1415 * calc/calc-ext.el (calc-init-extensions): Update the names of the
1416 functions being autoloaded.
1418 * calc/calc.el (calc-lu-power-reference): Rename from
1419 `calc-logunits-power-reference'.
1420 (calc-lu-field-reference): Rename from
1421 `calc-logunits-field-reference'.
1423 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
1425 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1427 * minibuffer.el (completion-all-sorted-completions):
1428 Use :completion-cycle-penalty text property if present.
1430 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
1432 * allout.el (allout-yank-processing): Adjust for new rebulleting
1433 regime so bullet being yanked is used without prompting the user
1436 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
1438 * startup.el (command-line): Warn the user that _emacs is deprecated.
1440 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
1442 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
1443 (delphi-verbose, delphi-comment-face, delphi-string-face)
1444 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
1445 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
1446 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
1447 (delphi-new-comment-line, delphi-font-lock-defaults)
1448 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
1449 Fix typos in docstrings.
1451 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
1453 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
1454 Invert the roles of character and string values for INSTEAD, so a
1455 string is used for the more common case of a defaulting prompt.
1457 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1459 * progmodes/ruby-mode.el (ruby-backward-sexp):
1460 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
1461 * play/gamegrid.el (gamegrid-make-face):
1462 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
1463 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
1464 * notifications.el (notifications-notify):
1465 * net/xesam.el (xesam-search-engines):
1466 * net/quickurl.el (quickurl-list-insert):
1467 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
1469 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
1471 * startup.el (command-line): Update package subdirectory regexp.
1473 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1475 * allout.el (allout-abbreviate-flattened-numbering)
1476 (allout-mode-deactivate-hook): Fix up obsolescence "date".
1478 * subr.el (read-char-choice): Only show the cursor after the prompt,
1479 not after the answer.
1481 2011-03-15 Kevin Ryde <user42@zip.com.au>
1483 * help-fns.el (variable-at-point): Skip leading quotes, if any
1486 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1488 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
1491 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
1493 * shell.el (shell): When called interactively, offer to change the
1494 shell file name on remote hosts.
1496 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
1498 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
1499 integration for LDAP parameters. The host, base, user or binddn,
1500 and secret tokens can be specified in a netrc file, for instance.
1501 This is optional because an `auth-source' parameter must be
1502 specified in the search attributes.
1504 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
1506 * help.el (describe-mode): Link to the mode's definition (bug#8185).
1508 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1510 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
1511 into declaration. Remove redundant and harmful binding.
1513 2011-03-12 Eli Zaretskii <eliz@gnu.org>
1515 * files.el (file-ownership-preserved-p): Pass `integer' as an
1516 explicit 2nd argument to `file-attributes'. If the file's owner
1517 is the Administrators group on Windows, and the current user is
1518 Administrator, consider that a match.
1520 * server.el (server-ensure-safe-dir): Consider server directory
1521 safe on MS-Windows if its owner is the Administrators group while
1522 the current Emacs user is Administrator. Use `=' to compare
1523 numerical UIDs, since they could be integers or floats.
1525 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
1527 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
1529 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
1531 Sync with Tramp 2.2.1.
1533 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
1535 * net/trampver.el: Update release number.
1537 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1539 * progmodes/compile.el (compilation--previous-directory): Fix up
1540 various nil/dead-marker mismatches (bug#8014).
1541 (compilation-directory-properties, compilation-error-properties):
1542 Don't call it at a position past the one we're about to change.
1544 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
1545 Disable obsolescence warnings in the file that declares it.
1547 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
1549 * allout-widgets.el (allout-widgets-tally):
1550 Initialize allout-widgets-tally as a hash table rather than nil to
1551 prevent mode-line redisplay warnings. Also, clarify the module
1552 description and fix a comment typo.
1554 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
1556 * help-fns.el (describe-variable): Don't complete keywords.
1557 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
1559 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
1561 * emacs-lisp/package.el (package-version-join): Impose a standard
1562 string representation for pre/alpha/beta version lists.
1563 (package-unpack-single): Standardize the directory name by passing
1564 it through package-version-join.
1565 (package-strip-rcs-id): Accept any version string that does not
1566 signal an error in version-to-list.
1568 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
1570 * simple.el (delete-trailing-whitespace): Return nil for the
1571 benefit of `write-file-functions'.
1573 2011-03-10 Glenn Morris <rgm@gnu.org>
1575 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
1577 * vc/vc-git.el (vc-git-program): New option.
1578 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
1579 (vc-git--call): Use it.
1581 * eshell/esh-util.el (eshell-condition-case): Doc fix.
1583 * cus-edit.el (Custom-newline): If no button at point, look
1584 for a subgroup button at start-of-line. (Bug#2298)
1586 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
1588 2011-03-10 Julien Danjou <julien@danjou.info>
1590 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
1591 `cursor-type' is nil.
1593 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
1595 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
1597 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
1599 * allout.el Summary: Change so yank of distinctive-bullet items
1600 preserves the existing header prefix, rebulleting it if necessary,
1601 rather than replacing it. This is necessary for proper operation
1602 of cooperative addons like allout-widgets.
1603 (allout-make-topic-prefix, allout-rebullet-heading): Change
1604 SOLICIT arg to INSTEAD, and interpret additionally a string value
1605 as alternate bullet to be used, instead of prompting the user for
1608 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
1610 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1611 Do not use `tramp-file-name-port', because this returns also
1612 `tramp-default-port'.
1614 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1616 * net/rcirc.el (rcirc-handler-001): Remove useless
1617 with-rcirc-process-buffer.
1618 (rcirc-check-auth-status): Swap arguments to string-match.
1620 2011-03-09 Glenn Morris <rgm@gnu.org>
1622 * shell.el (shell-mode):
1623 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
1625 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
1626 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
1628 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
1630 * emacs-lisp/package.el (package-refresh-contents)
1631 (package-menu-execute): Use condition-case-no-debug.
1633 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
1635 * simple.el (shell-command-to-string): Use `process-file'.
1637 * emacs-lisp/package.el (package-tar-file-info): Handle also
1640 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1641 Use `equal' for upload base check.
1643 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
1645 * textmodes/texinfo.el (texinfo-environments):
1646 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
1648 2011-03-08 Glenn Morris <rgm@gnu.org>
1650 * cus-start.el (cursor-in-non-selected-windows):
1651 Fix :set quoting oddness. (Bug#8192)
1653 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
1654 in some setf expressions. (Bug#2159)
1656 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
1658 * custom.el (custom-available-themes): Return themes in
1661 See ChangeLog.15 for earlier changes.
1667 Copyright (C) 2011 Free Software Foundation, Inc.
1669 This file is part of GNU Emacs.
1671 GNU Emacs is free software: you can redistribute it and/or modify
1672 it under the terms of the GNU General Public License as published by
1673 the Free Software Foundation, either version 3 of the License, or
1674 (at your option) any later version.
1676 GNU Emacs is distributed in the hope that it will be useful,
1677 but WITHOUT ANY WARRANTY; without even the implied warranty of
1678 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1679 GNU General Public License for more details.
1681 You should have received a copy of the GNU General Public License
1682 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.