all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fletcher Charest <fletcher.charest@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] Weird behaviour just after a capture
Date: Tue, 22 Jul 2014 01:19:33 +0200	[thread overview]
Message-ID: <CAGk6a7k_+J6cpjQcx0=_Mg7tO=ybdRJDJb1Km8xrMKHBizd+Cg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

Hi,

I am confronted to this bug in every version of Org (shipped with Emacs,
from maint, and from master). Here is how I can reproduce it every time:

1. emacs -Q (in my case GNU Emacs 24.3.50.1, with Org-mode version 8.2.3a)

2. Evaluate this code:

(setq org-capture-templates
      '(("t" "test" entry (file+olp "~/org2.org" "Todo" "Refile") "* TODO
%?" :prepend t)))

3. Create the "~/org2.org" file like this:

* Todo
** Refile
* Other headline 1
* Other headline 2

4. M-x org-capture, then do a capture with t.

5. The cycling behaviour gets really weird in org2.org, from the captured
task until the end of the file. It is just like if whole area was
considered as a single line (this becomes apparent by turning hl-line-mode
on). This error appears while trying to cycle with TAB in the area:
"byte-code: Invalid search bound (wrong side of point)".

6. Close the file and reopen it: everything is fine.

Is anyone else confronted to this? I don't know if this is Emacs or
Org-related.

Thank you very much,

FC

[-- Attachment #2: Type: text/html, Size: 1433 bytes --]

             reply	other threads:[~2014-07-21 23:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-21 23:19 Fletcher Charest [this message]
2014-07-21 23:37 ` [BUG] Weird behaviour just after a capture Nick Dokos
2014-07-22  0:13   ` Fletcher Charest

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='CAGk6a7k_+J6cpjQcx0=_Mg7tO=ybdRJDJb1Km8xrMKHBizd+Cg@mail.gmail.com' \
    --to=fletcher.charest@gmail.com \
    --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 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.