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

Re: w3m-save-buffer directory

In [emacs-w3m : No.12493]
	On Fri, 25 Sep 2015 18:19:42 +1000, Kevin Ryde wrote:
> As a comment on the recent w3m-save-buffer, I think I'd like it to save
> to w3m-default-save-directory the same as the "d" download.

> I know I can set w3m-save-buffer-directory, but I'd like to suggest not
> worrying about a separate variable, but treat saves and downloads the
> same.

I thought, saved pages are all temporary, so it's better for them
to be able to be deleted easily by performing `rm -fr ~/.w3m/saved',
but it's danger to do `rm' in ~/.w3m since there are some config
files used by w3m and emacs-w3m.  This is why I made the value of
w3m-save-buffer-directory differ from w3m-default-save-directory.

From the very beginning, that w3m-default-save-directory defaults
to ~/.w3m was bad choice (IMO).  You might have customized it to
another, but many users would probably make it remain.  So, we
cannot change the default value of w3m-default-save-directory rashly.

> On a more radical front, I was slightly caught out by the image save
> feature.  I had images toggled off but the save downloaded them.  I see
> how to ask for no-images, and will have to force myself to remember :-).

Yes, you can do it by `C-u C-x C-s'.

> I wondered if the default might be "save what you see" or something like
> that.  But alas I don't have a good idea how to then deliberately ask
> for no-images or all-images.  Could query whether to download images not
> already downloaded maybe.  But asking that every time could be annoying.

Well, if I save a page without images (because they are unnecessary
at that time), I might never be able to see them much later, because
the original site won't necessarily exist forever. ;)