* emacs-19.24 being ported?
@ 1994-05-30 9:59 Karl Olav Lillevold
0 siblings, 0 replies; 6+ messages in thread
From: Karl Olav Lillevold @ 1994-05-30 9:59 UTC (permalink / raw)
I have seen a lot of requests about porting the newest version of GNU
emacs to OSF/1, and there was some discussion about some license
agreement from DEC.
However, what I would like to know is if anybody is actually working on
porting this "can't live without it"-utility?
--
Karl Olav Lillevold | Norwegian Telecom Research
Karl.Lillevold@nta.no | Image Sequence Compression
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs-19.24 being ported?
[not found] <KOL.94May31084452@mirage.nta.no>
@ 1994-05-31 9:05 ` Andreas Manessinger
1994-05-31 12:49 ` L.Rosenthaler
0 siblings, 1 reply; 6+ messages in thread
From: Andreas Manessinger @ 1994-05-31 9:05 UTC (permalink / raw)
>>>>> "Karl" == Karl Olav Lillevold <kol@mirage.nta.no> writes:
>>>>> "Karl" == Karl Olav Lillevold <kol@mirage.nta.no> writes:
Karl> I have seen a lot of requests about porting the newest
Karl> version of GNU emacs to OSF/1, and there was some discussion
Karl> about some license agreement from DEC.
Karl> However, what I would like to know is if anybody is actually
Karl> working on porting this "can't live without it"-utility?
Karl> I received a small patch from osyjm@schizo.coe.montana.edu
Karl> (Jaye Mathisen) which allowed me to compile emacs-19.24 with
Karl> ./configure alpha-dec-osf. I haven't tested it extensively,
Karl> but at least vm and gnus work.
Karl> If anybody wants the patch, let med know and I'll mail it
Karl> gzipped and uuencoded. -- Karl Olav Lillevold | Norwegian
Karl> Telecom Research Karl.Lillevold@nta.no | Image Sequence
Karl> Compression
Why not posting it? And, yes, I *DO* want it too :-!
--
_
|_) `Andreas.Manessinger@imrryr.adv.magwien.gv.at'
O###|\olemaster> Join the RM mailing list: `rolemaster@tidalwave.med.ge.com'
| ` Subscriptions to `rolemaster-request@tidalwave.med.ge.com'
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs-19.24 being ported?
1994-05-31 9:05 ` emacs-19.24 being ported? Andreas Manessinger
@ 1994-05-31 12:49 ` L.Rosenthaler
1994-05-31 13:20 ` Karl Olav Lillevold
0 siblings, 1 reply; 6+ messages in thread
From: L.Rosenthaler @ 1994-05-31 12:49 UTC (permalink / raw)
P L E A S E post the patch. I applied the patches for 19.22, and
many things do work, but it very often coredumps :-(
Lukas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs-19.24 being ported?
1994-05-31 12:49 ` L.Rosenthaler
@ 1994-05-31 13:20 ` Karl Olav Lillevold
1994-05-31 19:40 ` Henk Mos
0 siblings, 1 reply; 6+ messages in thread
From: Karl Olav Lillevold @ 1994-05-31 13:20 UTC (permalink / raw)
To: L.Rosenthaler
>>>>> "L" == L Rosenthaler <rosenth@iis.ethz.ch> writes:
L> P L E A S E post the patch. I applied the patches for 19.22,
L> and many things do work, but it very often coredumps :-(
I was a bit quick with my last posting. Patching and compiling went
fine, and also the first tests. However, once I tried the scrollbar, I
found out that the floating point stuff is broken.
I don't know how fix this.
Sorry.
--
Karl Olav Lillevold | Norwegian Telecom Research
Karl.Lillevold@nta.no | Image Sequence Compression
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs-19.24 being ported?
1994-05-31 13:20 ` Karl Olav Lillevold
@ 1994-05-31 19:40 ` Henk Mos
1994-06-01 5:09 ` emacs-19.24 being ported to alpha ? Stefan Monnier
0 siblings, 1 reply; 6+ messages in thread
From: Henk Mos @ 1994-05-31 19:40 UTC (permalink / raw)
In <KOL.94May31152009@mirage.nta.no> kol@mirage.nta.no (Karl Olav Lillevold) writes:
>I was a bit quick with my last posting. Patching and compiling went
>fine, and also the first tests. However, once I tried the scrollbar, I
>found out that the floating point stuff is broken.
>I don't know how fix this.
Yes, I had the same problem. There is a bitshift problem with the
float-to-int conversion in floatfns.c. Compiling with gcc will show the
warnings.
floatfns.c has a lot of changes compared to 19.22 but I closed my eyes
and replaced it with the 19.22 version and recompiled.
Everything (including scrollbar) works fine now.
It's not a solution, I know. Just a quick hack.
/Henk
--
----------------------------------------------------------------------
Henk J. Mos, Dept of Physics and Astrophysics, Utrecht University
The Netherlands. Phone: 31-30-532239 Email: mos@fys.ruu.nl
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs-19.24 being ported to alpha ?
1994-05-31 19:40 ` Henk Mos
@ 1994-06-01 5:09 ` Stefan Monnier
0 siblings, 0 replies; 6+ messages in thread
From: Stefan Monnier @ 1994-06-01 5:09 UTC (permalink / raw)
In article <mos.770413214@ruunat.fys.ruu.nl>, Henk Mos <mos@fys.ruu.nl> wrote:
> Yes, I had the same problem. There is a bitshift problem with the
> float-to-int conversion in floatfns.c. Compiling with gcc will show the
> warnings.
> floatfns.c has a lot of changes compared to 19.22 but I closed my eyes
> and replaced it with the 19.22 version and recompiled.
> Everything (including scrollbar) works fine now.
Another "solution" is to correct the bitshifts.
The problem is pretty simple (as explained by gcc): the shift is too
big for the data type. Actually the reason it is too big is because
it's done on a constant "1" which is considered as int, whereas the
shift assumes it is a long. Replacing it with "1L" tells the compiler
it's a long. I also changed the subsequent cast to int into a cast to
long.. don't know if it helps or hurts or does nothing, but...
The scrollbars seem to work now, at least.
The floatfns.c file looks like this now (from line 178):
--------------------------------------------------------------------
...
/* Convert float to Lisp_Int if it fits, else signal a range error
using the given arguments. */
#define FLOAT_TO_INT(x, i, name, num) \
do \
{ \
if ((x) >= (1L << (VALBITS-1)) || (x) <= - (1L << (VALBITS-1)) - 1) \
range_error (name, num); \
XSET (i, Lisp_Int, (long)(x)); \
} \
while (0)
#define FLOAT_TO_INT2(x, i, name, num1, num2) \
do \
{ \
if ((x) >= (1L << (VALBITS-1)) || (x) <= - (1L << (VALBITS-1)) - 1) \
range_error2 (name, num1, num2); \
XSET (i, Lisp_Int, (long)(x)); \
} \
while (0)
...
---------------------------------------------------------------------
I don't feel very comfortable with that fix (probably because it's not
really portable as far as I know), but it works on my alpha, so I'm
happy.
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1994-06-01 5:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <KOL.94May31084452@mirage.nta.no>
1994-05-31 9:05 ` emacs-19.24 being ported? Andreas Manessinger
1994-05-31 12:49 ` L.Rosenthaler
1994-05-31 13:20 ` Karl Olav Lillevold
1994-05-31 19:40 ` Henk Mos
1994-06-01 5:09 ` emacs-19.24 being ported to alpha ? Stefan Monnier
1994-05-30 9:59 emacs-19.24 being ported? Karl Olav Lillevold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox