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