Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using a X-Face-Header?

0 views
Skip to first unread message

Uwe Premer

unread,
Nov 7, 2009, 7:09:49 PM11/7/09
to
Hello NN-experts,
I have just discovered the possibilites of NN, but there is one topic,
for witch I don't get a solution:
how it is possible to setup a x-Face-Header (in the init-File) for
permanently use?

I use as editor vim, and it is possible to set the X-Face manually as a
header in vim, but I want to set it in the init-File.

If I use for example this X-Face-line:

set news-header X-Face: #,5=ct@k]$M~$R;'l7|V~@:!yk[7wI>G2uS+zW>o7`w~Jr$$:jU1i4+c`1p5R,xz96mPXow7q_sR5Gxu:9ZO@_ju#

vim doesn't show it, because auf the "#" at the beginning.
So I try to escape it with a backslash:

set news-header X-Face: \#,5=ct@k]$M~$R;'l7|V~@:!yk[7wI>G2uS+zW>o7`w~Jr$$:jU1i4+c`1p5R,xz96mPXow7q_sR5Gxu:9ZO@_ju#

but then vim makes a line break after the ";". Escaping with "\" in the
front of it doesn't matter.

So, what are the complete rules for using a X-Facce-line in the
init-File?

Tnx in advance,
Uwe

Aaron W. Hsu

unread,
Jan 6, 2010, 2:45:52 PM1/6/10
to

Sorry that no one has responded to you thus far. I don't see what exactly
the problem is though. In the init file, you're just going to set the
headers in a single line with the news-header field, and then that will
get dropped in by NN, it sounds more like you're having Vim issues than
init file issues. Just make sure that Vim doesn't try to be too smart when
you edit the file and you should be fine. Or, test out whether this works
with a different editor, and you'll know for sure.

Aaron W. Hsu

--
A professor is one who talks in someone else's sleep.

0 new messages