~emersion/soju-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 2

[PATCH] Expand example for rcirc

Details
Message ID
<20221015213454.442910-1-sandra.snan@idiomdrottning.org>
DKIM signature
pass
Download raw message
Patch: +10 -1
If you don't like OFTC you can change it to tilde.chat or any other
network.
---
 contrib/clients.md | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/contrib/clients.md b/contrib/clients.md
index e947046..3df2c85 100644
--- a/contrib/clients.md
+++ b/contrib/clients.md
@@ -43,8 +43,17 @@ The only thing needed here is the general config:
         :encryption tls
         :nick "<nick>"
         :user-name "<username>/irc.libera.chat" ;; Example with Libera.Chat
         :password "<password>")))
         :password "<password>"
         :server-alias "libera")
        ("<server>" ;: same soju server address for both
         :port 6697
         :encryption tls
         :nick "<nick>"
         :user-name "<username>/irc.oftc.net" ;; Example with OFTC
         :password "<password>" ;; same soju password for both
         :server-alias "oftc")))
```
(The password should be your soju password, you'll configure your network passwords by talking to BouncerServ.)

Then run `M-x irc`.

-- 
2.30.2
Details
Message ID
<87eduvlqrd.fsf@posteo.net>
In-Reply-To
<20221015213454.442910-1-sandra.snan@idiomdrottning.org> (view parent)
DKIM signature
pass
Download raw message
Sandra Snan <sandra.snan@idiomdrottning.org> writes:

> If you don't like OFTC you can change it to tilde.chat or any other
> network.
> ---
>  contrib/clients.md | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/contrib/clients.md b/contrib/clients.md
> index e947046..3df2c85 100644
> --- a/contrib/clients.md
> +++ b/contrib/clients.md
> @@ -43,8 +43,17 @@ The only thing needed here is the general config:
>           :encryption tls
>           :nick "<nick>"
>           :user-name "<username>/irc.libera.chat" ;; Example with Libera.Chat
> -         :password "<password>")))
> +         :password "<password>"
> +         :server-alias "libera")
> +        ("<server>" ;: same soju server address for both
> +         :port 6697
> +         :encryption tls
> +         :nick "<nick>"
> +         :user-name "<username>/irc.oftc.net" ;; Example with OFTC
> +         :password "<password>" ;; same soju password for both
> +         :server-alias "oftc")))
>  ```
> +(The password should be your soju password, you'll configure your network passwords by talking to BouncerServ.)

I am afraid that this does not work, if the server name is used twice,
rcirc will attempt to associate the network process with the same
buffer, which doesn't work conceptually.  The fact that this doesn't
trigger an error should be considered a bug on rcirc' part.

>  Then run `M-x irc`.
Details
Message ID
<Mr.EYEFOOPEtiU.pVv-QmYxKko@idiomdrottning.org>
In-Reply-To
<87eduvlqrd.fsf@posteo.net> (view parent)
DKIM signature
pass
Download raw message
This does work fine for me actually.

I have three networks set up this way (in addition to a fourth one which 
is BitlBee on localhost).

The buffers are associated with the server alias, not with the server url. 
E.g. I talk to BouncerServ@oftc and BouncerServ@libera in buffers with those 
names.

I have the exact same server name (i.e. url) as key in three different entries 
in server-alist, and the passwords, port, encryption and nick are also the 
same, they just have different usernames and server alias (which means it's 
not being treated as a real alist, which normally only use the car-most 
instance of each key).
Details
Message ID
<Mr.lfLan6gCRo4.yydN_5ELw3U@idiomdrottning.org>
In-Reply-To
<Mr.EYEFOOPEtiU.pVv-QmYxKko@idiomdrottning.org> (view parent)
DKIM signature
pass
Download raw message
I've used it for more than a week and it's been working fantastic. Maybe 
we have different versions of rcirc?
Reply to thread Export thread (mbox)