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

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

Re: Indentation settings problems


From: Bernardo
Subject: Re: Indentation settings problems
Date: Mon, 21 Sep 2009 20:57:53 +1000
User-agent: Thunderbird 2.0.0.23 (X11/20090812)



(setq-default tab-width 4
               indent-tabs-mode t)


I found the sile, there was already some code and comments generated (very
litte), and I added the code to the bottom of the document, however, it
doesn't seem to have any effect, still indenting with 2 spaces.
did you "tabify" the buffer beforehand? i.e.
  M-x mark-whole-buffer RET
  M-x tabify RET

you could quickly evaluate it with C-x C-e to see its effect


I did, and here is what I got:

Debugger entered--Lisp error: (void-variable })
  eval(})
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)

Seems like an error, a variable called }? I checked the .ecams file, not a
single curly bracket was in it.
a thing to try would be to start emacs with the -Q command line option and execute
M-: (setq-default tab-width 4) RET

followed by
M-: (setq-default indent-tabs-mode t) RET

to see if it still happens




reply via email to

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