Using saved parent location: http://bzr.savannah.gnu.org/r/emacs/trunk/ Now on revision 102624. ------------------------------------------------------------ revno: 102624 committer: Glenn Morris branch nick: trunk timestamp: Thu 2010-12-09 19:47:49 -0800 message: * lisp/files.el (diff-no-select): Declare. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2010-12-10 03:39:18 +0000 +++ lisp/ChangeLog 2010-12-10 03:47:49 +0000 @@ -1,5 +1,7 @@ 2010-12-10 Glenn Morris + * files.el (diff-no-select): Declare. + * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties. (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables. === modified file 'lisp/files.el' --- lisp/files.el 2010-12-08 02:18:02 +0000 +++ lisp/files.el 2010-12-10 03:47:49 +0000 @@ -4500,6 +4500,9 @@ (setq buffer-backed-up nil)))))) setmodes)) +(declare-function diff-no-select "diff" + (old new &optional switches no-async buf)) + (defvar save-some-buffers-action-alist `((?\C-r ,(lambda (buf) ------------------------------------------------------------ revno: 102623 committer: Glenn Morris branch nick: trunk timestamp: Thu 2010-12-09 19:39:18 -0800 message: Small emacsbug.el stuff. * lisp/mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties. (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2010-12-10 03:36:46 +0000 +++ lisp/ChangeLog 2010-12-10 03:39:18 +0000 @@ -1,5 +1,8 @@ 2010-12-10 Glenn Morris + * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties. + (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables. + * comint.el (comint-input-ring-file-name): Doc fix. 2010-12-09 Eli Zaretskii === modified file 'lisp/mail/emacsbug.el' --- lisp/mail/emacsbug.el 2010-12-08 03:47:27 +0000 +++ lisp/mail/emacsbug.el 2010-12-10 03:39:18 +0000 @@ -279,22 +279,11 @@ (if can-xdg-email (define-key (current-local-map) "\C-cm" 'report-emacs-bug-insert-to-mailer)) - ;; Could test major-mode instead. - (cond ((memq mail-user-agent '(message-user-agent gnus-user-agent)) - (setq report-emacs-bug-send-command "message-send-and-exit" - report-emacs-bug-send-hook 'message-send-hook)) - ((eq mail-user-agent 'sendmail-user-agent) - (setq report-emacs-bug-send-command "mail-send-and-exit" - report-emacs-bug-send-hook 'mail-send-hook)) - ((eq mail-user-agent 'mh-e-user-agent) - (setq report-emacs-bug-send-command "mh-send-letter" - report-emacs-bug-send-hook 'mh-before-send-letter-hook)) - ((eq mail-user-agent 'vm-user-agent) - (setq report-emacs-bug-send-command "vm-mail-send-and-exit" - report-emacs-bug-send-hook 'vm-mail-send-hook)) - ((eq mail-user-agent 'wl-user-agent) - (setq report-emacs-bug-send-command "wl-draft-send-and-exit" - report-emacs-bug-send-hook 'wl-draft-send-hook))) + (setq report-emacs-bug-send-command (get mail-user-agent 'sendfunc) + report-emacs-bug-send-hook (get mail-user-agent 'hookvar)) + (if report-emacs-bug-send-command + (setq report-emacs-bug-send-command + (symbol-name report-emacs-bug-send-command))) (unless report-emacs-bug-no-explanations (with-output-to-temp-buffer "*Bug Help*" (princ "While in the mail buffer:\n\n") @@ -386,19 +375,22 @@ ;; Querying the bug database +(defvar report-emacs-bug-bug-alist nil) +(make-variable-buffer-local 'report-emacs-bug-bug-alist) +(defvar report-emacs-bug-choice-widget nil) +(make-variable-buffer-local 'report-emacs-bug-choice-widget) + (defun report-emacs-bug-create-existing-bugs-buffer (bugs keywords) (switch-to-buffer (get-buffer-create "*Existing Emacs Bugs*")) (setq buffer-read-only t) (let ((inhibit-read-only t)) (erase-buffer) - (make-local-variable 'bug-alist) - (setq bug-alist bugs) - (make-local-variable 'bug-choice-widget) + (setq report-emacs-bug-bug-alist bugs) (widget-insert (propertize (concat "Already known bugs (" keywords "):\n\n") 'face 'bold)) (if bugs - (setq bug-choice-widget + (setq report-emacs-bug-choice-widget (apply 'widget-create 'radio-button-choice :value (caar bugs) (let (items) @@ -423,10 +415,10 @@ (widget-insert " ") (widget-create 'push-button :notify (lambda (&rest ignore) - (let ((val (widget-value bug-choice-widget))) + (let ((val (widget-value report-emacs-bug-choice-widget))) ;; TODO: Do something! (message "Appending to bug %s!" - (nth 2 (assoc val bug-alist))))) + (nth 2 (assoc val report-emacs-bug-bug-alist))))) "Append to chosen bug")) (widget-insert " ") (widget-create 'push-button ------------------------------------------------------------ revno: 102622 committer: Glenn Morris branch nick: trunk timestamp: Thu 2010-12-09 19:36:46 -0800 message: * lisp/comint.el (comint-input-ring-file-name): Doc fix. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2010-12-10 03:34:59 +0000 +++ lisp/ChangeLog 2010-12-10 03:36:46 +0000 @@ -1,3 +1,7 @@ +2010-12-10 Glenn Morris + + * comint.el (comint-input-ring-file-name): Doc fix. + 2010-12-09 Eli Zaretskii * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p): === modified file 'lisp/comint.el' --- lisp/comint.el 2010-11-18 03:54:14 +0000 +++ lisp/comint.el 2010-12-10 03:36:46 +0000 @@ -244,8 +244,8 @@ (defcustom comint-input-ring-file-name nil "If non-nil, name of the file to read/write input history. See also `comint-read-input-ring' and `comint-write-input-ring'. - -This variable is buffer-local, and is a good thing to set in mode hooks." +`comint-mode' makes this a buffer-local variable. You probably want +to set this in a mode hook, rather than customize the default value." :type '(choice (const :tag "nil" nil) file) :group 'comint) ------------------------------------------------------------ revno: 102621 committer: Glenn Morris branch nick: trunk timestamp: Thu 2010-12-09 19:34:59 -0800 message: Fix ChangeLog attribution. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2010-12-09 19:07:53 +0000 +++ lisp/ChangeLog 2010-12-10 03:34:59 +0000 @@ -19,10 +19,10 @@ * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise): Rename functions without commas, update callers. -2010-12-08 Vinicius Jose Latorre +2010-12-08 Jeff Dairiki (tiny change) - * whitespace.el: New version 13.2. - (whitespace-cleanup-region): Tiny code fix. (Bug#7582) + * whitespace.el (whitespace-cleanup-region): + Clean up spaces before tabs. (Bug#7582) 2010-12-08 Karl Fogel ------------------------------------------------------------ revno: 102620 author: Lars Magne Ingebrigtsen committer: Katsumi Yamaoka branch nick: trunk timestamp: Thu 2010-12-09 23:20:33 +0000 message: shr.el (shr-tag-label): Add