From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 03 01:02:38 2018 Received: (at submit) by debbugs.gnu.org; 3 Jan 2018 06:02:38 +0000 Received: from localhost ([127.0.0.1]:33746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWc8M-0002RX-66 for submit@debbugs.gnu.org; Wed, 03 Jan 2018 01:02:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWc8I-0002RJ-Tu for submit@debbugs.gnu.org; Wed, 03 Jan 2018 01:02:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWc8C-0005Qe-DO for submit@debbugs.gnu.org; Wed, 03 Jan 2018 01:02:29 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57619) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eWc8C-0005QW-9Y for submit@debbugs.gnu.org; Wed, 03 Jan 2018 01:02:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWc8A-0006Mk-Rh for bug-gnu-emacs@gnu.org; Wed, 03 Jan 2018 01:02:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWc89-0005P0-LD for bug-gnu-emacs@gnu.org; Wed, 03 Jan 2018 01:02:26 -0500 Received: from forward102p.mail.yandex.net ([2a02:6b8:0:1472:2741:0:8b7:102]:38505) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eWc89-0005Il-6Q for bug-gnu-emacs@gnu.org; Wed, 03 Jan 2018 01:02:25 -0500 Received: from mxback9j.mail.yandex.net (mxback9j.mail.yandex.net [IPv6:2a02:6b8:0:1619::112]) by forward102p.mail.yandex.net (Yandex) with ESMTP id E59774301CAC for ; Wed, 3 Jan 2018 09:02:20 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback9j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id hHaFCyllig-2K5GroNI; Wed, 03 Jan 2018 09:02:20 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1514959340; bh=w4oTCFNy9IQ1wqp+P2wRuw2v6IyoAjsJAVILAxQa3Js=; h=To:From:Subject:Message-ID:Date; b=jpQDKwH55PaOFNZ8PtGPWrZ/Qwgknbh3Z5KZ+WwZbF6OIIg2SXON818xl6yQs9pKA elvfmyW3BZm9A61lzZsmqqzISEYbSV/5iEpVTkBX0rifsWHUdVRQdZqwZP7/AupjfB vJc7yvEj2axE7Vy7SpIs27RvcuCnCeOcY4gimk1A= Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id LIpj5G4z73-2KrG4hfJ; Wed, 03 Jan 2018 09:02:20 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1514959340; bh=w4oTCFNy9IQ1wqp+P2wRuw2v6IyoAjsJAVILAxQa3Js=; h=To:From:Subject:Message-ID:Date; b=jpQDKwH55PaOFNZ8PtGPWrZ/Qwgknbh3Z5KZ+WwZbF6OIIg2SXON818xl6yQs9pKA elvfmyW3BZm9A61lzZsmqqzISEYbSV/5iEpVTkBX0rifsWHUdVRQdZqwZP7/AupjfB vJc7yvEj2axE7Vy7SpIs27RvcuCnCeOcY4gimk1A= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.ru To: bug-gnu-emacs@gnu.org From: Konstantin Kharlamov Subject: cc-mode: wrong indentation in absence of semicolon Message-ID: Date: Wed, 3 Jan 2018 09:02:19 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: ru-RU Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) # Steps to reproduce: 1. Open emacs -Q test.c 2. Write the following: int main() { int a, } 3. put the caret after the comma symbol, and press enter, e.g. to continue writing variables on the new line. # Expected: the new line alignment stands out with regard to the prev. line. # Actual: the new line aligned to the beginning of the prev. line. # Workarounds: Typing the following text: int main() { int a,; } =E2=80=A6then pressing enter right after the comma works as expected. ------------ In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.26) of 2017-12-15 built on constantine-N61Ja Repository revision: 6c301afa70f6eac32ad1ce92412ea3cf6fcdeeca Windowing system distributor 'The X.Org Foundation', version 11.0.1190600= 0 System Description: Arch Linux Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir=3D/var --mandir=3D/usr/share/man --with-gameuser=3D:gam= es --with-sound=3Dalsa --with-xft --with-modules --with-x-toolkit=3Dgtk3 --without-gconf --without-gsettings --without-gpm --without-m17n-flt --without-imagemagick 'CFLAGS=3D-flto=3D2 -march=3Dnative -O3 -pipe -fno-stack-protector -fweb -fno-semantic-interposition -fmerge-all-constants' 'LDFLAGS=3D-flto=3D2 -O3 -march=3Dnative -fweb -fno-semantic-interposition -fmerge-all-constants -floop-nest-optimize -Wl,--sort-common,-z,relro -fuse-ld=3Dgold'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES LIBSYSTEMD JSON LCMS2 Important settings: value of $LC_CTYPE: ru_RU.UTF-8 value of $LC_TIME: ru_RU.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dnone locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date mule-util cyril-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify lcms2 dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 95121 11339) (symbols 48 20190 1) (miscs 40 48 119) (strings 32 28421 1060) (string-bytes 1 750170) (vectors 16 14089) (vector-slots 8 494084 10026) (floats 8 49 212) (intervals 56 239 0) (buffers 992 11)) From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 13 06:11:49 2018 Received: (at submit) by debbugs.gnu.org; 13 Jan 2018 11:11:49 +0000 Received: from localhost ([127.0.0.1]:54380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eaJj3-0008DT-Aj for submit@debbugs.gnu.org; Sat, 13 Jan 2018 06:11:49 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eaJj1-0008DE-UT for submit@debbugs.gnu.org; Sat, 13 Jan 2018 06:11:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eaJiv-0003kM-G1 for submit@debbugs.gnu.org; Sat, 13 Jan 2018 06:11:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39127) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eaJiv-0003kF-C3 for submit@debbugs.gnu.org; Sat, 13 Jan 2018 06:11:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaJit-0007hr-Pd for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2018 06:11:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eaJiq-0003gw-HY for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2018 06:11:39 -0500 Received: from forward100o.mail.yandex.net ([37.140.190.180]:34455) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eaJiq-0003f6-12 for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2018 06:11:36 -0500 Received: from mxback18j.mail.yandex.net (mxback18j.mail.yandex.net [IPv6:2a02:6b8:0:1619::94]) by forward100o.mail.yandex.net (Yandex) with ESMTP id 8BA7A2A21534 for ; Sat, 13 Jan 2018 14:11:32 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback18j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id yVB2RGvC8l-BWPGBCKk; Sat, 13 Jan 2018 14:11:32 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1515841892; bh=763SKLw8Jcgg+/lkwfijDG+2YLVT1JVIcjrQjSRpehQ=; h=Subject:From:To:References:Message-ID:Date:In-Reply-To; b=Xg3plhHVasB2atD6BWX8kc/7ezWGN+BGV3oT/mVfkd+sVeZ88m/p9GQLBON1FUreE kmYaQcs4HDSOaC8boI1k1gys5vaaXYGsmNz2o+H52I5AQAZQPOAYD3Dl1bMOSnJ443 xqtgAl0IARRM0nj4tel9/yhkRUznFhWdBgnlqxtc= Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id QQPpP2Z6Zw-BVx8ZF3k; Sat, 13 Jan 2018 14:11:31 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1515841891; bh=763SKLw8Jcgg+/lkwfijDG+2YLVT1JVIcjrQjSRpehQ=; h=Subject:From:To:References:Message-ID:Date:In-Reply-To; b=APDZlNKrJ+FPvAurIAqEjXd4cL7Znz2823jwpmO8tEMWEVyYwUoMtSwVzbkWNc/U6 hSDOc05PVdB9Ap+jriKHsyWznh8oI8P6ayFOEgx2DcZErajuwCWKKKQCEYh45kVA6I AZUhZqA3WEH/WQ8mXmVeH2MFNjHa9wS3Mjx7STG0= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: cc-mode: wrong indentation in absence of semicolon From: Konstantin Kharlamov To: bug-gnu-emacs@gnu.org References: Message-ID: <8a042ba1-301c-8943-1381-537cba8a2334@yandex.ru> Date: Sat, 13 Jan 2018 14:11:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: ru-RU Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Just tested with current git, the problem is still present. I am almost sure this is a regression, I don't remember having that=20 problem before. The real-world consequences are just too annoying for it=20 to go unnoticed =E2=80=94 basically, every time I'm typing variables inde= ntation=20 just doesn't work. And I also seem to remember a few irrelevant=20 situations where I was typing conditions with the like results. On 03.01.2018 09:02, Konstantin Kharlamov wrote: > # Steps to reproduce: > 1. Open emacs -Q test.c > 2. Write the following: >=20 > int main() { > =C2=A0=C2=A0=C2=A0 int a, > } >=20 > 3. put the caret after the comma symbol, and press enter, e.g. to > continue writing variables on the new line. >=20 > # Expected: > the new line alignment stands out with regard to the prev. line. >=20 > # Actual: > the new line aligned to the beginning of the prev. line. >=20 > # Workarounds: > Typing the following text: >=20 > int main() { > =C2=A0=C2=A0=C2=A0 int a,; > } >=20 > =E2=80=A6then pressing enter right after the comma works as expected. >=20 > ------------ >=20 > In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.2= 6) > =C2=A0of 2017-12-15 built on constantine-N61Ja > Repository revision: 6c301afa70f6eac32ad1ce92412ea3cf6fcdeeca > Windowing system distributor 'The X.Org Foundation', version 11.0.11906= 000 > System Description: Arch Linux >=20 > Recent messages: > For information about GNU Emacs and the GNU system, type C-h C-a. >=20 > Configured using: > =C2=A0'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/u= sr/lib > =C2=A0--localstatedir=3D/var --mandir=3D/usr/share/man --with-gameuser= =3D:games > =C2=A0--with-sound=3Dalsa --with-xft --with-modules --with-x-toolkit=3D= gtk3 > =C2=A0--without-gconf --without-gsettings --without-gpm --without-m17n= -flt > =C2=A0--without-imagemagick 'CFLAGS=3D-flto=3D2 -march=3Dnative -O3 -p= ipe > =C2=A0-fno-stack-protector -fweb -fno-semantic-interposition > =C2=A0-fmerge-all-constants' 'LDFLAGS=3D-flto=3D2 -O3 -march=3Dnative = -fweb > =C2=A0-fno-semantic-interposition -fmerge-all-constants -floop-nest-op= timize > =C2=A0-Wl,--sort-common,-z,relro -fuse-ld=3Dgold'' >=20 > Configured features: > XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL GNUTLS LIBXML2 FREETYP= E > LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES LIBSYSTEMD JSON > LCMS2 >=20 > Important settings: > =C2=A0 value of $LC_CTYPE: ru_RU.UTF-8 > =C2=A0 value of $LC_TIME: ru_RU.UTF-8 > =C2=A0 value of $LANG: en_US.UTF-8 > =C2=A0 value of $XMODIFIERS: @im=3Dnone > =C2=A0 locale-coding-system: utf-8-unix >=20 > Major mode: Lisp Interaction >=20 > Minor modes in effect: > =C2=A0 tooltip-mode: t > =C2=A0 global-eldoc-mode: t > =C2=A0 eldoc-mode: t > =C2=A0 electric-indent-mode: t > =C2=A0 mouse-wheel-mode: t > =C2=A0 tool-bar-mode: t > =C2=A0 menu-bar-mode: t > =C2=A0 file-name-shadow-mode: t > =C2=A0 global-font-lock-mode: t > =C2=A0 font-lock-mode: t > =C2=A0 blink-cursor-mode: t > =C2=A0 auto-composition-mode: t > =C2=A0 auto-encryption-mode: t > =C2=A0 auto-compression-mode: t > =C2=A0 line-number-mode: t > =C2=A0 transient-mark-mode: t >=20 > Load-path shadows: > None found. >=20 > Features: > (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv > bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs > format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg > epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode > mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 > rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date > mule-util cyril-util tooltip eldoc electric uniquify ediff-hook vc-hook= s > lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar > dnd fontset image regexp-opt fringe tabulated-list replace newcomment > text-mode elisp-mode lisp-mode prog-mode register page menu-bar > rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock > syntax facemenu font-core term/tty-colors frame cl-generic cham georgia= n > utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean > japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european > ethiopic indian cyrillic chinese composite charscript charprop > case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer > cl-preloaded nadvice loaddefs button faces cus-face macroexp files > text-properties overlay sha1 md5 base64 format env code-pages mule > custom widget hashtable-print-readable backquote dbusbind inotify lcms2 > dynamic-setting font-render-setting move-toolbar gtk x-toolkit x > multi-tty make-network-process emacs) >=20 > Memory information: > ((conses 16 95121 11339) > =C2=A0(symbols 48 20190 1) > =C2=A0(miscs 40 48 119) > =C2=A0(strings 32 28421 1060) > =C2=A0(string-bytes 1 750170) > =C2=A0(vectors 16 14089) > =C2=A0(vector-slots 8 494084 10026) > =C2=A0(floats 8 49 212) > =C2=A0(intervals 56 239 0) > =C2=A0(buffers 992 11)) From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 13 15:43:31 2018 Received: (at 29959) by debbugs.gnu.org; 13 Jan 2018 20:43:31 +0000 Received: from localhost ([127.0.0.1]:55160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eaSeJ-000716-Fn for submit@debbugs.gnu.org; Sat, 13 Jan 2018 15:43:31 -0500 Received: from colin.muc.de ([193.149.48.1]:40635 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1eaSeH-00070v-Fl for 29959@debbugs.gnu.org; Sat, 13 Jan 2018 15:43:30 -0500 Received: (qmail 58060 invoked by uid 3782); 13 Jan 2018 20:43:27 -0000 Received: from acm.muc.de (p548C79A1.dip0.t-ipconnect.de [84.140.121.161]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 13 Jan 2018 21:43:26 +0100 Received: (qmail 9765 invoked by uid 1000); 13 Jan 2018 20:37:52 -0000 Date: Sat, 13 Jan 2018 20:37:52 +0000 To: Konstantin Kharlamov Subject: Re: bug#29959: cc-mode: wrong indentation in absence of semicolon Message-ID: <20180113203752.GA9688@ACM> References: <8a042ba1-301c-8943-1381-537cba8a2334@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8a042ba1-301c-8943-1381-537cba8a2334@yandex.ru> User-Agent: Mutt/1.7.2 (2016-11-26) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 29959 Cc: 29959@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello, Konstantin. On Sat, Jan 13, 2018 at 14:11:31 +0300, Konstantin Kharlamov wrote: > Just tested with current git, the problem is still present. > I am almost sure this is a regression, I don't remember having that > problem before. The real-world consequences are just too annoying for it > to go unnoticed — basically, every time I'm typing variables indentation > just doesn't work. And I also seem to remember a few irrelevant > situations where I was typing conditions with the like results. The problem originates in a new feature, C99 compound literals, which was committed on 2017-11-10. This detects brace blocks (meaning something like the initialisation of a struct) in the middle of executable code, but it is clear the test for such a brace block isn't rigorous enough, since even function blocks are being mistaken for them. > On 03.01.2018 09:02, Konstantin Kharlamov wrote: > > # Steps to reproduce: > > 1. Open emacs -Q test.c > > 2. Write the following: > > int main() { > >     int a, > > } > > 3. put the caret after the comma symbol, and press enter, e.g. to > > continue writing variables on the new line. > > # Expected: > > the new line alignment stands out with regard to the prev. line. > > # Actual: > > the new line aligned to the beginning of the prev. line. > > # Workarounds: > > Typing the following text: > > int main() { > >     int a,; > > } > > …then pressing enter right after the comma works as expected. At the moment, the bug you're seeing is triggered by CC Mode checking for commas and semicolons in blocks; if the last such delimiter is a comma, the block is taken as a brace block. So a workaround, for the moment, is to ensure that you have a semicolon in each block as the last delimiter there. I will be working on fixing this bug. Thanks for taking the trouble to report it. > > ------------ > > In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.26) > >  of 2017-12-15 built on constantine-N61Ja > > Repository revision: 6c301afa70f6eac32ad1ce92412ea3cf6fcdeeca > > Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 > > System Description: Arch Linux [ .... ] -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 18 13:48:15 2018 Received: (at 29959) by debbugs.gnu.org; 18 Jan 2018 18:48:15 +0000 Received: from localhost ([127.0.0.1]:33667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecFEV-0008TU-26 for submit@debbugs.gnu.org; Thu, 18 Jan 2018 13:48:15 -0500 Received: from colin.muc.de ([193.149.48.1]:35413 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1ecFES-0008TK-LY for 29959@debbugs.gnu.org; Thu, 18 Jan 2018 13:48:13 -0500 Received: (qmail 96496 invoked by uid 3782); 18 Jan 2018 18:48:11 -0000 Received: from acm.muc.de (p548C76DC.dip0.t-ipconnect.de [84.140.118.220]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 18 Jan 2018 19:48:10 +0100 Received: (qmail 22050 invoked by uid 1000); 18 Jan 2018 18:41:37 -0000 Date: Thu, 18 Jan 2018 18:41:37 +0000 To: Konstantin Kharlamov Subject: Re: bug#29959: cc-mode: wrong indentation in absence of semicolon Message-ID: <20180118184137.GB21934@ACM> References: <8a042ba1-301c-8943-1381-537cba8a2334@yandex.ru> <20180113203752.GA9688@ACM> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180113203752.GA9688@ACM> User-Agent: Mutt/1.7.2 (2016-11-26) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 29959 Cc: 29959@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello again, Konstantin. On Sat, Jan 13, 2018 at 20:37:52 +0000, Alan Mackenzie wrote: > On Sat, Jan 13, 2018 at 14:11:31 +0300, Konstantin Kharlamov wrote: > > Just tested with current git, the problem is still present. > > I am almost sure this is a regression, I don't remember having that > > problem before. The real-world consequences are just too annoying for it > > to go unnoticed — basically, every time I'm typing variables indentation > > just doesn't work. And I also seem to remember a few irrelevant > > situations where I was typing conditions with the like results. > The problem originates in a new feature, C99 compound literals, which was > committed on 2017-11-10. This detects brace blocks (meaning something > like the initialisation of a struct) in the middle of executable code, > but it is clear the test for such a brace block isn't rigorous enough, > since even function blocks are being mistaken for them. The new feature, C99 compound literals, has been removed from the emacs-26 branch, so as to avoid delaying the relase process for that branch. The commit has hash 36edb6cb97ce3d53543c87643077d270bb5bdfd1, and it should apply without problems to the master branch. It is to be hoped that a more elaborate and more correct solution will be found soon for the master branch. > > On 03.01.2018 09:02, Konstantin Kharlamov wrote: > > > # Steps to reproduce: > > > 1. Open emacs -Q test.c > > > 2. Write the following: > > > int main() { > > >     int a, > > > } > > > 3. put the caret after the comma symbol, and press enter, e.g. to > > > continue writing variables on the new line. > > > # Expected: > > > the new line alignment stands out with regard to the prev. line. > > > # Actual: > > > the new line aligned to the beginning of the prev. line. > > > # Workarounds: > > > Typing the following text: > > > int main() { > > >     int a,; > > > } > > > …then pressing enter right after the comma works as expected. > > > ------------ > > > In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.26) > > >  of 2017-12-15 built on constantine-N61Ja > > > Repository revision: 6c301afa70f6eac32ad1ce92412ea3cf6fcdeeca > > > Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 > > > System Description: Arch Linux > [ .... ] -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 18 14:08:22 2018 Received: (at 29959) by debbugs.gnu.org; 18 Jan 2018 19:08:22 +0000 Received: from localhost ([127.0.0.1]:33679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecFXy-0000VM-HG for submit@debbugs.gnu.org; Thu, 18 Jan 2018 14:08:22 -0500 Received: from forward104o.mail.yandex.net ([37.140.190.179]:36082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecFXt-0000V4-EM for 29959@debbugs.gnu.org; Thu, 18 Jan 2018 14:08:18 -0500 Received: from mxback9j.mail.yandex.net (mxback9j.mail.yandex.net [IPv6:2a02:6b8:0:1619::112]) by forward104o.mail.yandex.net (Yandex) with ESMTP id DE350701C5E; Thu, 18 Jan 2018 22:08:10 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback9j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id VAupExEkSY-8AXSJAeO; Thu, 18 Jan 2018 22:08:10 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1516302490; bh=oqX+1svKFLZ9Jni2C6FqKeljf1VayGCjEb6smHjr8ys=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=R5PC6u8JQTr6kRFJX2KJYO/ZFmFhmwj2MrmJ0SsepqWq3sDWJL/KI8kOKI8Vt2iNA cBJnTViqAgZcYujwUHvYXMmZZp/iOFjv8jBw2qK0FiTNb6u2S7b5yLUObFNBXk+aO7 4cROtycgYf4lCybBRGJNYiRZ/Ij66g1NuCCBpczM= Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id tmtEaBZJpl-89V8emdi; Thu, 18 Jan 2018 22:08:09 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1516302490; bh=oqX+1svKFLZ9Jni2C6FqKeljf1VayGCjEb6smHjr8ys=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=R5PC6u8JQTr6kRFJX2KJYO/ZFmFhmwj2MrmJ0SsepqWq3sDWJL/KI8kOKI8Vt2iNA cBJnTViqAgZcYujwUHvYXMmZZp/iOFjv8jBw2qK0FiTNb6u2S7b5yLUObFNBXk+aO7 4cROtycgYf4lCybBRGJNYiRZ/Ij66g1NuCCBpczM= Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: bug#29959: cc-mode: wrong indentation in absence of semicolon To: Alan Mackenzie References: <8a042ba1-301c-8943-1381-537cba8a2334@yandex.ru> <20180113203752.GA9688@ACM> <20180118184137.GB21934@ACM> From: Konstantin Kharlamov Message-ID: <7dc2d599-f391-2b0c-2509-ea45a5cf74d4@yandex.ru> Date: Thu, 18 Jan 2018 22:08:04 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180118184137.GB21934@ACM> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: ru-RU Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29959 Cc: 29959@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Cool, thanks, I applied it locally, works for me! On 18.01.2018 21:41, Alan Mackenzie wrote: > Hello again, Konstantin. > > On Sat, Jan 13, 2018 at 20:37:52 +0000, Alan Mackenzie wrote: >> On Sat, Jan 13, 2018 at 14:11:31 +0300, Konstantin Kharlamov wrote: >>> Just tested with current git, the problem is still present. > >>> I am almost sure this is a regression, I don't remember having that >>> problem before. The real-world consequences are just too annoying for it >>> to go unnoticed — basically, every time I'm typing variables indentation >>> just doesn't work. And I also seem to remember a few irrelevant >>> situations where I was typing conditions with the like results. > >> The problem originates in a new feature, C99 compound literals, which was >> committed on 2017-11-10. This detects brace blocks (meaning something >> like the initialisation of a struct) in the middle of executable code, >> but it is clear the test for such a brace block isn't rigorous enough, >> since even function blocks are being mistaken for them. > > The new feature, C99 compound literals, has been removed from the > emacs-26 branch, so as to avoid delaying the relase process for that > branch. The commit has hash 36edb6cb97ce3d53543c87643077d270bb5bdfd1, > and it should apply without problems to the master branch. > > It is to be hoped that a more elaborate and more correct solution will > be found soon for the master branch. > >>> On 03.01.2018 09:02, Konstantin Kharlamov wrote: >>>> # Steps to reproduce: >>>> 1. Open emacs -Q test.c >>>> 2. Write the following: > >>>> int main() { >>>>     int a, >>>> } > >>>> 3. put the caret after the comma symbol, and press enter, e.g. to >>>> continue writing variables on the new line. > >>>> # Expected: >>>> the new line alignment stands out with regard to the prev. line. > >>>> # Actual: >>>> the new line aligned to the beginning of the prev. line. > >>>> # Workarounds: >>>> Typing the following text: > >>>> int main() { >>>>     int a,; >>>> } > >>>> …then pressing enter right after the comma works as expected. > >>>> ------------ > >>>> In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.26) >>>>  of 2017-12-15 built on constantine-N61Ja >>>> Repository revision: 6c301afa70f6eac32ad1ce92412ea3cf6fcdeeca >>>> Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 >>>> System Description: Arch Linux > >> [ .... ] > From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 18 14:19:46 2018 Received: (at 29959) by debbugs.gnu.org; 18 Jan 2018 19:19:46 +0000 Received: from localhost ([127.0.0.1]:33689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecFj0-0000lr-6U for submit@debbugs.gnu.org; Thu, 18 Jan 2018 14:19:46 -0500 Received: from forward100o.mail.yandex.net ([37.140.190.180]:51728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecFix-0000lb-W8 for 29959@debbugs.gnu.org; Thu, 18 Jan 2018 14:19:44 -0500 Received: from mxback15j.mail.yandex.net (mxback15j.mail.yandex.net [IPv6:2a02:6b8:0:1619::91]) by forward100o.mail.yandex.net (Yandex) with ESMTP id F1E9C2A23B2D; Thu, 18 Jan 2018 22:19:37 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback15j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Ws3rKxmbsi-JbY4ankG; Thu, 18 Jan 2018 22:19:37 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1516303177; bh=xANo6AGREIWUu+Z0ELE3XblngvVYfljXeWO6jqVzICc=; h=Subject:From:To:Cc:References:Message-ID:Date:In-Reply-To; b=EVQZxsM/S8wh7ocPgdV+Ga8WR/CfCm8/a4mRvClwVpYZ9lA3hVbnxwMyGC/6ATR4V 5VEWP1n5soFnHhzgpoXeFDXObbBKKDKpig5ZeJAuU9ezTXZXKqJXz5npFMW0jDFEEa Ju7xjiXZGKGyfgCjTxhic6WzWxDuL4DJ3RQT/Zl4= Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id rZlizH8sP6-JbV8ZtoG; Thu, 18 Jan 2018 22:19:37 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1516303177; bh=xANo6AGREIWUu+Z0ELE3XblngvVYfljXeWO6jqVzICc=; h=Subject:From:To:Cc:References:Message-ID:Date:In-Reply-To; b=EVQZxsM/S8wh7ocPgdV+Ga8WR/CfCm8/a4mRvClwVpYZ9lA3hVbnxwMyGC/6ATR4V 5VEWP1n5soFnHhzgpoXeFDXObbBKKDKpig5ZeJAuU9ezTXZXKqJXz5npFMW0jDFEEa Ju7xjiXZGKGyfgCjTxhic6WzWxDuL4DJ3RQT/Zl4= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: bug#29959: cc-mode: wrong indentation in absence of semicolon From: Konstantin Kharlamov To: Alan Mackenzie References: <8a042ba1-301c-8943-1381-537cba8a2334@yandex.ru> <20180113203752.GA9688@ACM> <20180118184137.GB21934@ACM> <7dc2d599-f391-2b0c-2509-ea45a5cf74d4@yandex.ru> Message-ID: Date: Thu, 18 Jan 2018 22:19:35 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <7dc2d599-f391-2b0c-2509-ea45a5cf74d4@yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29959 Cc: 29959@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Sorry, I mean, not cool that it doesn't work, but cool there's a workaround. On side note — though I am not experienced in elisp — I think it'd be nice to add a comment in the removed code that it's looking for C99 compound literals. Otherwise I personally struggle to understand what's being looked up there. In fact, whole file doesn't mention sentence "C99 compound literals" anywhere. On 18.01.2018 22:08, Konstantin Kharlamov wrote: > Cool, thanks, I applied it locally, works for me! > > On 18.01.2018 21:41, Alan Mackenzie wrote: >> Hello again, Konstantin. >> >> On Sat, Jan 13, 2018 at 20:37:52 +0000, Alan Mackenzie wrote: >>> On Sat, Jan 13, 2018 at 14:11:31 +0300, Konstantin Kharlamov wrote: >>>> Just tested with current git, the problem is still present. >> >>>> I am almost sure this is a regression, I don't remember having that >>>> problem before. The real-world consequences are just too annoying >>>> for it >>>> to go unnoticed — basically, every time I'm typing variables >>>> indentation >>>> just doesn't work. And I also seem to remember a few irrelevant >>>> situations where I was typing conditions with the like results. >> >>> The problem originates in a new feature, C99 compound literals, which >>> was >>> committed on 2017-11-10.  This detects brace blocks (meaning something >>> like the initialisation of a struct) in the middle of executable code, >>> but it is clear the test for such a brace block isn't rigorous enough, >>> since even function blocks are being mistaken for them. >> >> The new feature, C99 compound literals, has been removed from the >> emacs-26 branch, so as to avoid delaying the relase process for that >> branch.  The commit has hash 36edb6cb97ce3d53543c87643077d270bb5bdfd1, >> and it should apply without problems to the master branch. >> >> It is to be hoped that a more elaborate and more correct solution will >> be found soon for the master branch. >> >>>> On 03.01.2018 09:02, Konstantin Kharlamov wrote: >>>>> # Steps to reproduce: >>>>> 1. Open emacs -Q test.c >>>>> 2. Write the following: >> >>>>> int main() { >>>>>       int a, >>>>> } >> >>>>> 3. put the caret after the comma symbol, and press enter, e.g. to >>>>> continue writing variables on the new line. >> >>>>> # Expected: >>>>> the new line alignment stands out with regard to the prev. line. >> >>>>> # Actual: >>>>> the new line aligned to the beginning of the prev. line. >> >>>>> # Workarounds: >>>>> Typing the following text: >> >>>>> int main() { >>>>>       int a,; >>>>> } >> >>>>> …then pressing enter right after the comma works as expected. >> >>>>> ------------ >> >>>>> In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version >>>>> 3.22.26) >>>>>    of 2017-12-15 built on constantine-N61Ja >>>>> Repository revision: 6c301afa70f6eac32ad1ce92412ea3cf6fcdeeca >>>>> Windowing system distributor 'The X.Org Foundation', version >>>>> 11.0.11906000 >>>>> System Description: Arch Linux >> >>> [ .... ] >> From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 07 20:53:18 2018 Received: (at 29959) by debbugs.gnu.org; 8 Feb 2018 01:53:18 +0000 Received: from localhost ([127.0.0.1]:33622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejbOo-0005eS-0o for submit@debbugs.gnu.org; Wed, 07 Feb 2018 20:53:18 -0500 Received: from mail-it0-f44.google.com ([209.85.214.44]:35587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejbOl-0005e9-M2; Wed, 07 Feb 2018 20:53:16 -0500 Received: by mail-it0-f44.google.com with SMTP id e1so4613969ita.0; Wed, 07 Feb 2018 17:53:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=zJ15OCnJnCoatpWzzmJajO3t+pDHExflxkOXNwUZW3g=; b=pRujdu/2mStGjDQstNMUfGIccLA3VpV2o3wsXSUScM39FfSQa6XuWOv2rCyVbMCY5p HuMaPQr1hgvk7YN0+PXl8KBgH6jmu4i3cdckUwUH4ZzbzA5SWQ6QXSaxpZtdGVeWh+Ae Yqxe8kmJxC1kDjgGjU1SxXZKIEqncquQY4utVwp4eELXI7zCc3uXLzo7luIJ4tik3t7+ Uqie8QCjlLTPqBCc1CcfTnVUO36CmxuRjG6R0kLMMM5xHdJ5+DFjJ9rVhwWqCxfxaxY1 XiKJqbH9KYD/ceSlvkzbbye4TyJLnr5/ZdhmpF4lZ9eQT5x/2sR26RSK83cUs5BE+u1+ DHRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=zJ15OCnJnCoatpWzzmJajO3t+pDHExflxkOXNwUZW3g=; b=WQv6WNm29wpILabsRKSO0+cQcynTUQlEZ9JY0ATzwk66ostp1r7x1i9bqBgmO9KR7D bh6mSERrRCJO5y7+fyZqJphg62QFtWL6HoleJD72+HjaXSOpaIHwS/KKmBjK+0TXn/3z 48fknNZU83pvUhF1afvKdwBRuy3a3FZG1BnnUrbPpWITSZQVv7Sfmxd4QodGUnkY78vi VuT3US81k0y6fzV6ezM16ncNGPydccGtDLPQUg29YzsP3Xv9+ePTTW8OcX8hkud2q+Ug PFD34JLoIhkpDt0XEc4sK7BLBQt19ZMwOrymZUfPMpPyxCA+pi6d/Um0GvDregeeY5i/ KXcQ== X-Gm-Message-State: APf1xPAJpqiSo3tJs2HXomIaZtN/TMAYX9C03qHEnRON2NjD3JV4VCmB WX+rM+snHBhpjLHP+9owkQCrVA== X-Google-Smtp-Source: AH8x2246OmOkISksLupFDrQIFCD7MXgmxKDS0C2lAGiJk+wRBFfVIyLnmYGL6sLM3Kd21ANjJfqidg== X-Received: by 10.36.196.8 with SMTP id v8mr10295634itf.92.1518054789859; Wed, 07 Feb 2018 17:53:09 -0800 (PST) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id c9sm2850939iod.5.2018.02.07.17.53.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Feb 2018 17:53:08 -0800 (PST) From: Noam Postavsky To: Alan Mackenzie Subject: Re: bug#29959: cc-mode: wrong indentation in absence of semicolon References: <8a042ba1-301c-8943-1381-537cba8a2334@yandex.ru> <20180113203752.GA9688@ACM> <20180118184137.GB21934@ACM> Date: Wed, 07 Feb 2018 20:53:06 -0500 In-Reply-To: <20180118184137.GB21934@ACM> (Alan Mackenzie's message of "Thu, 18 Jan 2018 18:41:37 +0000") Message-ID: <87eflwdz7h.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 29959 Cc: 29959@debbugs.gnu.org, Konstantin Kharlamov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) tags 29959 fixed close 29959 quit Alan Mackenzie writes: > The new feature, C99 compound literals, has been removed from the > emacs-26 branch, so as to avoid delaying the relase process for that > branch. The commit has hash 36edb6cb97ce3d53543c87643077d270bb5bdfd1, > and it should apply without problems to the master branch. > > It is to be hoped that a more elaborate and more correct solution will > be found soon for the master branch. Seems to be fixed on the master branch too by now. From unknown Mon Jun 23 23:53:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 08 Mar 2018 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator