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: C99 compound literals in c-mode Date: Tue, 15 Aug 2017 10:04:03 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c1961760339330556c63980" X-Trace: blaine.gmane.org 1502784294 6942 195.159.176.226 (15 Aug 2017 08:04:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 15 Aug 2017 08:04:54 +0000 (UTC) To: Emacs Developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 15 10:04:49 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 1dhWqD-00015D-IH for ged-emacs-devel@m.gmane.org; Tue, 15 Aug 2017 10:04:45 +0200 Original-Received: from localhost ([::1]:45108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhWqG-0002O2-PJ for ged-emacs-devel@m.gmane.org; Tue, 15 Aug 2017 04:04:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhWpd-0002NS-Rl for emacs-devel@gnu.org; Tue, 15 Aug 2017 04:04:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhWpb-0007cQ-8S for emacs-devel@gnu.org; Tue, 15 Aug 2017 04:04:09 -0400 Original-Received: from disu.se ([71.19.156.204]:52300) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dhWpa-0007bI-VQ for emacs-devel@gnu.org; Tue, 15 Aug 2017 04:04:07 -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 A7E22C008 for ; Tue, 15 Aug 2017 10:04:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=disu.se; s=mail; t=1502784243; bh=QP0PYXxmd3p+G/qzAsrcQ6tAw/faWjDzvWztiJw7gC8=; l=828; h=From:Date:Subject:To:From; b=QmUbH6Oz8dKMx+1xNHXeKsWhHlecqaRgZCCpuXhmcbas7jMKb4JfXfHRdMHcNrCtf uqAOA0g4yipGlSFyvBIfDvrn90qQrweq3XY+AGwMEJs7JRfp8G2Q6P9PTos8JN4fg6 6SPgqICiTm47qkPrUMjiVVSNLkAhJOVFTbk/62BM= Original-Received: by mail-wm0-f43.google.com with SMTP id t201so3769853wmt.1 for ; Tue, 15 Aug 2017 01:04:04 -0700 (PDT) X-Gm-Message-State: AHYfb5iJTUkSginR3JoFyo/b1s9Gb2a8lCb9JHaLwm99/RQc1ypK4n1C 7JDsIRLhbkIsd+p173AK5swNL0Q8ZQ== X-Received: by 10.80.171.227 with SMTP id u90mr27055428edc.80.1502784243577; Tue, 15 Aug 2017 01:04:03 -0700 (PDT) Original-Received: by 10.80.151.16 with HTTP; Tue, 15 Aug 2017 01:04:03 -0700 (PDT) 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:217561 Archived-At: --94eb2c1961760339330556c63980 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi! C-mode doesn=E2=80=99t seem to understand C99=E2=80=99s compound literals, = resulting in rather broken indentation. Is this correct and, if so, how difficult would it be to add support for it? Thanks! Nikolai --94eb2c1961760339330556c63980 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!

C-mode doesn=E2=80=99t see= m to understand C99=E2=80=99s compound literals, resulting in rather broken= indentation.=C2=A0 Is this correct and, if so, how difficult would it be t= o add support for it?

Thanks!

=C2=A0 Nikolai
<= /div> --94eb2c1961760339330556c63980--