X-Loop: help-debbugs@HIDDEN Subject: bug#67173: 27.1; support raw string literals in C mode (a GNU C extension) Resent-From: Rasmus Villemoes <ravi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 14 Nov 2023 13:44:02 +0000 Resent-Message-ID: <handler.67173.B.169996942918555 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 67173 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 67173 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.169996942918555 (code B ref -1); Tue, 14 Nov 2023 13:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Nov 2023 13:43:49 +0000 Received: from localhost ([127.0.0.1]:60523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1r2thj-0004pC-Ti for submit <at> debbugs.gnu.org; Tue, 14 Nov 2023 08:43:49 -0500 Received: from lists.gnu.org ([2001:470:142::17]:54440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rasmus.villemoes@HIDDEN>) id 1r2qn0-0002mE-Vg for submit <at> debbugs.gnu.org; Tue, 14 Nov 2023 05:37:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rasmus.villemoes@HIDDEN>) id 1r2qmB-0006bO-Rj for bug-gnu-emacs@HIDDEN; Tue, 14 Nov 2023 05:36:11 -0500 Received: from mail-am0eur02on20713.outbound.protection.outlook.com ([2a01:111:f400:fe13::713] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rasmus.villemoes@HIDDEN>) id 1r2qm6-0001gU-Ko for bug-gnu-emacs@HIDDEN; Tue, 14 Nov 2023 05:36:11 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iOw/RxmMgEYob1HuGdaWF7TCKmAjeXIoVxEY5gtwFnyQDupkmMt741YZSRnh9T9OlXgQKi5eBkmMZsniKNZUCGA4kP0au/BU4V5et4It+KzCCdKF4/caAVj0Z7QWIf4wm4V4lnhK5ryKEuORh/cUSvD0XiHKr6yDVHwAI4MIPuGTFnQE4P9iFoZSEt7fJd5W65tMU2zb5IoW9VLmUZtFZngIaM7sZ7PgkiyCoIHYVLRGxqUpNUSkh+P/qtH7IlxEkOCRbPV4Ni38dTH3WpgxXmZGhs7MP4RRAEJGLz4LW+y8PsF5XGpa1+NrzRFkOaVtdsoTk8p/HxkDENCx7tkDMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zMQ6BQAWwZD2cr5jYiRyOftNDjtb37pl2rBBUhtM4+c=; b=Vu7u1p8vVzWJAQZNoUV3fTKno/gC0zzCvAWj7bNyhIRli2iuTT61Z5LkrF3i92TJv7pSbVdbaOIY6ZdU6i4x3Sm2bd4mAfv6DzCTHxd82tSGQDFH734gCmOMBXrbMY7t5t3QoM5zB0bBw68xoyTU00FBUCiz57NkwzFVk6S+i7XzhMx+KrXTgyMpn6L+zNrEER5j5C+69d1ml3ZDNSFgdLj+ZwUsSP+ChaQCdQiuW4oGbaIa3jMbOmKVNaE5amgBV4BWh//C0tacisJlZ7udY/HAskhykKl5bYHb8CgJMhHtXMrqcEg+RuQAtNP5fSm/HaypxPWc48iAC1nt4OzEbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=prevas.dk; dmarc=pass action=none header.from=prevas.dk; dkim=pass header.d=prevas.dk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prevas.dk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zMQ6BQAWwZD2cr5jYiRyOftNDjtb37pl2rBBUhtM4+c=; b=l2778LVcAFGDWgx0O27aBtiq2+K98+Li/QtarQPTenZPj6xn+aC7Z56qYHEF66teSKG09k1SK3hJlCLrb8Irt/ChMVqWdJ9ny0R0UNXNZL1sjhPi6WGwDVGdZ9H+txSnfi9G48MQmUtamarm0CeAGVcEESyiD8745SNmQ+w67gg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=prevas.dk; Received: from DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:45a::14) by GV2PR10MB6067.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:150:af::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.31; Tue, 14 Nov 2023 10:30:55 +0000 Received: from DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM ([fe80::8bd9:31bc:d048:af15]) by DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM ([fe80::8bd9:31bc:d048:af15%5]) with mapi id 15.20.6977.029; Tue, 14 Nov 2023 10:30:55 +0000 Message-ID: <6bf89666-40d3-4772-8add-ef8c33568881@HIDDEN> Date: Tue, 14 Nov 2023 11:30:53 +0100 User-Agent: Mozilla Thunderbird Content-Language: en-US, da From: Rasmus Villemoes <ravi@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MM0P280CA0059.SWEP280.PROD.OUTLOOK.COM (2603:10a6:190:b::26) To DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:45a::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR10MB7100:EE_|GV2PR10MB6067:EE_ X-MS-Office365-Filtering-Correlation-Id: c1c76fe5-3c1b-4880-77a3-08dbe4fcc8c4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iDtwYv1midw2AzL4dK+OOQy9GZd5HCS3uWTe1ExmDSLl9XmDVXTY1A2MbJQnzGNPFWvMSuUEUKwZ6X74mbKnZZ5jV8TAwbv258bsQW/JqGzH3p/M1+3qFerWszWIxAsgcSfq/TlgZPT/SLCORAGsvdGRzQunbIAFRySHxyUnbbtpf3Tt2XM9g7gi8pq4xmdxMoouuEJVNtJNQY0xjqiLeOZNdo/quGC8FRR7uGtAjFtRMeW+6ZAwHu+m2egTw375ZU574CQA21RNFYN4nkT7AHQtQM/suRD4gBXezsG7YWCikGfb4t8Nxb5OOfO2b91joq0L9TtEqrtHmMCCqCMH3+9ZCzfNX3+vCxmmg4K7YOHCc28ZIDBi8ij57itIPKfScKuToqXNn8tn2WPDWsCL+livjldlevcJf2qOCOvvBH40dMfZEnY9eQuezpSn9SdoAZflc/xaFwJ+8uRemQP+bsCgAaBTLsAxuHGImuuDlft73lOSgbuDijjC5Qg/pxIZ3xK5nmG6VFG1ETk3vNoVWBsdGTpf9ayxSbI4/OabOBtShbW/o3ZpHY3L3VLaewB+ypO0OloMiNh0ClYbyCu+MBXcfXs2RBK7yJsGe4AnmcBTijF8fDjfFLIkbXPU35DeHnzUS6YYkQ/NjK8t05ai8w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(346002)(376002)(366004)(136003)(396003)(39850400004)(230922051799003)(451199024)(64100799003)(1800799009)(186009)(6506007)(2616005)(6512007)(8976002)(26005)(478600001)(6486002)(36756003)(8676002)(8936002)(5660300002)(41300700001)(31696002)(2906002)(66946007)(66556008)(66476007)(6916009)(316002)(38100700002)(83380400001)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DaBn2QrCCV+4Ep8WJkurCy/mWjgAd28EwaiF/gDz3haHG1zGTfnjyBXyY7m9Lr9AS4sKsRlOIeF3g7GUJ+8tdbGxU1cUq8nUyVdPQGxYsH3swhWmOUgUdXPUDCGJOsTexFFHBqgCNX6OHhJguwF7JH58AntWTq7E9SDeGwyqodq+sCSmU4pK/Z8qFZXwSXRlF0w0MoR5HmPIqnXu1Hdn+7BVm9koY2CupWhWJLg6UrIW5vuhv9g0wSCVJoEguBuAbklMYnSEmRCqHwTP20jhszKVNOZZBbK088nz++MGwDZf6lhIsF4bmFUGSNUvl5DNnwQsa1e9rRz7alPnZH+0ZveU1OCtobJp72AFEdLy5d5hIQ7RcIvNvNP+5b/R+kwgojdfkKokW4Wz9E4ByI+BxF1gTEDpnH6WdOk/qZ4jNTSC1XXVSzb3uQK2ty3D7VcOP4dIflMOCrMS53zQonsVmw9nxnc3ZBzUAJsBHmvRY8GO9J3CZvAW4C97PSx8Ztsqxu60M20Y1XjSPnWfoH3JLSv/Xf/KoM4e0RZClah7UKlOf/vRqCa749zNHr0Yh/S/Ms/kLxLHphJDj8MwDCxzfyJwZlkiPeoNpoeOZQ83UBQSXzX6kPx/ZFpzq+wpwaegaLruADeBuLrh1XL5fpWmf5l6aRT0hPPEIcxtwbLaYhFzuTFrJTcl4hfz7y5bpP6R5WeHD6bI7uzYNWqQ6H8Vik220rYNqFR6pBLJNGqCBKZ1MF/KtVSLBChnQoO80OWWEgJIKlpzSK+W6XgnfLMALIvy96Dlzodvs3HPcY1ARTZQR8hb5r/8ye7aKEF35VVRBIBDkiOSCoGzRG8l2V68S9v/yWmwM11cjErxd51d5HCIofovcbmORRM30HFOWgk+PZB7YV6uROuM/qPd7U67PRoRgQGjWjvAN5Gtmgjdg8HWoNn6a45+ZqeC//fe6rmsyDuNJmclb+QHqO8Z4iCrmmS+C0N53/JTtePCkEkxdVQt0tzS6SgK5481QO6cjkL8A1OvRCHwN68BfNlt5WsGNzVAV0RKI+Aryp/j93xTXzBxmDlnKw9KSH22lf7x7sTFVLNDX7AjV61RbjwMr1GnBwP3TdOetMhWeoE/ZcYwKrMXjyoEs1QBf8RSBlKj6lJVUJKjqfHHuSaYnVc3E4VsW3MlB1GHEl4m/VFZ9yoI+ZaC5eG2CCzjXQLQQLVaRuEkUiKwipxfslw307y5NM1aEJ9RTtu3SqBj/IWvyIgN3Q70u3xsdeL9/NBnQYWtl+ig1QwzLnZrF6u11UIDpqdAHP5hXQfO+elTqQuMkoQP+0UIOfL8Lrh+HSKH8qRUz19WhsPOarF2EWmaz9Zmnj+VidFNkT4JQstgY0H7XBXWrbWJDCst7vgcL9eNGyh1NvS7QJU4n+Hp3/QS3fK1fYRzxC0Nc2/QwDEOL0UlmEELo+4KGJIe+adGf9/SPm6Hkn50SoySFiE9BMyuYHSLaJtflZH8JqE9aOH6WEu3TcgjV39KCUYoOvTLz2bngqfkSktQ52fCfYhnhwo6vbWt2jEumfX4m3tY2rnt3kn5+2Xn6TFSTPSegm/VCvc48XZh4qMR4Vk65fomUteffIOzQZqHSA== X-OriginatorOrg: prevas.dk X-MS-Exchange-CrossTenant-Network-Message-Id: c1c76fe5-3c1b-4880-77a3-08dbe4fcc8c4 X-MS-Exchange-CrossTenant-AuthSource: DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Nov 2023 10:30:55.5717 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d350cf71-778d-4780-88f5-071a4cb1ed61 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: cSJ6GCq8pK4vr2Sc4J+nxrFApKD3I7hOUBb5juf3pOgLOwJg7pwxVZaB6G9toxfG/nlqTQYEIYJ7qni+7EpNaw4lh3KAL7RjgjUqOzwEynI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR10MB6067 Received-SPF: permerror client-ip=2a01:111:f400:fe13::713; envelope-from=rasmus.villemoes@HIDDEN; helo=EUR02-AM0-obe.outbound.protection.outlook.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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, FORGED_SPF_HELO=1, SPF_HELO_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_PERMERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Tue, 14 Nov 2023 08:43:47 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) gcc, when using -std=gnu99 or newer, supports using raw string literals in C code. But emacs' C mode does not do proper syntax highlighting for that case. I do not know if that can be fixed by simply adding c-before-change-check-raw-strings to C mode's c-get-state-before-change-functions. Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-cairo --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -ffile-prefix-map=/build/emacs-WL9mhG/emacs-27.1+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_DK.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: C/*l Minor modes in effect: shell-dirtrack-mode: t yas-global-mode: t yas-minor-mode: t cscope-minor-mode: t desktop-save-mode: t display-time-mode: t electric-pair-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Rasmus Villemoes <ravi@HIDDEN> Subject: bug#67173: Acknowledgement (27.1; support raw string literals in C mode (a GNU C extension)) Message-ID: <handler.67173.B.169996942918555.ack <at> debbugs.gnu.org> References: <6bf89666-40d3-4772-8add-ef8c33568881@HIDDEN> X-Gnu-PR-Message: ack 67173 X-Gnu-PR-Package: emacs Reply-To: 67173 <at> debbugs.gnu.org Date: Tue, 14 Nov 2023 13:44:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 67173 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 67173: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67173 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#67173: 27.1; support raw string literals in C mode (a GNU C extension) Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 15 Nov 2023 16:29:05 +0000 Resent-Message-ID: <handler.67173.B67173.17000656848149 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 67173 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Rasmus Villemoes <ravi@HIDDEN>, Alan Mackenzie <acm@HIDDEN> Cc: 67173 <at> debbugs.gnu.org Received: via spool by 67173-submit <at> debbugs.gnu.org id=B67173.17000656848149 (code B ref 67173); Wed, 15 Nov 2023 16:29:05 +0000 Received: (at 67173) by debbugs.gnu.org; 15 Nov 2023 16:28:04 +0000 Received: from localhost ([127.0.0.1]:53110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1r3IkF-00026h-5F for submit <at> debbugs.gnu.org; Wed, 15 Nov 2023 11:28:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1r3IQf-0001QS-PA for 67173 <at> debbugs.gnu.org; Wed, 15 Nov 2023 11:07:50 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1r3FYc-0001Zo-9G; Wed, 15 Nov 2023 08:03:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=2M1o23la/UXhPa5Us5YaGm969aqVWHlEHpGqo4IrOd0=; b=M57GkQ0gi7/v m8mOIV9lfUbUAlvSWXHcYSBsl6zruJ8MC2FBfKu5CPpOe4KCaasNLtSM6G4GIGdpY6Kn+vUu4Vppn 3KnnYrHKA93lfdcohTz1vQR24IVQe1V+MWXjflgOvXtaGNIJqkpiZOughvFQeCzsNz2+oITwnoglF w5lBnndO5Xd65wt6bcWTG4lRBVGqIK6F/hOdDU0HyU9xrR6QplhrtODWW/e3Bfx+flk6EKMJaVk9F A0PlmMj+ki4+AK+XnD6v09QSxLx01TPZ6FVLbswri3K7NYLBrrxpf9HJegvS2bptAmIMGJnn1ClgZ uQ1ISR0Qcz8fRn5QmR3QSA==; Date: Wed, 15 Nov 2023 15:03:39 +0200 Message-Id: <835y23rwwk.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <6bf89666-40d3-4772-8add-ef8c33568881@HIDDEN> (bug-gnu-emacs@HIDDEN) References: <6bf89666-40d3-4772-8add-ef8c33568881@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Tue, 14 Nov 2023 11:30:53 +0100 > From: Rasmus Villemoes via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > gcc, when using -std=gnu99 or newer, supports using raw string literals > in C code. But emacs' C mode does not do proper syntax highlighting for > that case. > > I do not know if that can be fixed by simply adding > c-before-change-check-raw-strings to C mode's > c-get-state-before-change-functions. Alan, are you looking into this?
X-Loop: help-debbugs@HIDDEN Subject: bug#67173: 27.1; support raw string literals in C mode (a GNU C extension) Resent-From: Alan Mackenzie <acm@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 15 Nov 2023 22:24:01 +0000 Resent-Message-ID: <handler.67173.B67173.17000870052307 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 67173 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: Rasmus Villemoes <ravi@HIDDEN>, 67173 <at> debbugs.gnu.org Received: via spool by 67173-submit <at> debbugs.gnu.org id=B67173.17000870052307 (code B ref 67173); Wed, 15 Nov 2023 22:24:01 +0000 Received: (at 67173) by debbugs.gnu.org; 15 Nov 2023 22:23:25 +0000 Received: from localhost ([127.0.0.1]:54099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1r3OI8-0000b9-Rd for submit <at> debbugs.gnu.org; Wed, 15 Nov 2023 17:23:25 -0500 Received: from mail.muc.de ([193.149.48.3]:63002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <acm@HIDDEN>) id 1r3OI5-0000at-Az for 67173 <at> debbugs.gnu.org; Wed, 15 Nov 2023 17:23:23 -0500 Received: (qmail 65512 invoked by uid 3782); 15 Nov 2023 23:23:16 +0100 Received: from acm.muc.de (p4fe15c08.dip0.t-ipconnect.de [79.225.92.8]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 15 Nov 2023 23:23:15 +0100 Received: (qmail 25777 invoked by uid 1000); 15 Nov 2023 22:23:15 -0000 Date: Wed, 15 Nov 2023 22:23:15 +0000 Message-ID: <ZVVE08ou8mW89b-4@ACM> References: <6bf89666-40d3-4772-8add-ef8c33568881@HIDDEN> <835y23rwwk.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <835y23rwwk.fsf@HIDDEN> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie <acm@HIDDEN> X-Primary-Address: acm@HIDDEN X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello, Eli and Rasmus. On Wed, Nov 15, 2023 at 15:03:39 +0200, Eli Zaretskii wrote: > > Date: Tue, 14 Nov 2023 11:30:53 +0100 > > From: Rasmus Villemoes via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > gcc, when using -std=gnu99 or newer, supports using raw string literals > > in C code. But emacs' C mode does not do proper syntax highlighting for > > that case. Thanks! I didn't know about that. I can't find any mention of raw strings in C in the GCC manual for version 10.3.0. > > I do not know if that can be fixed by simply adding > > c-before-change-check-raw-strings to C mode's > > c-get-state-before-change-functions. That's the basic idea, yes, with another function to be added to c-before-font-lock-functions. But there are several detailed changes necessary, too. > Alan, are you looking into this? I am now. What's bothering me at the moment is that this is going to make C Mode slower. I suppose I could add an option into C Mode so that raw strings can be enabled only when they're needed, but this would be quite awkward, and a new departure for CC Mode. -- Alan Mackenzie (Nuremberg, Germany)
X-Loop: help-debbugs@HIDDEN Subject: bug#67173: 27.1; support raw string literals in C mode (a GNU C extension) Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 16 Nov 2023 05:59:02 +0000 Resent-Message-ID: <handler.67173.B67173.170011428228621 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 67173 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Mackenzie <acm@HIDDEN> Cc: ravi@HIDDEN, 67173 <at> debbugs.gnu.org Received: via spool by 67173-submit <at> debbugs.gnu.org id=B67173.170011428228621 (code B ref 67173); Thu, 16 Nov 2023 05:59:02 +0000 Received: (at 67173) by debbugs.gnu.org; 16 Nov 2023 05:58:02 +0000 Received: from localhost ([127.0.0.1]:54323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1r3VO5-0007RL-HR for submit <at> debbugs.gnu.org; Thu, 16 Nov 2023 00:58:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1r3VNz-0007R0-SC for 67173 <at> debbugs.gnu.org; Thu, 16 Nov 2023 00:57:59 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1r3VNu-0003G6-1V; Thu, 16 Nov 2023 00:57:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GKvbCEsrel/RMJkwYWVAr7Vo07FAnKzC9HNWUPq0VsM=; b=k5mqxbrO4k/t RBtXvdT3HCt8hr/KZjZ43CHbR5oBUUr2Iaf6XyzjCRfSqm9e74kSiUFv7SPTn+6ftKu6LUgTf+qsD ImWu7quI2Epj5WpU0B74gWEw+GYb6npjPEhPFswZiEPkwyhLluOMHlJ8zZrKrTi0vrTmLEP1TSA6T dKz//lqVe+M5DbeaYEzHv0i7ZlMSOB6QWUYzyQJ7GcQrMlelIcpuCs/hAnjGOSIiJJEqEMk1laXbF efZ/xOZ5Fv/wLXUIuFmFe4wYpd+BTIFZvOG2diUPd55GEsgesvL4t4oj9372HKYfFmJHKIcX92f1f KegSAY+qR3rnBl9CWmQtIA==; Date: Thu, 16 Nov 2023 07:57:40 +0200 Message-Id: <83zfzep7e3.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <ZVVE08ou8mW89b-4@ACM> (message from Alan Mackenzie on Wed, 15 Nov 2023 22:23:15 +0000) References: <6bf89666-40d3-4772-8add-ef8c33568881@HIDDEN> <835y23rwwk.fsf@HIDDEN> <ZVVE08ou8mW89b-4@ACM> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Wed, 15 Nov 2023 22:23:15 +0000 > Cc: Rasmus Villemoes <ravi@HIDDEN>, 67173 <at> debbugs.gnu.org > From: Alan Mackenzie <acm@HIDDEN> > > > > I do not know if that can be fixed by simply adding > > > c-before-change-check-raw-strings to C mode's > > > c-get-state-before-change-functions. > > That's the basic idea, yes, with another function to be added to > c-before-font-lock-functions. But there are several detailed changes > necessary, too. > > > Alan, are you looking into this? > > I am now. What's bothering me at the moment is that this is going to > make C Mode slower. I suppose I could add an option into C Mode so that > raw strings can be enabled only when they're needed, but this would be > quite awkward, and a new departure for CC Mode. We could support fontification of raw strings only when font-lock-maximum-decoration is set, or something. Any solution that makes this optional behavior is okay from where I stand, since I don't believe raw string literals will be used frequently enough to make this a UX issue.
X-Loop: help-debbugs@HIDDEN Subject: bug#67173: 27.1; support raw string literals in C mode (a GNU C extension) Resent-From: Rasmus Villemoes <ravi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 16 Nov 2023 08:27:01 +0000 Resent-Message-ID: <handler.67173.B67173.170012317220192 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 67173 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Mackenzie <acm@HIDDEN>, Eli Zaretskii <eliz@HIDDEN> Cc: 67173 <at> debbugs.gnu.org Received: via spool by 67173-submit <at> debbugs.gnu.org id=B67173.170012317220192 (code B ref 67173); Thu, 16 Nov 2023 08:27:01 +0000 Received: (at 67173) by debbugs.gnu.org; 16 Nov 2023 08:26:12 +0000 Received: from localhost ([127.0.0.1]:54430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1r3XhT-0005FP-Vi for submit <at> debbugs.gnu.org; Thu, 16 Nov 2023 03:26:12 -0500 Received: from mail-vi1eur04on2111.outbound.protection.outlook.com ([40.107.8.111]:24327 helo=EUR04-VI1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rasmus.villemoes@HIDDEN>) id 1r3XhP-0005B4-0J for 67173 <at> debbugs.gnu.org; Thu, 16 Nov 2023 03:26:10 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kZNaERTi6EX9f7d1aP8+jZKh8CMp0GqbYhKQufYEDhKm+J9BJjp4dji5kEV0B6je6v3P+y9MsQRl42VVfgDS/Nth+bLrrP1GCdKhVtKbFClxJjPgJk+wgyjkBeUBh9Ixt1HIh+ifkLxJNN2peQ0tjLjKoIrwCgpUj61PxoW/MdgHbGHtFhJXNgJauAWxIMLFmT1w6N4nhWtuxdakiKWXbiwI4cnDYp9uQU2llnvh82Btp+6q4BDuxcpDqAzsoq9IRzqr/sU6LTsW+tvDq2caeu13hAvBwL7neAmbqO0hj+gFiwOeJ5NkCqbfBWxGZfPbMjYCwO+/ltnR1a5d7nN9Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QPdzXdQGZj3Rb4zaAK9/nMKlSO2J/Z89mINwQSe9TS4=; b=Q8g2zDV4DKaccQDK4cehn/hbvOJJtRlLbGDiqYCKJ4MtpC4BVVVlMntoghgMlFKS5oRCKuhJNqjlO+QNHgDrongIngw2JYBgDnquW5cGaj8/I8mxwQN17x8MX1W/5ZEgVehXkmyceiRlkrb3Wo/kAe1OVtrQs/kuXTYD7xa/4mJoc1fU3yHhZ/pA3bJqIn/5Be9gnUZXkdIomvKlr+DBdsO/5E9YRLjkCP0EM/3r5iffy26jr8rWcJSULB2ZyfeoQmW+L0B42nJioSRRdUmzwU0Syl0SX7byGvYT2JZcZiz7iKrL8wlTMMqv/gGIEjAE5HZIG0RXqdmUplJ6Uok8Qw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=prevas.dk; dmarc=pass action=none header.from=prevas.dk; dkim=pass header.d=prevas.dk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prevas.dk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QPdzXdQGZj3Rb4zaAK9/nMKlSO2J/Z89mINwQSe9TS4=; b=Wmq0KKgrTfm8bJHJAvVMItMxxwRSdYWvuGURSQDiK/mk0mJ25DDvYv4VrypduYiQmkxHw2ZcOnuVvN/H+J7RX8Zz+pOnwRG2BeVNd3tbFZIJsSLo1O9rQdpweKWWQizSEwjF6Q4If+ROLRTCUDP6UJ1VfI3W7DLumhKZUhT7TRM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=prevas.dk; Received: from DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:45a::14) by PAVPR10MB6940.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:30b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.19; Thu, 16 Nov 2023 08:26:00 +0000 Received: from DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM ([fe80::8bd9:31bc:d048:af15]) by DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM ([fe80::8bd9:31bc:d048:af15%5]) with mapi id 15.20.7002.021; Thu, 16 Nov 2023 08:26:00 +0000 Message-ID: <f57309a1-437b-4876-9577-2fe269a626e7@HIDDEN> Date: Thu, 16 Nov 2023 09:25:58 +0100 User-Agent: Mozilla Thunderbird Content-Language: en-US, da References: <6bf89666-40d3-4772-8add-ef8c33568881@HIDDEN> <835y23rwwk.fsf@HIDDEN> <ZVVE08ou8mW89b-4@ACM> From: Rasmus Villemoes <ravi@HIDDEN> In-Reply-To: <ZVVE08ou8mW89b-4@ACM> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MM0P280CA0031.SWEP280.PROD.OUTLOOK.COM (2603:10a6:190:b::19) To DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:45a::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR10MB7100:EE_|PAVPR10MB6940:EE_ X-MS-Office365-Filtering-Correlation-Id: 4c74e27f-611d-498b-2388-08dbe67daa4d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6Mtr3NEOkJlea+yw8iAC3Oi70LF0pLdo4QllTus6vivxdstdZkkeF7sX1HIL7jRdpLAWPJX1OSEfkR4SiLQ11oyhU0xEHfaAxaBwSLuMXP0KhFOTk0CeIreUxlh3XLggtKzTJyiKy5IrZXtvbA4YECqDLsdQiCN/V6Et+vUMbvB3vOOKBw+/7NEWBReyQdc6kvSilY36K80ZprMkUnmRgzPRawBLiK3IbXAobHgvZOIc7CSaZB26vZJimrT+CkuMntjn+MQMrzfcZKOhnlstCdxZgRte5AUJJTBzmCPw1/hnjcQnRlPGy6s130IMoYICb6M6GGEwSMYiVsjjCtIS8iD6D9GxERs0wW66U92wu8qJFJUo1UGYMQJ6YSTJVoYjuoOFkpBa89hRgEEWY0UFdzuSmIt/1Jh6ESTPGEKrID9jzJy8kRO7smpY6kCLqEuYHAgVEDm0v+SL2i4gpzA9fYnvfjg1/EbW7Aq4hgGJiclMLipGfxkjzzeErpVJKwipQGNVjP1vVsprj72cIA05tbs5CQxhwx0jWh+1YXgDldT1j+XiQnJvdy7sscYQriScO/zw+JBhyzKbHiPVhFl8ksMzHHkvJFrTt3tO3DlSu/vgJSZ6gMWKzNU7qKNESmULJN92/1/sV5gMr4w+TaGOcg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(346002)(376002)(136003)(396003)(39850400004)(366004)(230922051799003)(451199024)(1800799009)(64100799003)(186009)(316002)(66556008)(8676002)(4326008)(110136005)(66476007)(66946007)(8936002)(8976002)(6486002)(36756003)(478600001)(41300700001)(31696002)(5660300002)(2906002)(38100700002)(2616005)(26005)(53546011)(6512007)(83380400001)(6506007)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: RtZD6b3B8iXNemj/EUguUVTL5on3eOv0x64m1A/iLbLpDBaYZtrMTXA1lES0zytaS0QXrOhKIXdHNnXZ7AGglTO1uvgjU5rv3c8jLWyyamIFmpSIktyvz81blqtdeGRffKdOJY06zpqL/tTSFp9fZVLxhENn+70PDZqMuIlp1gNAefVTSdWkWhhtFyljOU21fxt3m79LngPKDsCyI7F/krWWb3c+uwXI36jBZ8latIV7hsZ5SGx+Lncv2CR5tfhmPxnw6AIJlhevv81gUoZuMXhURSAxvehTtx2byTzu1/Mc7B9WSBQT8pPjoPfSjRN8UuCRCsKok1HiZn6KDlwpZIf0KSNBTJvvgYKbTMqqMQAyNhS8ILpnYWmMF+QrfcKS1SRAG/YvP4n2LgvVZwNaqiNiD2RkLm2RymxzjTka1Omg0Byfjje0mn/QnTUSN+6TKMAf2SxEH5yZsUt4N015of0Zjz2VA5I/A4dj0MKM56irCh3yXMDc3me2O0jF3rUUuptgJwrwu3FaSVwPtmx/zr0d5NpnUt3cmu7xfIh/pyR0s9J8rBmORw26eQWxBhxG6MYp/vtq5JqUx9iuIXt9YXuGIJDdiNmc8HFTJ7aN+3WrLTuEZPk+kn7YRKwrWTBbH+kbBNfyPs3NiOS+iX47uTqxLUx96Ice0dLfj4Q2RXm5PzxGvZMGl5kRFlZ8kDDCULKsQA6E7EdVvRHoeIhqouLF3ST+abUOkmwnZgdsoHmh/l16+MlQHHvXzHRMthfsOtOayOUhZYOSDi94PhltjK+mzhJcgojiiiF2ZdoMeePpVJ9/0iTjG8j6T0lYd7jekg9k9fDu5fl3AQbYEN0NYLWbVZVXpEW/Q+njPjv+nxtwVPlXUu9tm7qWTkQU/OwxZrqN99EiQ9QxGeo63Kr9V0cnBTMHzv9t3pUuTlwNw6L4htz38fkIn5XHV5HAGtv6h0GW8eNtulO84+Oe10IvXFnvmIbQc5HIvIYFrEmq6NxCGLDDaDq0yMiHz4FiF3ufLvOR5uDRSoZ5ke4oLI+jxEcCGZTekBWlmzyLIXH7vZLEuxbU2N1p4Tu7AEz+SgaLKzNMG3LBUgkZ7zCKKtnozUgec1or0BSKeGenVnDKoKVC3hVjmmvDjKKypMQoS3LB6J4bdvl9gOlRCmJL+8T2zFfOxSjq5iU4mf+RItZUBndeRTLkusdqRjX5LxpFxICRl1kIkSeA62Iwni4rsPAuGJrFvAwPol7Trqa57D55tdErcIxkRUjYSxBSEpFSPV3jC7Ph+phuiR1pZC2gD4MClIL/XLFqWI7+tcnBV9iN8y0j7mc9Xdi9uUnBzVFTLzHDubsOjpxa3BTrsFYZAyfM0IO2rHGaFhElsPPzY8Rv9aCCYmUyFbJGx01qo+kBrymY+uHs78g1bb/Sw9cNgsU17Fi5Is2v9qdeydhnGB9CzR8ghvjnur/T10TBEZtCyyR4lEOoYywYDVs6MMDHDXfuKlb2rxuH1yIi/+y7cjgsdwf6RO2QZzjqN9Z3r6eXE53oPyKBCT+KDOa8Z2hy8lyUc1Io+Xf4WL9YQrnfgToOv2HMWKfeDaQxctThytLD9cvS910ipyYJ+7BTWQEoW8q20g== X-OriginatorOrg: prevas.dk X-MS-Exchange-CrossTenant-Network-Message-Id: 4c74e27f-611d-498b-2388-08dbe67daa4d X-MS-Exchange-CrossTenant-AuthSource: DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Nov 2023 08:26:00.6893 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d350cf71-778d-4780-88f5-071a4cb1ed61 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: of3R81u/NC4rqhFRKi+QPqzM8GoEtMYowbqO7j6h3igYOCLj/oRLrY60DOF1YTOzwSYgVECaG0SlO2CSlDJQZnHuEILoUpF95pxI4Lj6QrE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR10MB6940 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 15/11/2023 23.23, Alan Mackenzie wrote: > Hello, Eli and Rasmus. > > On Wed, Nov 15, 2023 at 15:03:39 +0200, Eli Zaretskii wrote: >>> Date: Tue, 14 Nov 2023 11:30:53 +0100 >>> From: Rasmus Villemoes via "Bug reports for GNU Emacs, >>> the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > >>> gcc, when using -std=gnu99 or newer, supports using raw string literals >>> in C code. But emacs' C mode does not do proper syntax highlighting for >>> that case. > > Thanks! I didn't know about that. I can't find any mention of raw > strings in C in the GCC manual for version 10.3.0. No, it's not mentioned anywhere, and I don't know why they don't document it, but it's most definitely deliberate (see the lang_defaults[] table in libcpp/init.cc). >>> I do not know if that can be fixed by simply adding >>> c-before-change-check-raw-strings to C mode's >>> c-get-state-before-change-functions. > > That's the basic idea, yes, with another function to be added to > c-before-font-lock-functions. But there are several detailed changes > necessary, too. That explains why my quick hacking didn't work... >> Alan, are you looking into this? > > I am now. What's bothering me at the moment is that this is going to > make C Mode slower. Urgh, I didn't think about that. I agree that it's probably not very widely used (probably partly due to not being documented...). I myself only use it very rarely, and for now just use C++ mode for the file in question where I noticed this. So if "slower" is actually noticeable, I would probably prefer to retract this bug report or ask that support becomes some explicit opt-in, because 99.99% of the .c files I touch do not use raw strings. Regardless, thanks for taking this up so quickly. Rasmus
Received: (at control) by debbugs.gnu.org; 10 Jan 2024 17:49:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 10 12:49:13 2024 Received: from localhost ([127.0.0.1]:42890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rNchU-0002js-RU for submit <at> debbugs.gnu.org; Wed, 10 Jan 2024 12:49:13 -0500 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]:50598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1rNchS-0002jc-EV for control <at> debbugs.gnu.org; Wed, 10 Jan 2024 12:49:10 -0500 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-55569b59f81so5528497a12.1 for <control <at> debbugs.gnu.org>; Wed, 10 Jan 2024 09:49:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704908946; x=1705513746; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=TpcVtJHpFFw+JTI/rg1/9QEU6V5Yj5Ec/sg8/ZZMlWw=; b=Q/iZvG23E9536oaG+cGGlNQUD2QhsRSWZ/DPywmd3oBmhZ0EH9yQBdS7WsGzdET6CL RTqNMJCavlF+cZ9HFeSricBaEUST37Jp457ANxIRq4ZsfN7r3sapeuasH9PmDt7ka0SY NUwwvuAgHA1BNhJodA619xt6lZHtyVEuhMibs4RAsS3ArvZnM32OtAQj/dPfFnOW+Erl Td115cDshL0FCegaWNmwd+FSDaVfy9zJt3rxiV94RxJzWeZzzAkcbpjTT4PMNI+3eJoQ Gt5kISNyUhesCi+92fiCDDmzXC38yKmHjczAuyAxbPjOetpkYDeVSnYKAIFsFrOYA9v5 He1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704908946; x=1705513746; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=TpcVtJHpFFw+JTI/rg1/9QEU6V5Yj5Ec/sg8/ZZMlWw=; b=CnJ37cInr34lax/7J7mR24xi2kuE303jK1X1w1IIvteJtBF6Dkb74fDTsTTo5DwfLB sljufxAv4iB0nhGbw4JMnwlKYe57poWPvYbLemmaSEzVbTMRNA+r+HI7GAnR9Bisj3jj RE3wD8b4X0llAKCyhZ7da0y4ZuzOwlcuevhat/pKnbDGotH+D3UrKE/JJnWj5IOLgtZy 3G0hgrsUxBh2r9PyHu6WBbOpb48Pk0lCnwns8UroUTDM0KqLUgvAdJDAOEeaZ3+lcXga Mx+IK4XvYs8fetEPsCvV7jIHzOjXqpIkdsRukLazWcojcuh0F/e7he90nkYNo3Bl4fT3 wuJg== X-Gm-Message-State: AOJu0YwiS9I/yAXQEhuHqp2QQDIpzL8D6yj+ihoVIAwP8FnjoKH6Plft NT5iGFR1yU+KAxHZfSypzPJZusMMbsoYzQ5YLqEHSnB1KNcHwQ== X-Google-Smtp-Source: AGHT+IFKPYXPi/yjiVeQx1R9LpTz5DIUkwj9LpRrxzZI7UouhCpqmxnOnE2fNbVIkWENVECHnghuHZ4Y9nbaVW6wghA= X-Received: by 2002:a50:9b51:0:b0:554:e4e:ba38 with SMTP id a17-20020a509b51000000b005540e4eba38mr693671edj.17.1704908945937; Wed, 10 Jan 2024 09:49:05 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 10 Jan 2024 09:49:05 -0800 From: Stefan Kangas <stefankangas@HIDDEN> MIME-Version: 1.0 Date: Wed, 10 Jan 2024 09:49:05 -0800 Message-ID: <CADwFkmk==-unBhoBiGh4Hqa8Y4d-M3_AgJDsk-Y3o1xrJTDkFQ@HIDDEN> Subject: control message for bug #67173 To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) severity 67173 wishlist quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.