* emacs-mail-crashbox bug?
@ 2001-01-07 23:50 Nick Papadonis
2001-01-09 4:36 ` ShengHuo ZHU
0 siblings, 1 reply; 6+ messages in thread
From: Nick Papadonis @ 2001-01-07 23:50 UTC (permalink / raw)
GNUS v.5.8.8
Hello,
I had the following problem after GNUS/Xemacs crashed on me today.
When trying to start GNUS again I had the following error and backtrace:
Doing a 'touch ~/.emacs-mail-crash-box allowed me to finally start it fine.
--------------------------------------------------------------------------
Signaling: (file-error "Creating directory" "Permission denied" "/emacs-mail-crash-box")
make-directory-internal("/emacs-mail-crash-box")
make-directory("/emacs-mail-crash-box" t)
nnml-possibly-create-directory(".emacs-mail-crash-box")
nnml-active-number(".emacs-mail-crash-box")
nnmail-article-group(nnml-active-number)
nnmail-check-duplication("<m3g0iwjxxn.fsf@TuxParadise.local>" nnml-save-mail nnml-active-number)
nnmail-process-unix-mail-format(nnml-save-mail nnml-active-number)
nnmail-split-incoming("~/.emacs-mail-crash-box" nnml-save-mail nil ".emacs-mail-crash-box" nnml-active-number)
(lambda (file orig-file) (nnmail-split-incoming file (quote nnml-save-mail) (quote nil) (nnmail-get-split-group orig-file source) (quote nnml-active-number)))("~/.emacs-mail-crash-box" "~/.emacs-mail-crash-box")
mail-source-callback((lambda (file orig-file) (nnmail-split-incoming file (quote nnml-save-mail) (quote nil) (nnmail-get-split-group orig-file source) (quote nnml-active-number))) "~/.emacs-mail-crash-box")
mail-source-fetch((directory :path "~/incoming/" :suffix "") (lambda (file orig-file) (nnmail-split-incoming file (quote nnml-save-mail) (quote nil) (nnmail-get-split-group orig-file source) (quote nnml-active-number))))
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("..." [dont-connect did-connect gnus-group-quit gnus-run-hooks gnus-startup-hook gnus-make-newsrc-file gnus-startup-file gnus-current-startup-file gnus-slave gnus-use-dribble-file gnus-dribble-read-file gnus-use-grouplens bbb-login add-hook gnus-summary-mode-hook gnus-grouplens-mode gnus-setup-news nil level 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] 4)
gnus-1(nil nil nil)
gnus(nil)
call-interactively(gnus)
command-execute(gnus t)
execute-extended-command(nil)
call-interactively(execute-extended-command)
--
- Nick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs-mail-crashbox bug?
2001-01-07 23:50 emacs-mail-crashbox bug? Nick Papadonis
@ 2001-01-09 4:36 ` ShengHuo ZHU
2001-01-09 7:57 ` ShengHuo ZHU
2001-01-09 20:38 ` Nick Papadonis
0 siblings, 2 replies; 6+ messages in thread
From: ShengHuo ZHU @ 2001-01-09 4:36 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 368 bytes --]
Nick Papadonis <nick@coelacanth.com> writes:
> GNUS v.5.8.8
> Hello,
>
> I had the following problem after GNUS/Xemacs crashed on me today.
> When trying to start GNUS again I had the following error and backtrace:
>
> Doing a 'touch ~/.emacs-mail-crash-box allowed me to finally start it fine.
Try this patch.
Are you using more than one mail source?
ShengHuo
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: nnmail.el-6.5.diff --]
[-- Type: text/x-patch, Size: 612 bytes --]
Index: nnmail.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/nnmail.el,v
retrieving revision 6.4
diff -u -u -r6.4 nnmail.el
--- nnmail.el 2000/12/30 04:51:43 6.4
+++ nnmail.el 2001/01/09 04:33:32
@@ -1573,7 +1573,9 @@
(nnmail-split-incoming
file ',(intern (format "%s-save-mail" method))
',spool-func
- (nnmail-get-split-group orig-file source)
+ (if (equal file orig-file)
+ nil
+ (nnmail-get-split-group orig-file ,source))
',(intern (format "%s-active-number" method))))))
(incf total new)
(incf i)))
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs-mail-crashbox bug?
2001-01-09 4:36 ` ShengHuo ZHU
@ 2001-01-09 7:57 ` ShengHuo ZHU
2001-01-09 20:38 ` Nick Papadonis
1 sibling, 0 replies; 6+ messages in thread
From: ShengHuo ZHU @ 2001-01-09 7:57 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> Nick Papadonis <nick@coelacanth.com> writes:
>
> > GNUS v.5.8.8
> > Hello,
> >
> > I had the following problem after GNUS/Xemacs crashed on me today.
> > When trying to start GNUS again I had the following error and backtrace:
> >
> > Doing a 'touch ~/.emacs-mail-crash-box allowed me to finally start it fine.
>
> Try this patch.
>
> Are you using more than one mail source?
Oops. A typo. This patch should work.
ShengHuo
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: nnmail.el-6.6.diff --]
[-- Type: text/x-patch, Size: 634 bytes --]
Index: nnmail.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/nnmail.el,v
retrieving revision 6.4
retrieving revision 6.6
diff -u -r6.4 -r6.6
--- nnmail.el 2000/12/30 04:51:43 6.4
+++ nnmail.el 2001/01/09 07:51:04 6.6
@@ -1573,7 +1573,9 @@
(nnmail-split-incoming
file ',(intern (format "%s-save-mail" method))
',spool-func
- (nnmail-get-split-group orig-file source)
+ (if (equal file orig-file)
+ nil
+ (nnmail-get-split-group orig-file ',source))
',(intern (format "%s-active-number" method))))))
(incf total new)
(incf i)))
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs-mail-crashbox bug?
2001-01-09 4:36 ` ShengHuo ZHU
2001-01-09 7:57 ` ShengHuo ZHU
@ 2001-01-09 20:38 ` Nick Papadonis
2001-01-09 21:57 ` Chris Shenton
1 sibling, 1 reply; 6+ messages in thread
From: Nick Papadonis @ 2001-01-09 20:38 UTC (permalink / raw)
Cc: ding
>>>>> "ZSH" == ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> Nick Papadonis <nick@coelacanth.com> writes:
>> GNUS v.5.8.8 Hello,
>>
>> I had the following problem after GNUS/Xemacs crashed on me
>> today. When trying to start GNUS again I had the following
>> error and backtrace:
>>
>> Doing a 'touch ~/.emacs-mail-crash-box allowed me to finally
>> start it fine.
> Try this patch.
Will do, however I can now start gnus. Maybe I should hold the patch
until I run into this again. Then apply it.
> Are you using more than one mail source?
Nope just this to get stuff from procmail dir:
(setq
gnus-secondary-select-methods
'((nnml "")) ; Incoming Mail
nnml-get-new-mail t
mail-sources
'((directory
:path "~/incoming/"
:suffix "")))
Thanks for your help.
> ShengHuo
--
- Nick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs-mail-crashbox bug?
2001-01-09 20:38 ` Nick Papadonis
@ 2001-01-09 21:57 ` Chris Shenton
2001-01-09 22:24 ` Nick Papadonis
0 siblings, 1 reply; 6+ messages in thread
From: Chris Shenton @ 2001-01-09 21:57 UTC (permalink / raw)
Cc: ShengHuo ZHU, ding
On 09 Jan 2001 15:38:26 -0500, Nick Papadonis <nick@coelacanth.com> said:
>> Nick Papadonis <nick@coelacanth.com> writes:
>>>
>>> I had the following problem after GNUS/Xemacs crashed on me today.
>>> When trying to start GNUS again I had the following error and
>>> backtrace:
[tried to recover from root's /.emacs-mail-crash-box]
I've seen this too. My workaround was to symlink from root's crashbox
to myown, then startup gnus. Ick, feep, hacker!
>>> Doing a 'touch ~/.emacs-mail-crash-box allowed me to finally start
>>> it fine.
Hmmm... never tried that. Why does it work? did it get your crashed mail?
>> Are you using more than one mail source?
Nick> Nope just this to get stuff from procmail dir:
(setq
gnus-secondary-select-methods
'((nnml "")) ; Incoming Mail
nnml-get-new-mail t
mail-sources
'((directory
:path "~/incoming/"
:suffix "")))
Hmmm, I am doing something very similar:
(setq mail-sources
'(
(directory
:path "~/ProcMail/"
:suffix "")
))
(setq gnus-secondary-select-methods '((nnml ""))
)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs-mail-crashbox bug?
2001-01-09 21:57 ` Chris Shenton
@ 2001-01-09 22:24 ` Nick Papadonis
0 siblings, 0 replies; 6+ messages in thread
From: Nick Papadonis @ 2001-01-09 22:24 UTC (permalink / raw)
Cc: ShengHuo ZHU, ding
I did the same awhile back!
Don't know why the second method worked, but it did.
>>>>> "Chris" == Chris Shenton <cshenton@OutBounderInc.com> writes:
> [tried to recover from root's /.emacs-mail-crash-box]
> I've seen this too. My workaround was to symlink from root's
> crashbox to myown, then startup gnus. Ick, feep, hacker!
>>>> Doing a 'touch ~/.emacs-mail-crash-box allowed me to finally
>>>> start it fine.
> Hmmm... never tried that. Why does it work? did it get your
> crashed mail?
>>> Are you using more than one mail source?
Nick> Nope just this to get stuff from procmail dir:
> (setq gnus-secondary-select-methods '((nnml "")) ;
> Incoming Mail nnml-get-new-mail t mail-sources '((directory
> :path "~/incoming/" :suffix "")))
> Hmmm, I am doing something very similar:
> (setq mail-sources '( (directory :path "~/ProcMail/" :suffix
> "") )) (setq gnus-secondary-select-methods '((nnml "")) )
--
- Nick
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-01-09 22:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-07 23:50 emacs-mail-crashbox bug? Nick Papadonis
2001-01-09 4:36 ` ShengHuo ZHU
2001-01-09 7:57 ` ShengHuo ZHU
2001-01-09 20:38 ` Nick Papadonis
2001-01-09 21:57 ` Chris Shenton
2001-01-09 22:24 ` Nick Papadonis
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).