From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: How to use em-dash as a bullet for plain text lists? Date: Thu, 14 Jun 2018 19:35:58 -0500 Message-ID: References: <87d0wta20y.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTcig-0004Wg-LJ for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 20:36:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTcie-0002tT-Vh for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 20:36:01 -0400 Received: from mail-lf0-x234.google.com ([2a00:1450:4010:c07::234]:38580) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTcie-0002s4-NK for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 20:36:00 -0400 Received: by mail-lf0-x234.google.com with SMTP id i83-v6so12131593lfh.5 for ; Thu, 14 Jun 2018 17:36:00 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: Org-mode >> What could be possible, however, is to add UTF-8 characters as overlays >> on top of standard bullets. I think "org-bullet" does something like >> that. This seems to work: (font-lock-add-keywords 'org-mode '(("^[[:space:]]*\\(-\\) " 0 (prog1 () (compose-region (match-beginning 1) (match-end 1) "=E2=80= =94")))))