bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12583: latest org-mode changes exposes bug in `comment-forward' in n


From: Le Wang
Subject: bug#12583: latest org-mode changes exposes bug in `comment-forward' in newcomment.el
Date: Sat, 6 Oct 2012 19:07:21 +0800

Repro with Emacs head:

1. emacs -Q
2. create new org file
3. insert "# blah"
4. C-a
5. M-: (comment-forward 1)

The problem is that `comment-use-syntax' changed from 'undecided to
nil in org.el, which intern exposed a problem in `comment-forward':

It contains:

    (re-search-forward comment-end-skip nil 'move)

But comment-end-skip can validly be nil according to documentation.

-- 
Le





reply via email to

[Prev in Thread] Current Thread [Next in Thread]