From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Titus von der Malsburg Newsgroups: gmane.emacs.bugs Subject: bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width Date: Tue, 16 Dec 2014 12:36:13 -0800 Message-ID: <87lhm772o2.fsf@posteo.de> References: <87vblbnz2u.fsf@posteo.de> <83k31rwe55.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1418762250 22243 80.91.229.3 (16 Dec 2014 20:37:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Dec 2014 20:37:30 +0000 (UTC) Cc: 19395@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 16 21:37:23 2014 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 1Y0yry-0003Nc-UT for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Dec 2014 21:37:23 +0100 Original-Received: from localhost ([::1]:46749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0yry-0000qG-Hv for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Dec 2014 15:37:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0yrp-0000pj-EP for bug-gnu-emacs@gnu.org; Tue, 16 Dec 2014 15:37:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y0yre-0005Ml-Tk for bug-gnu-emacs@gnu.org; Tue, 16 Dec 2014 15:37:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0yre-0005M7-Q3 for bug-gnu-emacs@gnu.org; Tue, 16 Dec 2014 15:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y0yre-0007Dz-6q for bug-gnu-emacs@gnu.org; Tue, 16 Dec 2014 15:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Titus von der Malsburg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Dec 2014 20:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19395 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 19395-submit@debbugs.gnu.org id=B19395.141876219427728 (code B ref 19395); Tue, 16 Dec 2014 20:37:02 +0000 Original-Received: (at 19395) by debbugs.gnu.org; 16 Dec 2014 20:36:34 +0000 Original-Received: from localhost ([127.0.0.1]:48180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0yrB-0007DA-UU for submit@debbugs.gnu.org; Tue, 16 Dec 2014 15:36:34 -0500 Original-Received: from mx02.posteo.de ([89.146.194.165]:38266) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0yqz-0007Cq-A6 for 19395@debbugs.gnu.org; Tue, 16 Dec 2014 15:36:32 -0500 Original-Received: from dovecot03.posteo.de (unknown [185.67.36.28]) by mx02.posteo.de (Postfix) with ESMTPS id 23F1E25A211D; Tue, 16 Dec 2014 21:36:20 +0100 (CET) Original-Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot03.posteo.de (Postfix) with ESMTPSA id 3k2B831JkVz5vN2; Tue, 16 Dec 2014 21:36:18 +0100 (CET) In-reply-to: <83k31rwe55.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97408 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2014-12-16 Tue 12:09, Eli Zaretskii wrote: >> From: Titus von der Malsburg >> Date: Tue, 16 Dec 2014 12:01:45 -0800 >>=20 >>=20 >> - emacs -Q >> - (set-fringe-mode '(0 . 2)) >> The left fringe has to be zero, the right fringe doesn't seem to matte= r. >> - Fill a line completely with n characters such that it doesn't break. >> - (window-width) reports n+1 characters instead of n. > > The n+1st character is usurped for the continuation glyph. This is > not a bug. Sorry, but I don't understand that. If (window-width) says there is space for 50 characters and I put 50 characters on a line, there shouldn't be a continuation character in the first place. Also, I don't see why I should get different behaviour for different values of left-fringe. When left-fringe is > 0, I get as many characters on a line as (window-width) reports. But if left-fringe is 0, I get one character less on the line. This behaviour doesn't seem to be consistent with the documentation of window-width. Quote: The return value does not include any vertical dividers, fringes or marginal areas, or scroll bars. My understanding of this is that the fringes should not matter at all. If window-with reports n, I should be able to fit n characters on a line irrespective of what the fringes are. Moreover, why is this specific to the left-fringe? The value of right-fringe does not affect influence whether I can get (window-width) or (window-width) -1 characters on a line. Titus --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUkJe+AAoJEK40WfPGE2id3SYH/3Vn5F3yOuxuUEACj/93odfB ZpV9/I4VIDhOShPiUG+Qojq6A6KyJjbJSNOmMZG4yHf39VpZ4gRxt0b9QhnygFnw XbVlwUpwze2xZFYXA/rJcweHqSky/0v23sm3g/KGYrz0aKjuEHO3Ah9kwBxXaph5 nZ6HD5eoyGLhZZxieUQ4aBmwQgygJjBYi2sjC8ZvCXgHcoaQnWV5Z2ldWgfNFjPw HNCBJ+Tva1MhLrf+/KKkc1ek79jS180xE2bHBtnFVz02doXfzyi5cWrRkEQWB8SB N4lVDVJIQgDiC5RxpdVh2TwgZNcY8wtB7tgW5iDNhErSoK8svlgoo5EKI6pRL2A= =scpG -----END PGP SIGNATURE----- --=-=-=--