* Error trying to access nnimap groups
@ 2002-08-26 22:04 Nevin Kapur
2002-08-26 23:46 ` Katsumi Yamaoka
0 siblings, 1 reply; 3+ messages in thread
From: Nevin Kapur @ 2002-08-26 22:04 UTC (permalink / raw)
Trying to access my IMAP server, Gnus failed with the following
backtrace. It looks like preview-latex defines set-buffer-multibyte
in XEmacs and imap-disable-multibyte calls it resulting in the error.
I'm not sure whose bug this is so I'm sending this to both lists.
Signaling: (invalid-function (macro . #<compiled-function (multibyte) "...(10)" [multibyte (if (fboundp (quote set-buffer-file-coding-system)) (set-buffer-file-coding-system (quote binary))) error unimplemented "`set-buffer-multibyte is only implemented for the binary case."] 3 ("/share/lib/xemacs/xemacs-packages/lisp/preview/prv-xemacs.elc" . 2012)>))
set-buffer-multibyte(nil)
imap-open("jesse.mts.jhu.edu" nil nil nil " *nnimap* jesse")
nnimap-open-connection("jesse")
nnimap-open-server("jesse" ((nnimap-address "jesse.mts.jhu.edu") (nnimap-list-pattern ("INBOX" "mail/*" "Sent Items" "Draft" "#shared/support/%" "Trash*"))))
byte-code("..." [gnus-command-method gnus-get-function open-server] 3)
gnus-open-server((nnimap "jesse" (nnimap-address "jesse.mts.jhu.edu") (nnimap-list-pattern ("INBOX" "mail/*" "Sent Items" "Draft" "#shared/support/%" "Trash*"))))
byte-code("..." [result method gnus-open-server] 2)
gnus-check-server((nnimap "jesse" (nnimap-address "jesse.mts.jhu.edu") (nnimap-list-pattern ("INBOX" "mail/*" "Sent Items" "Draft" "#shared/support/%" "Trash*"))))
gnus-select-newsgroup("nnimap+jesse:mail/Mailbox" nil nil)
gnus-summary-read-group-1("nnimap+jesse:mail/Mailbox" nil t nil nil nil)
gnus-summary-read-group("nnimap+jesse:mail/Mailbox" nil t nil nil nil nil)
gnus-group-read-group(nil t)
gnus-group-select-group(nil)
gnus-topic-select-group(nil)
call-interactively(gnus-topic-select-group)
-Nevin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Error trying to access nnimap groups
2002-08-26 22:04 Error trying to access nnimap groups Nevin Kapur
@ 2002-08-26 23:46 ` Katsumi Yamaoka
2002-08-27 3:42 ` Nevin Kapur
0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2002-08-26 23:46 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 881 bytes --]
Hi,
>>>>> In <m3y9atthj6.fsf@fermat.mts.jhu.edu>
>>>>> Nevin Kapur <nevin@jhu.edu> wrote:
> Trying to access my IMAP server, Gnus failed with the following
> backtrace. It looks like preview-latex defines set-buffer-multibyte
> in XEmacs and imap-disable-multibyte calls it resulting in the error.
> I'm not sure whose bug this is so I'm sending this to both lists.
> Signaling: (invalid-function (macro . #<compiled-function (multibyte)...
> set-buffer-multibyte(nil)
> imap-open("jesse.mts.jhu.edu" nil nil nil " *nnimap* jesse")
> nnimap-open-connection("jesse")
The problem is that the macro `set-buffer-multibyte' is defined
at run-time, but it is not available at the Gnus compile-time.
IMHO, since the function `set-buffer-multibyte' is a Lisp
function in FSF Emacs, prv-xemacs.el should define it as also a
function, not a macro. Here is a patch for imap.el:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 405 bytes --]
--- imap.el~ 2002-08-12 22:00:26 +0000
+++ imap.el 2002-08-26 23:44:57 +0000
@@ -414,7 +414,8 @@
(defsubst imap-disable-multibyte ()
"Enable multibyte in the current buffer."
- (when (fboundp 'set-buffer-multibyte)
+ (when (and (fboundp 'set-buffer-multibyte)
+ (subrp (symbol-function 'set-buffer-multibyte)))
(set-buffer-multibyte nil)))
(defun imap-read-passwd (prompt &rest args)
[-- Attachment #3: Type: text/plain, Size: 150 bytes --]
BTW, APEL defines `set-buffer-multibyte' for XEmacs as follows:
(defsubst set-buffer-multibyte (flag)
flag)
--
Katsumi Yamaoka <yamaoka@jpl.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Error trying to access nnimap groups
2002-08-26 23:46 ` Katsumi Yamaoka
@ 2002-08-27 3:42 ` Nevin Kapur
0 siblings, 0 replies; 3+ messages in thread
From: Nevin Kapur @ 2002-08-27 3:42 UTC (permalink / raw)
Katsumi Yamaoka <yamaoka@jpl.org> writes:
> Hi,
>
>>>>>> In <m3y9atthj6.fsf@fermat.mts.jhu.edu>
>>>>>> Nevin Kapur <nevin@jhu.edu> wrote:
>
>> Trying to access my IMAP server, Gnus failed with the following
>> backtrace. It looks like preview-latex defines set-buffer-multibyte
>> in XEmacs and imap-disable-multibyte calls it resulting in the error.
>
[...]
> The problem is that the macro `set-buffer-multibyte' is defined
> at run-time, but it is not available at the Gnus compile-time.
> IMHO, since the function `set-buffer-multibyte' is a Lisp
> function in FSF Emacs, prv-xemacs.el should define it as also a
> function, not a macro. Here is a patch for imap.el:
Thank you for your analysis. I will send in a bug report for
preview-latex where it seems the problems lies. I've now also had w3
complaining about set-buffer-multibyte after loading preview-latex.
I will try your patch and report back if I see any problems.
-Nevin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-08-27 3:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-26 22:04 Error trying to access nnimap groups Nevin Kapur
2002-08-26 23:46 ` Katsumi Yamaoka
2002-08-27 3:42 ` Nevin Kapur
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).