From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oO9jDKWVu1/8eQAA0tVLHw (envelope-from ) for ; Mon, 23 Nov 2020 10:57:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wBtYCKWVu1+lMwAAB5/wlQ (envelope-from ) for ; Mon, 23 Nov 2020 10:57:41 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D90CA9404FB for ; Mon, 23 Nov 2020 10:57:38 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id C619928C64; Mon, 23 Nov 2020 05:57:30 -0500 (EST) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by mail.notmuchmail.org (Postfix) with ESMTPS id 96CD5203D7 for ; Mon, 23 Nov 2020 05:57:27 -0500 (EST) Received: by mail-qk1-x732.google.com with SMTP id n132so16564833qke.1 for ; Mon, 23 Nov 2020 02:57:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kbfQZCsqaX7g0Imf0uwoTpAbQeD/O0hVPya5K/WjyJI=; b=BdXoV5FMLNGFy5o+roz50f5YOQzVc4bPjQH77RhNf2rIGjMgkJy8PbdGjjnOqLgXwx p8NSDzdL2dlKn0Hl+nCPL6b5J2zHlVsCU+14+HF1TsZ99BB3gAxDfN9pFWeWFRTMej5f 4/AVo4UjSuPXgG0O/hcFvN8i/WLUcsTBJmdGnzbRPVoUUvCbIm33d0DKovFv25imXQJI ZquNPPqVHC1/jsDKY9OdmCsijeVBrwp7Ggo0iC1M02jTFJv3DARUga3iCu8NtkeUxLjE GEPe40SB6vALk4N+4nQT1DwxyYivkIgEMPow4Wm+/FiRSIO0hehVDSlDSTcOFSgNXcpO elwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kbfQZCsqaX7g0Imf0uwoTpAbQeD/O0hVPya5K/WjyJI=; b=YkPmMf9eLxu/aNeLr/4JYQdgvT4hBN6rFe3eP1xrXjn8lPcElth0AcPaBreqf3P8qy 9M5R/RTmGlfVYc5c803vor2f7C1uiC/uYM2QVtGvRzza0XMws/XIojge5W337qjpMyRv 5LyyJrL8lyDWYCkYJB6QQ7evP3PaYwOLvHApuwH4oIuNMAVlM5WIfbI4tHhZZaf5T4Yp JPpSW98mfHoq6MJGKBjU0KLu23QxQgQuiOpuTWiA6+boFRxRlv1adHVvyzX4kPzevGaO YXuMkoiBsQzO5n3gI+LAKyVQst3ZL0MC/w0DxMRjIPguCNljdNvMTEDXi/GLcj3tQcDw 6gJA== X-Gm-Message-State: AOAM5334Mphjk46zwxyyci42Pz2Z77ZuKOdKDAxCL4aWGssMw2ruB2Ff MTvi8/nuvbzNVakgqMxGciIT4L8GV64oPy7C1GA= X-Google-Smtp-Source: ABdhPJw+0F3IwzEqvvJS8eEJXy/8Tf9YRx5jWk5PQ+FoSLFvK3oFVBrtXKLdIezgZSCAnc1dYPR4SByTLk4iQWk9yuc= X-Received: by 2002:a37:480f:: with SMTP id v15mr29258051qka.30.1606129046586; Mon, 23 Nov 2020 02:57:26 -0800 (PST) MIME-Version: 1.0 References: <87h7pgnyjj.fsf@tethera.net> In-Reply-To: <87h7pgnyjj.fsf@tethera.net> From: Wenlong Dai Date: Mon, 23 Nov 2020 21:56:50 +1100 Message-ID: Subject: Re: question: how to change file extension generated by (notmuch-show-view-part) To: David Bremner Message-ID-Hash: FA545DTKKD5UUQDCWYT34R7724JIBNCS X-Message-ID-Hash: FA545DTKKD5UUQDCWYT34R7724JIBNCS X-MailFrom: whudwl@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: notmuch@notmuchmail.org X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============0078011396910037764==" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=BdXoV5FM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: 1.09 X-TUID: FX2EzI93ZRw7 --===============0078011396910037764== Content-Type: multipart/alternative; boundary="000000000000490a5905b4c40fa2" --000000000000490a5905b4c40fa2 Content-Type: text/plain; charset="UTF-8" Thank you very much for your email. I just tried this again but could not reproduce it either. I guess it just happened to a very particular message in my inbox. I was probably quite unlucky that my first try was on such a peculiar message. Now I couldn't remember what message I was looking at and I cannot find it anymore. I'll report back if I see the problem again. On Mon, 23 Nov 2020 at 21:43, David Bremner wrote: > Wenlong Dai writes: > > > I've been trying to use links2 to view html part of messages. > > The problem I'm encountering is that, the part would be saved as > > /tmp/xxx/xxx.shtml and > > passed on to links2, and it seems links2 doesn't recognise the .shtml > > extension. > > > > I could not duplicate this with the message you sent to the list. Does > it happen with all html parts for you, or just some? If the latter, can > you share an example message? > > I suspect emacs is taking taking the file name from the message, but I > don't know for sure. > > -- Kind Regards, Wenlong Dai --000000000000490a5905b4c40fa2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you very much for y= our email.=C2=A0
I just tried this ag= ain but could not reproduce it either.=C2=A0
I guess it just happened to a very particular message in my inbox.= =C2=A0
I was probably quite unlucky t= hat my first try was on such a peculiar=C2=A0message.=C2=A0
Now I couldn't remember what message I was looki= ng at and I cannot find it anymore.=C2=A0
I'll report back if I see the problem again.=C2=A0=C2=A0

On M= on, 23 Nov 2020 at 21:43, David Bremner <david@tethera.net> wrote:
Wenlong Dai <whudwl@gmail.com> writes:

> I've been trying to use links2 to view html part of messages.
> The problem I'm encountering is that, the part would be saved as > /tmp/xxx/xxx.shtml and
> passed on to links2, and it seems links2 doesn't recognise the .sh= tml
> extension.
>

I could not duplicate this with the message you sent to the list. Does
it happen with all html parts for you, or just some? If the latter, can
you share an example message?

I suspect emacs is taking taking the file name from the message, but I
don't know for sure.



--
Kind Regards,
Wenlong Dai

--000000000000490a5905b4c40fa2-- --===============0078011396910037764== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0078011396910037764==--