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