From: Edward Welbourne <eddy@opera.com>
To: rms@gnu.org
Cc: bug-gnu-emacs@gnu.org
Subject: Re: rmail passing movemail an option it doesn't like
Date: Tue, 21 Aug 2007 17:26:14 +0200 [thread overview]
Message-ID: <E1INVcU-0000fw-78@whorl> (raw)
In-Reply-To: <E1INV0F-0004jl-VI@fencepost.gnu.org> (message from Richard Stallman on Tue, 21 Aug 2007 10:46:43 -0400)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3085 bytes --]
> Can you use the debugger to determine precisely what options
> Emacs passes to movemail? You could do debug-on-entry
> for call-process.
<buffer name="*Backtrace*">
Debugger entered--entering a function:
* call-process("/usr/bin/movemail" nil #<buffer *temp*<2>> nil "--version")
rmail-probe("/usr/bin/movemail")
byte-code("Æ\b \nC#Ç^[\x1cF
!>
!>
!\x1e\x10=
\x16\x11ÎÏ\x0e\x10\"))\fA\x14
rmail-autodetect()
rmail-movemail-variant-p(mailutils)
rmail-insert-inbox-text(("/var/mail/eddy") t)
rmail-get-new-mail()
rmail()
call-interactively(rmail)
execute-extended-command(nil)
call-interactively(execute-extended-command)
</buffer>
When I invoke movemail --version manually, I get
movemail (GNU Mailutils 1.1)
After a while I guessed to type c to make the debugger continue, which
seems to be what it did, and it hit the break-point again:
<buffer name="*Backtrace*">
Debugger entered--returning value: 0
call-process("/usr/bin/movemail" nil #<buffer *temp*<2>> nil "--version")
rmail-probe("/usr/bin/movemail")
byte-code("Æ\b \nC#Ç^[\x1cF
!>
!>
!\x1e\x10=
\x16\x11ÎÏ\x0e\x10\"))\fA\x14
rmail-autodetect()
rmail-movemail-variant-p(mailutils)
rmail-insert-inbox-text(("/var/mail/eddy") t)
rmail-get-new-mail()
rmail()
call-interactively(rmail)
execute-extended-command(nil)
call-interactively(execute-extended-command)
</buffer>
and then c again:
<buffer name="*Backtrace*">
Debugger entered--entering a function:
* call-process("/usr/lib/emacs/22.1/i486-linux-gnu/movemail" nil #<buffer *temp*> nil "--emacs" "/var/mail/eddy" "/disk/home/eddy/.newmail-eddy")
apply(call-process ("/usr/lib/emacs/22.1/i486-linux-gnu/movemail" nil #<buffer *temp*> nil "--emacs" "/var/mail/eddy" "/disk/home/eddy/.newmail-eddy"))
rmail-insert-inbox-text(("/var/mail/eddy") t)
rmail-get-new-mail()
rmail()
call-interactively(rmail)
execute-extended-command(nil)
call-interactively(execute-extended-command)
</buffer>
and again:
<buffer name="*Backtrace*">
Debugger entered--returning value: 1
call-process("/usr/lib/emacs/22.1/i486-linux-gnu/movemail" nil #<buffer *temp*> nil "--emacs" "/var/mail/eddy" "/disk/home/eddy/.newmail-eddy")
apply(call-process ("/usr/lib/emacs/22.1/i486-linux-gnu/movemail" nil #<buffer *temp*> nil "--emacs" "/var/mail/eddy" "/disk/home/eddy/.newmail-eddy"))
rmail-insert-inbox-text(("/var/mail/eddy") t)
rmail-get-new-mail()
rmail()
call-interactively(rmail)
execute-extended-command(nil)
call-interactively(execute-extended-command)
</buffer>
after which I got the error,
<buffer name="*Messages*">
("emacs" "-q" "--no-site-file")
For information about the GNU Project and its goals, type C-h C-p.
Loading debug...done
Loading rmail...done
(New file)
Counting messages...done
Entering debugger...
Loading help-mode...done
Mark set [3 times]
Continuing.
Entering debugger...
Mark set
Continuing.
Entering debugger...
Mark set [2 times]
Continuing.
Entering debugger...
Mark set
Continuing.
movemail: /usr/lib/emacs/22.1/i486-linux-gnu/movemail: invalid option -- -
(No new mail has arrived)
</buffer>
Eddy.
prev parent reply other threads:[~2007-08-21 15:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-17 8:32 rmail passing movemail an option it doesn't like Edward Welbourne
2007-08-18 1:24 ` Glenn Morris
2007-08-20 8:36 ` Edward Welbourne
2007-08-20 9:08 ` Edward Welbourne
2007-08-20 9:28 ` Andreas Schwab
2007-08-20 9:43 ` Edward Welbourne
2007-08-20 20:05 ` Glenn Morris
2007-08-21 10:12 ` Edward Welbourne
2007-08-21 13:53 ` Edward Welbourne
2007-08-22 3:43 ` Glenn Morris
2007-08-21 14:46 ` Richard Stallman
2007-08-21 15:26 ` Edward Welbourne [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=E1INVcU-0000fw-78@whorl \
--to=eddy@opera.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=rms@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 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.