all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: weber <hugows@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: longlines mode
Date: Thu, 27 Sep 2007 15:57:32 -0000	[thread overview]
Message-ID: <1190908652.399231.34080@57g2000hsv.googlegroups.com> (raw)
In-Reply-To: <1190908611.519343.113110@o80g2000hse.googlegroups.com>

On Sep 27, 12:56 pm, weber <hug...@gmail.com> wrote:
> On Sep 27, 12:29 pm, "Drew Adams" <drew.ad...@oracle.com> wrote:
>
> > > i turned on longlines-mode so my lines would be wrapped, and
> > > found out that are not wrapped in the end of a window, but relative to
> > > the variable fill-column.
>
> > > So my question is: is there another mode i can use for wrapping lines
> > > (soft wrap) that is set according to the current window size?
>
> > You can use this trivial command (in any mode):
>
> > (defun foo ()
> >   "Set `fill-column' to width of selected window."
> >   (setq fill-column (window-width))
> >   (message "Fill column is now %d" fill-column))
>
> > You can of course combine that with entry to longlines mode or whatever.
>
> Indeed, inspecting the source i found a variable for doing this:
>
> (setq longlines-wrap-follows-window-size t)
>
> Please pardon me for not seeing it before.
>
> Tks
> weber

I meant "forgive me" instead of pardon me. Rusty english.
Bye
weber

  reply	other threads:[~2007-09-27 15:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-27 11:40 longlines mode weber
2007-09-27 12:21 ` Giorgos Keramidas
2007-09-27 15:29 ` Drew Adams
     [not found] ` <mailman.1397.1190906994.18990.help-gnu-emacs@gnu.org>
2007-09-27 15:56   ` weber
2007-09-27 15:57     ` weber [this message]
2007-09-27 17:11     ` Drew Adams
2007-10-13 11:42       ` Dieter Wilhelm
2007-10-13 11:50         ` Leo
2007-10-13 13:06           ` Bastien
2007-10-13 12:07             ` Leo
2007-10-13 18:28             ` Dieter Wilhelm
     [not found]       ` <mailman.2012.1192275593.18990.help-gnu-emacs@gnu.org>
2007-10-13 12:13         ` Web browsers (Was: longlines mode) Harald Hanche-Olsen
2007-10-13 18:31           ` Web browsers Dieter Wilhelm
2007-10-14  1:41             ` Bastien

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=1190908652.399231.34080@57g2000hsv.googlegroups.com \
    --to=hugows@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.