emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Øyvind Stegard" <oyvinst@ifi.uio.no>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] org-contacts: Update contacts cache if it contains markers with no buffer
Date: Wed, 17 Jul 2013 09:36:51 +0200	[thread overview]
Message-ID: <87zjtlwsbw.fsf.rednorrock@ifi.uio.no> (raw)
In-Reply-To: <87fvvexvtl.fsf@tanger.home> (daimrod@gmail.com's message of "Tue, 16 Jul 2013 19:23:50 +0200")

Daimrod <daimrod@gmail.com> writes:

[...]

> Thanks for the bug report!
>
> Don't you think that checking if one of the buffer would be enough and
> faster?
> With something like (every #'get-file-buffer org-contacts-files)

Hi,

I thought about that, yes. But what about when an org-contacts buffer is
killed and subsequently re-opened (like using `find-alternate-file' with
same file name). Then the buffer will exist for the file, but it will be
a new instance, and the markers in org-contacts-db will still be dead.
That's why I decided to just check the markers instead.


Regards,

Øyvind
-- 
< Øyvind Stegard
 < http://stegard.net/

  reply	other threads:[~2013-07-17  7:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-12 11:07 [PATCH] org-contacts: Update contacts cache if it contains markers with no buffer Øyvind Stegard
2013-07-16 17:23 ` Daimrod
2013-07-17  7:36   ` Øyvind Stegard [this message]
2013-07-20 15:22     ` Daimrod
2013-07-20 15:33       ` Øyvind Stegard

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87zjtlwsbw.fsf.rednorrock@ifi.uio.no \
    --to=oyvinst@ifi.uio.no \
    --cc=emacs-orgmode@gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).