From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: beacon Date: Thu, 15 Oct 2015 18:40:35 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113ce5e26f2bb105222c6032 X-Trace: ger.gmane.org 1444948896 27610 80.91.229.3 (15 Oct 2015 22:41:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2015 22:41:36 +0000 (UTC) Cc: emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 16 00:41:34 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZmrD7-0000Cb-Th for ged-emacs-devel@m.gmane.org; Fri, 16 Oct 2015 00:41:22 +0200 Original-Received: from localhost ([::1]:50002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmrD6-0004Nt-Pc for ged-emacs-devel@m.gmane.org; Thu, 15 Oct 2015 18:41:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmrD2-0004Na-T5 for emacs-devel@gnu.org; Thu, 15 Oct 2015 18:41:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmrD1-00030M-V1 for emacs-devel@gnu.org; Thu, 15 Oct 2015 18:41:16 -0400 Original-Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]:33679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmrD1-00030I-OF for emacs-devel@gnu.org; Thu, 15 Oct 2015 18:41:15 -0400 Original-Received: by oiar126 with SMTP id r126so54695661oia.0 for ; Thu, 15 Oct 2015 15:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=gV0pRyFZxABvongQkdCS/nYEMV/EayWfJ3hKM9swYYI=; b=ejL0/R3awmXaoRLEhwMSZYZLQhoRjZVOfpZHaBMkvzTo5p88E/jTy7vU09XOPbHoAg sCYb90fqE/tgXreMcBpJTHNEpqiCZgutsdHMPnRmhCE8mnxndTn25DukYcNWluO3yb9b 2qL8rg+kfzu/+YiqrH4+jsaPQSO3seW8IJLk39LIZ8f+lFsTVnHAHbhynh6U9uU1GLxN Hk+0Z0ijx32k9BxpKPFcAGZsPeUjP96vvhRsUoEb5LlT0W/XNRWj+UlSj3D6bSSHWBdq +MzOrp5l//oZkb+gsHGw+N7E5sVXk7PBYMQFKYM9HsuKrw/WIYNb8h1JXmNRslN21WKI DTAw== X-Received: by 10.202.173.142 with SMTP id w136mr1683733oie.128.1444948875354; Thu, 15 Oct 2015 15:41:15 -0700 (PDT) Original-Received: by 10.202.44.8 with HTTP; Thu, 15 Oct 2015 15:40:35 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:191699 Archived-At: --001a113ce5e26f2bb105222c6032 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =E2=80=8BI 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=E2= =80=8B (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 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) > > =E2=80=8BI commented out the fci-mode hacks, did the above and re-evalled= .. this > works even better! Thanks!=E2=80=8B > > 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 g= et > 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 : >> > 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) >> > > --001a113ce5e26f2bb105222c6032 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=E2=80=8BI have one more optimiz= ation request:

If the same buffer is shown in multiple windows, the beacon "le= aks" in all those windows.

It would be nice to have a customization option lik= e hl-line-sticky-flag=E2=80=8B (from the hl-line package) such that the bea= con is shown only in the active window.


--
Kaushal Modi

On Thu, Oct 15, 2015 at 6:27 PM, Kaushal Mod= i <kaushal.modi@gmail.com> wrote:
&= gt;=C2=A0You = can try reenabling it at the end of beacon--vanish.
That worked!

=
>=C2=A0But here's another idea: try adding this line in= side
beacon--ov-put-after-stri= ng, between the two calls to `overlay-put'
=C2=A0 =C2=A0 (overlay-put overla= y 'priority most-positive-fixnum)

=E2=80=8BI commented out the fci-mode hacks, did the above and re-= evalled.. this works even better! Thanks!=E2=80=8B

I didn't quite understand wh= y setting the beacon overlay priority to the max worked.. Was it that earli= er the fci-mode overlays were fighting to get displayed inbetween the beaco= n overlay displays?=C2=A0

--
Kaushal Modi

On Thu, Oct 15, 2015 at 6:13 PM, Artur Malab= arba <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, slig= htly
> 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'
=C2=A0 =C2=A0 (overlay-put overlay 'priority most-positive-fixnum)


--001a113ce5e26f2bb105222c6032--