unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Bernardo <bernardo.bacic@pobox.com>
To: emacs help <help-gnu-emacs@gnu.org>
Subject: Re: Indentation settings problems
Date: Mon, 21 Sep 2009 20:57:53 +1000	[thread overview]
Message-ID: <4AB75C31.4080109@pobox.com> (raw)
In-Reply-To: <25530140.post@talk.nabble.com>



>> (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	other threads:[~2009-09-21 10:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-19 10:46 Indentation settings problems TriKri
2009-09-20  1:55 ` Bernardo
2009-09-20  2:18   ` Bernardo
2009-09-20 18:37   ` TriKri
2009-09-20 18:55     ` Peter Dyballa
2009-09-20 19:41     ` Andreas Politz
2009-09-24  7:42       ` TriKri
2009-09-20 22:22   ` TriKri
2009-09-21 10:57     ` Bernardo [this message]
2009-09-22 18:02     ` TriKri
2009-09-22 22:54       ` Bernardo
     [not found]   ` <mailman.7104.1253471858.2239.help-gnu-emacs@gnu.org>
2009-09-21 21:27     ` jpkotta
2009-09-23  8:38   ` TriKri
2009-09-23 11:15     ` Alan Mackenzie
2009-10-01 22:44 ` TriKri
2009-10-03  5:45   ` tomas
2009-10-03 19:56 ` TriKri
     [not found] ` <mailman.7953.1254599775.2239.help-gnu-emacs@gnu.org>
2009-10-07 18:57   ` John A Pershing Jr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AB75C31.4080109@pobox.com \
    --to=bernardo.bacic@pobox.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).