From: Ivan Kanis <ivan@kanis.fr>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Eli Zaretskii <eliz@gnu.org>,
Emacs Development List <emacs-devel@gnu.org>
Subject: Re: fill length of visual line mode
Date: Sun, 05 Oct 2014 09:59:35 +0200 [thread overview]
Message-ID: <87fvf3ymjc.fsf@kanis.fr> (raw)
In-Reply-To: <jwvvbnzwk2q.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sat, 04 Oct 2014 18:25:33 -0400")
October, 04 at 18:25 Stefan wrote:
>> Let's forget about the code I posted. It's a stupid hack that works for me.
>>>> It just feels hackish and wrong. The right thing I feel is to use
>>>> fill-column.
>>> But it does beg the question: what if the window is smaller than
>>> fill-column? Should it then fill at the window's edge or should it
>>> continue as if truncate-lines is set?
>> I didn't think of that. I bet users will want either. So a variable
>> will say what to do.
>
> I think pursuing the window-configuration-change-hook path is actually
> a good idea: if we can get the desired behavior via Elisp code, it's
> generally preferable (the C code is hairy enough as it is). It also
> makes it easier to offer configurability (e.g. to choose whether to
> center the visible text in the window, or not).
OK. I won't do it straight away as the gnus hack is sufficient for me
for now. I am planning to use visual line mode for org in the future. If
I do it I will revisit your suggestions to write some elisp that can be
added to Emacs proper.
Ivan
--
Only two things are infinite, the universe and human stupidity, and
I'm not sure about the former.
-- Albert Einstein
prev parent reply other threads:[~2014-10-05 7:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-02 7:48 fill length of visual line mode Ivan Kanis
2014-10-02 15:16 ` Eli Zaretskii
2014-10-03 21:19 ` Johan Bockgård
2014-10-04 7:07 ` Eli Zaretskii
2014-10-04 17:16 ` Johan Bockgård
2014-10-02 15:50 ` Glenn Morris
2014-10-03 20:39 ` Ivan Kanis
2014-10-03 21:20 ` Stefan Monnier
2014-10-04 9:58 ` Harald Hanche-Olsen
2014-10-04 15:45 ` Drew Adams
2014-10-04 14:23 ` Ivan Kanis
2014-10-04 22:25 ` Stefan Monnier
2014-10-05 7:59 ` Ivan Kanis [this message]
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=87fvf3ymjc.fsf@kanis.fr \
--to=ivan@kanis.fr \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.