<<< Date Index >>>     <<< Thread Index >>>

Re: Lisp error using Mutt on Cygwin with NT Emacs Gnuserv



Hello Ismael,

 On Tuesday, January 25, 2005 at 6:24:44 PM +0100,
 Ismael Valladolid Torres wrote:

> Sorry for crossposting, but I think this message's content is
> interesting for subscribers to both mailing lists.

    I disagree. Patchwork post. Anyway my reply is about Mutt so
help-emacs-windows list dropped.


> Usually I run Cygwin bash using an rxvt terminal, with no LANG and no
> LC_* environment variables defined. In my muttrc I set charset as
> iso-8859-1. The pager shows correctly all LATIN1 content, including
> accented vowels and such, but the index doesn't. Is there any
> workaround for showing LATIN1 characters in the index without
> recompiling getting into that --enable-locales-fix stuff?

    No. Cygwin has no working locales: You should use that +LOCALES_HACK
that *is* the workaround designed for this very situation.

    Cygwin also needs "--without-wc-funcs".


>| application/msword; antiword %s; copiousoutput; needsterminal
>| application/msword; cygstart.sh %s doc; copiousoutput
> I attach cygstart.sh, this is a very small script that renames the
> temporal file created by Mutt into one with the correct extension

    The renaming step can be avoided with nametemplate=%s.doc in
mailcap entry. Copy step probably still needed though.


> Having both entries in mailcap, the antiword one is always executed.
> If posible, I'd like it to be executed via the auto_view option when
> the pager shows the message, but the cygstart.sh one to be executed
> when I press `v' in the attachment browser.

    Drop copiousoutput from antiword entry.

    BTW IIRC antiword is not an interactive app? Drop needsterminal.


Bye!    Alain.
-- 
Microsoft Outlook Express users concerned about readability: For much
better viewing quotes in your messages, check the little freeware
program OE-QuoteFix by Dominik Jain on <URL:http://flash.to/oblivion/>.
It'll change your life. :-) Now exists also for Outlook.