On 2009-08-17 12:10 (+0300), Teemu Likonen wrote:
> Here's more info: It's file lisp/gnus/nntp.el, function nntp-open-marks
> and form (condition-case ...) where the error happens.
>
> The reason for error is that variable nntp-marks-file-name is nil. It's
> normally ".marks" (in my system too) but something sets it to nil when I
> go unplugged with Jj (gnus-agent-toggle-plugged) command. Since the
> variable is nil function nntp-group-pathname doesn't return complete
> path with filename but only a directory name, hence the error in reading
> the file: "error IO error reading [...]: Is a directory".
>
> Clearly there's a but somewhere. Who is setting nntp-marks-file-name to
> nil and why?
Here's a work-around hack to get rid of the error:
(add-hook 'gnus-agent-unplugged-hook #'tl-gnus-agent-unplugged-hook)
(defun tl-gnus-agent-unplugged-hook ()
(setq nntp-marks-file-name (or nntp-marks-file-name
".marks")))
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english