From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.bugs Subject: bug#39448: 26.1; ERC connect wierdness Date: Wed, 5 Feb 2020 23:37:43 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009e773c059de1acb9" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="126926"; mail-complaints-to="usenet@ciao.gmane.io" To: 39448@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 06 06:39:19 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1izZsk-000Wt5-SY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Feb 2020 06:39:19 +0100 Original-Received: from localhost ([::1]:60788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izZsj-0000hQ-GM for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Feb 2020 00:39:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36373) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izZsa-0000h2-1E for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 00:39:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izZsU-0004A7-Nu for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 00:39:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41031) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izZsU-0004A2-LC for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 00:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1izZsU-0003Th-Iq for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 00:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Corwin Brust Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Feb 2020 05:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39448 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.158096748213296 (code B ref -1); Thu, 06 Feb 2020 05:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Feb 2020 05:38:02 +0000 Original-Received: from localhost ([127.0.0.1]:47004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izZrV-0003S7-Ql for submit@debbugs.gnu.org; Thu, 06 Feb 2020 00:38:02 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:46536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izZrT-0003Ry-JO for submit@debbugs.gnu.org; Thu, 06 Feb 2020 00:38:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35919) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izZrR-0000bO-5f for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 00:37:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izZrO-0001DT-U6 for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 00:37:57 -0500 Original-Received: from mail-ed1-f42.google.com ([209.85.208.42]:45816) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izZrO-0001BP-J5 for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 00:37:54 -0500 Original-Received: by mail-ed1-f42.google.com with SMTP id v28so4583094edw.12 for ; Wed, 05 Feb 2020 21:37:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=gdCYaHRCSsk8qewMoaq/7Y9p/K15fGSCyJak2a6qJYM=; b=kdAHGetx+u23a1XGdeXQIJfdjXeo4mG27rophc2uC1pCEjtJ5HotAVJLO/jqr9CeCK 9Ft6K2O5JqiN0nTdK1In+gP2I3sqRK2uGGODW0LKMw3gauddMlqp4u911GHrRKJ1Y9yU NvdfSoFnakpj+109tgZ9R6jEgV4B64IlCj4owxemlxcF9h+0Z5iLCYJIKtaxzd6mdfF3 mBUAvEXIoepZ8jr8ldRV20vMpEOKQxCjxIDIG/NMiQeKQuVnWk0BKxjzz+M8VhbBfNAJ tL/tADRtDcESph3Hajo+em+vIsRdpveuFvKCQGWPu6a5Vnt0eejvVN6sQVjKUWewpYkI gZBQ== X-Gm-Message-State: APjAAAUNP7EcrEbt2oNuzp2czjDuEoPwTFvlFP1F3755fARuaxBWFNz0 5X45CGdnecg4SMZv5MjY+YMEbAWY/TxLmGF94zOiCP2ijiM= X-Google-Smtp-Source: APXvYqxxQWRHOGka3y48aBcGa/Vx2EQrSTBl52NcCzZhJklzNyXXpHCqbYXUTeor0ubfu/M2fXVKsiDW180iVxvqvTo= X-Received: by 2002:a17:906:7806:: with SMTP id u6mr1597134ejm.200.1580967472820; Wed, 05 Feb 2020 21:37:52 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:175721 Archived-At: --0000000000009e773c059de1acb9 Content-Type: text/plain; charset="UTF-8" *** E-Mail body has been placed on clipboard, please paste it here! *** Greetings! I'm reporting at the request of Bandali although I don't have a great deal of information, I'm afraid. I suspect a coorilation to a major update of MELPA/ELPA packages I did on Sunday - I haven't successfully connected to ERC since. That said, problem exists also under -Q [Start Emacs from Git Bash prompt; same under cmd.exe and this is easier) /d/emax64/bin/runemacs.exe -Q --eval '(setq erc-debug-irc-protocol t)(raise-frame)' ;; the raise frame was an error but I didn't worry about it ;; making my report. Hope that doesn't cause confusion. [Once Emacs is up, I pulled and evaled two bits of code from my startup sequence one at a time in the order shown:] ;; from emacswiki (defmacro asf-erc-bouncer-connect (command server port nick ssl pass) "Create interactive command `COMMAND'. Connect to IRC `SERVER` on `PORT`as `NICK` with `SSL` or `PASS`. The command uses interactive mode if passed an argument." (fset command `(lambda (arg) (interactive "p") (if (not (= 1 arg)) (call-interactively 'erc) (let ((erc-connect-function ',(if ssl 'erc-open-ssl-stream 'open-network-stream))) (erc :server ,server :port ,port :nick ,nick :password ,pass)))))) (asf-erc-bouncer-connect erc-fn "irc.freenode.net" 6667 "mplsCorwin" nil "q[corwin]:exactlythatsmart") [Then, finally:] M-x erc-fn RET Which results in my making various notes shown here in fairly haphazard form. Sorry. 1. ERC appears to start, ERC: CLOSED shown in the mode-line, "Connecting [...]" in the minibuffer. 2. It appears to just sit there 3. I join freenode.net from a web-client while playing with this last night and saw myself join and then connection timeout three times in fairly rapid succession but this didn't happen while testing under -Q AFICT. There is *no* indication that any server activity is occuring, e.g. no updates to the irc.freenode.net:6667 and no process buffers I can find. 4. Today preping this report I got a slightly different output at the end: *** ERC terminated: failed with code 10060 5. After confirming this problem didn't go away over night (also under -Q but before preping this bug report, which I did under a fresh session), I connected to freenode and chatted with bandali using rcirc which had no connection difficulties I noticed. 6. I think I'm starting to get somewhere with lisp but my foundational Emacs knowledge is weak. Moreover, I'm running under Windows 10 and don't (yet) know how to compile from sources locally. That said let me know any other information, tests, etc which would be helpful and I'll do my best (not withstanding $life & whatnot) to respond promply. 7. My next step, again at Bandali's advice, is to play with tls. Obviously, if that changes things I'll report back in. In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-13 built on TPW550S Windowing system distributor 'Microsoft Corp.', version 10.0.18363 Recent messages: Connecting to irc.freenode.net:6667... Logging in as `mplsCorwin'... is undefined Connecting to irc.freenode.net:6667... Logging in as `mplsCorwin'... Connecting to irc.freenode.net:6667... Logging in as `mplsCorwin'... is undefined Mark set Making completion list... Configured using: 'configure --without-compress-install --without-dbus --with-modules 'CFLAGS= -O2 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS LCMS2 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: cp1252 Major mode: ERC Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch erc-list erc-menu easymenu erc-join erc-ring erc-networks erc-pcomplete pcomplete comint ansi-color ring erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat format-spec auth-source cl-seq eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv eieio-loaddefs cl-loaddefs cl-lib password-cache thingatpt pp elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 131403 9951) (symbols 56 23563 1) (miscs 48 64 161) (strings 32 39139 913) (string-bytes 1 1036867) (vectors 16 18196) (vector-slots 8 526999 16844) (floats 8 62 195) (intervals 56 665 14) (buffers 992 16)) --0000000000009e773c059de1acb9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
*** E-Mail body has been placed on clipboard, please paste= it here! ***



Greetings!=C2=A0 I'm reporting= at the request of Bandali although I don't
have a great deal of inf= ormation, I'm afraid.=C2=A0 I suspect a coorilation
to a major updat= e of MELPA/ELPA packages I did on Sunday - I haven't
successfully co= nnected to ERC since.=C2=A0 That said, problem exists also
under -Q
<= br>[Start Emacs from Git Bash prompt; same under cmd.exe and this is easier= )

/d/emax64/bin/runemacs.exe -Q --eval '(setq erc-debug-irc-prot= ocol t)(raise-frame)'

;; the raise frame was an error but I didn= 't worry about it
;; making my report.=C2=A0 Hope that doesn't c= ause confusion.

[Once Emacs is up, I pulled and evaled two bits of c= ode from my startup
sequence one at a time in the order shown:]

;= ; from emacswiki
(defmacro asf-erc-bouncer-connect (command server port = nick ssl pass)
=C2=A0 =C2=A0"Create interactive command `COMMAND= 9;.
Connect to IRC `SERVER` on `PORT`as `NICK` with `SSL` or `PASS`.
= The command uses interactive mode if passed an argument."
=C2=A0 = =C2=A0(fset command
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0`(lambda (arg)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(interactive "p")
= =C2=A0 (if (not (=3D 1 arg))
=C2=A0 =C2=A0 =C2=A0 (call-interactively = 'erc)
=C2=A0 =C2=A0 (let ((erc-connect-function ',(if ssl
= =C2=A0 =C2=A0 =C2=A0 'erc-open-ssl-stream
=C2=A0 =C2=A0 &= #39;open-network-stream)))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (erc :server ,se= rver :port ,port :nick ,nick :password ,pass))))))

(asf-erc-bouncer-= connect erc-fn
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"irc.freenode.net"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A06667
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&q= uot;mplsCorwin" nil
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"q[corwin]:exactlythatsma= rt")

[Then, finally:]

M-x erc-fn RET

Which result= s in my making various notes shown here in fairly haphazard
form.=C2=A0 = Sorry.

1. ERC appears to start, ERC: CLOSED shown in the mode-line, = "Connecting
[...]" in the minibuffer.

2. It appears to = just sit there

3. I join freenode.ne= t from a web-client while playing with this last
night and saw mysel= f join and then connection timeout three times in
fairly rapid successio= n but this didn't happen while testing under -Q
AFICT.=C2=A0 There i= s *no* indication that any server activity is occuring,
e.g. no updates = to the irc.freenode.net:6667 a= nd no process buffers I
can find.

4. Today preping this report I = got a slightly different output at the
end:

=C2=A0 *** ERC termin= ated: failed with code 10060

5. After confirming this problem didn&#= 39;t go away over night (also under
-Q but before preping this bug repor= t, which I did under a fresh
session), I connected to freenode and chatt= ed with bandali using rcirc
which had no connection difficulties I notic= ed.

6. I think I'm starting to get somewhere with lisp but my fo= undational
Emacs knowledge is weak.=C2=A0 Moreover, I'm running unde= r Windows 10 and
don't (yet) know how to compile from sources locall= y.=C2=A0 That said let me
know any other information, tests, etc which w= ould be helpful and I'll
do my best (not withstanding $life & wh= atnot) to respond promply.

7. My next step, again at Bandali's a= dvice, is to play with tls.
Obviously, if that changes things I'll r= eport back in.


In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32)=C2=A0of 2018-05-13 built on TPW550S
Windowing system distributor '= ;Microsoft Corp.', version 10.0.18363
Recent messages:
Connecting= to irc.freenode.net:6667...
Logging in as `mplsCorwin'...
<M= -insert> is undefined
Connecting to irc.freenode.net:6667...
Logg= ing in as `mplsCorwin'...
Connecting to irc.freenode.net:6667... Logging in as `mplsCorwin'...
<left-fringe> <drag-mouse-1&= gt; is undefined
Mark set
Making completion list...

Configured= using:
=C2=A0'configure --without-compress-install --without-dbus -= -with-modules
=C2=A0'CFLAGS=3D -O2 -g3''

Configured f= eatures:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND NOTIFY ACL GNUTLS = LIBXML2
ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS LCMS2

Important = settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-sys= tem: cp1252

Major mode: ERC

Minor modes in effect:
=C2=A0 = erc-list-mode: t
=C2=A0 erc-menu-mode: t
=C2=A0 erc-autojoin-mode: t<= br>=C2=A0 erc-ring-mode: t
=C2=A0 erc-networks-mode: t
=C2=A0 erc-pco= mplete-mode: t
=C2=A0 erc-track-mode: t
=C2=A0 erc-track-minor-mode: = t
=C2=A0 erc-match-mode: t
=C2=A0 erc-button-mode: t
=C2=A0 erc-fi= ll-mode: t
=C2=A0 erc-stamp-mode: t
=C2=A0 erc-netsplit-mode: t
= =C2=A0 erc-irccontrols-mode: t
=C2=A0 erc-noncommands-mode: t
=C2=A0 = erc-move-to-prompt-mode: t
=C2=A0 erc-readonly-mode: t
=C2=A0 tooltip= -mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-= mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode:= t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 aut= o-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-comp= ression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode= : t

Load-path shadows:
None found.

Features:
(shadow so= rt mail-extr emacsbug message rmc puny seq dired
dired-loaddefs rfc822 m= ml mml-sec epa derived epg epg-config gnus-util
rmail rmail-loaddefs mm-= decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailh= eader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils = misearch multi-isearch erc-list erc-menu
easymenu erc-join erc-ring erc-= networks erc-pcomplete pcomplete comint
ansi-color ring erc-track erc-ma= tch erc-button wid-edit erc-fill
erc-stamp erc-netsplit erc-goodies erc = erc-backend erc-compat
format-spec auth-source cl-seq eieio byte-opt byt= ecomp byte-compile
cconv eieio-core cl-macs gv eieio-loaddefs cl-loaddef= s cl-lib
password-cache thingatpt pp elec-pair time-date mule-util toolt= ip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel do= s-w32
ls-lisp disp-table term/w32-win w32-win w32-vars term/common-wintool-bar dnd fontset image regexp-opt fringe tabulated-list replace
ne= wcomment text-mode elisp-mode lisp-mode prog-mode register page
menu-bar= rfn-eshadow isearch timer select scroll-bar mouse jit-lock
font-lock sy= ntax facemenu font-core term/tty-colors frame cl-generic
cham georgian u= tf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese= eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic i= ndian cyrillic chinese composite charscript charprop
case-table epa-hook= jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvic= e loaddefs button faces cus-face macroexp files
text-properties overlay = sha1 md5 base64 format env code-pages mule
custom widget hashtable-print= -readable backquote w32notify w32 lcms2
multi-tty make-network-process e= macs)

Memory information:
((conses 16 131403 9951)
=C2=A0(symb= ols 56 23563 1)
=C2=A0(miscs 48 64 161)
=C2=A0(strings 32 39139 913)<= br>=C2=A0(string-bytes 1 1036867)
=C2=A0(vectors 16 18196)
=C2=A0(vec= tor-slots 8 526999 16844)
=C2=A0(floats 8 62 195)
=C2=A0(intervals 56= 665 14)
=C2=A0(buffers 992 16))
--0000000000009e773c059de1acb9--