all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrey Orst <andreyorst@gmail.com>
To: 37848@debbugs.gnu.org
Subject: bug#37848: Fwd: bug#37848: 27.0.50; hl-line and line-numbers out of sync
Date: Mon, 21 Oct 2019 14:43:51 +0300	[thread overview]
Message-ID: <CAAKhXoaZr3eF2P6wdaRwzrYvk55TrazofQ-qmmwvAEhSJWzqRw@mail.gmail.com> (raw)
In-Reply-To: <CAAKhXoYYd-z8PZdxTB+Z3ATMwgY3kh=Y-05zOUa2vkeVMC78fg@mail.gmail.com>

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

> It's a bug in hl-line that needs to be fixed.
>
> The display engine runs pre-redisplay-function for the window in this
> case, so perhaps hl-line could install its hook there and fix its
> overlay when it is called.
>
> Patches are welcome.

Unfortunately adding these hooks doesn't fix issue:

(add-hook 'pre-redisplay-function #'hl-line-highlight nil t)
(add-hook 'pre-redisplay-function #'hl-line-maybe-unhighlight nil t)
(add-hook 'pre-redisplay-function #'global-hl-line-highlight)
(add-hook 'pre-redisplay-function #'global-hl-line-maybe-unhighlight)

These two functions are used in `hl-line.el'.
I've tried pre-redisplay-functions hook as well with no effect.

-- 
Best regards,
Andrey Orst

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

  parent reply	other threads:[~2019-10-21 11:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-21  8:27 bug#37848: 27.0.50; hl-line and line-numbers out of sync Andrey Orst
2019-10-21 10:16 ` Eli Zaretskii
2019-10-21 10:24   ` Andrey Orst
2019-10-21 10:49     ` Eli Zaretskii
     [not found]       ` <CAAKhXoYYd-z8PZdxTB+Z3ATMwgY3kh=Y-05zOUa2vkeVMC78fg@mail.gmail.com>
2019-10-21 11:43         ` Andrey Orst [this message]
2019-10-21 12:58         ` Eli Zaretskii

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=CAAKhXoaZr3eF2P6wdaRwzrYvk55TrazofQ-qmmwvAEhSJWzqRw@mail.gmail.com \
    --to=andreyorst@gmail.com \
    --cc=37848@debbugs.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.