From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 01 10:18:41 2012 Received: (at submit) by debbugs.gnu.org; 1 Jul 2012 14:18:41 +0000 Received: from localhost ([127.0.0.1]:40428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlKz3-0002sz-1l for submit@debbugs.gnu.org; Sun, 01 Jul 2012 10:18:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:32901) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlKz0-0002sr-An for submit@debbugs.gnu.org; Sun, 01 Jul 2012 10:18:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SlKuc-0006g4-Hp for submit@debbugs.gnu.org; Sun, 01 Jul 2012 10:14:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:46380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlKuc-0006fz-EV for submit@debbugs.gnu.org; Sun, 01 Jul 2012 10:14:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlKua-0004Bb-QQ for bug-gnu-emacs@gnu.org; Sun, 01 Jul 2012 10:14:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SlKuY-0006fK-R6 for bug-gnu-emacs@gnu.org; Sun, 01 Jul 2012 10:14:04 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:20631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlKuY-0006fB-L2 for bug-gnu-emacs@gnu.org; Sun, 01 Jul 2012 10:14:02 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q61EDwu9021668 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 1 Jul 2012 14:13:59 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q61EDw0P025979 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 1 Jul 2012 14:13:58 GMT Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q61EDwGv015513 for ; Sun, 1 Jul 2012 09:13:58 -0500 Received: from dradamslap1 (/10.159.223.217) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 01 Jul 2012 07:13:57 -0700 From: "Drew Adams" To: Subject: 24.1.50; enhancement request: line truncation not dependent on fringe Date: Sun, 1 Jul 2012 07:13:47 -0700 Message-ID: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac1Xk7swRfqs2GSJQZqjSD2c9GsyEQ== X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Prior to Emacs 21, truncated lines are indicated by an overlay with a `$' symbol shown on each line at the right window edge, i.e., within the window & buffer - not in the fringe. This is a reasonable indication of whether a given line is truncated. In Emacs 21+, this representation was lost AFAIK, replaced by adding a symbol to the right fringe. That representation is reasonable ONLY when a user chooses to show the right fringe. Otherwise, it is useless: it does not tell you which lines are truncated. Please let users choose the representation to use. One way to do this would be to let option `truncate-lines' respect different non-nil values, e.g. `right-fringe', `overlay'. Since the fringe representation is not general (is useless unless fringe is shown), the default should be the pre-Emacs 21 behavior of using an overlay. But I won't argue about the default. Please provide users a way to get the pre-21 behavior - that's the main point. A third distinguised non-nil value, `fringe-if-shown', could use the right fringe if it is shown and an overlay if not. That too would be a reasonable default value. It could in fact be the behavior for an undistinguished non-nil value, i.e., any value other than `right-fringe' and `overlay'. In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600) of 2012-06-18 on MARVIN Bzr revision: 108646 michael.albinus@gmx.de-20120617185439-jfcgwwbr97nbflkz Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --no-opt --enable-checking --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 01 12:13:42 2012 Received: (at 11832) by debbugs.gnu.org; 1 Jul 2012 16:13:42 +0000 Received: from localhost ([127.0.0.1]:40503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlMmM-0005Pl-7F for submit@debbugs.gnu.org; Sun, 01 Jul 2012 12:13:42 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:48449) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlMmK-0005Pd-Da for 11832@debbugs.gnu.org; Sun, 01 Jul 2012 12:13:41 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M6H00700OUIFF00@a-mtaout20.012.net.il> for 11832@debbugs.gnu.org; Sun, 01 Jul 2012 19:09:07 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M6H007G0OV7EK10@a-mtaout20.012.net.il>; Sun, 01 Jul 2012 19:09:07 +0300 (IDT) Date: Sun, 01 Jul 2012 19:09:00 +0300 From: Eli Zaretskii Subject: Re: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe In-reply-to: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> X-012-Sender: halo1@inter.net.il To: Drew Adams Message-id: <831ukv79b7.fsf@gnu.org> References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11832 Cc: 11832@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: "Drew Adams" > Date: Sun, 1 Jul 2012 07:13:47 -0700 > > Prior to Emacs 21, truncated lines are indicated by an overlay with a > `$' symbol shown on each line at the right window edge, i.e., within the > window & buffer - not in the fringe. Just for the sake of accuracy: those are not overlays (in the Emacs sense). They are special glyphs inserted by the display engine as indication of line truncation. > In Emacs 21+, this representation was lost AFAIK, replaced by adding a > symbol to the right fringe. Only in GUI sessions. If you invoke "emacs -nw", you will still see those truncation glyphs. > Please let users choose the representation to use. One way to do this > would be to let option `truncate-lines' respect different non-nil > values, e.g. `right-fringe', `overlay'. > > Since the fringe representation is not general (is useless unless fringe > is shown), the default should be the pre-Emacs 21 behavior of using an > overlay. But I won't argue about the default. Please provide users a > way to get the pre-21 behavior - that's the main point. Unfortunately, it is very hard (a.k.a. "impossible") to do that. The problem is that, depending on the font and the characters on a line, a line can be truncated in the middle of a glyph, and in that situation inserting a truncation glyph will not work, because for that you need a character cell that can accommodate the truncation glyph "$". There are clear comments about that in the display code. However, if someone finds a clever solution to this dilemma, patches or ideas are welcome. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 01 12:57:36 2012 Received: (at 11832) by debbugs.gnu.org; 1 Jul 2012 16:57:36 +0000 Received: from localhost ([127.0.0.1]:40537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlNSp-0006PF-Ho for submit@debbugs.gnu.org; Sun, 01 Jul 2012 12:57:35 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:40245) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlNSn-0006P7-D0 for 11832@debbugs.gnu.org; Sun, 01 Jul 2012 12:57:34 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q61Gr051029086 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 1 Jul 2012 16:53:01 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q61Gr0MU022862 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 1 Jul 2012 16:53:00 GMT Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q61GqxAu008136; Sun, 1 Jul 2012 11:52:59 -0500 Received: from dradamslap1 (/10.159.223.217) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 01 Jul 2012 09:52:59 -0700 From: "Drew Adams" To: "'Eli Zaretskii'" References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> <831ukv79b7.fsf@gnu.org> Subject: RE: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe Date: Sun, 1 Jul 2012 09:52:48 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <831ukv79b7.fsf@gnu.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac1Xo9ncfAIl040ySuerIhHUtmsV4gAA80jg X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11832 Cc: 11832@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > Just for the sake of accuracy: those are not overlays (in the Emacs > sense). They are special glyphs inserted by the display engine as > indication of line truncation. Thank you. I wondered about that. I even searched the C code, but I didn't find any occurrence of "$" or its char number. I just guessed that an overlay was used, as it did not seem to be just text in the buffer. > > In Emacs 21+, this representation was lost AFAIK, replaced > > by adding a symbol to the right fringe. > > Only in GUI sessions. If you invoke "emacs -nw", you will still see > those truncation glyphs. OK, it was lost only in GUI sessions. And the fact that it is kept for non-GUI, instead of simply truncating the text with no truncation indicator, argues strongly in favor of it for GUI too whenever the right fringe is not shown. > > Please let users choose the representation to use. One way > > to do this would be to let option `truncate-lines' respect > > different non-nil values, e.g. `right-fringe', `overlay'. > > > > Since the fringe representation is not general (is useless > > unless fringe is shown), the default should be the pre-Emacs > > 21 behavior of using an overlay. But I won't argue about the > > default. Please provide users a way to get the pre-21 behavior > > - that's the main point. > > Unfortunately, it is very hard (a.k.a. "impossible") to do that. The > problem is that, depending on the font and the characters on a line, a > line can be truncated in the middle of a glyph, and in that situation > inserting a truncation glyph will not work, because for that you need > a character cell that can accommodate the truncation glyph "$". There > are clear comments about that in the display code. You seem to be saying that the result will not look good in 100% of the situations users will encounter. Still, some user choice in the matter is a lot better than none. If a user does not like what s?he sees she can revert to the more limited display - IOW, s?he can _choose_ what is today a non-choice. Turn off fringe display and you will quickly see what I mean: there is _nothing_ to distinguish a truncated line from one that is not truncated. That is not good. Imagine if that were the choice for non-GUI Emacs - what would your reaction be? > However, if someone finds a clever solution to this dilemma, patches > or ideas are welcome. Just sacrifice 100% perfection. Give users the choice, at least. We should not wait for someone to "find a clever solution to this dilemna". That sounds like a recipe for doing nothing forever. Pre-fringe Emacs (18...20) had it right. As soon as someone added fringe we lost this (baby...bathwater). Even if Emacs now handles glyphs or whatever differently than it did in Emacs 20, and even if the partial solution you describe will not be perfect, it will be a heck of a lot better than having _no_ indication of which lines are truncated. This is all the more important because line truncation can be used to reduce horizontal real estate, whereas showing the fringe increases the real estate used. The Emacs 18...20 display used a minimal amount of horizontal space (like the non-GUI display does still). That should be an option for users. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 01 13:20:46 2012 Received: (at 11832) by debbugs.gnu.org; 1 Jul 2012 17:20:46 +0000 Received: from localhost ([127.0.0.1]:40555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlNpG-0006uh-3J for submit@debbugs.gnu.org; Sun, 01 Jul 2012 13:20:46 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:58738) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlNpD-0006uZ-BI for 11832@debbugs.gnu.org; Sun, 01 Jul 2012 13:20:45 -0400 Received: from frontend4.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 3WQJD50P9Zz3hhcJ; Sun, 1 Jul 2012 19:16:36 +0200 (CEST) Received: from igel.home (ppp-88-217-103-97.dynamic.mnet-online.de [88.217.103.97]) by mail.mnet-online.de (Postfix) with ESMTPA id 3WQJCZ4pKYzbbsY; Sun, 1 Jul 2012 19:16:10 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 26890CA2A5; Sun, 1 Jul 2012 19:16:09 +0200 (CEST) From: Andreas Schwab To: "Drew Adams" Subject: Re: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> <831ukv79b7.fsf@gnu.org> X-Yow: I once decorated my apartment entirely in ten foot salad forks!! Date: Sun, 01 Jul 2012 19:16:09 +0200 In-Reply-To: (Drew Adams's message of "Sun, 1 Jul 2012 09:52:48 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11832 Cc: 'Eli Zaretskii' , 11832@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) "Drew Adams" writes: > Pre-fringe Emacs (18...20) had it right. It didn't have variable width fonts. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 01 13:31:13 2012 Received: (at 11832) by debbugs.gnu.org; 1 Jul 2012 17:31:13 +0000 Received: from localhost ([127.0.0.1]:40559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlNzN-00079O-FQ for submit@debbugs.gnu.org; Sun, 01 Jul 2012 13:31:13 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:55165) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlNzK-00079G-Vm for 11832@debbugs.gnu.org; Sun, 01 Jul 2012 13:31:12 -0400 Received: from frontend4.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 3WQJSF165Rz4KK6f; Sun, 1 Jul 2012 19:27:08 +0200 (CEST) Received: from igel.home (ppp-88-217-103-97.dynamic.mnet-online.de [88.217.103.97]) by mail.mnet-online.de (Postfix) with ESMTPA id 3WQJRg05cGzbbtf; Sun, 1 Jul 2012 19:26:39 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id AD47ACA2A5; Sun, 1 Jul 2012 19:26:38 +0200 (CEST) From: Andreas Schwab To: "Drew Adams" Subject: Re: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> <831ukv79b7.fsf@gnu.org> X-Yow: Darling, my ELBOW is FLYING over FRANKFURT, Germany.. Date: Sun, 01 Jul 2012 19:26:38 +0200 In-Reply-To: (Drew Adams's message of "Sun, 1 Jul 2012 09:52:48 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11832 Cc: 'Eli Zaretskii' , 11832@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) "Drew Adams" writes: > This is all the more important because line truncation can be used to reduce > horizontal real estate, whereas showing the fringe increases the real estate > used. The Emacs 18...20 display used a minimal amount of horizontal space (like > the non-GUI display does still). That should be an option for users. The truncation glyph always occupies one column, even if not shown. If you configure your fringe to only show on the right you get (or lose) exactly the same amount of space. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 01 13:39:06 2012 Received: (at 11832) by debbugs.gnu.org; 1 Jul 2012 17:39:06 +0000 Received: from localhost ([127.0.0.1]:40565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlO70-0007Jj-CZ for submit@debbugs.gnu.org; Sun, 01 Jul 2012 13:39:06 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:42414) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlO6y-0007Jb-BG for 11832@debbugs.gnu.org; Sun, 01 Jul 2012 13:39:05 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M6H00A00SIE1X00@a-mtaout21.012.net.il> for 11832@debbugs.gnu.org; Sun, 01 Jul 2012 20:34:31 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M6H009HASTGSS90@a-mtaout21.012.net.il>; Sun, 01 Jul 2012 20:34:29 +0300 (IDT) Date: Sun, 01 Jul 2012 20:34:22 +0300 From: Eli Zaretskii Subject: Re: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe In-reply-to: X-012-Sender: halo1@inter.net.il To: Drew Adams Message-id: <83vci75qsh.fsf@gnu.org> References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> <831ukv79b7.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11832 Cc: 11832@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: "Drew Adams" > Cc: <11832@debbugs.gnu.org> > Date: Sun, 1 Jul 2012 09:52:48 -0700 > > > Just for the sake of accuracy: those are not overlays (in the Emacs > > sense). They are special glyphs inserted by the display engine as > > indication of line truncation. > > Thank you. I wondered about that. I even searched the C code, but I didn't > find any occurrence of "$" or its char number. I just guessed that an overlay > was used, as it did not seem to be just text in the buffer. Search for "truncation_glyph". > > However, if someone finds a clever solution to this dilemma, patches > > or ideas are welcome. > > Just sacrifice 100% perfection. I understand the principle, but not the particulars. What do you suggest that the display engine do when it bumps into the case I described? not display the truncation glyph in that case? something else? IOW, what is the solution you suggest, exactly? > Pre-fringe Emacs (18...20) had it right. As soon as someone added fringe we > lost this (baby...bathwater). As Andreas points out, the reason was not the fringe, it was the variable-width fonts. Emacs 20 only supported fixed fonts, so it essentially worked as a TTY display. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 01 17:46:17 2012 Received: (at 11832) by debbugs.gnu.org; 1 Jul 2012 21:46:17 +0000 Received: from localhost ([127.0.0.1]:40708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlRyD-0004LL-86 for submit@debbugs.gnu.org; Sun, 01 Jul 2012 17:46:17 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:17676) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlRyA-0004LB-Jg for 11832@debbugs.gnu.org; Sun, 01 Jul 2012 17:46:15 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q61LfeTH004894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 1 Jul 2012 21:41:41 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q61LfdGf017797 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 1 Jul 2012 21:41:40 GMT Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q61LfdwH013238; Sun, 1 Jul 2012 16:41:39 -0500 Received: from dradamslap1 (/10.159.223.217) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 01 Jul 2012 14:41:39 -0700 From: "Drew Adams" To: "'Andreas Schwab'" References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com><831ukv79b7.fsf@gnu.org> Subject: RE: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe Date: Sun, 1 Jul 2012 14:41:27 -0700 Message-ID: <6B62C19B9B1048BE93FBBD30576B8EB5@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac1Xrq4SRHlcX6CjSJmvz8RuMylYYgAGdJmQ X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11832 Cc: 'Eli Zaretskii' , 11832@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) AS> The truncation glyph always occupies one column, even AS> if not shown. If you configure your fringe to only show AS> on the right you get (or lose) exactly the same amount AS> of space. Fair enough; good point. The real point of the bug report, however, is that unless a user turns on fringe display s?he has NO indication of which lines are truncated. That's not good. EL>>> However, if someone finds a clever solution to this EL>>> dilemma, patches or ideas are welcome. > > > > Just sacrifice 100% perfection. > EL> I understand the principle, but not the particulars. EL> What do you suggest that the display engine do when it EL> bumps into the case I described? not display the truncation EL> glyph in that case? something else? EL> EL> IOW, what is the solution you suggest, exactly? I reported the bug (from enhancement request to regression, depending on your point of view). I do not claim to have a solution, let alone the best solution. However, if nothing else, i.e., if you cannot find any way to let users with fringe turned off see which lines are truncated, then consider adding a user option that has a value that turns fringe on automatically for any frame containing a window that shows line truncation. IOW, let users choose to have line truncation automatically display fringe. (Even better would be to have an option value `show-minimally' that shows the minimal fringe as needed - e.g. `right-only' if all text shown in the frame is left-to-right, `left-only' if all is right-to-left, etc.) Obviously, such an option should have an effect only if fringe is not already displayed - they would not cause fringe to disappear when no truncation, if the user asked for fringe. [IIUC, the presence or absence of fringe is frame-specific at best, and not window-specific, which means that the entire frame would need to be affected for truncation-provoked fringe display. That, in spite of the fact that the Emacs manual presents fringe in a node entitled `Window Fringes', and it speaks of windows having fringes and not of frames having fringes. It is true that the fringe symbols used can be different depending on the buffers displayed in individual windows, but IIUC all of the windows in a given frame either have or do not have fringe along the same edge(s).] Let me be clear BTW about my motivation: I use Emacs with fringes turned off. And I use it with line truncation turned off (although it gets turned on automatically in contexts such as the debugger). I am not asking for a fix to this bug for myself but for Emacs. I simply recognize that something was lost for users in moving to Emacs 21. It seems wrong that users who choose not to show fringe have no way of knowing which lines are truncated. I hope that at least the same subset of use cases that existed prior to Emacs 21 can have truncation indication restored in some way. I do not know exactly what that subset is (only fixed fonts in a given frame?). But in the context of that subset, which I imagine is not a rare context, Emacs should be able to DTRT, one way or another. --- BTW, I looked for index entries matching `.*bidirect.*' and found only one: `bidirectional editing'. There are 2 other entries for `bidi*', aimed at the same node. In that node it mentions that individual paragraphs that are r-to-l show text continued or truncated on the left. But I do not see any explanation of what happens wrt truncation indicators (e.g. no mention of the fringe). Presumably, if a frame shows text (e.g. a paragraph) that is r-to-l and other text (same buffer or another) that is l-to-r then both left and right fringes would need to be displayed to see the truncation indications. Maybe that should be pointed out? Seems like there should at least be cross references here to nodes `Line Truncation' and `Continuation Lines'. There is a cross-ref link to node `Bidirectional Editing' from node `Window Fringes', which is good. But maybe nodes `Line Truncation' and `Continuation Lines' should also have a cross ref to `Bidirectional Editing'. And maybe node `Continuation Lines' should be updated to not just say that truncation is indicated in the right fringe? (The two other fringe nodes have already been updated in this regard for bidi, it seems.) From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 02 09:57:00 2012 Received: (at 11832) by debbugs.gnu.org; 2 Jul 2012 13:57:00 +0000 Received: from localhost ([127.0.0.1]:41975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Slh7c-0003Kd-Gd for submit@debbugs.gnu.org; Mon, 02 Jul 2012 09:57:00 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:3487) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Slh7b-0003KV-4f for 11832@debbugs.gnu.org; Mon, 02 Jul 2012 09:56:59 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxKFY/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCws0EhQYDSSIHAW6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="192478872" Received: from 69-196-161-88.dsl.teksavvy.com (HELO pastel.home) ([69.196.161.88]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 02 Jul 2012 09:52:22 -0400 Received: by pastel.home (Postfix, from userid 20848) id D8D3D5977B; Mon, 2 Jul 2012 09:52:21 -0400 (EDT) From: Stefan Monnier To: Andreas Schwab Subject: Re: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe Message-ID: References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> <831ukv79b7.fsf@gnu.org> Date: Mon, 02 Jul 2012 09:52:21 -0400 In-Reply-To: (Andreas Schwab's message of "Sun, 01 Jul 2012 19:26:38 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11832 Cc: 11832@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > The truncation glyph always occupies one column, even if not shown. If > you configure your fringe to only show on the right you get (or lose) > exactly the same amount of space. While I think this is true for truncated lines, it is not quite true in all cases: the tty truncation glyph area can be used to display the cursor and current Emacsen can usually also show the cursor in the fringe, but not when word-wrap is enabled. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 02 15:21:34 2012 Received: (at 11832) by debbugs.gnu.org; 2 Jul 2012 19:21:34 +0000 Received: from localhost ([127.0.0.1]:43236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlmBh-0005nq-Se for submit@debbugs.gnu.org; Mon, 02 Jul 2012 15:21:34 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:51517) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlmBf-0005ni-A4 for 11832@debbugs.gnu.org; Mon, 02 Jul 2012 15:21:32 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M6J00100S67JN00@a-mtaout23.012.net.il> for 11832@debbugs.gnu.org; Mon, 02 Jul 2012 22:16:47 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M6J0010SS7ZJR00@a-mtaout23.012.net.il>; Mon, 02 Jul 2012 22:16:47 +0300 (IDT) Date: Mon, 02 Jul 2012 22:16:43 +0300 From: Eli Zaretskii Subject: Re: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe In-reply-to: <831ukv79b7.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: drew.adams@oracle.com Message-id: <83bojy55yc.fsf@gnu.org> References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> <831ukv79b7.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11832 Cc: 11832@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Sun, 01 Jul 2012 19:09:00 +0300 > From: Eli Zaretskii > Cc: 11832@debbugs.gnu.org > > However, if someone finds a clever solution to this dilemma, patches > or ideas are welcome. Actually, I might have an idea. Not sure if it's a clever one, but I will try to see if it's workable when I have time. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 02 15:22:43 2012 Received: (at 11832) by debbugs.gnu.org; 2 Jul 2012 19:22:43 +0000 Received: from localhost ([127.0.0.1]:43243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlmCo-0005pm-Oc for submit@debbugs.gnu.org; Mon, 02 Jul 2012 15:22:43 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:18479) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlmCn-0005pa-Id for 11832@debbugs.gnu.org; Mon, 02 Jul 2012 15:22:42 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q62JI28V017051 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 2 Jul 2012 19:18:03 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q62JI1Ih022489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Jul 2012 19:18:02 GMT Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q62JI1k9003466; Mon, 2 Jul 2012 14:18:01 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 02 Jul 2012 12:18:01 -0700 From: "Drew Adams" To: "'Eli Zaretskii'" References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> <831ukv79b7.fsf@gnu.org> <83bojy55yc.fsf@gnu.org> Subject: RE: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe Date: Mon, 2 Jul 2012 12:18:00 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <83bojy55yc.fsf@gnu.org> Thread-Index: Ac1YhzvBQJOgjrAoRyGGtM1DQtGfiQAAB0CA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11832 Cc: 11832@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > Actually, I might have an idea. Not sure if it's a clever one, but I > will try to see if it's workable when I have time. Good to hear. Thx. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 07 12:49:27 2012 Received: (at 11832) by debbugs.gnu.org; 7 Jul 2012 16:49:27 +0000 Received: from localhost ([127.0.0.1]:55033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SnYCF-0008K7-HC for submit@debbugs.gnu.org; Sat, 07 Jul 2012 12:49:27 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:56718) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SnYCC-0008Jy-Hv for 11832@debbugs.gnu.org; Sat, 07 Jul 2012 12:49:25 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M6S00700U8Q0N00@a-mtaout21.012.net.il> for 11832@debbugs.gnu.org; Sat, 07 Jul 2012 19:44:18 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M6S0060PUHTS1B0@a-mtaout21.012.net.il>; Sat, 07 Jul 2012 19:44:18 +0300 (IDT) Date: Sat, 07 Jul 2012 19:44:04 +0300 From: Eli Zaretskii Subject: Re: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe In-reply-to: <83bojy55yc.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: drew.adams@oracle.com Message-id: <833953msh7.fsf@gnu.org> References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> <831ukv79b7.fsf@gnu.org> <83bojy55yc.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11832 Cc: 11832@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Mon, 02 Jul 2012 22:16:43 +0300 > From: Eli Zaretskii > Cc: 11832@debbugs.gnu.org > > > Date: Sun, 01 Jul 2012 19:09:00 +0300 > > From: Eli Zaretskii > > Cc: 11832@debbugs.gnu.org > > > > However, if someone finds a clever solution to this dilemma, patches > > or ideas are welcome. > > Actually, I might have an idea. Not sure if it's a clever one, but I > will try to see if it's workable when I have time. The idea turned out to be workable, so I committed the necessary changes in trunk revision 108938. You should now see truncation and continuation glyphs when the respective fringes are disabled (via fringe-mode). Please test. I'm not closing the bug report, because I'm quite sure people will find subtle bugs in this mode, especially with proportional fonts, variable-size fonts, images, and any other feature that causes lines to differ in pixel size. The issue _is_ somewhat tricky; it's not an accident that this feature was not available in Emacs since v21.1. Subtle bugs probably still lurk. Please report any such problems here, and please try to come up with the simplest possible test case for each problem, preferably starting with "emacs -Q". From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 07 13:00:23 2012 Received: (at 11832) by debbugs.gnu.org; 7 Jul 2012 17:00:23 +0000 Received: from localhost ([127.0.0.1]:55044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SnYMp-00008E-JF for submit@debbugs.gnu.org; Sat, 07 Jul 2012 13:00:23 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:21925) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SnYMm-000085-Ss for 11832@debbugs.gnu.org; Sat, 07 Jul 2012 13:00:21 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q67GtCOd003291 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 7 Jul 2012 16:55:13 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q67Gt8eT011976 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 7 Jul 2012 16:55:10 GMT Received: from abhmt111.oracle.com (abhmt111.oracle.com [141.146.116.63]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q67Gt5MR018885; Sat, 7 Jul 2012 11:55:08 -0500 Received: from dradamslap1 (/10.159.216.50) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 07 Jul 2012 09:55:05 -0700 From: "Drew Adams" To: "'Eli Zaretskii'" References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> <831ukv79b7.fsf@gnu.org> <83bojy55yc.fsf@gnu.org> <833953msh7.fsf@gnu.org> Subject: RE: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe Date: Sat, 7 Jul 2012 09:54:56 -0700 Message-ID: <9E34382938084FF897A11FA6B9F4CD53@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: <833953msh7.fsf@gnu.org> Thread-Index: Ac1cX8FmnRHw9d3iTxyENZo1qTfxGwAAVXnw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11832 Cc: 11832@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > The idea turned out to be workable, so I committed the necessary > changes in trunk revision 108938. You should now see truncation and > continuation glyphs when the respective fringes are disabled (via > fringe-mode). Excellent. Bravo, Eli. > Please test. Will do when I get the next Windows build. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 10 16:05:55 2012 Received: (at 11832) by debbugs.gnu.org; 10 Jul 2012 20:05:55 +0000 Received: from localhost ([127.0.0.1]:60785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Soggw-0007Op-P7 for submit@debbugs.gnu.org; Tue, 10 Jul 2012 16:05:52 -0400 Received: from mail-yw0-f44.google.com ([209.85.213.44]:52384) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Soggs-0007Og-UK for 11832@debbugs.gnu.org; Tue, 10 Jul 2012 16:05:48 -0400 Received: by yhq56 with SMTP id 56so417138yhq.3 for <11832@debbugs.gnu.org>; Tue, 10 Jul 2012 13:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=4HPaR2LMl4lE24jLoT6wmp0Gh+0ebk67fEoZwGaQSy4=; b=a5dbYtISsyFOITKLvHlikpmt1ksnguQbQKZ36vinn/pOaxQHBXLKuJu42GmFdwDlc/ MaziRShQSE95WeBtdVN4QlK6wNSWvZ9ZcJijQcSxSN58n2xr+4fW+bgSY/E6DyrlHoft 4e3kHq1EM1mIyOOUouj1qNBacPeIBbMFJcOraJk47COSrmc2DoSGZFC7SUsn+eMhkWJ/ ORSIQrPWLkvG9k/H0iSoSWqp/xuf2WDq5s8rWgg83tkm3AQOdUBIpcgBaewB0/kTZC2w SgUKmlUkNDixb3dY+4jEDKrNF7yNyvDbz4mrm/AbNqNQC41cI5QZ5f2GN50wduATeeQq aliA== Received: by 10.68.201.7 with SMTP id jw7mr17473193pbc.60.1341950421700; Tue, 10 Jul 2012 13:00:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.162.16 with HTTP; Tue, 10 Jul 2012 12:59:41 -0700 (PDT) In-Reply-To: <833953msh7.fsf@gnu.org> References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> <831ukv79b7.fsf@gnu.org> <83bojy55yc.fsf@gnu.org> <833953msh7.fsf@gnu.org> From: Juanma Barranquero Date: Tue, 10 Jul 2012 21:59:41 +0200 Message-ID: Subject: Re: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11832 Cc: 11832@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Sat, Jul 7, 2012 at 6:44 PM, Eli Zaretskii wrote: > I'm not closing the bug report, because I'm quite sure people will > find subtle bugs in this mode, especially with proportional fonts, > variable-size fonts, images, and any other feature that causes lines > to differ in pixel size. Ding dong! > Please report any such problems here, and please try to come up with > the simplest possible test case for each problem, preferably starting > with "emacs -Q". ;;;;;;;;;; test.el ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'bs) (add-hook 'bs-mode-hook (lambda () (set-window-fringes nil 0 0))) (setq bs-attributes-list '(("Buffer" compute-buffer-width nil left bs--get-name))) (defun compute-buffer-width () (- (window-width) 1)) ; one empty column at the end ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,,,,,,,, emacs -Q -l test.el -f bs-show Result: there's a spurious blank line at the end which wasn't there in 24.1, nor the trunk of few days ago. Juanma From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 13 06:20:15 2012 Received: (at 11832) by debbugs.gnu.org; 13 Jul 2012 10:20:15 +0000 Received: from localhost ([127.0.0.1]:38494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Spcyt-0000Ii-II for submit@debbugs.gnu.org; Fri, 13 Jul 2012 06:20:15 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:36731) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Spcyr-0000Ib-NS for 11832@debbugs.gnu.org; Fri, 13 Jul 2012 06:20:15 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M7300L00GF5N500@a-mtaout20.012.net.il> for 11832@debbugs.gnu.org; Fri, 13 Jul 2012 13:14:19 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7300L0XGFVIY30@a-mtaout20.012.net.il>; Fri, 13 Jul 2012 13:14:19 +0300 (IDT) Date: Fri, 13 Jul 2012 13:14:20 +0300 From: Eli Zaretskii Subject: Re: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83mx349ddv.fsf@gnu.org> References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> <831ukv79b7.fsf@gnu.org> <83bojy55yc.fsf@gnu.org> <833953msh7.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11832 Cc: 11832@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Juanma Barranquero > Date: Tue, 10 Jul 2012 21:59:41 +0200 > Cc: drew.adams@oracle.com, 11832@debbugs.gnu.org > > ;;;;;;;;;; test.el ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; > (require 'bs) > (add-hook 'bs-mode-hook (lambda () (set-window-fringes nil 0 0))) > (setq bs-attributes-list '(("Buffer" compute-buffer-width nil left > bs--get-name))) > (defun compute-buffer-width () > (- (window-width) > 1)) ; one empty column at the end > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,,,,,,,, > > emacs -Q -l test.el -f bs-show > > Result: there's a spurious blank line at the end which wasn't there in > 24.1, nor the trunk of few days ago. Fixed in trunk revision 109069. It was a problem with vertical-motion, which affected count-screen-lines, which caused bs--set-window-height resize the window one line too tall. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 18 11:32:12 2012 Received: (at 11832) by debbugs.gnu.org; 18 Jul 2012 15:32:12 +0000 Received: from localhost ([127.0.0.1]:48681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrWEW-0007hY-8B for submit@debbugs.gnu.org; Wed, 18 Jul 2012 11:32:12 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:24397) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrWEU-0007hR-17 for 11832@debbugs.gnu.org; Wed, 18 Jul 2012 11:32:10 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6IFQ0jN022951 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 18 Jul 2012 15:26:01 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6IFPwBN014566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Jul 2012 15:25:59 GMT Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6IFPwUV015214; Wed, 18 Jul 2012 10:25:58 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 18 Jul 2012 08:25:58 -0700 From: "Drew Adams" To: "'Eli Zaretskii'" References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com><831ukv79b7.fsf@gnu.org> <83bojy55yc.fsf@gnu.org><833953msh7.fsf@gnu.org> <9E34382938084FF897A11FA6B9F4CD53@us.oracle.com> Subject: RE: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe Date: Wed, 18 Jul 2012 08:25:57 -0700 Message-ID: <95F973E9BA8A41CDACA8837D53EED99A@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <9E34382938084FF897A11FA6B9F4CD53@us.oracle.com> Thread-Index: Ac1cX8FmnRHw9d3iTxyENZo1qTfxGwAAVXnwAiYaolA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11832 Cc: 11832@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > > You should now see truncation and continuation glyphs when > > the respective fringes are disabled (via fringe-mode). > > Excellent. Bravo, Eli. > > > Please test. > > Will do when I get the next Windows build. Done - looks good. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 18 13:15:22 2012 Received: (at 11832) by debbugs.gnu.org; 18 Jul 2012 17:15:22 +0000 Received: from localhost ([127.0.0.1]:48813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrXqM-0002DM-CU for submit@debbugs.gnu.org; Wed, 18 Jul 2012 13:15:22 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:51723) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrXqK-00029w-Ni for 11832@debbugs.gnu.org; Wed, 18 Jul 2012 13:15:21 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M7D00D008VPH600@a-mtaout20.012.net.il> for 11832@debbugs.gnu.org; Wed, 18 Jul 2012 20:08:47 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7D00D6O8YNHG00@a-mtaout20.012.net.il>; Wed, 18 Jul 2012 20:08:47 +0300 (IDT) Date: Wed, 18 Jul 2012 20:08:59 +0300 From: Eli Zaretskii Subject: Re: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe In-reply-to: <95F973E9BA8A41CDACA8837D53EED99A@us.oracle.com> X-012-Sender: halo1@inter.net.il To: Drew Adams Message-id: <83394p9etw.fsf@gnu.org> References: <560E2AFCD13442E1A1291714EEA5F487@us.oracle.com> <831ukv79b7.fsf@gnu.org> <83bojy55yc.fsf@gnu.org> <833953msh7.fsf@gnu.org> <9E34382938084FF897A11FA6B9F4CD53@us.oracle.com> <95F973E9BA8A41CDACA8837D53EED99A@us.oracle.com> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11832 Cc: 11832@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: "Drew Adams" > Cc: <11832@debbugs.gnu.org> > Date: Wed, 18 Jul 2012 08:25:57 -0700 > > > > You should now see truncation and continuation glyphs when > > > the respective fringes are disabled (via fringe-mode). > > > > Excellent. Bravo, Eli. > > > > > Please test. > > > > Will do when I get the next Windows build. > > Done - looks good. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 11:48:57 2016 Received: (at control) by debbugs.gnu.org; 28 Apr 2016 15:48:57 +0000 Received: from localhost ([127.0.0.1]:53298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avoBV-00066E-4h for submit@debbugs.gnu.org; Thu, 28 Apr 2016 11:48:57 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:59137) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avoBT-000664-IF for control@debbugs.gnu.org; Thu, 28 Apr 2016 11:48:55 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1avoB8-0004H8-Aq for control@debbugs.gnu.org; Thu, 28 Apr 2016 17:48:54 +0200 Date: Thu, 28 Apr 2016 17:48:34 +0200 Message-Id: <87r3dpag4t.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #11832 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) close 11832 From unknown Sat Aug 16 16:01:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 27 May 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator