From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: org-irc.el get IRC link port error Date: Wed, 28 Jun 2017 21:55:04 +0800 Message-ID: References: <878tkcgtxd.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11478d90c4df500553058957" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQDRS-0002TW-7n for emacs-orgmode@gnu.org; Wed, 28 Jun 2017 09:55:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQDRQ-0008LV-KY for emacs-orgmode@gnu.org; Wed, 28 Jun 2017 09:55:38 -0400 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:37590) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dQDRQ-0008Iv-Ax for emacs-orgmode@gnu.org; Wed, 28 Jun 2017 09:55:36 -0400 Received: by mail-wm0-x22f.google.com with SMTP id i127so59841453wma.0 for ; Wed, 28 Jun 2017 06:55:36 -0700 (PDT) In-Reply-To: <878tkcgtxd.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: Org-mode --001a11478d90c4df500553058957 Content-Type: text/plain; charset="UTF-8" confirm fixed, thanks. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, Jun 28, 2017 at 8:47 PM, Nicolas Goaziou wrote: > Hello, > > "numbchild@gmail.com" writes: > > > Here is the steps to reproduce this issue: > > > > Emacs version: 26.0.50 (from source code repo master branch) > > Org-mode version: 9.0.8 (from source code repo master branch) > > > > Here is the example link: > > IRC: [[irc://irc.freenode.net/#nextcloud][#nextcloud]] on Freenode > > > > I use Edebug to debug on function `org-irc-visit-erc`: > > > > - [-] check out source code > > - [X] org-open-at-point(nil) > > - [X] org-irc-visit("//irc.freenode.net/#nextcloud") > > - [ ] org-irc-visit-erc((("irc.freenode.net") "#nextcloud")) > > - [ ] (port (or (string-to-number (cadr (pop link))) > erc-default-port)) > > - [ ] (string-to-number (cadr (pop link))) > > - [ ] (cadr (pop link)) -> (cadr ("irc.freenode.net")) -> nil > > > > #+BEGIN_SRC emacs-lisp > > (setq temp-link '(("irc.freenode.net") ("#clojure"))) > > > > (pop temp-link) > > (cadr (pop temp-link)) > > #+END_SRC > > > > - [ ] (string-to-number nil) > > Fixed. Thank you. > > Regards, > > -- > Nicolas Goaziou > --001a11478d90c4df500553058957 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
confirm fixed, thanks.

[stardiviner]=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Hack this world!= >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C32433
IRC(freeenode): = stardiviner =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=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitter:=C2=A0 @numbchi= ld
Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C= 3 2433
Blog: http://stardiviner.github.io/

On Wed, Jun 28, 2017 at 8:47 PM, Nicolas Goa= ziou <mail@nicolasgoaziou.fr> wrote:
Hello,

"numbchild@gmail.com" = <numbchild@gmail.com> writ= es:

> Here is the steps to reproduce this issue:
>
> Emacs version: 26.0.50 (from source code repo master branch)
> Org-mode version: 9.0.8 (from source code repo master branch)
>
> Here is the example link:
> IRC: [[irc://irc.freenode.net/#nextcloud][#n= extcloud]] on Freenode
>
> I use Edebug to debug on function `org-irc-visit-erc`:
>
> - [-] check out source code
>=C2=A0 =C2=A0- [X] org-open-at-point(nil)
>=C2=A0 =C2=A0- [X] org-irc-visit("//irc.freenode.net= /#nextcloud")
>=C2=A0 =C2=A0- [ ] org-irc-visit-erc((("irc.freenode.net&qu= ot;) "#nextcloud"))
>=C2=A0 =C2=A0 =C2=A0- [ ] (port (or (string-to-number (cadr (pop link))= ) erc-default-port))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0- [ ] (string-to-number (cadr (pop link))) >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- [ ] (cadr (pop link)) -> (cadr (= "irc.freenode.net")) -> nil
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#+BEGIN_SRC emacs-lisp
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(setq temp-link '(("<= a href=3D"http://irc.freenode.net" rel=3D"noreferrer" target=3D"_blank">irc= .freenode.net") ("#clojure")))
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(pop temp-link)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(cadr (pop temp-link))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#+END_SRC
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- [ ] (string-to-number nil)

Fixed. Thank you.

Regards,

--
Nicolas Goaziou

--001a11478d90c4df500553058957--