Jim Meyering | 3 Feb 15:10

getting new-window/query indication in "ERC messages to you" window?

Hello,

Thank you for tending ERC.
I am a happy user, with one niggling request:

Is there a way to make it so when someone does the equivalent
of "/q <my_nick>" (which creates a new window for me), that I also
get some sort of notification in my "ERC messages to you" window?

I've had a few queries like that that I've missed, because while
I take care to keep the "ERC messages to you" window visible,
there may be many other sub-windows that are hidden.

Jim
Joseph Gay | 1 Feb 09:45
Picon
Gravatar

[PATCH 2/2] response handlers needed for SASL PLAIN authentication


---
 erc-sasl.el |   67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 67 insertions(+), 0 deletions(-)
 create mode 100644 erc-sasl.el

diff --git a/erc-sasl.el b/erc-sasl.el
new file mode 100644
index 0000000..002be15
--- /dev/null
+++ b/erc-sasl.el
@@ -0,0 +1,67 @@
+;; erc-sasl.el -- handle SASL PLAIN authentication
+
+;; Copyright (C) 2001, 2002, 2003, 2004, 2006,
+;;   2007, 2008, 2009 Free Software Foundation, Inc.
+
+;; Author: Joseph Gay <joseph.gay <at> psy.ai>
+;; Keywords: comm
+
+;; This file is part of GNU Emacs.
+
+;; GNU Emacs is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; GNU Emacs is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
(Continue reading)

Peter Baranyi | 26 Nov 12:07
Picon

Re: buffer local erc-hide-list ?

On Wed, 2011-11-23 at 13:07 +0100, Giorgos Keramidas wrote:
> On Sun, Nov 20, 2011 at 5:08 PM, Peter Baranyi <peter.baranyi <at> gmail.com> wrote:
> > Hi,
> >
> > I'd like to use different erc-hide-list values for different channels.
> > If I'm on a public channel like #debian or #emacs, I don't want to see
> > any join/part/quit messages, while on a private channel with 2-3 people
> > it's good to see when someone leaves/joins.
> >
> > I tried to (make-variable-buffer-local 'erc-hide-list), but it does not
> > work, erc uses the global value.
> >
> > How can I accomplish this?
> 
> It probably requires modifying (erc-display-message) in erc.el.  The
> current function checks erc-hide-list but without making the target
> buffer the currently active buffer, so the buffer-local value of
> erc-hide-list is not taken into account:
> 
> ,-----------------------------------------------------------------------
> | (defun erc-display-message (parsed type buffer msg &rest args)
> |   "Display MSG in BUFFER.
> |
> | ARGS, PARSED, and TYPE are used to format MSG sensibly.
> |
> | See also ‘erc-format-message’ and ‘erc-display-line’."
> |   (let ((string (if (symbolp msg)
> |                     (apply ’erc-format-message msg args)
> |                   msg)))
> |     (setq string
(Continue reading)

Edward O'Connor | 25 Nov 18:29
Gravatar

Re: <space> to scroll to next page?

> I'm using erc on a linux text console. From Gnus and other emacs
> programs my fingers are used to scroll to the next page while reading
> by pressing <space>.
>
> Unfortunately I have to press <PageDown> when reading through an
> high traffic erc buffer.
>
> I would like the space bar to go down to next page unless the point
> is in the writable area of an erc buffer, where it should insert a space
> char.
>
> How do I do that?

This is how I do it:

(defun ted-erc-spc-dwim ()
  "DWIMmy behavior for the SPC key in ERC."
  (interactive)
  (condition-case nil (insert " ")
    (text-read-only
     (condition-case nil (scroll-up)
       (end-of-buffer (recenter 0))))))

(define-key erc-mode-map (kbd "SPC") 'ted-erc-spc-dwim)
Robert Epprecht | 24 Nov 14:24
Picon
Favicon

<space> to scroll to next page?

Hello

I'm using erc on a linux text console. From Gnus and other emacs
programs my fingers are used to scroll to the next page while reading
by pressing <space>.

Unfortunately I have to press <PageDown> when reading through an
high traffic erc buffer.

I would like the space bar to go down to next page unless the point
is in the writable area of an erc buffer, where it should insert a space
char.

How do I do that?

Thanks a lot,
Robert.
Peter Baranyi | 20 Nov 17:08
Picon

buffer local erc-hide-list ?

Hi,

I'd like to use different erc-hide-list values for different channels.
If I'm on a public channel like #debian or #emacs, I don't want to see
any join/part/quit messages, while on a private channel with 2-3 people
it's good to see when someone leaves/joins.

I tried to (make-variable-buffer-local 'erc-hide-list), but it does not
work, erc uses the global value.

How can I accomplish this?

Thanks.
Mike Kazantsev | 29 Oct 08:04
Picon
Gravatar

[PATCH] erc-dcc: allow SEND commands containing quoted filenames with spaces in them

Good day,

This patch allows receiving DCC SEND requests like these (X'es in IP
are digits):

  DCC SEND "Jim C. Hines - Jig the Goblin - 2 - Goblin Hero (RB v1.0).epub" 34732XXXXX 3746 322641

Filename here is enclosed in double quotes, which seem to be a common
IRC client (and dcc bot) convention for names with whitespaces and is
widely used in file-sharing channels.

Filenames without whitespace in them are not stripped of double quotes,
consistent with previous versions.

Change is basically matching ([^ ]+)|"(.*+?)" for filename instead of
just ([^ ]+).
Only one possible issue I can see with it is if filename *starts* with
double quote character and this character is used in some other field X,
*and* the overall field number in "number of field X" + 3 or greater.

I've never encountered such usage, and believe it's much more useful to
support the most common DCC SEND usage than these exotic cases if
indeed they exist at all.
Otherwise, I guess some option can be added to support such
quoted-filenames, but again, I don't think it's worth the complexity
and should be default behavior anyway.

Thanks!

From 3198d78525afadfbca7b33fd6168c1aba9bad205 Mon Sep 17 00:00:00 2001
(Continue reading)

Aidan Gauland | 15 Sep 06:05
Picon
Favicon

BUG: erc-text-matched-hook truncates /me messages

Hi,

When I evaluate this S-expression...
(add-hook 'erc-text-matched-hook (lambda (match-type nick msg) (display
msg))
...all CTCP ACTION messages have the first character truncated.  To
clarify, the `msg' argument to the lambda is truncated.

Kind regards,
Aidan Gauland
Aidan Gauland | 23 Jun 04:07
Picon
Favicon

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.)
ZhangJun | 19 Jun 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!
Oleksandr Gavenko | 8 Jun 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?

Gmane