emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Salazar <cycleofsong@gmail.com>
To: Bastien <bzg@altern.org>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: block quotes in prose?
Date: Sat, 16 Feb 2013 15:27:47 -0500	[thread overview]
Message-ID: <CAE+_6TxrJgEf7BJN1QLQwzAz_apWBhwhOXUz1nf=uAU-Mwo_Jg@mail.gmail.com> (raw)
In-Reply-To: <87liaug81s.fsf@bzg.ath.cx>

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

Bastien, thanks for the response and the explanation. Looks like getting
org-mode recognize the ">" prefix as a demarcator of a code block isn't the
right approach then.

What about John Hendy's suggestion of finding a face I like, and then
adding "^> text..." to the list of things org fontifies with that style?
('In other words, add "^> text" regexp to the existing hunt for lines that
start with #+ in order to get src code fontification applied.')

Is this feasible? If so, how would I go about doing this? Sorry for the
newbie question. I'm looking in org-faces, and I don't see anywhere where I
can specify the prefix characters org looks for...



John Hendy wrote:
> The easiet would be to find a face you like and just add "^>
text..." to the existing list of things org already fontifies with
that style. In other words, add "^> text" regexp to the existing hunt
for lines that start with #+ in order to get src code fontification
applied.




On Mon, Feb 11, 2013 at 10:54 AM, Bastien <bzg@altern.org> wrote:

> Hi Peter,
>
> Peter Salazar <cycleofsong@gmail.com> writes:
>
> > Now the question is: How do I make org-mode recognize the ">" prefix
> > as a demarcator of a code block, so that my document remains readable
> > as Markdown?
>
> You can't -- using ":" as the prefix for fixed-width regions is
> hardcoded.  If we allow to customize this, it will lower the
> "exchangeability" of .org files between users (this exchangeability
> is already quite low due to the many options user have.)
>
> Best,
>
> --
>  Bastien
>

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

  parent reply	other threads:[~2013-02-16 20:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-23  0:13 block quotes in prose? Peter Salazar
2013-01-23  5:03 ` John Hendy
2013-02-05  4:10   ` Peter Salazar
2013-02-11 15:54     ` Bastien
2013-02-11 16:01       ` Sebastien Vauban
2013-02-16 20:27       ` Peter Salazar [this message]
2013-02-23  9:54         ` Bastien
2013-02-24 19:45           ` Peter Salazar
2013-01-23 12:44 ` Bastien
2013-01-24  6:36   ` Peter Salazar

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='CAE+_6TxrJgEf7BJN1QLQwzAz_apWBhwhOXUz1nf=uAU-Mwo_Jg@mail.gmail.com' \
    --to=cycleofsong@gmail.com \
    --cc=bzg@altern.org \
    --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).