all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 16280@debbugs.gnu.org, Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
Subject: bug#16280: 24.3.50; [PATCH] eww: Add new function to clean browser histories.
Date: Sun, 05 Jan 2014 20:07:41 +0900	[thread overview]
Message-ID: <87fvp21ybm.fsf@dhcp-193-97.nrt.redhat.com> (raw)
In-Reply-To: <m3ppo6n585.fsf@stories.gnus.org>

> I'm not sure this is useful.  The history is only a local buffer
> variable, isn't it?  The normal way to make stuff "go away" in Emacs is
> to kill the buffer, and that should do the trick for the history, too.

Yes, that's right. I agree with you.
This function is not necessary.

Kenjiro

larsi@gnus.org writes:

> Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> writes:
>
>> +(defun eww-history-cleanup ()
>> +  (interactive)
>> +  (if (y-or-n-p "clean up browser histories? ")
>> +      (progn
>> +       (setq-local eww-history nil)
>> +       (setq-local eww-history-position 0))))
>
> I'm not sure this is useful.  The history is only a local buffer
> variable, isn't it?  The normal way to make stuff "go away" in Emacs is
> to kill the buffer, and that should do the trick for the history, too.






      reply	other threads:[~2014-01-05 11:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-28 15:32 bug#16280: 24.3.50; [PATCH] eww: Add new function to clean browser histories Kenjiro NAKAYAMA
2014-01-02  2:43 ` Stefan Monnier
2014-01-05  2:23   ` Kenjiro NAKAYAMA
2014-01-05  9:35   ` Lars Magne Ingebrigtsen
2014-01-05  9:32 ` Lars Magne Ingebrigtsen
2014-01-05 11:07   ` Kenjiro NAKAYAMA [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fvp21ybm.fsf@dhcp-193-97.nrt.redhat.com \
    --to=nakayamakenjiro@gmail.com \
    --cc=16280@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.