Mercurial > emacs
view src/s/irix6-0.h @ 58058:3e39ea92134a
Fixed bug:
** line-spacing and garbage in fringe
From: SAITO Takuya <tabmore@rivo.mediatti.net>
Date: Mon, 31 May 2004 02:08:05 +0900 (JST)
Start emacs -Q and evaluate below with C-xC-e:
(let ((lines 2)
(spacing 1))
(setq line-spacing spacing
indicate-buffer-boundaries t)
(insert (make-string (window-height) ?\n))
(goto-char (point-min))
(message (make-string (* (window-width) lines) ?.))
(scroll-up 1))
then, garbage is displayed in right fringe.
Above code reproduces this bug with
(frame-parameter nil 'font)
=> "-Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1"
If you use different font, you may need different value of
`lines' and/or `spacing'.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Mon, 08 Nov 2004 23:37:16 +0000 |
parents | 695cf19ef79e |
children | 746805373b79 375f2633d815 |
line wrap: on
line source
#include "irix5-0.h" /* Irix 6 tries to do 64 bits, but doesn't do it fully, so inhibit that. */ #define IRIX_FORCE_32_BITS #ifndef __GNUC__ #define LD_SWITCH_SYSTEM -32 #endif /* This macro definition, which we inherited from irix5-0.h, is needed in configure on Irix 5, but gets in the way there on Irix 6. So get rid of it except in Makefile.in where we need it. */ #ifndef THIS_IS_MAKEFILE #undef C_SWITCH_SYSTEM #endif /* The only supported 32-bit configuration of GCC under IRIX6.x produces n32 MIPS ABI binaries and also supports -g. */ #ifdef __GNUC__ #undef C_DEBUG_SWITCH #define C_DEBUG_SWITCH -g #endif #undef SA_RESTART /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ #if 0 /* Cancel the #define that is in irix5-0.h. */ #undef ospeed #endif #undef TIOCSIGSEND /* Tested on Irix 6.5. SCM worked on earlier versions. */ #define GC_SETJMP_WORKS 1 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS /* arch-tag: a775e465-a619-4655-a58f-5982aad0c624 (do not change this comment) */