unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Artur Malabarba <bruce.connor.am@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: [ELPA] New package: beacon
Date: Thu, 15 Oct 2015 18:40:35 -0400	[thread overview]
Message-ID: <CAFyQvY0t=0f_N5cFN+ExHzYMfrNckuAZ=9_5zKcodF76pOyy5A@mail.gmail.com> (raw)
In-Reply-To: <CAFyQvY0+CfVyRop6GwWXOYSpkQK3aSb_3sBJdgoATbo_wyfFQQ@mail.gmail.com>

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

​I have one more optimization request:

If the same buffer is shown in multiple windows, the beacon "leaks" in all
those windows.

It would be nice to have a customization option like hl-line-sticky-flag​
(from the hl-line package) such that the beacon is shown only in the active
window.


--
Kaushal Modi

On Thu, Oct 15, 2015 at 6:27 PM, Kaushal Modi <kaushal.modi@gmail.com>
wrote:

> > You can try reenabling it at the end of beacon--vanish.
> That worked!
>
> > But here's another idea: try adding this line inside
> beacon--ov-put-after-string, between the two calls to `overlay-put'
>     (overlay-put overlay 'priority most-positive-fixnum)
>
> ​I commented out the fci-mode hacks, did the above and re-evalled.. this
> works even better! Thanks!​
>
> I didn't quite understand why setting the beacon overlay priority to the
> max worked.. Was it that earlier the fci-mode overlays were fighting to get
> displayed inbetween the beacon overlay displays?
>
> --
> Kaushal Modi
>
> On Thu, Oct 15, 2015 at 6:13 PM, Artur Malabarba <
> bruce.connor.am@gmail.com> wrote:
>
>> 2015-10-15 22:44 GMT+01:00 Kaushal Modi <kaushal.modi@gmail.com>:
>> > OK, I think I need to reenable fci-mode at the end of beacon--dec. It
>> seems
>> > to sort of work, just that the fci-mode gets re-enabled too soon,
>> slightly
>> > before the beacon trails finish vanishing.
>>
>> You can try reenabling it at the end of beacon--vanish.
>> But here's another idea: try adding this line inside
>> beacon--ov-put-after-string, between the two calls to `overlay-put'
>>     (overlay-put overlay 'priority most-positive-fixnum)
>>
>
>

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

  reply	other threads:[~2015-10-15 22:40 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15 17:02 [ELPA] New package: beacon Artur Malabarba
2015-10-15 17:24 ` Kaushal Modi
2015-10-15 17:26   ` Kaushal Modi
2015-10-15 17:33     ` Kaushal Modi
2015-10-15 21:27       ` Artur Malabarba
2015-10-15 21:37         ` Kaushal Modi
2015-10-15 21:44           ` Kaushal Modi
2015-10-15 22:13             ` Artur Malabarba
2015-10-15 22:27               ` Kaushal Modi
2015-10-15 22:40                 ` Kaushal Modi [this message]
2015-10-16  8:06                   ` Tassilo Horn
2015-10-15 22:47                 ` Artur Malabarba
2015-10-15 21:21   ` Artur Malabarba
2015-10-16 13:11     ` Phillip Lord
2015-10-16 13:54       ` Artur Malabarba
2015-10-15 21:42   ` Rasmus
2015-10-15 17:36 ` Marcin Borkowski
2015-10-15 17:55   ` Kaushal Modi
2015-10-15 18:17   ` Artur Malabarba
2015-10-15 18:31 ` Howard Melman
2015-10-15 21:36   ` Artur Malabarba
2015-10-21 17:10 ` [ELPA] New package: on-screen (was: [ELPA] New package: beacon) Michael Heerdegen
2015-10-21 18:20   ` [ELPA] New package: on-screen John Wiegley
2015-10-21 18:54     ` John Wiegley
2015-10-21 19:04     ` Michael Heerdegen
2015-10-21 19:28       ` John Wiegley
2015-10-22  7:26     ` David Kastrup

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFyQvY0t=0f_N5cFN+ExHzYMfrNckuAZ=9_5zKcodF76pOyy5A@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=bruce.connor.am@gmail.com \
    --cc=emacs-devel@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.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).