From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: delight.el Date: Tue, 12 Jul 2016 11:45:44 +1200 Message-ID: <57842FA8.4090001@orcon.net.nz> References: <576F83CE.7040402@orcon.net.nz> <5783C833.3090704@orcon.net.nz> <5783DA20.4030909@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1468280813 20579 80.91.229.3 (11 Jul 2016 23:46:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2016 23:46:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 12 01:46:42 2016 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 1bMkuO-0001xL-PI for ged-emacs-devel@m.gmane.org; Tue, 12 Jul 2016 01:46:40 +0200 Original-Received: from localhost ([::1]:36660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMkuK-0003P1-MU for ged-emacs-devel@m.gmane.org; Mon, 11 Jul 2016 19:46:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMktj-0003Or-W0 for emacs-devel@gnu.org; Mon, 11 Jul 2016 19:46:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMktg-0002CX-OC for emacs-devel@gnu.org; Mon, 11 Jul 2016 19:45:59 -0400 Original-Received: from [219.88.242.56] (port=40790 helo=mail.orcon.net.nz) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMktg-0002Bs-7e for emacs-devel@gnu.org; Mon, 11 Jul 2016 19:45:56 -0400 Original-Received: from [192.168.20.100] ([150.107.172.54]) (authenticated bits=0) by mail.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id u6BNji8o016562 for ; Tue, 12 Jul 2016 11:45:45 +1200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: <5783DA20.4030909@gmail.com> X-Bayes-Prob: 0.0001 (Score 0: No Bayes scoring rules defined, tokens from: outbound) X-CanIt-Geo: ip=150.107.172.54; country=NZ; region=Auckland; city=Auckland; latitude=-36.8667; longitude=174.7667; http://maps.google.com/maps?q=-36.8667,174.7667&z=6 X-CanItPRO-Stream: base:outbound X-Canit-Stats-ID: 01RhzJJAK - 734a43abe1db - 20160712 X-Scanned-By: CanIt (www . roaringpenguin . com) X-MIME-Autoconverted: from 8bit to quoted-printable by mail.orcon.net.nz id u6BNji8o016562 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 219.88.242.56 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:205564 Archived-At: Hi Cl=C3=A9ment, > could the be turned into a patch against diminish? My preference is to keep this separate. delight.el is pretty well- established at this point (I first released it three years ago), and diminish.el is not part of GNU ELPA, so I expect you'd need to contact its author about patching it in any case. I'm just looking to give delight.el a new home. -Phil On 12/07/16 05:40, Cl=C3=A9ment Pit--Claudel wrote: > Sorry I didn't look at this until now. Given the short length of the c= ode, I wonder: could the be turned into a patch against diminish? This wa= y diminish users would all benefit from the improvements, right? >=20 > Cl=C3=A9ment. >=20 > On 2016-07-11 18:24, Phil Sainty wrote: >> No comments on this to date, so I'd quite like to see this committed >> to the GNU ELPA repo. >> >> I have a savannah account, but do not have permission to push to the >> emacs/elpa repository. I'll happily take care of it if I'm assigned >> permissions (which would assist with future updates); otherwise if >> someone else would like to do so, that would be appreciated. >> >> thanks, >> -Phil >> >> >> On 26/06/16 19:27, Phil Sainty wrote: >>> I would like to propose my delight.el library for inclusion in >>> GNU ELPA (or as a standard Emacs library if that is of interest). >>> >>> Delight enables you to easily customise how major and minor modes >>> appear in the mode line. >>> >>> It was inspired by a well-known library called Diminish which >>> facilitates the same thing for minor modes only. I wrote Delight >>> because I wanted something which also supported major modes, as well >>> as a more concise syntax for configuration (in particular, something >>> which didn't necessitate writing an explicit call to eval-after-load >>> to handle unloaded modes). >>> >>> Detailed documentation and examples are in the commentary, and at: >>> https://www.emacswiki.org/emacs/DelightedModes >>> >>> The source code is now maintained at: >>> http://git.savannah.gnu.org/cgit/delight.git >>> http://git.savannah.gnu.org/cgit/delight.git/plain/delight.el >>> >>> (For GNU ELPA I would use an external/subtree approach with this >>> new Savannah repository.) >>> >>> >>> n.b. At one point someone submitted a melpa recipe for the EmacsWiki >>> source, and so this has also been available via melpa for some time, >>> but I'd prefer it to be on GNU ELPA. >>> >>> >>> I could potentially include delight-powerline.el as well. >>> https://www.emacswiki.org/emacs/DelightedPowerLine >>> That's a small integration library I wrote on request so that >>> Delight would work with the various "Powerline" libraries out there >>> on github and melpa and the like. I'm not sure whether there are >>> conventions to follow regarding GNU ELPA packages integrating with >>> non-GNU libraries, so I've left it out for now. >>> >>> >>> -Phil >>> >> >> >=20