all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: mituharu@math.s.chiba-u.ac.jp
Cc: bug-gnu-emacs@gnu.org, HStevens@muohio.edu
Subject: Re: Crash when using scroll bar in Carbon port (keyboard.c:3010)
Date: Mon, 14 Jan 2008 12:23:34 +0900	[thread overview]
Message-ID: <wl1w8lm6o9.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <78799615-0cdf-48c9-85b7-1716fcc93470@e23g2000prf.googlegroups.com>

>>>>> On Sun, 13 Jan 2008 07:41:03 -0800 (PST), David Reitter <david.reitter@gmail.com> said:

> It was enough to visit the .Rnw file (as added below in this
> e-mail), resize the frame so that there is a vertical scroll bar and
> one can scroll around, and then drag the thumb back and forth.

As a general note, please add some information about third-party
packages if they are necessary for reproducing the problem on the
standard Emacs distribution, because this is a list for bug reports
about Emacs.  Anyway, I tried ess-5.3.6 with the Carbon port, but
could not reproduce the problem.

This is just a random guess, but could you try the following patch and
see if the situation changes?

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

Index: src/macterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/macterm.c,v
retrieving revision 1.214.2.12
diff -c -p -r1.214.2.12 macterm.c
*** src/macterm.c	8 Jan 2008 04:29:56 -0000	1.214.2.12
--- src/macterm.c	14 Jan 2008 03:03:41 -0000
*************** void
*** 5581,5588 ****
  x_scroll_bar_clear (f)
       FRAME_PTR f;
  {
!   XTcondemn_scroll_bars (f);
!   XTjudge_scroll_bars (f);
  }
  
  \f
--- 5581,5600 ----
  x_scroll_bar_clear (f)
       FRAME_PTR f;
  {
!   Lisp_Object bar;
! 
!   /* We can have scroll bars even if this is 0,
!      if we just turned off scroll bar mode.
!      But in that case we should not clear them.  */
!   if (FRAME_HAS_VERTICAL_SCROLL_BARS (f))
!     {
! #if USE_CG_DRAWING
!       mac_prepare_for_quickdraw (f);
! #endif
!       for (bar = FRAME_SCROLL_BARS (f); VECTORP (bar);
! 	   bar = XSCROLL_BAR (bar)->next)
! 	Draw1Control (SCROLL_BAR_CONTROL_HANDLE (XSCROLL_BAR (bar)));
!     }
  }
  
  \f




  reply	other threads:[~2008-01-14  3:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-03 19:39 Crash when using scroll bar in Carbon port (keyboard.c:3010) David Reitter
2008-01-03 20:18 ` David Reitter
2008-01-03 20:25   ` Dan Nicolaescu
     [not found]   ` <mailman.5668.1199392066.18990.bug-gnu-emacs@gnu.org>
2008-01-04 12:53     ` Ted Zlatanov
2008-01-04 14:20       ` David Reitter
2008-01-04 18:02         ` Dan Nicolaescu
2008-01-05 17:36           ` David Reitter
2008-01-06  1:14             ` Dan Nicolaescu
2008-01-07  9:30         ` YAMAMOTO Mitsuharu
     [not found]         ` <mailman.5815.1199698265.18990.bug-gnu-emacs@gnu.org>
2008-01-13 15:41           ` David Reitter
2008-01-14  3:23             ` YAMAMOTO Mitsuharu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-01-15 10:54 David Reitter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wl1w8lm6o9.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=HStevens@muohio.edu \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.