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 21:15:14 +0300 Message-ID: <83sh5xtaa5.fsf@gnu.org> References: <87sh5zk9br.fsf@gmail.com> <8736xzvgrg.fsf@yandex.com> <87o9gnk7vb.fsf@gmail.com> <831sdhuwc1.fsf@gnu.org> <87tvqdjmid.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1528482439 1723 195.159.176.226 (8 Jun 2018 18:27:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2018 18:27:19 +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 20:27:15 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 1fRM6U-0000KK-Hi for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jun 2018 20:27:14 +0200 Original-Received: from localhost ([::1]:37577 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRM8b-0001be-Kf for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jun 2018 14:29:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRLvh-00008p-9r for bug-gnu-emacs@gnu.org; Fri, 08 Jun 2018 14:16:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRLve-0004IP-4J for bug-gnu-emacs@gnu.org; Fri, 08 Jun 2018 14:16:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60275) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRLve-0004IH-0T for bug-gnu-emacs@gnu.org; Fri, 08 Jun 2018 14:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fRLvd-0005F7-QS for bug-gnu-emacs@gnu.org; Fri, 08 Jun 2018 14:16:01 -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 18:16:01 +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.152848172420097 (code B ref 31737); Fri, 08 Jun 2018 18:16:01 +0000 Original-Received: (at 31737) by debbugs.gnu.org; 8 Jun 2018 18:15:24 +0000 Original-Received: from localhost ([127.0.0.1]:39939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRLv2-0005E5-6f for submit@debbugs.gnu.org; Fri, 08 Jun 2018 14:15:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRLv1-0005Dt-65 for 31737@debbugs.gnu.org; Fri, 08 Jun 2018 14:15:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRLus-00043f-Ea for 31737@debbugs.gnu.org; Fri, 08 Jun 2018 14:15:17 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRLus-00043b-Bv; Fri, 08 Jun 2018 14:15:14 -0400 Original-Received: from [176.228.60.248] (port=1805 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fRLuq-0002WP-RM; Fri, 08 Jun 2018 14:15:13 -0400 In-reply-to: <87tvqdjmid.fsf@gmail.com> (message from Robert Pluim on Fri, 08 Jun 2018 18:01:14 +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:147192 Archived-At: > From: Robert Pluim > Cc: m43cap@yandex.com, 31737@debbugs.gnu.org > Date: Fri, 08 Jun 2018 18:01:14 +0200 > > > Sorry, I don't think I follow: mail-source-movemail-progam is a > > variable in Gnus, and its default is nil. > > Yes, and in that case Gnus looks for movemail in 'exec-directory' > only, where emacs no longer installs it if it found Mailutils > movemail at configure time. 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. > >> [1] Eli, 26.2? This is an emacs-26 regression > > > > What exactly was the regression, and which change do you propose for > > the branch? > > Gnus can no longer use movemail, even though at configure time it was > found. And why is that an emacs-26 regression? the value of that variable hasn't changed since 2004, AFAICS. > 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.