From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Vasilij Schneidermann Newsgroups: gmane.emacs.bugs Subject: bug#25778: 25.1; [PATCH] Drastically simplify xdg-open check Date: Sun, 19 Feb 2017 14:06:50 +0100 Message-ID: <20170219130650.GA647@odonien.localdomain> References: <83shncr7bh.fsf@gnu.org> <20170217185514.GA599@odonien.localdomain> <20170218085529.GB607@odonien.localdomain> <4ak28nyqa5.fsf@fencepost.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: blaine.gmane.org 1487509634 18380 195.159.176.226 (19 Feb 2017 13:07:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2017 13:07:14 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: 25778@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 19 14:07:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfRCm-0004N1-Rh for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Feb 2017 14:07:08 +0100 Original-Received: from localhost ([::1]:33730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfRCs-0005JU-FC for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Feb 2017 08:07:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfRCj-0005Hf-An for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 08:07:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfRCg-0005Ae-6K for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 08:07:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47458) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfRCg-0005AX-2e for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 08:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cfRCf-0000H5-TZ for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 08:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vasilij Schneidermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Feb 2017 13:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25778 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 25778-submit@debbugs.gnu.org id=B25778.14875096201047 (code B ref 25778); Sun, 19 Feb 2017 13:07:01 +0000 Original-Received: (at 25778) by debbugs.gnu.org; 19 Feb 2017 13:07:00 +0000 Original-Received: from localhost ([127.0.0.1]:45657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfRCd-0000Go-Ts for submit@debbugs.gnu.org; Sun, 19 Feb 2017 08:07:00 -0500 Original-Received: from mail-wr0-f194.google.com ([209.85.128.194]:34177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfRCb-0000GZ-Ds for 25778@debbugs.gnu.org; Sun, 19 Feb 2017 08:06:57 -0500 Original-Received: by mail-wr0-f194.google.com with SMTP id 89so2768182wrr.1 for <25778@debbugs.gnu.org>; Sun, 19 Feb 2017 05:06:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=r+wa6iUnx+0hiWQZJVdhxynsrwUUmwb+4QQbRzI15SM=; b=nI+4Sa5TA0Dm6WxQhmWKMEJwYBt48t9rXSlO3onjruTeLfz+ILAMfwyveCfNQndzhm Nbikulo3JGhMpuyewExsW+riOg80pC+Ux5HHsI2l1jZHBAy1+Ts9EmbbRBzLWDw/YNcc M2YSMaFOAwUy1MmzvPUEZpcsAUiR1AWXAXfShIKa2aK0vmnL7+5rvZ+SYs2095p8r7+D bUdhRWuMK0cVrmfBy6YGnkWbD9ODhspf5kU9p+5rTTMWK47OgfoessC74sZbjIMRzZY2 OYky2uusbvLYXgHGZkdYHJRKXFQrh/QpwNjCc5gOHi1MBPdWv4qBq0g7pqx6iBJcmTKp f1gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=r+wa6iUnx+0hiWQZJVdhxynsrwUUmwb+4QQbRzI15SM=; b=iEsAwToC/RTUSUFsXiHqo1uKJIC3txgsW2tdz8TC+hNzlWkindk1MCmAMu+D80834F mfQXDq3lz6WIxvrXBJKsnojrYrdvI5IFAzg5+fn+HFE8yBH9gB0oAw+0SU3JbWMj+Hzs 6sCYOVcL7M1S7zLEcrKftQ1h6j0O2jqNuX35nYruaVxAMkZFNlClWkS02QQAlFIimaCY 6yMexKxFK0bLtNtraw/cJg3EHs2siFlbIQjRjWi57qjhZp1QvpTO0fEFl8RAnhaQP7zD SqcvGsRpMNrDGjyaAXk0zGp/+LJNkiOA0EDVKgrJqmcvQK/hnkMBrRuKJPrghkS1unv9 7xoQ== X-Gm-Message-State: AMke39lw+NNMvwEfhk9F7i50v+nGiq9gIa/cUnTdNiRjyhTMy1wZj6LEXrp26msAD5gZZQ== X-Received: by 10.223.130.204 with SMTP id 70mr12049289wrc.128.1487509611671; Sun, 19 Feb 2017 05:06:51 -0800 (PST) Original-Received: from localhost (dslb-092-073-091-084.092.073.pools.vodafone-ip.de. [92.73.91.84]) by smtp.gmail.com with ESMTPSA id v196sm9421168wmv.5.2017.02.19.05.06.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 19 Feb 2017 05:06:51 -0800 (PST) Content-Disposition: inline In-Reply-To: <4ak28nyqa5.fsf@fencepost.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129533 Archived-At: > As you can see from that above report, they don't show any signs of > fixing it. Well, fine. I'm sorry for not noticing a five year old piece of code that got mistakenly removed without anyone complaining. What I don't understand is why my patch (removing IMHO unnecessary DE detection) is related to using nohup to work around a problem with xdg-open and gnome-open/gvfs-open. If you consider fixing the nohup problem a prerequisite before this patch can be applied, OK, do that then, I can wait until that's done and recommence discussion on the other issue. That aside, I cannot reproduce any weird behavior, be it with or without nohup and gvfs-open. Both `(call-process "gvfs-open" nil 0 nil "foo.pdf")` and `(call-process "nohup" nil 0 nil "gvfs-open" "foo.pdf")` spawn my PDF reader successfully and don't do anything weird after closing it. Same if I pass "http://ix.de/" as last argument. I therefore consider the nohup issue a case of cargo-culting and would like to drop its discussion entirely as it does not help with the current issue.