From: Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
Subject: Re: Soups again
Date: 17 Jun 1996 04:28:15 +0200 [thread overview]
Message-ID: <x6ohmj2mgw.fsf@eyesore.no> (raw)
In-Reply-To: Kai Grossjohann's message of 16 Jun 1996 19:51:41 +0200
Kai Grossjohann <grossjoh@ls6.informatik.uni-dortmund.de> writes:
> This way, I could brew a soup, take it home, look at the mails, decide
> that one of my personal mails actually belongs to the foo project,
> `B m' it to mail.projects.foo at home, then pack a reply packet, take
> it back to work, and automagically, the mail would be `B m'ed to
> mail.projects.foo at work, too.
Having mail both on the home machine and a different machine can be
somewhat confusing. I soup most of my mail, take it home, and then
discover that I can't deal with it there, so I have to take it back
again. I haven't found a proper solution to this problem yet, but I
use the following two functions:
(defun unread-to-file (n)
(interactive "P")
(let (ids)
(goto-char (point-min))
(while (not (eobp))
(push (mail-header-id (gnus-summary-article-header))
ids)
(forward-line 1))
(nnheader-temp-write (format "~/sgnus/out/%s-unreads.list"
(gnus-group-real-name gnus-newsgroup-name))
(insert "(setq unread-list '")
(prin1 ids (current-buffer))
(insert ")"))))
(defun file-to-unread ()
(interactive)
(let (unread-list)
(load (format "~/sgnus/out/%s-unreads.list"
(gnus-group-real-name gnus-newsgroup-name)))
(let (id)
(while (setq id (pop unread-list))
(if (gnus-summary-refer-article id)
(gnus-summary-clear-mark-forward 1)
(message "Couldn't fetch article %s" id)
(ding))))))
On my home (souped) machine, I use `unread-to-file' to create a file
that has Message-IDs. On the other machine I use `file-to-unread' to
have the articles reappear again.
This is *highly* cludgy, and I should probably write something that
works like you suggest.
--
"Yes. The journey through the human heart
would have to wait until some other time."
prev parent reply other threads:[~1996-06-17 2:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-16 17:51 Kai Grossjohann
1996-06-17 2:28 ` Lars Magne Ingebrigtsen [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x6ohmj2mgw.fsf@eyesore.no \
--to=larsi@ifi.uio.no \
/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.
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 NNTP newsgroup(s).