bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RMAIL, summary/message focus switching with `h' button


From: Andreas Schwab
Subject: Re: RMAIL, summary/message focus switching with `h' button
Date: Thu, 13 Feb 2003 11:51:27 +0100
User-agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.3.50 (ia64-suse-linux)

Alexander Pohoyda <address@hidden> writes:

|> > |> +  (let ((was-in-summary) (eq major-mode 'rmail-summary-mode))
|> >                            ^
|> > This paren is misplaced, see above.
|> 
|> Right. My bad. Thanks. Corrected patch:
|> 
|> --- rmailsum.el.orig    Sun Jan  5 23:01:28 2003
|> +++ rmailsum.el Sun Jan  5 23:40:13 2003
|> @@ -66,7 +66,10 @@
|>  (defun rmail-summary ()
|>    "Display a summary of all messages, one line per message."
|>    (interactive)
|> -  (rmail-new-summary "All" '(rmail-summary) nil))
|> +  (let ((was-in-summary (eq major-mode 'rmail-summary-mode))
|> +    (rmail-new-summary "All" '(rmail-summary) nil)
|> +    ;; Swap the focus.
|> +    (if was-in-summary (other-window 1))))
|>  
|>  ;;;###autoload
|>  (defun rmail-summary-by-labels (labels)

You didn't test your change, did you?  There is a paren missing now.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 N├╝rnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]