emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ASCII export - "AutoFill"
@ 2010-11-24 23:30 Gustav Wikström
  2010-11-25 11:38 ` Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Gustav Wikström @ 2010-11-24 23:30 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 911 bytes --]

Hello!

Just a silly question... If I want to export to ASCII from my Org-file, and
want the exported ASCII to have all the paragraphs restricted to, say, 80
columns - Is there a nice way  to do this without first converting all the
paragraphs in the org-file?

In essence, Org-mode file:


* Heading


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc varius
scelerisque nisi, ac tristique tellus porta ut. Cras porta, tortor eget
malesuada pellentesque, lorem enim accumsan mauris, quis imperdiet risus
velit id ante. Quisque porttitor ornare turpis non aliquam.

Exported ASCII-text file:

* Heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc
varius scelerisque nisi, ac tristique tellus porta ut. Cras
porta, tortor eget malesuada pellentesque, lorem enim accumsan
mauris, quis imperdiet risus velit id ante. Quisque porttitor
ornare turpis non aliquam.

Best regards
Gustav

[-- Attachment #1.2: Type: text/html, Size: 3439 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ASCII export - "AutoFill"
  2010-11-24 23:30 ASCII export - "AutoFill" Gustav Wikström
@ 2010-11-25 11:38 ` Eric S Fraga
  2010-11-26 15:11   ` Gustav Wikström
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2010-11-25 11:38 UTC (permalink / raw)
  To: Gustav Wikström; +Cc: emacs-orgmode

Gustav Wikström <gustav.erik@gmail.com> writes:

> Hello!
>
> Just a silly question... If I want to export to ASCII from my
> Org-file, and want the exported ASCII to have all the paragraphs
> restricted to, say, 80 columns - Is there a nice way  to do this
> without first converting all the paragraphs in the org-file?

Not a silly question at all!  Having looked at the code, the short
answer is *no*, unfortunately.  The only wrapping the ascii exporting
does is on /notes/ generated by the conversion of links.

It would be a nice feature to have, however...  I had a look at the
fill.el code and I'm sure some of it (fill-region) could be used quite
nicely within org-ascii.el but my emacs-lisp abilities are not
sufficiently good enough for me to attempt changing the code.  Sorry.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.130.g9cc1)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ASCII export - "AutoFill"
  2010-11-25 11:38 ` Eric S Fraga
@ 2010-11-26 15:11   ` Gustav Wikström
  0 siblings, 0 replies; 3+ messages in thread
From: Gustav Wikström @ 2010-11-26 15:11 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1152 bytes --]

Aha, I see. Well, my elisp is not that evolved either so my attempts would
probably be even less likely to succeed!

Regards Gustav

2010/11/25 Eric S Fraga <ucecesf@ucl.ac.uk>

> Gustav Wikström <gustav.erik@gmail.com> writes:
>
> > Hello!
> >
> > Just a silly question... If I want to export to ASCII from my
> > Org-file, and want the exported ASCII to have all the paragraphs
> > restricted to, say, 80 columns - Is there a nice way  to do this
> > without first converting all the paragraphs in the org-file?
>
> Not a silly question at all!  Having looked at the code, the short
> answer is *no*, unfortunately.  The only wrapping the ascii exporting
> does is on /notes/ generated by the conversion of links.
>
> It would be a nice feature to have, however...  I had a look at the
> fill.el code and I'm sure some of it (fill-region) could be used quite
> nicely within org-ascii.el but my emacs-lisp abilities are not
> sufficiently good enough for me to attempt changing the code.  Sorry.
>
> --
> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
> : using Org-mode version 7.3 (release_7.3.130.g9cc1)
>

[-- Attachment #1.2: Type: text/html, Size: 1565 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-26 15:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-24 23:30 ASCII export - "AutoFill" Gustav Wikström
2010-11-25 11:38 ` Eric S Fraga
2010-11-26 15:11   ` Gustav Wikström

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).