From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diego Zamboni Subject: Re: how to highlight the background of my current paragraph? Date: Thu, 31 Oct 2019 08:52:45 +0100 Message-ID: References: <87lft1tljb.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000024bdec05963023b0" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53080) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQ5GN-0000CD-Cc for emacs-orgmode@gnu.org; Thu, 31 Oct 2019 03:53:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQ5GM-0007Xh-6u for emacs-orgmode@gnu.org; Thu, 31 Oct 2019 03:52:59 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:39739) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQ5GL-0007Qi-MZ for emacs-orgmode@gnu.org; Thu, 31 Oct 2019 03:52:58 -0400 Received: by mail-wm1-x32e.google.com with SMTP id t26so743032wmi.4 for ; Thu, 31 Oct 2019 00:52:56 -0700 (PDT) In-Reply-To: <87lft1tljb.fsf@skimble.plus.com> 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: Sharon Kimble Cc: Org-mode --00000000000024bdec05963023b0 Content-Type: text/plain; charset="UTF-8" I use =global-hl-line-mode= from the hl-line package. Highlights only the current line, but I find it quite useful. Here's what I have in my config: (use-package hl-line :defer nil :config (global-hl-line-mode)) Since I use =visual-line-mode= as well in my org documents, the effect is to highlight the whole current paragraph (which is a single line in the file). Hope this helps, --Diego On Thu, Oct 31, 2019 at 8:36 AM Sharon Kimble wrote: > > How can I set the background of my current paragraph to 'dark gray', > i.e. to highlight it, and the highlighting to follow whichever paragraph > I'm currently viewing/writing please? > > I've been googling it but haven't found anything suitable so far. > > Thanks > Sharon. > -- > A taste of linux = http://www.sharons.org.uk > TGmeds = http://www.tgmeds.org.uk > DrugFacts = https://www.drugfacts.org.uk > Debian 10.1, fluxbox 1.3.7, emacs 26.3, org 9.2.6 > --00000000000024bdec05963023b0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I use =3Dglobal-hl-line-mode=3D from the hl-line package. = Highlights only the current line, but I find it quite useful. Here's wh= at I have in my config:

(use-package hl-line
=C2=A0 = =C2=A0 :defer nil
=C2=A0 =C2=A0 :config
=C2=A0 =C2=A0 (global-hl-line= -mode))

Since I use =3Dvisual-line-mode=3D as = well in my org documents, the effect is to highlight the whole current para= graph (which is a single line in the file).

Hope t= his helps,
--Diego


On Thu, Oct 31, 2019 at 8:= 36 AM Sharon Kimble <boudi= ccas@skimble.plus.com> wrote:

How can I set the background of my current paragraph to 'dark gray'= ,
i.e. to highlight it, and the highlighting to follow whichever paragraph I'm currently viewing/writing please?

I've been googling it but haven't found anything suitable so far.
Thanks
Sharon.
--
A taste of linux =3D http://www.sharons.org.uk
TGmeds =3D http://www.tgmeds.org.uk
DrugFacts =3D https://www.drugfacts.org.uk
Debian 10.1, fluxbox 1.3.7, emacs 26.3, org 9.2.6
--00000000000024bdec05963023b0--