Gnus development mailing list
 help / color / mirror / Atom feed
* Problems with Emacs21 and Oort 0.08
@ 2002-09-16 22:02 Christoph Garbers
  2002-09-17  8:25 ` Frank Schmitt
  2002-09-17 10:29 ` Simon Josefsson
  0 siblings, 2 replies; 8+ messages in thread
From: Christoph Garbers @ 2002-09-16 22:02 UTC (permalink / raw)


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

Hi,

currently I am using XEmacs, but I would like to replace it with
Emacs. So I installed Emacs 21.2.1 (Debian woody). I also installed Oort
Gnus 0.08 (the Debian package from Manoj Srivastava[1]).

When doing `M-x gnus', I get this backtrace[2]:


[-- Attachment #2: backtrace --]
[-- Type: application/octet-stream, Size: 2738 bytes --]

[-- Attachment #3: Type: text/plain, Size: 124 bytes --]

Any hints?

TIA,
Christoph

Footnotes: 
[1]  http://people.debian.org/~srivasta/

[2]  `toggle-debug-on-error' ist enabled


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

* Re: Problems with Emacs21 and Oort 0.08
  2002-09-16 22:02 Problems with Emacs21 and Oort 0.08 Christoph Garbers
@ 2002-09-17  8:25 ` Frank Schmitt
  2002-09-17 10:08   ` Christoph Garbers
  2002-09-17 10:29 ` Simon Josefsson
  1 sibling, 1 reply; 8+ messages in thread
From: Frank Schmitt @ 2002-09-17  8:25 UTC (permalink / raw)


Christoph Garbers <cgarbers@gmx.de> writes:

> When doing `M-x gnus', I get this backtrace[2]:
[snipped because of control characters]
> Any hints?

Hard to say since the code is bytecompiled, but as the error seems to
occur after the require(mm-util), is the a file mm-util.el in your loadpath?

-- 
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the Land of Mordor where the Shadows lie.



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

* Re: Problems with Emacs21 and Oort 0.08
  2002-09-17  8:25 ` Frank Schmitt
@ 2002-09-17 10:08   ` Christoph Garbers
  0 siblings, 0 replies; 8+ messages in thread
From: Christoph Garbers @ 2002-09-17 10:08 UTC (permalink / raw)


Frank Schmitt wrote:

> Hard to say since the code is bytecompiled, but as the error seems to
> occur after the require(mm-util), is the a file mm-util.el in your loadpath?

I have /usr/share/emacs21/site-lisp/gnus/mm-util.elc, and
/usr/share/emacs21/site-lisp/gnus is in the loadpath.

Christoph




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

* Re: Problems with Emacs21 and Oort 0.08
  2002-09-16 22:02 Problems with Emacs21 and Oort 0.08 Christoph Garbers
  2002-09-17  8:25 ` Frank Schmitt
@ 2002-09-17 10:29 ` Simon Josefsson
  2002-09-17 10:40   ` Christoph Garbers
  1 sibling, 1 reply; 8+ messages in thread
From: Simon Josefsson @ 2002-09-17 10:29 UTC (permalink / raw)
  Cc: ding

Christoph Garbers <cgarbers@gmx.de> writes:

> When doing `M-x gnus', I get this backtrace[2]:
>
> Debugger entered--Lisp error: (wrong-type-argument symbolp (2))
>   byte-code("\bƒ\v\0\x182ÃMˆ‚\x10\0ÄÂÅ\"ˆ\bƒ^[\0ÆÇMˆ‚ \0ÄÆÅ\"ˆ	ƒ+\0ÈÉMˆ‚0\0ÄÈÅ\"ˆ	ƒ;\0ÊËMˆ‚@\0ÄÊÅ\"ˆÂ‡" [mm-emacs-mule mm-mule4-p mm-enable-multibyte #[nil "ÀÁ!‡" [set-buffer-multibyte t] 2 "Set the multibyte flag of the current buffer.\nOnly do this if the default value of `enable-multibyte-characters' is\nnon-nil.  This is a no-op in XEmacs."] defalias ignore mm-disable-multibyte #[nil "ÀÁ!‡" [set-buffer-multibyte nil] 2 "Unset the multibyte flag of in the current buffer.\nThis is a no-op in XEmacs."] mm-enable-multibyte-mule4 #[nil "ÀÁ!‡" [set-buffer-multibyte t] 2 "Enable multibyte in the current buffer.\nOnly used in Emacs Mule 4."] mm-disable-multibyte-mule4 #[nil "ÀÁ!‡" [set-buffer-multibyte nil] 2 "Disable multibyte in the current buffer.\nOnly used in Emacs Mule 4."]] 3)
>   require(mm-util)

This looks like byte compilation error to me.  They are usually caused
by compiling elisp with one flavour of emacs and using it with
another.  Is the gnus package byte compiling gnus correctly for all
your installed emacsen?




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

* Re: Problems with Emacs21 and Oort 0.08
  2002-09-17 10:29 ` Simon Josefsson
@ 2002-09-17 10:40   ` Christoph Garbers
  2002-09-17 19:41     ` Simon Josefsson
  0 siblings, 1 reply; 8+ messages in thread
From: Christoph Garbers @ 2002-09-17 10:40 UTC (permalink / raw)


Simon Josefsson wrote:

> This looks like byte compilation error to me.  They are usually caused
> by compiling elisp with one flavour of emacs and using it with
> another.  Is the gnus package byte compiling gnus correctly for all
> your installed emacsen?

I think so:

,--------
| edoras:/home/gabsi# apt-get install gnus
| Reading Package Lists... Done
| Building Dependency Tree... Done
| 1 packages upgraded, 0 newly installed, 0 to remove and 403 not upgraded.
| Need to get 1721kB of archives. After unpacking 0B will be used.
| Get:1 http://people.debian.org packages/ gnus 5.9.0-0.CVS.2002.09.16.1 [1721kB]
| Fetched 1721kB in 20s (82.8kB/s)
| (Reading database ... 44162 files and directories currently installed.)
| Preparing to replace gnus 5.9.0-0.CVS.2002.09.15.1 (using .../gnus_5.9.0-0.CVS.2002.09.16.1_all.deb) ...
| Unpacking replacement gnus ...
| Setting up gnus (5.9.0-0.CVS.2002.09.16.1) ...
| install/gnus: Ignoring emacs.
| install/gnus: Byte-compiling for emacs20...found emacs20 ..(emacs20 -batch -q -no-site-file    -l ./dgnushack.el -f dgnushack-compile)
| done.
| install/gnus: Byte-compiling for emacs21...found emacs21 ..(emacs21 -batch -q -no-site-file    -l ./dgnushack.el -f dgnushack-compile)
| done.
`--------

Christoph




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

* Re: Problems with Emacs21 and Oort 0.08
  2002-09-17 10:40   ` Christoph Garbers
@ 2002-09-17 19:41     ` Simon Josefsson
  2002-09-17 22:55       ` Christoph Garbers
  0 siblings, 1 reply; 8+ messages in thread
From: Simon Josefsson @ 2002-09-17 19:41 UTC (permalink / raw)
  Cc: ding

Christoph Garbers <cgarbers@gmx.de> writes:

> Simon Josefsson wrote:
>
>> This looks like byte compilation error to me.  They are usually caused
>> by compiling elisp with one flavour of emacs and using it with
>> another.  Is the gnus package byte compiling gnus correctly for all
>> your installed emacsen?
>
> I think so:

If you do M-x locate-library RET mm-util.elc RET and open the file and
look at it, it should (preferrably) have a header corresponding to the
emacs version you use.

Another idea is that the gnus package isn't built properly using the
distributed makefiles so it hasn't loaded the proper libraries to pick
up macros etc.




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

* Re: Problems with Emacs21 and Oort 0.08
  2002-09-17 19:41     ` Simon Josefsson
@ 2002-09-17 22:55       ` Christoph Garbers
  2002-09-18  8:37         ` Christoph Garbers
  0 siblings, 1 reply; 8+ messages in thread
From: Christoph Garbers @ 2002-09-17 22:55 UTC (permalink / raw)


Simon Josefsson wrote:

> If you do M-x locate-library RET mm-util.elc RET and open the file and
> look at it, it should (preferrably) have a header corresponding to the
> emacs version you use.

;;; Compiled by gabsi@edoras on Mon Sep 16 23:47:58 2002
;;; from file /usr/share/emacs/site-lisp/gnus/mm-util.el
;;; in Emacs version 21.2.1
;;; with bytecomp version 2.85
;;; with all optimizations.
 
> Another idea is that the gnus package isn't built properly using the
> distributed makefiles so it hasn't loaded the proper libraries to pick
> up macros etc.

Hm. I tested the same gnus package with Emacs 20, and everything is
fine. Very strange. 

Christoph




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

* Re: Problems with Emacs21 and Oort 0.08
  2002-09-17 22:55       ` Christoph Garbers
@ 2002-09-18  8:37         ` Christoph Garbers
  0 siblings, 0 replies; 8+ messages in thread
From: Christoph Garbers @ 2002-09-18  8:37 UTC (permalink / raw)


Christoph Garbers wrote:

> Hm. I tested the same gnus package with Emacs 20, and everything is
> fine. Very strange. 

I solved the problem. I removed the gnus package, the emacs20 package
and reinstalled gnus. Now everything works fine.

Thanks for your help, Frank and Simon!

Christoph




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

end of thread, other threads:[~2002-09-18  8:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-16 22:02 Problems with Emacs21 and Oort 0.08 Christoph Garbers
2002-09-17  8:25 ` Frank Schmitt
2002-09-17 10:08   ` Christoph Garbers
2002-09-17 10:29 ` Simon Josefsson
2002-09-17 10:40   ` Christoph Garbers
2002-09-17 19:41     ` Simon Josefsson
2002-09-17 22:55       ` Christoph Garbers
2002-09-18  8:37         ` Christoph Garbers

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).