From: Luca Ferrari <fluca1978@gmail.com>
To: Robert Pluim <rpluim@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: c-style (and also projectile)
Date: Thu, 5 May 2022 17:11:21 +0200 [thread overview]
Message-ID: <CAKoxK+4C5x3obFY=xpDspxCji=jkKARefNP13khUd_rBkC+_WQ@mail.gmail.com> (raw)
In-Reply-To: <87o80c3uy3.fsf@gmail.com>
On Thu, May 5, 2022 at 4:39 PM Robert Pluim <rpluim@gmail.com> wrote:
>
> >>>>> On Thu, 5 May 2022 16:25:10 +0200, Luca Ferrari <fluca1978@gmail.com> said:
>
> Luca> Hi all,
> Luca> I feel a little dumb here, but is there a way to change on the fly the
> Luca> c-style for a buffer? At the moment it seems I cannot find it.
>
> `c-set-style'? Bound to "C-c ." here.
That was easy, thank!
> ;;; Directory Local Variables
> ;;; For more information see (info "(emacs) Directory Variables")
>
> ((c-mode . ((c-file-style . "GNU")
> (indent-tabs-mode . t))))
Great, it works greatly! Any chance it can be loaded even when using tramp?
Luca
next prev parent reply other threads:[~2022-05-05 15:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-05 14:25 c-style (and also projectile) Luca Ferrari
2022-05-05 14:39 ` Robert Pluim
2022-05-05 15:11 ` Luca Ferrari [this message]
2022-05-05 15:17 ` Robert Pluim
2022-05-05 15:42 ` Michael Albinus
2022-05-09 14:14 ` Luca Ferrari
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='CAKoxK+4C5x3obFY=xpDspxCji=jkKARefNP13khUd_rBkC+_WQ@mail.gmail.com' \
--to=fluca1978@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=rpluim@gmail.com \
/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).