🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #1959

Re: Horizantal scrol (how to get rid of $ and see what I am typing)

#1959
From: Gunnar Teege
Date: Tue, 15 Dec 1992 21:07
27 lines
1617 bytes
>>>>> On Mon, 14 Dec 1992 17:36:17 GMT, yusuf@ils.nwu.edu (Yusuf
> Pisan) said:


> When I use split-window-horizontally, I get a dollar sign for lines
> that are "too long" instead of the usual way emacs wraps lines by
> using backslash.

> When I open a file as read only the only way to see the rest of the
> line is by enalrging the window :-(.

This truncating feature can be controlled by setting the variable
'truncate-lines'. In my .emacs i define the following command:

(defun toggle-truncate ()
  (interactive)
  (setq truncate-lines (not truncate-lines)))

and bind it to a key sequence. Thus I can easily toggle between
truncated lines and wrapped lines. After toggling it is sometimes
necessary to force a redisplay by C-l to see the effects.

Hope that helps

Gunnar Teege   Inst. fuer Informatik, Technische Universitaet Muenchen
               PO-Box 202420, 8000 Muenchen 2, Germany
teege@informatik.tu-muenchen.de       Tel: +49 89 450552 25
Technical Details
Message-ID: <TEEGE.92Dec15160754@unknown.informatik.tu-muenchen.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!informatik.tu-muenchen.de!lan!teege
References: <1992Dec14.173617.2804@ils.nwu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.help
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!informatik.tu-muenchen.de!lan!teege
From: teege@informatik.tu-muenchen.de (Gunnar Teege)
Subject: Re: Horizantal scrol (how to get rid of $ and see what I am typing)
In-Reply-To: yusuf@ils.nwu.edu's message of Mon, 14 Dec 1992 17:36:17 GMT
References: <1992Dec14.173617.2804@ils.nwu.edu>
Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem)
Organization: Inst. fuer Informatik, TU Muenchen, Germany
Date: Tue, 15 Dec 1992 21:07:54 GMT
Message-ID: <TEEGE.92Dec15160754@unknown.informatik.tu-muenchen.de>
Lines: 27