emms-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emms-help] mpv player alternative with json-ipc


From: Mike Kazantsev
Subject: Re: [emms-help] mpv player alternative with json-ipc
Date: Sat, 26 May 2018 03:43:01 +0500

On Fri, 25 May 2018 18:22:59 -0400
Yoni Rabkin <address@hidden> wrote:

> Mike Kazantsev <address@hidden> writes:
> 
> > On Fri, 25 May 2018 17:55:56 -0400
> > Yoni Rabkin <address@hidden> wrote:
> >  
> >> I also think the code needs to move to the emms-player-... namespace.  
> >
> > Yeah, I was kinda afraid of that.
> >
> > Not hard to change, but that'd make all the names so horribly long,
> > hurting readability, unless there some way to filter all that noise out
> > (and fit more than one such name on a line).
> >
> > Is there no other convention to maybe use much shorter reasonably-unique
> > prefix instead of much longer one?  
> 
> None that I can think of, unless we move to emms-plr-... or something,
> which isn't a huge improvement; I think that players should have their
> own namespace.
> 
> I've always kind of visually "tuned out" the long names. I guess I could
> also write up some code to abbreviate the display of these names on the
> Emacs-level.
> 
> What do other people think of this?

I didn't think of it much before either, but it indeed sounds like a
great idea, and kinda easy to implement too.

Have used something like this before for python:
https://github.com/mk-fg/emacs-setup/blob/master/extz/lambda-mode.el

Just need to have same code generate prefix from file name and replace
it with some unique letter.

Not sure if it'll be an improvement, but it's always hard to tell with
these things until you try.

Will post a follow-up here if it works for me at least.


-- 
Mike Kazantsev // fraggod.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]