From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: indentation style
Date: Sat, 23 Apr 2011 12:51:20 +0200 [thread overview]
Message-ID: <sa07halnsuv.fsf@gmail.com> (raw)
In-Reply-To: <9B3B6773-24D4-4ED7-8635-58B321E48A17@gmail.com>
Andrea Crotti <andrea.crotti.0@gmail.com> writes:
> In .dir-locals there are settings for the style in C-mode, and the
> variable c-indentation-style gets actually set correctly.
>
> BUT if I try to do an reindent everything gets messed up (for example on
> emacs.c or dired.c) so the style set there is wrong or some files are
> not written in this style, or maybe the style has changed...
>
> Any idea of the reason?
> Thanks,
> Andrea
I tried a bit more and still don't get it.
If I do M-x c-set-style gnu RET
everything works fine, but the variable is set to the same thing as if I
don't do anything.
So I think this hook is not working correctly on this machine...
(c-mode . ((c-file-style . "GNU")))
Any other explanation?
--
GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
of 2011-03-04 on plaetekopp
next prev parent reply other threads:[~2011-04-23 10:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-23 9:26 indentation style Andrea Crotti
2011-04-23 10:51 ` Andrea Crotti [this message]
2011-07-04 14:35 ` Kan-Ru Chen
2011-07-04 14:52 ` Nix
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=sa07halnsuv.fsf@gmail.com \
--to=andrea.crotti.0@gmail.com \
--cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).