From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Luca Ferrari Newsgroups: gmane.emacs.help Subject: Re: c-style (and also projectile) Date: Thu, 5 May 2022 17:11:21 +0200 Message-ID: References: <87o80c3uy3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5964"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Robert Pluim Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 05 17:13:01 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nmdA5-0001Pn-Ld for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 05 May 2022 17:13:01 +0200 Original-Received: from localhost ([::1]:33338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmdA4-0001q4-LE for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 05 May 2022 11:13:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmd96-0001pB-8o for help-gnu-emacs@gnu.org; Thu, 05 May 2022 11:12:00 -0400 Original-Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]:41795) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmd94-0006hT-OO for help-gnu-emacs@gnu.org; Thu, 05 May 2022 11:11:59 -0400 Original-Received: by mail-yb1-xb2a.google.com with SMTP id s30so8134819ybi.8 for ; Thu, 05 May 2022 08:11:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3iVfr0ajWtHZRnpVnT8QJHcmFC1NsYc/qcBzBFjIIzo=; b=EMqs8uzDZfqJuJv+YlljfNVSItqvcHRqGUGKyNsiuXU19LKnYDapHWIa8TNzG0EXt1 3v6FAyKrAkO60yV6PXzloUJC2oZtBv8GwBriSN0YebT/06xqkPdtTsNnMPhTxXSVUxhy lg84XpoqvMU1uaH5hkQs9c9ZYZJARMLQ7+uNfwLa5CF2yuoIvWKUJba2e7ErryL4bbrV 2AAcNbKuXMQtSVZ5Wz49I9eH7BX85pXgzqir2+Lrd31uvtRKhnc5yNtRzl0DHjxGBzCA HrU4MSR6JWQkZoV0wt8fHuXx2c5TtVcdcIRJX4UitPOFmDWmn5XF+pwEEpWWggM97NTO Al6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3iVfr0ajWtHZRnpVnT8QJHcmFC1NsYc/qcBzBFjIIzo=; b=x8/xltYbLkbKFygJdHbJHB+avKKpZT/3LrPCRtZpA8fydjaHR+5wt7QWBUG5Ympo7j RiA9JmxA/DHbsIMhHy3ooMjnH9Doskz/aMYo/iwRfdK30hm476EOyj2nPadUpDJUVc24 LceJhg08MIvAG8K72W6uh1AcjCtUS1a4gVn2F/t1SgjOQY10Ts7+qPWphvP3AwwBL8A3 5OwVWu6wLWbF6UxijGjtEXdZAyLLeg1qXvB1SwZ3aGXCTN/4jL6lwXfICGKX6/Szcmva wD7/oCmBnGUkSG9Anu6GB6beau9AKeUv/rINN38ZV3g6bHvwvFUx2TSPFO1wh0w7unz/ 1ZZw== X-Gm-Message-State: AOAM533NfJ6URz6msOy6kgQAVPBfT+BOp/FcKCV7gQu381jBVEFf02s2 9C812fGNBEZwHVDmcTiewygF2hI9GZDaDrPpObI= X-Google-Smtp-Source: ABdhPJwZMJTEBp6WV+3bG4w2KxHt2nEqieyIyCgZ4b4z6dO2A5P1N6TMEReQpJ1quing4djmN7X3+W1AKUk8mU/UMc4= X-Received: by 2002:a25:2a11:0:b0:645:896e:3bc5 with SMTP id q17-20020a252a11000000b00645896e3bc5mr21848071ybq.411.1651763517596; Thu, 05 May 2022 08:11:57 -0700 (PDT) In-Reply-To: <87o80c3uy3.fsf@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::b2a; envelope-from=fluca1978@gmail.com; helo=mail-yb1-xb2a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137143 Archived-At: On Thu, May 5, 2022 at 4:39 PM Robert Pluim wrote: > > >>>>> On Thu, 5 May 2022 16:25:10 +0200, Luca Ferrari 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