home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.mh
- Path: sparky!uunet!mcsun!sunic!ericom!eos.ericsson.se!etxmesa
- From: etxmesa@eos.ericsson.se (Michael Salmon)
- Subject: Re: tweak xmh to view mail in emacs ?
- Message-ID: <1992Jul30.080823.4926@ericsson.se>
- Sender: news@ericsson.se
- Nntp-Posting-Host: eos6c02.ericsson.se
- Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
- Organization: Ericsson Telecom AB
- References: <1230001@hpcc01.corp.hp.com>
- Date: Thu, 30 Jul 1992 08:08:23 GMT
- Lines: 37
-
- In article <1230001@hpcc01.corp.hp.com>, cford@hpcc01.corp.hp.com (Charlie Ford) writes:
- |> I want xmh to let me read my messages in my emacs buffer, rather than in the
- |> xmh view window (which I think is known as scrn->viewwidget).
- |>
- |> Xmh already puts things into my emacs buffer for compose, forward and reply,
- |> which is just fine. My emacs is 18.57.5. My xmh won't `what`; it's not too old.
- |>
- |> I'm hoping it's already & easily done. I think the action might be XmhInsert().
- |> BTW Jerry had a Peek at this, & suggested XmhShellCommand(). More hints welcome.
-
- From the app-defaults here is the part that displays a message that you
- click with the middle button:
-
- *toc.Translations: #override\n\
- <Btn2Down>: select-start()\n\
- <Btn2Up>: select-end(PRIMARY)XmhViewNextMessage()\n\
-
- and here is an example of using XmhShellCommand():
-
- Xmh*commandBox.button10.translations: #override\
- <Btn1Down>,<Btn1Up>: XmhShellCommand(mh.memo.xlate) unset()
-
- where mh.memo.xlate is an executable perl script. I think that what you
- need to do is replace XmhViewNextMessage() with XmhShellCommand(emacs).
- Then of course you have to take care of every other view command, good
- luck.
-
- --
-
- Michael Salmon
-
- #include <standard.disclaimer>
- #include <witty.saying>
- #include <fancy.pseudo.graphics>
-
- Ericsson Telecom AB
- Stockholm
-