unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: C style alist question?
Date: Sat, 06 Apr 2019 06:10:11 +0200	[thread overview]
Message-ID: <87mul3wz8c.fsf@telefonica.net> (raw)
In-Reply-To: 20190406032636.7ftf2ua54uhy2k7e@Ergus

Ergus <spacibba@aol.com> writes:

> For example: c-lineup-gcc-asm-reg, c-lineup-close-parenm,
> c-lineup-arglist-intro-after-paren... what are those, where are them?

Are you asking for their documentation? They are described on the
CC Mode manual:

https://www.gnu.org/software/emacs/manual/html_node/ccmode/Misc-Line_002dUp.html

> But also: what's the point with bringing a linux style that needs to be
> fixed by all the users that needs it?

Probably nobody cared about fixing the Emacs sources? Although this is
strange, because there are kernel developers with commit access to
Emacs.

> Could anyone help me to fix this, or fix the defaults in Emacs to follow
> the specifications?

Just discuss it with Alan Mackenzie, the maintainer of CC Mode. He is in
the emacs-devel mailing list.

> What's the recommended configuration when we need to switch constantly?
> Because now as I set the tabwidth and the indent-style outside a style,
> when I switch I only get a mixed useless style. 

C styles are buffer local. If you set the correct style in your c-mode
hook, you should be ok.




  reply	other threads:[~2019-04-06  4:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-06  3:26 C style alist question? Ergus
2019-04-06  4:10 ` Óscar Fuentes [this message]
2019-04-06  6:48 ` Eli Zaretskii
2019-04-11  1:16   ` Ergus
2019-04-11  8:28     ` Alan Mackenzie

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=87mul3wz8c.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --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).