From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Protesilaos Stavrou Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] Add 'pulsar' package Date: Mon, 14 Mar 2022 10:38:02 +0200 Message-ID: <871qz5x72t.fsf@protesilaos.com> References: <87pmmpasom.fsf@protesilaos.com> <87ee359c2e.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17785"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.35 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: emacs-devel To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 14 09:40:10 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nTgFO-0004UQ-6y for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 09:40:10 +0100 Original-Received: from localhost ([::1]:54526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTgFM-0004LD-Nb for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 04:40:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTgDR-0003db-3K for emacs-devel@gnu.org; Mon, 14 Mar 2022 04:38:09 -0400 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:52323) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTgDP-00086Z-86 for emacs-devel@gnu.org; Mon, 14 Mar 2022 04:38:08 -0400 Original-Received: (Authenticated sender: public@protesilaos.com) by mail.gandi.net (Postfix) with ESMTPSA id 4B6A260003; Mon, 14 Mar 2022 08:38:03 +0000 (UTC) In-Reply-To: <87ee359c2e.fsf@posteo.net> Received-SPF: none client-ip=217.70.183.195; envelope-from=info@protesilaos.com; helo=relay3-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:287115 Archived-At: Hello Philip! On 2022-03-14, 08:24 +0000, Philip Kaludercic wrote: > Protesilaos Stavrou writes: > >> Good day everyone! >> >> I have a small package called "pulsar". It builds on top of pulse.el to >> temporarily highlight the current line either on demand or automatically >> after another function is invoked. Regarding the latter case, a user >> option is provided to specify the list of functions. >> >> Other user options set the desired face and control the duration of the >> pulse effect. >> >> Please see the attached patch for elpa.git. >> >> What do you think? > > I don't know if you plan to extend the package a lot more, but couldn't > this also be re-modelled into a patch for pulse.el? In principle yes. I had this discussion before regarding another small package I tried to submit: lin.[1] The suggestion was to patch hl-line directly. To cut the long story short: I could not write a good patch, so we got neither the patch nor the package on GNU ELPA. If pulsar makes sense both as a standalone package and an enhancement for pulse.el (or whatever) I prefer to have both. We can always deprecate/discontinue the package when the time is right (e.g. Emacs 29 is the new stable). In the meantime, a package provides the convenience of being readily available. What do you think? [1] -- Protesilaos Stavrou https://protesilaos.com