From: Nick Dokos <nicholas.dokos@hp.com>
To: Scott Randby <srandby@gmail.com>
Cc: nicholas.dokos@hp.com, "[Orgmode]" <emacs-orgmode@gnu.org>
Subject: Re: Links and visual-line-mode
Date: Wed, 01 Jun 2011 22:49:14 -0400 [thread overview]
Message-ID: <13614.1306982954@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Scott Randby <srandby@gmail.com> of "Wed, 01 Jun 2011 19:32:33 EDT." <4DE6CC11.6050309@gmail.com>
Scott Randby <srandby@gmail.com> wrote:
> This is a problem that has been bugging me for some time because I use
> visual-line-mode a lot when I'm working on my org-mode files.
>
> Say I have visual-line-mode turned on when I'm editing an org-mode file.
> If I do C-c C-l, put in the link address, hit <Enter>, put in a
> description, and hit <Enter>, then the long lines in the document are no
> longer wrapped even though "(Org Wrap)" still appears on the mode line.
> The only way I've been able to get wrapping back is to do M-x
> visual-line-mode twice (which is just leaving the mode and then bringing
> it back. This is very inconvenient, especially when I want to enter
> several links. Is this a bug or is there an easy way to remind Emacs
> that it is in visual-line-mode and that it should wrap long lines?
>
> I have org-mode 7.5 on Emacs 23.2.1
>
Cannot reproduce this either on emacs 23.1.1 or emacs 24.0.50 - the only
versions I have available here. org-mode is from earlier today.
The word-wrap documentation suggests some interaction with
truncate-lines and truncate-partial-width-windows, so that might be a
path of investigation. But when I try setting truncate-lines to t
(which does truncate long lines even though "Wrap" is still on the mode
line) and then do (visual-line-mode 1), the variable is set back to nil
again. In any case, inserting links does not cause any other changes, no
matter what I set the variable to.
Nick
next prev parent reply other threads:[~2011-06-02 2:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 23:32 Links and visual-line-mode Scott Randby
2011-06-02 2:49 ` Nick Dokos [this message]
2011-06-02 5:30 ` Scott Randby
2011-06-02 5:58 ` Nick Dokos
2011-06-02 6:03 ` Nick Dokos
2011-06-02 14:01 ` Scott Randby
2011-06-02 20:20 ` Sebastien Vauban
2011-06-03 14:24 ` Scott Randby
2011-06-02 14:16 ` Carsten Dominik
2011-06-02 15:51 ` Nick Dokos
2011-06-02 16:04 ` Carsten Dominik
2011-06-02 16:41 ` Nick Dokos
2011-06-02 17:47 ` Scott Randby
2011-06-02 17:49 ` Carsten Dominik
2011-06-02 19:56 ` Nick Dokos
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=13614.1306982954@alphaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=srandby@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).