GNU bug report logs - #14376
24.3; comment-search-forward in SQL-mode raises an error

Previous Next

Package: emacs;

Reported by: Eric Hanchrow <eric.hanchrow <at> gmail.com>

Date: Thu, 9 May 2013 20:06:01 UTC

Severity: minor

Tags: notabug

Merged with 14655

Found in version 24.3

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 14376 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 14376 <at> debbugs.gnu.org
Subject: Re: bug#14376: 24.3;
	comment-search-forward in SQL-mode raises an error
Date: Fri, 10 May 2013 16:00:13 -0400
>>> * M-x sql-mode RET
>>> * M-<
>>> * M-: (comment-search-forward (point-max) t) RET
>> You failed to call comment-normalize-vars before calling
>> comment-search-forward.
> Shouldn't comment-search-forward do this by themselves?

No.

> Can't see it's docu mentioning such a need.

;; Prior to calling any `comment-*' function, you should ensure that
;; `comment-normalize-vars' is first called to set up the appropriate
;; variables; except for the `comment-*' commands, which call
;; `comment-normalize-vars' automatically as a subroutine.


        Stefan




This bug report was last modified 11 years and 343 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.