From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: More enhancements to fringe bitmaps. Date: Mon, 16 Feb 2004 19:22:59 +0900 Organization: Faculty of Science, Chiba University Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040215.003102.212295326.mituharu@math.s.chiba-u.ac.jp> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1076927306 9162 80.91.224.253 (16 Feb 2004 10:28:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Feb 2004 10:28:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Feb 16 11:28:03 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Asfys-0005kS-00 for ; Mon, 16 Feb 2004 11:28:02 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Asfys-000749-00 for ; Mon, 16 Feb 2004 11:28:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Asfv4-0004ij-Tg for emacs-devel@quimby.gnus.org; Mon, 16 Feb 2004 05:24:06 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Asfuc-0004cV-8Y for emacs-devel@gnu.org; Mon, 16 Feb 2004 05:23:38 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Asfu4-0004Qi-Ig for emacs-devel@gnu.org; Mon, 16 Feb 2004 05:23:36 -0500 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Asfu3-0004Oc-AF for emacs-devel@gnu.org; Mon, 16 Feb 2004 05:23:03 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 92CF61A63B6; Mon, 16 Feb 2004 19:22:59 +0900 (JST) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: 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) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19965 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19965 >>>>> On 15 Feb 2004 18:19:57 +0100, storm@cua.dk (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 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 mituharu@math.s.chiba-u.ac.jp