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:27:09 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3223862336505222c30cf X-Trace: ger.gmane.org 1444948084 16279 80.91.229.3 (15 Oct 2015 22:28:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2015 22:28:04 +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:28:04 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 1Zmr0E-00037q-Qj for ged-emacs-devel@m.gmane.org; Fri, 16 Oct 2015 00:28:03 +0200 Original-Received: from localhost ([::1]:49975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmr06-0002r0-9H for ged-emacs-devel@m.gmane.org; Thu, 15 Oct 2015 18:27:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmr02-0002qt-On for emacs-devel@gnu.org; Thu, 15 Oct 2015 18:27:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zmr01-0006wb-Os for emacs-devel@gnu.org; Thu, 15 Oct 2015 18:27:50 -0400 Original-Received: from mail-ob0-x22f.google.com ([2607:f8b0:4003:c01::22f]:35006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmr01-0006wR-Ih for emacs-devel@gnu.org; Thu, 15 Oct 2015 18:27:49 -0400 Original-Received: by obbzf10 with SMTP id zf10so77032627obb.2 for ; Thu, 15 Oct 2015 15:27:49 -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=FjfSqmgSmzatuaIp8Bs4usZleIw4ZF+9GoorypHPUds=; b=wSfNWFecB6Hp9qlJFAblW5skWaAAr/L+supaxr/L7u//bmUKuLVx90yuKhQMyZ7t0v crAiFS82SW0Xx/9ol0FAOh2Y8bv9nWwMTMPgvrWqpjsHOJZMcIa+AxPK7EKh8gqGj+zl 6t8xzvgKof/FhfTOPU4i4JuDFOStIJr8ubkX4WQzA+NpCzKpI6dTc27rQGWwnHMXndzY pxaE89imdNwxBw/JYkefRAKTni/T7tI0iV49Fbq2cJxWcrLDAmJj6gntLnVdwceyaPyh tF3YK/GAQ4MQ+YBbX4JqxvrPKySty2Co6tx0N15MDaMBA4v+118QTKHHo5ASVVogBA7y sPDw== X-Received: by 10.182.29.202 with SMTP id m10mr5957364obh.5.1444948069198; Thu, 15 Oct 2015 15:27:49 -0700 (PDT) Original-Received: by 10.202.44.8 with HTTP; Thu, 15 Oct 2015 15:27:09 -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:c01::22f 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:191698 Archived-At: --001a11c3223862336505222c30cf Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > 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 get displayed inbetween the beacon overlay displays? -- Kaushal Modi On Thu, Oct 15, 2015 at 6:13 PM, Artur Malabarba 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) > --001a11c3223862336505222c30cf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
>=C2=A0You can try reenabling it at the en= d of beacon--vanish.
That worked!

>=C2=A0But here's another idea: try= adding this line inside
beaco= n--ov-put-after-string, between the two calls to `overlay-put'=C2=A0 =C2=A0= (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 get displayed inbetw= een the beacon 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)

--001a11c3223862336505222c30cf--