From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bar tomas Newsgroups: gmane.emacs.help Subject: Re: How to set wrap line at window edge Date: Mon, 7 Sep 2009 12:28:49 +0200 Message-ID: References: <4AA3F97F.9010008@gmail.com> <4AA40C65.5080409@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016364d3005ceaf4b0472fa5073 X-Trace: ger.gmane.org 1252319430 20916 80.91.229.12 (7 Sep 2009 10:30:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2009 10:30:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Suvayu Ali Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 07 12:30:23 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MkbUM-0000Tf-0q for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Sep 2009 12:30:22 +0200 Original-Received: from localhost ([127.0.0.1]:57812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkbUK-0000DO-Rw for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Sep 2009 06:30:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MkbTd-0000Ap-Al for help-gnu-emacs@gnu.org; Mon, 07 Sep 2009 06:29:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MkbTX-0008UQ-7V for help-gnu-emacs@gnu.org; Mon, 07 Sep 2009 06:29:35 -0400 Original-Received: from [199.232.76.173] (port=44671 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkbTW-0008Tm-Rq for help-gnu-emacs@gnu.org; Mon, 07 Sep 2009 06:29:30 -0400 Original-Received: from mail-ew0-f211.google.com ([209.85.219.211]:60692) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MkbTV-0003FG-BT for help-gnu-emacs@gnu.org; Mon, 07 Sep 2009 06:29:29 -0400 Original-Received: by ewy7 with SMTP id 7so647343ewy.31 for ; Mon, 07 Sep 2009 03:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=jUIsJMiXptXbBM1UCFhPufFA4cl6kP47KuJms7IvakI=; b=MnOK1BOmBPAKAVmdpJ8R05Bk4YKwfXVxdCqRZPWQ7IEYF25dhGe6HS/Xkv5KzhoJBo 8pG97z7+kowZBZzbrfh2XLblLglLdKJffzxE6DhBSRGBJ8q2bWZRTWPqfi/Knhv/iUsX CzTOnUaSSZhawMtB8Szi2Hxl/nk0+uLPSWunY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=deA4r31n5Sqb9FhayegPDMOK2SIO7FhyE/OToUMX3afxdb2iFlPWXWJOj54X92iH9q ZsM1LuZOcmTQvS8S4VdETxZWVu3RK6C2pPIbjYQ7iULQWrq+uiLi5MOau3Ig+naqux0Z ZinfbU/UywQICUvZuYd1rW7V9sWAOm3KIxDaA= Original-Received: by 10.216.11.19 with SMTP id 19mr1406576wew.106.1252319329955; Mon, 07 Sep 2009 03:28:49 -0700 (PDT) In-Reply-To: <4AA40C65.5080409@gmail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67927 Archived-At: --0016364d3005ceaf4b0472fa5073 Content-Type: text/plain; charset=ISO-8859-1 Many thanks How complicated! On 9/6/09, Suvayu Ali > wrote: > > On Sunday 06 September 2009 11:45 AM, bar tomas wrote: > >> On 9/6/09, Suvayu Ali >> < >> 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 ' > > ------------------------------------------------------------- > 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. > --0016364d3005ceaf4b0472fa5073 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Many thanks
How complicated!

On 9/6/09, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote: On Sunday 06 September 2009 11:45 AM, bar tomas wrote:
On 9/6/09, Suvayu Ali
<fatkasuvayu+linux@gmai= l.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 .em= acs 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
=A0 =A0 =A0 =A0(...other customizations ...)
=A0 =A0 =A0 =A0'(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

=A0Automatically becomes buffer-local when set in any fashion.
=A0This variable is safe as a file local variable if its value
=A0satisfies 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.

--0016364d3005ceaf4b0472fa5073--