🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #423

Minibuf truncate-lines

#423
From: Mike Russell
Date: Thu, 19 Nov 1992 10:41
29 lines
1160 bytes
(epoch 4.0.2)
I am using the following  to turn off line wrap in all windows.
(setq default-truncate-lines t)

I do not want this as a default in the minibuffer so I wrote the
following elsp to  set the buffer-local variable truncate-lines
in the minibuffer.   Unfortunately this does not work.

Does truncate-lines apply to the minibuffer also?

(defun set-minibuf-truncate()
  "Set the minibuffer to not wrap lines."
  (save-excursion
    (set-buffer (window-buffer (minibuffer-window)))
    (setq truncate-lines nil)))

(set-minibuf-truncate)





                                                              Mike J. Russell
(507)253-3545
D266/040-3
Rochester Mn. 55901

Internet address
MJRUSS@RCHLAND.VNET.IBM.COM
Technical Details
Message-ID: <Af31UcE91Grh1JNF9=@rchland.ibm.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rchland.ibm.COM!mjruss+

Show Full Headers
Complete Article Headers
Newsgroups: gnu.epoch.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rchland.ibm.COM!mjruss+
From: mjruss+@rchland.ibm.COM (Mike Russell)
Subject: Minibuf truncate-lines
Message-ID: <Af31UcE91Grh1JNF9=@rchland.ibm.com>
Sender: daemon@cis.ohio-state.edu
Reply-To: "Mike Russell" <mjruss@rchland.vnet.ibm.com>
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 19 Nov 1992 10:41:44 GMT
Lines: 29