]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from trunk.
[gnu-emacs] / lisp / ChangeLog
1 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
2
3 * type-break.el (timep): Use the value of `float-time' to avoid a
4 byte-compiler warning.
5
6 * server.el (server-eval-and-print): Return any result, even nil.
7
8 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9
10 * type-break.el: Accept time formats that the builtins accept.
11 (timep, type-break-time-difference): Accept any format that
12 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13 This is simpler and helps future-proof the code.
14 (type-break-time-difference): Round rather than ignoring
15 subseconds components.
16
17 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18
19 * info.el (Info-apropos-matches): Make non-interactive, since it
20 doesn't seem to do anything useful as a command (bug#8829).
21
22 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23
24 * frame.el (frame-background-mode, frame-set-background-mode):
25 Moved from faces.el.
26 (frame-default-terminal-background): New function.
27
28 * custom.el (custom-push-theme): Don't record faces in `changed'
29 theme; this doesn't work correctly for per-frame face settings.
30 (disable-theme): Use face-set-after-frame-default to reset faces.
31 (custom--frame-color-default): New function.
32
33 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
34
35 * dired.el (dired-flagging-regexp): Removed unused variable
36 (bug#8769).
37
38 2011-03-29 Kevin Ryde <user42@zip.com.au>
39
40 * progmodes/compile.el (compilation-error-regexp-alist-alist):
41 `perl-Test2' extend to match possible "fail #N" rep count
42 (bug#8377).
43
44 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
45
46 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
47 `smtpmail-via-smtp' now returns the error instead of nil.
48
49 * isearch.el (isearch-search-fun-function): Clarify the doc string
50 (bug#8101).
51
52 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
53
54 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
55 unnecessary spaces (bug#8987).
56
57 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
58
59 * net/network-stream.el (open-network-stream): Use the
60 :end-of-capability command thoughout.
61
62 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
63
64 * net/network-stream.el (open-network-stream): Add the
65 :end-of-capability command parameter, used by pop3.el.
66
67 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
68
69 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
70
71 * fringe.el (fringe-query-style): Remove redundant text " (type ?
72 for list)" (bug#6475).
73
74 * files.el (file-expand-wildcards): Ignore non-readable
75 sub-directories while trying to find matches instead of signalling
76 an error (bug#6297).
77
78 * man.el (Man-reference-regexp): Allow matching possible
79 word-wrapped references (bug#6289).
80
81 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
82 for consistency with the other vc buffers (bug#6197).
83 (vc-checkin): Ditto.
84
85 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
86
87 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
88
89 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
90
91 * custom.el (defcustom): Clarify that :set is only used in the
92 Customize user interface (bug#6089).
93
94 * progmodes/flymake.el (flymake-mode): If the buffer isn't
95 associated with a file, refuse to run instead of erroring out
96 (bug#6084).
97
98 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
99 the doc string, since it appears that using `fill-column' always
100 controls the width (bug#7845).
101
102 * simple.el (shell-command-on-region): Say where the error output
103 went if `shell-command-default-error-buffer' is set (bug#6857).
104
105 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
106
107 * allout.el (allout-yank-processing): Adjust cursor position for
108 backwards-deleted space.
109
110 (allout-rebullet-heading): Register changes with
111 allout-exposure-changed-hook, so the modified topic is properly
112 decorated.
113
114 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
115
116 * minibuffer.el (completion-in-region): Document PREDICATE
117 (bug#7136).
118
119 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
120 of keyword/argument pairs (bug#6904).
121
122 * replace.el (multi-occur): Mention
123 `multi-occur-in-matching-buffers' in the doc string (bug#7566).
124
125 2011-07-02 Drew Adams <drew.adams@oracle.com>
126
127 * dired.el (dired-mark-if): Make the message about whether it's
128 marking or unmarking clearer (bug#8523).
129
130 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
131
132 * disp-table.el (display-table-print-array): New function.
133 (describe-display-table): Use it to print the vectors more pretty
134 (Bug#8859).
135
136 2011-07-02 Martin Rudalics <rudalics@gmx.at>
137
138 * window.el (window-state-get-1): Don't assign clone numbers.
139 Add clone-of item to list of window parameters.
140 (window-state-put-2): Don't process clone numbers.
141 (display-buffer-alist): Fix doc-string.
142
143 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * subr.el (remq): Don't allocate if it's not needed.
146 (keymap--menu-item-binding, keymap--menu-item-with-binding)
147 (keymap--merge-bindings): New functions.
148 (keymap-canonicalize): Use them to refine the canonicalization.
149 * minibuffer.el (minibuffer-local-completion-map)
150 (minibuffer-local-must-match-map): Move initialization from C.
151 (minibuffer-local-filename-completion-map): Move initialization from C;
152 don't inherit from anything here.
153 (minibuffer-local-filename-must-match-map): Make obsolete.
154 (completing-read-default): Use make-composed-keymap to combine
155 minibuffer-local-filename-completion-map with either
156 minibuffer-local-must-match-map or
157 minibuffer-local-filename-completion-map.
158
159 2011-07-01 Glenn Morris <rgm@gnu.org>
160
161 * type-break.el (type-break-time-sum): Use dolist.
162
163 * textmodes/flyspell.el (flyspell-word-search-backward):
164 Replace CL function.
165
166 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
167
168 * mouse.el (mouse--strip-first-event): New function.
169 (function-key-map): Use it to map fringe clicks to normal clicks
170 by default.
171
172 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
173 (vc-bzr-revision-completion-table): Add support for annotate and date.
174
175 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
176 inherit from parent.
177
178 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
179
180 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
181 (dired-show-file-type): Doc fixup (bug#8818).
182
183 * dired.el (dired-mode): Fix up the doc string as suggested by
184 Drew Adams (bug#8817).
185
186 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
187 cookie, since the manual says that it should be possible to add
188 this function to `find-file-hook' (bug#8709).
189
190 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
191
192 * progmodes/cfengine.el: Moved all cfengine3.el functionality
193 here. Noted Ted Zlatanov as the maintainer.
194 (cfengine-common-settings, cfengine-common-syntax): New functions
195 to set up common things between `cfengine-mode' and
196 `cfengine3-mode'.
197 (cfengine3-mode): New mode.
198 (cfengine3-defuns cfengine3-defuns-regex
199 (cfengine3-class-selector-regex cfengine3-category-regex)
200 (cfengine3-vartypes cfengine3-font-lock-keywords)
201 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
202 (cfengine3-indent-line): Add from cfengine3.el.
203
204 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
205
206 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
207
208 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
209
210 2011-07-01 Martin Rudalics <rudalics@gmx.at>
211
212 * window.el (same-window-buffer-names, same-window-regexps)
213 (same-window-p, special-display-frame-alist)
214 (special-display-popup-frame, special-display-function)
215 (special-display-buffer-names, special-display-regexps)
216 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
217 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
218 (split-window-preferred-function, split-height-threshold)
219 (split-width-threshold, even-window-heights)
220 (display-buffer-mark-dedicated, window-splittable-p)
221 (split-window-sensibly, window-safely-shrinkable-p):
222 Un-obsolete.
223 (display-buffer): Don't spread args with function specifier
224 because special-display-popup-frame won't like it.
225
226 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
227
228 Time-stamp simplifications and fixes.
229 These improve accuracy slightly, and future-proof the code
230 against some potential changes to current-time format.
231
232 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
233 by using time-since and float-time.
234
235 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
236 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
237 + NNN microseconds".
238
239 * type-break.el (type-break-time-sum): Rewrite using time-add.
240
241 * play/hanoi.el (hanoi-current-time-float): Remove.
242 All uses replaced by float-time.
243
244 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
245 This yields a more-accurate answer.
246 (rng-time-to-float): Remove; no longer needed.
247
248 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
249
250 * calendar/timeclock.el (timeclock-seconds-to-time):
251 Defalias to seconds-to-time, since they're the same thing.
252
253 * emacs-lisp/elp.el (elp-elapsed-time):
254 * emacs-lisp/benchmark.el (benchmark-elapse):
255 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
256
257 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 * window.el (bury-buffer): Don't iconify the only frame.
260 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
261 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
262
263 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
264
265 * eshell/em-smart.el (eshell-smart-display-navigate-list):
266 Add mouse-yank-primary.
267
268 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
269
270 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
271
272 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
273
274 * emacs-lisp/find-func.el (find-library--load-name): New fun.
275 (find-library-name): Use it to find relative load names when provided
276 absolute file name (bug#8803).
277
278 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
279
280 * textmodes/flyspell.el (flyspell-word): Consider words that
281 differ only in case as potential doublons (bug#5687).
282
283 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
284 Remove two rather uninteresting debugging-like messages to make
285 debbugs.el more silent.
286
287 * comint.el (comint-password-prompt-regexp): Accept "Response" as
288 a password-like phrase.
289
290 2011-06-30 Mastake YAMATO <yamato@redhat.com>
291
292 * progmodes/cc-guess.el: New file.
293
294 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
295
296 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
297 derived from `c-basic-common-init'.
298
299 * progmodes/cc-mode.el (top-level): Require cc-guess.
300 (c-basic-common-init): Use `cc-choose-style-for-mode'.
301
302 2011-06-30 Lawrence Mitchell <wence@gmx.li>
303
304 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
305
306 2011-06-30 Alan Mackenzie <acm@muc.de>
307
308 * progmodes/cc-engine.el (c-guess-continued-construct):
309 Correct the handling of template-args-cont, particularly for when font
310 lock is disabled. Name this case as "CASE G".
311
312 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
313
314 * allout.el (allout-yank-processing): Fix injection of extra space
315 between bullet and non-whitespace character in first topic when
316 pasting, ensuring that the actual spacing in the pasted topic
317 following the bullet char is preserved. This extra space was
318 causing pasted encrypted topics to get a decrypted status even
319 when the content was actually still encrypted. Now the decryption
320 status from before the paste is preserved.
321
322 (allout-flag-region): Set all allout overlays so they evaporate
323 when reduced to zero length (evanescent), to prevent overlay
324 leakage.
325
326 2011-06-30 Glenn Morris <rgm@gnu.org>
327
328 * w32-fns.el (w32-charset-info-alist): Declare.
329
330 * find-dired.el (find-grep-options): Simplify.
331
332 * term/ns-win.el (ns-set-resource): Declare.
333
334 * ses.el (row, col): Declare dynamic variables honestly.
335
336 * textmodes/reftex-parse.el (index-tags): Declare.
337
338 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
339
340 * cus-edit.el (customize-push-and-save): New function.
341
342 * files.el (hack-local-variables-confirm): Use it.
343
344 * custom.el (load-theme): New arg NO-CONFIRM.
345 Use customize-push-and-save (Bug#8720).
346 (custom-enabled-themes): Doc fix.
347
348 * cus-theme.el (customize-create-theme)
349 (custom-theme-merge-theme): Callers to load-theme changed.
350
351 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
352
353 * thingatpt.el (thing-at-point-short-url-regexp): Require that
354 short URLs have at least one dot in them (bug #7614).
355
356 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
357 nil, because using a pty is apparently too slow (bug #895).
358
359 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
360
361 * mail/sendmail.el (sendmail-query-once): New function.
362 (sendmail-query-once-function): New variable.
363
364 2011-06-29 Glenn Morris <rgm@gnu.org>
365
366 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
367
368 * ses.el (top-level): Require cl when compiling.
369 (ses-set-localvars): Fix error statement.
370 Call it at compile time to silence a storm of warnings.
371
372 2011-06-29 Martin Rudalics <rudalics@gmx.at>
373
374 * window.el (normalize-live-buffer): Rename to
375 window-normalize-buffer.
376 (normalize-live-frame): Rename to window-normalize-frame.
377 (normalize-any-window): Rename to window-normalize-any-window.
378 (normalize-live-window): Rename to window-normalize-live-window.
379 (make-window-atom): Rename to window-make-atom.
380 (window-resize-reset): Rename to window--resize-reset.
381 (window-resize-reset-1): Rename to window--resize-reset-1.
382 (resize-mini-window): Rename to window--resize-mini-window.
383 (resize-subwindows-skip-p): Rename to
384 window--resize-subwindows-skip-p.
385 (resize-subwindows-normal): Rename to
386 window--resize-subwindows-normal.
387 (resize-subwindows): Rename to window--resize-subwindows.
388 (resize-other-windows): Rename to window--resize-siblings.
389 (resize-this-window): Rename to window--resize-this-window.
390 (resize-root-window): Rename to window--resize-root-window.
391 (resize-root-window-vertically): Rename to
392 window--resize-root-window-vertically.
393 (normalize-buffer-to-display): Rename to
394 window-normalize-buffer-to-display.
395 (normalize-buffer-to-switch-to): Rename to
396 window-normalize-buffer-to-switch-to.
397 Correspondingly update all callers of the functions listed
398 above.
399 (display-buffer-alist, display-buffer-normalize-arguments)
400 (display-buffer-normalize-options, display-buffer)
401 (display-buffer-alist-set): Use "function" instead of
402 "fun-with-args".
403
404 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
405
406 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
407 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
408 debbugs.gnu.org. Mention acknowledgment email.
409
410 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
411
412 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
413 buffer multibyteness, since it shouldn't matter.
414
415 2011-06-28 Martin Rudalics <rudalics@gmx.at>
416
417 * window.el (display-buffer-in-side-window): Handle dedicated
418 windows as in display-buffer-reuse-window.
419 (display-buffer-normalize-alist): Use value of override
420 specifier.
421 (display-buffer-normalize-specifiers): Use value of
422 other-window-means-other-frame specifier.
423 (display-buffer-alist): Rewrite some texts in widgets.
424 (display-buffer): Spread arguments when calling function
425 specified by fun-with-args.
426
427 2011-06-28 Deniz Dogan <deniz@dogan.se>
428
429 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
430 Unnest `let'.
431
432 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
433 selectors (Bug#5732).
434 (css-proprietary-nmstart-re): Use `regexp-opt'.
435
436 2011-06-27 Jari Aalto <jari.aalto@cante.net>
437
438 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
439 (eshell-ls-date-format): New defcustom.
440 (eshell-ls-file): Use it.
441
442 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
443
444 * help-fns.el (describe-variable): Fix message for terminal-local vars.
445
446 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
447
448 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
449 (ange-ftp-make-tmp-name): New arg.
450 (ange-ftp-file-local-copy): Use it.
451
452 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
453
454 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
455 no-conversion (Bug#8870).
456
457 2011-06-27 Martin Rudalics <rudalics@gmx.at>
458
459 * window.el (window-right, window-left, window-child)
460 (window-child-count, window-last-child)
461 (window-iso-combination-p, walk-window-tree-1)
462 (window-atom-check-1, window-tree-1, delete-window)
463 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
464 new naming conventions - window-vchild, window-hchild,
465 window-next and window-prev are now called window-top-child,
466 window-left-child, window-next-sibling and window-prev-sibling
467 respectively.
468 (resize-window-reset): Rename to window-resize-reset.
469 (resize-window-reset-1): Rename to window-resize-reset-1.
470 (resize-window): Rename to window-resize.
471 (window-min-height, window-min-width)
472 (resize-mini-window, resize-this-window, resize-root-window)
473 (resize-root-window-vertically, adjust-window-trailing-edge)
474 (enlarge-window, shrink-window, maximize-window)
475 (minimize-window, delete-window, quit-restore-window)
476 (split-window, balance-windows, balance-windows-area-adjust)
477 (balance-windows-area, window-state-put-2)
478 (display-buffer-even-window-sizes, display-buffer-set-height)
479 (display-buffer-set-width, set-window-text-height)
480 (fit-window-to-buffer): Rename all "resize-window" prefixed
481 calls to use the "window-resize" prefix convention.
482 (display-buffer-alist): Fix symbol for label specifier.
483 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
484 corresponding specifier.
485 Reported by Juanma Barranquero <lekktu@gmail.com>.
486
487 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
488
489 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
490 convention.
491 (ses-call-printer): Does not pass an empty string to formatter when the
492 cell is empty to keep from barking printer Calc math-format-value.
493
494 2011-06-27 Richard Stallman <rms@gnu.org>
495
496 * battery.el (battery-mode-line-limit): New variable.
497 (battery-update): Handle it.
498
499 * mail/rmailmm.el (rmail-mime-process-multipart):
500 Handle truncated messages.
501
502 2011-06-27 Glenn Morris <rgm@gnu.org>
503
504 * progmodes/flymake.el (flymake-err-line-patterns):
505 Allow for column numbers in the ant/javac pattern. (Bug#8866)
506
507 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
508
509 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
510 (ses--clean-!, ses--clean-_): New functions.
511 (ses-range): Add configurability of readout order, and conversion
512 to Calc vector.
513
514 * ses.el (ses-repair-cell-reference-all): New function.
515 (ses-cell-symbol): Set macro as safe, so that it can be used in
516 formulas.
517
518 * ses.el: Update cycle detection algorithm.
519 (ses-localvars): Add ses--Dijkstra-attempt-nb and
520 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
521 (ses-set-localvars): New function.
522 (ses-make-cell): Add property-list as a cell element.
523 (ses-cell-property-get-fun, ses-cell-property-get)
524 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
525 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
526 New functions.
527 (ses-cell-property-set, ses-cell-property-pop)
528 (ses-cell-property-get-handle): New macro.
529 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
530 New aliases, used for code readability.
531 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
532 cycle detection.
533 (ses-self-reference-early-detection): New defcustom.
534 (ses-formula-references): Robustify against self-refering cells.
535 (ses-mode): Use ses-set-localvars.
536 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
537 before lauching the update processing.
538 (ses-initialize-Dijkstra-attempt): New function.
539 (ses-recalculate-cell): Update for cycle detection based on
540 Dijkstra algorithm.
541
542 * ses.el: Fix commenting and indenting convention.
543
544 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * bs.el (bs-cycle-next): Complete last change.
547
548 2011-06-27 Drew Adams <drew.adams@oracle.com>
549
550 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
551
552 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
553
554 * net/network-stream.el (network-stream-open-starttls):
555 Don't re-get capabilities unless we've reestablished connection.
556 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
557
558 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
559 to binary to possibly avoid line encoding issues on Windows (among
560 other things).
561
562 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
563
564 * net/network-stream.el (open-network-stream): Return an :error
565 saying what the problem was, if possible.
566
567 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
568 server.
569
570 * net/network-stream.el (network-stream-open-starttls): If we
571 wanted to use STARTTLS, and the server offered it, but we weren't
572 able to because we had no STARTTLS support, then close the connection.
573 (open-network-stream): Return an :error element, if present.
574
575 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
576
577 * hl-line.el (hl-line-sticky-flag): Doc fix.
578 (global-hl-line-sticky-flag): New option (Bug#8323).
579 (global-hl-line-highlight): Obey it.
580
581 * vc/vc.el (vc-revert-show-diff): Default to t.
582
583 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
584
585 * allout-widgets.el (allout-widgets-post-command-business):
586 Stop decorating intermediate isearch matches. They're not being
587 undecorated when an isearch is continued past, and isearch
588 automatically collapses them. This leads to "widget leaks", where
589 decorated items accumulate in collapsed areas. Lines with lots of
590 hidden widgets can slow down cursor travel, substantially.
591 Too much complicated machinery would be needed to ensure undecoration,
592 so we're doing without this nicety.
593
594 (allout-widgets-tally-string): Don't try to do a hash-table-count
595 of allout-widgets-tally when it's nil. This eliminates spurious "Error
596 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
597 *Messages* when allout-widgets-maintain-tally is t.
598
599 2011-06-26 Martin Rudalics <rudalics@gmx.at>
600
601 * window.el (display-buffer-normalize-argument): Rename to
602 display-buffer-normalize-arguments. Handle special meaning of
603 LABEL argument. Respect special-display-function when popping up
604 a new frame. Fix code searching for a window showing the buffer
605 on another frame.
606 (display-buffer-normalize-specifiers):
607 Call display-buffer-normalize-arguments.
608 (display-buffer-in-window): Don't undedicate the window if its
609 buffer remains the same.
610 Reported by Drew Adams <drew.adams@oracle.com>.
611 (display-buffer-alist): Add choice for same-window macro
612 specfier.
613 (display-buffer): Mention special meaning of LABEL argument in
614 doc-string. Fix quoting. Don't pop up a new frame even as
615 fallback.
616
617 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
618
619 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
620 avoid deleting the current window in some cases (bug#8911).
621
622 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
623
624 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
625 (Bug#8934)
626
627 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
628
629 * net/network-stream.el (network-stream-open-starttls):
630 Use built-in TLS support if `gnutls-available-p' is true.
631 (network-stream-open-tls): Ditto.
632
633 2011-06-26 Leo Liu <sdl.web@gmail.com>
634
635 * register.el (registerv): New struct.
636 (registerv-make): New function.
637 (jump-to-register, describe-register-1, insert-register):
638 Support the jump-func, print-func and insert-func slot of a registerv
639 struct. (Bug#8415)
640
641 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
642
643 * vc/vc.el (vc-revert-show-diff): New defcustom.
644 (vc-diff-internal): New arg specifying diff buffer.
645 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
646 reuse an existing *vc-diff* buffer (Bug#8927).
647
648 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
649
650 2011-06-26 Glenn Morris <rgm@gnu.org>
651
652 * progmodes/f90.el (f90-critical-indent): New option.
653 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
654 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
655 (f90-mode): Doc fix.
656 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
657 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
658 (f90-beginning-of-block, f90-next-block, f90-indent-region)
659 (f90-match-end): Handle block, critical.
660
661 2011-06-25 Glenn Morris <rgm@gnu.org>
662
663 * calendar/diary-lib.el (diary-included-files): Doc fix.
664 (diary-include-files): New function, extracted from
665 diary-include-other-diary-files and diary-mark-included-diary-files.
666 (diary-include-other-diary-files, diary-mark-included-diary-files):
667 Just call diary-include-files.
668 (diary-mark-entries): Reset diary-included-files on first call.
669
670 * calendar/diary-lib.el (diary-mark-entries)
671 (diary-mark-included-diary-files):
672 Visit included diary-files in temp buffers.
673
674 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
675 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
676 (f90-start-block-re, f90-imenu-generic-expression)
677 (f90-looking-at-program-block-start, f90-no-block-limit):
678 Add support for submodules.
679
680 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
681 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
682
683 2011-06-25 Eli Zaretskii <eliz@gnu.org>
684
685 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
686 buffer-file-type before setting its value, to avoid disastrous
687 global effects on decoding files for DOS/Windows systems. (Bug#8780)
688
689 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
690
691 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
692
693 * ses.el (ses-unload-function):
694 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
695
696 * proced.el (proced-unload-function):
697 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
698
699 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
700
701 * server.el (server-create-window-system-frame): Add parameters arg.
702 (server-process-filter): Doc fix. Handle frame-parameters.
703
704 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
705
706 Fix bug#8730, bug#8781.
707
708 * loadhist.el (unload--set-major-mode): New function.
709 (unload-feature): Use it.
710
711 * progmodes/python.el (python-after-info-look): Add autoload cookie.
712 (python-unload-function): New function.
713
714 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
715
716 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
717
718 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
719
720 * net/browse-url.el (browse-url-firefox-program): Add icecat to
721 the candidates list.
722
723 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
724
725 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
726
727 2011-06-23 Richard Stallman <rms@gnu.org>
728
729 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
730 (rmail-variables): Set next-error-move-function.
731 (rmail-what-message): Take argument POS.
732 (rmail-next-error-move): New function.
733
734 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
735
736 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
737 messages for adjacent non-terminals.
738
739 2011-06-23 Richard Stallman <rms@gnu.org>
740
741 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
742 (rmail-show-message-1): Preserve buffer modified flag.
743 (rmail-start-mail): Don't specify use of rmail-mail-return;
744 that's done by mail-bury now.
745 (rmail-mail-return): Handle arg NEWBUF.
746
747 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
748
749 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
750 SIZE is a number.
751
752 2011-06-23 Martin Rudalics <rudalics@gmx.at>
753
754 * window.el (get-lru-window, get-mru-window)
755 (get-largest-window): Never return a minibuffer window.
756 (display-buffer-pop-up-window): Fix a bug that could lead to
757 reusing the minibuffer window.
758 (display-buffer): Pass original specifier argument to
759 display-buffer-function instead of the normalized one.
760 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
761
762 2011-06-22 Leo Liu <sdl.web@gmail.com>
763
764 * minibuffer.el (completing-read-function)
765 (completing-read-default): Move from minibuf.c
766
767 2011-06-22 Richard Stallman <rms@gnu.org>
768
769 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
770 to Rmail even if not started by a special Rmail command.
771
772 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
773 Copy the buffer currently showing just one message.
774
775 2011-06-22 Roland Winkler <winkler@gnu.org>
776
777 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
778 (bibtex-clean-entry): First delete the old key so that a
779 customized algorithm for generating the new key does not get
780 confused by the old key.
781 (bibtex-url): Obey regexp of first step.
782 (bibtex-search-entries): Do not use add-to-list with local
783 list-var.
784
785 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
786
787 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
788 stored a user name, then query for the password first, instead of
789 waiting for SMTP to give an error message and the trying again.
790
791 2011-06-22 Lawrence Mitchell <wence@gmx.li>
792
793 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
794 BUFFER in call-process.
795
796 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
797
798 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
799 QUIT twice.
800 (smtpmail-try-auth-methods): Require user name and password from
801 auth-source.
802
803 2011-06-22 Martin Rudalics <rudalics@gmx.at>
804
805 * window.el (display-buffer-default-specifiers)
806 (display-buffer-alist): Remove entries for pop-up-frame-alist.
807 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
808 (split-window): Normalize SIDE argument (Bug#8916).
809
810 * frame.el (pop-up-frame-alist, pop-up-frame-function)
811 (special-display-frame-alist, special-display-popup-frame):
812 Remove duplicate declarations. These are now in window.el.
813
814 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
815
816 * mail/smtpmail.el (smtpmail-via-smtp):
817 Set :use-starttls-if-possible so that we always use STARTTLS if the
818 server supports it. SMTP servers that support STARTTLS commonly
819 require it.
820
821 * net/network-stream.el (network-stream-open-starttls): Support
822 upgrading to STARTTLS always, even if we don't have built-in support.
823 (open-network-stream): Add the :always-query-capabilies keyword.
824
825 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
826 upgrades with `open-network-stream', and rely solely on
827 auth-source for all credentials. Big changes throughout the file,
828 but in particular:
829 (smtpmail-auth-credentials): Remove.
830 (smtpmail-starttls-credentials): Remove.
831 (smtpmail-via-smtp): Check for servers saying they want AUTH after
832 MAIL FROM, too.
833
834 * net/network-stream.el (network-stream-open-starttls):
835 Provide support for client certificates both for external and built-in
836 STARTTLS.
837 (auth-source): Require.
838 (open-network-stream): Document the :client-certificate keyword.
839 (network-stream-certificate): Change cert-cert to cert and
840 cert-key to key.
841
842 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
843
844 * net/tramp-cache.el (top): Don't load the persistency file when
845 "emacs -Q" has been called.
846
847 2011-06-21 Tim Harper <timcharper@gmail.com>
848
849 * term/ns-win.el (ns-initialize-window-system):
850 Set application-specific `ApplePressAndHoldEnabled' system
851 resource to NO as it is not yet supported by the NS port.
852
853 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
854
855 * misc.el (list-dynamic-libraries--refresh): Compute header here...
856 (list-dynamic-libraries): ...not here.
857
858 2011-06-21 Leo Liu <sdl.web@gmail.com>
859
860 * subr.el (sha1): Implement sha1 using secure-hash.
861
862 2011-06-21 Martin Rudalics <rudalics@gmx.at>
863
864 * window.el (display-buffer-alist): In default value do not
865 enforce searching a window on any but the selected frame.
866 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
867 (display-buffer-select-window): Remove function.
868 (display-buffer-in-window): When a window on another frame gets
869 reused, do not select it any more but just raise its frame if
870 necessary (Bug#8851) and (Bug#8856).
871 (display-buffer-normalize-options): Handle pop-up-frames related
872 options more faithfully.
873 (pop-to-buffer): Don't rely on `display-buffer' selecting the
874 window if it is on another frame.
875 (display-buffer-alist, display-buffer-default-specifiers):
876 Don't make new frame unsplittable by default.
877 (display-buffer-normalize-argument): Fix doc-string typo and use
878 'same-frame-other-window instead of 'other-window when associating
879 with display-buffer-macro-specifiers.
880
881 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
882
883 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
884 New functions.
885 (5x5-mode-map, 5x5-mode-menu): Bind them.
886 (5x5-draw-grid): Tweak the solver's rendering.
887
888 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
889
890 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
891 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
892
893 2011-06-21 Drew Adams <drew.adams@oracle.com>
894
895 * menu-bar.el: Use function variable instead of switch-to-buffer.
896 (menu-bar-select-buffer-function): New variable.
897 (menu-bar-update-buffers): Use it (bug#8876).
898
899 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
902 variable's status.
903
904 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
905
906 * x-dnd.el (x-dnd-version-from-flags)
907 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
908 and long as number (Bug#8899).
909 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
910
911 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
912
913 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
914 (completion-try-completion, completion-all-completions): Compute the
915 metadata argument if it's missing; make it optional (bug#8795).
916
917 * wid-edit.el: Use lex-bind and move towards completion-at-point.
918 (widget-complete): Use new :completion-function property.
919 (widget-completions-at-point): New function.
920 (default): Use :completion-function instead of :complete.
921 (widget-default-completions): Rename from widget-default-complete;
922 Rewrite.
923 (widget-string-complete, widget-file-complete, widget-color-complete):
924 Remove functions.
925 (file, symbol, function, variable, coding-system, color):
926 * international/mule-cmds.el (default-input-method, charset)
927 (language-info-custom-alist):
928 * cus-edit.el (face): Use new property :completions.
929
930 * progmodes/pascal.el (pascal-completions-at-point): New function.
931 (pascal-mode): Use it.
932 (pascal-mode-map): Use completion-at-point.
933 (pascal-toggle-completions): Make obsolete.
934 (pascal-complete-word, pascal-show-completions):
935 * progmodes/octave-mod.el (octave-complete-symbol):
936 Redefine as obsolete alias.
937 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
938 Signal absence of completion info for old Octave,
939 (inferior-octave-complete): Redefine as obsolete alias.
940 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
941 (meta-completions-at-point): Rename from meta-complete-symbol and
942 adapt it for use on completion-at-point-functions.
943 (meta-common-mode): Use it.
944 (meta-looking-at-backward, meta-match-buffer): Remove.
945 (meta-complete-symbol): Redefine as obsolete alias.
946 (meta-common-mode-map): Use completion-at-point.
947 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
948 (makefile-mode-map): Use completion-at-point.
949 (makefile-completions-at-point): Rename from makefile-complete and
950 adapt it for use on completion-at-point-functions.
951 (makefile-mode): Use it.
952 (makefile-complete): Redefine as obsolete alias.
953
954 2011-06-20 Deniz Dogan <deniz@dogan.se>
955
956 * net/rcirc.el: Delete trailing whitespaces once and for all.
957
958 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
959
960 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
961
962 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
963
964 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
965
966 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
967
968 2011-06-19 Martin Rudalics <rudalics@gmx.at>
969
970 * window.el (display-buffer-other-window-means-other-frame):
971 Call display-buffer-normalize-alist.
972 (display-buffer-normalize-specifiers-1): Rename to
973 display-buffer-normalize-argument. New argument other-frame.
974 Rewrite.
975 (display-buffer-normalize-specifiers-2): Rename to
976 display-buffer-normalize-options.
977 (display-buffer-normalize-alist-1): New function.
978 (display-buffer-normalize-specifiers-3): Rename to
979 display-buffer-normalize-alist.
980 Call display-buffer-normalize-alist-1.
981 (display-buffer-normalize-options-inhibit): New variable.
982 (display-buffer-normalize-specifiers): Rewrite calling
983 display-buffer-normalize-alist,
984 display-buffer-normalize-argument, and
985 display-buffer-normalize-options. Don't call the latter if
986 display-buffer-normalize-options-inhibit is non-nil.
987 (frame-auto-delete): New option.
988 (window-deletable-p): Use frame-auto-delete.
989 (window-list-no-nils, window-state-ignored-parameters)
990 (window-state-get-1, window-state-get, window-state-put-list)
991 (window-state-put-1, window-state-put-2, window-state-put):
992 New functions.
993 (display-buffer-normalize-options): Move special-display-p group
994 after pop-up-frame group (Bug#8851) and (Bug#8856).
995
996 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
997
998 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
999 groups (Bug#8776).
1000 (rx-submatch-n): New function.
1001 (rx): Document it.
1002
1003 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
1004 (Bug#8768).
1005
1006 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
1007
1008 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
1009
1010 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
1011 anytime existing face settings are present (Bug#8889).
1012
1013 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
1014 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
1015 Remove unused argument.
1016
1017 2011-06-18 Martin Rudalics <rudalics@gmx.at>
1018
1019 * window.el (display-buffer-default-specifiers):
1020 Remove pop-up-frame. Add pop-up-window-min-height,
1021 pop-up-window-min-width, and another reuse-window specifier
1022 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
1023 (display-buffer-normalize-specifiers-2):
1024 Handle split-height-threshold and split-width-threshold also when
1025 pop-up-windows is unset. Add a reuse-window specifier for the
1026 case popping up a new window fails.
1027 (special-display-popup-frame): Remove double quoting.
1028 (display-buffer-normalize-specifiers-1): Fix thinko.
1029
1030 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 * shell.el (shell-completion-vars): Set pcomplete-termination-string
1033 according to comint-completion-addsuffix.
1034
1035 * pcomplete.el: Convert to lexical binding and fix bug#8819.
1036 (pcomplete-suffix-list): Mark as obsolete.
1037 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
1038 pcomplete-seen in the closure.
1039 (pcomplete-comint-setup): Setup completion-at-point as well.
1040 (pcomplete--entries): New function.
1041 (pcomplete--env-regexp): New var.
1042 (pcomplete-entries): Rewrite to work with partial-completion and
1043 without relying on pcomplete-suffix-list.
1044 (pcomplete-pare-list): Remove, unused.
1045
1046 2011-06-17 Martin Rudalics <rudalics@gmx.at>
1047
1048 * window.el (display-buffer-alist): Set pop-up-window-min-height
1049 and pop-up-window-min-width in default value. Reported by
1050 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
1051 other-window-means-other-frame.
1052 (display-buffer-macro-specifiers): Comment out entry for
1053 other-window specifier.
1054 (display-buffer-other-window-means-other-frame): New function.
1055 (display-buffer-normalize-specifiers-1): New arguments
1056 buffer-name and label. Treat other-window case specially.
1057 (display-buffer-normalize-specifiers-2): Treat other-window case
1058 specially.
1059 (display-buffer-normalize-specifiers-3): New function.
1060 (display-buffer-normalize-specifiers):
1061 Call display-buffer-normalize-specifiers-3.
1062
1063 2011-06-17 Martin Rudalics <rudalics@gmx.at>
1064
1065 * window.el (same-window-p): Fix two typos introduced when
1066 adding with-no-warnings.
1067 (display-buffer-normalize-specifiers-1): Don't check
1068 pop-up-frames for 'unset initialization.
1069 (display-buffer-normalize-specifiers-2): Major rewrite using
1070 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
1071 (pop-up-frames, display-buffer-reuse-frames)
1072 (display-buffer-mark-dedicated): Don't initialize to 'unset.
1073 Suggested by David Engster <deng@randomsample.de>.
1074 (even-window-heights): Initialize to 'unset.
1075 (display-buffer-alist-set): Handle new 'unset initializations.
1076 (display-buffer-macro-specifiers): Don't pop up a new frame in the
1077 other window case.
1078
1079 2011-06-16 Martin Rudalics <rudalics@gmx.at>
1080
1081 * window.el (display-buffer-normalize-specifiers-1):
1082 Respect current value of pop-up-frames for most reasonable values of
1083 second argument of display-buffer (Bug#8865).
1084 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
1085 (switch-to-buffer-other-window-same-frame)
1086 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
1087 Adams (Bug#8875).
1088 (display-buffer): Don't check noninteractive when calling
1089 display-buffer-pop-up-frame.
1090 (display-buffer-pop-up-frame): Never pop up a frame in
1091 noninteractive mode (Bug#8857).
1092 (enlarge-window, shrink-window): Don't report an error when the
1093 window can't be resized as requested (Bug#8862).
1094
1095 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
1098
1099 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
1100
1101 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
1102
1103 2011-06-15 Alan Mackenzie <acm@muc.de>
1104
1105 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
1106 for declarators, disable knr checking to speed up for normal files.
1107 2: Refactor, replacing a sequence of nested if forms by a cond form.
1108
1109 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1110
1111 * net/network-stream.el (open-network-stream): Add the keyword
1112 :always-query-capabilities for the case where you want to force a
1113 `plain' network connection, but the protocol still requires the
1114 capabilitiy command (i.e., SMTP and EHLO).
1115
1116 * subr.el (process-live-p): Rename from `process-alive-p' for
1117 consistency with other `-live-p' functions.
1118
1119 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * window.el (same-window-buffer-names, same-window-regexps)
1122 (special-display-frame-alist, special-display-popup-frame)
1123 (special-display-function, special-display-buffer-names)
1124 (special-display-regexps, pop-up-frame-alist)
1125 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
1126 (pop-up-windows, split-window-preferred-function)
1127 (split-height-threshold, split-width-threshold, even-window-heights)
1128 (display-buffer-mark-dedicated): Don't encourage the use of
1129 display-buffer-alist from Elisp code.
1130
1131 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
1132
1133 * progmodes/python.el (python-mode): Derive from prog-mode.
1134 * progmodes/ps-mode.el (ps-mode):
1135 * progmodes/mixal-mode.el (mixal-mode):
1136 * progmodes/cfengine.el (cfengine-mode):
1137 * progmodes/ld-script.el (ld-script-mode): Likewise.
1138
1139 2011-06-15 Martin Rudalics <rudalics@gmx.at>
1140
1141 * window.el (display-buffer-alist): Trim default value to avoid
1142 popping up a new frame (Bug#8857) or reusing an arbitrary window
1143 on another frame.
1144 (display-buffer): Do not fall back on popping up a new frame in
1145 batch mode (Bug#8857).
1146
1147 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
1148
1149 * cus-theme.el (describe-theme-1): Use custom-theme-p.
1150 (custom-theme-summary): New function.
1151 (customize-themes): Use it.
1152
1153 2011-06-13 Glenn Morris <rgm@gnu.org>
1154
1155 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
1156
1157 2011-06-13 Martin Rudalics <rudalics@gmx.at>
1158
1159 * help.el (help-window): Remove variable.
1160 (help-window-point-marker, temp-buffer-max-height)
1161 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
1162 (help-print-return-message): Don't set help-window.
1163 (resize-temp-buffer-window): Rewrite cod eand doc-string.
1164 (help-window-setup-finish): Remove.
1165 (help-window-display-message, help-window-setup)
1166 (with-help-window): Major rewrite based on new
1167 display-buffer-window variable.
1168
1169 * help-mode.el (help-mode-finish): Remove help-window related
1170 code.
1171
1172 * view.el (view-exits-all-viewing-windows): Remove reference to
1173 view-return-to-alist in doc-string.
1174 (view-return-to-alist): Make obsolete.
1175 (view-buffer): Call pop-to-buffer-same-window and remove
1176 undo-window code.
1177 (view-buffer-other-window): Call pop-to-buffer-other-window and
1178 simplify code. Ignore second argument.
1179 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
1180 simplify code. Ignore second argument.
1181 (view-return-to-alist-update): Make obsolete.
1182 (view-mode-enter): Rename second argument to QUIT-RESTORE.
1183 Rewrite using quit-restore window parameters.
1184 (view-mode-exit): Rename second argument to EXIT-ONLY.
1185 Rewrite using quit-restore-window.
1186 (View-exit, View-exit-and-edit, View-leave, View-quit)
1187 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
1188 appropriate arguments.
1189 (view-end-message): Use quit-restore window parameter.
1190
1191 * window.el (display-buffer-function): Rewrite doc-string.
1192 (display-buffer-window, display-buffer-alist): New variables.
1193 (display-buffer-split-specifiers)
1194 (display-buffer-side-specifiers)
1195 (display-buffer-macro-specifiers): New constants.
1196 (display-buffer-even-window-sizes, display-buffer-set-height)
1197 (display-buffer-set-width, display-buffer-select-window)
1198 (display-buffer-in-window, display-buffer-reuse-window)
1199 (display-buffer-split-window-1, display-buffer-split-window)
1200 (display-buffer-split-atom-window, display-buffer-pop-up-window)
1201 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
1202 (display-buffer-in-side-window, normalize-buffer-to-display)
1203 (display-buffer-normalize-specifiers-1)
1204 (display-buffer-normalize-specifiers-2)
1205 (display-buffer-normalize-specifiers, display-buffer-frame):
1206 New functions.
1207 (display-buffer): Major rewrite.
1208 (display-buffer-other-window, display-buffer-other-frame)
1209 (pop-to-buffer, switch-to-buffer-other-window)
1210 (switch-to-buffer-other-frame): Rewrite.
1211 (display-buffer-same-window, display-buffer-same-frame)
1212 (display-buffer-same-frame-other-window)
1213 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
1214 (pop-to-buffer-other-window)
1215 (pop-to-buffer-same-frame-other-window)
1216 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
1217 (switch-to-buffer-other-window-same-frame): New functions.
1218 (same-window-p, special-display-p): Rewrite disabling warnings.
1219 Make obsolete.
1220 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1221 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
1222 Make obsolete
1223 (same-window-buffer-names, same-window-regexps)
1224 (special-display-frame-alist, special-display-popup-frame)
1225 (special-display-function, special-display-buffer-names)
1226 (special-display-regexps, pop-up-frame-alist)
1227 (pop-up-frame-function, split-window-preferred-function)
1228 (split-height-threshold, split-width-threshold)
1229 (even-window-heights): Make obsolete.
1230
1231 2011-06-12 Glenn Morris <rgm@gnu.org>
1232
1233 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
1234 Misc simplifications.
1235
1236 2011-06-12 Martin Rudalics <rudalics@gmx.at>
1237
1238 * window.el (window-safely-shrinkable-p): Restore function which
1239 was inadvertently removed in change from 2011-06-11. Declare as
1240 obsolete.
1241
1242 * calendar/calendar.el (calendar-generate-window):
1243 Use window-iso-combined-p instead of combination of one-window-p and
1244 window-safely-shrinkable-p.
1245
1246 2011-06-12 Glenn Morris <rgm@gnu.org>
1247
1248 * progmodes/fortran.el (fortran-mode-syntax-table):
1249 * progmodes/f90.el (f90-mode-syntax-table):
1250 Set % to punctuation. (Bug#8820)
1251 (f90-find-tag-default): Remove, no longer needed.
1252
1253 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
1254
1255 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
1256
1257 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
1258
1259 * image.el (image-animated-p): Return animation delay in seconds.
1260 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
1261 (image-animate-timeout): Remove DELAY argument. Don't assume
1262 every subimage has the same delay; get it from image-animated-p.
1263 (image-animate): Caller changed.
1264
1265 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
1266
1267 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
1268 to ignored backtrace functions.
1269
1270 2011-06-11 Glenn Morris <rgm@gnu.org>
1271
1272 * calendar/appt.el (appt-disp-window-function): Doc fix.
1273 (appt-check): Handle overlapping appointments. (Bug#8337)
1274
1275 2011-06-11 Martin Rudalics <rudalics@gmx.at>
1276
1277 * window.el (window-tree-1, window-tree): New functions, moving
1278 the latter to window.el.
1279 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
1280 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
1281 (bw-refresh-edges): Remove.
1282 (balance-windows-1, balance-windows-2): New functions.
1283 (balance-windows): Rewrite in terms of window tree functions,
1284 balance-windows-1 and balance-windows-2.
1285 (bw-adjust-window): Remove.
1286 (balance-windows-area-adjust): New function with functionality of
1287 bw-adjust-window but using resize-window.
1288 (set-window-text-height): Rewrite doc-string.
1289 Use normalize-live-window and resize-window.
1290 (enlarge-window-horizontally, shrink-window-horizontally):
1291 Rename argument to DELTA.
1292 (window-buffer-height): New function.
1293 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
1294 Rewrite using new window resize routines.
1295 (kill-buffer-and-window, mouse-autoselect-window-select):
1296 Use ignore-errors instead of condition-case.
1297 (quit-window): Call delete-frame instead of delete-windows-on
1298 for the only buffer on frame.
1299
1300 2011-06-10 Martin Rudalics <rudalics@gmx.at>
1301
1302 * loadup.el (top-level): Load window before files for the sake
1303 of replace-buffer-in-windows.
1304
1305 * files.el (read-buffer-to-switch)
1306 (switch-to-buffer-other-window)
1307 (switch-to-buffer-other-frame, display-buffer-other-frame):
1308 Move to window.el.
1309
1310 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
1311 (previous-buffer): Move to window.el.
1312
1313 * bindings.el (unbury-buffer): Move to window.el.
1314
1315 * window.el (delete-other-windows-vertically): Move after
1316 definition of delete-other-windows.
1317 (other-window, delete-windows-on, replace-buffer-in-windows):
1318 Move here from window.c.
1319 (record-window-buffer, unrecord-window-buffer)
1320 (set-window-buffer-start-and-point, switch-to-prev-buffer)
1321 (switch-to-next-buffer): New functions.
1322 (get-next-valid-buffer, last-buffer, next-buffer): Move here
1323 from simple.el. Call switch-to-next-buffer.
1324 (previous-buffer): Move here from simple.el.
1325 Call switch-to-prev-buffer.
1326 (bury-buffer): Move here from buffer.c. Switch to previous
1327 buffer when window cannot be deleted.
1328 (unbury-buffer): Move here from bindings.el.
1329 (ctl-x-map): Move binding for other-window from window.c to
1330 here.
1331 (read-buffer-to-switch, switch-to-buffer-other-window)
1332 (switch-to-buffer-other-frame): Move here from files.el.
1333 (normalize-buffer-to-switch-to): New functions.
1334 (switch-to-buffer): Move here from buffer.c.
1335 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
1336
1337 2011-06-10 Martin Rudalics <rudalics@gmx.at>
1338
1339 * window.el (window-min-height, window-min-width): Move here
1340 from window.c. Add defcustoms and rewrite doc-strings.
1341 (resize-mini-window, resize-window): New functions.
1342 (adjust-window-trailing-edge, enlarge-window, shrink-window):
1343 Move here from window.c.
1344 (maximize-window, minimize-window): New functions.
1345 (delete-window, delete-other-windows, split-window): Move here
1346 from window.c.
1347 (window-split-min-size): New function.
1348 (split-window-keep-point): Mention split-window-above-each-other
1349 instead of split-window-vertically.
1350 (split-window-above-each-other, split-window-vertically):
1351 Rename split-window-vertically to split-window-above-each-other and
1352 provide defalias for old definition.
1353 (split-window-side-by-side, split-window-horizontally): Rename
1354 split-window-horizontally to split-window-side-by-side and provide
1355 defalias for the old definition.
1356 (ctl-x-map): Move bindings for delete-window,
1357 delete-other-windows and enlarge-window here from window.c.
1358 Replace bindings for split-window-vertically and
1359 split-window-horizontally by bindings for
1360 split-window-above-each-other and split-window-side-by-side.
1361
1362 * cus-start.el (all): Remove entries for window-min-height and
1363 window-min-width. Add entries for window-splits and
1364 window-nest.
1365
1366 2011-06-09 Glenn Morris <rgm@gnu.org>
1367
1368 * calendar/appt.el (appt-mode-line): New function.
1369 (appt-check, appt-disp-window): Use it.
1370
1371 * files.el (hack-one-local-variable-eval-safep):
1372 Allow minor-modes with explicit +/-1 arguments.
1373
1374 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
1375
1376 * term/xterm.el (xterm): Add defgroup.
1377 (xterm-extra-capabilities): Add defcustom to supply known xterm
1378 capabilities, skip querying them, or query them (default).
1379 (terminal-init-xterm): Use it.
1380 (terminal-init-xterm-modify-other-keys): New function to set up
1381 modifyOtherKeys support to simplify `terminal-init-xterm'.
1382
1383 2011-06-09 Martin Rudalics <rudalics@gmx.at>
1384
1385 * window.el (resize-window-reset, resize-window-reset-1)
1386 (resize-subwindows-skip-p, resize-subwindows-normal)
1387 (resize-subwindows, resize-other-windows, resize-this-window)
1388 (resize-root-window, resize-root-window-vertically)
1389 (window-deletable-p, window-or-subwindow-p)
1390 (frame-root-window-p): New functions.
1391
1392 2011-06-09 Glenn Morris <rgm@gnu.org>
1393
1394 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
1395 (ange-ftp-get-files): Use it.
1396
1397 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
1398
1399 * mail/sendmail.el (mail-recover-1, mail-recover):
1400 * files.el (recover-file, recover-session):
1401 Handle dired-listing-switches not being just a single short option.
1402
1403 2011-06-09 Glenn Morris <rgm@gnu.org>
1404
1405 * calendar/appt.el (appt-display-message, appt-disp-window):
1406 Handle lists of appointments.
1407
1408 2011-06-08 Martin Rudalics <rudalics@gmx.at>
1409
1410 * window.el (one-window-p): Move down in code.
1411 Rewrite doc-string.
1412 (window-current-scroll-bars): Rewrite doc-string.
1413 Normalize live window argument.
1414 (walk-windows, get-window-with-predicate, count-windows):
1415 Rewrite doc-string. Use window-list-1.
1416 (window-in-direction-2, window-in-direction, get-mru-window):
1417 New functions.
1418
1419 2011-06-08 Reuben Thomas <rrt@sc3d.org>
1420
1421 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
1422 Doc fix (Bug#8713).
1423
1424 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
1425
1426 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
1427
1428 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
1429
1430 * loadhist.el (unload-feature-special-hooks):
1431 Add `comint-output-filter-functions'.
1432
1433 2011-06-08 Ivan Kanis <gnu@kanis.fr>
1434
1435 * calendar/appt.el (appt-check): Move some initializations into the let.
1436
1437 2011-06-08 Martin Rudalics <rudalics@gmx.at>
1438
1439 * window.el (window-height): Defalias to window-total-height.
1440 (window-width): Defalias to window-body-width.
1441
1442 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
1443
1444 * image-mode.el (image-toggle-animation): New command.
1445 (image-mode-map): Bind it to RET.
1446 (image-mode): Update message.
1447 (image-toggle-display-image): Avoid a spurious cache flush.
1448 (image-transform-rotation): Doc fix.
1449 (image-transform-properties): Return quickly in the normal case.
1450 (image-animate-loop): Rename from image-animate-max-time.
1451
1452 * image.el (image-animate-max-time): Move to image-mode.el.
1453 (create-animated-image): Remove unnecessary function.
1454 (image-animate): Rename from image-animate-start. New arg.
1455 (image-animate-stop): Remove; just use image-animate-timer.
1456 (image-animate-timer): Use car-safe.
1457 (image-animate-timeout): Rename argument.
1458
1459 2011-06-07 Martin Rudalics <rudalics@gmx.at>
1460
1461 * window.el (get-lru-window, get-largest-window): Move here from
1462 window.c. Rename first argument to ALL-FRAMES.
1463 Rephrase doc-strings.
1464 (get-buffer-window-list): Rewrite using window-list-1.
1465 Rephrase doc-string.
1466 (window-safe-min-height, window-safe-min-width): New constants.
1467 (window-size-ignore, window-min-size, window-min-size-1)
1468 (window-sizable, window-sizable-p, window-size-fixed-1)
1469 (window-size-fixed-p, window-min-delta-1, window-min-delta)
1470 (window-max-delta-1, window-max-delta, window-resizable)
1471 (window-resizable-p, window-total-height, window-total-width)
1472 (window-body-width): New functions.
1473 (window-full-height-p, window-full-width-p): Rewrite using
1474 window-total-size.
1475 (window-body-height): Rewrite using window-body-size.
1476
1477 2011-06-06 Martin Rudalics <rudalics@gmx.at>
1478
1479 * window.el (window-right, window-left, window-child)
1480 (window-child-count, window-last-child, window-any-p)
1481 (normalize-live-buffer, normalize-live-frame)
1482 (normalize-any-window, normalize-live-window)
1483 (window-iso-combination-p, window-iso-combined-p)
1484 (window-iso-combinations)
1485 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
1486 (windows-with-parameter, window-with-parameter)
1487 (window-atom-root, make-window-atom, window-atom-check-1)
1488 (window-atom-check, window-side-check, window-check):
1489 New functions.
1490 (ignore-window-parameters, window-sides, window-sides-vertical)
1491 (window-sides-slots): New variables.
1492 (window-size-fixed): Move down in code. Minor doc-string fix.
1493
1494 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
1495
1496 * comint.el (comint-dynamic-complete-as-filename)
1497 (comint-dynamic-complete-filename): Correctly call
1498 completion-in-region.
1499
1500 2011-06-05 Deniz Dogan <deniz@dogan.se>
1501
1502 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
1503 in last change.
1504
1505 2011-06-05 Deniz Dogan <deniz@dogan.se>
1506
1507 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
1508 (rcirc): Use it to prompt for encryption.
1509
1510 2011-06-05 Roland Winkler <winkler@gnu.org>
1511
1512 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
1513 (bibtex-search-entries): New command bound to C-c C-a.
1514 (bibtex-display-entries): New function.
1515
1516 2011-06-05 Roland Winkler <winkler@gnu.org>
1517
1518 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
1519 (bibtex-insert-kill): After yanking insert newline if necessary.
1520 (bibtex-initialize): Call bibtex-string-files-init only once.
1521 (bibtex-mode): Do not call easy-menu-add.
1522 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
1523 (bibtex-yank): Set arg properly if nil.
1524
1525 2011-06-05 Roland Winkler <winkler@gnu.org>
1526
1527 * textmodes/bibtex.el (bibtex-search-entry-globally):
1528 New variable.
1529 (bibtex-search-entry): Use it.
1530
1531 2011-06-05 Roland Winkler <winkler@gnu.org>
1532
1533 * textmodes/bibtex.el (bibtex-entry-format): New option
1534 sort-fields.
1535 (bibtex-format-entry, bibtex-reformat): Honor this option.
1536 (bibtex-parse-entry): Return fields in proper order.
1537
1538 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
1539
1540 * doc-view.el (doc-view-remove-if): Move computation of result out
1541 of `dolist' to silence misleading lexical-binding warning.
1542
1543 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
1544
1545 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
1546 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
1547
1548 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
1549
1550 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
1551 "SunOS 5.10".
1552
1553 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
1554
1555 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
1556 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
1557 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
1558 (tramp-parse-putty):
1559 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
1560 (tramp-completion-function-alist-ssh)
1561 (tramp-completion-function-alist-telnet)
1562 (tramp-completion-function-alist-su)
1563 (tramp-completion-function-alist-putty): Set `tramp-autoload'
1564 cookie.
1565
1566 * net/tramp-ftp.el:
1567 * net/tramp-sh.el:
1568 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
1569 load "tramp.el" `tramp-set-completion-function'.
1570
1571 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1572
1573 * shell.el: Require and use pcomplete.
1574 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
1575 (shell-completion-vars): Set pcomplete-default-completion-function.
1576
1577 2011-06-04 Deniz Dogan <deniz@dogan.se>
1578
1579 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
1580 `memq' (Bug#8799).
1581
1582 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1583
1584 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
1585
1586 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
1587
1588 * bs.el (bs--mark-unmark, bs--nth-wrapper):
1589 * mpc.el (mpc-select-extend, mpc-songpointer-context):
1590 * vc/log-view.el (log-view-beginning-of-defun):
1591 * vc/smerge-mode.el (smerge-apply-resolution-patch)
1592 (smerge-refine-forward, smerge-refine-chopup-region):
1593 Silence warning for unused `dotimes' counter variables.
1594
1595 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1596
1597 * net/tramp.el (tramp-with-progress-reporter): Rename from
1598 with-progress-reporter. Use `declare'.
1599 * net/tramp-smb.el:
1600 * net/tramp-sh.el:
1601 * net/tramp-gvfs.el: Update all uses.
1602
1603 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
1604
1605 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
1606 buffer isn't killed before making it current.
1607
1608 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1609
1610 Silence various byte-compiler warnings.
1611 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
1612 `access-type' and new obsolescence format.
1613 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
1614 new format.
1615 (byte-compile-check-variable): New `access-type' argument.
1616 Only warn if the access-type is obsolete.
1617 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1618 (byte-compile-variable-set): Adjust callers.
1619 * help-fns.el (describe-variable): Adjust to new obsolescence format.
1620 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
1621 setting it as obsolete.
1622 * simple.el (minibuffer-completing-symbol):
1623 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
1624 access as obsolete.
1625 * minibuffer.el (minibuffer-completing-file-name): Don't make it
1626 obsolete yet.
1627 * international/quail.el (quail-mouse-choose-completion): Remove unused
1628 code referring to obsolete var.
1629 (quail-choose-completion-string): Remove.
1630 * server.el (server-clients-with, server-kill-buffer-query-function)
1631 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
1632 * proced.el (proced-send-signal):
1633 * emacs-lisp/lisp.el (lisp-complete-symbol):
1634 Replace completion-annotate-function with completion-extra-properties.
1635
1636 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1637
1638 * simple.el (goto-line): Use read-number.
1639 (overriding-map-is-bound): Remove.
1640 (saved-overriding-map): Change default.
1641 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
1642 Take the map as argument.
1643 (universal-argument, negative-argument, digit-argument): Use it.
1644 (restore-overriding-map): Adjust.
1645 (do-auto-fill): Use fill-forward-paragraph.
1646 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
1647
1648 * minibuffer.el (minibuffer-inactive-mode-map): New var.
1649 (minibuffer-inactive-mode): New major mode.
1650 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
1651 the *Messages* buffer" hack.
1652 (mouse-popup-menubar): Don't burp if the event is a normal key.
1653
1654 Miscellaneous tweaks.
1655 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
1656 lexical scoping as in subr.el's dolist and dotimes.
1657 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
1658 Silence compiler warning.
1659 * thingatpt.el (forward-whitespace): Trivial coding style fix.
1660 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
1661 * international/ccl.el (ccl-compile): Trivial simplification.
1662 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
1663 * emacs-lisp/testcover.el (testcover-end): Remove spurious
1664 `printflag' argument.
1665 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
1666 Purecopy the whole obsolescence data.
1667
1668 2011-06-01 Leo Liu <sdl.web@gmail.com>
1669
1670 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
1671 improve doc-string as suggested by Marco Pessotto
1672 <melmothx@gmail.com>.
1673 (rcirc-print): Fix last change.
1674
1675 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 * minibuffer.el (complete-with-action): Return nil for the metadata and
1678 boundaries of non-functional tables.
1679 (completion-table-dynamic): Return nil for the metadata.
1680 (completion-table-with-terminator): Add default case, using
1681 complete-with-action.
1682 (completion--metadata): New function.
1683 (completion-all-sorted-completions, minibuffer-completion-help): Use it
1684 to try and avoid pathological performance problems.
1685 (completion--embedded-envvar-table): Return `category' metadata.
1686
1687 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
1688
1689 * subr.el (process-alive-p): New tiny convenience function.
1690
1691 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
1694 content but also its previous major mode.
1695
1696 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
1697
1698 * debug.el (debug): Restore the previous content of the
1699 *Backtrace* buffer when we exit with C-M-c.
1700
1701 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1702
1703 * minibuffer.el: Add metadata method to completion tables.
1704 (completion-category-overrides): New defcustom.
1705 (completion-metadata, completion--field-metadata)
1706 (completion-metadata-get, completion--styles)
1707 (completion--cycle-threshold): New functions.
1708 (completion-try-completion, completion-all-completions):
1709 Add `metadata' argument to choose completion-styles.
1710 (completion--do-completion): Use metadata to choose cycling.
1711 (completion-all-sorted-completions): Use metadata for sorting.
1712 Remove :completion-cycle-penalty which is not needed any more.
1713 (completion--try-word-completion): Add `metadata' argument.
1714 (minibuffer-completion-help): Check metadata for annotation function
1715 and sorting.
1716 (completion-file-name-table): Return `category' metadata.
1717 (minibuffer-completing-file-name): Make obsolete.
1718 * simple.el (minibuffer-completing-symbol): Make obsolete.
1719 * icomplete.el (icomplete-completions): Pass new `metadata' param to
1720 completion-try-completion.
1721
1722 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
1725
1726 2011-05-30 Leo Liu <sdl.web@gmail.com>
1727
1728 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
1729 (rcirc-print): Decode all incoming messages (bug#8744).
1730 (rcirc-decode-coding-system): Allow value nil for automatic coding
1731 system detection.
1732
1733 2011-06-01 Glenn Morris <rgm@gnu.org>
1734
1735 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
1736
1737 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
1738
1739 * image.el (image-animate-max-time): Allow nil and t values.
1740 Default to nil.
1741 (create-animated-image): Doc fix.
1742 (image-animate-start): Remove second arg; just use
1743 image-animate-max-time.
1744 (image-animate-timeout): Doc fix. Args changed.
1745
1746 * image-mode.el (image-toggle-display-image): Ensure that the
1747 image spec passed to the animate timer is the same object as in
1748 the the buffer's display property (Bug#6981).
1749 (image-transform-properties): Doc fix.
1750
1751 * image.el (image-animate-max-time): Default to nil.
1752
1753 2011-05-29 Martin Rudalics <rudalics@gmx.at>
1754
1755 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
1756 entire buffer list (Bug#8184).
1757
1758 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
1759
1760 * image.el (imagemagick-types-inhibit)
1761 (imagemagick-register-types): Doc fix.
1762
1763 2011-05-29 Deniz Dogan <deniz@dogan.se>
1764
1765 * net/rcirc.el (rcirc): Use the user's stored encryption method by
1766 default.
1767
1768 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
1769
1770 * select.el: Don't perform clipboard-manager saving in hooks;
1771 leave the hooks empty.
1772
1773 2011-05-28 Leo Liu <sdl.web@gmail.com>
1774
1775 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
1776 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
1777 (occur-edit-mode): New major mode (Bug#8463).
1778 (occur-after-change-function): New function.
1779 (occur-engine): Give Occur tags a read-only property.
1780
1781 2011-05-28 Kevin Ryde <user42@zip.com.au>
1782
1783 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
1784
1785 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
1786
1787 * bindings.el (help-echo): Make the initial non-indicator dash
1788 empty on graphical terminals (Bug#7295).
1789
1790 * files.el (auto-mode-alist): Move config rule after the
1791 in-stripping one (Bug#8547).
1792
1793 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
1794
1795 * startup.el (normal-splash-screen): Remove gratuitous mode-line
1796 setting (Bug#8740).
1797
1798 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
1799
1800 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
1801 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
1802 (Bug#8539).
1803
1804 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
1805
1806 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
1807
1808 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1809
1810 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
1811 (hs-hide-block-at-point, hs-find-block-beginning)
1812 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
1813 (Bug#8279).
1814
1815 2011-05-28 Glenn Morris <rgm@gnu.org>
1816
1817 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
1818
1819 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
1820
1821 * help-fns.el (describe-function-1): If the function is a derived
1822 major mode, print the parent mode.
1823
1824 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
1825 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
1826
1827 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1828
1829 * minibuffer.el (completion--capf-wrapper): Check applicability before
1830 retuning non-nil for non-exclusive completion data.
1831 * progmodes/etags.el (tags-completion-at-point-function):
1832 * info-look.el (info-lookup-completions-at-point): Mark as
1833 non-exclusive.
1834 (info-complete): Adjust accordingly.
1835
1836 * info-look.el: Convert to lexical-binding and completion-at-point.
1837 (info-lookup-completions-at-point): New function.
1838 (info-complete): Use it and completion-in-region.
1839
1840 2011-05-28 Drew Adams <drew.adams@oracle.com>
1841
1842 * isearch.el: Let M-e start with point at the first mismatched char.
1843 (isearch-fail-pos): New function.
1844 (isearch-edit-string): Use it.
1845
1846 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1847
1848 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1849
1850 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
1851
1852 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
1853 traversal functions for avl-trees.
1854 (avl-tree--stack): New struct.
1855 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
1856 (avl-tree-enter): Add optional `updatefun' arg.
1857 (avl-tree--do-enter): Add optional `updatefun' arg.
1858 Change return value.
1859 (avl-tree-delete): Add optional `test' and `nilflag' args.
1860 (avl-tree--do-delete): Add `test' and `nilflag' args.
1861 Change return value.
1862 (avl-tree-member): Add optional `nilflag'
1863 (avl-tree-member-p): New function.
1864 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
1865 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
1866 (avl-tree-stack-empty-p): New functions.
1867
1868 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
1869
1870 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
1871 avl-tree--del-balance1 and make it work both ways.
1872 (avl-tree--del-balance2): Remove.
1873 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
1874 make it work both ways.
1875 (avl-tree--enter-balance2): Remove.
1876 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
1877 New macros.
1878 (avl-tree--mapc, avl-tree-map): Add direction argument.
1879
1880 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
1881
1882 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
1883
1884 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
1885
1886 * select.el: Support clipboard managers with built-in function
1887 x-clipboard-manager-save, via delete-frame-functions and
1888 kill-emacs-hook.
1889 (xselect-convert-to-targets): Add MULTIPLE target to list.
1890 (xselect-convert-to-save-targets): New function.
1891
1892 2011-05-27 Kenichi Handa <handa@m17n.org>
1893
1894 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
1895 let-binding rfc2047-encode-encoded-words to nil.
1896
1897 2011-05-27 Glenn Morris <rgm@gnu.org>
1898
1899 * mail/emacsbug.el: Don't require url-util.
1900
1901 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
1902
1903 * files.el (set-auto-mode):
1904 Also respect mode: entries at the end of the file. (Bug#8586)
1905
1906 2011-05-26 Glenn Morris <rgm@gnu.org>
1907
1908 * files.el (hack-local-variables-prop-line, hack-local-variables):
1909 Downcase mode names, as seems to be traditional.
1910 (hack-local-variables, hack-local-variables-apply): Doc fixes.
1911
1912 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
1913 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
1914
1915 2011-05-25 Julien Danjou <julien@danjou.info>
1916
1917 * textmodes/rst.el (rst-define-level-faces): Do not define face
1918 symbol if it is already defined.
1919
1920 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1921
1922 * play/5x5.el (5x5-new-game, 5x5-randomize):
1923 Reset 5x5-solver-output to nil when a new grid is cast.
1924 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
1925 these debugging traces, as defmacro breaks the compiled code.
1926
1927 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1928
1929 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1930
1931 2011-05-24 Leo Liu <sdl.web@gmail.com>
1932
1933 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
1934 (vc-bzr-sha1): Adapt.
1935
1936 * sha1.el: Remove. Function `sha1' is now builtin.
1937
1938 * bindings.el: Provide sha1 feature.
1939
1940 2011-05-24 Kenichi Handa <handa@m17n.org>
1941
1942 * mail/sendmail.el: Require `rfc2047'.
1943 (mail-insert-from-field): Do not perform RFC2047 encoding.
1944 (mail-encode-header): New function.
1945 (sendmail-send-it): Set buffer-file-coding-system of the work
1946 buffer to the return value of select-message-coding-system.
1947 Call mail-encode-header.
1948
1949 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
1950
1951 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
1952
1953 * mail/supercite.el (sc-default-cite-frame):
1954 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
1955
1956 2011-05-24 Glenn Morris <rgm@gnu.org>
1957
1958 * progmodes/python.el (brm-menu): Declare.
1959
1960 * emulation/viper.el (viper-set-hooks): Declare.
1961
1962 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
1963 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
1964 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
1965 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
1966 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
1967 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
1968
1969 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1970
1971 Add an :exit-function for completion-at-point.
1972
1973 * minibuffer.el (completion--done): New fun.
1974 (completion--do-completion): Use it. New arg `expect-exact'.
1975 (minibuffer-complete, minibuffer-complete-word): Don't output message,
1976 since completion--do-completion does it for us now.
1977 (minibuffer-force-complete): Use completion--done and
1978 completion--replace. Handle sole-completion case with more care.
1979 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
1980 (completion-extra-properties): New var.
1981 (completion-annotate-function): Make obsolete.
1982 (minibuffer-completion-help): Adjust accordingly.
1983 Use completion-list-insert-choice-function.
1984 (completion-at-point, completion-help-at-point):
1985 Bind completion-extra-properties.
1986 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
1987 * simple.el (completion-list-insert-choice-function): New var.
1988 (completion-setup-function): Preserve it.
1989 (choose-completion): Pay attention to it, shuffle the code a bit.
1990 (choose-completion-string): New arg `insert-function'.
1991
1992 * textmodes/bibtex.el: Convert to lexical binding.
1993 (bibtex-mode-map): Use completion-at-point.
1994 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
1995 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
1996 (bibtex-complete): Define as obsolete alias.
1997 (bibtex-complete-internal): Remove.
1998 (bibtex-format-entry): Remove unused sub-group in regexp.
1999 * shell.el (shell--command-completion-data)
2000 (shell-environment-variable-completion):
2001 * pcomplete.el (pcomplete-completions-at-point):
2002 * comint.el (comint--complete-file-name-data): Use :exit-function
2003 instead of completion-table-with-terminator so it also works for
2004 choose-completion.
2005
2006 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2007
2008 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
2009
2010 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
2011 (bug#8710).
2012
2013 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
2014
2015 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
2016
2017 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
2018 customization variable and implement: If non-nil, auto-fill will
2019 be inhibited while on topic's header line.
2020
2021 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
2022
2023 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
2024 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
2025 always have a solution in grid size = 5 cases.
2026 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
2027 (5x5-solver-output, 5x5-log-buffer): New vars.
2028 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
2029 Make these variables buffer local to achieve 5x5 multi-session-ness.
2030 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
2031 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
2032 (5x5-solve-suggest): New funs.
2033 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
2034 randomize a grid so that we ensure that there is always a solution.
2035 (5x5-make-random-grid): Allow other movement than flipping.
2036
2037 2011-05-23 Kevin Ryde <user42@zip.com.au>
2038
2039 * emacs-lisp/advice.el (ad-read-advised-function):
2040 Use `function-called-at-point' as the default default, if it has
2041 advice and passes PREDICATE.
2042
2043 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2044
2045 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
2046 byte-compile-lambda if it's actually a lambda.
2047
2048 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
2049 Fix function quoting. Use backquote better.
2050
2051 2011-05-22 Yuanle Song <sylecn@gmail.com>
2052
2053 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
2054 matching (Bug#8516).
2055
2056 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2057
2058 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
2059 different face (Bug#8178).
2060
2061 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
2062
2063 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
2064 defface (Bug#8144).
2065
2066 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
2067
2068 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
2069 funcall as well (bug#8712). Warn when performing those conversions.
2070 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
2071
2072 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
2073
2074 2011-05-22 Glenn Morris <rgm@gnu.org>
2075
2076 * files.el (hack-local-variables-prop-line): Small simplifications.
2077 (hack-local-variables, hack-local-variables-prop-line):
2078 If MODE-ONLY, return the mode, rather than just `t'.
2079
2080 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2081
2082 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
2083
2084 2011-05-21 Glenn Morris <rgm@gnu.org>
2085
2086 * files.el (hack-local-variables-prop-line, hack-local-variables):
2087 If only interested in the mode, don't bother doing the other stuff.
2088
2089 * image-mode.el (image-after-revert-hook):
2090 Redraw all frames on which the image is visible. (Bug#8567)
2091
2092 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
2093
2094 * wid-edit.el (widget-checklist-match-inline):
2095 Fix 2011-04-19 change. (Bug#8649)
2096
2097 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
2100 Also allow singlespace after single-letter capitals followed by a dot.
2101
2102 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
2103 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
2104
2105 2011-05-20 Nix <nix@esperi.org.uk>
2106
2107 * files.el (basic-save-buffer-2):
2108 Fix handling of break-hardlink-on-save with non-existent files.
2109
2110 2011-05-19 Deniz Dogan <deniz@dogan.se>
2111
2112 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
2113 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
2114
2115 2011-05-19 Glenn Morris <rgm@gnu.org>
2116
2117 * progmodes/f90.el (f90-type-def-re):
2118 Handle "type, bind(c)". (Bug#8691)
2119
2120 * emacs-lisp/autoload.el (batch-update-autoloads):
2121 Set autoload-excludes by parsing loadup.el rather than Makefiles.
2122
2123 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
2124
2125 * net/tramp.el (tramp-process-actions): Set "first-password-request"
2126 property for the correct connection in case of multihops.
2127
2128 2011-05-18 Glenn Morris <rgm@gnu.org>
2129
2130 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
2131 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
2132
2133 Rationalize calendar handling of day and month abbrev-arrays.
2134 * calendar/calendar.el (calendar-customized-p): New function.
2135 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
2136 (calendar-day-name-array, calendar-month-name-array): Doc fix.
2137 Add :set function.
2138 (calendar-abbrev-length, calendar-day-abbrev-array)
2139 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
2140 (calendar-day-abbrev-array, calendar-month-abbrev-array):
2141 Elements may no longer be nil.
2142 (calendar-day-name, calendar-month-name):
2143 Update for changed nature of abbrev arrays.
2144 * calendar/diary-lib.el (diary-name-pattern):
2145 Update for changed nature of abbrev arrays.
2146 (diary-mark-entries-1): Update calendar-make-alist calls.
2147 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
2148 * calendar/cal-html.el (cal-html-day-abbrev-array):
2149 Simply inherit from calendar-day-abbrev-array.
2150
2151 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2152
2153 * progmodes/grep.el (grep-mode): Disable default
2154 compilation-directory-matcher setting (bug#8684).
2155
2156 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
2157
2158 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
2159 instead of "head" and "tail". There were problems with SunOS 5.9,
2160 and it performs better.
2161
2162 2011-05-17 Glenn Morris <rgm@gnu.org>
2163
2164 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
2165
2166 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2167 Replace obsolete function.
2168
2169 * shell.el (pcomplete-parse-arguments-function): Declare.
2170
2171 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
2172 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
2173 (appt-check): Doc fixes.
2174 (appt-disp-window-function, appt-delete-window-function):
2175 Remove needless special case in custom :type.
2176 (appt-display-count): Default to 0, not nil.
2177 (appt-check): Reset appt-display-count to 0, not nil.
2178
2179 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
2180
2181 * progmodes/python.el (python-font-lock-keywords):
2182 Add the Python 3.X keyword "nonlocal" (bug#8639).
2183
2184 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2185
2186 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
2187
2188 2011-05-16 Kevin Ryde <user42@zip.com.au>
2189
2190 * info-look.el (makefile-automake-mode): New setups, looking in
2191 automake manual, then makefile-mode.
2192 (makefile-mode): Remove automake manual, have it just in
2193 makefile-automake-mode since there's various things different or
2194 not relevant to plain make.
2195 (makefile-mode): Remove "other-modes" non-existent automake-mode,
2196 believe a hypothetical automake-mode would go to makefile-mode,
2197 not the other way around.
2198
2199 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
2200
2201 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
2202 hunk-end tags (Bug#8672).
2203
2204 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
2205 vc-annotate-show-diff-revision-at-line (Bug#8671).
2206
2207 2011-05-14 Glenn Morris <rgm@gnu.org>
2208
2209 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
2210 in the middle of an existing one with multiple authors. (Bug#8645)
2211 (change-log-font-lock-keywords): Also handle multiple author lines
2212 with leading tabs. (Bug#8644)
2213
2214 * calendar/appt.el (appt-check): Rename some local variables.
2215 Some simplification/reordering.
2216
2217 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
2218 (feedmail-sendmail-f-doesnt-sell-me-out)
2219 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
2220 (feedmail-debug-sit-for, feedmail-queue-express-hook)
2221 (feedmail-queue-runner-message-sender): Set :version.
2222 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
2223 (bbdb-dwim-net-address, vm-mail): Declare.
2224 (feedmail-binmail-gnulinuxish-template):
2225 Rename from feedmail-binmail-linuxish-template.
2226 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
2227 Use insert-buffer-substring.
2228
2229 2011-05-14 Bill Carpenter <bill@carpenter.org>
2230
2231 * mail/feedmail.el (feedmail-patch-level): Increase.
2232 (feedmail-debug): New custom group.
2233 (feedmail-confirm-outgoing-timeout)
2234 (feedmail-sendmail-f-doesnt-sell-me-out)
2235 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
2236 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
2237 (feedmail-sender-line, feedmail-from-line)
2238 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
2239 (feedmail-spray-this-address)
2240 (feedmail-spray-address-fiddle-plex-list)
2241 (feedmail-queue-use-send-time-for-date)
2242 (feedmail-queue-use-send-time-for-message-id)
2243 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
2244 (feedmail-buffer-eating-function):
2245 Doc fixes.
2246 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
2247 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
2248 (feedmail-message-action-scroll-down): New functions.
2249 (feedmail-queue-directory, feedmail-queue-draft-directory):
2250 Use expand-file-name.
2251 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
2252 Remove C-v help entry.
2253 (feedmail-queue-buffer-file-name): New variable.
2254 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
2255 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
2256 (feedmail-message-action-send-strong, feedmail-message-action-edit)
2257 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
2258 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
2259 (feedmail-message-action-toggle-spray)
2260 (feedmail-run-the-queue-no-prompts)
2261 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
2262 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
2263 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
2264 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
2265 (feedmail-envelope-deducer, feedmail-fiddle-from)
2266 (feedmail-fiddle-sender, feedmail-default-date-generator)
2267 (feedmail-fiddle-date, feedmail-fiddle-message-id)
2268 (feedmail-fiddle-spray-address)
2269 (feedmail-fiddle-list-of-spray-fiddle-plexes)
2270 (feedmail-fiddle-list-of-fiddle-plexes)
2271 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
2272 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
2273 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
2274 Change default. Doc fix.
2275 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
2276 (feedmail-binmail-linuxish-template): New constant.
2277 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
2278 Respect feedmail-sendmail-f-doesnt-sell-me-out.
2279 (feedmail-send-it): Add debug call.
2280 Use feedmail-queue-buffer-file-name, and
2281 feedmail-send-it-immediately-wrapper.
2282 (feedmail-message-action-send): Add debug call.
2283 Use feedmail-send-it-immediately-wrapper.
2284 (feedmail-queue-express-to-queue): Add debug call.
2285 Run feedmail-queue-express-hook.
2286 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
2287 (feedmail-message-action-help-blat):
2288 Rename from feedmail-queue-send-edit-prompt-help-first.
2289 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
2290 Check line-endings. Handle errors better.
2291 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
2292 Doc fix. Add debug call.
2293 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
2294 Use feedmail-queue-send-edit-prompt-inner.
2295 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
2296 (feedmail-queue-send-edit-prompt-inner): New function, extracted
2297 from feedmail-queue-send-edit-prompt.
2298 (feedmail-queue-send-edit-prompt-help)
2299 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
2300 (feedmail-tidy-up-slug): Add debug call.
2301 Respect feedmail-queue-slug-suspect-regexp.
2302 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
2303 (feedmail-dump-message-to-queue): Add debug call.
2304 Expand queue-directory.
2305 (feedmail-dump-message-to-queue): Change message slightly.
2306 Use feedmail-say-chatter.
2307 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
2308 (feedmail-send-it-immediately-wrapper): New function.
2309 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
2310 Insert empty string rather than newline. Handle full-frame case.
2311 Use catch/throw. Use feedmail-say-chatter.
2312 (feedmail-fiddle-from): Try mail-host-address.
2313 (feedmail-default-message-id-generator): Doc fix.
2314 Bind system-time-locale. Handle missing end.
2315 (feedmail-fiddle-x-mailer): Add debug call.
2316 Handle feedmail-x-mailer-line being nil.
2317 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
2318 Add debug call. Use buffer-substring-no-properties.
2319 (feedmail-say-debug, feedmail-say-chatter): New functions.
2320 (feedmail-find-eoh): Give an explicit error.
2321
2322 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
2323
2324 * net/newst-treeview.el (newsticker-treeview-face): Change default
2325 family from helvetica to sans.
2326 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
2327 etc/images/newsticker.
2328
2329 * net/newst-reader.el (newsticker-feed-face): Change default
2330 family from helvetica to sans.
2331
2332 * net/newst-plainview.el (newsticker-new-item-face)
2333 (newsticker-old-item-face, newsticker-immortal-item-face)
2334 (newsticker-obsolete-item-face, newsticker-date-face)
2335 (newsticker-statistics-face): Change default family from
2336 helvetica to sans.
2337 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
2338 etc/images/newsticker.
2339
2340 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
2341 (newsticker--process-auto-mark-filter-match): : Tell user about
2342 auto-marking.
2343
2344 2011-05-13 Didier Verna <didier@xemacs.org>
2345
2346 Common Lisp indentation improvements on defmethod and lambda-lists.
2347 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
2348 (lisp-lambda-list-keyword-parameter-indentation)
2349 (lisp-lambda-list-keyword-parameter-alignment)
2350 (lisp-lambda-list-keyword-alignment): New customizable user options.
2351 (lisp-indent-defun-method): Improve docstring.
2352 (extended-loop-p): Fix comment.
2353 (lisp-indent-lambda-list-keywords-regexp): New variable.
2354 (lisp-indent-lambda-list): New function.
2355 (lisp-indent-259): Use it.
2356 (lisp-indent-defmethod): Support for more than one
2357 method qualifier and properly indent methods lambda-lists.
2358 (defgeneric): Provide a missing common-lisp-indent-function property.
2359
2360 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
2363 bounds for the empty string (bug#8667).
2364
2365 2011-05-13 Glenn Morris <rgm@gnu.org>
2366
2367 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
2368
2369 * mail/sendmail.el (sendmail-program): Try executable-find first.
2370 (sendmail-send-it): `sendmail-program' cannot be unbound.
2371
2372 * calendar/appt.el (appt-make-list): Simplify.
2373 (appt-time-msg-list): Doc fix.
2374 (appt-check): Change mode-line message at the time of the appointment.
2375
2376 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
2377
2378 * progmodes/ld-script.el (ld-script-keywords)
2379 (ld-script-builtins): Update keywords list.
2380
2381 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2382
2383 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
2384
2385 * shell.el (shell-completion-vars): New function.
2386 (shell-mode):
2387 * simple.el (read-shell-command): Use it.
2388 (blink-matching-open): No need for " [...]" in minibuffer-message.
2389
2390 2011-05-12 Glenn Morris <rgm@gnu.org>
2391
2392 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
2393 (appt-check): Simplify.
2394
2395 2011-05-12 Eli Zaretskii <eliz@gnu.org>
2396
2397 * smerge-mode.el (smerge-resolve): Use null-device rather than a
2398 literal "/dev/null".
2399
2400 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2401
2402 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
2403 Fix typo.
2404
2405 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
2406
2407 * progmodes/which-func.el (which-function):
2408 Use add-log-current-defun instead of add-log-current-defun-function,
2409 which might not be defined (Bug#8260).
2410
2411 2011-05-12 Glenn Morris <rgm@gnu.org>
2412
2413 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
2414 Let byte-compile-initial-macro-environment always take precedence.
2415
2416 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2417
2418 * net/rcirc.el: Add support for SSL/TLS connections.
2419 (rcirc-server-alist): New field `encryption'.
2420 (rcirc): Check `encryption' settings.
2421 (rcirc-connect): New arg `encryption'. Use open-network-stream.
2422 Merge make-local-variable into `set'.
2423 (rcirc--connection-open-p): New function.
2424 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
2425 the process is not a network process (e.g. running gnutls-cli).
2426 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
2427 Make rcirc-(en|de)code-coding-system local here.
2428 (rcirc-mode): Merge make-local-variable into `set'.
2429 (rcirc-parent-buffer): Make permanent buffer-local.
2430 (rcirc-multiline-minor-mode): Don't do it here.
2431 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
2432 there's no server buffer.
2433
2434 2011-05-11 Glenn Morris <rgm@gnu.org>
2435
2436 * newcomment.el (comment-kill): Prefix "unused" local.
2437
2438 * term/w32console.el (get-screen-color): Declare.
2439
2440 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2441 Handle symbol elements of byte-compile-initial-macro-environment.
2442
2443 2011-05-10 Leo Liu <sdl.web@gmail.com>
2444
2445 * bookmark.el (bookmark-bmenu-mode-map):
2446 Bind bookmark-bmenu-search to `/'.
2447
2448 * mail/footnote.el: Convert to utf-8 encoding.
2449 (footnote-unicode-string, footnote-unicode-regexp): New variable.
2450 (Footnote-unicode): New function.
2451 (footnote-style-alist): Add unicode style to the list.
2452 (footnote-style): Doc fix.
2453
2454 2011-05-10 Jim Meyering <meyering@redhat.com>
2455
2456 Fix doubled-word typos.
2457 * international/quail.el (quail-insert-kbd-layout): and and -> and
2458 * kermit.el: and and -> and
2459 * net/ldap.el (ldap-search-internal): to to -> to
2460 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
2461 * progmodes/js.el (js-mode): and and -> and
2462 * textmodes/artist.el (artist-move-to-xy): at at -> at
2463 (artist-draw-region-trim-line-endings): if if -> if
2464 And Safetyc -> Safety.
2465 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
2466
2467 2011-05-10 Glenn Morris <rgm@gnu.org>
2468 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * files.el (hack-one-local-variable-eval-safep):
2471 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
2472
2473 2011-05-10 Glenn Morris <rgm@gnu.org>
2474
2475 * calendar/diary-lib.el (diary-list-entries-hook)
2476 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
2477 (diary-nongregorian-marking-hook, diary-list-entries)
2478 (diary-include-other-diary-files, diary-mark-entries)
2479 (diary-mark-included-diary-files): Doc fixes.
2480
2481 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
2482
2483 * misc.el: Require tabulated-list.el during compilation.
2484
2485 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
2486
2487 * progmodes/compile.el (compilation-start):
2488 Run compilation-filter-hook for the async case too.
2489 (compilation-filter-hook): Doc fix.
2490
2491 2011-05-09 Deniz Dogan <deniz@dogan.se>
2492
2493 * wdired.el: Remove outdated installation comment. Fix usage
2494 comment.
2495
2496 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
2497
2498 * misc.el: Implement new command `list-dynamic-libraries'.
2499 (list-dynamic-libraries--loaded-only-p): New variable.
2500 (list-dynamic-libraries--refresh): New function.
2501 (list-dynamic-libraries): New command.
2502
2503 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
2504
2505 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2506 Fix the ant regexp to handle end-line and end-column info from jikes.
2507 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
2508 higher priority to avoid clobbering by gnu.
2509
2510 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
2511
2512 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
2513 if the face has existing theme settings (Bug#8454).
2514
2515 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
2516
2517 * progmodes/perl-mode.el (perl-imenu-generic-expression):
2518 Only match variables declared via `my' or `our' (Bug#8261).
2519
2520 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
2521 special file names `.' and `..' (Bug#8259).
2522
2523 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
2524
2525 * progmodes/grep.el (grep-mode-font-lock-keywords):
2526 Remove buffer-changing entries.
2527 (grep-filter): New function.
2528 (grep-mode): Add it to compilation-filter-hook.
2529
2530 * progmodes/compile.el (compilation-filter-hook)
2531 (compilation-filter-start): New defvars.
2532 (compilation-filter): Call compilation-filter-hook prior to
2533 updating the process mark.
2534
2535 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2536
2537 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
2538
2539 2011-05-07 Eli Zaretskii <eliz@gnu.org>
2540
2541 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
2542 mailclient-send-it even if window-system is nil. (Bug#8595)
2543
2544 * term/w32console.el (terminal-init-w32console):
2545 Call get-screen-color and use its output to set the frame
2546 background-mode. (Bug#8597)
2547
2548 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2549
2550 Make bytecomp.el understand that defmethod defines funs (bug#8631).
2551 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
2552 New functions.
2553 (defgeneric, eieio--defmethod): Use them.
2554 (eieio-defgeneric): Remove.
2555 (defmethod): Call defgeneric in a way visible to the byte-compiler.
2556
2557 2011-05-07 Glenn Morris <rgm@gnu.org>
2558
2559 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
2560 Use let rather than let*.
2561 (timeclock-find-discrep): Remove unused local.
2562
2563 * calendar/diary-lib.el (diary-comment-start): Doc fix.
2564
2565 * calendar/appt.el (appt-time-msg-list): Doc fix.
2566
2567 2011-05-06 Noah Friedman <friedman@splode.com>
2568
2569 * apropos.el (apropos-print-doc): Only use
2570 emacs-lisp-docstring-fill-column when it is bound to an integer,
2571 per that variable's documentation.
2572
2573 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2574
2575 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
2576 and warnings are not silently discarded (e.g. use -d instead of -P).
2577
2578 2011-05-06 Glenn Morris <rgm@gnu.org>
2579
2580 * calendar/appt.el (appt-message-warning-time): Doc fix.
2581 (appt-warning-time-regexp): New option.
2582 (appt-make-list): Respect appt-message-warning-time.
2583
2584 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
2585 New options.
2586 (diary-add-to-list): Strip comments from the displayed string.
2587 (diary-mode): Set comment-start and comment-end.
2588
2589 * vc/diff-mode.el (smerge-refine-subst): Declare.
2590 (diff-refine-hunk): Don't require smerge-mode when compiling.
2591
2592 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
2593
2594 * simple.el (list-processes): Return nil as the docstring says.
2595
2596 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
2597
2598 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
2599 to "".
2600 (ange-ftp-write-region, ange-ftp-insert-file-contents)
2601 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
2602 determining of binary transfer. (Bug#7383)
2603
2604 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
2605
2606 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2607 Fix port computation bug. (Bug#8618)
2608
2609 2011-05-05 Glenn Morris <rgm@gnu.org>
2610
2611 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
2612
2613 * simple.el (shell-dynamic-complete-functions)
2614 (comint-dynamic-complete-functions): Declare.
2615
2616 * net/network-stream.el (gnutls-negotiate):
2617 * simple.el (tabulated-list-print): Fix declarations.
2618
2619 * progmodes/gud.el (syntax-symbol, syntax-point):
2620 Remove unnecessary and incorrect declarations.
2621
2622 * emacs-lisp/check-declare.el (check-declare-scan):
2623 Handle byte-compile-initial-macro-environment in bytecomp.el
2624
2625 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2626
2627 Fix earlier half-done eieio-defmethod change (bug#8338).
2628 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
2629 Streamline and change calling convention.
2630 (defmethod): Adjust accordingly and simplify.
2631 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
2632 new eieio--defmethod.
2633 (slot-boundp): Minor CSE simplification.
2634
2635 2011-05-05 Milan Zamazal <pdm@zamazal.org>
2636
2637 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
2638 (glasses-make-readable): Use glasses-separate-capital-groups.
2639
2640 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
2641
2642 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
2643 (warning-series): Doc fix.
2644 (display-warning): Don't try to create the buffer if we just found it.
2645
2646 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
2647
2648 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
2649 (autoload-find-generated-file): New function.
2650 (generate-file-autoloads): Bind generated-autoload-file to
2651 buffer-file-name.
2652 (update-file-autoloads, update-directory-autoloads):
2653 Use autoload-find-generated-file. If called interactively, prompt for
2654 output file (Bug#7989).
2655 (batch-update-autoloads): Doc fix.
2656
2657 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
2658
2659 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
2660
2661 2011-05-04 Glenn Morris <rgm@gnu.org>
2662
2663 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
2664 function, so it follows changes in calendar-date-style.
2665 (diary-fancy-date-matcher): New function.
2666 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
2667 (diary-fancy-font-lock-fontify-region-function):
2668 Use diary-fancy-date-pattern as a function.
2669
2670 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
2671 non-numbers for `year' etc pseudo-variables. (Bug#8583)
2672
2673 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
2674
2675 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
2676 instead of positional arguments. Allow :keylist and :crlfiles
2677 arguments.
2678 (open-gnutls-stream): Call it.
2679
2680 * net/network-stream.el (network-stream-open-starttls): Adjust to
2681 call `gnutls-negotiate' with :process and :hostname arguments.
2682
2683 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2684
2685 * minibuffer.el (completion--message): New function.
2686 (completion--do-completion, minibuffer-complete)
2687 (minibuffer-force-complete, minibuffer-complete-word): Use it.
2688 (completion--do-completion): Don't ignore completion-auto-help when in
2689 icomplete-mode.
2690
2691 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
2692 internal encoding (e.g. tibetan zero is not whitespace).
2693 (global-whitespace-mode): Prefer save-current-buffer.
2694 (whitespace-trailing-regexp): Remove useless save-match-data.
2695 (whitespace-empty-at-bob-regexp): Minor simplification.
2696
2697 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
2698
2699 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
2700
2701 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2702
2703 * textmodes/ispell.el (ispell-add-per-file-word-list):
2704 Use `concat' to create string for insertion.
2705
2706 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
2709 Avoid open-line which runs post-self-insert-hook.
2710 (bibtex-fill-entry): Remove unused `end' var.
2711
2712 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
2713
2714 * textmodes/ispell.el (ispell-add-per-file-word-list):
2715 Protect against `nil' value of `comment-start' (Bug#8579).
2716
2717 2011-05-03 Leo Liu <sdl.web@gmail.com>
2718
2719 * isearch.el (isearch-yank-pop): New command.
2720 (isearch-mode-map): Bind it to `M-y'.
2721 (isearch-forward): Mention it.
2722
2723 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2724
2725 * simple.el (minibuffer-complete-shell-command): Remove.
2726 (minibuffer-local-shell-command-map): Use completion-at-point.
2727 (read-shell-command): Setup completion vars here instead.
2728 (read-expression-map): Bind TAB to symbol completion.
2729
2730 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
2731 error directly rather via storing it into `results'.
2732
2733 2011-05-02 Leo Liu <sdl.web@gmail.com>
2734
2735 * vc/diff.el: Fix description.
2736
2737 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2738
2739 * server.el (server-eval-at): New function.
2740
2741 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2742
2743 * net/network-stream.el (open-network-stream): Take a :nowait
2744 parameter and pass it on to `make-network-process'.
2745 (network-stream-open-plain): Ditto.
2746
2747 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
2748
2749 * faces.el (face-spec-set-match-display): Don't match toolkit
2750 options on terminal frames.
2751
2752 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
2753
2754 * progmodes/pascal.el: Use lexical binding.
2755 (pascal-mode-map): Remove author preferences.
2756
2757 * pcomplete.el (pcomplete-std-complete): Don't abuse
2758 completion-at-point.
2759
2760 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
2761
2762 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
2763 removing code that has been dead since 1991 or so.
2764
2765 * startup.el (command-line): When warning about "_emacs", use a
2766 delayed warning to allow the user to filter it out.
2767
2768 2011-04-28 Deniz Dogan <deniz@dogan.se>
2769
2770 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
2771 user has not joined.
2772
2773 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2774
2775 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
2776 aren't any completions at point.
2777
2778 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
2779
2780 * subr.el (display-delayed-warnings): New function.
2781 (delayed-warnings-hook): New variable.
2782
2783 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2784
2785 * minibuffer.el (completion-at-point, completion-help-at-point):
2786 Don't presume that a given completion-at-point-function will always
2787 use the same calling convention.
2788
2789 * pcomplete.el (pcomplete-completions-at-point):
2790 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
2791 pcomplete-seen is non-nil.
2792 (pcomplete-comint-setup): Also recognize the new comint/shell
2793 completion functions.
2794 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
2795 pcomplete-seen is non-nil.
2796
2797 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
2798
2799 * calendar/icalendar.el (diary-lib): Add require statement.
2800 (icalendar--create-uid): Read out a uid from a text-property on
2801 the first character in the entry. This allows for code to add its
2802 own uid to the entry.
2803 (icalendar--convert-float-to-ical): Add export of
2804 `diary-float'-entries save for those with the optional DAY
2805 argument.
2806
2807 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
2808
2809 * subr.el (shell-quote-argument): Use alternate escaping strategy
2810 when we spot a variable reference in a string.
2811
2812 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
2813
2814 * cus-start.el (all): Define customization for debug-on-event.
2815
2816 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
2817
2818 * subr.el (shell-quote-argument): Escape correctly under Windows.
2819
2820 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2821
2822 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
2823
2824 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
2825
2826 * net/tramp.el (tramp-process-actions): Add POS argument.
2827 Delete region between POS and (pos).
2828
2829 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2830 Use `nil' position in `tramp-process-actions' call.
2831 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
2832
2833 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
2834 position in `tramp-process-actions' call.
2835
2836 * net/trampver.el: Update release number.
2837
2838 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2839
2840 * custom.el (defcustom): Obey lexical-binding.
2841
2842 Fix octave-inf completion problems reported by Alexander Klimov.
2843 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
2844 Inherit from octave-mode-syntax-table.
2845 (inferior-octave-mode): Set info-lookup-mode.
2846 (inferior-octave-completion-at-point): New function.
2847 (inferior-octave-complete): Use it and completion-in-region.
2848 (inferior-octave-dynamic-complete-functions): Use it as well, and use
2849 comint-filename-completion.
2850 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
2851 symbol elements which shouldn't be word elements.
2852 (octave-font-lock-keywords, octave-beginning-of-defun)
2853 (octave-function-header-regexp): Adjust regexps accordingly.
2854 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
2855
2856 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
2857
2858 * net/gnutls.el (gnutls-errorp): Declare before first use.
2859
2860 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
2861
2862 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
2863 verify-error, and verify-hostname-error parameters. Check whether
2864 default trustfile exists before going to use it. Add missing
2865 argument to gnutls-message-maybe call. Return return value.
2866 Reported by Claudio Bley <claudio.bley@gmail.com>.
2867 (open-gnutls-stream): Add usage example.
2868
2869 * net/network-stream.el (network-stream-open-starttls): Give host
2870 parameter to `gnutls-negotiate'.
2871 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
2872 * subr.el (shell-quote-argument): Escape correctly under Windows.
2873
2874 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
2875
2876 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2877 Use correct match group (bug#8438).
2878
2879 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
2880
2881 * emacs-lisp/package.el (package-built-in-p): Fix typo.
2882 (package-menu--generate): New arg specifying packages to show.
2883 (package-menu-refresh, package-menu-execute, list-packages):
2884 Callers changed.
2885 (package-show-package-list): New function, replacing deleted
2886 package--list-packages (renamed because it is non-internal).
2887
2888 * finder.el (finder-list-matches): Use package-show-package-list
2889 instead of deleted package--list-packages.
2890
2891 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
2892 Based on a previous implementation by Juanma Barranquero (Bug#8366).
2893 (vc-annotate-mode-map): Bind it to RET.
2894
2895 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
2896
2897 * progmodes/etags.el (next-file): Don't use set-buffer to change
2898 buffers (Bug#8478).
2899
2900 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
2901
2902 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
2903
2904 * apropos.el (apropos-label-face): Avoid variable-pitch face.
2905 (apropos-accumulator): Doc fix.
2906 (apropos-function, apropos-macro, apropos-command)
2907 (apropos-variable, apropos-face, apropos-group, apropos-widget)
2908 (apropos-plist): Add face property.
2909 (apropos-symbols-internal): Fix indentation.
2910 (apropos-print): Simplify help, and recognize apropos-multi-type.
2911 (apropos-print-doc): Use button-type-get to extract the button's
2912 face property. Fill docstring (Bug#8352).
2913
2914 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
2915
2916 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
2917
2918 * play/mpuz.el (mpuz-silent): Doc fix.
2919 (mpuz-mode-map): Use mapc.
2920 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
2921 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
2922 Fix typos in docstrings.
2923
2924 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
2925 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
2926
2927 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
2928
2929 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
2930
2931 * minibuffer.el (completion--do-completion): Avoid the "Next char
2932 not unique" prompt if icomplete-mode is enabled (Bug#5849).
2933
2934 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
2935 mouse-2 into unread-command-events, it is interpreted correctly.
2936
2937 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
2938 (image-toggle-display): Doc fix.
2939
2940 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
2941
2942 * textmodes/page.el (what-page): Use line-number-at-pos to
2943 calculate line number (Bug#6825).
2944
2945 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
2946
2947 * eshell/esh-mode.el (find-tag-interactive): Declare function.
2948 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
2949 Pass argument NO-DEFAULT to `find-tag-interactive'.
2950
2951 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
2952
2953 Lexical-binding cleanup.
2954
2955 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
2956 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
2957 * progmodes/ada-prj.el (ada-prj-initialize-values)
2958 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
2959 (ada-prj-show-value):
2960 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
2961 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
2962 (antlr-invalidate-context-cache, antlr-options-menu-filter)
2963 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
2964 * progmodes/bug-reference.el (bug-reference-push-button):
2965 * progmodes/fortran.el (fortran-line-length):
2966 * progmodes/glasses.el (glasses-change):
2967 * progmodes/octave-mod.el (octave-fill-paragraph):
2968 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
2969 (python-pdbtrack-grub-for-buffer, python-sentinel):
2970 * progmodes/sql.el (sql-save-connection):
2971 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
2972 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
2973 Mark unused parameters.
2974
2975 * progmodes/compile.el (compilation--flush-directory-cache)
2976 (compilation--flush-parse, compile-internal): Mark unused parameters.
2977 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
2978 (compilation-next-error-function): Remove unused variable `timestamp'.
2979
2980 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
2981 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
2982
2983 * progmodes/dcl-mode.el (dcl-end-of-command):
2984 Remove unused variable `start'.
2985 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
2986 (dcl-option-value-basic, dcl-option-value-offset)
2987 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
2988 Mark unused parameters.
2989 (dcl-save-local-variable): Remove unused variable `val'.
2990 (mode): Declare.
2991
2992 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
2993 Mark unused parameters.
2994 (delphi-ignore-changes): Move before first use.
2995 (delphi-charset-token-at): Remove unused variable `start'.
2996 (delphi-else-start): Remove unused variable `if-count'.
2997 (delphi-comment-block-start, delphi-comment-block-end):
2998 Remove unused variable `kind'.
2999 (delphi-indent-line): Remove unused variable `new-point'.
3000
3001 * progmodes/ebrowse.el (ebrowse-files-list)
3002 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
3003 Mark unused parameters. Don't quote `lambda'.
3004 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
3005 Don't quote `lambda'.
3006 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
3007 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
3008 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
3009 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
3010 Use `ignore-errors'.
3011 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
3012 (ebrowse-view/find-file-and-search-pattern)
3013 (ebrowse-view/find-member-declaration/definition):
3014 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
3015 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
3016 Rename parameter PREFIX-ARG to PREFIX.
3017 (ebrowse-tags-read-name): Remove unused variables `start' and
3018 `member-info'.
3019 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
3020 to `tags-file'.
3021
3022 * progmodes/etags.el (local-find-tag-hook): Declare.
3023 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
3024 Mark unused parameters.
3025
3026 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
3027 (executable-interpret): Mark unused parameter.
3028
3029 * progmodes/flymake.el (flymake-process-sentinel)
3030 (flymake-after-change-function)
3031 (flymake-create-temp-with-folder-structure)
3032 (flymake-get-include-dirs-dot): Mark unused parameters.
3033 (flymake-safe-delete-directory): Remove unused variable `err'.
3034
3035 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
3036 (speedbar-timer-fn, speedbar-line-text)
3037 (speedbar-change-expand-button-char, speedbar-delete-subblock)
3038 (speedbar-center-buffer-smartly): Declare functions.
3039 (gdb-find-watch-expression): Remove unused variable `array'.
3040 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
3041 (gdb-starting): Mark unused parameters.
3042 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
3043 (gdb-table-string): Remove unused variable `res'.
3044 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
3045 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
3046 (gdb-display-buffer): Remove unused variable `cur-size'.
3047
3048 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
3049 allow lexical-binding compilation.
3050 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
3051 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
3052 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
3053 Mark unused parameters.
3054 (gud-gdb-marker-filter): Remove unused variable `match'.
3055 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
3056 lambda expressions and funcall them, instead of using `fset'.
3057
3058 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
3059 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
3060
3061 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
3062 variable `header-beg'; use `let'.
3063
3064 * progmodes/icon.el (indent-icon-exp): Remove unused variables
3065 `restart', `last-sexp' and `at-do'.
3066
3067 * progmodes/js.el (js--debug): Mark unused parameter.
3068 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
3069 (js--splice-into-items): Remove unused variable `item'.
3070 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
3071
3072 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
3073 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
3074 (makefile-complete): Remove unused variable `try'.
3075 (makefile-fill-paragraph, makefile-match-function-end):
3076 Mark unused parameters.
3077
3078 * progmodes/octave-inf.el (inferior-octave-complete):
3079 Remove unused variable `proc'.
3080 (inferior-octave-output-digest): Mark unused parameter.
3081
3082 * progmodes/perl-mode.el (perl-calculate-indent):
3083 Remove unused variable `err'.
3084
3085 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
3086 (prolog-indent-line): Mark unused parameters.
3087 (prolog-indent-line): Remove unused variable `beg'.
3088
3089 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
3090 (reporter-dont-compact-list): Declare.
3091
3092 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
3093 Remove unused variable `char'.
3094 (sh-debug): Mark unused parameter.
3095 (sh-get-indent-info): Remove unused variable `start'.
3096 (sh-calculate-indent): Remove unused variable `var'.
3097
3098 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
3099 (simula-electric-keyword): Remove unused variable `null'.
3100 (simula-search-backward, simula-search-forward): Remove unused
3101 variables `begin' and `end'.
3102
3103 * progmodes/vera-mode.el (vera-guess-basic-syntax):
3104 Remove unused variable `pos'.
3105 (vera-electric-tab, vera-comment-uncomment-region):
3106 Mark unused parameters.
3107 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
3108
3109 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
3110
3111 * emacs-lisp/package.el (package--builtins, package-alist)
3112 (package-load-descriptor, package-built-in-p, package-activate)
3113 (define-package, package-installed-p)
3114 (package-compute-transaction, package-buffer-info)
3115 (package--push): Doc fix. Distinguish more clearly between
3116 version strings and version lists.
3117
3118 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
3119
3120 Lexical-binding cleanup.
3121
3122 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
3123 (5x5-make-mutate-best):
3124 * play/fortune.el (fortune-in-buffer):
3125 * play/gomoku.el (gomoku-init-display):
3126 * play/solitaire.el (solitaire, solitaire-do-check):
3127 * play/tetris.el (tetris-default-update-speed-function):
3128 Mark unused parameters.
3129
3130 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
3131 (bubbles--shift): Remove unused variable `char-org'.
3132 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
3133 (bubbles--show-images): Remove unused variable `char'.
3134
3135 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
3136 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
3137 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
3138 (decipher-analyze-buffer): Use ?\s.
3139 (decipher-make-checkpoint): Remove unused variable `mapping'.
3140
3141 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
3142
3143 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3144 Remove unused variable `result'; use `let'.
3145
3146 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
3147 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
3148 (gametree-children-shown-p, gametree-compute-reduced-score):
3149 Use `ignore-errors'.
3150
3151 * play/handwrite.el (ps-lpr-switches): Declare.
3152 (handwrite): Remove unused variables `pmin' and `lastp'.
3153
3154 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
3155
3156 * play/landmark.el (landmark-init-display)
3157 (landmark-update-naught-weights): Mark unused parameters.
3158 (landmark-y): Remove unused variable `noise'. Simplify.
3159 (landmark-human-plays): Remove unused variable `score'.
3160
3161 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
3162 (mpuz-try-proposal): Remove unused variable `game'.
3163
3164 * play/zone.el (life-patterns): Declare.
3165
3166 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
3167
3168 * vc/vc.el (ediff-vc-internal): Declare function.
3169
3170 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3171
3172 * shell.el: Use lexical-binding and std completion UI.
3173 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
3174 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
3175 comint-preoutput-filter-functions rather than on
3176 comint-output-filter-functions.
3177 (shell-command-completion, shell--command-completion-data)
3178 (shell-filename-completion, shell-environment-variable-completion)
3179 (shell-c-a-p-replace-by-expanded-directory): New functions.
3180 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
3181 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
3182 (shell-dynamic-complete-environment-variable): Use them.
3183 (shell-dynamic-complete-as-environment-variable)
3184 (shell-dynamic-complete-as-command): Remove.
3185 (shell-match-partial-variable): Match past point.
3186 * comint.el: Clean up use of completion-at-point-functions.
3187 (comint-completion-at-point): New function.
3188 (comint-mode): Use it completion-at-point-functions.
3189 (comint-dynamic-complete): Make it obsolete.
3190 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
3191 (comint-c-a-p-replace-by-expanded-history): New function.
3192 (comint-dynamic-complete-functions)
3193 (comint-replace-by-expanded-history): Use it.
3194 * minibuffer.el (completion-table-with-terminator): Allow dynamic
3195 termination strings. Try harder to avoid second try-completion.
3196 (completion-in-region-mode-map): Disable bindings that don't work yet.
3197
3198 * comint.el: Use lexical-binding. Require CL.
3199 (comint-dynamic-complete-functions): Use comint-filename-completion.
3200 (comint-completion-addsuffix): Tweak custom type.
3201 (comint-filename-completion, comint--common-suffix)
3202 (comint--common-quoted-suffix, comint--table-subvert)
3203 (comint--complete-file-name-data): New functions.
3204 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
3205 (comint-dynamic-list-filename-completions): Use them.
3206 (comint-dynamic-simple-complete): Make obsolete.
3207
3208 * minibuffer.el (completion-in-region-mode):
3209 Keep completion-in-region-mode--predicate global.
3210 (completion-in-region--postch):
3211 Assume completion-in-region-mode--predicate is not null.
3212
3213 * progmodes/flymake.el (flymake-start-syntax-check-process):
3214 Obey `dir'. Simplify.
3215
3216 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
3217 we're in VC after all.
3218
3219 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
3220
3221 * vc/vc.el (vc-diff-build-argument-list-internal)
3222 (vc-version-ediff, vc-ediff): New commands.
3223 (vc-version-diff): Use vc-diff-build-argument-list-internal.
3224
3225 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
3228 add sanity check.
3229
3230 * obsolete/erc-hecomplete.el: Make obsolete.
3231 * obsolete/: Standardize obsolescence info in the header.
3232
3233 2011-04-20 Glenn Morris <rgm@gnu.org>
3234
3235 * calendar/solar.el (solar-horizontal-coordinates):
3236 Use the longitude argument rather than `calendar-longitude'.
3237 (solar-date-next-longitude): Remove unused locals.
3238
3239 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3240
3241 * whitespace.el: New version 13.2.1.
3242
3243 2011-04-20 felix <EmacsWiki> (tiny change)
3244
3245 * whitespace.el (global-whitespace-mode): Keep highlight when
3246 switching between major modes on a file.
3247
3248 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
3251 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
3252 multi-line comments as well.
3253
3254 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
3255
3256 Lexical-binding cleanup.
3257
3258 * arc-mode.el (archive-mode-revert):
3259 * cmuscheme.el (scheme-interactively-start-process):
3260 * custom.el (custom-initialize-delay):
3261 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
3262 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
3263 * emacs-lock.el (emacs-lock-clear-sentinel):
3264 * ezimage.el (defezimage):
3265 * follow.el (follow-avoid-tail-recenter):
3266 * fringe.el (set-fringe-mode-1):
3267 * generic-x.el (bat-generic-mode-compile):
3268 * help-mode.el (help-info-variable, help-do-xref)
3269 (help-mode-revert-buffer):
3270 * help.el (view-emacs-todo):
3271 * iswitchb.el (iswitchb-completion-help):
3272 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
3273 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
3274 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
3275 * locate.el (locate-update):
3276 * longlines.el (longlines-encode-region)
3277 (longlines-after-change-function):
3278 * outline.el (outline-isearch-open-invisible):
3279 * ps-def.el (declare-function, charset-dimension, char-width)
3280 (encode-char):
3281 * ps-mule.el (ps-mule-plot-string):
3282 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
3283 (recentf-edit-list-select, recentf-edit-list-validate)
3284 (recentf-open-files-action):
3285 * rect.el (delete-whitespace-rectangle-line)
3286 (rectangle-number-line-callback):
3287 * register.el (window-configuration-to-register)
3288 (frame-configuration-to-register):
3289 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
3290 * select.el (xselect-convert-to-string, xselect-convert-to-length)
3291 (xselect-convert-to-targets, xselect-convert-to-delete)
3292 (xselect-convert-to-filename, xselect-convert-to-charpos)
3293 (xselect-convert-to-lineno, xselect-convert-to-colno)
3294 (xselect-convert-to-os, xselect-convert-to-host)
3295 (xselect-convert-to-user, xselect-convert-to-class)
3296 (xselect-convert-to-name, xselect-convert-to-integer)
3297 (xselect-convert-to-atom, xselect-convert-to-identity):
3298 * subr.el (declare, ignore, process-kill-without-query)
3299 (text-clone-maintain):
3300 * terminal.el (te-get-char, te-tic-sentinel):
3301 * tool-bar.el (tool-bar-make-keymap):
3302 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
3303 * type-break.el (type-break-mode, type-break-noninteractive-query):
3304 * view.el (View-back-to-mark):
3305 * wid-browse.el (widget-browse-action, widget-browse-widget)
3306 (widget-browse-widgets, widget-browse-sexp):
3307 * widget.el (define-widget-keywords):
3308 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
3309 Mark unused parameters.
3310
3311 * align.el (align-adjust-col-for-rule): Mark unused parameter.
3312 (align-areas): Remove unused variable `look'.
3313 (align-region): Remove unused variables `real-end' and `pos-list'.
3314
3315 * apropos.el (apropos-score-doc): Remove unused variable `i'.
3316
3317 * bindings.el (mode-line-modified, mode-line-remote):
3318 Mark unused parameters.
3319 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
3320
3321 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
3322 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
3323
3324 * comint.el (comint-history-isearch-pop-state)
3325 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
3326 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
3327 (comint-substitute-in-file-name): Doc fix.
3328
3329 * completion.el (cmpl-statistics-block): Mark unused parameter.
3330 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
3331 (save-completions-to-file, load-completions-from-file):
3332 Remove unused local variable `e'.
3333
3334 * composite.el (compose-chars): Remove unused variable `len'.
3335 (lgstring-insert-glyph): Remove unused variable `g'.
3336 (compose-glyph-string): Remove unused variables `ascent',
3337 `descent', `lbearing' and `rbearing'.
3338 (compose-glyph-string-relative): Remove unused variables
3339 `lbearing', `rbearing' and `wadjust'.
3340 (compose-gstring-for-graphic): Remove unused variables `header',
3341 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
3342 (compose-gstring-for-terminal): Remove unused variables `header'
3343 and `nchars'. Use `let', not `let*'.
3344
3345 * cus-edit.el (Custom-set, Custom-save, custom-reset)
3346 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
3347 (Custom-buffer-done, custom-buffer-create-internal)
3348 (custom-browse-visibility-action, custom-browse-group-tag-action)
3349 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
3350 (widget-magic-mouse-down-action, custom-toggle-parent)
3351 (custom-add-parent-links, custom-toggle-hide-variable)
3352 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
3353 (custom-toggle-hide-face, face, hook, custom-group-link-action)
3354 (custom-face-menu-create, custom-variable-menu-create, get)
3355 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
3356 (custom-reset-standard-save-and-update): Remove unused variable `value'.
3357 (customize-apropos): Remove unused variable `tests'.
3358 (custom-group-value-create): Remove unused variable `hidden-p'.
3359 (sort-fold-case): Declare.
3360
3361 * cus-theme.el (custom-reset-standard-faces-list)
3362 (custom-reset-standard-variables-list): Declare.
3363 (customize-create-theme, custom-theme-revert, custom-theme-write)
3364 (custom-theme-choose-mode, customize-themes, custom-theme-save):
3365 Mark unused parameters.
3366
3367 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
3368
3369 * delim-col.el (delimit-columns-max): Move defvar before first use.
3370
3371 * descr-text.el (describe-char-categories): Don't quote `lambda'.
3372 (describe-char): Don't quote `lambda'. Mark unused parameter.
3373
3374 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
3375 (auto-insert): Declare.
3376 (desktop-restore-file-buffer): Rename desktop-* parameters;
3377 mark unused ones.
3378 (desktop-create-buffer): Rename desktop-* parameters and bind them.
3379 (desktop-buffer): Rename desktop-* parameters.
3380
3381 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3382 (dframe-reposition-frame-xemacs, dframe-help-echo)
3383 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
3384 Mark unused parameters.
3385
3386 * dired-aux.el (backup-extract-version-start, overwrite-query)
3387 (overwrite-backup-query, rename-regexp-query)
3388 (rename-non-directory-query): Declare.
3389 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
3390 (dired-add-entry): Remove unused variable `orig-file-name'.
3391 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
3392 Use parameter PRESERVE-TIME instead of accessing dynamic variable
3393 `dired-copy-preserve-time' directly.
3394 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
3395 (dired-insert-subdir-newpos): Rename unused variable `pos'.
3396
3397 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
3398 (dired-virtual-revert, dired-make-relative-symlink):
3399 Mark unused parameters.
3400 (manual-program): Declare.
3401 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
3402 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
3403 wrapped in `with-no-warnings' to avoid replacing one warning by another.
3404
3405 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
3406
3407 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
3408
3409 * echistory.el (electric-history-in-progress, Helper-return-blurb):
3410 Declare.
3411
3412 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
3413
3414 * electric.el (Electric-command-loop): Rename parameter
3415 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
3416
3417 * expand.el (expand-in-literal): Remove unused variable `here'.
3418
3419 * facemenu.el (facemenu-add-new-color):
3420 Remove unused variable `docstring'.
3421
3422 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
3423 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
3424 (face-attr-construct): Mark unused parameter. Doc fix.
3425 (read-color): Remove unused variable `hex-string'.
3426
3427 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
3428 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
3429 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
3430 (display-buffer-other-frame): Remove unused variable `old-window'.
3431 (kill-buffer-hook): Declare.
3432 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
3433 Mark unused parameters.
3434 (after-find-file): Pass 1 to `auto-save-mode', not t.
3435
3436 * files-x.el (auto-insert): Declare.
3437 (modify-file-local-variable-prop-line): Remove unused variable `val'.
3438
3439 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
3440 variable `buf'. Mark unused parameter.
3441 (find-lisp-insert-directory): Mark unused parameter.
3442
3443 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
3444 (format-encode-region): Remove unused variables `cur-buf' and `result'.
3445 (format-common-tail): Remove, unused.
3446 (format-deannotate-region): Remove unused variable `loc'.
3447 (format-annotate-region): Remove unused variable `p'.
3448 (format-annotate-single-property-change): Remove unused variables
3449 `default' and `tail'.
3450
3451 * forms.el (read-file-filter): Declare.
3452 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
3453
3454 * frame.el (frame-creation-function-alist): Mark unused parameter.
3455 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
3456
3457 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
3458 Remove unused parameters.
3459 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
3460 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
3461
3462 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
3463 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
3464 (hfy-prepare-tag-map): Mark unused parameters.
3465 (htmlfontify-buffer): Use `called-interactively-p'.
3466
3467 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
3468 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
3469 (ibuffer-do-occur): Mark unused parameters.
3470 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
3471 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
3472
3473 * ibuffer.el: Don't quote `lambda'.
3474 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
3475 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
3476 Mark unused parameters.
3477
3478 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
3479 (ido-completing-read): Mark unused parameters.
3480 (ido-copy-current-word): Mark unused parameters;
3481 remove unused variable `name'.
3482 (ido-sort-merged-list): Remove unused parameter `dirs'.
3483
3484 * ielm.el (ielm-input-sender): Mark unused parameter.
3485 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
3486 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
3487 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
3488 `ielm-string' as a dynamic variable accessible from the IELM prompt.
3489 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
3490
3491 * image-dired.el (image-dired-display-thumbs): Remove unused
3492 variables `curr-file' and `count'.
3493 (image-dired-remove-tag): Remove unused variable `start'.
3494 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
3495 variable `curr-file'
3496 (image-dired-rotate-original): Remove unused variable `temp-file'.
3497 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
3498 Remove unused variable `file'.
3499 (image-dired-gallery-generate): Remove unused variable `curr'.
3500 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
3501
3502 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
3503
3504 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
3505
3506 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
3507
3508 * isearch.el (minibuffer-history-symbol): Declare.
3509 (isearch-edit-string): Remove unused variable `err'.
3510 (isearch-message-prefix, isearch-message-suffix):
3511 Mark unused parameters.
3512
3513 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
3514
3515 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
3516
3517 * makesum.el (double-column): Remove unused variable `cnt'.
3518
3519 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
3520 (ido-ignore-item-temp-list): Declare.
3521
3522 * mouse-drag.el (mouse-drag-throw): Remove unused variables
3523 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
3524 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
3525 (mouse-drag-drag): Remove unused variables `mouse-delta' and
3526 `mouse-col-delta'.
3527
3528 * mouse-sel.el (mouse-extend-internal):
3529 Remove unused variable `orig-window-frame'.
3530
3531 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
3532 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
3533 Move declarations before first use.
3534 (pcomplete-opt): Mark unused parameters; doc fix.
3535
3536 * proced.el (proced-revert): Mark unused parameter.
3537 (proced-send-signal): Remove unused variable `err'.
3538
3539 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
3540 Rename parameter PREFIX-ARG to ARG.
3541 (ps-basic-plot-string, ps-basic-plot-whitespace):
3542 Mark unused parameters.
3543
3544 * replace.el (replace-count): Define.
3545 (occur-revert-function): Mark unused parameters.
3546 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
3547 (isearch-case-fold-search, isearch-string): Declare.
3548 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
3549 bind `case-fold-search'. Remove unused variables `beg' and `end',
3550 and simplify.
3551 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
3552 COUNT and bind `replace-count'.
3553 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
3554 to COUNT.
3555
3556 * savehist.el (print-readably, print-string-length): Declare.
3557
3558 * shadowfile.el (shadow-expand-cluster-in-file-name):
3559 Remove unused variable `cluster'.
3560 (shadow-copy-file): Remove unused variable `i'.
3561 (shadow-noquery, shadow-clusters, shadow-site-cluster)
3562 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
3563 (shadow-define-literal-group, shadow-define-regexp-group)
3564 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
3565
3566 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
3567 (shell): Use `called-interactively-p'.
3568 (shell-directory-tracker): Remove unused variable `chdir-failure'.
3569
3570 * simple.el (compilation-context-lines, comint-file-name-quote-list)
3571 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
3572 (delete-backward-char): Remove unused variable `ocol'.
3573 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
3574 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
3575 (event-apply-hyper-modifier, event-apply-shift-modifier)
3576 (event-apply-control-modifier, event-apply-meta-modifier):
3577 Mark unused parameters.
3578 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
3579 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
3580
3581 * speedbar.el (speedbar-ignored-directory-expressions)
3582 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
3583 (speedbar-find-file, speedbar-dir-follow)
3584 (speedbar-directory-buttons-follow, speedbar-tag-find)
3585 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
3586 (speedbar-buffers-line-directory, speedbar-buffer-click):
3587 Mark unused parameters.
3588 (speedbar-tag-file): Remove unused variable `mode'.
3589 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
3590
3591 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
3592
3593 * talk.el (talk): Remove unused variable `display'.
3594
3595 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
3596 (tar-write-region-annotate): Mark unused parameter.
3597
3598 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
3599 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
3600 Declare them, wrapped in `with-no-warnings' to avoid replacing one
3601 warning by another.
3602
3603 * time-stamp.el (time-stamp-string-preprocess):
3604 Remove unused variable `require-padding'.
3605
3606 * tree-widget.el (widget-glyph-enable): Declare.
3607 (tree-widget-action): Mark unused parameter.
3608
3609 * w32-fns.el (x-get-selection): Mark unused parameter.
3610 (autoload-make-program, generated-autoload-file): Declare.
3611
3612 * wdired.el (wdired-revert): Mark unused parameters.
3613 (wdired-xcase-word): Remove unused variable `err'.
3614
3615 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
3616 (whitespace-help-scroll): Remove unused variable `data-help'.
3617
3618 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
3619 (widget-image-insert, widget-after-change, default)
3620 (widget-default-format-handler, widget-default-notify)
3621 (widget-default-prompt-value, widget-info-link-action)
3622 (widget-url-link-action, widget-function-link-action)
3623 (widget-variable-link-action, widget-file-link-action)
3624 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
3625 (widget-field-prompt-internal, widget-field-action, widget-field-match)
3626 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
3627 (widget-insert-button-action, widget-delete-button-action, visibility)
3628 (widget-documentation-link-action, widget-documentation-string-action)
3629 (widget-const-prompt-value, widget-regexp-match, symbol)
3630 (widget-coding-system-prompt-value)
3631 (widget-key-sequence-value-to-external, sexp)
3632 (widget-sexp-value-to-internal, character, vector, cons)
3633 (widget-choice-prompt-value, widget-boolean-prompt-value)
3634 (widget-color--choose-action): Mark unused parameters.
3635 (widget-item-match-inline, widget-choice-match-inline)
3636 (widget-checklist-match, widget-checklist-match-inline)
3637 (widget-group-match): Rename parameter VALUES to VALS.
3638 (widget-field-value-set): Remove unused variable `size'.
3639 (widget-color-action): Remove unused variables `value' and `start'.
3640
3641 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
3642 variable `dir'. Doc fix.
3643 (windmove-find-other-window): Don't pass it.
3644
3645 * window.el (count-windows): Mark unused parameter.
3646 (bw-adjust-window): Remove unused variable `err'.
3647
3648 * woman.el (woman-file-name): Remove unused variable `default'.
3649 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
3650 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
3651 (global-font-lock-mode): Declare.
3652 (woman-decode-region): Mark unused parameter.
3653 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
3654
3655 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
3656 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
3657 (x-dnd-handle-moz-url): Remove unused variable `title'.
3658 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
3659
3660 * xml.el (xml-parse-tag, xml-parse-attlist):
3661 Remove unused variable `pos'.
3662
3663 2011-04-19 Glenn Morris <rgm@gnu.org>
3664
3665 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
3666 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3667 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3668 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
3669 * calendar/cal-html.el (cal-html-insert-minical):
3670 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
3671 (calendar-mark-date-pattern):
3672 Prefix "unused" locals.
3673
3674 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
3675 optional argument `style'.
3676
3677 * calendar/appt.el (appt-make-list):
3678 * calendar/cal-china.el (calendar-chinese-date-string):
3679 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
3680 (diary-hebrew-yahrzeit):
3681 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
3682 * calendar/calendar.el (calendar-generate-window):
3683 * calendar/time-date.el (time-to-days):
3684 Remove unused local variables.
3685
3686 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
3687
3688 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
3689 glyphless-char-display table.
3690 (tabulated-list-glyphless-char-display): New var.
3691
3692 2011-04-18 Sam Steingold <sds@gnu.org>
3693
3694 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
3695 to acknowledgments.
3696
3697 2011-04-17 Glenn Morris <rgm@gnu.org>
3698
3699 * calendar/diary-lib.el (diary-sexp-entry):
3700 * calendar/holidays.el (holiday-sexp):
3701 Set debug-on-error rather than the removed stack-trace-on-error.
3702
3703 2011-04-16 Glenn Morris <rgm@gnu.org>
3704
3705 * progmodes/f90.el: Use lexical-binding.
3706 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
3707
3708 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
3711 (mail-mode): Setup mailalias completion here instead.
3712 * mail/mailalias.el: Use lexical-binding.
3713 (pattern, mailalias-done): Declare dynamic.
3714 (mail-completion-at-point-function): New function, from mail-complete.
3715 (mail-complete): Use it.
3716 (mail-completion-expand): New function.
3717 (mail-get-names): Use it.
3718 (mail-directory, mail-directory-process, mail-directory-stream):
3719 Don't use `pattern' for lexically bound arg.
3720
3721 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
3722
3723 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
3724 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
3725 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
3726
3727 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
3728 (byte-save-window-excursion, byte-temp-output-buffer-setup)
3729 (byte-interactive-p): Define them again, for use when inlining
3730 old code.
3731
3732 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
3733
3734 * loadup.el: Use `string-to-number', not `string-to-int'.
3735
3736 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3737
3738 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
3739 gud-gdb-complete-command.
3740 (gud-gdb-completions): New function, from gud-gdb-complete-command.
3741 (gud-gdb-completion-at-point): New function.
3742 (gud-gdb-completions): Remove.
3743
3744 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
3745
3746 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
3747 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
3748 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
3749 whether `executable-find' is bound.
3750
3751 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
3752
3753 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 * minibuffer.el (completion-in-region-mode-predicate)
3756 (completion-in-region-mode--predicate): New vars.
3757 (completion-in-region, completion-in-region--postch)
3758 (completion-in-region-mode): Use them.
3759 (completion--capf-wrapper): Also return the hook function.
3760 (completion-at-point, completion-help-at-point):
3761 Adjust and provide a predicate.
3762
3763 Preserve arg names for advice of subr and lexical functions (bug#8457).
3764 * help-fns.el (help-function-arglist): Consolidate the subr and
3765 new-byte-code cases. Add argument `preserve-names' to extract names
3766 from the docstring when needed.
3767 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
3768 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
3769 (ad-arglist): Use help-function-arglist's new arg.
3770 (ad-definition-type): Use cond.
3771
3772 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
3773
3774 * autorevert.el (auto-revert-handler):
3775 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
3776 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
3777 Don't quote lambda.
3778
3779 * image-mode.el (image-transform-set-scale):
3780 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
3781
3782 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3783
3784 * net/network-stream.el (network-stream-open-starttls): Only do
3785 opportunistic STARTTLS upgrades if we have built-in gnutls support.
3786 Upgrades via gnutls-cli are too slow to be done opportunistically.
3787
3788 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
3789
3790 * dframe.el (dframe-current-frame): Remove spurious quote.
3791
3792 2011-04-12 Glenn Morris <rgm@gnu.org>
3793
3794 * calendar/cal-tex.el (cal-tex-end-document):
3795 Try to automatically use latin1 input if needed.
3796
3797 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
3798 Don't try to cons a mark onto an empty element.
3799
3800 2011-04-11 Leo Liu <sdl.web@gmail.com>
3801
3802 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
3803 buffers.
3804 (ido-kill-buffer-at-head): Support killing virtual buffers.
3805
3806 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
3807
3808 * minibuffer.el (completion-show-inline-help): New var.
3809 (completion--do-completion, minibuffer-complete)
3810 (minibuffer-force-complete, minibuffer-complete-word):
3811 Inhibit minibuffer messages if completion-show-inline-help is nil.
3812
3813 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
3814 to avoid interference from inline help (Bug#5849).
3815
3816 2011-04-10 Leo Liu <sdl.web@gmail.com>
3817
3818 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3819 Fix typo.
3820
3821 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
3822
3823 * image-mode.el (image-toggle-display-image): Signal an error if
3824 not in Image mode.
3825 (image-transform-mode, image-transform-resize)
3826 (image-transform-set-rotation): Doc fix.
3827 (image-transform-set-resize): Delete.
3828 (image-transform-set-scale, image-transform-fit-to-height)
3829 (image-transform-fit-to-width): Handle image-toggle-display-image
3830 and image-transform-resize directly.
3831
3832 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
3833
3834 * doc-view.el (doc-view-fit-width-to-window)
3835 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
3836 New functions for fitting the shown image to the Emacs window size.
3837 (doc-view-mode-map): Add bindings for the new functions.
3838
3839 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
3840
3841 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
3842 Fix typo in docstring.
3843
3844 2011-04-08 Eli Zaretskii <eliz@gnu.org>
3845
3846 * files.el (file-size-human-readable): Produce one digit after
3847 decimal, like "ls -lh" does.
3848
3849 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
3850 the file size representation.
3851
3852 * simple.el (list-processes): If async subprocesses are not
3853 available, error out with a clear error message.
3854
3855 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
3856
3857 * help.el (help-form-show): New function, to be called from C.
3858 Put help-form output in a buffer named differently than *Help*.
3859
3860 2011-04-08 Eli Zaretskii <eliz@gnu.org>
3861
3862 * files.el (file-size-human-readable): New function.
3863
3864 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
3865 computing the representation inline. Don't require `cl'.
3866
3867 2011-04-08 Glenn Morris <rgm@gnu.org>
3868
3869 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
3870
3871 * net/browse-url.el (browse-url-firefox):
3872 Test system-type, not system-configuration.
3873
3874 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
3875 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
3876 Use log-edit-empty-buffer-p. (Bug#7598)
3877
3878 * net/rlogin.el (rlogin-process-connection-type): Simplify.
3879 (rlogin-mode-map): Initialize in the defvar.
3880 (rlogin): Use ignore-errors.
3881
3882 * replace.el (occur-mode-map): Some fixes for menu items.
3883
3884 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3885
3886 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
3887
3888 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
3889
3890 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
3891 issuing unused warnings.
3892
3893 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
3894 macro directly.
3895
3896 * simple.el: Lisp reimplement of list-processes. Based on an
3897 earlier reimplementation by Leo Liu, but using tabulated-list.el.
3898 (process-menu-mode): New major mode.
3899 (list-processes--refresh, list-processes):
3900 (process-menu-visit-buffer): New functions.
3901
3902 * files.el (save-buffers-kill-emacs): Don't assume any return
3903 value of list-processes, which is undocumented anyway.
3904
3905 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
3906
3907 * emacs-lisp/tabulated-list.el: New file.
3908
3909 * emacs-lisp/package.el: Use Tabulated List mode.
3910 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
3911 (package-menu-mode): Derive from tabulated-list-mode. Set up the
3912 table format using Tabulated List mode variables.
3913 (package--push): New macro, replacing package-list-maybe-add.
3914 (package-menu--generate): Use package--push. Renamed from
3915 package--generate-package-list.
3916 (package-menu-refresh, list-packages): Use it.
3917 (package-menu--print-info): Rename from package-print-package.
3918 Return insertion data instead of inserting it directly.
3919 (package-menu-describe-package, package-menu-execute):
3920 Use tabulated-list-get-id.
3921 (package-menu-mark-delete, package-menu-mark-install)
3922 (package-menu-mark-unmark, package-menu-backup-unmark)
3923 (package-menu-mark-obsolete-for-deletion):
3924 Use tabulated-list-put-tag.
3925 (package--list-packages, package-menu-revert)
3926 (package-menu-get-package, package-menu-get-version)
3927 (package-menu-sort-by-column): Functions deleted.
3928 (package-menu-package-list, package-menu-sort-key): Vars deleted.
3929 (package-menu--status-predicate, package-menu--version-predicate)
3930 (package-menu--name-predicate)
3931 (package-menu--description-predicate): Handle arguments in the
3932 Tabulated List format.
3933 (package-list-packages-no-fetch): Call list-packages.
3934
3935 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
3936
3937 * files.el (after-find-file-from-revert-buffer): Remove variable.
3938 (after-find-file): Don't bind it.
3939 (revert-buffer-in-progress-p): New variable.
3940 (revert-buffer): Bind it.
3941 Pass nil for `after-find-file-from-revert-buffer'.
3942
3943 * saveplace.el (save-place-find-file-hook): Use new variable
3944 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
3945
3946 2011-04-06 Glenn Morris <rgm@gnu.org>
3947
3948 * Makefile.in (AUTOGEN_VCS): New variable.
3949 (autoloads): Use $AUTOGEN_VCS.
3950
3951 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
3952 * calendar/calendar.el (calendar-mode-map):
3953 Check for toolkit scroll bars. (Bug#8305)
3954
3955 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
3956
3957 * minibuffer.el (completion-in-region--postch)
3958 (completion-in-region-mode): Remove unnecessary messages.
3959
3960 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
3961
3962 * font-lock.el (font-lock-refresh-defaults):
3963 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
3964 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
3965
3966 * info.el (Info-directory-list, Info-read-node-name-2)
3967 (Info-split-parameter-string): Doc fixes.
3968 (Info-virtual-nodes): Reflow docstring.
3969 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
3970 (Info-apropos-toc-nodes, info-finder, Info-get-token)
3971 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
3972 Fix typos in docstrings.
3973 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
3974 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
3975 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
3976 (Info-restore-desktop-buffer): Mark unused parameters.
3977 (Info-directory-find-file, Info-directory-find-node)
3978 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
3979 (Info-virtual-index-find-node, Info-apropos-find-file)
3980 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
3981 Mark unused parameters; fix typos in docstrings.
3982 (Info-virtual-index): Remove unused local variable `nodename'.
3983
3984 2011-04-05 Deniz Dogan <deniz@dogan.se>
3985
3986 * net/rcirc.el: Update my e-mail address.
3987 (rcirc-mode-map): Remove M-o binding.
3988
3989 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
3990
3991 * startup.el (command-line): Save the cursor's theme-face
3992 directly, instead of using face-override-spec.
3993
3994 * custom.el (load-theme): Minor optimization in assigning faces.
3995
3996 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
3997
3998 * help-fns.el (describe-variable): Complete all variables having
3999 documentation, including keywords.
4000 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
4001
4002 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
4003
4004 Convert to lexical-binding.
4005
4006 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
4007 (bs--get-marked-string, bs--get-modified-string)
4008 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
4009 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
4010 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
4011
4012 * ehelp.el (electric-help-execute-extended)
4013 (electric-help-ctrl-x-prefix):
4014 * hexl.el (hexl-revert-buffer-function):
4015 * linum.el (linum-after-change, linum-after-scroll):
4016 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
4017
4018 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
4019
4020 2011-04-04 Daiki Ueno <ueno@unixuser.org>
4021
4022 * epa-dired.el:
4023 * epa-mail.el:
4024 * epa-hook.el:
4025 * epa-file.el:
4026 * epa.el:
4027 * epg.el: Use lexical binding.
4028
4029 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
4030
4031 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
4032
4033 * textmodes/flyspell.el (flyspell-word): Recognize default
4034 dictionary case for flyspell-mark-duplications-exceptions.
4035 Use regexp matching for languages.
4036 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
4037 default dictionary (Bug#7926).
4038
4039 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
4040
4041 * emacs-lisp/package.el (package--with-work-buffer):
4042 Recognize https URLs.
4043
4044 * net/network-stream.el: Move from gnus/proto-stream.el.
4045 Change prefix to network-stream throughout.
4046 (open-protocol-stream): Merge into open-network-stream, leaving
4047 open-protocol-stream as an alias. Handle nil BUFFER args.
4048
4049 * subr.el (open-network-stream): Move to net/network-stream.el.
4050
4051 2011-04-02 Glenn Morris <rgm@gnu.org>
4052
4053 * find-dired.el (find-exec-terminator): New option.
4054 (find-ls-option): Test for -ls support.
4055 (find-ls-subdir-switches): Test for -b in find-ls-option.
4056 (find-dired, find-grep-dired): Doc fixes.
4057 (find-dired): Use find-exec-terminator.
4058
4059 * find-dired.el (find-ls-option, find-ls-subdir-switches)
4060 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
4061 (find-name-arg): Remove purecopy.
4062
4063 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
4064 (grep-compute-defaults): Check for `-exec COMMAND +' support.
4065 Set grep-find-use-xargs, grep-find-command, and grep-find-template
4066 accordingly. Don't add the null-device if not needed.
4067
4068 * files.el (save-some-buffers): Doc fix.
4069
4070 2011-04-02 Eli Zaretskii <eliz@gnu.org>
4071
4072 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
4073
4074 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
4075
4076 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
4077 Use `dolist' rather than `mapcar'.
4078
4079 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 Add lexical binding.
4082
4083 * subr.el (apply-partially): Use new closures rather than CL.
4084 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
4085 (dolist, dotimes): Use slightly different expansion for lexical code.
4086 (functionp): Move to C.
4087 (letrec): New macro.
4088 (with-wrapper-hook): Use it and apply-partially instead of CL.
4089 (eval-after-load): Preserve lexical-binding.
4090 (save-window-excursion, with-output-to-temp-buffer): Turn them
4091 into macros.
4092
4093 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
4094
4095 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
4096 than the arglist.
4097 (help-add-fundoc-usage): Don't add `Not documented'.
4098 (help-function-arglist): Handle closures, subroutines, and new
4099 byte-code-functions.
4100 (help-make-usage): Remove leading underscores.
4101 (describe-function-1): Handle closures.
4102 (describe-variable): Use special-variable-p for completion.
4103
4104 * files.el (lexical-binding): Declare safe.
4105
4106 * emacs-lisp/pcase.el: Don't use destructuring-bind.
4107 (pcase--memoize): Rename from pcase-memoize. Change weakness.
4108 (pcase): Add `let' pattern.
4109 Change memoization so it actually works.
4110 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
4111 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
4112 <let>: New case.
4113
4114 * emacs-lisp/macroexp.el: Use lexical binding.
4115 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
4116 Don't convert ' to #' without checking that it's indeed quoting
4117 a lambda.
4118
4119 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
4120 Use eval-sexp-add-defvars.
4121 (eval-sexp-add-defvars): New fun.
4122
4123 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
4124
4125 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
4126 Don't autoload.
4127 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
4128 than the internal `byte-compile-lambda'.
4129 (defmethod): Don't hide code under quotes.
4130 (eieio-defmethod): New `code' argument.
4131
4132 * emacs-lisp/eieio-comp.el: Remove.
4133
4134 * emacs-lisp/edebug.el (edebug-eval-defun)
4135 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
4136 (edebug-toggle): Avoid `eval'.
4137
4138 * emacs-lisp/disass.el (disassemble-internal): Handle new
4139 `closure' objects.
4140 (disassemble-1): Handle new byte codes.
4141
4142 * emacs-lisp/cl.el (pushnew): Silence warning.
4143
4144 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
4145 (cl-byte-compile-throw): Remove.
4146 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
4147
4148 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
4149 closures.
4150
4151 * emacs-lisp/cconv.el: New file.
4152
4153 * emacs-lisp/bytecomp.el: Use lexical binding instead of
4154 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
4155 (byte-compile-initial-macro-environment):
4156 Handle declare-function here.
4157 (byte-compile--lexical-environment): New var.
4158 (byte-stack-ref, byte-stack-set, byte-discardN)
4159 (byte-discardN-preserve-tos): New lap codes.
4160 (byte-interactive-p): Don't use any more.
4161 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
4162 New macros.
4163 (byte-compile-lapcode): Use them and handle new lap codes.
4164 (byte-compile-obsolete): Remove.
4165 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
4166 (byte-compile-arglist-warn): Check late def of inlinable funs.
4167 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
4168 since they should have been expanded by now.
4169 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
4170 (byte-compile-from-buffer): Remove unused second arg.
4171 (byte-compile-preprocess): New function.
4172 (byte-compile-toplevel-file-form): New function to distinguish
4173 file-form calls from outside from file-form calls from hunk-handlers.
4174 (byte-compile-file-form): Simplify.
4175 (byte-compile-file-form-defsubst): Remove.
4176 (byte-compile-file-form-defmumble): Simplify now that
4177 byte-compile-lambda always returns a byte-code-function.
4178 (byte-compile): Preprocess.
4179 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
4180 Remove, not used any more.
4181 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
4182 (byte-compile-make-args-desc): New funs.
4183 (byte-compile-lambda): Handle lexical functions. Always return
4184 a byte-code-function.
4185 (byte-compile-reserved-constants): New var, to make up room for
4186 closed-over variables.
4187 (byte-compile-constants-vector): Obey it.
4188 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
4189 (byte-compile-macroexpand-declare-function): New function.
4190 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
4191 byte-code-functions.
4192 (byte-compile-form): Check obsolescence here.
4193 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
4194 (byte-compile-variable-ref): Remove.
4195 (byte-compile-dynamic-variable-op): New fun.
4196 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
4197 (byte-compile-variable-set): New funs.
4198 (byte-compile-discard): Add 2 args.
4199 (byte-compile-stack-ref, byte-compile-stack-set)
4200 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
4201 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
4202 macroexpand-all instead.
4203 (byte-compile-quote-form): Remove.
4204 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
4205 (byte-compile-bind, byte-compile-unbind): New funs.
4206 (byte-compile-let): Handle let* and lexical binding.
4207 (byte-compile-let*): Remove.
4208 (byte-compile-catch, byte-compile-unwind-protect)
4209 (byte-compile-track-mouse, byte-compile-condition-case):
4210 Handle a new :fun-body form, used for lexical scoping.
4211 (byte-compile-save-window-excursion)
4212 (byte-compile-with-output-to-temp-buffer): Remove.
4213 (byte-compile-defun): Simplify.
4214 (byte-compile-stack-adjustment): New fun.
4215 (byte-compile-out): Use it.
4216 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
4217
4218 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
4219 handler any more.
4220
4221 * emacs-lisp/byte-opt.el: Use lexical binding.
4222 (byte-inline-lapcode): Remove (to bytecomp).
4223 (byte-compile-inline-expand): Pay attention to inlining to/from
4224 lexically bound code.
4225 (byte-compile-unfold-lambda): Don't handle byte-code-functions
4226 any more.
4227 (byte-optimize-form-code-walker): Don't handle save-window-excursion
4228 any more and don't call compiler-macros.
4229 (byte-compile-splice-in-already-compiled-code): Remove.
4230 (byte-code): Don't inline any more.
4231 (disassemble-offset): Receive `bytes' as argument rather than via
4232 dynamic scoping.
4233 (byte-compile-tag-number): Declare before first use.
4234 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
4235 `return' even if make-spliceable.
4236 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
4237 obsolete interactive-p.
4238 (byte-optimize-lapcode): Optimize new lap-codes.
4239 Don't trip up on new form of `byte-constant' lap code.
4240
4241 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
4242
4243 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
4244
4245 * custom.el (custom-initialize-default, custom-declare-variable):
4246 Use `defvar'.
4247
4248 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
4249 New variables.
4250 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
4251 (COMPILE_FIRST): Add macroexp and cconv.
4252 * makefile.w32-in: Mirror changes in Makefile.in.
4253
4254 * vc/cvs-status.el:
4255 * vc/diff-mode.el:
4256 * vc/log-edit.el:
4257 * vc/log-view.el:
4258 * vc/smerge-mode.el:
4259 * textmodes/bibtex-style.el:
4260 * textmodes/css.el:
4261 * startup.el:
4262 * uniquify.el:
4263 * minibuffer.el:
4264 * newcomment.el:
4265 * reveal.el:
4266 * server.el:
4267 * mpc.el:
4268 * emacs-lisp/smie.el:
4269 * doc-view.el:
4270 * dired.el:
4271 * abbrev.el: Use lexical binding.
4272
4273 2011-04-01 Eli Zaretskii <eliz@gnu.org>
4274
4275 * info.el (info-display-manual): New function.
4276
4277 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4278
4279 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
4280
4281 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
4282
4283 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
4284 an entry for that server in rcirc-authinfo. (Bug#8385)
4285
4286 2011-03-31 Glenn Morris <rgm@gnu.org>
4287
4288 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
4289
4290 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
4291
4292 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
4293
4294 * progmodes/python.el (python-default-interpreter)
4295 (python-python-command-args, python-jython-command-args)
4296 (python-which-shell, python-which-args, python-which-bufname)
4297 (python-file-queue, python-comint-output-filter-function)
4298 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
4299 variables and functions.
4300
4301 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4302
4303 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
4304 (completion-in-region-mode): New minor mode.
4305 (completion-in-region): Use it.
4306 (completion-in-region--data, completion-in-region-mode-map): New vars.
4307 (completion-in-region--postch): New function.
4308 (completion--capf-misbehave-funs, completion--capf-safe-funs):
4309 New vars.
4310 (completion--capf-wrapper): New function.
4311 (completion-at-point): Use it to track well-behavedness of
4312 hook functions.
4313 (completion-help-at-point): New command.
4314
4315 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
4316
4317 * vc/add-log.el (add-change-log-entry): Don't use whitespace
4318 syntax class to search for whitespace on a single line
4319 (Message-ID: <4D938140.4030905@redhat.com>).
4320
4321 2011-03-30 Leo Liu <sdl.web@gmail.com>
4322
4323 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
4324 New commands.
4325 (edit-abbrevs-map): Bind them here.
4326 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
4327
4328 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
4329
4330 * allout.el (allout-hide-by-annotation, allout-flag-region):
4331 Reduce possibility of overlay leakage by making them volatile.
4332
4333 * allout-widgets.el (allout-widgets-tally): Define as nil so the
4334 hash is not shared between buffers. Mode initialization is
4335 responsible for giving it a useful starting value.
4336 (allout-item-span): Reduce possibility of overlay leakage by
4337 making them volatile.
4338 (allout-widgets-count-buttons-in-region): Add diagnostic function
4339 for tracking down button overlay leaks.
4340
4341 2011-03-29 Leo Liu <sdl.web@gmail.com>
4342
4343 * ido.el (ido-read-internal): Use the default history var
4344 minibuffer-history if no HISTORY is specified.
4345
4346 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
4347
4348 * net/imap.el (imap-shell-open, imap-process-connection-type):
4349 Use imap-process-connection-type for 'shell' streams as well as
4350 Kerberos, SSL, other subprocesses.
4351
4352 2011-03-28 Leo Liu <sdl.web@gmail.com>
4353
4354 * abbrev.el (abbrev-table-empty-p): New function.
4355 (prepare-abbrev-list-buffer): Place empty abbrev tables after
4356 nonempty ones. (Bug#5937)
4357
4358 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
4359
4360 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
4361
4362 2011-03-27 Leo Liu <sdl.web@gmail.com>
4363
4364 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
4365 for foreground and background colors.
4366 (ansi-color-make-color-map): Adapt.
4367
4368 2011-03-25 Leo Liu <sdl.web@gmail.com>
4369
4370 * midnight.el (midnight-time-float): Remove. Note it calculates
4371 the microsecond component incorrectly and seconds-to-time does the
4372 same job.
4373 Remove redundant (require 'timer).
4374
4375 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
4376 (ido-completions): Remove unused arguments. (Bug#8329)
4377
4378 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
4379
4380 * minibuffer.el (completion--flush-all-sorted-completions):
4381 Remove itself from hook.
4382 (completion-at-point): Let the functions perform the completion
4383 immediately and return nil or t.
4384 * comint.el (comint-dynamic-complete-functions): Now identical to
4385 completion-at-point-functions.
4386 (comint-dynamic-list-input-ring): Remove unused var `index'.
4387 (comint--match-partial-filename, comint--unquote&expand-filename):
4388 New funs, split from comint-match-partial-filename.
4389 (comint-dynamic-complete): Use completion-at-point.
4390 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
4391
4392 2011-03-24 Drew Adams <drew.adams@oracle.com>
4393
4394 * thingatpt.el: Support `defun'.
4395
4396 2011-03-23 Leo Liu <sdl.web@gmail.com>
4397
4398 * abbrevlist.el: Move to obsolete/abbrevlist.el.
4399
4400 * help-mode.el (help-mode-finish): Tweak regexp.
4401
4402 2011-03-23 Glenn Morris <rgm@gnu.org>
4403
4404 * eshell/esh-opt.el (eshell-eval-using-options):
4405 Do not bind unused local variable `eshell-option-stub'.
4406
4407 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
4408
4409 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
4410
4411 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
4412 keymap variable in `with-no-warnings' to avoid a warning when the
4413 keymap has been already `defconst'ed.
4414
4415 2011-03-22 Leo Liu <sdl.web@gmail.com>
4416
4417 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
4418 encode all chars in abbrevs; otherwise use emacs-mule or
4419 utf-8-emacs. (Bug#8308)
4420
4421 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
4422
4423 * simple.el (backward-delete-char-untabify):
4424 Avoid warning about using `delete-backward-char'.
4425
4426 * image.el (image-type-file-name-regexps): Make it variable.
4427 `imagemagick-register-types' modifies it, and the user may want
4428 to add new extensions for known image types.
4429 (imagemagick-register-types): Throw error if not using ImageMagick.
4430
4431 2011-03-22 Leo Liu <sdl.web@gmail.com>
4432
4433 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
4434 located before rcirc-prompt-end-marker.
4435 (rcirc-complete): Error if point is not after rcirc prompt.
4436 Handle the case when table is nil.
4437 (rcirc-user-authenticated): Define to fix compiler warning.
4438
4439 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
4440
4441 * custom.el (custom--inhibit-theme-enable): Make it affect only
4442 custom-theme-set-variables and custom-theme-set-faces.
4443 (provide-theme): Ignore custom--inhibit-theme-enable.
4444 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
4445 (custom-enabling-themes): Delete variable.
4446 (enable-theme): Accept only loaded themes as arguments.
4447 Ignore the special custom-enabled-themes variable.
4448 (custom-enabled-themes): Forbid themes from setting this.
4449 Eliminate use of custom-enabling-themes.
4450 (custom-push-theme): Quote "changed" custom var entry.
4451
4452 2011-03-21 Leo Liu <sdl.web@gmail.com>
4453
4454 * ido.el (ido-read-internal): Add ido-selected to history instead
4455 of user input.
4456
4457 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4458
4459 * subr.el (deferred-action-list, deferred-action-function):
4460 Mark obsolete.
4461
4462 2011-03-21 Leo Liu <sdl.web@gmail.com>
4463
4464 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
4465 change on 2011-02-13 (bug#8309).
4466
4467 * minibuffer.el (read-file-name-function): Change default value.
4468 (read-file-name--defaults): Rename from read-file-name-defaults.
4469 (read-file-name-default): Rename from read-file-name.
4470 (read-file-name): Call read-file-name-function.
4471
4472 2011-03-21 Glenn Morris <rgm@gnu.org>
4473
4474 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
4475 Doc fixes.
4476
4477 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
4478
4479 * cus-theme.el: Add missing provide statement.
4480 (customize-create-theme): Extract theme value correctly.
4481 (custom-theme-visit-theme): Autoload.
4482 (customize-create-theme): Prompt before inserting default faces.
4483
4484 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
4485
4486 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
4487 units and musical notes.
4488
4489 2011-03-20 Leo <sdl.web@gmail.com>
4490
4491 * ido.el (ido-read-internal): Use completing-read-default.
4492 (ido-completing-read): Fix compatibility with completing-read.
4493
4494 2011-03-20 Christian Ohler <ohler@gnu.org>
4495
4496 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
4497 (ert-delete-all-tests): Use `called-interactively-p' rather than
4498 `interactive-p'.
4499 (ert--make-xrefs-region): Respect END.
4500
4501 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
4502
4503 * dired-aux.el (dired-create-directory): Signal an error if the
4504 directory already exists (Bug#8246).
4505
4506 * facemenu.el (list-colors-display): Call list-faces-display
4507 inside with-help-window.
4508 (list-colors-print): Use display property to align the final
4509 column, instead of checking window-width.
4510
4511 2011-03-19 Eli Zaretskii <eliz@gnu.org>
4512
4513 * emerge.el (emerge-metachars): Separate value for ms-dos and
4514 windows-nt systems.
4515 (emerge-protect-metachars): Quote correctly for ms-dos and
4516 windows-nt systems.
4517
4518 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
4519
4520 * info.el (info-initialize): Replace all uses of `:' with
4521 path-separator for compatibility with non-Unix systems.
4522 Cache quoting of path-separator. (Bug#8258)
4523
4524 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
4525
4526 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
4527 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
4528 (mouse-avoidance-mode): Fix typos in docstrings.
4529
4530 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
4531
4532 * startup.el (package-subdirectory-regexp): Move from package.el.
4533 Omit \\` and \\', and let callers add them.
4534
4535 * emacs-lisp/package.el (package-strip-version)
4536 (package-load-all-descriptors): Add \\` and \\' to
4537 package-subdirectory-regexp before using it.
4538 (package-untar-buffer): New arg DIR; ensure that file untars only
4539 into this expected directory. Remove superfluous delete-region.
4540 (package-unpack): Caller changed.
4541 (package-tar-file-info): Use package-subdirectory-regexp.
4542
4543 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
4544
4545 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
4546 diff-mode-shared-map (bug#8284).
4547 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
4548
4549 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4550
4551 * calendar/time-date.el (format-seconds): Use assoc instead of
4552 assoc-string, since assoc-string doesn't exist in XEmacs.
4553
4554 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
4555
4556 * custom.el (custom-known-themes): Reflow docstring.
4557 (custom-theme-load-path): Fix typo in docstring.
4558 (load-theme): Fix typo in error message.
4559 (custom-available-themes, custom-variable-theme-value):
4560 Use `let', not `let*'.
4561
4562 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
4563
4564 * calc/README: Mention inclusion of musical notes.
4565
4566 * calc/calc-units.el (calc-lu-quant): Rename from
4567 `calc-logunits-quantity'.
4568 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
4569 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
4570 (calc-db): Rename from `calc-dblevel'.
4571 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
4572 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
4573 (calc-np): Rename from `calc-nplevel'.
4574 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
4575 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
4576 (calc-lu-plus): Rename from `calc-logunits-add'.
4577 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
4578 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
4579 (calc-lu-minus): Rename from `calc-logunits-sub'.
4580 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
4581 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
4582 (calc-lu-times): Rename from `calc-logunits-mul'.
4583 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
4584 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
4585 (calc-lu-divide): Rename from `calc-logunits-div'.
4586 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
4587 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
4588
4589 * calc/calc-ext.el (calc-init-extensions): Update the names of the
4590 functions being autoloaded.
4591
4592 * calc/calc.el (calc-lu-power-reference): Rename from
4593 `calc-logunits-power-reference'.
4594 (calc-lu-field-reference): Rename from
4595 `calc-logunits-field-reference'.
4596
4597 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
4598
4599 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
4600
4601 * minibuffer.el (completion-all-sorted-completions):
4602 Use :completion-cycle-penalty text property if present.
4603
4604 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
4605
4606 * allout.el (allout-yank-processing): Adjust for new rebulleting
4607 regime so bullet being yanked is used without prompting the user
4608 for a choice.
4609
4610 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
4611
4612 * startup.el (command-line): Warn the user that _emacs is deprecated.
4613
4614 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
4615
4616 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
4617 (delphi-verbose, delphi-comment-face, delphi-string-face)
4618 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
4619 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
4620 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
4621 (delphi-new-comment-line, delphi-font-lock-defaults)
4622 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
4623 Fix typos in docstrings.
4624
4625 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
4626
4627 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
4628 Invert the roles of character and string values for INSTEAD, so a
4629 string is used for the more common case of a defaulting prompt.
4630
4631 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4632
4633 * progmodes/ruby-mode.el (ruby-backward-sexp):
4634 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
4635 * play/gamegrid.el (gamegrid-make-face):
4636 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
4637 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
4638 * notifications.el (notifications-notify):
4639 * net/xesam.el (xesam-search-engines):
4640 * net/quickurl.el (quickurl-list-insert):
4641 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
4642
4643 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
4644
4645 * startup.el (command-line): Update package subdirectory regexp.
4646
4647 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4648
4649 * allout.el (allout-abbreviate-flattened-numbering)
4650 (allout-mode-deactivate-hook): Fix up obsolescence "date".
4651
4652 * subr.el (read-char-choice): Only show the cursor after the prompt,
4653 not after the answer.
4654
4655 2011-03-15 Kevin Ryde <user42@zip.com.au>
4656
4657 * help-fns.el (variable-at-point): Skip leading quotes, if any
4658 (bug#8253).
4659
4660 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4661
4662 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
4663 warning message.
4664
4665 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
4666
4667 * shell.el (shell): When called interactively, offer to change the
4668 shell file name on remote hosts.
4669
4670 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
4671
4672 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
4673 integration for LDAP parameters. The host, base, user or binddn,
4674 and secret tokens can be specified in a netrc file, for instance.
4675 This is optional because an `auth-source' parameter must be
4676 specified in the search attributes.
4677
4678 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
4679
4680 * help.el (describe-mode): Link to the mode's definition (bug#8185).
4681
4682 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4683
4684 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
4685 into declaration. Remove redundant and harmful binding.
4686
4687 2011-03-12 Eli Zaretskii <eliz@gnu.org>
4688
4689 * files.el (file-ownership-preserved-p): Pass `integer' as an
4690 explicit 2nd argument to `file-attributes'. If the file's owner
4691 is the Administrators group on Windows, and the current user is
4692 Administrator, consider that a match.
4693
4694 * server.el (server-ensure-safe-dir): Consider server directory
4695 safe on MS-Windows if its owner is the Administrators group while
4696 the current Emacs user is Administrator. Use `=' to compare
4697 numerical UIDs, since they could be integers or floats.
4698
4699 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
4700
4701 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
4702
4703 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
4704
4705 Sync with Tramp 2.2.1.
4706
4707 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
4708
4709 * net/trampver.el: Update release number.
4710
4711 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4712
4713 * progmodes/compile.el (compilation--previous-directory): Fix up
4714 various nil/dead-marker mismatches (bug#8014).
4715 (compilation-directory-properties, compilation-error-properties):
4716 Don't call it at a position past the one we're about to change.
4717
4718 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
4719 Disable obsolescence warnings in the file that declares it.
4720
4721 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
4722
4723 * allout-widgets.el (allout-widgets-tally):
4724 Initialize allout-widgets-tally as a hash table rather than nil to
4725 prevent mode-line redisplay warnings. Also, clarify the module
4726 description and fix a comment typo.
4727
4728 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
4729
4730 * help-fns.el (describe-variable): Don't complete keywords.
4731 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
4732
4733 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
4734
4735 * emacs-lisp/package.el (package-version-join): Impose a standard
4736 string representation for pre/alpha/beta version lists.
4737 (package-unpack-single): Standardize the directory name by passing
4738 it through package-version-join.
4739 (package-strip-rcs-id): Accept any version string that does not
4740 signal an error in version-to-list.
4741
4742 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
4743
4744 * simple.el (delete-trailing-whitespace): Return nil for the
4745 benefit of `write-file-functions'.
4746
4747 2011-03-10 Glenn Morris <rgm@gnu.org>
4748
4749 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
4750
4751 * vc/vc-git.el (vc-git-program): New option.
4752 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
4753 (vc-git--call): Use it.
4754
4755 * eshell/esh-util.el (eshell-condition-case): Doc fix.
4756
4757 * cus-edit.el (Custom-newline): If no button at point, look
4758 for a subgroup button at start-of-line. (Bug#2298)
4759
4760 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
4761
4762 2011-03-10 Julien Danjou <julien@danjou.info>
4763
4764 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
4765 `cursor-type' is nil.
4766
4767 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
4768
4769 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
4770
4771 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
4772
4773 * allout.el Summary: Change so yank of distinctive-bullet items
4774 preserves the existing header prefix, rebulleting it if necessary,
4775 rather than replacing it. This is necessary for proper operation
4776 of cooperative addons like allout-widgets.
4777 (allout-make-topic-prefix, allout-rebullet-heading): Change
4778 SOLICIT arg to INSTEAD, and interpret additionally a string value
4779 as alternate bullet to be used, instead of prompting the user for
4780 a bullet character.
4781
4782 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
4783
4784 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4785 Do not use `tramp-file-name-port', because this returns also
4786 `tramp-default-port'.
4787
4788 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4789
4790 * net/rcirc.el (rcirc-handler-001): Remove useless
4791 with-rcirc-process-buffer.
4792 (rcirc-check-auth-status): Swap arguments to string-match.
4793
4794 2011-03-09 Glenn Morris <rgm@gnu.org>
4795
4796 * shell.el (shell-mode):
4797 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
4798
4799 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
4800 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
4801
4802 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
4803
4804 * emacs-lisp/package.el (package-refresh-contents)
4805 (package-menu-execute): Use condition-case-no-debug.
4806
4807 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
4808
4809 * simple.el (shell-command-to-string): Use `process-file'.
4810
4811 * emacs-lisp/package.el (package-tar-file-info): Handle also
4812 remote files.
4813
4814 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4815 Use `equal' for upload base check.
4816
4817 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
4818
4819 * textmodes/texinfo.el (texinfo-environments):
4820 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
4821
4822 2011-03-08 Glenn Morris <rgm@gnu.org>
4823
4824 * cus-start.el (cursor-in-non-selected-windows):
4825 Fix :set quoting oddness. (Bug#8192)
4826
4827 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
4828 in some setf expressions. (Bug#2159)
4829
4830 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
4831
4832 * custom.el (custom-available-themes): Return themes in
4833 alphabetical order.
4834
4835 See ChangeLog.15 for earlier changes.
4836
4837 ;; Local Variables:
4838 ;; coding: utf-8
4839 ;; End:
4840
4841 Copyright (C) 2011 Free Software Foundation, Inc.
4842
4843 This file is part of GNU Emacs.
4844
4845 GNU Emacs is free software: you can redistribute it and/or modify
4846 it under the terms of the GNU General Public License as published by
4847 the Free Software Foundation, either version 3 of the License, or
4848 (at your option) any later version.
4849
4850 GNU Emacs is distributed in the hope that it will be useful,
4851 but WITHOUT ANY WARRANTY; without even the implied warranty of
4852 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4853 GNU General Public License for more details.
4854
4855 You should have received a copy of the GNU General Public License
4856 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.