From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nikolai Weibull Newsgroups: gmane.emacs.devel Subject: Re: C99 compound literals in c-mode Date: Tue, 15 Aug 2017 11:56:15 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1502791105 1868 195.159.176.226 (15 Aug 2017 09:58:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 15 Aug 2017 09:58:25 +0000 (UTC) Cc: Emacs Developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 15 11:58:22 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhYc3-0008Rx-Kb for ged-emacs-devel@m.gmane.org; Tue, 15 Aug 2017 11:58:15 +0200 Original-Received: from localhost ([::1]:49671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhYc9-0007bF-T5 for ged-emacs-devel@m.gmane.org; Tue, 15 Aug 2017 05:58:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhYaE-0006ka-W1 for emacs-devel@gnu.org; Tue, 15 Aug 2017 05:56:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhYaB-0006bK-18 for emacs-devel@gnu.org; Tue, 15 Aug 2017 05:56:23 -0400 Original-Received: from disu.se ([71.19.156.204]:57470) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dhYaA-0006aq-OL for emacs-devel@gnu.org; Tue, 15 Aug 2017 05:56:18 -0400 Original-Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by disu.se (Postfix) with ESMTPSA id 2069FC025 for ; Tue, 15 Aug 2017 11:56:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=disu.se; s=mail; t=1502790977; bh=eRAH7A2WQki5YRMgi5ly5dpjNKMu/BKQkc4cyML4+zY=; l=384; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=bddB3GAqe4J8pe/gwxldYiCCGiUKufUHOvqlNanRI4qClWtQhXLN4F4HLQ7KG4RzD E6cP6YEj/tN+FbqzyBxg6/lY+CXZlHgtDLxRNcJjBXVl24rMSbaM4cuck6MPK2DlBQ eqzotWMikVMD0eFdQVAt8t/8P99Yzdi5saVur2nU= Original-Received: by mail-wm0-f43.google.com with SMTP id k20so22590400wmg.0 for ; Tue, 15 Aug 2017 02:56:17 -0700 (PDT) X-Gm-Message-State: AHYfb5hCIIzUmy8pPzdK7RuP/ANYphN4GFMPAz9d0We8b5Elyjg5BuuZ 6MtI2aa/cwmvTG5f75oxZLRIl8aW7Q== X-Received: by 10.80.153.198 with SMTP id n6mr28266695edb.16.1502790975822; Tue, 15 Aug 2017 02:56:15 -0700 (PDT) Original-Received: by 10.80.151.16 with HTTP; Tue, 15 Aug 2017 02:56:15 -0700 (PDT) In-Reply-To: X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 71.19.156.204 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217564 Archived-At: On Tue, Aug 15, 2017 at 11:03 AM, Stefan Monnier wrote: > > > C-mode doesn=E2=80=99t seem to understand C99=E2=80=99s compound litera= ls, resulting in > > rather broken indentation. Is this correct and, if so, how difficult w= ould > > it be to add support for it? > > Could you show some example problematic code? Yes: I use the following