From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: don't show the $-bar that indicates text before and/or after the window view, horizontally Date: Wed, 24 Jul 2013 20:53:05 +0300 Message-ID: <8338r3x2ta.fsf@gnu.org> References: <87ehap9mam.fsf@VLAN-3434.student.uu.se> <87k3kfx4sh.fsf@VLAN-3434.student.uu.se> <51f00beb$0$2060$426a74cc@news.free.fr> <87wqof27ae.fsf@VLAN-3434.student.uu.se> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1374688409 23171 80.91.229.3 (24 Jul 2013 17:53:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jul 2013 17:53:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 24 19:53:30 2013 Return-path: Envelope-to: geh-help-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 1V23Fi-0007JU-8J for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Jul 2013 19:53:30 +0200 Original-Received: from localhost ([::1]:47996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V23Fh-0002rj-Ub for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Jul 2013 13:53:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V23FU-0002qj-PF for help-gnu-emacs@gnu.org; Wed, 24 Jul 2013 13:53:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V23FQ-00017C-UL for help-gnu-emacs@gnu.org; Wed, 24 Jul 2013 13:53:16 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:64685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V23FQ-00016q-Mj for help-gnu-emacs@gnu.org; Wed, 24 Jul 2013 13:53:12 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MQG00B00BTFEJ00@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Wed, 24 Jul 2013 20:53:10 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQG00BGHCCMCR30@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Wed, 24 Jul 2013 20:53:10 +0300 (IDT) In-reply-to: <87wqof27ae.fsf@VLAN-3434.student.uu.se> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92369 Archived-At: > From: Emanuel Berg > Date: Wed, 24 Jul 2013 19:32:09 +0200 > > The below doesn't seem to do anything, neither in X or the tty. > > (set-fringe-mode '(0 . 0)) This should disable the fringes on X. The TTY Emacs doesn't have fringes (which are a GUI feature, thus unavailable on a TTY). But in a GUI session, the above works for me in all Emacs versions starting with 22.1. If it doesn't for you, you are doing something wrong. I don't know what it is that you are doing wrong, because you didn't explain how you tried to make the above work -- what did you type, exactly, and where. > I says in the documentation that a zero should disable the fringe, > but if so - if the glyph appears in the fringe - why do I still > need > > (set-display-table-slot standard-display-table 0 ?\ ) > > to hide the $'s? Because the $ glyph is a separate feature. Emacs on X can show truncated lines either on the fringes, using special bitmaps, or with the special glyph, which is $ by default; the latter feature kicks in if the fringes are not available. If you want to get rid of both the fringes and the $ glyph, you need to disable them separately. (At this point, I'd suggest to invest some time in reading the manuals, because messing with such advanced stuff is not recommended if you don't even know what the fringes are, how to control them, and what is slot zero of the standard-display-table.)