unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
Cc: ttn@glug.org
Subject: Re: RMAIL, summary/message focus switching with `h' button
Date: Thu, 13 Feb 2003 11:51:27 +0100	[thread overview]
Message-ID: <je65rowj0w.fsf@sykes.suse.de> (raw)
In-Reply-To: <22787.1045129068@www8.gmx.net> (Alexander Pohoyda's message of "Thu, 13 Feb 2003 10:37:48 +0100 (MET)")

Alexander Pohoyda <alexander.pohoyda@gmx.net> 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, schwab@suse.de
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	other threads:[~2003-02-13 10:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-12 21:13 RMAIL, summary/message focus switching with `h' button Alexander Pohoyda
2003-02-13  0:01 ` Thien-Thi Nguyen
2003-02-13  6:24   ` Alexander Pohoyda
2003-02-13  9:27     ` Andreas Schwab
2003-02-13  9:37       ` Alexander Pohoyda
2003-02-13 10:51         ` Andreas Schwab [this message]
2003-02-13 16:13           ` Alexander Pohoyda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=je65rowj0w.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=ttn@glug.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).