emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alex Helfet <alex.helfet@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Highlighting list item bullets
Date: Fri, 14 Sep 2018 10:43:30 +0100	[thread overview]
Message-ID: <CAFt=HX91knnyLZbwAqb3HUe6mWuCXfCLDyBg9Fp-jNFTvqL1YQ@mail.gmail.com> (raw)

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

I wanted syntax highlighting for list item bullets (e.g. '-') in my org
mode setup.

I have a very early prototype working and wanted some feedback about
whether you would be interested in this feature upstream, or perhaps
including it in a package would be a better bet.

The code is in a github gist:
https://gist.github.com/fluffysquirrels/1aaec7cab234893bfd46cdad721dda85

The code is rough but very short and readable. I have some test cases
working, with a screenshot of how they look on my machine.

Thanks!

Alex

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

             reply	other threads:[~2018-09-14  9:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-14  9:43 Alex Helfet [this message]
2018-09-18 15:40 ` Highlighting list item bullets Grant Rettke

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='CAFt=HX91knnyLZbwAqb3HUe6mWuCXfCLDyBg9Fp-jNFTvqL1YQ@mail.gmail.com' \
    --to=alex.helfet@googlemail.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 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).