On Tue, Mar 03, 2015 at 03:28:03PM -0500, Peter Davis wrote:
> On Tue, Mar 03, 2015 at 08:14:25PM +0100, Matthias Apitz wrote:
> > >
> > > Error running "/Applications/Emacs-mac-port.app/Contents/MacOS/bin/emacs
> > > -nw
> > > '/var/folders/kj/ymbjk_bj5v394cx4ffynd8yh0000gp/T//mutt-pfd-studio-mac-pro-502-44534-19996952971688465714'"!
> > >
> > >
> > > Not terribly informative, actually.
> >
> > Try running the same command from the shell; for me it looks like the arg
> > after -nw is a file name; try to configure in ~/.muttrc a shell script
> > to launch /Applications/Emacs-mac-port.app/Contents/MacOS/bin/emacs ...
> > to check better the args passed to it and the errors of emacs itself.
> >
>
> Ah! the arg is a file name ... the temp file through which mutt and emacs
> pass the message draft. I did try running `emacs -nw` from
> the command line, and it worked with no problems. However, when I taked on
> that file name, I got a slew of errors, possibly due to
> that "//" that mutt inserted for some reason:
>
> [pfd-studio-mac-pro:~] peterdavis%
> /Applications/Emacs-mac-port.app/Contents/MacOS/bin/emacs -nw
> '/var/folders/kj/ymbjk_bj5v394cx4ffynd8yh0000gp/T//mutt-pfd-studio-mac-pro-502-44534-19996952971688465714'
> Warning: arch-dependent data dir
> (/Users/xin/Documents/emacs-mac-port/build/libexec/emacs/24.3/x86_64-apple-darwin11.4.2/)
> does not exist.
> Warning: arch-independent data dir
> (/Users/xin/Documents/emacs-mac-port/build/share/emacs/24.3/etc/) does not
> exist.
> Warning: Lisp directory
> `/Users/xin/Documents/emacs-mac-port/build/share/emacs/24.3/lisp' does not
> exist.
> Warning: Lisp directory
> `/Users/xin/Documents/emacs-mac-port/build/share/emacs/24.3/leim' does not
> exist.
> Error: charsets directory not found:
> /Users/xin/Documents/emacs-mac-port/build/share/emacs/24.3/etc/charsets
> Emacs will not function correctly without the character map files.
> Please check your installation!
>
> Thank you. Now to unravel this.
Well, just to wrap this up, I finally unravelled this. I have multiple Emacsen
installed, from a long history, etc. So this was
mainly a matter of making sure mutt was invoking the right one by specifying a
full path in the editor command.
Thanks!
-pd
--
--------
Peter Davis
The Tech Curmudgeon
http://www.techcurmudgeon.com