[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: buffer:// under home directory
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Mon, 27 May 2013 11:43:51 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 12024
- References: <87bo86ms3c.fsf@xxxxxxxxx> <b4mk3ms7kpj.fsf@xxxxxxx> <87r4gvj1yc.fsf@xxxxxxxxx>
In [emacs-w3m : No.12023] Kevin Ryde wrote:
> Katsumi Yamaoka <yamaoka@xxxxxxx> writes:
>> I see what the patch does, but don't see why default-directory gets
Anyway I realized there are many possibilities that will cause
default-directory to be "~/". For such a circumstance, your
patch is not necessarily effective since emacs-w3m is far to
supporting the buffer: scheme fully. The typical case is to
try to preview an html source that is only in an Emacs buffer,
not associated to a file. It won't be easy to improve, but I
think it is a necessary feature since this is *emacs* -w3m.
Isn't there any developer who has an interest in it?
>> I usually use `M-x w3m-buffer' to preview the html source that
>> I'm editing. Undo makes it revert to the source.
> Oh, that's scary if you forgot what you did! :-)
> One thing I like for a preview is to keep the current displayed position
> in the preview so you can see the changes affecting some place. The w3m
> "R" reload does that.
Otherwise, change `w3m-buffer' so as to display a preview in the
other buffer (i.e. one of tabs) by default. It requires emacs-w3m
to support the buffer: scheme properly, I believe. Moreover
`w3m-region' should work as well. So, maybe the buffer: scheme
needs to have a means to specify the start/end positions like:
Where (start,end) is optional.