From: Julien Danjou <julien@danjou.info>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: ding@gnus.org
Subject: Re: quoting code blocks in Gnus without Org functions
Date: Thu, 07 Apr 2011 09:38:48 +0200 [thread overview]
Message-ID: <878vvm7bp3.fsf@keller.adm.naquadah.org> (raw)
In-Reply-To: <87fwpvpcti.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 06 Apr 2011 11:24:57 -0500")
[-- Attachment #1: Type: text/plain, Size: 587 bytes --]
On Wed, Apr 06 2011, Ted Zlatanov wrote:
> Here's my attempt. This works for ELisp code but not for others (the
> `cond' needs to be extended obviously). Am I on the right track? Is
> there a map of mode to "short name" that the highlight code uses? Or
> can it just take the `major-mode' as string in addition to the "short
> name", since it uses that for fontification anyhow?
You do not need a cond. Simply put the current major mode symbol's name
without the -mode, e.g. lisp-interaction-mode -> lisp-interaction.
--
Julien Danjou
❱ http://julien.danjou.info
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
next prev parent reply other threads:[~2011-04-07 7:38 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-05 4:02 draft group weirdness Eric Abrahamsen
2011-04-05 10:48 ` Richard Riley
2011-04-06 0:24 ` Lars Magne Ingebrigtsen
2011-04-06 1:43 ` Eric Abrahamsen
2011-04-06 13:28 ` quoting code blocks in Gnus without Org functions (was: draft group weirdness) Ted Zlatanov
2011-04-06 14:14 ` quoting code blocks in Gnus without Org functions Julien Danjou
2011-04-06 14:21 ` Ted Zlatanov
2011-04-06 14:45 ` Julien Danjou
2011-04-06 16:24 ` Ted Zlatanov
2011-04-07 7:38 ` Julien Danjou [this message]
2011-04-07 19:57 ` Ted Zlatanov
2011-04-07 21:20 ` Ted Zlatanov
2011-04-08 5:52 ` Ted Zlatanov
2011-04-08 9:34 ` Balázs Tóth
2011-04-08 9:40 ` Julien Danjou
2011-04-11 18:47 ` Ted Zlatanov
2011-04-10 15:50 ` draft group weirdness Eric Abrahamsen
2011-04-11 18:39 ` Ted Zlatanov
2011-04-10 15:54 ` Eric Abrahamsen
2011-04-12 16:21 ` Lars Magne Ingebrigtsen
2011-04-12 23:02 ` Eric Abrahamsen
2011-04-12 16:19 ` Lars Magne Ingebrigtsen
2011-05-18 11:39 ` Eric Abrahamsen
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=878vvm7bp3.fsf@keller.adm.naquadah.org \
--to=julien@danjou.info \
--cc=ding@gnus.org \
--cc=tzz@lifelogs.com \
/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.
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 NNTP newsgroup(s).