* org-irc.el get IRC link port error
@ 2017-06-28 11:53 numbchild
2017-06-28 12:47 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: numbchild @ 2017-06-28 11:53 UTC (permalink / raw)
To: Org-mode
[-- Attachment #1: Type: text/plain, Size: 1177 bytes --]
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)
You can see what's wrong.
[stardiviner] <Hack this world!> 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/
[-- Attachment #2: Type: text/html, Size: 4110 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-irc.el get IRC link port error
2017-06-28 11:53 org-irc.el get IRC link port error numbchild
@ 2017-06-28 12:47 ` Nicolas Goaziou
2017-06-28 13:55 ` numbchild
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2017-06-28 12:47 UTC (permalink / raw)
To: numbchild@gmail.com; +Cc: Org-mode
Hello,
"numbchild@gmail.com" <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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-irc.el get IRC link port error
2017-06-28 12:47 ` Nicolas Goaziou
@ 2017-06-28 13:55 ` numbchild
0 siblings, 0 replies; 3+ messages in thread
From: numbchild @ 2017-06-28 13:55 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: Org-mode
[-- Attachment #1: Type: text/plain, Size: 1484 bytes --]
confirm fixed, thanks.
[stardiviner] <Hack this world!> 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 <mail@nicolasgoaziou.fr>
wrote:
> Hello,
>
> "numbchild@gmail.com" <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
>
[-- Attachment #2: Type: text/html, Size: 3015 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-06-28 13:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-28 11:53 org-irc.el get IRC link port error numbchild
2017-06-28 12:47 ` Nicolas Goaziou
2017-06-28 13:55 ` numbchild
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).