Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: How to use own newer version of gnus at $HOME
       [not found]   ` <8jfhdv3w3gk.fsf@kamel.stud.ntnu.no>
@ 2004-04-30  1:15     ` Jesper Harder
       [not found]       ` <8jfpt9pjx0i.fsf@kamel.stud.ntnu.no>
  0 siblings, 1 reply; 5+ messages in thread
From: Jesper Harder @ 2004-04-30  1:15 UTC (permalink / raw)


Lars Tobias Borsting <larstobi@itea.ntnu.no> writes:

> I've unpacked, compiled and run emacs 5.10. The problem is that it hangs
> when it comes to "Processing mail from ~/.emacs-mail-crash-box..." which
> I guess doesn't exist.

Press `C-g' and show the resulting backtrace.

> Are there any special things to consider when upgrading from version
> 5.6 go 5.10?

I don't know.  A lot of people have tested upgrading from 5.8/5.9 to
5.10 -- but 5.6 is very old.  You could be one the few people who have
tried it.

-- 
Jesper Harder                                <http://purl.org/harder/>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to use own newer version of gnus at $HOME
       [not found]       ` <8jfpt9pjx0i.fsf@kamel.stud.ntnu.no>
@ 2004-05-01 12:40         ` Jesper Harder
  2004-05-01 19:30           ` Lars Tobias Borsting
  2004-05-03  8:12         ` Chris Hall
  1 sibling, 1 reply; 5+ messages in thread
From: Jesper Harder @ 2004-05-01 12:40 UTC (permalink / raw)


Lars Tobias Borsting <larstobi@itea.ntnu.no> writes:

>> Press `C-g' and show the resulting backtrace.
>
> I pressed C-g but it didn't pop up any bactrace, it just went on with
> it's next task.

Do `M-x toggle-debug-on-quit' first.

>> I don't know.  A lot of people have tested upgrading from 5.8/5.9 to
>> 5.10 -- but 5.6 is very old.  You could be one the few people who have
>> tried it.
>
> I have got the news stuff working, but I can't seem to get the mail.

Well, the mail feching functions changed a lot between 5.6 and 5.8.
You probably need to update your settings to the "new" functions.

> How can I find out which movemail-program is being used, or where to
> find one and specify it?

There's `mail-source-movemail-program'.

-- 
Jesper Harder                                <http://purl.org/harder/>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to use own newer version of gnus at $HOME
  2004-05-01 12:40         ` Jesper Harder
@ 2004-05-01 19:30           ` Lars Tobias Borsting
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Tobias Borsting @ 2004-05-01 19:30 UTC (permalink / raw)


Thanx, Jesper, I now get backtrace up.

>> How can I find out which movemail-program is being used, or where to
>> find one and specify it?

>There's `mail-source-movemail-program'.

First of all, I don't find this program when typing M-x
mail-source-... I only get these possible completions:
   mail-source-delete-old-incoming
   mail-source-report-new-mail

>> I have got the news stuff working, but I can't seem to get the mail.

>Well, the mail feching functions changed a lot between 5.6 and 5.8.
>You probably need to update your settings to the "new" functions.

OK, but I don't see any difference between the different manuals on the
nnml-backend. Here's my mail source settings:

(add-to-list 'gnus-secondary-select-methods '(nnml ""))

I don't see anything wrong with it, but it doesn't work. One thing: I
use maildir as my incoming mail folder at $HOME/mail/INBOX, but my $MAIL
environment variable says "echo $MAIL" is "$HOME/mail/INBOX" and not
"$HOME/mail/INBOX/". But that was no problem with version 5.6.

Here's the backtrace from emacs-mail-crashbox at startup:

------------ START ----------------
Debugger entered--Lisp error: (quit)
  call-process("/store/libexec/emacs/21.3/sparc-sun-solaris2.8/movemail" nil #<buffer  *mail source loss*<4>> nil "/home/others/homes/la/larstobi/mail/INBOX" "/home/others/homes/la/larstobi/.emacs-mail-crash-box")
  apply(call-process ("/store/libexec/emacs/21.3/sparc-sun-solaris2.8/movemail" nil #<buffer  *mail source loss*<4>> nil "/home/others/homes/la/larstobi/mail/INBOX" "/home/others/homes/la/larstobi/.emacs-mail-crash-box"))
  mail-source-movemail("/home/homes/la/larstobi/mail/INBOX" "~/.emacs-mail-crash-box")
  mail-source-fetch-file((file) #[(file orig-file) "<non printable characters snipped out>" [file orig-file nnmail-split-incoming nnml-save-mail nil nnmail-get-split-group (file) nnml-active-number] 7])
  mail-source-fetch((file) #[(file orig-file) "<non printable characters snipped out>"[file orig-file nnmail-split-incoming nnml-save-mail nil nnmail-get-split-group (file) nnml-active-number] 7])
  nnmail-get-new-mail(nnml nnml-save-nov "~/Mail/" nil)
  nnml-request-scan(nil "")
  gnus-request-scan(nil (nnml ""))
  gnus-read-active-file-1((nnml "") nil)
  gnus-read-active-file(nil nil)
  gnus-setup-news(nil nil nil)
  byte-code("<non printable characters snipped out>" [dont-connect did-connect gnus-startup-file gnus-current-startup-file gnus-slave gnus-use-dribble-file gnus-group-quit gnus-run-hooks gnus-startup-hook gnus-make-newsrc-file gnus-dribble-read-file bbb-login add-hook gnus-summary-mode-hook gnus-grouplens-mode gnus-request-create-group "queue" (nndraft "") "drafts" (nndraft "") gnus-setup-news nil gnus-setup-news-hook gnus-start-draft-setup gnus-group-list-groups gnus-group-first-unread-group gnus-configure-windows group gnus-group-set-mode-line gnus-started-hook gnus-use-grouplens gnus-agent level] 4)
  gnus-1(nil nil nil)
  gnus(nil)
  call-interactively(gnus)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)
  recursive-edit()
  byte-code("<non printable characters snipped out>" [debugger-buffer debugger-args noninteractive debugger-batch-max-lines middlestart buffer-read-only pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit standard-output inhibit-trace] 3)
  debug(error (quit))
  call-process("/store/libexec/emacs/21.3/sparc-sun-solaris2.8/movemail" nil #<buffer  *mail source loss*> nil "/home/others/homes/la/larstobi/mail/INBOX" "/home/others/homes/la/larstobi/.emacs-mail-crash-box")
  apply(call-process ("/store/libexec/emacs/21.3/sparc-sun-solaris2.8/movemail" nil #<buffer  *mail source loss*> nil "/home/others/homes/la/larstobi/mail/INBOX" "/home/others/homes/la/larstobi/.emacs-mail-crash-box"))
  mail-source-movemail("/home/homes/la/larstobi/mail/INBOX" "~/.emacs-mail-crash-box")
  mail-source-fetch-file((file) #[(file orig-file) "<non printable characters snipped out>" [file orig-file nnmail-split-incoming nnml-save-mail nil nnmail-get-split-group (file) nnml-active-number] 7])
  mail-source-fetch((file) #[(file orig-file) "<non printable characters snipped out>"[file orig-file nnmail-split-incoming nnml-save-mail nil nnmail-get-split-group (file) nnml-active-number] 7])
  nnmail-get-new-mail(nnml nnml-save-nov "~/Mail/" nil)
  nnml-request-scan(nil "")
  gnus-request-scan(nil (nnml ""))
  gnus-read-active-file-1((nnml "") nil)
  gnus-read-active-file(nil nil)
  gnus-setup-news(nil nil nil)
  byte-code("<non printable characters snipped out>" [dont-connect did-connect gnus-startup-file gnus-current-startup-file gnus-slave gnus-use-dribble-file gnus-group-quit gnus-run-hooks gnus-startup-hook gnus-make-newsrc-file gnus-dribble-read-file bbb-login add-hook gnus-summary-mode-hook gnus-grouplens-mode gnus-request-create-group "queue" (nndraft "") "drafts" (nndraft "") gnus-setup-news nil gnus-setup-news-hook gnus-start-draft-setup gnus-group-list-groups gnus-group-first-unread-group gnus-configure-windows group gnus-group-set-mode-line gnus-started-hook gnus-use-grouplens gnus-agent level] 4)
  gnus-1(nil nil nil)
  gnus(nil)
  call-interactively(gnus)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)
------------------ END --------------------

And here's the one I get after pressing g in the Group buffer when
emacs-mail-crash-box is terminated:

------------------ START ------------------
Debugger entered--Lisp error: (quit)
  call-process("/store/libexec/emacs/21.3/sparc-sun-solaris2.8/movemail" nil #<buffer  *mail source loss*<5>> nil "/home/others/homes/la/larstobi/mail/INBOX" "/home/others/homes/la/larstobi/.emacs-mail-crash-box")
  apply(call-process ("/store/libexec/emacs/21.3/sparc-sun-solaris2.8/movemail" nil #<buffer  *mail source loss*<5>> nil "/home/others/homes/la/larstobi/mail/INBOX" "/home/others/homes/la/larstobi/.emacs-mail-crash-box"))
  mail-source-movemail("/home/homes/la/larstobi/mail/INBOX" "~/.emacs-mail-crash-box")
  mail-source-fetch-file((file) #[(file orig-file) "<non printable characters snipped out>" [file orig-file nnmail-split-incoming nnml-save-mail nil nnmail-get-split-group (file) nnml-active-number] 7])
  mail-source-fetch((file) #[(file orig-file) "<non printable characters snipped out>"[file orig-file nnmail-split-incoming nnml-save-mail nil nnmail-get-split-group (file) nnml-active-number] 7])
  nnmail-get-new-mail(nnml nnml-save-nov "~/Mail/" nil)
  nnml-request-scan(nil "")
  gnus-request-scan(nil (nnml ""))
  gnus-read-active-file-1((nnml "") nil)
  gnus-read-active-file()
  gnus-group-get-new-news(nil)
  call-interactively(gnus-group-get-new-news)
  recursive-edit()
  byte-code("<non printable characters snipped out>" [debugger-buffer debugger-args noninteractive debugger-batch-max-lines middlestart buffer-read-only pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit standard-output inhibit-trace] 3)
  debug(error (quit))
  call-process("/store/libexec/emacs/21.3/sparc-sun-solaris2.8/movemail" nil #<buffer  *mail source loss*> nil "/home/others/homes/la/larstobi/mail/INBOX" "/home/others/homes/la/larstobi/.emacs-mail-crash-box")
  apply(call-process ("/store/libexec/emacs/21.3/sparc-sun-solaris2.8/movemail" nil #<buffer  *mail source loss*> nil "/home/others/homes/la/larstobi/mail/INBOX" "/home/others/homes/la/larstobi/.emacs-mail-crash-box"))
  mail-source-movemail("/home/homes/la/larstobi/mail/INBOX" "~/.emacs-mail-crash-box")
  mail-source-fetch-file((file) #[(file orig-file) "<non printable characters snipped out>"" [file orig-file nnmail-split-incoming nnml-save-mail nil nnmail-get-split-group (file) nnml-active-number] 7])
  mail-source-fetch((file) #[(file orig-file) "<non printable characters snipped out>"" [file orig-file nnmail-split-incoming nnml-save-mail nil nnmail-get-split-group (file) nnml-active-number] 7])
  nnmail-get-new-mail(nnml nnml-save-nov "~/Mail/" nil)
  nnml-request-scan(nil "")
  gnus-request-scan(nil (nnml ""))
  gnus-read-active-file-1((nnml "") nil)
  gnus-read-active-file(nil nil)
  gnus-setup-news(nil nil nil)
  byte-code("<non printable characters snipped out>" [dont-connect did-connect gnus-startup-file gnus-current-startup-file gnus-slave gnus-use-dribble-file gnus-group-quit gnus-run-hooks gnus-startup-hook gnus-make-newsrc-file gnus-dribble-read-file bbb-login add-hook gnus-summary-mode-hook gnus-grouplens-mode gnus-request-create-group "queue" (nndraft "") "drafts" (nndraft "") gnus-setup-news nil gnus-setup-news-hook gnus-start-draft-setup gnus-group-list-groups gnus-group-first-unread-group gnus-configure-windows group gnus-group-set-mode-line gnus-started-hook gnus-use-grouplens gnus-agent level] 4)
  gnus-1(nil nil nil)
  gnus(nil)
  call-interactively(gnus)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)
-------------------- END ---------------------

Thanx for the assitance!

Regards,
Lars Tobias Borsting


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to use own newer version of gnus at $HOME
       [not found]       ` <8jfpt9pjx0i.fsf@kamel.stud.ntnu.no>
  2004-05-01 12:40         ` Jesper Harder
@ 2004-05-03  8:12         ` Chris Hall
  2004-05-03 11:38           ` Lars Tobias Borsting
  1 sibling, 1 reply; 5+ messages in thread
From: Chris Hall @ 2004-05-03  8:12 UTC (permalink / raw)


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

Lars Tobias Borsting <larstobi@itea.ntnu.no> writes:

>> Press `C-g' and show the resulting backtrace.
>
> I pressed C-g but it didn't pop up any bactrace, it just went on with
> it's next task.
>

Perhaps doing M-x set-variable RET debug-on-signal RET t would help with
that?

> How can I find out which movemail-program is being used, or where to
> find one and specify it?
>

I use fetchmail piped to procmail *outside* of Emacs, and have procmail
split my mail into separate groups, so I'm not using an Emacs-related
program, but from recent reading of the Gnus Info (I just last week set
all this up under Gnus 5.10), I think that the default program is
supplied by Emacs, and called 'movemail', oddly enough ;-).  If you are
on an *nix box, 'which movemail' or 'locate movemail' might help.

However, IIRC, Emacs 'movemail' gets from the local *nix spool file and
outputs in RMAIL format - dunno if that is what you wanted, or if
movemail can be persuaded to output into a different format.

According to 'C-h f':
(------------ snip! ------------------)
mail-source-movemail-program's value is nil

Documentation:
If non-nil, name of program for fetching new mail.

You can customize this variable.

Defined in `mail-source'.
(------------ /snip! ------------------)

HTH,
+Chris

-- 
In the fight between you and the world, back the world.
-- Frank Zappa (1940 - 1993)

[-- Attachment #2: Type: application/pgp-signature, Size: 231 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to use own newer version of gnus at $HOME
  2004-05-03  8:12         ` Chris Hall
@ 2004-05-03 11:38           ` Lars Tobias Borsting
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Tobias Borsting @ 2004-05-03 11:38 UTC (permalink / raw)


Chris Hall <hall.cj@verizon.net> writes:

> I use fetchmail piped to procmail *outside* of Emacs, and have procmail
> split my mail into separate groups, so I'm not using an Emacs-related
> program, but from recent reading of the Gnus Info (I just last week set
> all this up under Gnus 5.10), I think that the default program is
> supplied by Emacs, and called 'movemail', oddly enough ;-).  If you are
> on an *nix box, 'which movemail' or 'locate movemail' might help.

OK, thanks! Somehow it just worked  after changing my mail source from
maildir to mbox format. I guess the gnus nnml-backend v5.10 had problems
with the source being in maildir format.

One other strange thing though, if I remove the files from
$HOME/Mail/mail/misc/ and move in mail from my gnus v5.6 after using the
directory with v5.10, the Summary Buffer still displays the new list of
articles/mails. That is kinda strange, because I just deleted them and
replaced them with some other ones, it must hence be cached somewhere.

Where does gnus store its Summary Buffer cache? I haven't been able to
locate where it caches the mail summary. And how can I force gnus to
re-read the folder and generate a new Summary Buffer?

Regards,
Lars Tobias Borsting


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-05-03 11:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <8jfekq8jd21.fsf@kamel.stud.ntnu.no>
     [not found] ` <m3oepcm40w.fsf@defun.localdomain>
     [not found]   ` <8jfhdv3w3gk.fsf@kamel.stud.ntnu.no>
2004-04-30  1:15     ` How to use own newer version of gnus at $HOME Jesper Harder
     [not found]       ` <8jfpt9pjx0i.fsf@kamel.stud.ntnu.no>
2004-05-01 12:40         ` Jesper Harder
2004-05-01 19:30           ` Lars Tobias Borsting
2004-05-03  8:12         ` Chris Hall
2004-05-03 11:38           ` Lars Tobias Borsting

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 NNTP newsgroup(s).