From: Bastien <bzg@altern.org>
To: Peter Salazar <cycleofsong@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: block quotes in prose?
Date: Sat, 23 Feb 2013 10:54:26 +0100 [thread overview]
Message-ID: <87wqtz2tn9.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CAE+_6TxrJgEf7BJN1QLQwzAz_apWBhwhOXUz1nf=uAU-Mwo_Jg@mail.gmail.com> (Peter Salazar's message of "Sat, 16 Feb 2013 15:27:47 -0500")
Hi Peter,
Peter Salazar <cycleofsong@gmail.com> writes:
> 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?
Use this somewhere in your configuration:
(font-lock-add-keywords
'org-mode '(("^\\(:+\\) " 1 (compose-region (match-beginning 1) (match-end 1) ?> ) nil)))
M-x org-mode RET in an org-mode buffer if you evaluate this sexp after
you visited the file, otherwise the change will not be visible.
HTH,
--
Bastien
next prev parent reply other threads:[~2013-02-23 10:54 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
2013-02-23 9:54 ` Bastien [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wqtz2tn9.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=cycleofsong@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.