From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#16856: 24.3.50; Cursor leaves garbage in fringe (and a request: width of fringes + scroll bar should be full characters) Date: Tue, 17 May 2016 21:06:01 +0200 Message-ID: References: <530AF78F.9080102@gmx.at> <530B24BD.7030700@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1143800093ea7605330e6e2e X-Trace: ger.gmane.org 1463538827 21976 80.91.229.3 (18 May 2016 02:33:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 May 2016 02:33:47 +0000 (UTC) Cc: 16856@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 18 04:33:31 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1b2rIh-0007nO-87 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 May 2016 04:33:31 +0200 Original-Received: from localhost ([::1]:42472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2rIY-0008Ui-9O for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 May 2016 22:33:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2qU7-0006zS-Dy for bug-gnu-emacs@gnu.org; Tue, 17 May 2016 21:41:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2kKc-0003vi-LO for bug-gnu-emacs@gnu.org; Tue, 17 May 2016 15:07:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2kKc-0003vb-FX for bug-gnu-emacs@gnu.org; Tue, 17 May 2016 15:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b2kKc-00049W-B6 for bug-gnu-emacs@gnu.org; Tue, 17 May 2016 15:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 May 2016 19:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 16856-submit@debbugs.gnu.org id=B16856.146351196815902 (code B ref 16856); Tue, 17 May 2016 19:07:02 +0000 Original-Received: (at 16856) by debbugs.gnu.org; 17 May 2016 19:06:08 +0000 Original-Received: from localhost ([127.0.0.1]:56276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2kJk-00048Q-9d for submit@debbugs.gnu.org; Tue, 17 May 2016 15:06:08 -0400 Original-Received: from mail-vk0-f52.google.com ([209.85.213.52]:33367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2kJi-00047t-Ks for 16856@debbugs.gnu.org; Tue, 17 May 2016 15:06:07 -0400 Original-Received: by mail-vk0-f52.google.com with SMTP id z184so32639608vkg.0 for <16856@debbugs.gnu.org>; Tue, 17 May 2016 12:06:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=EV9XtFMLbczWCLoJZAyoQ24+mMqLN1eMp44ki0rH0b4=; b=zjT3UoaCVAaW28CS/+7WbY2RQIHqbbsw5HbHn0TEmT+VXhF+OrWVUL3duVGAaC1elC FkpsZakMiAv1hFUCUJXGGf3tC7/2trwabcSpHi4bZSW3G4eJxhEKM3lRoVpBd0BI1x24 wD8WvXMwJWzc7w+bzeX1JqUNLeTSZjQ7lk36V8Uly6O2ff54Aspe8wVpI+RBYoajSsH3 zhPJvJB9RTfJfceqio6f3kdgswuz9XxQS89gfySbLraOYZbd7uydX9AUd8WHft6R4pPj Ei+O0fXNUAFjmPWRDumk630QppisG3oNEo1RehTkrgq9mNDnXRCjVZC+vQvOt8jQD5TS trEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=EV9XtFMLbczWCLoJZAyoQ24+mMqLN1eMp44ki0rH0b4=; b=QUjCJtiGbRMtaIMD1zPMxEqgkV/QhQ64lBuRgXOJhMbm4GtAhuAYEqtVBlGOX+GTvO Sh94lGZ2mWVkEN2dhd4oGOn8f4LU7+GV8ZcKoFJneaMqUhfIbic2ROWOC8lesNlF9jp+ jjkVbTOr4khoyZoQ7ow0+QvSBacbEu98DZkNFtNeT3TWW9doBwpH8eWP8u1M3CS07I2o fVkvbRQZePMnXr2A14dhuyKk2abLbOnm3HkxKcoiGd65F9wb72BFsJMQBVLzQn9Z0JXX c9YjEoDpOvOjTU/JO3yZagEGAdb00GoI7aMIG0B2DISlc+3MDUXSIIM9Y9nm8NFZDcK1 4taw== X-Gm-Message-State: AOPr4FW5H19tGGAbynd6GnvoBRiibKm+2hNxK5qEwHi9IOHTPB/jAC9VJYSmnD21fO7Sbk69H5P6aZPkaG/LsA== X-Received: by 10.31.182.84 with SMTP id g81mr1607176vkf.51.1463511961296; Tue, 17 May 2016 12:06:01 -0700 (PDT) Original-Received: by 10.31.214.131 with HTTP; Tue, 17 May 2016 12:06:01 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118372 Archived-At: --001a1143800093ea7605330e6e2e Content-Type: text/plain; charset=UTF-8 Hi! I can repeat this using a slightly different recipe: emacs -Q (setq truncate-partial-width-windows nil) C-x 3 C-x o C-u 37 x Here, the cursor which is in text area blinks, while the part in the fringe doesn't. Wait until the the cursor stop blinking C-a Now, the right fringe contains half a cursor. -- Anders On Tue, May 17, 2016 at 8:30 PM, Alan Third wrote: > martin rudalics writes: > > >> Another argument of not having a "odd" width is that when splitting > windows > >> side-by-side, you will end up with an unused gap to the right of almost > a > >> full character. Steps to repeat: > >> > >> emacs -Q > >> (setq truncate-partial-width-windows nil) C-j > >> C-x 3 > >> > >> Here, the right window have an unused space between the > rightmost > >> character and the fringe, the space is almost a character wide. It's not > >> possible to resize the frame manually to correct this, as the frame can > >> only be resized full characters (as it should be). (When > >> `truncate-partial-width-windows' is t, the gap is used to display a > partial > >> character.) > >> > >> To conclude, I would be much happier if the sum of the fringes and the > >> scroll bar would be an even five characters rather than five characters > and > >> one pixel, as it is today. > >> > >> The question is if this is due to some display bug (maybe OS X > specific) or > >> if this is the way it is supposed to work now? > > > > This used to happen with Emacs 24.3 here and should be gone now. But OS > > X still has the old extended fringes code in place - maybe that > > interferes. Could you try to remove it - I can't compile for OS X so I > > won't do that. If you want to know how, have a look at these changes: > > I believe this behaviour is no longer present in Emacs 25. > > I don't think there's anything else in this bug report that needs > addressed, and as such, I'll close it in a couple of weeks if nobody > objects. > -- > Alan Third > --001a1143800093ea7605330e6e2e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi!

I can repeat this using a slightly = different recipe:

=C2=A0 =C2=A0 emacs -Q
=C2=A0 =C2=A0=C2=A0(se= tq truncate-partial-width-windows nil)
=C2=A0 =C2=A0 C-x 3
=C2=A0 =C2=A0 C-x o
=C2=A0 =C2=A0 = C-u 37 x
=C2=A0 =C2=A0 =C2=A0 =C2=A0Here, the cursor which is in text area blinks= , while the part in the fringe doesn't.

=C2=A0 =C2=A0 =C2=A0 =C2=A0Wait until = the the cursor stop blinking
=C2=A0 =C2=A0 C-a
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Now, the rig= ht fringe contains half a cursor.

=C2=A0 =C2=A0 -- Anders


On T= ue, May 17, 2016 at 8:30 PM, Alan Third <alan@idiocy.org> wrot= e:
martin rudalics <<= a href=3D"mailto:rudalics@gmx.at">rudalics@gmx.at> writes:

>> Another argument of not having a "odd" width is that whe= n splitting windows
>> side-by-side, you will end up with an unused gap to the right of a= lmost a
>> full character. Steps to repeat:
>>
>>=C2=A0 =C2=A0 =C2=A0emacs -Q
>>=C2=A0 =C2=A0 =C2=A0(setq truncate-partial-width-windows nil) C-j >>=C2=A0 =C2=A0 =C2=A0C-x 3
>>
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Here, the right window have an un= used space between the rightmost
>> character and the fringe, the space is almost a character wide. It= 's not
>> possible to resize the frame manually to correct this, as the fram= e can
>> only be resized full characters (as it should be). (When
>> `truncate-partial-width-windows' is t, the gap is used to disp= lay a partial
>> character.)
>>
>> To conclude, I would be much happier if the sum of the fringes and= the
>> scroll bar would be an even five characters rather than five chara= cters and
>> one pixel, as it is today.
>>
>> The question is if this is due to some display bug (maybe OS X spe= cific) or
>> if this is the way it is supposed to work now?
>
> This used to happen with Emacs 24.3 here and should be gone now.=C2=A0= But OS
> X still has the old extended fringes code in place - maybe that
> interferes.=C2=A0 Could you try to remove it - I can't compile for= OS X so I
> won't do that.=C2=A0 If you want to know how, have a look at these= changes:

I believe this behaviour is no longer present in Emacs 25.

I don't think there's anything else in this bug report that needs addressed, and as such, I'll close it in a couple of weeks if nobody objects.
--
Alan Third

--001a1143800093ea7605330e6e2e--