GNU bug report logs - #36520
Form submition in eww doesn't work if file field is left empty

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: Ivaylo Ilionov <ivaylo.ilionov@HIDDEN>; Keywords: patch; dated Sat, 6 Jul 2019 11:29:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) patch. Request was from "Basil L. Contovounesios" <contovob@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 36520) by debbugs.gnu.org; 7 Jul 2019 16:38:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 07 12:38:39 2019
Received: from localhost ([127.0.0.1]:57350 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hkABT-0005Jo-Gs
	for submit <at> debbugs.gnu.org; Sun, 07 Jul 2019 12:38:39 -0400
Received: from mail-ed1-f68.google.com ([209.85.208.68]:33642)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contovob@HIDDEN>) id 1hkABQ-0005JP-Ol
 for 36520 <at> debbugs.gnu.org; Sun, 07 Jul 2019 12:38:38 -0400
Received: by mail-ed1-f68.google.com with SMTP id i11so12399736edq.0
 for <36520 <at> debbugs.gnu.org>; Sun, 07 Jul 2019 09:38:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tcd-ie.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=5zdM2pQ3A7Y44TwVonC/ecBbg2q80rkPV+XVH+odyl4=;
 b=ZHeywVpRnt1PP62hRwB2YWgoFjJuBY3BOncyQSrexmIfttI4uj+o4zTIH2hOzOnQ8B
 a2g95qNlOxe4mU3xXgTEZNuwZOc6QIx83KpL1cnU2VIp2n0qi+LFUeJC86kS4RHnKy3h
 4Bm3jcvhM4TKG8bJNsEScD9J7auZEH8WJNXqjHjaQS/mvIaVSjeWr6/0I+nGkEQqm6wD
 2cEa2sNun7a8YTy95UcetBeku72HR/mESKxf3OoZ3bOMiyHxd3jzF9WS9Wc2teaRhD1Y
 cEfn8ZL0AQU5XdNNM4D6Hs/tFV51AaxUNaGN7tagyQUxqn2C4K+EjzOTAI7fdLam9chU
 zfdA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=5zdM2pQ3A7Y44TwVonC/ecBbg2q80rkPV+XVH+odyl4=;
 b=k58uc1VjAE6U1G+6b/rr52mHKhfXCNarQW8+PhEIjhCH8ec2MSCnCWcUgbxjsO2PlG
 w9ZbIqbyQc8sfceWSCxni6udsozsgsb3it3XVQOFaMXhQydnhprE4Od3TL6R4E6ceegn
 qvH92T2bubEInlFmnG0guiRRFlXoAKiyb03G+ruqQOaUTeqM6F5lnxtP/F2AmwwFmluI
 WcvP5h4EyBhZ2yZ0bjs1IYyNjQqFONzc0maflI34sRhjidoWakIoQhGIiEVQgw+G/cOT
 PCII6BcciGXHmi2SgYb/m2PF1Qnf1TijYP0xMfa8i+5L4XpV+IqATYrABjnewTcr0SSc
 JWBA==
X-Gm-Message-State: APjAAAXIbEvUMVagO+/BbeSiCSuxLfZnlkviWh+FXV2KC8I9OwEv3606
 6ylqE8jDkUSRA5/tcTDJUn8w0Q==
X-Google-Smtp-Source: APXvYqw68tpAsQR3Rrj2zFPpaVobeLuQNOgcQ/0MYcYjtFVDv4Zl2y+kSGyCipYrPvCgRElQiKsIyg==
X-Received: by 2002:aa7:d909:: with SMTP id a9mr15682034edr.261.1562517510739; 
 Sun, 07 Jul 2019 09:38:30 -0700 (PDT)
Received: from localhost ([2a02:8084:20e2:c380:92bd:1bfd:38fc:fae2])
 by smtp.gmail.com with ESMTPSA id d4sm4690253edb.4.2019.07.07.09.38.29
 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);
 Sun, 07 Jul 2019 09:38:29 -0700 (PDT)
From: "Basil L. Contovounesios" <contovob@HIDDEN>
To: Ivaylo Ilionov <ivaylo.ilionov@HIDDEN>
Subject: Re: bug#36520: Form submition in eww doesn't work if file field is
 left empty
References: <VE1PR08MB513653BD4614A51CADF8E27C82F40@HIDDEN>
Date: Sun, 07 Jul 2019 17:38:24 +0100
In-Reply-To: <VE1PR08MB513653BD4614A51CADF8E27C82F40@HIDDEN>
 (Ivaylo Ilionov's message of "Sat, 6 Jul 2019 10:39:41 +0000")
Message-ID: <87d0iler5r.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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
 the administrator of that system for details.
 Content preview: tags 36520 + patch quit Ivaylo Ilionov
 <ivaylo.ilionov@HIDDEN>
 writes: > When submitting form with various fields including one optional
 > field for file upload, if the file filed is left empty - the > submition
 doesn't work. > > The error is: Wrong type argument: string [...] 
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was
 blocked.  See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
 for more information. [URIs: outlook.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [209.85.208.68 listed in list.dnswl.org]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 SPF_NONE               SPF: sender does not publish an SPF Record
 1.3 PDS_NO_HELO_DNS        High profile HELO but no A record
X-Debbugs-Envelope-To: 36520
Cc: 36520 <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: 0.3 (/)

--=-=-=
Content-Type: text/plain

tags 36520 + patch
quit

Ivaylo Ilionov <ivaylo.ilionov@HIDDEN> writes:

> When submitting form with various fields including one optional
> field for file upload, if the file filed is left empty - the
> submition doesn't work.
>
> The error is: Wrong type argument: stringp, nil

Could you please give an example of such a form, for
reproduction/testing purposes?

> I've tracked the problem to the function 'eww-submit' which tries
> to open a file for upload (the file was never initialized by the
> html form).

I wonder if the file not being initialised is a symptom of a problem
elsewhere?  An example might shed more light on this.

> My fix is to check if the property is set in the file "eww.el.gz" after
> line 1435:
>
>> ((equal (plist-get input :type) "file")
>>  ;; FIX check if property :filename is not nil
>>  (when (not (null (plist-get input :filename)))

FWIW, this is equivalent to (when (plist-get input :filename) ...).

>>    (push (cons "file"
>>         (list (cons "filedata"
>>       (with-temp-buffer
>>         (insert-file-contents
>>          (plist-get input :filename))
>>         (buffer-string)))
>>        (cons "name" (plist-get input :name))
>>        (cons "filename" (plist-get input :filename))))
>>   values)))

LGTM.  Here's a patch which achieves the same effect and additionally
cleans up this code a tiny bit:


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline;
 filename=0001-Fix-fileless-eww-form-submission.patch

From 6c4fdcf2434391236d9ac1a891ba751e82831e37 Mon Sep 17 00:00:00 2001
From: "Basil L. Contovounesios" <contovob@HIDDEN>
Date: Sun, 7 Jul 2019 15:36:36 +0100
Subject: [PATCH] Fix fileless eww form submission

* lisp/net/eww.el (eww-submit): Ignore file inputs with no
associated file name (bug#36520).
---
 lisp/net/eww.el | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 1125929c03..5acc645574 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -1426,15 +1426,15 @@ eww-submit
 	      (push (cons name (plist-get input :value))
 		    values)))
 	   ((equal (plist-get input :type) "file")
-	    (push (cons "file"
-			(list (cons "filedata"
-				    (with-temp-buffer
-				      (insert-file-contents
-				       (plist-get input :filename))
-				      (buffer-string)))
-			      (cons "name" (plist-get input :name))
-			      (cons "filename" (plist-get input :filename))))
-		  values))
+            (when-let ((file (plist-get input :filename)))
+              (push (list "file"
+                          (cons "filedata"
+                                (with-temp-buffer
+                                  (insert-file-contents file)
+                                  (buffer-string)))
+                          (cons "name" name)
+                          (cons "filename" file))
+                    values)))
 	   ((equal (plist-get input :type) "submit")
 	    ;; We want the values from buttons if we hit a button if
 	    ;; we hit enter on it, or if it's the first button after
-- 
2.20.1


--=-=-=
Content-Type: text/plain


This is probably fine to push as-is, as it's just a defensive guard, but
I'd rather get confirmation from someone else or play around with an
example of the bug first.

Thanks,

-- 
Basil

--=-=-=--




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

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


Received: (at submit) by debbugs.gnu.org; 6 Jul 2019 11:28:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 06 07:28:27 2019
Received: from localhost ([127.0.0.1]:54250 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hjirh-0007xN-Qx
	for submit <at> debbugs.gnu.org; Sat, 06 Jul 2019 07:28:27 -0400
Received: from lists.gnu.org ([209.51.188.17]:58705)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ivaylo.ilionov@HIDDEN>) id 1hji6h-0006oh-3r
 for submit <at> debbugs.gnu.org; Sat, 06 Jul 2019 06:39:52 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43839)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <ivaylo.ilionov@HIDDEN>) id 1hji6f-00053k-RD
 for bug-gnu-emacs@HIDDEN; Sat, 06 Jul 2019 06:39:50 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RECEIVED_FROM_WINDOWS_HOST,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ivaylo.ilionov@HIDDEN>) id 1hji6e-0002R8-K4
 for bug-gnu-emacs@HIDDEN; Sat, 06 Jul 2019 06:39:49 -0400
Received: from mail-oln040092067017.outbound.protection.outlook.com
 ([40.92.67.17]:59777 helo=EUR02-AM5-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ivaylo.ilionov@HIDDEN>)
 id 1hji6e-0002Jj-5D
 for bug-gnu-emacs@HIDDEN; Sat, 06 Jul 2019 06:39:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=+c3xbZbpcHtQvm++mESCyrTuZo1h7yyGO6LMv73bWFE=;
 b=JSm55CYWBaO1muMgL1x9LNN1QW4MbH+K2VzohfighEsJREDr69m3vP+0AMZkM8XOTctNpXAim/ux3xRw3qEdK3qjJgQXH9yVmreBLuTqoTpaxljXZRyuSYdhO3/e7EtGpxN67oLdk5mFFGhMPywj7yS8CghfoESXj+HGI0Pv0dNLjXCJcTILwo6c8xEpZ8Q1NnG7M6EuipztVlHK0ZP5Jryp66DztLFpvh0uYlybOcqevNJWCBKCIm6rRLxdazgFk8K6Si0XwgBjtt/azReBeLaJ/dOp29M1r5R1TQS/GF3iUae2vVXYDqs5Hit34G6FR6XDV7YCTSxHm9ypQ+gAPQ==
Received: from AM5EUR02FT025.eop-EUR02.prod.protection.outlook.com
 (10.152.8.57) by AM5EUR02HT078.eop-EUR02.prod.protection.outlook.com
 (10.152.9.38) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2052.19; Sat, 6 Jul
 2019 10:39:41 +0000
Received: from VE1PR08MB5136.eurprd08.prod.outlook.com (10.152.8.60) by
 AM5EUR02FT025.mail.protection.outlook.com (10.152.8.110) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id
 15.20.2052.19 via Frontend Transport; Sat, 6 Jul 2019 10:39:41 +0000
Received: from VE1PR08MB5136.eurprd08.prod.outlook.com
 ([fe80::50ad:8d7e:8ed7:70bc]) by VE1PR08MB5136.eurprd08.prod.outlook.com
 ([fe80::50ad:8d7e:8ed7:70bc%3]) with mapi id 15.20.2032.019; Sat, 6 Jul 2019
 10:39:41 +0000
From: Ivaylo Ilionov <ivaylo.ilionov@HIDDEN>
To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN>
Subject: Form submition in eww doesn't work if file field is left empty
Thread-Topic: Form submition in eww doesn't work if file field is left empty
Thread-Index: AQHVM+aIxyTPJwinFUyAHbLPc99LtA==
Date: Sat, 6 Jul 2019 10:39:41 +0000
Message-ID: <VE1PR08MB513653BD4614A51CADF8E27C82F40@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-incomingtopheadermarker: OriginalChecksum:3959AAC6DFC8A9FB0851B20B1868E5EA36A3CF66858349AD189F3804620CA2B0;
 UpperCasedChecksum:288BFD68D88B5C5C9FA16FB4FD90B4DA0B81AC5F61F8E30D5A2E0854D9D473DB;
 SizeAsReceived:6577; Count:40
x-tmn: [ItoUGwZpPZmbCUt2jKKyGt96jkSbcR4r]
x-ms-publictraffictype: Email
x-incomingheadercount: 40
x-eopattributedmessage: 0
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322404)(2017031323274)(2017031324274)(1601125500)(1603101475)(1701031045);
 SRVR:AM5EUR02HT078; 
x-ms-traffictypediagnostic: AM5EUR02HT078:
x-microsoft-antispam-message-info: Qc40dfoiPYvfqS2lsGkRkzlIDI2GQPsAG8eqwh1iwpXXkhGA0tJx2pTAXjjZQBsP6dBCva9Bi8FYAX2HqNBQULBRyxVgkg0btgdnKp/3CyK3TW7dfJGI4ZGoasMXsLJjYP8SON7SlvzFJTjS+3Qm+X//gv7HQtfC1FvT1/atjYqmIgFdRFEauvmH/SMGLmwu
Content-Type: multipart/alternative;
 boundary="_000_VE1PR08MB513653BD4614A51CADF8E27C82F40VE1PR08MB5136eurp_"
MIME-Version: 1.0
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 4c2a7871-e4a7-469d-5b55-08d701fe40e6
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2019 10:39:41.7704 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT078
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 40.92.67.17
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 06 Jul 2019 07:28:24 -0400
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 (--)

--_000_VE1PR08MB513653BD4614A51CADF8E27C82F40VE1PR08MB5136eurp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

When submitting form with various fields including one optional
field for file upload, if the file filed is left empty - the
submition doesn't work.

The error is: Wrong type argument: stringp, nil

I've tracked the problem to the function 'eww-submit' which tries
to open a file for upload (the file was never initialized by the
html form).

My fix is to check if the property is set in the file "eww.el.gz" after
line 1435:

> ((equal (plist-get input :type) "file")
>  ;; FIX check if property :filename is not nil
>  (when (not (null (plist-get input :filename)))
>    (push (cons "file"
>         (list (cons "filedata"
>       (with-temp-buffer
>         (insert-file-contents
>          (plist-get input :filename))
>         (buffer-string)))
>        (cons "name" (plist-get input :name))
>        (cons "filename" (plist-get input :filename))))
>   values)))

Details about my emacs:

In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.32)
 of 2019-07-05 built on debian
Repository revision: f24d47359d9b6621215f20795d585c5024d91783
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)


--_000_VE1PR08MB513653BD4614A51CADF8E27C82F40VE1PR08MB5136eurp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
When submitting form with various fields including one optional<br>
<div>field for file upload, if the file filed is left empty - the<br>
</div>
<div>submition doesn't work.<br>
</div>
<div><br>
</div>
<div>The error is: Wrong type argument: stringp, nil<br>
</div>
<div><br>
</div>
<div>I've tracked the problem to the function 'eww-submit' which tries<br>
</div>
<div>to open a file for upload (the file was never initialized by the<br>
</div>
<div>html form).<br>
</div>
<div><br>
</div>
<div>My fix is to check if the property is set in the file &quot;eww.el.gz&=
quot; after<br>
</div>
<div>line 1435:<br>
</div>
<div><br>
</div>
<div>&gt; ((equal (plist-get input :type) &quot;file&quot;)<br>
</div>
<div>&gt; &nbsp;;; FIX check if property :filename is not nil<br>
</div>
<div>&gt; &nbsp;(when (not (null (plist-get input :filename)))<br>
</div>
<div>&gt; &nbsp; &nbsp;(push (cons &quot;file&quot;<br>
</div>
<div>&gt; &nbsp; &nbsp; &nbsp; &nbsp; (list (cons &quot;filedata&quot;<br>
</div>
<div>&gt; &nbsp; &nbsp; &nbsp; (with-temp-buffer<br>
</div>
<div>&gt; &nbsp; &nbsp; &nbsp; &nbsp; (insert-file-contents<br>
</div>
<div>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(plist-get input :filename))<br=
>
</div>
<div>&gt; &nbsp; &nbsp; &nbsp; &nbsp; (buffer-string)))<br>
</div>
<div>&gt; &nbsp; &nbsp; &nbsp; &nbsp;(cons &quot;name&quot; (plist-get inpu=
t :name))<br>
</div>
<div>&gt; &nbsp; &nbsp; &nbsp; &nbsp;(cons &quot;filename&quot; (plist-get =
input :filename))))<br>
</div>
<div>&gt; &nbsp; values)))<br>
</div>
<div><br>
</div>
<div>Details about my emacs:<br>
</div>
<div><br>
</div>
<div>In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK&#43; Version 2=
.24.32)<br>
</div>
<div>&nbsp;of 2019-07-05 built on debian<br>
</div>
<div>Repository revision: f24d47359d9b6621215f20795d585c5024d91783<br>
</div>
<div>Repository branch: master<br>
</div>
<div>Windowing system distributor 'The X.Org Foundation', version 11.0.1200=
4000<br>
</div>
<div>System Description: Debian GNU/Linux 10 (buster)<br>
</div>
<span></span><br>
</div>
</body>
</html>

--_000_VE1PR08MB513653BD4614A51CADF8E27C82F40VE1PR08MB5136eurp_--




Acknowledgement sent to Ivaylo Ilionov <ivaylo.ilionov@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#36520; 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, 7 Jul 2019 16:45:01 UTC

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