From: Lennart Borgman <lennart.borgman@gmail.com>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: emacs-devel@gnu.org
Subject: Re: Why deleting overlays before kill-buffer?
Date: Fri, 4 Jun 2010 13:25:11 +0200 [thread overview]
Message-ID: <AANLkTil22-MqzFZksy6mJdXS1rnxa81xQJmv-R6AAUAy@mail.gmail.com> (raw)
In-Reply-To: <201006041228.01635.tassilo@member.fsf.org>
On Fri, Jun 4, 2010 at 12:28 PM, Tassilo Horn <tassilo@member.fsf.org> wrote:
> On Friday 04 June 2010 11:38:35 Lennart Borgman wrote:
>
> Hi Lennart,
>
>> Is there any reason to delete overlays when kill-buffer is called
>> (like re-builder does)?
>
> In the general case, no overlays are deleted when killing a buffer.
>
> But re-builder adds a cleanup function `reb-kill-buffer' to
> `kill-buffer-hook' to do that, because killing the re-builder buffer
> should remove the overlays it has created in some *other* buffer.
Ah, thanks Tassilo, yes. Of course. I misread the code, it was not
very explicit about the current buffer.
prev parent reply other threads:[~2010-06-04 11:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-04 9:38 Why deleting overlays before kill-buffer? Lennart Borgman
2010-06-04 10:28 ` Tassilo Horn
2010-06-04 11:25 ` Lennart Borgman [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=AANLkTil22-MqzFZksy6mJdXS1rnxa81xQJmv-R6AAUAy@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=tassilo@member.fsf.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.