[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH: Add the ability to give rcirc servers an alias name
From: |
Ryan Yeske |
Subject: |
Re: PATCH: Add the ability to give rcirc servers an alias name |
Date: |
Sun, 08 Nov 2015 10:52:04 -0800 |
Where is the patch?
On Sun, Nov 8, 2015, at 11:22 AM, Artur Malabarba wrote:
> Dave Barker <address@hidden> writes:
>
> > Second try, reconnecting to servers now works again and the proper
> > server names are displayed.
> >
> > (Also I forgot to mention before, patch applies
> > to ea88d874a4f3ecbfdb5fa79dcb3ea90927cebec2 )
>
> Hi Dave,
>
> Your patch looks fine to me, but I'm not familiar with rcirc code.
> Therefore. I've CC'd here Leo and Ryan who are listed as rcirc
> maintainers in the file.
>
> >
> > Cheers, Dave.
> >
> > On Sat, Nov 7, 2015 at 11:00 PM, Dave Barker <address@hidden> wrote:
> >
> > Hello all,
> >
> > First time contributing to Emacs (or at least attempting to),
> > sorry if I'm doing this wrong somehow.
> >
> > I wanted the ability to give rcirc servers an alias name, to be
> > displayed instead of the actual server name. The reason is that I
> > use the ZNC IRC bouncer to connect to multiple servers and this
> > means, as far as rcirc is concerned, that I have 4+ servers with
> > the same server name - my ZNC server's hostname. This breaks
> > rcirc, it won't let you connect to the same server twice, but
> > even if it did things would quickly get confusing. (Up until now
> > I've had to add bogus entries in my hosts file to point each IRC
> > server's hostname to my ZNC server, but that's clearly quite a
> > hack!)
> >
> > So the attached patch adds an optional :server-alias keyword
> > parameter to rcirc-server-alist that allows you to specify a
> > friendlier name for a rcirc server. The name is then used when
> > messages are displayed, and for buffer naming purposes. If not
> > specified the real server name is used instead just like before.
> > (For people who are used to GitHub, here's my feature branch.)
> >
> > It would be great to get some feedback on this, the patch is
> > working great for me but I'm inexperienced with elisp and this is
> > the first time I've had a look at the rcirc code.
> >
> > Cheers, Dave.