From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Brubeck Unhammer Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Allow irc networks in erc-autojoin-channels-alist Date: Mon, 09 Mar 2015 10:48:42 +0100 Message-ID: <87r3sylcw5.fsf@mm.st> References: <1425467187-22491-1-git-send-email-unhammer@fsfe.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1425894562 4031 80.91.229.3 (9 Mar 2015 09:49:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Mar 2015 09:49:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kelvin White Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 09 10:49:12 2015 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 1YUuJE-000616-Ln for ged-emacs-devel@m.gmane.org; Mon, 09 Mar 2015 10:49:12 +0100 Original-Received: from localhost ([::1]:42425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUuJ8-0002tb-Tb for ged-emacs-devel@m.gmane.org; Mon, 09 Mar 2015 05:49:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUuIt-0002tI-8b for emacs-devel@gnu.org; Mon, 09 Mar 2015 05:48:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUuIo-0004AC-B6 for emacs-devel@gnu.org; Mon, 09 Mar 2015 05:48:51 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:45485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUuIo-00049r-7T for emacs-devel@gnu.org; Mon, 09 Mar 2015 05:48:46 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 7FC2520655; Mon, 9 Mar 2015 05:48:43 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Mon, 09 Mar 2015 05:48:45 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:from:to:cc:subject:references :date:in-reply-to:message-id:mime-version:content-type; s= smtpout; bh=rFwWCd0UgJKDisK1eMOxSMxS2UE=; b=PdFLAxnAIxOk/smSoCM/ oCnWrEDdZDqwsBFFlOYqNqAEpvcyK8DVqATmFldQaQtsL1oHWtS6+WhDcrV6TXFA CTfSPGow89Og71XGoIM0Fn+E8GNhjjQnipTacfG5ANJvIAMXpc8uknIjHg2E6SuQ SlAFUqQxJiVIJ2YAT6kNr+A= X-Sasl-enc: q9zNwnTuHZW4Edc+wjeej2gCptsKM1J5raFS8eR7IYH3 1425894524 Original-Received: from kiwiarch (unknown [84.210.14.246]) by mail.messagingengine.com (Postfix) with ESMTPA id 55FAEC002A3; Mon, 9 Mar 2015 05:48:44 -0400 (EDT) In-Reply-To: (Kelvin White's message of "Thu, 05 Mar 2015 14:54:17 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.26 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183740 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable (Thought I'd posted this reply earlier, but I don't see it in the list; sorry if I'm posting a duplicate here.) Kelvin White writes: > Hi Keivn, I have a few questions about this... > Can you elaborate on the use case here a bit more? What do you mean by > 'keying on the server' The key in the assoc list is typically something like "freenode\\.net" (a regex matching the IRC server). I use ERC to connect to my Weechat IRC proxy; the same proxy *server* provides access to several *networks*, but the `erc-server-announced-name' is always "weechat.ssl.irc" (more info at https://weechat.org/files/doc/stable/weechat_user.en.html#relay_irc_proxy ). The only way I've seen to differentiate is by the value of `erc-network' (well, also each server buffer contains a string like NETWORK=3Dfreenode or NETWORK=3DBitlBee, I suppose that's how `erc-network' is set). > What version of emacs are you using with this? 24.4.1 =2D-=20 Kevin Brubeck Unhammer GPG: 0x766AC60C --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJU/Wx6AAoJEPw8Hn0AkxZnJ+wP/1MFzsVVMJQHiMB4plODz3K/ I5yZ/D3MP8rSV10Px6YV1u6ne8vwKcvdxHHImLTG+egzW+Cy/x9qTaYNuEhEcNCN xuBUPV7zMV26XKyJd2aDsPSTxG82ATnhoTCPNEizDoS1eR8QF1v7fXNBtXO+NW65 N54fjUgNKfYbRpe7O7rXoXAWjh/+uEdEsOHsW+Tj9mV/Z+kWMjCN4mN9LSIs0dfN 84/bFh1tTSQraXvnLlfan+snBz+DDuQd3VEOmEhBqUQA8Dhwr9QaRa2M3j0Fphw6 fwf0/clKi3wRXkkmDHyuK2oUfb71vA/wlTfPs+m70LiFDGgDOarV1M3yeglj/2Ol ud1XxZqyQwW/Vm2w/219sFCBStAE7Wyf6prbBxT370bONvOtTsORFHKTVXjIym8h iQNOAu0uBN1l8mK41MRKf+U3QbjNZdCzRQCgQ4h82xLf9VsuGaQIHkuUmcwxZBs5 9GdZZtC+g+gOnMhfNLF5FfG7Gw3tLp7zi6R0b8v5NU2hpPjR4ABHGiCmZ2eSQ4nn YQvRDwidT/1CN8hDlCF86RAcwxGapjDHnW6wqCDz9k8/fWXqyDsf7nR0pB6FThgp 3CmxXyXKeswt5h1tTmVDtefHuVg8SxC+2E/8gaOXLGTJmLLHcx79/BPEveRSE1Dv fjSoFxVhQfwv/SnEz3kC =0Tej -----END PGP SIGNATURE----- --=-=-=--