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