From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#43318: Unable to open remote pdf directly with eww Date: Fri, 2 Oct 2020 14:31:52 +0000 Message-ID: References: <87d02t5ruq.fsf@gnus.org> <878sdh5paf.fsf@gnus.org> <87imckzfce.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5935"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43318@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 02 16:32:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kOM6W-0001OO-Gf for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Oct 2020 16:32:12 +0200 Original-Received: from localhost ([::1]:58892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOM6V-0007HP-Ey for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Oct 2020 10:32:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOM6M-0007Ey-C6 for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2020 10:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58925) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kOM6M-0003Dv-22 for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2020 10:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kOM6L-00033y-W0 for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2020 10:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Oct 2020 14:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43318 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 43318-submit@debbugs.gnu.org id=B43318.160164912111768 (code B ref 43318); Fri, 02 Oct 2020 14:32:01 +0000 Original-Received: (at 43318) by debbugs.gnu.org; 2 Oct 2020 14:32:01 +0000 Original-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 Original-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 Original-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) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 2 Oct 2020 14:31:52 +0000 In-Reply-To: <87imckzfce.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189653 Archived-At: 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.