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

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

elisp indentation problem


From: Felix Natter
Subject: elisp indentation problem
Date: 11 Feb 2002 17:00:51 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

hi,

In GNU Emacs 21.1.1 (i686-pc-linux-gnu, X toolkit)
 of 2002-01-05 on couchpotato
configured using `configure  --disable-largefile'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

with emacs 21.1.1, when I indent via TAB (as opposed to C-x h M-x
indent-region) the indentation of comments is screwed up (and I
couldn't find anything in PROBLEMS) (it might be the other way around:
maybe TAB is wrong and C-h x M-x indent-region is okay ?)

(defun test ()
  (save-excursion
        (if (not (re-search-backward
                          
;;\1=startComment;\2=endComment;\3=startCDATA;\4=endCDATA
(this is the smallest test-case I was able to find; I also attached
the whole file)

it has to do with the \[0-9]: the problem does not occur if
I change the comment to something like ";; foo".

thanks,

-- 
Felix Natter

Attachment: closetag.el
Description: the whole file


reply via email to

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