Re: Script to invoke Apple Mail.app from within exmh
Marc Baaden <[email protected]>
| Newsgroups | gmane.mail.exmh.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Matthew, concerning the faces problem, I actually had the inverse problem of what you describe. It works fine with Aqua Tcl/Tk but crashes with fink. I could however solve this issue by recompiling tkimg with explicit reference to the fink libraries and include files, so this is now working. With the Aqua version I have the problem of not being able to read the buttons (see my previous mail on this list). Did you solve that issue? Concerning attachments, I must admit that I never actually wanted to be able to spawn Powerpoint or Excel from within exmh. I have a procmail recipe running that automatically files all attachments (like Excel and Powerpoint) into a specific folder. So if an attachment from an email is interesting (as in is not unsollicited spam), I just go to that folder and open the file. For Word documents I do indeed much appreciate the antiword inline display which 99% of the time is sufficient to get the relevant information. So as answer to your question, I don't know how you'd need to modify your mailcap file. But I guess you'd just have to get the application type description (something like application/vndms-powerpoint and application/vndms-excel) and add a line to the .mailcap file. From what I see in a previous .mailcap that I used under linux, I had the following lines: application/mspowerpoint; kpresenter '%s';test=test "$DISPLAY" != "" application/vnd.ms-excel; gnumeric '%s'; edit=gnumeric '%s'; description="MS Excel spreadsheet"; test=test -n "$DISPLAY"; nametemplate=%s.xls application/msexcel; kspread '%s';test=test "$DISPLAY" != "" I can't recall whether that ever worked. Best regards, Marc Baaden [email protected] said: >> Hi Marc: >> Thanks much for this script. I look forward to trying it out on my >> PowerBook G4 as soon as it is back from repairs. Like you, I have >> been using exmh 2.7.2/nmh 1.2 on Mac OS X (in my case 10.4.9). I >> think I also observed the problem you described -- the labels not >> displaying properly on the buttons in Aqua Tcl/Tk. I got around this >> by using an X version of Tcl/Tk, installed as a fink package. It is >> not as pretty as the Aqua version but does display properly and runs >> faces without a segmentation fault. >> I have a question for you about displaying attachments in exmh on Mac >> OS X. I have only been successful in getting my .mailcap file to run >> antiword to display MS WORD files as flat text inline. Have you been >> able to figure out how to get the mailcap file to spawn PowerPoint >> and Excel when these types of files are attached to an email? >> Thanks again for sharing the Mail.app script! -- Dr. Marc Baaden - Institut de Biologie Physico-Chimique, Paris mailto:[email protected] - http://www.baaden.ibpc.fr FAX: +33 15841 5026 - Tel: +33 15841 5176 ou +33 609 843217