3 Jul 2003 17:20
Re: CC-mode conflict with lucid.el
Martin Stjernholm <mast <at> lysator.liu.se>
2003-07-03 15:20:58 GMT
2003-07-03 15:20:58 GMT
Masayuki Ataka <ataka <at> milk.freemail.ne.jp> wrote:
> cc-engine.el and lucid.el conflicts.
>
> [TRIGER]
> (0) $ emacs -q
> (1) (require 'lucid) at first.
> (2) Open C file and write struct out of function.
> --- test.c ---
> struct a {
> -!-
> --------------
> (3) Hit TAB for indentation at the place of -!-.
> (4) ERORR: Args out of range
>
>
> [BACKTRACE]
> Debugger entered--Lisp error: (args-out-of-range 1 12)
> parse-partial-sexp(1 12 nil nil (0 nil nil nil nil nil 0 nil nil nil))
> syntax-ppss(12)
> buffer-syntactic-context()
> c-in-literal(12)
> c-guess-basic-syntax()
> c-indent-line()
> #[nil "Ã>Â)C ��x� � )ià XÂ\"à !Â'G !)) Â"
[indent-line-function column (indent-relative indent-relative-maybe) beginning-of-line "\n "
nil current-indentation indent-line-to] 2 680988 nil]()
> c-indent-command(1)
> call-interactively(c-indent-command)
>
(Continue reading)
RSS Feed