From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Changes in frame/window code Date: Wed, 27 Aug 2014 10:13:42 -0700 (PDT) Message-ID: <555c2fa2-9136-461c-8df3-ba0f629a4a05@default> References: <53CE6A44.1010708@gmx.at> <53D4FF76.1060804@gmx.at> <8338dmj1of.fsf@gnu.org> <83wqayhe0o.fsf@gnu.org> <53D542B3.20206@gmx.at> <83tx62hane.fsf@gnu.org> <53D6172A.5010909@gmx.at> <87vbqd7adh.fsf@gnu.org> <53DA74A1.2070304@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1409159668 4957 80.91.229.3 (27 Aug 2014 17:14:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2014 17:14:28 +0000 (UTC) To: martin rudalics , Stefan Monnier , Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 27 19:14:21 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 1XMgnc-00010a-NK for ged-emacs-devel@m.gmane.org; Wed, 27 Aug 2014 19:14:20 +0200 Original-Received: from localhost ([::1]:60675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMgnc-0004Pb-9V for ged-emacs-devel@m.gmane.org; Wed, 27 Aug 2014 13:14:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMgnR-0004OH-09 for emacs-devel@gnu.org; Wed, 27 Aug 2014 13:14:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMgnI-0004At-7g for emacs-devel@gnu.org; Wed, 27 Aug 2014 13:14:08 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:36758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMgn8-00049i-T0; Wed, 27 Aug 2014 13:13:51 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s7RHDkN0025246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 27 Aug 2014 17:13:47 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s7RHDhAk016809 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Aug 2014 17:13:44 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s7RHDhMq003979; Wed, 27 Aug 2014 17:13:43 GMT In-Reply-To: <53DA74A1.2070304@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:173851 Archived-At: > > And ideally, they would only show up when the text is actually > > truncated, i.e., `truncate-lines' is t and there is a line that's > > longer than the window width. > > > Basically, that would also make sense for vertical scroll bars. > > Why should there be a scroll bar when the buffer text is smaller > > than the window height? >=20 > I intend to write an auto-hide-scroll-bars mode to do that but it's > not entirely trivial and probably would not come without additional > costs. What might those additional costs be? Is it hard to at least turn it off automatically whenever `truncate-lines' is nil? Anyway, I suggest that until this feature (horizontal scroll bars) can be fixed so that it shows the scroll bar only when the text is actually truncated, it should be turned off by default. Users should not suddenly need to customize Emacs, to get rid of this annoyance. Don't get me wrong - I'm glad we finally have horizontal scroll bars. But Emacs really needs to come up to speed with the rest of the world in this regard: don't show scroll bars when they are useless.