GNU bug report logs - #52554
28.0.90; mm-inline-media-tests customization breaks .emacs reading

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Robert Pluim <rpluim@HIDDEN>; dated Thu, 16 Dec 2021 15:19:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 52554 <at> debbugs.gnu.org:


Received: (at 52554) by debbugs.gnu.org; 19 Dec 2021 12:01:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 19 07:01:13 2021
Received: from localhost ([127.0.0.1]:45011 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1myusK-0004LY-PU
	for submit <at> debbugs.gnu.org; Sun, 19 Dec 2021 07:01:13 -0500
Received: from quimby.gnus.org ([95.216.78.240]:40706)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1myusJ-0004Fa-2B
 for 52554 <at> debbugs.gnu.org; Sun, 19 Dec 2021 07:01:11 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=TJw/Wu5568cFDpB2Sl1xB+32xoj+VrfuOGNxRksRa10=; b=g8cHsNP4HELfEuSQwGrvWz3pp6
 Rgn3/JcaFzWfAD5NYZ/sOxbUS7CQcmc8ZyNvqvq/WFIWBIjOfikTro2LKp1X4DJP3upPRYAb/Q7co
 0oOHT0Q438oDO0oO5KzDAI26Qghny2QuSy6f1Z6wOzAhBlFPnIpkameq/B+X4IADQdps=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1myusA-0003Og-DE; Sun, 19 Dec 2021 13:01:04 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#52554: 28.0.90; mm-inline-media-tests customization breaks
 .emacs reading
References: <87r1aco9xm.fsf@HIDDEN>
X-Now-Playing: John Martyn's _Bless the Weather_: "Back Down the River (Take
 1)"
Date: Sun, 19 Dec 2021 13:01:01 +0100
In-Reply-To: <87r1aco9xm.fsf@HIDDEN> (Robert Pluim's message of "Thu, 16
 Dec 2021 16:18:13 +0100")
Message-ID: <87a6gwvm6a.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Robert Pluim <rpluim@HIDDEN> writes: > mm-inline-media-tests
    contains lambda's, and itʼs byte-compiled, so > when you customize its value,
    byte-code is saved in your .emacs. One > of its components looks like this:
    > > ("text/x-vcard" m [...] 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 52554
Cc: 52554 <at> debbugs.gnu.org
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 (---)

Robert Pluim <rpluim@HIDDEN> writes:

> mm-inline-media-tests contains lambda's, and it=CA=BCs byte-compiled, so
> when you customize its value, byte-code is saved in your .emacs. One
> of its components looks like this:
>
>      ("text/x-vcard" mm-inline-text-vcard
>       #[257 "\300\301!\206	%0\302\303!\207"
>             [featurep vcard locate-library "vcard"]
>             3 "
>
>      (fn HANDLE)"])

I see that you've fixed the actual bug in a later patch, but I just
wanted to ask -- should that variable be a user option at all?  Long
list variables are seldom useful as user options.  Instead users should
prepend choices with `push' or something.

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52554; Package emacs. Full text available.

Message received at 52554 <at> debbugs.gnu.org:


Received: (at 52554) by debbugs.gnu.org; 17 Dec 2021 12:11:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 17 07:11:29 2021
Received: from localhost ([127.0.0.1]:38163 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1myC5B-0007nj-Aa
	for submit <at> debbugs.gnu.org; Fri, 17 Dec 2021 07:11:29 -0500
Received: from eggs.gnu.org ([209.51.188.92]:59510)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1myC58-0007nX-HV
 for 52554 <at> debbugs.gnu.org; Fri, 17 Dec 2021 07:11:26 -0500
Received: from [2001:470:142:3::e] (port=58618 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1myC52-0007Wb-WB; Fri, 17 Dec 2021 07:11:21 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=Wko910QIsvN2z2FUFeerI+RULFcu6T8WFyVZ51CS0eQ=; b=Mssv8Uog+gfeCCxeR7fo
 bRkD4NxhHC2jYvO6OtLOeR5F6R4sOofTukU3452XFOLfEvjZKiACnDfXE3h4B8Pp4P1bVP44Upkmo
 T983keaLZKeG36seoU0Nq0r4YJL9OcBPjVs2eR1esr7zEqEvECci/tgdEEnIijSdowYC7EQ3jcoLG
 Mdb20atLliQljpyghL0qIn11s0LiL1wcwgo25h6DCGc9sAJcnPeifUkNVUPC3x5mwwlPExnTnOuwb
 BBSrwSg0ov6sdHAN2LDm0gb5WYerKNdmhUyuareg0BHtic+agXkG0K2+KmeS8GCK1IbdyAeoq5NRX
 QI6wh+9DwYqNrQ==;
Received: from [87.69.77.57] (port=3333 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1myC52-0001rv-Bp; Fri, 17 Dec 2021 07:11:20 -0500
Date: Fri, 17 Dec 2021 14:11:06 +0200
Message-Id: <83ee6be8it.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <87ee6boc0y.fsf@HIDDEN> (message from Robert Pluim on Fri, 17
 Dec 2021 09:45:17 +0100)
Subject: Re: bug#52554: 28.0.90; mm-inline-media-tests customization breaks
 .emacs reading
References: <87r1aco9xm.fsf@HIDDEN> <8335msh8j0.fsf@HIDDEN>
 <874k78o7cu.fsf@HIDDEN> <83tuf8fpw4.fsf@HIDDEN>
 <87ilvnod0r.fsf@HIDDEN> <83mtkzeisq.fsf@HIDDEN> <87ee6boc0y.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 52554
Cc: 52554 <at> debbugs.gnu.org, schwab@HIDDEN
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 (---)

> From: Robert Pluim <rpluim@HIDDEN>
> Cc: schwab@HIDDEN,  52554 <at> debbugs.gnu.org
> Date: Fri, 17 Dec 2021 09:45:17 +0100
> 
>     >> >> I'd rather think that custom-save-variable should bind
>     >> >> print-escape-control-characters to t.
>     >> 
>     Eli> Maybe we should do both?
>     >> 
>     >> In `custom-save-all' perhaps? There are many code paths for saving
>     >> customizations, they donʼt all go via `custom-save-variable'.
> 
>     Eli> If they all go through custom-save-all, then I think it should be done
>     Eli> there, yes.
> 
> OK, Iʼll run with the following for a while, and see if anything crops
> up.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52554; Package emacs. Full text available.

Message received at 52554 <at> debbugs.gnu.org:


Received: (at 52554) by debbugs.gnu.org; 17 Dec 2021 08:45:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 17 03:45:25 2021
Received: from localhost ([127.0.0.1]:37916 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1my8rl-0001xA-Ka
	for submit <at> debbugs.gnu.org; Fri, 17 Dec 2021 03:45:25 -0500
Received: from mail-wr1-f42.google.com ([209.85.221.42]:35755)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1my8rk-0001wv-5d
 for 52554 <at> debbugs.gnu.org; Fri, 17 Dec 2021 03:45:24 -0500
Received: by mail-wr1-f42.google.com with SMTP id j18so2666874wrd.2
 for <52554 <at> debbugs.gnu.org>; Fri, 17 Dec 2021 00:45:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :mime-version:content-transfer-encoding;
 bh=8CPcBtXvWLb++BXfHxPiWWfQnv/cbEFpW++4PPN+dWo=;
 b=QRduYI4wCvYGCY7B8oyZBp6yWQBLxeTwXg3DAXfoprVC1HFBRJ0h454HMgshgYs69h
 D3+rLsvF3TdKb8/wa4RJScfMJ4L/iLvtwpybu0asXnBS/Cee0szD9DvuDBy506SRs1vs
 iqtxtvT4z0UhZ/agAu99tYIJzJOqUL7vlN1qHDiCbtd1pgAEkGOHkmT+gpfliE4Tf2IB
 M7DuIouHvC/dlaZwX79QzDRBCggFlrA8ZNMbLdUL5/dsLewA9AI5hCLabQBphANBWVh3
 BbawBsv1VTQ6kw2uy/3cVuNjvbNqI5aa4MTID4r1QMfrYrTrJIu392gGL1nu2KjPOCnU
 crQA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:mime-version:content-transfer-encoding;
 bh=8CPcBtXvWLb++BXfHxPiWWfQnv/cbEFpW++4PPN+dWo=;
 b=cwpmJ3q5slpKqnio/DWc9FaggvO4WCXWoqtfPJ+wTewqNUazmdOeCIeRxjgMxjR/6f
 9ZPGvr5OO/Wue7G1gnGndZrWcAl34RmTk5QPDq29jX0vX2ztdHp/pXeHxPSLmV4twTfv
 cvCTLtgGFtJvwwSzwaxLiDFflJtqKH4OZvs2uJ25i5qkLaBi5zbu/es5wisdYBcIp/he
 +clBJvMxFcxd6d9Nszq2q0AsFX8+BLgohMi/H7I+6oaMaf5rrQSB1MiIv2prvnhIGwtw
 YmGKC0fH09bUbOgZV5D1NdXG5Q/tnfKJAzfLRLXobkIMwY5/SWI/xH6oFhptT9tasPEa
 okPw==
X-Gm-Message-State: AOAM5316ebE6vpHoFmcNKa9KX9DzroAJhSmCF2sTcCzBOFJvPHcAwfNn
 inaL9hjQyQV7jP7YrnETCyrkyq2q0Q8=
X-Google-Smtp-Source: ABdhPJweEbJMvXiGr2Y7QBLAQeSfIJ9LjML2ATuzxngYobedBZsOIFNihVeHxIF2BauqAo5t9SrC4A==
X-Received: by 2002:a05:6000:1885:: with SMTP id
 a5mr1576599wri.258.1639730717981; 
 Fri, 17 Dec 2021 00:45:17 -0800 (PST)
Received: from rltb ([2a01:e0a:3f3:fb50:1fc1:44e6:9dcd:a0a2])
 by smtp.gmail.com with ESMTPSA id 10sm8536020wrb.75.2021.12.17.00.45.17
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 17 Dec 2021 00:45:17 -0800 (PST)
From: Robert Pluim <rpluim@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#52554: 28.0.90; mm-inline-media-tests customization breaks
 .emacs reading
References: <87r1aco9xm.fsf@HIDDEN> <8335msh8j0.fsf@HIDDEN>
 <874k78o7cu.fsf@HIDDEN> <83tuf8fpw4.fsf@HIDDEN>
 <87ilvnod0r.fsf@HIDDEN> <83mtkzeisq.fsf@HIDDEN>
Date: Fri, 17 Dec 2021 09:45:17 +0100
In-Reply-To: <83mtkzeisq.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 17 Dec
 2021 10:29:09 +0200")
Message-ID: <87ee6boc0y.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 52554
Cc: 52554 <at> debbugs.gnu.org, schwab@HIDDEN
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 Fri, 17 Dec 2021 10:29:09 +0200, Eli Zaretskii <eliz@HIDDEN> said:

    >> From: Robert Pluim <rpluim@HIDDEN>
    >> Cc: Andreas Schwab <schwab@HIDDEN>,  52554 <at> debbugs.gnu.org
    >> Date: Fri, 17 Dec 2021 09:23:48 +0100
    >>=20
    >> >> I'd rather think that custom-save-variable should bind
    >> >> print-escape-control-characters to t.
    >>=20
    Eli> Maybe we should do both?
    >>=20
    >> In `custom-save-all' perhaps? There are many code paths for saving
    >> customizations, they don=CA=BCt all go via `custom-save-variable'.

    Eli> If they all go through custom-save-all, then I think it should be =
done
    Eli> there, yes.

OK, I=CA=BCll run with the following for a while, and see if anything crops
up.

diff --git c/lisp/cus-edit.el i/lisp/cus-edit.el
index 5c4448ae71..1936733098 100644
--- c/lisp/cus-edit.el
+++ i/lisp/cus-edit.el
@@ -4723,7 +4723,10 @@ custom-save-all
         (delay-mode-hooks (emacs-lisp-mode)))
       (let ((inhibit-read-only t)
 	    (print-length nil)
-	    (print-level nil))
+	    (print-level nil)
+            ;; We might be saving byte-code with embedded NULs, which can
+            ;; cause problems when read back (Bug#52554).
+            (print-escape-control-characters t))
         (atomic-change-group
 	  (custom-save-variables)
 	  (custom-save-faces)))
diff --git c/lisp/startup.el i/lisp/startup.el
index 505d7b83f4..f8db46ff3f 100644
--- c/lisp/startup.el
+++ i/lisp/startup.el
@@ -964,7 +964,11 @@ startup--load-user-init-file
         (debug-on-error-initial
          (if (eq init-file-debug t)
              'startup
-           init-file-debug)))
+           init-file-debug))
+        ;; The init file might contain byte-code with embedded NULs,
+        ;; which can cause problems when read back, so disable null
+        ;; byte detection (Bug#52554).
+        (inhibit-null-byte-detection t))
     (let ((debug-on-error debug-on-error-initial))
       (condition-case-unless-debug error
           (when init-file-user

Robert
--=20




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52554; Package emacs. Full text available.

Message received at 52554 <at> debbugs.gnu.org:


Received: (at 52554) by debbugs.gnu.org; 17 Dec 2021 08:29:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 17 03:29:31 2021
Received: from localhost ([127.0.0.1]:37858 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1my8cN-0001Px-IX
	for submit <at> debbugs.gnu.org; Fri, 17 Dec 2021 03:29:31 -0500
Received: from eggs.gnu.org ([209.51.188.92]:56434)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1my8cL-0001Pf-Pe
 for 52554 <at> debbugs.gnu.org; Fri, 17 Dec 2021 03:29:30 -0500
Received: from [2001:470:142:3::e] (port=38740 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1my8cG-0003uS-77; Fri, 17 Dec 2021 03:29:24 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=oXEwy+2XaJPHkF7hv9mrsDvjxtNO0r3dfLaIsHfb3k0=; b=eX87p7SJSPY3kTrRZOZQ
 dq7r2qmbrlsB2RT367YOilsfjZAG5a+XbGmfnaauxpTs/0SflIVE3hMk6+wXAUAKyyyBAL0l3DaP2
 xNKNGkopD2UAiD7f6EH6pcROMkzc1g2lCaLcyXYNKj3lbvc7HoZ3xo7pxdE8klb9kEA8oO0UmZT24
 zClnYRL45WcBQg2NbMZ9+WJHwTjZ96X5zu3KQviEgnLpuqEdjrTzNffCnzohcpnpvNJGdflBzOcWV
 RZeJiWEFhcJjkIMGbOI7/TNi76tP1e6eGdBgVKLG2YMQ4PHHwQDNSjcSbxqGGPq92G2ss6t2OIcgz
 Q6HAigMtkP808w==;
Received: from [87.69.77.57] (port=1559 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1my8cG-0000g4-2j; Fri, 17 Dec 2021 03:29:24 -0500
Date: Fri, 17 Dec 2021 10:29:09 +0200
Message-Id: <83mtkzeisq.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <87ilvnod0r.fsf@HIDDEN> (message from Robert Pluim on Fri, 17
 Dec 2021 09:23:48 +0100)
Subject: Re: bug#52554: 28.0.90; mm-inline-media-tests customization breaks
 .emacs reading
References: <87r1aco9xm.fsf@HIDDEN> <8335msh8j0.fsf@HIDDEN>
 <874k78o7cu.fsf@HIDDEN> <83tuf8fpw4.fsf@HIDDEN> <87ilvnod0r.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 52554
Cc: 52554 <at> debbugs.gnu.org, schwab@HIDDEN
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 (---)

> From: Robert Pluim <rpluim@HIDDEN>
> Cc: Andreas Schwab <schwab@HIDDEN>,  52554 <at> debbugs.gnu.org
> Date: Fri, 17 Dec 2021 09:23:48 +0100
> 
>     >> I'd rather think that custom-save-variable should bind
>     >> print-escape-control-characters to t.
> 
>     Eli> Maybe we should do both?
> 
> In `custom-save-all' perhaps? There are many code paths for saving
> customizations, they donʼt all go via `custom-save-variable'.

If they all go through custom-save-all, then I think it should be done
there, yes.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52554; Package emacs. Full text available.

Message received at 52554 <at> debbugs.gnu.org:


Received: (at 52554) by debbugs.gnu.org; 17 Dec 2021 08:23:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 17 03:23:57 2021
Received: from localhost ([127.0.0.1]:37840 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1my8Wy-0001Fd-Tl
	for submit <at> debbugs.gnu.org; Fri, 17 Dec 2021 03:23:57 -0500
Received: from mail-wm1-f46.google.com ([209.85.128.46]:43844)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1my8Wx-0001FO-Ce
 for 52554 <at> debbugs.gnu.org; Fri, 17 Dec 2021 03:23:56 -0500
Received: by mail-wm1-f46.google.com with SMTP id
 o19-20020a1c7513000000b0033a93202467so1082415wmc.2
 for <52554 <at> debbugs.gnu.org>; Fri, 17 Dec 2021 00:23:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :mime-version:content-transfer-encoding;
 bh=WmFXHawRs7l5Z/SNbBpVb+K6/qYDtEQxAO0JhuTSj7o=;
 b=iQ3o6aZeNHkiOZOXg6qQMRvaUxKm3ETEic82eS3dJrQ3nUkKVz5o3iHfhX0pAypOhu
 OckGFZZ7ItrCKjyJlPOE3bYgt0RDGpcgtKdkLPZzzSe7zPXeszpP2RULkrHkVqYOlRMX
 gY5iX9AwFskW6KtnA9loBykr6mEW/OHZABLxCxdikLN03gwu7lilh0ALTJO9r3DSaLcR
 gu+zVBIiDY38YN0Uofux4KBP1+jiOYkqkA29DMN59lg4R4YvpHriSqbt5XVpVlaVnWDi
 5jVwsSFy7dv3wJ0lzm3LBGAvDxf3vq4fO4O6wvRqMm4xrV3Y5LKlfQvBvDfFHCrovsv8
 ET0A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:mime-version:content-transfer-encoding;
 bh=WmFXHawRs7l5Z/SNbBpVb+K6/qYDtEQxAO0JhuTSj7o=;
 b=j+IcNvvZW5TjCDkXdu7rJPTbkNYHNEw6fwZpZSLRog1yYWVaTczQU/SWAXlEC373Ii
 TGrpbxq5nEIRdrOOEj+TXdR56hcQtuCgpmr09dTGinG3Z9EuIRD12Cv1Yy0zh0kmQGfb
 QlrKdIKzr4U/Xl//AkQV9z2uZdL2mxQJ6EMEvfSvFHzflp0ZiOTwwYem6hPpz5Osikdb
 E3Z4ChwNCT8KUL2Am5LsO6hA5H//8fLhIoErzAKsFG3cFB9ma7y53QhjyoTb7WCi1PJw
 fxSXupD+Mm3Tw9NDI5DvKJtX1Y7kAx/qxWxmnq2PJ+l4kPrj7rxda5rZ4SIcxvNMNXLI
 xjdw==
X-Gm-Message-State: AOAM532wGoxlgdk4ms6BJ7rRC/YoBnCH9ygzw7pfuaZ73e9VuvHEodBZ
 NEuYvbkXq1QlAR9z2NTAP7QjT0vP8mk=
X-Google-Smtp-Source: ABdhPJzZWyvIYHIKDPTsDxNCazB4UgJyRVAJ9+fqC7jlYqxQCjWSGnDlUux58snVAakGX3l5WTvgLA==
X-Received: by 2002:a1c:7e41:: with SMTP id z62mr8607962wmc.62.1639729429310; 
 Fri, 17 Dec 2021 00:23:49 -0800 (PST)
Received: from rltb ([2a01:e0a:3f3:fb50:1fc1:44e6:9dcd:a0a2])
 by smtp.gmail.com with ESMTPSA id r7sm1578823wrt.77.2021.12.17.00.23.48
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 17 Dec 2021 00:23:48 -0800 (PST)
From: Robert Pluim <rpluim@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#52554: 28.0.90; mm-inline-media-tests customization breaks
 .emacs reading
References: <87r1aco9xm.fsf@HIDDEN> <8335msh8j0.fsf@HIDDEN>
 <874k78o7cu.fsf@HIDDEN> <83tuf8fpw4.fsf@HIDDEN>
Date: Fri, 17 Dec 2021 09:23:48 +0100
In-Reply-To: <83tuf8fpw4.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 16 Dec
 2021 18:58:19 +0200")
Message-ID: <87ilvnod0r.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 52554
Cc: 52554 <at> debbugs.gnu.org, Andreas Schwab <schwab@HIDDEN>
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 Thu, 16 Dec 2021 18:58:19 +0200, Eli Zaretskii <eliz@HIDDEN> said:

    >> From: Andreas Schwab <schwab@HIDDEN>
    >> Cc: Robert Pluim <rpluim@HIDDEN>,  52554 <at> debbugs.gnu.org
    >> Date: Thu, 16 Dec 2021 17:13:53 +0100
    >>=20
    >> On Dez 16 2021, Eli Zaretskii wrote:
    >>=20
    >> >> $ HOME=3D/tmp emacs --debug-init
    >> >>=20
    >> >> Debugger entered--Lisp error: (invalid-read-syntax "?" 1 0)
    >> >>   read(#<buffer  *load*>)
    >> >>   eval-buffer(#<buffer  *load*> nil "/tmp/.emacs" nil t)  ; Readi=
ng at buffer position 573
    >> >>   load-with-code-conversion("/tmp/.emacs" "/tmp/.emacs" t t)
    >> >>   load("~/.emacs" noerror nomessage)
    >> >
    >> > Perhaps we should bind inhibit-null-byte-detection to a non-nil va=
lue
    >> > while loading the init file?
    >>=20
    >> I'd rather think that custom-save-variable should bind
    >> print-escape-control-characters to t.

    Eli> Maybe we should do both?

In `custom-save-all' perhaps? There are many code paths for saving
customizations, they don=CA=BCt all go via `custom-save-variable'.

Robert
--=20




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52554; Package emacs. Full text available.

Message received at 52554 <at> debbugs.gnu.org:


Received: (at 52554) by debbugs.gnu.org; 16 Dec 2021 16:58:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 16 11:58:48 2021
Received: from localhost ([127.0.0.1]:36549 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mxu5g-000508-7i
	for submit <at> debbugs.gnu.org; Thu, 16 Dec 2021 11:58:48 -0500
Received: from eggs.gnu.org ([209.51.188.92]:35936)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1mxu5f-0004zu-Ge
 for 52554 <at> debbugs.gnu.org; Thu, 16 Dec 2021 11:58:47 -0500
Received: from [2001:470:142:3::e] (port=41846 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mxu5U-0002EQ-Ka; Thu, 16 Dec 2021 11:58:40 -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=WfqiDexH+YcxjMQfA9EHi/ryFkQoF34e1rWlzdMZdcI=; b=nRiXk+BHpl0q
 Z6Yq3TDhkpW4sp2/O6M5Uh3eO13TH23aX+3y8PUGK2a4Dm3qOIgkDF2rENwfAHOrDHkFRa9VlEdG5
 6u2h4qFlHu1QhZrT/CdbzqYfonjUhUwPuFJ8foc7lybfMiXVwHdLwWkC+Bzxe5hMuhvgcQ2qutm1D
 5MIWsJbpSM4jN84Yjl4Bn+oM/HET+zx24IH/Ol3OOMd+Lmnowodo996Y0RTTLWpwnc+KVYA59bZEc
 8GhApfksjI9YzZxOCmChuj3brFnDfRVQQ2tUN4MehkDmSYx1n2ys6d2YoO+kKx3he+mmwk42Xl6ft
 8ZAW2lhtAFiUlixVjySWsQ==;
Received: from [87.69.77.57] (port=4061 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mxu5U-0005SN-5o; Thu, 16 Dec 2021 11:58:36 -0500
Date: Thu, 16 Dec 2021 18:58:19 +0200
Message-Id: <83tuf8fpw4.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
In-Reply-To: <874k78o7cu.fsf@HIDDEN> (message from Andreas Schwab on Thu,
 16 Dec 2021 17:13:53 +0100)
Subject: Re: bug#52554: 28.0.90; mm-inline-media-tests customization breaks
 .emacs reading
References: <87r1aco9xm.fsf@HIDDEN> <8335msh8j0.fsf@HIDDEN>
 <874k78o7cu.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 52554
Cc: rpluim@HIDDEN, 52554 <at> debbugs.gnu.org
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 (---)

> From: Andreas Schwab <schwab@HIDDEN>
> Cc: Robert Pluim <rpluim@HIDDEN>,  52554 <at> debbugs.gnu.org
> Date: Thu, 16 Dec 2021 17:13:53 +0100
> 
> On Dez 16 2021, Eli Zaretskii wrote:
> 
> >> $ HOME=/tmp emacs --debug-init
> >> 
> >> Debugger entered--Lisp error: (invalid-read-syntax "?" 1 0)
> >>   read(#<buffer  *load*>)
> >>   eval-buffer(#<buffer  *load*> nil "/tmp/.emacs" nil t)  ; Reading at buffer position 573
> >>   load-with-code-conversion("/tmp/.emacs" "/tmp/.emacs" t t)
> >>   load("~/.emacs" noerror nomessage)
> >
> > Perhaps we should bind inhibit-null-byte-detection to a non-nil value
> > while loading the init file?
> 
> I'd rather think that custom-save-variable should bind
> print-escape-control-characters to t.

Maybe we should do both?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52554; Package emacs. Full text available.

Message received at 52554 <at> debbugs.gnu.org:


Received: (at 52554) by debbugs.gnu.org; 16 Dec 2021 16:58:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 16 11:58:00 2021
Received: from localhost ([127.0.0.1]:36543 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mxu4t-0004yW-VM
	for submit <at> debbugs.gnu.org; Thu, 16 Dec 2021 11:58:00 -0500
Received: from eggs.gnu.org ([209.51.188.92]:35642)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1mxu4r-0004yH-N9
 for 52554 <at> debbugs.gnu.org; Thu, 16 Dec 2021 11:57:57 -0500
Received: from [2001:470:142:3::e] (port=41758 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mxu4m-00025d-Dk; Thu, 16 Dec 2021 11:57:52 -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=K9J9BWm4uwTklVPPmHiu8loBQwSk2u/d4lMStbJi8Co=; b=CVI4bjAIRGYr
 rtPZONEYZSGq9nAHYLj8KpcQDrUCtQOTXXfmtaqtl/0AtVW0GzNlwXOgDh/GcON4lg6jKOuoAoF0j
 tdFnJqYsb0/qJoLHpmI64PqArVc2yr3Ouz78oxd47LE6P2hzCeB5PsAYV1jyLBwpmtc1VrWkKkz2E
 oQqm+nB6vOi9FuG+Lwouai9Hm6oeed/WMf2bSGXaPhF89IKrJNPyecI2revDSXqxKXK/dyII6rC5N
 bEcSDNo+9klwJQOTI6Hysv189x4RmaT5GuijA/BuXZtjJA/dseTLQglD9oQ87BEhQO0RE6R2JkXVd
 U7eydq6KCU22PO1Vj2iiHA==;
Received: from [87.69.77.57] (port=4016 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mxu4m-00048G-7A; Thu, 16 Dec 2021 11:57:52 -0500
Date: Thu, 16 Dec 2021 18:57:35 +0200
Message-Id: <83v8zofpxc.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <87mtl0o8mb.fsf@HIDDEN> (message from Robert Pluim on Thu, 16
 Dec 2021 16:46:36 +0100)
Subject: Re: bug#52554: 28.0.90; mm-inline-media-tests customization breaks
 .emacs reading
References: <87r1aco9xm.fsf@HIDDEN> <8335msh8j0.fsf@HIDDEN>
 <87mtl0o8mb.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 52554
Cc: 52554 <at> debbugs.gnu.org
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 (---)

> From: Robert Pluim <rpluim@HIDDEN>
> Cc: 52554 <at> debbugs.gnu.org
> Date: Thu, 16 Dec 2021 16:46:36 +0100
> 
>     Eli> Perhaps we should bind inhibit-null-byte-detection to a non-nil value
>     Eli> while loading the init file?
> 
> The init file and 'custom-file'?

Yep.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52554; Package emacs. Full text available.

Message received at 52554 <at> debbugs.gnu.org:


Received: (at 52554) by debbugs.gnu.org; 16 Dec 2021 16:13:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 16 11:13:57 2021
Received: from localhost ([127.0.0.1]:36479 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mxtOH-0003jr-MQ
	for submit <at> debbugs.gnu.org; Thu, 16 Dec 2021 11:13:57 -0500
Received: from mail-out.m-online.net ([212.18.0.9]:59540)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1mxtOG-0003jj-6T
 for 52554 <at> debbugs.gnu.org; Thu, 16 Dec 2021 11:13:56 -0500
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4JFHH66PP0z1r86w;
 Thu, 16 Dec 2021 17:13:54 +0100 (CET)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4JFHH64j0fz1qqkH;
 Thu, 16 Dec 2021 17:13:54 +0100 (CET)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id T8F0xhwa9ayK; Thu, 16 Dec 2021 17:13:53 +0100 (CET)
X-Auth-Info: cE/0XmbE5JeN70DNZwW4tVtc42ik57rPPyQT3bJ88Tkmb+i/3FhSxEh+ED2xU/Gq
Received: from igel.home (ppp-46-244-160-177.dynamic.mnet-online.de
 [46.244.160.177])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Thu, 16 Dec 2021 17:13:53 +0100 (CET)
Received: by igel.home (Postfix, from userid 1000)
 id 303322C37E0; Thu, 16 Dec 2021 17:13:53 +0100 (CET)
From: Andreas Schwab <schwab@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#52554: 28.0.90; mm-inline-media-tests customization breaks
 .emacs reading
References: <87r1aco9xm.fsf@HIDDEN> <8335msh8j0.fsf@HIDDEN>
X-Yow: HERE!!  Put THIS on!!  I'm in CHARGE!!
Date: Thu, 16 Dec 2021 17:13:53 +0100
In-Reply-To: <8335msh8j0.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 16 Dec
 2021 17:30:27 +0200")
Message-ID: <874k78o7cu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 52554
Cc: Robert Pluim <rpluim@HIDDEN>, 52554 <at> debbugs.gnu.org
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.5 (-)

On Dez 16 2021, Eli Zaretskii wrote:

>> From: Robert Pluim <rpluim@HIDDEN>
>> Date: Thu, 16 Dec 2021 16:18:13 +0100
>> 
>> That has an embedded 'NUL' just before the \302 (Iʼve encoded it),
>> which causes 'buffer-file-coding-system' to be incorrect
>> ('no-conversion in this case) so any non-ascii character causes a read
>> error:
>> 
>> $ HOME=/tmp emacs --debug-init
>> 
>> Debugger entered--Lisp error: (invalid-read-syntax "?" 1 0)
>>   read(#<buffer  *load*>)
>>   eval-buffer(#<buffer  *load*> nil "/tmp/.emacs" nil t)  ; Reading at buffer position 573
>>   load-with-code-conversion("/tmp/.emacs" "/tmp/.emacs" t t)
>>   load("~/.emacs" noerror nomessage)
>
> Perhaps we should bind inhibit-null-byte-detection to a non-nil value
> while loading the init file?

I'd rather think that custom-save-variable should bind
print-escape-control-characters to t.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52554; Package emacs. Full text available.

Message received at 52554 <at> debbugs.gnu.org:


Received: (at 52554) by debbugs.gnu.org; 16 Dec 2021 15:46:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 16 10:46:45 2021
Received: from localhost ([127.0.0.1]:36469 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mxsxx-0002wa-7i
	for submit <at> debbugs.gnu.org; Thu, 16 Dec 2021 10:46:45 -0500
Received: from mail-wr1-f45.google.com ([209.85.221.45]:41982)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1mxsxv-0002wI-8o
 for 52554 <at> debbugs.gnu.org; Thu, 16 Dec 2021 10:46:43 -0500
Received: by mail-wr1-f45.google.com with SMTP id a9so44957957wrr.8
 for <52554 <at> debbugs.gnu.org>; Thu, 16 Dec 2021 07:46:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :mime-version:content-transfer-encoding;
 bh=TtACFPKfj59HEo3MmirQAd0XWc6zvdRrsMDjU2NYGrk=;
 b=TnGr/1e8VxEOn6xdKUVTT5dYJe0OrO8AcLjU1PinPFS2FYpFjKhc2dC03hOl79zdoC
 tuoBqdG7BPWV4vE43peG+fmcJSDkUhx8nDPZKIXVLzyVOfc+ZqTCyxboTe1mkPiQHfPv
 IVU32NTWoE3aefBkVD6zPS78zko/07QIPu7nRfquqs02RDjOYiPWZgAUFzLACfIzRakk
 JjAc94pVgF38A3upjqcB2FNIGXzV6FSUfLNCSp7rWPDLxnMjmhXrGc4y3A4uIg3F5Ukt
 YSbCdXywkaS0j7mrbYeSAeeKmMVpIgUt5dTK9EJmCkKxMMdkzVpEoLy05E2GY7i/PEj7
 xX1Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:mime-version:content-transfer-encoding;
 bh=TtACFPKfj59HEo3MmirQAd0XWc6zvdRrsMDjU2NYGrk=;
 b=SkBeByjI9MIyjNaHBSB7uavfiGBf6c9iTdj5sswO5Hkiky3rZTK+KijXcpWD2jIZxt
 eotJiaTk4aCpni6u0W0EwrbJOODi2pBm6QhvAHLv0MPVPzGHo0+vGX0AwubON/ORwPkx
 1pgdB7Af0QKQycDLpNtSdDFkZ5bhZ0ZxJpcJ3F9CvP0fW3QbuRPzw8UHsUECfaXf370T
 w68N208oCBKsrV3SLNEn5cDbtUyh5JnylnJKgltlN32AHyMcmOa1OjqT1g1xt5nXR8o5
 x6HUSyHj12ABU25H0PRPlsx62TE/11bR2sk6Cy+9wH2DYV2JxhI6M/hVEqtb8UAFFhxb
 zR4g==
X-Gm-Message-State: AOAM531gu50JjRyrRtpfMt5K4Dy8TZe+nVvXm9UohFQv60+LaEEfd8eW
 pAW90TpO516zFqw/bp/9+jfQlWXAuAM=
X-Google-Smtp-Source: ABdhPJwZkjEVcQkZ0+MCY3iyCzN9VFI7BOam2Y9CpF6woDgFteuktKd89Y7H3M+8cw6+7PMNegJJFg==
X-Received: by 2002:adf:fe4e:: with SMTP id m14mr5267043wrs.713.1639669597091; 
 Thu, 16 Dec 2021 07:46:37 -0800 (PST)
Received: from rltb ([2a01:e0a:3f3:fb50:1fc1:44e6:9dcd:a0a2])
 by smtp.gmail.com with ESMTPSA id f13sm5980811wmq.29.2021.12.16.07.46.36
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 16 Dec 2021 07:46:36 -0800 (PST)
From: Robert Pluim <rpluim@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#52554: 28.0.90; mm-inline-media-tests customization breaks
 .emacs reading
References: <87r1aco9xm.fsf@HIDDEN> <8335msh8j0.fsf@HIDDEN>
Date: Thu, 16 Dec 2021 16:46:36 +0100
In-Reply-To: <8335msh8j0.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 16 Dec
 2021 17:30:27 +0200")
Message-ID: <87mtl0o8mb.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 52554
Cc: 52554 <at> debbugs.gnu.org
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 Thu, 16 Dec 2021 17:30:27 +0200, Eli Zaretskii <eliz@HIDDEN> said:

    >> From: Robert Pluim <rpluim@HIDDEN>
    >> Date: Thu, 16 Dec 2021 16:18:13 +0100
    >>=20
    >> That has an embedded 'NUL' just before the \302 (I=CA=BCve encoded i=
t),
    >> which causes 'buffer-file-coding-system' to be incorrect
    >> ('no-conversion in this case) so any non-ascii character causes a re=
ad
    >> error:
    >>=20
    >> $ HOME=3D/tmp emacs --debug-init
    >>=20
    >> Debugger entered--Lisp error: (invalid-read-syntax "?" 1 0)
    >> read(#<buffer  *load*>)
    >> eval-buffer(#<buffer  *load*> nil "/tmp/.emacs" nil t)  ; Reading at=
 buffer position 573
    >> load-with-code-conversion("/tmp/.emacs" "/tmp/.emacs" t t)
    >> load("~/.emacs" noerror nomessage)

    Eli> Perhaps we should bind inhibit-null-byte-detection to a non-nil va=
lue
    Eli> while loading the init file?

The init file and 'custom-file'? (anyone who manually puts byte-code
in their .emacs either knows what they=CA=BCre doing or will soon learn :-)=
 )

Robert
--=20




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52554; Package emacs. Full text available.

Message received at 52554 <at> debbugs.gnu.org:


Received: (at 52554) by debbugs.gnu.org; 16 Dec 2021 15:30:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 16 10:30:54 2021
Received: from localhost ([127.0.0.1]:36452 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mxsic-0002V0-1h
	for submit <at> debbugs.gnu.org; Thu, 16 Dec 2021 10:30:54 -0500
Received: from eggs.gnu.org ([209.51.188.92]:42784)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1mxsiY-0002Ul-S9
 for 52554 <at> debbugs.gnu.org; Thu, 16 Dec 2021 10:30:52 -0500
Received: from [2001:470:142:3::e] (port=38780 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mxsiT-0008PT-HT; Thu, 16 Dec 2021 10:30:45 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=XFikBUM8TCd5RX18U54EJxLSI1G21ayyClCc4M14vrc=; b=jCkyp41dxk69Q3LejUez
 rI0jianLERmTkVa9M9dAOrvNZcRCRV5er3FTJuPHV/RXmWCu3Xax+ka29j96Mx0tr64QhSIK7GUc/
 /JblwasVBSaxIRVZhQhtRqAwG8h6wySQYF4d+mpBoaPOcflVLgkfuRdHdY7UC8iQ6rPj5eMkC4TJ1
 FZe5ObVPTQhJnMNlZvlEtdGDWPXH2I2Dn7Q55nflNNKRHYAlGHE4uIJ11qotX2jvDIZ7fxa5bUs42
 RIh6m/x/ntwedn/Ki/uvWx7JlcR84b8AldbdcBqZuMQUtbI6jaVArFqWpzMc2znEZ6A9V6kL3sish
 j/X6qWZO1EpWWA==;
Received: from [87.69.77.57] (port=2694 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mxsiS-0006Z3-MC; Thu, 16 Dec 2021 10:30:45 -0500
Date: Thu, 16 Dec 2021 17:30:27 +0200
Message-Id: <8335msh8j0.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <87r1aco9xm.fsf@HIDDEN> (message from Robert Pluim on Thu, 16
 Dec 2021 16:18:13 +0100)
Subject: Re: bug#52554: 28.0.90;
 mm-inline-media-tests customization breaks .emacs reading
References: <87r1aco9xm.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 52554
Cc: 52554 <at> debbugs.gnu.org
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 (---)

> From: Robert Pluim <rpluim@HIDDEN>
> Date: Thu, 16 Dec 2021 16:18:13 +0100
> 
> That has an embedded 'NUL' just before the \302 (Iʼve encoded it),
> which causes 'buffer-file-coding-system' to be incorrect
> ('no-conversion in this case) so any non-ascii character causes a read
> error:
> 
> $ HOME=/tmp emacs --debug-init
> 
> Debugger entered--Lisp error: (invalid-read-syntax "?" 1 0)
>   read(#<buffer  *load*>)
>   eval-buffer(#<buffer  *load*> nil "/tmp/.emacs" nil t)  ; Reading at buffer position 573
>   load-with-code-conversion("/tmp/.emacs" "/tmp/.emacs" t t)
>   load("~/.emacs" noerror nomessage)

Perhaps we should bind inhibit-null-byte-detection to a non-nil value
while loading the init file?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52554; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Dec 2021 15:18:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 16 10:18:21 2021
Received: from localhost ([127.0.0.1]:36427 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mxsWT-00028S-41
	for submit <at> debbugs.gnu.org; Thu, 16 Dec 2021 10:18:21 -0500
Received: from lists.gnu.org ([209.51.188.17]:41070)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1mxsWS-00028K-2F
 for submit <at> debbugs.gnu.org; Thu, 16 Dec 2021 10:18:20 -0500
Received: from eggs.gnu.org ([209.51.188.92]:40948)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rpluim@HIDDEN>) id 1mxsWR-00044I-Hy
 for bug-gnu-emacs@HIDDEN; Thu, 16 Dec 2021 10:18:19 -0500
Received: from [2a00:1450:4864:20::330] (port=35504
 helo=mail-wm1-x330.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <rpluim@HIDDEN>) id 1mxsWQ-0006hC-38
 for bug-gnu-emacs@HIDDEN; Thu, 16 Dec 2021 10:18:19 -0500
Received: by mail-wm1-x330.google.com with SMTP id
 bg2-20020a05600c3c8200b0034565c2be15so2021482wmb.0
 for <bug-gnu-emacs@HIDDEN>; Thu, 16 Dec 2021 07:18:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:mime-version;
 bh=xToIj1cG2nF6pWNlh2PVnF3uerlphSeqqtB72OfYN5s=;
 b=PQac2ZTRE54TNZb06HV5kAhGG+nVZNW73h+6zrq0hz1/aJ78KyTDdcYqbR1lgg3oLf
 hyhwZVgeoKTvKJCj1ywRDrVAAJ/ATwfN5rU/hactWBBkDzR2ol2wavD5/W+d8JN55Be1
 SNxHnWdjvaNC9MxVw7f6LzGfwaiROH7Co/W1s2C0Ipts/jmo2mzHloMNSKtDWLbtDEEw
 TW2j5sNuK0iYIVPrU/0z13DG1qw7E2xh/mAIvAlFU0ROJshy6Nkwg6i/DhsZGXUGwGjc
 i4n9rB8gD/jRLdk/TNnFo+iiJGzIVLGZlaBXY0DccMubi6w1RXqmgPTl6i8WkTZyhxin
 JBBw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=xToIj1cG2nF6pWNlh2PVnF3uerlphSeqqtB72OfYN5s=;
 b=Ge17Nd3DsRTKfxcM3be1y1gTRfccsfNMdqDVN6sJptaNS29SGurWRpqA9oI7FsEyCS
 /hWhZHMI+35uj77Y7yFeJbOcSYQgDFa3SicgfYlzGQN64ha07p7Eec3MeALHv2bMI5Yr
 4sDxf2gvWZLoxBfeMYPpaGQ3OCGxKiWSle7N4uD6awodONAD1hHDwM4ssQRK0do07XqA
 1AlqweYpHtx7No+YzBrL7tM6na3pijwaSsdLYgPFBLDhbocZs6khlNjfaPAJYwVlBoDq
 4JvqePXSg9RvVHrl2B1nEUVGYm3122uE7ac3TYIMEGOYxAUmGO+zSDpU2/1d54+Ktwx9
 vJyQ==
X-Gm-Message-State: AOAM530xQs//P9pbHR6ANnb2nJoyfWFf1lv47YRy7zSlnhAheQALclfK
 jq0FVsV5V9CtGBHXMilcrBzDBmlIRuc=
X-Google-Smtp-Source: ABdhPJxqqkpRqgcKj1Nr9p8QdrxSpYPiDce/istNpUmcW2k09jXufO/Lwo6HGafOT1J/LzWodL899A==
X-Received: by 2002:a05:600c:a01:: with SMTP id
 z1mr5511994wmp.52.1639667895336; 
 Thu, 16 Dec 2021 07:18:15 -0800 (PST)
Received: from rltb ([2a01:e0a:3f3:fb50:1fc1:44e6:9dcd:a0a2])
 by smtp.gmail.com with ESMTPSA id c8sm5851837wmq.34.2021.12.16.07.18.14
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 16 Dec 2021 07:18:14 -0800 (PST)
From: Robert Pluim <rpluim@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.90; mm-inline-media-tests customization breaks .emacs reading
X-Debbugs-No-Ack: yes
Date: Thu, 16 Dec 2021 16:18:13 +0100
Message-ID: <87r1aco9xm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::330
 (failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::330;
 envelope-from=rpluim@HIDDEN; helo=mail-wm1-x330.google.com
X-Spam_score_int: -12
X-Spam_score: -1.3
X-Spam_bar: -
X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
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: -2.3 (--)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

mm-inline-media-tests contains lambda's, and it=CA=BCs byte-compiled, so
when you customize its value, byte-code is saved in your .emacs. One
of its components looks like this:

     ("text/x-vcard" mm-inline-text-vcard
      #[257 "\300\301!\206	%0\302\303!\207"
            [featurep vcard locate-library "vcard"]
            3 "

     (fn HANDLE)"])

That has an embedded 'NUL' just before the \302 (I=CA=BCve encoded it),
which causes 'buffer-file-coding-system' to be incorrect
('no-conversion in this case) so any non-ascii character causes a read
error:

$ HOME=3D/tmp emacs --debug-init

Debugger entered--Lisp error: (invalid-read-syntax "?" 1 0)
  read(#<buffer  *load*>)
  eval-buffer(#<buffer  *load*> nil "/tmp/.emacs" nil t)  ; Reading at buff=
er position 573
  load-with-code-conversion("/tmp/.emacs" "/tmp/.emacs" t t)
  load("~/.emacs" noerror nomessage)

Sample .emacs attached. There are probably other defcustom's with the
same issue, I haven't checked.


--=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=.emacs
Content-Transfer-Encoding: base64

KGN1c3RvbS1zZXQtdmFyaWFibGVzCiA7OyBjdXN0b20tc2V0LXZhcmlhYmxlcyB3YXMgYWRkZWQg
YnkgQ3VzdG9tLgogOzsgSWYgeW91IGVkaXQgaXQgYnkgaGFuZCwgeW91IGNvdWxkIG1lc3MgaXQg
dXAsIHNvIGJlIGNhcmVmdWwuCiA7OyBZb3VyIGluaXQgZmlsZSBzaG91bGQgY29udGFpbiBvbmx5
IG9uZSBzdWNoIGluc3RhbmNlLgogOzsgSWYgdGhlcmUgaXMgbW9yZSB0aGFuIG9uZSwgdGhleSB3
b24ndCB3b3JrIHJpZ2h0LgogJyhtbS1pbmxpbmUtbWVkaWEtdGVzdHMKICAgJygoInRleHQveC12
Y2FyZCIgbW0taW5saW5lLXRleHQtdmNhcmQKICAgICAgI1syNTcgIlwzMDBcMzAxIVwyMDYJAFwz
MDJcMzAzIVwyMDciCiAgICAgICAgICAgIFtmZWF0dXJlcCB2Y2FyZCBsb2NhdGUtbGlicmFyeSAi
dmNhcmQiXQogICAgICAgICAgICAzICIKCihmbiBIQU5ETEUpIl0pCikpKQoKKGdsb2JhbC1zZXQt
a2V5IChrYmQgIkMtJyIpIChsYW1iZGEgKCkKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
KGludGVyYWN0aXZlKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoaW5zZXJ0LWNoYXIg
P8q8KSkpCg==
--=-=-=
Content-Type: text/plain


In GNU Emacs 28.0.90 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
 of 2021-12-13 built on rltb
Repository revision: 9bd3f78645e14fdbaf3a569df5e0a52249c4f90e
Repository branch: emacs-28
System Description: Debian GNU/Linux 11 (bullseye)

Robert
-- 

--=-=-=--




Report forwarded to bug-gnu-emacs@HIDDEN:
bug#52554; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 19 Dec 2021 12:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.