all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: bar tomas <bartomas@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to set wrap line at window edge
Date: Sun, 06 Sep 2009 12:24:21 -0700	[thread overview]
Message-ID: <4AA40C65.5080409@gmail.com> (raw)
In-Reply-To: <fdcd75820909061145o563de49bi79f6d4e7fd031ec2@mail.gmail.com>

On Sunday 06 September 2009 11:45 AM, bar tomas wrote:
> On 9/6/09, Suvayu Ali
> <fatkasuvayu+linux@gmail.com<fatkasuvayu%2Blinux@gmail.com>>
> wrote:
>>
>> On Sunday 06 September 2009 09:34 AM, bar tomas wrote:
>>
>>> Hi,
>>> How can I set the option "wrap line at edge of window" in the .emacs init
>>> file?
>>> Also, I'd like to disable truncate long lines. Although I have disabled
>>> this
>>> option through the menu/Options, lines continue to be truncated befor the
>>> windows edge. How can I stop truncation of long lines?
>>> Thanks very much
>>>
>>>
>> How about put this in your .emacs
>> (custom-set-variables
>>         (...other customizations ...)
>>         '(truncate-lines nil))
>>
> Thanks very much.
> Does that also make the text wrap around the window?
>

 From the documentation after doing,
`C-h v truncate-lines <RET>'

-------------------------------------------------------------
truncate-lines is a variable defined in `C source code'.
Its value is t

   Automatically becomes buffer-local when set in any fashion.
   This variable is safe as a file local variable if its value
   satisfies the predicate `booleanp'.

Documentation:
*Non-nil means do not display continuation lines.
Instead, give each line of text just one screen line.

Note that this is overridden by the variable
`truncate-partial-width-windows' if that variable is non-nil
and this buffer is not full-frame width.

You can customize this variable.

-- 
Suvayu

Open source is the future. It sets us free.




  reply	other threads:[~2009-09-06 19:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-06 16:34 How to set wrap line at window edge bar tomas
2009-09-06 18:03 ` Suvayu Ali
2009-09-06 18:45   ` bar tomas
2009-09-06 19:24     ` Suvayu Ali [this message]
2009-09-07 10:28       ` bar tomas
2009-09-07 12:19       ` bar tomas
2009-09-07 13:12         ` Allan Gottlieb
2009-09-07 16:05           ` bar tomas
2009-09-07 16:22             ` ken
2009-09-07 16:49               ` bar tomas
2009-09-07 17:40                 ` Tyler Smith
2009-09-07 20:58             ` Allan Gottlieb
2009-09-08  8:30               ` bar tomas
2009-09-07 11:47   ` bar tomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AA40C65.5080409@gmail.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=bartomas@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.