home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.gnus
- Path: sparky!uunet!pipex!demon!edscom.demon.co.uk!kevin
- From: kevin@edscom.demon.co.uk (Kevin Broadey)
- Subject: Getting 2 ~/.signatures - problem with my fix
- Message-ID: <KEVIN.92Aug20103257@buffalobill.edscom.demon.co.uk>
- Sender: kevin@edscom.demon.co.uk (Kevin Broadey)
- Organization: EDS-Scicon, Milton Keynes, UK
- Date: Thu, 20 Aug 1992 10:32:57 GMT
- Lines: 39
-
- A while ago I posted a question about how to stop articles posted using GNUS
- from getting 2 copies of ~/.signature appended. After a bit of investigation
- into what "inews" does, I posted a suggestion which bypassed it, calling
- "relaynews" directly. i.e.
-
- (setq nnspool-inews-program (substitute-in-file-name "$NEWSBIN/relaynews"))
- (setq nnspool-inews-switches '("-r"))
-
- This works fine until you try to post to a moderated newsgroup, because it is
- "inews" that spots this and mails the article to the newsgroup moderator.
-
- To get around the problem I've had to resort to hacking "inews" itself. I
- simply added a new flag "-nosig", and checked for it before appending the
- ~/.signature file. I put it in /usr/local/gnu/emacs/etc to keep it out of the
- way, although it could go in the regular place because it's
- backward-compatible.
-
- My .emacs file now has:-
-
- (setq nnspool-inews-program (concat exec-directory "inews"))
- (setq nnspool-inews-switches '("-h" "-nosig"))
-
-
- Sorry I couldn't come up with a more elegant solution.
-
-
- BTW Someone suggested
-
- (setq gnus-signature-file "~/.signature-GNUS")
-
- and using ~/.signature-GNUS-DISTRIBUTION for distribution-specific sig files,
- scrapping the ~/.signature altogether. The trouble with that is that I do
- occasionally use programs outside emacs, and I'd like them all to work properly
- too.
- --
- Kevin Broadey <kbroadey@edscom.demon.co.uk>
- EDS-Scicon, Wavendon Tower, Wavendon, Milton Keynes, MK17 8LX, England.
- Phone: +44 908 284198 (direct) or +44 908 585858 ext 4198
- These opinions are mine: others available on request.
-