* Re: nndrafts and NT
[not found] <wtn8zr5ovdu.fsf@licia.dtek.chalmers.se>
@ 2000-11-04 14:20 ` ShengHuo ZHU
2000-11-26 14:15 ` Jari Aalto
0 siblings, 1 reply; 2+ messages in thread
From: ShengHuo ZHU @ 2000-11-04 14:20 UTC (permalink / raw)
Jonas Steverud <d4jonas@dtek.chalmers.se> writes:
> The issue ha been up before but the suggested solutions wasn't a
> problem for me.
>
> C-x C-s in a message, i.e. save to nndraft, works nice - "Wrote
> h:/News/drafts/drafts/3" it says. The file exists and looks nice.
>
> When I try to enter the drafts group (which has a star in front of it,
> i.e. Gnus can't get the number of articles in it) I get:
Does `M-g' work on the group? What is the value of nnmh-directory
right after you try to enter the drafts group?
ShengHuo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: nndrafts and NT
2000-11-04 14:20 ` nndrafts and NT ShengHuo ZHU
@ 2000-11-26 14:15 ` Jari Aalto
0 siblings, 0 replies; 2+ messages in thread
From: Jari Aalto @ 2000-11-26 14:15 UTC (permalink / raw)
* 2000-11-04 ShengHuo ZHU <zsh@cs.rochester.edu> list.emacs-ding
* Message-Id: <2nlmuzlsy5.fsf@tiger.jia.vnet>
| Jonas Steverud <d4jonas@dtek.chalmers.se> writes:
|
| > The issue ha been up before but the suggested solutions wasn't a
| > problem for me.
| >
| > C-x C-s in a message, i.e. save to nndraft, works nice - "Wrote
| > h:/News/drafts/drafts/3" it says. The file exists and looks nice.
| >
| > When I try to enter the drafts group (which has a star in front of it,
| > i.e. Gnus can't get the number of articles in it) I get:
|
| Does `M-g' work on the group? What is the value of nnmh-directory
| right after you try to enter the drafts group?
Since this has been a long persisting problem with Gnus, would someone
more knowledgeable with Gnus internals investigate if the problem is
with the undefined function that somehow loads as 'ignore to Emacs. I
have pinpointed the problem, but I have no idea why it gets set to
ignore (sometimes?)
Here is the relevant code that "solves" the nndraft problem.
Jari
;;; ----------------------------------------------------------------------
;;;
(defadvice gnus-topic-read-group (before my-gnus-fix-nndraft act)
"Fix broken nndraft."
(when (eq 'ignore (symbol-function 'nndraft-request-group))
(my-gnus-nndraft-fix)))
;;; ----------------------------------------------------------------------
;;; See nnoo.el::nno-import-1 and nndraft.el
;;;
(defun my-gnus-nndraft-fix ()
"Bug in my gnus that prevent accessing nndraft.
Define function `nndaft-request-group'."
(interactive)
(let* ((function 'nndraft-request-group)
(call-function 'nnoo-parent-function)
(backend 'nndraft)
(this-function 'nnmh-request-group)
)
;; See nndraft.el
;; (defvoo nndraft-directory (nnheader-concat gnus-directory "drafts/"))
(unless (stringp nndraft-directory)
(setq nndraft-directory (nnheader-concat gnus-directory "drafts/")))
(eval `(deffoo ,function (&rest args)
(,call-function ',backend ',this-function args)))
))
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-11-26 14:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <wtn8zr5ovdu.fsf@licia.dtek.chalmers.se>
2000-11-04 14:20 ` nndrafts and NT ShengHuo ZHU
2000-11-26 14:15 ` Jari Aalto
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).