From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31737: 26.1.50; Gnus does not use mailutils movemail Date: Fri, 08 Jun 2018 22:20:50 +0300 Message-ID: <83muw5t78t.fsf@gnu.org> References: <87sh5zk9br.fsf@gmail.com> <8736xzvgrg.fsf@yandex.com> <87o9gnk7vb.fsf@gmail.com> <831sdhuwc1.fsf@gnu.org> <87tvqdjmid.fsf@gmail.com> <83sh5xtaa5.fsf@gnu.org> <87602tjesm.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1528485684 27820 195.159.176.226 (8 Jun 2018 19:21:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2018 19:21:24 +0000 (UTC) Cc: m43cap@yandex.com, 31737@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 08 21:21:19 2018 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 1fRMwp-00079e-F0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jun 2018 21:21:19 +0200 Original-Received: from localhost ([::1]:37789 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRMyw-0000Mw-Ir for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jun 2018 15:23:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRMwb-00073R-Hj for bug-gnu-emacs@gnu.org; Fri, 08 Jun 2018 15:21:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRMwZ-0004u5-1P for bug-gnu-emacs@gnu.org; Fri, 08 Jun 2018 15:21:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60347) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRMwY-0004tz-Tr for bug-gnu-emacs@gnu.org; Fri, 08 Jun 2018 15:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fRMwY-0000MV-Lz for bug-gnu-emacs@gnu.org; Fri, 08 Jun 2018 15:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Jun 2018 19:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31737 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31737-submit@debbugs.gnu.org id=B31737.15284856621372 (code B ref 31737); Fri, 08 Jun 2018 19:21:02 +0000 Original-Received: (at 31737) by debbugs.gnu.org; 8 Jun 2018 19:21:02 +0000 Original-Received: from localhost ([127.0.0.1]:40010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRMwX-0000M0-Ki for submit@debbugs.gnu.org; Fri, 08 Jun 2018 15:21:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRMwV-0000Le-UU for 31737@debbugs.gnu.org; Fri, 08 Jun 2018 15:21:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRMwL-0004sN-Qe for 31737@debbugs.gnu.org; Fri, 08 Jun 2018 15:20:54 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRMwL-0004sG-Mn; Fri, 08 Jun 2018 15:20:49 -0400 Original-Received: from [176.228.60.248] (port=1984 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fRMwL-0002Vd-0Z; Fri, 08 Jun 2018 15:20:49 -0400 In-reply-to: <87602tjesm.fsf@gmail.com> (message from Robert Pluim on Fri, 08 Jun 2018 20:47:53 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:147200 Archived-At: > From: Robert Pluim > Cc: m43cap@yandex.com, 31737@debbugs.gnu.org > Date: Fri, 08 Jun 2018 20:47:53 +0200 > > > But then the fix should be where mail-source-movemail-progam is used, > > not in its default value, right? Gnus should use executable-find to > > look for the program named by mail-source-movemail-progam. > > > > It blindly calls call-process at the moment, rather than using > executable-find, but thatʼs a separate issue. But call-process looks up the program along exec-path, and exec-path puts exec-directory at its end. Right? So if GNU Mailutils are installed and on PATH, Gnus should find its movemail first, right? Or am I missing something? IOW, if Gnus calls call-process, then it already uses executable-find, albeit internally. > >> The simplest fix is below, but it will cause people who currently have > >> Mailutils movemail installed, but an emacs built to not use it, to > >> start using it, so it makes me uncomfortable. Perhaps gnus should > >> check in 'exec-directory' first if mail-source-movemail-program is > >> nil, and then fall back to 'executable-find'? > > > > I see no need for any special handling by Emacs here: the user could > > customize the value to point to "our" movemail as an absolute file > > name, in which case executable-find will pick it up. We just need to > > change Gnus to use executable-find where the variable is used. > > In emacs-26 there is no "our" movemail to point at when Mailutils were > detected, and asking the user to customize a variable to get back to > where they were before feels wrong as well. We are mis-communicating, I think. The situation you described in which you feel uncomfortable was that both Mailutils and "our" movemail are installed. If that's not the situation, then what makes you uncomfortable about a case where only one movemail is available and Gnus uses it?