emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Interesting folding bug
@ 2012-12-20 10:19 Alan Schmitt
  2012-12-20 10:58 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Schmitt @ 2012-12-20 10:19 UTC (permalink / raw)
  To: emacs-orgmode

I'm documenting a crontab file, and I have an interesting folding bug.
Here is what is in my file:

*** crontab -l
#+BEGIN_SRC crontab
* * * * *  do something
0 16 * * * do something else
0 10 * * * do another thing
#+END_SRC

The problem is that the initial '*' in the crontab confuses org mode. Is
there a way around it, or is it a bug?

Thanks,

Alan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Interesting folding bug
  2012-12-20 10:19 Interesting folding bug Alan Schmitt
@ 2012-12-20 10:58 ` Bastien
  2012-12-20 11:08   ` Alan Schmitt
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2012-12-20 10:58 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: emacs-orgmode

Hi Alan,

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> The problem is that the initial '*' in the crontab confuses org mode. Is
> there a way around it, or is it a bug?

You need to TAB once in such block so that the ambiguous characters like
"* " are comma-escaped.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Interesting folding bug
  2012-12-20 10:58 ` Bastien
@ 2012-12-20 11:08   ` Alan Schmitt
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Schmitt @ 2012-12-20 11:08 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Bastien writes:

> Hi Alan,
>
> Alan Schmitt <alan.schmitt@polytechnique.org> writes:
>
>> The problem is that the initial '*' in the crontab confuses org mode. Is
>> there a way around it, or is it a bug?
>
> You need to TAB once in such block so that the ambiguous characters like
> "* " are comma-escaped.

I see. Tabing folds the block, and then everything is fine. Thanks.

Alan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-20 11:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-20 10:19 Interesting folding bug Alan Schmitt
2012-12-20 10:58 ` Bastien
2012-12-20 11:08   ` Alan Schmitt

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