Oleksandr Gavenko | 8 Jun 2011 10:45
Picon

How ERC can warn me if someone wrote to me?

Currently it mark by different color in mode-line if I set:

(setq erc-current-nick-highlight-type 'nick-or-keyword)
(setq erc-track-use-faces t)

But I want to know more option.

http://www.emacswiki.org/emacs/ErcNickNotify - require external .el
file and external libnotify program.

What are you using?
Oleksandr Gavenko | 8 Jun 2011 13:16
Picon

Fix doc?

"8 Getting Help and Reporting Bugs" say:

        2. gmane.emacs.erc.discuss: General discussion

but seems this group named as: gmane.emacs.erc.general

Or am I something missing?
ZhangJun | 19 Jun 2011 10:44
Picon

how to always show tabbar ?


Hi list,

I'm using ERC with tabbar or elscreen,
but the tabbar or elscreen disappear when current buffer is ERC buffer,
the tabbar wiki page says, I can do M-x tabbar-local-mode to get the tabbar line back.
but that's not permanent,
is there any way to always display the tabbar ? even not to display the channel topic.

thanks!
Ted Zlatanov | 23 Jun 2011 14:24
X-Face
Favicon
Gravatar

Re: STARTTLS for erc

On Thu, 23 Jun 2011 02:54:52 +0200 Lars Magne Ingebrigtsen <larsi <at> gnus.org> wrote: 

LMI> So you have to know in advance that the server supports STARTTLS or not,
LMI> which is kinda, er, stupid.

LMI> However.  After logging in, the servers seem to output a capability list
LMI> of sort during the login greeting.  But at that point it's too late to
LMI> get STARTTLS support going.  *sigh*

LMI> So erc could close the connection, and then restart it, now with
LMI> STARTTLS.  But ircd logins are notoriously slow, so that's totally
LMI> icky.

I'd make "no" the default because that STARTTLS support is rare.

LMI> So perhaps something like the following would work?  If erc sees that
LMI> the server supports STARTTLS, then it will store this data for future
LMI> reference.  The next login will look up this data, and if the server
LMI> supports STARTTLS, it'll do STARTTLS.

LMI> But where would this per-server data be stored?

It could be in auth-source, together with the user name and password
which I am supposed to add eventually (I posted a patch on the
emacs-bugs list a month or two ago and haven't had the time to apply it
and test it).  If you want, go ahead and use that patch.  I would make
the STARTTLS preference a "tls" key with a "yes/no/opportunistic" value,
with "no" or missing meaning no STARTTLS should be done.

Otherwise you could store the STARTTLS preference in the server
(Continue reading)

Antoine Levitt | 23 Jun 2011 15:44
Picon

Re: STARTTLS for erc

23/06/11 14:24, Ted Zlatanov
> LMI> And this would be somewhat brittle.  If a server goes from one type
> LMI> (supporting STARTTLS) to another (not supporting STARTTLS), it might
> LMI> mean that the next login might fail.
>
> I think that's really rare, unless you're hitting a DNS round-robin.

That's not so rare, the big IRC servers (for instance, irc.freenode.org)
redirect to subservers (like hitchcock.freenode.net) which might or
might not support TLS. Unless I'm misunderstanding what you're talking
about?

If it's not possible to have a clean opportunistic STARTTLS for ERC,
it's probably best to just leave it alone IMHO. Storing a flag to
connect via TLS next time just seems too hackish, and the benefits are
minimal. Also, TLS connections to IRC servers take ages, so it's
probably not a good idea to turn this on by default, which means users
would have to turn it on manually, and they can just as well call
erc-tls if they know the server supports it.
Aidan Gauland | 23 Jun 2011 04:07
Picon
Favicon
Gravatar

erc-tls over socks

Hi,

I can tunnel plain, unencrypted ERC over SOCKS by evaluating this...

(let ((erc-server-connect-function 'socks-open-network-stream)
      (socks-server '("Tunnel" "localhost" 1080 5)))
  (erc :server "irc.example.net"
       :port 6667
       :nick "aidalgol" :full-name "Millicent Bystander"))

But if I change `erc' to `erc-tls' (and the port to 6697 or whatever
port on which the server accepts encrypted IRC connects)...

(let ((erc-server-connect-function 'socks-open-network-stream)
      (socks-server '("Tunnel" "localhost" 1080 5)))
  (erc-tls :server "irc.example.net"
           :port 6697
           :nick "aidalgol" :full-name "Millicent Bystander"))

...ERC connects directly, bypassing the SOCKS proxy.  Is it simply not
possible to use TLS over SOCKS at all (even outside Emacs), or does it
have to do with the way in which Emacs initiates TLS connections?

Regards,
Aidan Gaualnd

(P.S. To those of you also on gnu.emacs.help, sorry for the cross-post.
I forgot about this group when I posted this there.)
Lars Magne Ingebrigtsen | 24 Jun 2011 16:20
Face
Picon
Favicon
Gravatar

Re: STARTTLS for erc

Antoine Levitt <antoine.levitt <at> gmail.com> writes:

> If it's not possible to have a clean opportunistic STARTTLS for ERC,
> it's probably best to just leave it alone IMHO.

Yeah, I'm going to skip any further work on this for the time being...

--

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/

Gmane