From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Bidi reordering engine upgraded Date: Sat, 18 Oct 2014 14:34:06 +0200 Message-ID: <29ADC056-D9F9-461C-9D2E-D7F4AC5EE72F@swipnet.se> References: <834mv55quj.fsf@gnu.org> <543E9122.6070605@yandex.ru> <8338ap5o7l.fsf@gnu.org> <543E9A1C.2010904@yandex.ru> <831tq95m6x.fsf@gnu.org> <83zjcx450f.fsf@gnu.org> <83y4sh43zq.fsf@gnu.org> <543F41C9.3000507@yandex.ru> <83oatc4gz3.fsf@gnu.org> <1D1BD06B-BCE5-44A0-8F9D-4A7F0DF41504@swipnet.se> <83mw8u1qn8.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1413635682 13399 80.91.229.3 (18 Oct 2014 12:34:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2014 12:34:42 +0000 (UTC) Cc: dmantipov@yandex.ru, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 18 14:34:35 2014 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 1XfTDO-0007t7-N2 for ged-emacs-devel@m.gmane.org; Sat, 18 Oct 2014 14:34:34 +0200 Original-Received: from localhost ([::1]:36564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfTDO-0001p0-Bu for ged-emacs-devel@m.gmane.org; Sat, 18 Oct 2014 08:34:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfTDF-0001n0-9c for emacs-devel@gnu.org; Sat, 18 Oct 2014 08:34:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfTD9-0003H8-DJ for emacs-devel@gnu.org; Sat, 18 Oct 2014 08:34:25 -0400 Original-Received: from mailfe04.swip.net ([212.247.154.97]:51523 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfTD3-0003FM-1G; Sat, 18 Oct 2014 08:34:13 -0400 X-T2-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_20 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe04.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 539431645; Sat, 18 Oct 2014 14:34:08 +0200 In-Reply-To: <83mw8u1qn8.fsf@gnu.org> X-Mailer: Apple Mail (2.1878.6) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.97 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:175535 Archived-At: Hi. 17 okt 2014 kl. 20:45 skrev Eli Zaretskii : > > /* Compute frame-relative coordinates for phys cursor. */ > get_phys_cursor_geometry (w, row, cursor_glyph, &x, &y, &h); > - wd = w->phys_cursor_width; > + wd = w->phys_cursor_width - 1; Are we sure this never becomes negative? I suggest you check it in so we can test it. Do we have a test case? Jan D.