emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More enhancements to fringe bitmaps.


From: YAMAMOTO Mitsuharu
Subject: Re: More enhancements to fringe bitmaps.
Date: Mon, 16 Feb 2004 19:22:59 +0900
User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On 15 Feb 2004 18:19:57 +0100, address@hidden (Kim F. Storm) said:

>> Thanks for considering 16-bit alignment.  But because PowerPC is
>> usually used in big-endian mode, byte-swapping is needed when
>> storing 16-bit data to unsigned short variable for the mac port.
>> Could you do byte-swapping in init_fringe_bitmap if both MAC_OS and
>> WORDS_BIG_ENDIAN are defined?

> Done.

A slight modification was needed to compile the mac port.

Index: src/fringe.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/fringe.c,v
retrieving revision 1.6
diff -c -r1.6 fringe.c
*** src/fringe.c        16 Feb 2004 04:53:28 -0000      1.6
--- src/fringe.c        16 Feb 2004 10:05:50 -0000
***************
*** 1067,1072 ****
--- 1067,1074 ----
  
  #if defined (MAC_OS) && defined (WORDS_BIG_ENDIAN)
        unsigned short *bits = fb->bits;
+       int j;
+ 
        for (j = 0; j < fb->height; j++)
        {
          unsigned short b = *bits;

>>>>> On Wed, 11 Feb 2004 11:54:11 +0900, YAMAMOTO Mitsuharu <address@hidden> 
>>>>> said:

> Yes.  (1) Launch the Carbon Emacs, (2) M-<, C-e, and hit the space
> bar four times to move the cursor to the right fringe area of the
> first line.  (3) C-x 2 to split the window.

> Just after 2), I see a hollow box cursor (should be a filled one),
> and 3) makes all cursors disappear.  I couldn't reproduce these
> phenomena on the X11 version.

I found another strange behaviour about this problem.  If I repeatedly
type C-l after (2), filled and hollow cursors are alternately
displayed in the fringe area.  Does this become a clue?

                                     YAMAMOTO Mitsuharu
                                address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]