unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: C style alist question?
Date: Sat, 06 Apr 2019 09:48:19 +0300	[thread overview]
Message-ID: <837ec7bpe4.fsf@gnu.org> (raw)
In-Reply-To: <20190406032636.7ftf2ua54uhy2k7e@Ergus> (message from Ergus on Sat, 6 Apr 2019 05:26:38 +0200)

> Date: Sat, 6 Apr 2019 05:26:38 +0200
> From: Ergus <spacibba@aol.com>
> 
> I usually edit code in two styles; the linux kernel style and now the
> emacs style. But I have seen that there are some mismatches between the
> style alists and the "official" styles.

Sorry, I don't understand what are "style alists" and the "official
styles".  Please elaborate on that.

> For example:
> 
> When I open an emacs' C source code I see details like the fill-column
> is 70 instead of 78.  
> 
> In the kernel style the indent-tabs-mode is not set to t. 

Our style is defined by the .dir-locals.el file you see in the
repository.  indent-tabs-mode is t only in Emacs Lisp mode.

> So, is it possible to fix this in order to bring a better and easier
> user initial experience with the right default values?

Fix how?  Change our style?  I think that'd be a hard change to sell,
because the current defaults were discussed several times and are a
kind of compromise between different preferences, but you need to
raise this on emacs-devel, not here.



  parent reply	other threads:[~2019-04-06  6:48 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
2019-04-06  6:48 ` Eli Zaretskii [this message]
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=837ec7bpe4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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).