[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

[PATCH] Add `w3m-send-page-by-mail' (was Re: Re: Does w3m has the functions to send a page by email?)



Hello!

I'm sorry to answer to a very old thread [1], but as I had some free
time, I implemented the requested function, even if I'll probably
never use it.

On Thu, 25 May 2006 11:55:39 +0200, Katsumi Yamaoka wrote:
>>>>>> In [emacs-w3m : No.08723] 清秀 wrote:
>
>> When I use Microsoft IE 6.0, I can send a page by choosing
>> File->send->page by email.  I wonder when I use w3m in emacs, is
>> there a similar function? Thanks a lot!
>
> You can do it using Gnus and emacs-w3m, though it is not very handy.

The patch attached adds a series of variables and the function
`w3m-send-page-by-mail', which does exactly what Katsumi-san (if I'm
correct about the Japanese suffix) suggested.  Moreover, you can
control the behavior via the self-explained variables.

I tested it on No Gnus 0.5, but it should work with all the Emacs MUA
(at least from what I understood from the documentation of
`compose-mail').

The only caveat it that I'd like to have the e-mail completion when
asking for the address, but I don't know how to do it (check the
source code for the comments about it).

As I don't know where to put it, it's a new file, but I could agree
that the filename isn't the best one.  If needed, I can prepare a
ChangeLog entry.

Comments are welcome!

Thx, bye,
Gismo / ルカ

[1] http://emacs-w3m.namazu.org/ml/msg08616.html

Attachment: w3m-source.el.gz
Description: w3m-source.el, add `w3m-send-page-by-mail'

Attachment: pgpUtx3XmJxZS.pgp
Description: PGP signature