all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kan-Ru Chen <kanru@kanru.info>
To: Andrea Crotti <andrea.crotti.0@gmail.com>
Cc: Nix <nix@esperi.org.uk>, emacs-devel@gnu.org
Subject: Re: indentation style
Date: Mon, 04 Jul 2011 22:35:34 +0800	[thread overview]
Message-ID: <87ipriw1u1.fsf@isil.kanru.info> (raw)
In-Reply-To: <sa07halnsuv.fsf@gmail.com> (Andrea Crotti's message of "Sat, 23 Apr 2011 12:51:20 +0200")

Andrea Crotti <andrea.crotti.0@gmail.com> writes:

> 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?

Probably the same issue that I had encountered:

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7570

-- 
Kanru



  reply	other threads:[~2011-07-04 14:35 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
2011-07-04 14:35   ` Kan-Ru Chen [this message]
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

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

  git send-email \
    --in-reply-to=87ipriw1u1.fsf@isil.kanru.info \
    --to=kanru@kanru.info \
    --cc=andrea.crotti.0@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=nix@esperi.org.uk \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.