From unknown Sat Aug 16 11:12:26 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#43318 <43318@debbugs.gnu.org> To: bug#43318 <43318@debbugs.gnu.org> Subject: Status: Unable to open remote pdf directly with eww Reply-To: bug#43318 <43318@debbugs.gnu.org> Date: Sat, 16 Aug 2025 18:12:26 +0000 retitle 43318 Unable to open remote pdf directly with eww reassign 43318 emacs submitter 43318 Stefan Kangas severity 43318 normal tag 43318 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 10 15:40:06 2020 Received: (at submit) by debbugs.gnu.org; 10 Sep 2020 19:40:06 +0000 Received: from localhost ([127.0.0.1]:41285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGSQQ-0006Of-2b for submit@debbugs.gnu.org; Thu, 10 Sep 2020 15:40:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:40440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGSQN-0006OV-La for submit@debbugs.gnu.org; Thu, 10 Sep 2020 15:40:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGSQN-0006Sy-Dn for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2020 15:40:03 -0400 Received: from mail-ej1-f46.google.com ([209.85.218.46]:38247) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGSQL-0007fx-Jf for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2020 15:40:02 -0400 Received: by mail-ej1-f46.google.com with SMTP id i22so10475962eja.5 for ; Thu, 10 Sep 2020 12:40:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=U3Bw91R2sKUfalDjT7RMv+QrkG/SnMdqPW9mnUj4wjc=; b=qNSbbfI8KWwzYq/+YDq1prPf+tfqNv0Zz3KZNZVmns7BAbWyOtenQ3g9mIY3DOpX2Y QdeRMhnVo9pbAOcCRe6AIqKK7aMos5eac0kQ2dknvJaIhgT3yrsNHifDISYele8yN2Nr 1XSQ48Cfha0eNwtijSULFfoeFNn0IwZAn42uksdgmnhL5ZgGQg5S/AYV18zJSs1TwuqK 7rVW05YChxe8t8gpB046kThU0x21P6mrUTUVfgd7tav4v8yuRI60iX8eJpmGOWPu+xla iNkCbN5MQFLSr0m11UfDjmq50DmFEkl6N3LIBdyFJNmbIFAHJNzBLVC2kvY0fSm7ZyFb zCSw== X-Gm-Message-State: AOAM530odZq2658V0nAlEoJA2p37FGXeg8a7KPHNBzWBAaBWjwNPUcwg ksI/zoPQBiqNR3eOGTmP+//Hq4TtPu+gvkYBY3BgZ+JP X-Google-Smtp-Source: ABdhPJyfCOuyvCquWwTuRlZaDHYdpzU/ES/o7MjFuQsdo2Il+B6YfhY2PEmfyLkwP9VUG8L/OZV8rfeBUsanOlKjALU= X-Received: by 2002:a17:906:bb0e:: with SMTP id jz14mr10965110ejb.525.1599766799852; Thu, 10 Sep 2020 12:39:59 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 10 Sep 2020 12:39:59 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Thu, 10 Sep 2020 12:39:59 -0700 Message-ID: Subject: Unable to open remote pdf directly with eww To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=209.85.218.46; envelope-from=stefankangas@gmail.com; helo=mail-ej1-f46.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/10 15:40:00 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.2 (+) 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: Steps to reproduce: 0. emacs -Q 1. M-x eww RET https://www.gnu.org/software/emacs/manual/pdf/emacs.pdf RET Result: My external pdf reader (titled "Document Viewer", not sure what it is, maybe some Gnome thing) opens with the message "Unable to open file '/home/skangas/wip/emacs/-'". It seems like it tried [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Steps to reproduce: 0. emacs -Q 1. M-x eww RET https://www.gnu.org/software/emacs/manual/pdf/emacs.pdf RET Result: My external pdf reader (titled "Document Viewer", not sure what it is, maybe some Gnome thing) opens with the message "Unable to open file '/home/skangas/wip/emacs/-'". It seems like it tried to open the file "-" in the directory from which I run Emacs. It would be useful if this would open the pdf doc-view-mode, or if the pdf was downloaded to /tmp and opened using "Document Viewer" from there or something. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 10 15:55:55 2020 Received: (at 43318) by debbugs.gnu.org; 10 Sep 2020 19:55:55 +0000 Received: from localhost ([127.0.0.1]:41316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGSfi-0006lo-RR for submit@debbugs.gnu.org; Thu, 10 Sep 2020 15:55:55 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGSfg-0006lZ-U7 for 43318@debbugs.gnu.org; Thu, 10 Sep 2020 15:55:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=es3z9UyQzfjP/nfvceRsf8+5lW+HNa7D5jfeKa+El18=; b=BFtcDUgekeSUoxUbOa09otI5nd /0nCayg530qn7DhohxS3EN8mHZZYwYn4Q9WBPHD0EJ0/tUkCFoM3MHNfIRuZHtAe+pmVAmAhMCiev 99sYWShT3DsvkCgnjiSn+jVYozoI7yK0e2FRtnCwVPX7wWoru6/7IAeraVzU8r3dGGsA=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGSfX-0001dq-5B; Thu, 10 Sep 2020 21:55:46 +0200 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#43318: Unable to open remote pdf directly with eww References: Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAMFBMVEUsJSAVEQ9fRDxc UUwCAgJlMS2pgXuZYl2BPjmNUUyDQjykcmyZa2askIzNtbL///8RuZ4CAAAAAWJLR0QPGLoA2QAA AAd0SU1FB+QJChM1DeFM0gMAAAE8SURBVDjLY2BkYFBSNlI2BgIjJSMlBQYQYBQUZBCEAAEwTxBE uIABgwiEhvIdBeESEMoFKg+SQpVAAEcRHBIujih2YAAyJFwGVEIQlwQO9zIIwiUEQgPgbEckO5zS O2dNFUEyCmaHZZlqZGQhTFyEQQSqyHnr9JmTQmfCtACjFsriDp2xvHJqpAqGhLnSzNm7S88exJA4 Glq9u2ZPzQR0CcebM/dM1t0dOhUuAbXN8Wrk7g3qp2eWoku43Izctn3P9lkLMCROX6/es/3YzgkY EnyV7bu3X7sZgiHhu3Vm9Z2ZlSwYEo5vI3LO7JwM44ogAlH25qrO24ZIwQ5n2t69vRkp2BHx4SLA 6IIkgT0GBXGlREEcqQSYFXBI4EpXgrgkRFwcycgGItSTgLsPhw54WDpiGIWmiQFHvnEBAE+MOsmV Fa9aAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA5LTEwVDE5OjUzOjEzKzAwOjAwKMHWsAAAACV0 RVh0ZGF0ZTptb2RpZnkAMjAyMC0wOS0xMFQxOTo1MzoxMyswMDowMFmcbgwAAAAASUVORK5CYII= X-Now-Playing: Dev Null's _E-Z Boys Revenge: 230 BPM Eternal_: "Rave 3" Date: Thu, 10 Sep 2020 21:55:41 +0200 In-Reply-To: (Stefan Kangas's message of "Thu, 10 Sep 2020 12:39:59 -0700") Message-ID: <87d02t5ruq.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Stefan Kangas writes: > 0. emacs -Q > 1. M-x eww RET https://www.gnu.org/software/emacs/manual/pdf/emacs.pdf RET > > Result: My external pdf reader (titled "Document Viewer", not sure what > it is, maybe some Gnome thing) [...] 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: 0.0 (/) X-Debbugs-Envelope-To: 43318 Cc: 43318@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Kangas writes: > 0. emacs -Q > 1. M-x eww RET https://www.gnu.org/software/emacs/manual/pdf/emacs.pdf RET > > Result: My external pdf reader (titled "Document Viewer", not sure what > it is, maybe some Gnome thing) opens with the message "Unable to open > file '/home/skangas/wip/emacs/-'". It seems like it tried to open the > file "-" in the directory from which I run Emacs. > > It would be useful if this would open the pdf doc-view-mode, or if the > pdf was downloaded to /tmp and opened using "Document Viewer" from there > or something. When I open that link in eww, I get a *eww pdf* buffer which displays the file (after a while; that's a big pdf) using DocView mode. So perhaps this fails if whatever tools DocView mode uses isn't installed? It looks like it calls... uhm... gs? In that case, it should try using a different pdf viewer, but I'm not quite sure how that's handled. mailcap should probably be consulted? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 10 16:51:18 2020 Received: (at 43318) by debbugs.gnu.org; 10 Sep 2020 20:51:18 +0000 Received: from localhost ([127.0.0.1]:41378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGTXK-0001nO-80 for submit@debbugs.gnu.org; Thu, 10 Sep 2020 16:51:18 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGTXI-0001nA-8b for 43318@debbugs.gnu.org; Thu, 10 Sep 2020 16:51:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=ovlgz+uG7wy4NumX1S0MYl/hhtiHQLb2jaWg7BEyuVU=; b=gBpyu2ubEWmugHoF0nrIS79GuE YredY/n7gzSBjzz893dwswM7M7kR/U3YMFVxli5TpHH+V4HNovLF+GMprft2KzfRgMQtX5dKd10yk rp2ix8GPNI95qAHs1ubC3uVuTb9nRbFgkZvjA3dMqSAWToR7qqozxlcJVxf36aeb0luU=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGTX8-000260-HW; Thu, 10 Sep 2020 22:51:09 +0200 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#43318: Unable to open remote pdf directly with eww References: <87d02t5ruq.fsf@gnus.org> X-Now-Playing: Thomas Mery's _Les couleurs, les ombres_: "En silence" Date: Thu, 10 Sep 2020 22:51:04 +0200 In-Reply-To: <87d02t5ruq.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 10 Sep 2020 21:55:41 +0200") Message-ID: <878sdh5paf.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Lars Ingebrigtsen writes: > In that case, it should try using a different pdf viewer, but I'm not > quite sure how that's handled. mailcap should probably be consulted? Oh, that is what it's doing: 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: 0.0 (/) X-Debbugs-Envelope-To: 43318 Cc: 43318@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > In that case, it should try using a different pdf viewer, but I'm not > quite sure how that's handled. mailcap should probably be consulted? Oh, that is what it's doing: (defun mailcap-view-mime (type) "View the data in the current buffer that has MIME type TYPE. `mailcap--computed-mime-data' determines the method to use." (let ((method (mailcap-mime-info type))) (if (stringp method) (shell-command-on-region (point-min) (point-max) ;; Use stdin as the "%s". (format method "-") (current-buffer) t) (funcall method)))) eww puts the pdf data in a buffer and calls (for instance) "xpdf -" on the data. But this'll fail for most pdf viewers -- most of them don't read from stdin, so this seems like a pretty gross hack... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 10 17:26:05 2020 Received: (at 43318) by debbugs.gnu.org; 10 Sep 2020 21:26:05 +0000 Received: from localhost ([127.0.0.1]:41477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGU4y-00070V-WD for submit@debbugs.gnu.org; Thu, 10 Sep 2020 17:26:05 -0400 Received: from mail-ej1-f53.google.com ([209.85.218.53]:43343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGU4w-000701-A7 for 43318@debbugs.gnu.org; Thu, 10 Sep 2020 17:26:03 -0400 Received: by mail-ej1-f53.google.com with SMTP id o8so10841596ejb.10 for <43318@debbugs.gnu.org>; Thu, 10 Sep 2020 14:26:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=3qVaFs5m6eHf2p1BBYV463DqIxNtzoAMb+Sm6C+RVGg=; b=t3Srr5/A1Yc05ieRfJd0zrNRY0BKX4hQPppksBOjx+A5Gp3Y1BF5K7Fn4tVrRyfXqy 8AEOXOtObOQbP5sTu2LG2PsAyw6rYDCHzjs0mSNKyQaMOY7cBUjn3z1X0OmSIr5XR500 yWfZmw/NQqr4ESJUJxVs3/p9YUxLJ///eOP2j/UIcR9ew8ckNqvCQ4oUhlMJ165ApO3P 6XTi7WBiplvSqRrqWY2PVUCBikapxHqqY9N+A4xrqgqTNVKrq9dM069gcxzmjl8OXjmN YikCfIpbhgMw8NOH8qrjYRSXjytn/obIDwHZvzcqIugQuLFKQmLjbQMmbfGwe4eQKlXD VaZA== X-Gm-Message-State: AOAM532GhlciKpVJE9EwdtgSjyuIQGsZR0ltK6rGMRKGEc+LIdFdxdNd xP7KeoLlXuPH77UvNE6rPY9qGngvI5DnqNVZJWU= X-Google-Smtp-Source: ABdhPJzjiPe+G88hd2x1Q4hPOYRFkPaAxB18HTpe+605tkJA9XNA2h60bGA1Pjj5dL8WOUz5BhDsrbu5UR3F1MXe20c= X-Received: by 2002:a17:906:bb0e:: with SMTP id jz14mr11400400ejb.525.1599773156543; Thu, 10 Sep 2020 14:25:56 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 10 Sep 2020 14:25:55 -0700 From: Stefan Kangas In-Reply-To: <878sdh5paf.fsf@gnus.org> References: <87d02t5ruq.fsf@gnus.org> <878sdh5paf.fsf@gnus.org> MIME-Version: 1.0 Date: Thu, 10 Sep 2020 14:25:55 -0700 Message-ID: Subject: Re: bug#43318: Unable to open remote pdf directly with eww To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 43318 Cc: 43318@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Lars Ingebrigtsen writes: > Lars Ingebrigtsen writes: > >> In that case, it should try using a different pdf viewer, but I'm not >> quite sure how that's handled. mailcap should probably be consulted? > > Oh, that is what it's doing: > > (defun mailcap-view-mime (type) > "View the data in the current buffer that has MIME type TYPE. > `mailcap--computed-mime-data' determines the method to use." > (let ((method (mailcap-mime-info type))) > (if (stringp method) > (shell-command-on-region (point-min) (point-max) > ;; Use stdin as the "%s". > (format method "-") > (current-buffer) > t) > (funcall method)))) > > eww puts the pdf data in a buffer and calls (for instance) "xpdf -" on > the data. > > But this'll fail for most pdf viewers -- most of them don't read from > stdin, so this seems like a pretty gross hack... Sounds like a good analysis. In my case I'm using evince, because at some point I put this in my "~/.mailcap": application/pdf; evince %s And I guess evince doesn't read from stdin, as you say... From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 11 08:08:00 2020 Received: (at 43318) by debbugs.gnu.org; 11 Sep 2020 12:08:00 +0000 Received: from localhost ([127.0.0.1]:42786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGhqS-0003b6-MM for submit@debbugs.gnu.org; Fri, 11 Sep 2020 08:08:00 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGhqR-0003ar-VQ for 43318@debbugs.gnu.org; Fri, 11 Sep 2020 08:08:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=6846NMrX5AwANSJcoVp6uTvSmoZm29YVI1P5+gVXp8E=; b=Cp+BK3Ay+ffSV8N2G+iZp+VIJc FDvZ0t8NMbCMz4tvfj5IGAaAczwxiAov/5oLptMxJIXiQ1gQWWvo0iFz4TO1kGfRsBpEPcZrrH1uL Cw8P6QkjKeY5XQPCaMG0T/LJ1LtoiR95DgM32pX7ppEmRpCdU7xwiNmTk7HF+hEWaFL8=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGhqF-0001n7-4X; Fri, 11 Sep 2020 14:07:52 +0200 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#43318: Unable to open remote pdf directly with eww References: <87d02t5ruq.fsf@gnus.org> <878sdh5paf.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAMFBMVEUaGBomIyQ2MTId HCFaUUwhHiAhHB4ODA42Ih5kSjqRcVeAWTtPMSypjW60nIX///8gj8uoAAAAAWJLR0QPGLoA2QAA AAd0SU1FB+QJCwsqGgVMzPcAAAGKSURBVDjLdZA/T8JAGMbfivwzDFbTwcHBi6MmJP0CSjo5lZDr XIZ2cqiDsjgwkejooDjwAYhonI0Di8QB3KkeH4BEP4PXFo732uMZru3zu+ee9woaUehA3wXtkFhp l8sGzbKsU/5OdmJXj2V4wMFiDxalEYBm2ne8Kge1TMBzAaKEVasjt27YTuTDBa9IQLJS348DcEls TzeoQfksfHuyO9IV0Q2HUqpzxn0XAVKAgsdtp6kbtvAhIITvyvuO4xV0cBFIHjzl3jyNPyGrgv94 9N5RAG1jUBlA5iheUz45/wHVUXvk+hW2FeB2PnlQJeArDIdK8ML6bWXHbP48El/VFcjP2PfH8iOH gMb+uq4K5Fk47qgAPLOBr+qoMDbF5eKXlHqz33tVAo7ZtK3sKL91xXvOxFdE05oSOFtNazYw6PVF RE5MQlFuonH5WAhIiX02VJdvhSMRaMigLRIS2EQdEijdrbkHmlAuR2qsA2sTZi5ai61YQZACCz+W dFQLC4rBEhRbaS3OzIJY/3sEjAf8ow9GAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA5LTExVDEx OjQyOjI2KzAwOjAwLlEI9gAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wOS0xMVQxMTo0MjoyNisw MDowMF8MsEoAAAAASUVORK5CYII= X-Now-Playing: Melanie de Biasio's _No Deal_: "With All My Love" Date: Fri, 11 Sep 2020 14:07:45 +0200 In-Reply-To: (Stefan Kangas's message of "Thu, 10 Sep 2020 14:25:55 -0700") Message-ID: <87imckzfce.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Stefan Kangas writes: > In my case I'm using evince, because at some point I put this in my > "~/.mailcap": > > application/pdf; evince %s > > And I guess evince doesn't read from stdin, as you say... 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: 0.0 (/) X-Debbugs-Envelope-To: 43318 Cc: 43318@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Kangas writes: > In my case I'm using evince, because at some point I put this in my > "~/.mailcap": > > application/pdf; evince %s > > And I guess evince doesn't read from stdin, as you say... I've now fixed this on the trunk to start the external viewer the traditional way. It starts it synchronously, though, which isn't ideal, but having the deletion triggered from a process filter, for instance, will leave the temporary file there upon crashes... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 11 08:08:13 2020 Received: (at control) by debbugs.gnu.org; 11 Sep 2020 12:08:13 +0000 Received: from localhost ([127.0.0.1]:42792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGhqe-0003bw-U7 for submit@debbugs.gnu.org; Fri, 11 Sep 2020 08:08:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGhqd-0003bh-BF for control@debbugs.gnu.org; Fri, 11 Sep 2020 08:08:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FCk6e1ooumZaF3ePxNHwe1QfFg3Pj2BbBkN1r7htcEY=; b=Pc0X4/T0VqHCMZXw4FM5uHVCbj O3pnwSIJt6KDyNmUEeDV3CxaRqAwawueK4pnQ5j5ZPF8bk94azgbIcJok4g/jbiY+nF8u2m4lrino TTBGk7eFNljV1nMWuG0VnPYHKiZSN9W8gBb2vEL/6d/fDAyFF9WCGQvYK2TrafbaE0DQ=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGhqV-0001nK-KH for control@debbugs.gnu.org; Fri, 11 Sep 2020 14:08:05 +0200 Date: Fri, 11 Sep 2020 14:08:02 +0200 Message-Id: <87h7s4zfbx.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #43318 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: tags 43318 fixed close 43318 28.1 quit 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: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 43318 fixed close 43318 28.1 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 02 10:32:01 2020 Received: (at 43318) by debbugs.gnu.org; 2 Oct 2020 14:32:01 +0000 Received: from localhost ([127.0.0.1]:42238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOM6L-00033j-30 for submit@debbugs.gnu.org; Fri, 02 Oct 2020 10:32:01 -0400 Received: from mail-ej1-f54.google.com ([209.85.218.54]:36112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOM6J-00033W-0U for 43318@debbugs.gnu.org; Fri, 02 Oct 2020 10:32:00 -0400 Received: by mail-ej1-f54.google.com with SMTP id qp15so2297054ejb.3 for <43318@debbugs.gnu.org>; Fri, 02 Oct 2020 07:31:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=76PknyO6lH+isfq2F57Y3tAps7kERvjSrxFmkFtaac8=; b=eZbGCNLKFJmsiId/ukF05pF/RNm/Dbzwe0qLPdpeBNPW/R45TTN0TV9hSBmhU9sT6O dVbYehgvaLfXDzGZ17bfRCR20upPbqxB0bKMRlPQswQu5P+PY5O/fqEH9KOt7lDWbgcD j+0A3OT7MNvSTo55JwIZ4UCX/eZvITBBtGwmImfYE+ev2jDH3g5+RkyGznMIDp3bl9Br OA7o+Y9J1WENnPIfcN1HsDB+/G0iXiZdF8LoUzsHPDjGSX+yMnYt1lvmy9x+CZmN8qR9 pEr40C/+jnC50btrkDHjTi7CQQp84wMQznM+8X1G+tu0yfVQSzLpFCQlNnREdalZFTTc bxiQ== X-Gm-Message-State: AOAM530DmgKCVd7PLebKwx+iFnlHlUgjtiIQgJZjXNUzLxxXTzujEdRt Xo+ZNaepZn8m+Jp8+9OugRPYGdsGY3EikeYYG5I= X-Google-Smtp-Source: ABdhPJxXGCgukErDvRvJR6cRPQxc3H4dYZS//x9GlH/5Aap5+GYd/0FgOUNQv+9c2rZr1uGYG1rYR9D1fMlgSntt/XQ= X-Received: by 2002:a17:906:fb8f:: with SMTP id lr15mr2508085ejb.25.1601649113138; Fri, 02 Oct 2020 07:31:53 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 2 Oct 2020 14:31:52 +0000 From: Stefan Kangas In-Reply-To: <87imckzfce.fsf@gnus.org> References: <87d02t5ruq.fsf@gnus.org> <878sdh5paf.fsf@gnus.org> <87imckzfce.fsf@gnus.org> MIME-Version: 1.0 Date: Fri, 2 Oct 2020 14:31:52 +0000 Message-ID: Subject: Re: bug#43318: Unable to open remote pdf directly with eww To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 43318 Cc: 43318@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Lars Ingebrigtsen writes: > Stefan Kangas writes: > >> In my case I'm using evince, because at some point I put this in my >> "~/.mailcap": >> >> application/pdf; evince %s >> >> And I guess evince doesn't read from stdin, as you say... > > I've now fixed this on the trunk to start the external viewer the > traditional way. It starts it synchronously, though, which isn't ideal, > but having the deletion triggered from a process filter, for instance, > will leave the temporary file there upon crashes... I've now tested it and I can confirm that your fix works here. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 02 10:32:54 2020 Received: (at 43318) by debbugs.gnu.org; 2 Oct 2020 14:32:54 +0000 Received: from localhost ([127.0.0.1]:42242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOM7C-00035P-EI for submit@debbugs.gnu.org; Fri, 02 Oct 2020 10:32:54 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOM7A-00035D-N0 for 43318@debbugs.gnu.org; Fri, 02 Oct 2020 10:32:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=rIGQtwh1kdEkZ87vAWo7V20BRqac7c19Vdhw71Ai6D8=; b=Zn7vZJRMPRcU6m/iA/5r+dWct/ /OWKGgo2JHzF7UGsT7ek0bdoRwwXqsCTgxNwAtcnVpi9JhEcLAEVyeqnvZ4eoq4pv6XQR+C9fflXP Gr8dmDhhHkb+6F7LUYLggs+P10HlIcRCtcCiXBhaXBnVhRVTfjMTbwzhGiDCdHIkFEsM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kOM71-0004Qu-WA; Fri, 02 Oct 2020 16:32:46 +0200 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#43318: Unable to open remote pdf directly with eww References: <87d02t5ruq.fsf@gnus.org> <878sdh5paf.fsf@gnus.org> <87imckzfce.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUgCA9THyGdZ1Zq S0jTvbf///8dkPdbAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+QKAg4GDYPN1S8AAAG2SURBVDjLdZRr FuMgCIXhZAMSN1AxC/DRDYx1/2sawGhq54w/mlO+IHC9BuBrnc4BOCDQ5/c6ggUEUN0J2S8qWTE/ w0C1pLziWGRv+4ucgcY7RORZAFYtgefnTkbytfQrCldAhcMA5C/m3jtncijFSsgwuitX19U4G+AX gFUj7mO1bDU4zUavG3SuWv79L/ggJektOvR5z3DS11EJ8MANtExLlB1EP2WRJz6g8wS1ahpvAJfM WL5ABhTRKBs5x1589aZAkshqAF7WUYlX88nEtgxJPSUuUnbWDAGi99321SOdfLV2io4royZ4S1kX ubdC4NMRLANLENAKNykuolA4E6ks5BVIzDrjUGrOuhXqSa7ZQ3aivFaRc+npAUmPHW0OLM0t8IHh BxuwRFjgpVONFBEkPCANCW1qQJFnljCbLHPCfwA8oNUfMGsoSFsGTzPADo55gBmO/ZIR1QnSXoS8 uTqMAb+KkJ1ufIkP0+HrfWtF+bfuFEWSI3HJZiu14mzKFEw6yugBHw1Xn+MxHffnF3i+L9sPQLmo g9in5PGuxNd53IOoe0is1h8wXjanlucavGwDp+AvqG13L9fgKPcAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjAtMTAtMDJUMTQ6MDY6MTMrMDA6MDBDsZlzAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTEw LTAyVDE0OjA2OjEzKzAwOjAwMuwhzwAAAABJRU5ErkJggg== X-Now-Playing: Jane Siberry's _When I Was A Boy_: "Sweet Incarnadine" Date: Fri, 02 Oct 2020 16:32:42 +0200 In-Reply-To: (Stefan Kangas's message of "Fri, 2 Oct 2020 14:31:52 +0000") Message-ID: <877ds8wved.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Stefan Kangas writes: > I've now tested it and I can confirm that your fix works here. Thanks! 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: 0.0 (/) X-Debbugs-Envelope-To: 43318 Cc: 43318@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Kangas writes: > I've now tested it and I can confirm that your fix works here. Thanks! -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Aug 16 11:12:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 31 Oct 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator