unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [ELPA] New package: delight.el
@ 2016-06-26  7:27 Phil Sainty
  2016-07-11 16:24 ` Phil Sainty
  0 siblings, 1 reply; 7+ messages in thread
From: Phil Sainty @ 2016-06-26  7:27 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ELPA] New package: delight.el
  2016-06-26  7:27 [ELPA] New package: delight.el Phil Sainty
@ 2016-07-11 16:24 ` Phil Sainty
  2016-07-11 17:40   ` Clément Pit--Claudel
  0 siblings, 1 reply; 7+ messages in thread
From: Phil Sainty @ 2016-07-11 16:24 UTC (permalink / raw)
  To: emacs-devel

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
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ELPA] New package: delight.el
  2016-07-11 16:24 ` Phil Sainty
@ 2016-07-11 17:40   ` Clément Pit--Claudel
  2016-07-11 23:45     ` Phil Sainty
  0 siblings, 1 reply; 7+ messages in thread
From: Clément Pit--Claudel @ 2016-07-11 17:40 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 2418 bytes --]

Sorry I didn't look at this until now.  Given the short length of the code, I wonder: could the be turned into a patch against diminish? This way diminish users would all benefit from the improvements, right?

Clément.

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
>>
> 
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ELPA] New package: delight.el
  2016-07-11 17:40   ` Clément Pit--Claudel
@ 2016-07-11 23:45     ` Phil Sainty
  2016-07-12  9:32       ` Clément Pit--Claudel
  2016-07-12 16:15       ` Toon Claes
  0 siblings, 2 replies; 7+ messages in thread
From: Phil Sainty @ 2016-07-11 23:45 UTC (permalink / raw)
  To: emacs-devel

Hi Clément,

> 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ément Pit--Claudel wrote:
> Sorry I didn't look at this until now.  Given the short length of the code, I wonder: could the be turned into a patch against diminish? This way diminish users would all benefit from the improvements, right?
> 
> Clément.
> 
> 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
>>>
>>
>>
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ELPA] New package: delight.el
  2016-07-11 23:45     ` Phil Sainty
@ 2016-07-12  9:32       ` Clément Pit--Claudel
  2016-07-12 16:15       ` Toon Claes
  1 sibling, 0 replies; 7+ messages in thread
From: Clément Pit--Claudel @ 2016-07-12  9:32 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 133 bytes --]

On 2016-07-12 01:45, Phil Sainty wrote:
> I'm just looking to give delight.el a new home.

Makes sense; thanks for clarifying!


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ELPA] New package: delight.el
  2016-07-11 23:45     ` Phil Sainty
  2016-07-12  9:32       ` Clément Pit--Claudel
@ 2016-07-12 16:15       ` Toon Claes
  2016-07-12 21:21         ` Phil Sainty
  1 sibling, 1 reply; 7+ messages in thread
From: Toon Claes @ 2016-07-12 16:15 UTC (permalink / raw)
  To: Phil Sainty; +Cc: emacs-devel


> On 12 Jul 2016, at 01:45, Phil Sainty <psainty@orcon.net.nz> wrote:
> 
> 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.

It would be great to see delight.el being part of ELPA.
Maybe there is an added benefit, John's use-package.el now (optionally) requires diminish.el. It would be awesome if it would be replaced by delight. This might make integration use-package into emacs easier. 
WDYT John?

Regards,
Toon Claes





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ELPA] New package: delight.el
  2016-07-12 16:15       ` Toon Claes
@ 2016-07-12 21:21         ` Phil Sainty
  0 siblings, 0 replies; 7+ messages in thread
From: Phil Sainty @ 2016-07-12 21:21 UTC (permalink / raw)
  To: Toon Claes; +Cc: Emacs-devel, emacs-devel

On 2016-07-13 04:15, Toon Claes wrote:
> Maybe there is an added benefit, John's use-package.el now
> (optionally) requires diminish.el. It would be awesome if it would be
> replaced by delight. This might make integration use-package into
> emacs easier.

I believe use-package already supports delight.el via the :delight
keyword?

It's not mentioned in the readme, but I can see relevant code in
use-package.el:

https://raw.githubusercontent.com/jwiegley/use-package/master/use-package.el

https://github.com/jwiegley/use-package/issues/187





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-07-12 21:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-26  7:27 [ELPA] New package: delight.el Phil Sainty
2016-07-11 16:24 ` Phil Sainty
2016-07-11 17:40   ` Clément Pit--Claudel
2016-07-11 23:45     ` Phil Sainty
2016-07-12  9:32       ` Clément Pit--Claudel
2016-07-12 16:15       ` Toon Claes
2016-07-12 21:21         ` Phil Sainty

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).