From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Emacs Mac port Date: Mon, 11 Jun 2012 16:29:51 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: dough.gmane.org 1339399809 26990 80.91.229.3 (11 Jun 2012 07:30:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jun 2012 07:30:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 11 09:30:06 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sdz4c-0000x7-JG for ged-emacs-devel@m.gmane.org; Mon, 11 Jun 2012 09:30:02 +0200 Original-Received: from localhost ([::1]:52376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sdz4c-0002FP-9d for ged-emacs-devel@m.gmane.org; Mon, 11 Jun 2012 03:30:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sdz4Z-0002EF-Od for emacs-devel@gnu.org; Mon, 11 Jun 2012 03:30:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sdz4X-0000fE-RM for emacs-devel@gnu.org; Mon, 11 Jun 2012 03:29:59 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:51345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sdz4X-0000el-Bh for emacs-devel@gnu.org; Mon, 11 Jun 2012 03:29:57 -0400 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 A59A5C055D for ; Mon, 11 Jun 2012 16:29:51 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by eggs.gnu.org: NetBSD 3.0 (DF) X-Received-From: 133.82.132.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150890 Archived-At: >>>>> On Sun, 10 Jun 2012 18:29:26 +0900, YAMAMOTO Mitsuharu said: > Emacs 24 Mac port 3.0 is now available from > ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-24.1-mac-3.0.tar.gz > This version is based on Emacs 24.1. It turned out that the pixel-based mouse wheel smooth scroll had a problem: scrolling up the contents of a buffer with a header line is sometimes jumpy. Please apply the patch below. Sorry for the inconvenience. (This is due to some incompatibility between Emacs 23 and 24 I overlooked, so do not apply it to Emacs 23 Mac port 2.1 .) YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp === modified file 'lisp/term/mac-win.el' *** lisp/term/mac-win.el 2012-06-01 11:45:25 +0000 --- lisp/term/mac-win.el 2012-06-11 07:14:04 +0000 *************** *** 1977,1982 **** --- 1977,1987 ---- (cadr (pos-visible-in-window-p (posn-point target-posn) nil t))) (scrolled-pixel-height (- target-y first-y))) + ;; Emacs 23 -> 24 incompatibility: the + ;; actual row part of POSITION now counts + ;; the header line. + (if header-line-height + (setq target-row (1- target-row))) (scroll-up (if (= delta-y scrolled-pixel-height) target-row (1+ target-row)))