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: [ELPA] New package: delight.el Date: Sun, 26 Jun 2016 19:27:10 +1200 Message-ID: <576F83CE.7040402@orcon.net.nz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1466926091 9860 80.91.229.3 (26 Jun 2016 07:28:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jun 2016 07:28:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 26 09:28:01 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 1bH4U5-0006Bk-CB for ged-emacs-devel@m.gmane.org; Sun, 26 Jun 2016 09:28:01 +0200 Original-Received: from localhost ([::1]:52978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bH4U1-0006N0-5q for ged-emacs-devel@m.gmane.org; Sun, 26 Jun 2016 03:27:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bH4TT-0006Mt-S3 for emacs-devel@gnu.org; Sun, 26 Jun 2016 03:27:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bH4TP-0007jh-W4 for emacs-devel@gnu.org; Sun, 26 Jun 2016 03:27:23 -0400 Original-Received: from [219.88.242.52] (port=51225 helo=mail.orcon.net.nz) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bH4TP-0007jc-FV for emacs-devel@gnu.org; Sun, 26 Jun 2016 03:27:19 -0400 Original-Received: from [192.168.20.100] ([150.107.172.115]) (authenticated bits=0) by mail.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id u5Q7RB7L012568 for ; Sun, 26 Jun 2016 19:27:11 +1200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 X-Bayes-Prob: 0.0001 (Score 0: No Bayes scoring rules defined, tokens from: outbound) X-CanIt-Geo: ip=150.107.172.115; 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: 01RbjrbRd - 88219bb5c4d4 - 20160626 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 219.88.242.52 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:204770 Archived-At: 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