emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Diego Zamboni <diego@zzamboni.org>
To: Sharon Kimble <boudiccas@skimble.plus.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: how to highlight the background of my current paragraph?
Date: Thu, 31 Oct 2019 08:52:45 +0100	[thread overview]
Message-ID: <CAGY83EeKEQ_ZP+UBFs9rB9uOgEVOJ6zq6fRVeTxJtNcV7E9xMQ@mail.gmail.com> (raw)
In-Reply-To: <87lft1tljb.fsf@skimble.plus.com>

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

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 <boudiccas@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 = 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
>

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

  reply	other threads:[~2019-10-31  7:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-31  7:35 how to highlight the background of my current paragraph? Sharon Kimble
2019-10-31  7:52 ` Diego Zamboni [this message]
2019-10-31 15:56   ` Fraga, Eric
2019-10-31 16:03     ` Diego Zamboni
2019-10-31 16:10       ` Diego Zamboni
2019-10-31 16:22         ` Fraga, Eric
2019-10-31 16:43           ` Fraga, Eric
2019-11-01 11:44         ` Sharon Kimble

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=CAGY83EeKEQ_ZP+UBFs9rB9uOgEVOJ6zq6fRVeTxJtNcV7E9xMQ@mail.gmail.com \
    --to=diego@zzamboni.org \
    --cc=boudiccas@skimble.plus.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).