From mboxrd@z Thu Jan 1 00:00:00 1970 From: brian powell Subject: Re: Is there a way to selectively change the line spacing for visual line mode? Date: Sat, 4 Aug 2012 11:53:40 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff1c89e086ae804c672a6b0 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sxgfg-0003Wi-CF for emacs-orgmode@gnu.org; Sat, 04 Aug 2012 11:53:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sxgfe-0003uF-JX for emacs-orgmode@gnu.org; Sat, 04 Aug 2012 11:53:44 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:39216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sxgfe-0003u4-C3 for emacs-orgmode@gnu.org; Sat, 04 Aug 2012 11:53:42 -0400 Received: by obhx4 with SMTP id x4so3350202obh.0 for ; Sat, 04 Aug 2012 08:53:41 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Paul Whipp Cc: emacs-orgmode@gnu.org --e89a8ff1c89e086ae804c672a6b0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable * 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=92s window. It=92s worked prett= y 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 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 creat= e > a new paragraph and a smaller vertical spacing where visual line mode has > emulated a carriage return for readability. This would probably help in m= y > 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! > > Joomla, Python, PHP and MySQL web application developer > > > > > --e89a8ff1c89e086ae804c672a6b0 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable * http://www.emac= swiki.org/emacs/VisualLineMode --very intereting...

** This may = explain why you found no help thru google:=A0

"Visu= al 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=92s window. It=92= s worked pretty well for me, although it depends on being the only one that= fiddles with the margins. --JamesWright

=A0 =A0 (defvar visual-wrap-column nil)
=A0 = =A0 (defun set-visual-wrap-column (new-wrap-column &optional buffer)
....
etc.

** To use the ori= ginal behavior put the following in your .emacs:

=A0 =A0 (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 bec= ome 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 th= ere 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 visu= al line mode has emulated a carriage return for readability. This would pro= bably 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?

--e89a8ff1c89e086ae804c672a6b0--