🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #2204

Re: Epoch 3.2 problems under HPUX

#2204
From: Alan M. Carroll
Date: Tue, 19 Feb 1991 14:37
31 lines
2076 bytes
In article <9102190752.AA24995@yc1.yc.estec.nl>, neil@yc.estec.nl (Neil Dixon) writes:
> 
> When using Epoch 3.2 under HPUX 7.0 on an HP 835, I often get the following
> message on pressing a mouse button
> 
> Wrong type argument: buttonp, #<EMACS BUG: ILLEGAL DATATYPE(#o3777777777767> 
> save your buffers immediately and please report this bug.

This is a bug we inherited from GNU Emacs. The problem is in the
m-hp9000s800.h file. The definitions for XMARKBIT and XSETMARKBIT are
wrong. The definitions around line 137 should look like:

/* The standard definitions of these macros would work ok,
   but these are faster because the constants are short. */
   

#define XUINT(a) (((unsigned)(a) << INTBITS-VALBITS) >> INTBITS-VALBITS)

#define XSET(var, type, ptr) \
   ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << INTBITS-VALBITS) >> INTBITS-VALBITS))

#define XSETINT(a, b)  XSET(a, XTYPE(a), b)
#define XSETUINT(a, b) XSET(a, XTYPE(a), b)
#define XSETPNTR(a, b) XSET(a, XTYPE(a), b)
#define XMARKBIT(a) ((a) < 0)
#define XSETMARKBIT(a,b) ((a) = ((b) ? (a)|MARKBIT : (a) & ~MARKBIT))

-- 
Alan M. Carroll                "I hate shopping with the reality-impaired"
Epoch Development Team                 - Susan
CS Grad / U of Ill @ Urbana    ...{ucbvax,pur-ee,convex}!cs.uiuc.edu!carroll
Technical Details
Message-ID: <1991Feb19.143737.24665@ux1.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!sdd.hp.com!news.cs.indiana.edu!ux1.cso.uiuc.edu!uiucdcs!carroll
References: <9102190752.AA24995@yc1.yc.estec.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,687886fa427178b5
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-02-19 09:57:21 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!sdd.hp.com!news.cs.indiana.edu!ux1.cso.uiuc.edu!uiucdcs!carroll
From: carroll@cs.uiuc.edu (Alan M. Carroll)
Newsgroups: gnu.epoch.misc
Subject: Re: Epoch 3.2 problems under HPUX
Message-ID: <1991Feb19.143737.24665@ux1.cso.uiuc.edu>
Date: 19 Feb 91 14:37:37 GMT
References: <9102190752.AA24995@yc1.yc.estec.nl>
Sender: news@ux1.cso.uiuc.edu (News)
Reply-To: carroll@cs.uiuc.edu (Alan M. Carroll)
Distribution: gnu
Organization: Technophiles Inc. - Engineers with Attitude
Lines: 31
Posted: Tue Feb 19 08:37:37 1991