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 17:34:42 -0800 [thread overview]
Message-ID: <u8x1gwgul.fsf@insightful.com> (raw)
In-Reply-To: <39zltzgo4d.fsf@fencepost.gnu.org> (message from Glenn Morris on Sun, 17 Feb 2008 18:27:30 -0500)
>Glenn Morris wrote:
>
>> Please do M-x toggle-debug-on-error, provoke the error again, and post
>> the backtrace.
>>
>> What are the values of rmail-movemail-program and
>> rmail-movemail-variant-in-use after you get the error?
>>
>> What does (rmail-autodetect) return?
>>
>> Is there a `movemail' executable in exec-directory or exec-path, and
>> do you have permission to run it? What does `movemail --version' output?
>
>It looks to me like rmail-movemail-program is unset for you for some
>reason, but I'm afraid I can't debug this without more information,
>since it works for me.
Sorry, I didn't see the first message when it came out. Answers below.
As before, I start with -no-init-file, then do:
(prog1
(setenv "MAILHOST" "sewinexch00.insightful.com") ; 7/10/06
(setq rmail-primary-inbox-list '("po:timh")
rmail-pop-password-required t)
)
(Then 'M-x rmail' works fine in emacs 22.1.1)
In emacs 22.1.90, I now do 'M-x toggle-debug-on-error' and 'M-x rmail'.
The backtrace is:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
call-process(nil nil #<buffer *temp*> nil "po:timh" "h:/.newmail-timh" "MYPASSWORDomittedHERE")
apply(call-process (nil nil #<buffer *temp*> nil "po:timh" "h:/.newmail-timh" "MYPASSWORDomittedHERE"))
rmail-insert-inbox-text(("po:timh") t)
rmail-get-new-mail()
rmail()
call-interactively(rmail)
execute-extended-command(nil)
call-interactively(execute-extended-command)
The values of the two variables are:
rmail-movemail-program is nil
rmail-movemail-variant-in-use is nil
This is the same as in emacs 22.1.1
They were both unset before calling M-x rmail.
--------------------------------------------------
(rmail-autodetect)
returns nil in both 22.1.90 and 22.1.1 (after M-x rmail)
--------------------------------------------------
exec-directory is a variable defined in `C source code'.
Its value is
"d:/emacs/emacs-22.1.90/bin/"
exec-path is a variable defined in `C source code'.
Its value is
("d:/cygwin/bin" "d:/emacs/gnuserv" "d:/texmf/miktex/bin" "c:/Rtools/perl/bin" "c:/Rtools/MinGW/bin" "C:/Perl/bin" "D:/local/MiKTeX2.6/miktex/bin" "C:/Program Files/Insightful/splus80" "C:/Program Files/Insightful/splus80/cmd" "C:/WINDOWS/system32" "C:/WINDOWS" "C:/WINDOWS/System32/Wbem" "C:/Program Files/Intel/DMIX" "C:/Program Files/Perforce" "C:/Progra~1/R/R-2.6.1/bin" "c:/Program Files/HTML Help Workshop" "." "d:/cygwin/usr/local/bin" "d:/cygwin/bin" "d:/emacs/gnuserv" "d:/emacs/emacs-22.1.90/bin")
This does exist, and is executable
d:/emacs/emacs-22.1.90/bin/movemail.exe
There is no other movemail program in the other directories in exec-path.
--------------------------------------------------
On a lark, I tried:
(setq rmail-movemail-variant-in-use "emacs")
Then M-x rmail gives a different trace:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
call-process(nil nil #<buffer *temp*> nil "po:timh" "h:/.newmail-timh" "MYPASSWORDomittedHERE")
apply(call-process (nil nil #<buffer *temp*> nil "po:timh" "h:/.newmail-timh" "MYPASSWORDomittedHERE"))
rmail-insert-inbox-text(("po:timh") t)
rmail-get-new-mail()
rmail()
call-interactively(rmail)
execute-extended-command(nil)
call-interactively(execute-extended-command)
recursive-edit()
byte-code("Æ\x10 @Ç=!
next prev parent reply other threads:[~2008-02-20 1:34 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 [this message]
2008-02-20 2:17 ` Glenn Morris
2008-02-20 2:51 ` Tim Hesterberg
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=u8x1gwgul.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).