emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-capture will cause org structure weird...
@ 2013-12-11 11:37 stardiviner
  0 siblings, 0 replies; only message in thread
From: stardiviner @ 2013-12-11 11:37 UTC (permalink / raw)
  To: emacs-orgmode

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


I found org-capture will cause this weird problem like bellowing:

-----------------------------------------------------------------------------------------------------
screenshot:


[-- Attachment #2: screenshot --]
[-- Type: image/png, Size: 264247 bytes --]

[-- Attachment #3: Type: text/plain, Size: 3400 bytes --]


-----------------------------------------------------------------------------------------------------
And error output when I try to use [TAB] to expand and more around (I use [C-n], or [C-f] to move around).

#+BEGIN_EXAMPLE
Debugger entered--Lisp error: (error "Invalid search bound (wrong side of point)")
  re-search-forward("^\\([  ]*\\([-+]\\|\\(\\([0-9]+\\)[.)]\\)\\)\\|[   ]+\\*\\)\\([    ]+\\|$\\)" 11799 t)
  byte-code("`	\n\v\f#\204\305\306\f\307>\203\b\202\vb\210\310\"\210\311 \203\305\306`\"\210\202" [origin search re bound noerr throw exit (t nil) nil org-list-in-valid-context-p] 4)
  org-list-search-generic(re-search-forward "^\\([  ]*\\([-+]\\|\\(\\([0-9]+\\)[.)]\\)\\)\\|[   ]+\\*\\)\\([    ]+\\|$\\)" 11799 t)
  org-list-search-forward("^\\([    ]*\\([-+]\\|\\(\\([0-9]+\\)[.)]\\)\\)\\|[   ]+\\*\\)\\([    ]+\\|$\\)" 11799 t)
  org-cycle-internal-local()
  org-cycle(nil)
  #<subr call-interactively>(org-cycle nil nil)
  ad-Advice-call-interactively(#<subr call-interactively> org-cycle)
  apply(ad-Advice-call-interactively #<subr call-interactively> org-cycle)
  call-interactively(org-cycle)
  yas--fallback()
  yas-expand()
  #<subr call-interactively>(yas-expand nil nil)
  ad-Advice-call-interactively(#<subr call-interactively> yas-expand nil nil)
  apply(ad-Advice-call-interactively #<subr call-interactively> (yas-expand nil nil))
  call-interactively(yas-expand nil nil)
  command-execute(yas-expand)
#+END_EXAMPLE

-----------------------------------------------------------------------------------------------------
And I set up org-capture like this:

#+BEGIN_SRC emacs-lisp
(require 'org-capture)

(define-key global-map (kbd "C-c o c") 'org-capture)

(setq org-default-notes-file (concat org-directory "/Capture/notes.org"))

(setq org-capture-templates
      '(("c" "Capture" entry (file+headline "~/Org/Capture/Capture.org" "Capture")
         "* TODO %^{prompt}\n\n%i\n\n%a\n\n%?")
        ("t" "Capture a task into Tasks" entry (file+headline "~/Org/Tasks.org" "Tasks")
         "* TODO %^{prompt} [/]\n\n%?\n\n")
        ("u" "Capture an entry into Buy list" entry (file+headline "~/Org/Tasks.org" "Buy")
         "* TODO %^{prompt}\n\n%i\n\n%?\n\n")
        ("j" "Journal" entry (file+datetree "~/Org/Journal.org" "Journal")
         "* %^{prompt}\nEntered on %U\n %i\n %?\n\n")
        ;; TODO Contacts
        ;; Issues, Bugs, Features
        ("b" "record a bug to list" entry (file+olp "~/Org/Projects/Projects.org" "Computer (电子科技)" "Bugs")
         "* BUG %^{prompt}\n\n%i\n\n%?\n\n")
        ("i" "record an issue to list" entry (file+olp "~/Org/Projects/Projects.org" "Computer (电子科技)" "Issues")
         "* ISSUE %^{prompt}\n\n%i\n\n%?\n\n")
        ("f" "record a feature to list" entry (file+olp "~/Org/Projects/Projects.org" "Computer (电子科技)" "Features")
         "* FEATURE %^{prompt}\n\n%i\n\n%?\n\n")
        ;; bookmark
        ("B" "Add an URL to bookmark database" entry (file+headline "~/Org/Wiki/Data/Bookmarks/Bookmarks.org" "Others")
         "* %^{prompt}\n\n%A\n\n%?\n\n")
        ))
#+END_SRC

And I have a long org-mode config. I can not paste here.

I will paste it on Gist. Here is the link: https://gist.github.com/7908902

-- 
[ stardiviner ] Kill the world if you want. That's it.
IRC(freenode): stardiviner     \ Twitter:  @numbchild \

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-11 11:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-11 11:37 org-capture will cause org structure weird stardiviner

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).