From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Hesterberg Newsgroups: gmane.emacs.bugs Subject: Re: rmail pop error Date: Tue, 19 Feb 2008 17:34:42 -0800 Message-ID: References: <2k63wxap4s.fsf@fencepost.gnu.org> <437ihaszib.fsf@fencepost.gnu.org> <39zltzgo4d.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1203471440 13584 80.91.229.12 (20 Feb 2008 01:37:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Feb 2008 01:37:20 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 20 02:37:44 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JRdu3-0007Nx-Ky for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Feb 2008 02:37:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRdtY-00036g-Rl for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Feb 2008 20:37:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRdrS-0000yl-V1 for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2008 20:35:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRdrR-0000xT-UY for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2008 20:35:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRdrR-0000x7-IL for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2008 20:35:01 -0500 Original-Received: from sewinexch00.insightful.com ([70.98.76.55]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JRdrN-0004kq-Af; Tue, 19 Feb 2008 20:34:57 -0500 Original-Received: from THESTERBERG-XP.insightful.com ([172.16.102.54]) by sewinexch00.insightful.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 19 Feb 2008 17:34:44 -0800 In-reply-to: <39zltzgo4d.fsf@fencepost.gnu.org> (message from Glenn Morris on Sun, 17 Feb 2008 18:27:30 -0500) X-OriginalArrivalTime: 20 Feb 2008 01:34:44.0489 (UTC) FILETIME=[C5566F90:01C87360] X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17545 Archived-At: >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 # nil "po:timh" "h:/.newmail-timh" "MYPASSWORDomittedHERE") apply(call-process (nil nil # 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 # nil "po:timh" "h:/.newmail-timh" "MYPASSWORDomittedHERE") apply(call-process (nil nil # 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("Æ @Ç=ƒ!