all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Eli Zaretskii <eliz@gnu.org>, Joseph Mingrone <jrm@ftfl.ca>
Cc: emacs-devel@gnu.org
Subject: Re: movemail location
Date: Thu, 14 Jun 2018 15:34:42 -0700	[thread overview]
Message-ID: <1c98ada4-c43f-4cba-8576-7a4b00996004@cs.ucla.edu> (raw)
In-Reply-To: <83a7s2sn4s.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

On 06/10/2018 07:59 AM, Eli Zaretskii wrote:
> Did I succeed to explain myself this time?


Yes, and the suggestion seems good to me. OK to install the attached 
patch into the emacs-26 branch? The idea is to merge it into master 
after that.


[-- Attachment #2: 0001-Improve-movemail-default.patch --]
[-- Type: text/x-patch, Size: 1085 bytes --]

From 2ddd7e5b56ee229ffeb820bddd76918e8bdf5720 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Thu, 14 Jun 2018 15:32:49 -0700
Subject: [PATCH] Improve movemail default

Problem reported for FreeBSD by Joseph Mingrone in:
https://lists.gnu.org/r/emacs-devel/2018-06/msg00262.html
Also see Bug#31737.
* lisp/gnus/mail-source.el (mail-source-movemail):
Take default movemail from $PATH, instead of insisting that
the default be in exec-directory.
---
 lisp/gnus/mail-source.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/gnus/mail-source.el b/lisp/gnus/mail-source.el
index d2850f4cee..54130132af 100644
--- a/lisp/gnus/mail-source.el
+++ b/lisp/gnus/mail-source.el
@@ -686,8 +686,7 @@ mail-source-movemail
 		       'call-process
 		       (append
 			(list
-			 (or mail-source-movemail-program
-			     (expand-file-name "movemail" exec-directory))
+			 (or mail-source-movemail-program "movemail")
 			 nil errors nil from to)))))
 	      (when (file-exists-p to)
 		(set-file-modes to mail-source-default-file-modes))
-- 
2.17.1


      parent reply	other threads:[~2018-06-14 22:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-09 17:02 movemail location Joseph Mingrone
2018-06-09 17:23 ` Paul Eggert
2018-06-09 17:30 ` Eli Zaretskii
2018-06-09 19:03   ` Joseph Mingrone
2018-06-09 19:24     ` Eli Zaretskii
2018-06-09 19:39       ` Joseph Mingrone
2018-06-10  2:31         ` Eli Zaretskii
2018-06-10  2:45           ` Joseph Mingrone
2018-06-10 14:59             ` Eli Zaretskii
2018-06-10 15:20               ` Joseph Mingrone
2018-06-11  8:31                 ` Robert Pluim
2018-06-14 22:34               ` Paul Eggert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1c98ada4-c43f-4cba-8576-7a4b00996004@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jrm@ftfl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.