emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bastien.guerry@wikimedia.fr>
To: Arik Mitschang <arik.mitschang@mq.edu.au>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-capture - org-vm store link requires buffer file not always present [7.4]
Date: Mon, 14 Feb 2011 11:15:07 +0100	[thread overview]
Message-ID: <87mxlyhqhg.fsf@gnu.org> (raw)
In-Reply-To: <19800.33799.716636.291461@nobunaga.local> (Arik Mitschang's message of "Mon, 14 Feb 2011 12:23:19 +1100")

Hi Arik,

Arik Mitschang <arik.mitschang@mq.edu.au> writes:

> Unfortunately that does not do the trick. Two reasons:
>
> 1) the vm-select-folder-buffer only triggers an error if there is no
>    folder buffer, not if there is no file associated with that buffer.
>
> 2) raising an error stops the execution of the org-capture which
>    results in the same problem - one will not be able to capture while
>    visiting this "virtual" folder. Such a restriction is not practical
>    or useful.

Thanks for the explanations.

> Here is a patch that works on that change, if the style is not
> satisfactory that's okay, but the spirit of the change is there.

I've applied a slightly different patch that should do the trick in a
simpler way.  Please test it and report any problem.

Thanks!

-- 
 Bastien

      parent reply	other threads:[~2011-02-14 10:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09  3:35 Bug: org-capture - org-vm store link requires buffer file not always present [7.4] Arik Mitschang
2011-02-09 16:19 ` Bastien
2011-02-12 18:40 ` Bastien
     [not found]   ` <19800.33799.716636.291461@nobunaga.local>
2011-02-14 10:15     ` Bastien [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

  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=87mxlyhqhg.fsf@gnu.org \
    --to=bastien.guerry@wikimedia.fr \
    --cc=arik.mitschang@mq.edu.au \
    --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).