unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tim Hesterberg <timh@insightful.com>
To: Glenn Morris <rgm@gnu.org>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: rmail pop error
Date: Tue, 19 Feb 2008 18:51:58 -0800	[thread overview]
Message-ID: <u7ih0s5kh.fsf@insightful.com> (raw)
In-Reply-To: <nmfxvotlqk.fsf@fencepost.gnu.org> (message from Glenn Morris on Tue, 19 Feb 2008 21:17:23 -0500)

The one-line fix works.
The patch works!
Thanks!

Tim

Glenn Morris wrote:
>Tim Hesterberg wrote:
>
>> (rmail-autodetect)
>> returns nil in both 22.1.90 and 22.1.1  (after M-x rmail)
>[...]
>> This does exist, and is executable
>> d:/emacs/emacs-22.1.90/bin/movemail.exe
>
>Thanks; I think I see what's going on now. Does it work in 22.1.90 if
>you add:
>
>(setq rmail-movemail-program "d:/emacs/emacs-22.1.90/bin/movemail.exe")
>
>to your setup?
>
>Without doing that, does this patch fix it? (Apply to rmail.el in
>22.1.90, recompile the file, restart Emacs.)
>
>
>*** rmail.el	31 Jan 2008 10:39:19 -0000	1.433.2.9
>--- rmail.el	20 Feb 2008 02:11:19 -0000
>***************
>*** 214,220 ****
>        (dolist (dir (append rmail-movemail-search-path exec-path
>  			   (list exec-directory)))
>  	(when (and dir (file-accessible-directory-p dir))
>! 	  (let ((progname (expand-file-name "movemail" dir)))
>  	    (when (and (not (file-directory-p progname))
>  		       (file-executable-p progname))
>  	      (let ((x (rmail-probe progname)))
>--- 214,227 ----
>        (dolist (dir (append rmail-movemail-search-path exec-path
>  			   (list exec-directory)))
>  	(when (and dir (file-accessible-directory-p dir))
>! 	  ;; Previously this used to work on Windows by luck (?),
>! 	  ;; because rmail-insert-inbox-text fell back to
>! 	  ;; (expand-file-name "movemail" exec-directory).
>! 	  ;; http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-02/msg00087.html
>! 	  (let ((progname (expand-file-name
>! 			   (concat "movemail"
>! 				   (if (memq system-type '(ms-dos windows-nt))
>! 				       ".exe")) dir)))
>  	    (when (and (not (file-directory-p progname))
>  		       (file-executable-p progname))
>  	      (let ((x (rmail-probe progname)))




  reply	other threads:[~2008-02-20  2:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-06 17:26 undigestify is fooled by messages containing lines of dashes Tim Hesterberg
2008-02-06 19:22 ` Glenn Morris
2008-02-08 23:39   ` Tim Hesterberg
2008-02-09 19:47     ` Glenn Morris
2008-02-12 20:14       ` Glenn Morris
2008-02-12 23:40         ` Tim Hesterberg
2008-02-13  0:10           ` rmail pop error [was Re: undigestify is fooled by messages containing lines of dashes] Glenn Morris
2008-02-17 23:27             ` rmail pop error Glenn Morris
2008-02-20  1:34               ` Tim Hesterberg
2008-02-20  2:17                 ` Glenn Morris
2008-02-20  2:51                   ` Tim Hesterberg [this message]
2008-02-20  2:57                     ` Glenn Morris
2008-02-20  3:21                       ` Tim Hesterberg

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=u7ih0s5kh.fsf@insightful.com \
    --to=timh@insightful.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=rgm@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).