From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68692: 29.1; File-local variable storage for strings with newlines Date: Fri, 26 Jan 2024 22:16:44 +0200 Message-ID: <86ede3alzn.fsf@gnu.org> References: <87il3ir6j8.fsf@gmail.com> <86y1ced4dx.fsf@gnu.org> <877cjw3hwc.fsf@gmail.com> <86a5osbjxl.fsf@gnu.org> <87y1cbj2n4.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24628"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68692@debbugs.gnu.org To: Karthik Chikmagalur Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 26 21:18:15 2024 Return-path: Envelope-to: geb-bug-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 1rTSeV-0006GP-GB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Jan 2024 21:18:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTSeQ-0006ny-AU; Fri, 26 Jan 2024 15:18:10 -0500 Original-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 ) id 1rTSeI-0006mK-99 for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2024 15:18:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rTSeB-0003m6-La for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2024 15:17:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rTSeH-00013p-Sb for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2024 15:18:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jan 2024 20:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68692 X-GNU-PR-Package: emacs Original-Received: via spool by 68692-submit@debbugs.gnu.org id=B68692.17063002223994 (code B ref 68692); Fri, 26 Jan 2024 20:18:01 +0000 Original-Received: (at 68692) by debbugs.gnu.org; 26 Jan 2024 20:17:02 +0000 Original-Received: from localhost ([127.0.0.1]:52887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTSdJ-00012C-LW for submit@debbugs.gnu.org; Fri, 26 Jan 2024 15:17:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTSdI-00011k-2e for 68692@debbugs.gnu.org; Fri, 26 Jan 2024 15:17:00 -0500 Original-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 ) id 1rTSd6-0003by-0s; Fri, 26 Jan 2024 15:16:48 -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=ihretvJ68UNFzW8NsDerZbq0jdZFYOepYummQo4URLE=; b=KhEKIK970ubx jRvJzC47hZY8OLyiZx76f0ioDmeZX4BubQjHklSAmcdnNIAh/M97UWM0ZZGslnDYoFxRDV65O+Sn1 iuWwXeFa4XjMUBY0sEF1bJILZMbYmu0UmQZPfZFNB9U+4xRAVnNVVnykAnXBffGZ8NOU2m9Rw/cMr B8QuLlKDg/mI+RdAV66/dCQ2wSHaD8XyG1xzNv5ZVlfvmJMCQokHInw2N2eObnjQaFet7TJGL/aVe 59SQ7ix9JrsZ2DvVkNwemDoXVkohYJe0BN0QhfmbJRShiZMSkDXs1Xxvz4tVYAqif+2RupF8VzrjB Ab4zEUrJinNtLvoD0Frqow==; In-Reply-To: <87y1cbj2n4.fsf@gmail.com> (message from Karthik Chikmagalur on Fri, 26 Jan 2024 11:49:51 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278946 Archived-At: > From: Karthik Chikmagalur > Cc: 68692-done@debbugs.gnu.org > Date: Fri, 26 Jan 2024 11:49:51 -0800 > > > We have add-file-local-variable and modify-file-local-variable -- did > > you try any of them? If they don't handle this case, we need to fix > > them so they do. > > Yes, I tried both, and they don't handle this case correctly. (My > original bug report used add-file-local-variable in the reproduction > instructions.) > > Should this be filed as a bug, or should I email emacs-devel about this? Please file a separate bug report with a recipe to reproduce the problem, i.e. a recipe that shows how these functions fail to update/add a variable whose value has an embedded newline. Thanks.