emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Is the "No comment syntax is defined" problem fixed?
Date: Sat, 01 May 2010 22:08:14 +0100	[thread overview]
Message-ID: <m1y6g3e3ep.fsf@cam.ac.uk> (raw)
In-Reply-To: <267FA12A-BE3D-41A8-9A16-D4D7FD34C947@gmail.com> (Carsten Dominik's message of "Sat, 1 May 2010 19:19:18 +0200")

On 2010-05-01 18:19 +0100, Carsten Dominik wrote:
> That is known to cause problems in Org-mode:
>
> http://thread.gmane.org/gmane.emacs.orgmode/5518/focus=6033

Org mode syntax table doesn't specify a comment end syntax which causes
the said problem. Could you try the attached patch and see if it works
for you too? I guess if it works then we have both issue fixed ;)

Best wishes,
Leo


diff --git a/lisp/org/org.el b/lisp/org/org.el
index f55cacc..25d5ea9 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -4209,6 +4209,7 @@ The following commands are available:
   ;; Calc embedded
   (org-set-local 'calc-embedded-open-mode "# ")
   (modify-syntax-entry ?# "<")
+  (modify-syntax-entry ?\n ">")
   (modify-syntax-entry ?@ "w")
   (if org-startup-truncated (setq truncate-lines t))
   (org-set-local 'font-lock-unfontify-region-function
@@ -4237,7 +4238,7 @@ The following commands are available:
 		 'org-block-todo-from-checkboxes))
 
   ;; Comment characters
-;  (org-set-local 'comment-start "#") ;; FIXME: this breaks wrapping
+  (org-set-local 'comment-start "#")
   (org-set-local 'comment-padding " ")
 
   ;; Align options lines

  reply	other threads:[~2010-05-01 21:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-29 14:16 Is the "No comment syntax is defined" problem fixed? Leo
2010-05-01 12:03 ` Carsten Dominik
2010-05-01 16:08   ` Leo
2010-05-01 17:19     ` Carsten Dominik
2010-05-01 21:08       ` Leo [this message]
2010-05-08 15:11         ` Carsten Dominik

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=m1y6g3e3ep.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=carsten.dominik@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 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).