* Bug: org-plain-list-ordered-item-terminator
@ 2009-04-26 1:39 Matthew Lundin
2009-04-26 2:51 ` Samuel Wales
2009-04-29 19:22 ` Carsten Dominik
0 siblings, 2 replies; 4+ messages in thread
From: Matthew Lundin @ 2009-04-26 1:39 UTC (permalink / raw)
To: Org Mode Mailing List
When I set org-plain-list-ordered-item-terminator to 'paren like in
"2)"' in the customize interface, I no longer able to use plain lists in
org-mode, but instead get the following error:
,----
| org-at-item-p: Invalid regexp: "Unmatched ( or \\("
`----
In my custom settings, the setting looks like this:
,----
| [snip]
| '(org-plain-list-ordered-item-terminator 41)
| [snip]
`----
Here's the backtrace:
,----
| Debugger entered--Lisp error: (error "Cannot return from the debugger in an error")
| looking-at("\\([ ]*\\([-+]\\|\\([0-9]+))\\)\\|[ ]+\\*\\)\\( \\|$\\)")
| org-at-item-p()
| org-metaright(nil)
| call-interactively(org-metaright nil nil)
`----
And here are my other plain list settings:
--8<---------------cut here---------------start------------->8---
(setq org-blank-before-new-entry '((heading . auto) (plain-list-item . auto)))
(setq org-empty-line-terminates-plain-lists nil)
(setq org-cycle-include-plain-lists nil)
--8<---------------cut here---------------end--------------->8---
Thanks,
Matt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug: org-plain-list-ordered-item-terminator
2009-04-26 1:39 Bug: org-plain-list-ordered-item-terminator Matthew Lundin
@ 2009-04-26 2:51 ` Samuel Wales
2009-04-29 19:22 ` Carsten Dominik
1 sibling, 0 replies; 4+ messages in thread
From: Samuel Wales @ 2009-04-26 2:51 UTC (permalink / raw)
To: Matthew Lundin; +Cc: Org Mode Mailing List
I do not know, but I do have an idea for making it less necessary to
do. If a plain list is not recognized unless it is indented, then
erroneous interpretation of column 0 numbers will not happen. Of
course, they would still happen with text that is indented by
whitespace.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug: org-plain-list-ordered-item-terminator
2009-04-26 1:39 Bug: org-plain-list-ordered-item-terminator Matthew Lundin
2009-04-26 2:51 ` Samuel Wales
@ 2009-04-29 19:22 ` Carsten Dominik
2009-05-08 12:27 ` Matthew Lundin
1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2009-04-29 19:22 UTC (permalink / raw)
To: Matthew Lundin; +Cc: Org Mode Mailing List
Fixed.
However, bullet cycling also seems to have bugs when this
variable is not equal to t.
Why do you need to change the variable?
- Carsten
On Apr 26, 2009, at 3:39 AM, Matthew Lundin wrote:
> When I set org-plain-list-ordered-item-terminator to 'paren like in
> "2)"' in the customize interface, I no longer able to use plain
> lists in
> org-mode, but instead get the following error:
>
> ,----
> | org-at-item-p: Invalid regexp: "Unmatched ( or \\("
> `----
>
> In my custom settings, the setting looks like this:
>
> ,----
> | [snip]
> | '(org-plain-list-ordered-item-terminator 41)
> | [snip]
> `----
>
> Here's the backtrace:
>
> ,----
> | Debugger entered--Lisp error: (error "Cannot return from the
> debugger in an error")
> | looking-at("\\([ ]*\\([-+]\\|\\([0-9]+))\\)\\|[ ]+\\*\\)\\( \\|
> $\\)")
> | org-at-item-p()
> | org-metaright(nil)
> | call-interactively(org-metaright nil nil)
> `----
>
> And here are my other plain list settings:
>
> --8<---------------cut here---------------start------------->8---
> (setq org-blank-before-new-entry '((heading . auto) (plain-list-
> item . auto)))
> (setq org-empty-line-terminates-plain-lists nil)
> (setq org-cycle-include-plain-lists nil)
> --8<---------------cut here---------------end--------------->8---
>
> Thanks,
> Matt
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug: org-plain-list-ordered-item-terminator
2009-04-29 19:22 ` Carsten Dominik
@ 2009-05-08 12:27 ` Matthew Lundin
0 siblings, 0 replies; 4+ messages in thread
From: Matthew Lundin @ 2009-05-08 12:27 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Org Mode Mailing List
Hi Carsten,
Carsten Dominik <carsten.dominik@gmail.com> writes:
> Fixed.
>
> However, bullet cycling also seems to have bugs when this
> variable is not equal to t.
>
> Why do you need to change the variable?
Again, sorry for the late reply. Just for the record, I need to change
this variable for to avoid lines starting with a number/period
combination being exported as enumerated lists.
This often happens when I'm citing someting in a footnote. E.g.,
--8<---------------cut here---------------start------------->8---
[1] Author, /A Very Long Book Title that Stretches to the Line's End/, p.
101.
--8<---------------cut here---------------end--------------->8---
The "101." above gets exported as item 1 in an ordered list if I don't
set the variable.
Best,
Matt
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-08 12:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-26 1:39 Bug: org-plain-list-ordered-item-terminator Matthew Lundin
2009-04-26 2:51 ` Samuel Wales
2009-04-29 19:22 ` Carsten Dominik
2009-05-08 12:27 ` Matthew Lundin
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).