From: bar tomas <bartomas@gmail.com>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to set wrap line at window edge
Date: Mon, 7 Sep 2009 14:19:30 +0200 [thread overview]
Message-ID: <fdcd75820909070519tf50b203yf86438c3f39aed36@mail.gmail.com> (raw)
In-Reply-To: <4AA40C65.5080409@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2033 bytes --]
Hi,
I think I explained my problem badly.
My problem is that although my buffer occupies all the emacs window, the
lines don't wrap at the windows edge. They wrap quite a distance before (at
about half the window). Is there a solution to this?
Thank you very much for your patience
On 9/6/09, Suvayu Ali
<fatkasuvayu+linux@gmail.com<fatkasuvayu%2Blinux@gmail.com>>
wrote:
>
> 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><
>> fatkasuvayu%2Blinux@gmail.com <fatkasuvayu%252Blinux@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.
>
[-- Attachment #2: Type: text/html, Size: 3228 bytes --]
next prev parent reply other threads:[~2009-09-07 12:19 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
2009-09-07 10:28 ` bar tomas
2009-09-07 12:19 ` bar tomas [this message]
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=fdcd75820909070519tf50b203yf86438c3f39aed36@mail.gmail.com \
--to=bartomas@gmail.com \
--cc=fatkasuvayu+linux@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.