unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* chop long lines?
@ 2004-09-20  3:30 Pascal Damian
  2004-09-20  4:06 ` Kin Cho
  2004-09-20  9:28 ` Pascal Bourguignon
  0 siblings, 2 replies; 4+ messages in thread
From: Pascal Damian @ 2004-09-20  3:30 UTC (permalink / raw)


How to make emacs behave like "less -S", i.e. don't wrap long text
lines at all but allow us to do horizontal scrolling. I want 1 text
line to always appear as 1 screen line, no matter how long the text
line is. Most editors I've known (except vi) behave like this.

I've tried screen-lines.el, which is nice and which I will use, but it
doesn't do the above.

Regards,
--
Pascal Damian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: chop long lines?
  2004-09-20  3:30 chop long lines? Pascal Damian
@ 2004-09-20  4:06 ` Kin Cho
  2004-09-20  9:28 ` Pascal Bourguignon
  1 sibling, 0 replies; 4+ messages in thread
From: Kin Cho @ 2004-09-20  4:06 UTC (permalink / raw)


longlines.el works well for me.

-kin

;;; longlines.el --- automatically wrap long lines -*- coding: iso-8859-1; -*-

;; Copyright (C) 2000, 2001 by Free Software Foundation, Inc.

;; Author: Kai Grossjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
;;         Alex Schroeder <alex@gnu.org>

pascaldamian@icqmail.com (Pascal Damian) writes:

> How to make emacs behave like "less -S", i.e. don't wrap long text
> lines at all but allow us to do horizontal scrolling. I want 1 text
> line to always appear as 1 screen line, no matter how long the text
> line is. Most editors I've known (except vi) behave like this.
>
> I've tried screen-lines.el, which is nice and which I will use, but it
> doesn't do the above.
>
> Regards,
> --
> Pascal Damian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: chop long lines?
  2004-09-20  3:30 chop long lines? Pascal Damian
  2004-09-20  4:06 ` Kin Cho
@ 2004-09-20  9:28 ` Pascal Bourguignon
  2004-09-20 15:31   ` Pascal Damian
  1 sibling, 1 reply; 4+ messages in thread
From: Pascal Bourguignon @ 2004-09-20  9:28 UTC (permalink / raw)


pascaldamian@icqmail.com (Pascal Damian) writes:

> How to make emacs behave like "less -S", i.e. don't wrap long text
> lines at all but allow us to do horizontal scrolling. I want 1 text
> line to always appear as 1 screen line, no matter how long the text
> line is. Most editors I've known (except vi) behave like this.
> 
> I've tried screen-lines.el, which is nice and which I will use, but it
> doesn't do the above.

Another ill named emacs function: M-x toggle-truncate-lines RET

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: chop long lines?
  2004-09-20  9:28 ` Pascal Bourguignon
@ 2004-09-20 15:31   ` Pascal Damian
  0 siblings, 0 replies; 4+ messages in thread
From: Pascal Damian @ 2004-09-20 15:31 UTC (permalink / raw)


Pascal Bourguignon <spam@mouse-potato.com> wrote in message news:<873c1dl26q.fsf@thalassa.informatimago.com>...
> > How to make emacs behave like "less -S", i.e. don't wrap long text
> > lines at all but allow us to do horizontal scrolling. I want 1 text
> > line to always appear as 1 screen line, no matter how long the text
> > line is. Most editors I've known (except vi) behave like this.
> > 
> > I've tried screen-lines.el, which is nice and which I will use, but it
> > doesn't do the above.
> 
> Another ill named emacs function: M-x toggle-truncate-lines RET

Ah, thanks. You made my day. I've tried emacs for only two days now,
and that was my biggest emacs annoyance.

--
Pascal Damian

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-20 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-20  3:30 chop long lines? Pascal Damian
2004-09-20  4:06 ` Kin Cho
2004-09-20  9:28 ` Pascal Bourguignon
2004-09-20 15:31   ` Pascal Damian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).