Gnus development mailing list
 help / color / mirror / Atom feed
* Hey, it kinda worked!
@ 2001-11-28 22:30 Jack Twilley
  2001-11-28 23:50 ` Bill White
  0 siblings, 1 reply; 3+ messages in thread
From: Jack Twilley @ 2001-11-28 22:30 UTC (permalink / raw)


I used to use this hackish function that would add stuff like my PGP
information and my X-Face to my headers, so I moved all that stuff
into gnus-posting-styles, and it worked.  Neat.

Unfortunately, I'm getting an extra blank line between X-Face: and
Mail-Copies-To: -- does anyone have any suggestions?

Also, headers shouldn't be highlighted below the --text follows this
line--, but the automatic highlighting thingee lit up the MCT: line in
the previous paragraph.

Here's my posting styles thing:

 gnus-posting-styles '((".*"		; defaults
			(signature-file "~/.signature")
			(name "Jack Twilley")
			("X-Attribution" "Jack")
			("X-PGP-Key" "0x007F7B38")
			("X-PGP-Fingerprint" "5315 7434 6095 DF36 995B  3407 18F1 527C 007F 7B38")
			("X-Face" (save-excursion
				    (set-buffer 
				     (find-file-noselect "~/.face" t t))
				    (buffer-string))))
		       ((message-mail-p)
			(address "jmt@twilley.org"))
		       ((message-news-p)
			(address "jmt+usenet@twilley.org"))
		       ("gnus.ding"
			("Mail-Copies-To" "nobody")))

It might be that there's a trailing newline in my ~/.face file, and if
so, I'll remove it.  Also, is there a way to do the face thing without
taking up a buffer?

Jack.
-- 
Jack Twilley
jmt at twilley dot org
http colon slash slash www dot twilley dot org slash tilde jmt slash



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Hey, it kinda worked!
  2001-11-28 22:30 Hey, it kinda worked! Jack Twilley
@ 2001-11-28 23:50 ` Bill White
  2001-11-29  0:21   ` Jack Twilley
  0 siblings, 1 reply; 3+ messages in thread
From: Bill White @ 2001-11-28 23:50 UTC (permalink / raw)


On Wed Nov 28 2001 at 16:30, Jack Twilley <jmt+usenet@twilley.org> said:

> It might be that there's a trailing newline in my ~/.face file, and
> if so, I'll remove it.  Also, is there a way to do the face thing
> without taking up a buffer?

This works for me, for what it's worth - it it equivalent to your
code? (supper's about ready or I'd check).  My ~/.xface does *not*
have a trailing newline.

,----[ ~/.gnus ]
| (setq message-default-headers
|       (with-temp-buffer
|         (insert "X-Face:")
|         (insert-file-contents "~/.xface")
|         (buffer-string)))
| 
`----

Cheers -

bw
-- 
Bill White . billw@wolfram.com . http://members.wri.com/billw
"No ma'am, we're musicians."



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Hey, it kinda worked!
  2001-11-28 23:50 ` Bill White
@ 2001-11-29  0:21   ` Jack Twilley
  0 siblings, 0 replies; 3+ messages in thread
From: Jack Twilley @ 2001-11-29  0:21 UTC (permalink / raw)


>>>>> "Bill" == Bill White <billw@wolfram.com> writes:

Jack> It might be that there's a trailing newline in my ~/.face file,
Jack> and if so, I'll remove it.  Also, is there a way to do the face
Jack> thing without taking up a buffer?

Bill> This works for me, for what it's worth - it it equivalent to
Bill> your code? (supper's about ready or I'd check).  My ~/.xface
Bill> does *not* have a trailing newline.

Your code works very nicely with mine.  Thank you.

Now if only I could figure out why my .gnus goes (ding) when it hits
the line (load "bbdb-sc" t)....

Jack.
-- 
Jack Twilley
jmt at twilley dot org
http colon slash slash www dot twilley dot org slash tilde jmt slash



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-29  0:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-28 22:30 Hey, it kinda worked! Jack Twilley
2001-11-28 23:50 ` Bill White
2001-11-29  0:21   ` Jack Twilley

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).