On Tue, Feb 07, 2006 at 09:32:19PM +0100, Elimar Riesebieter wrote:
> On Thu, 02 Feb 2006 the mental interface of
> Nico Golde told:
> 
> > * Eric Van Buggenhaut <[EMAIL PROTECTED]> [2006-02-02 17:07]:
> > > Package: mutt-ng
> > > Version: 0.0+20060113-1
> > > Severity: normal
> > > 
> > > When pressing F1 from within muttng I get this error message:
> > > 
> > > zcat: @docdir@/mutt-ng/manual.txt.gz: No such file or directory
> > > 
> > > Apparently you have a macro that doesn't get expanded somewhere.
> > 
> > Simply add:
> > macro generic <f1> "!zless /usr/share/doc/mutt-ng/manual.txt.gz\n" "Show 
> > Mutt-ng documentation"
> > macro index   <f1> "!zless /usr/share/doc/mutt-ng/manual.txt.gz\n" "Show 
> > Mutt-ng documentation"
> > macro pager   <f1> "!zless /usr/share/doc/mutt-ng/manual.txt.gz\n" "Show 
> > Mutt-ng documentation"
> > to your configuration file.
> 
> macro generic <f2> "!lynx /usr/share/doc/mutt-ng/html/manual.html\n" "Show 
> Mutt-ng documentation"
> macro index   <f2> "!lynx /usr/share/doc/mutt-ng/html/manual.html\n" "Show 
> Mutt-ng documentation"
> macro pager   <f2> "!lynx /usr/share/doc/mutt-ng/html/manual.html\n" "Show 
> Mutt-ng documentation"
> 
> does it as well.
> 
> Bug closed as of a configuration issue.

Well, the configuration issue isn't on my side, rather on the package. 
What causes this problem is the default configuration that ships with 
mutt-ng:

I have no macro defined in my .muttng/files:

$ grep macro .muttng/*
.muttng/muttngrc:macro index B ':toggle sidebar_visible^M'
.muttng/muttngrc:macro pager B ':toggle sidebar_visible^M'
.muttng/muttngrc:macro index S "|/usr/bin/razor-report \n d"
.muttng/muttngrc~:macro index S "|/usr/bin/razor-report \n d"


So why is it that the default behaviour of mutt-ng is to choke on 
pressing F1?

What I was reffering to when I said 'macro not expanded' wasn't the 
<f1> macro, rather  @docdir@ that's not expanded correctly at compile 
time (when the package is built):

pressing F1 gives me this message:

zcat: @docdir@/mutt-ng/manual.txt.gz: No such file or directory

so there's actually a macro for <f1> defined somewhere. It's just that 
it isn't defined correctly.

Should I re-open the bug ?

-- 
Eric VAN BUGGENHAUT
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to