emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Paul Whipp <paul.whipp@gmail.com>
To: brian powell <briangpowellms@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Is there a way to selectively change the line spacing for visual line mode?
Date: Mon, 6 Aug 2012 11:29:59 +1000	[thread overview]
Message-ID: <CAMAB+PoJaP88vz64abkRRanx6Xe0z0cy6wyT3gE3gx=UEV533g@mail.gmail.com> (raw)
In-Reply-To: <CAFm0skFPE7njK8qC2dCcBeAho0HFYJKCRff9RNoqMW=GEtMdhw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3012 bytes --]

Thanks Brian, but that does not help me adjust the line spacing or height
of a line.

I use emacs24 for organising, programming in Python, PHP and for writing
fiction. Visual line mode is perfect except for the minor irritation of my
having to put in that extra linefeed to clearly visually separate
paragraphs.

Being able to turn visual mode off is handy too - each paragraph ends up on
one line - its effectively folding for fiction ;) - very handy when
scanning a 10k+ word story.

The 'enhancement' I'm after is being able to make the explicit newline take
up more screen height than the implicit newline used in visual-line-mode so
that there is no need to put in two explicit newlines to separate
paragraphs clearly. I think this would be universally appreciated.

I guess I could possibly dig into the code and rebind the line-spacing
within the visual-line-mode relevant scope but it would take me an age to
work out how to do that.

Cheers,
Paul


On 5 August 2012 01:53, brian powell <briangpowellms@gmail.com> wrote:

> * http://www.emacswiki.org/emacs/VisualLineMode --very intereting...
>
> ** This may explain why you found no help thru google:
>
> "Visual line mode is a new mode in Emacs 23 that is on by default."
>
> * "The following code convinces visual-line-mode to wrap at a given column
> by expanding the right margin of the buffer’s window. It’s worked pretty
> well for me, although it depends on being the only one that fiddles with
> the margins. --JamesWright
>
>     (defvar visual-wrap-column nil)
>     (defun set-visual-wrap-column (new-wrap-column &optional buffer)
> ....
> etc.
>
> ** To use the original behavior put the following in your .emacs:
>
>     (setq line-move-visual nil)
>
>
>
> On Sat, Aug 4, 2012 at 8:06 AM, Paul Whipp <paul.whipp@gmail.com> wrote:
>
>> I can adjust the line-spacing variable but I'm looking for a way to
>> separate paragraphs when writing large amounts of text in org-mode.
>> Sticking in an extra carriage return works and has become my habit but it
>> is annoying when the text is copy/pasted or exported to certain formats
>> (such as libreoffice).
>>
>> I'd like to be able to set the line-spacing such that there is a nice
>> visible vertical gap where I've actually hit the carriage return to create
>> a new paragraph and a smaller vertical spacing where visual line mode has
>> emulated a carriage return for readability. This would probably help in my
>> elisp or python code too because it would make it easy to distinguish
>> wrapped and new lines.
>>
>> I've tried google but I can't see any way to do this. Can anyone suggest
>> where I should look for a solution?
>>
>> Regards,
>> Paul Whipp
>>
>> Office: 07 3103 2894
>> Mobile: 0410 545 357
>>
>> Do more business with your website!<http://www.paulwhippconsulting.com.au>
>>
>> Joomla, Python, PHP and MySQL web application developer<http://www.paulwhippconsulting.com.au/>
>>
>>
>>
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 4029 bytes --]

  reply	other threads:[~2012-08-06  1:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-04 12:06 Is there a way to selectively change the line spacing for visual line mode? Paul Whipp
2012-08-04 15:53 ` brian powell
2012-08-06  1:29   ` Paul Whipp [this message]
2012-08-05 21:36 ` Jambunathan K

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='CAMAB+PoJaP88vz64abkRRanx6Xe0z0cy6wyT3gE3gx=UEV533g@mail.gmail.com' \
    --to=paul.whipp@gmail.com \
    --cc=briangpowellms@gmail.com \
    --cc=emacs-orgmode@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 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).