[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: buffer:// under home directory
- From: Kevin Ryde <user42@xxxxxxxxxx>
- Date: Sat, 25 May 2013 11:14:03 +1000
- X-ml-name: emacs-w3m
- X-mail-count: 12023
- References: <87bo86ms3c.fsf@xxxxxxxxx> <b4mk3ms7kpj.fsf@xxxxxxx>
Katsumi Yamaoka <yamaoka@xxxxxxx> writes:
>
> I see what the patch does, but don't see why default-directory gets
> "~/":
Ah. It must be some subtle conditions. You can get it from opening a
directory under -Q, even when the directory is an absolute path
emacs -Q -batch $HOME -eval '(message "%S" default-directory)'
=>
"~/"
Somehow the debian site bits (ie. emacs -q) for me do similar to files
too.
> link <a href="#a">...</a> and an anchor <a name="a">...</a>.
Hmm. So it works with empty for the current buffer, but perhaps not
quite ready for an arbitrary named buffer.
> 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.