From: Kevin Brubeck Unhammer <unhammer@fsfe.org>
To: Kelvin White <kwhite@gnu.org>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: [PATCH] Allow irc networks in erc-autojoin-channels-alist
Date: Tue, 10 Mar 2015 20:34:47 +0100 [thread overview]
Message-ID: <87lhj47ijs.fsf@fsfe.org> (raw)
In-Reply-To: CAG-q9=apneSTGw1YPhgmbi+D58g08m8M9OQyQaULQ1GzPboudA@mail.gmail.com
[-- Attachment #1: Type: text/plain, Size: 1444 bytes --]
Kelvin White <kwhite@gnu.org> writes:
> In the Emacs 24.5 release there is an option to use network name as
> the buffer name. Can you install this version and see if it solves the
> issue? I'm still not quite sure where what your issue is specifically,
> where you're seeing the problem exactly
I tried emacs-git-25.0.50.r120726 now (without my patched erc-join.el),
and tried setting the new option `erc-rename-buffers' to t, but that
doesn't fix my problem. From what I can tell, the erc-join code doesn't
care about buffer names (or the mode-line format), only
erc-server-announced-name/erc-session-server, when choosing what
channels to join.
The problem is that the erc-server-announced-name/erc-session-server
returned from my Weechat relay is "relay.irc" (while erc-network is the
more useful 'freenode or 'Bitlbee).
So say that I first join the freenode network through my relay, then
join #fsf; now erc-autojoin-channels-alist will contain an entry
("relay.irc" "#fsf")
Then I join the BitlBee network though my relay, which also has that
same server-name "relay.irc", and erc tries to autojoin #fsf on the
BitlBee network since it doesn't know how to tell that they're different
From each other. (Similarly, I would have to use "relay.irc" as the key
in erc-autojoin-channels-alist in order to autojoin anything at all on
the first connect.)
--
Kevin Brubeck Unhammer
GPG: 0x766AC60C
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
next prev parent reply other threads:[~2015-03-10 19:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-09 19:55 [PATCH] Allow irc networks in erc-autojoin-channels-alist Kelvin White
2015-03-10 19:34 ` Kevin Brubeck Unhammer [this message]
2015-03-10 20:10 ` Kelvin White
2015-03-11 0:51 ` Stefan Monnier
2015-03-11 1:23 ` Kelvin White
2015-03-11 5:34 ` Kelvin White
2015-03-11 13:49 ` Stefan Monnier
2015-03-11 14:58 ` Kevin Brubeck Unhammer
2015-03-11 15:13 ` Kelvin White
-- strict thread matches above, loose matches on Subject: below --
2015-03-04 11:06 Kevin Brubeck Unhammer
2015-03-05 14:54 ` Kelvin White
2015-03-09 9:48 ` Kevin Brubeck Unhammer
2018-02-22 10:16 ` Kevin Brubeck Unhammer
2018-06-17 21:45 ` Amin Bandali
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lhj47ijs.fsf@fsfe.org \
--to=unhammer@fsfe.org \
--cc=emacs-devel@gnu.org \
--cc=kwhite@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.