From: Andrew De Angelis <bobodeangelis@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org, Qiantan Hong <qthong@stanford.edu>
Subject: Re: Volunteering to help on etc/TODO item: Improved xwidgets support
Date: Wed, 19 Oct 2022 00:55:52 -0400 [thread overview]
Message-ID: <CAP5CrM1jeC9Cs3HW0CGoaTTPSFK-zTUOUT8PTmX3Gy74sP75jQ@mail.gmail.com> (raw)
In-Reply-To: <87bkq8a0ag.fsf@yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 1774 bytes --]
>
> It should never print "nil"; it's a command that is not supposed to be
> called by Lisp or return anything.
>
Sorry, I misspoke: the issue is that it *prints* nil: if I have a widget
open, and press 'w' or call `xwidget-webkit-current-url', the message I see
in the minibuffer is always "URL: nil".
This happens even though (xwidget-webkit-uri (xwidget-webkit-current-
session)) does return the current url. Therefore, I think the problem is
in how the function uses `kill-new'.
On Wed, Oct 19, 2022 at 12:46 AM Po Lu <luangruo@yahoo.com> wrote:
> Andrew De Angelis <bobodeangelis@gmail.com> writes:
>
> > Yeah, that's a tight deadline. I am going to try to fix the biggest
> > issues by then, but we'll probably have to wait until the next release
> > to have this included
>
> Thanks.
>
> > I think the timer stops by itself, the variable is not all that
> > important.
> >
> > This is probably another NS-specific issue, but the timer doesn't
> > always stop in my build. The issue starts in
> > `xwidget-webkit-callback'; it looks like the "load-finished" event
> > sometimes (most of the times) doesn't happen or is not received. I
> > will add this to the list of things to fix.
>
> Yeah, that sounds like an NS specific bug.
>
> > One other possible Lisp bug: currently, `xwidget-webkit-current-url'
> > always returns "URL: nil" for me. This shouldn't depend on other
> > xwidget code: the issue is caused by the fact that `kill-new' doesn't
> > return the string it just added to the kill-ring. (If it does work in
> > your builds let me know, as I'd have to investigate what's causing
> > such different behavior.) This is my fix for this:
>
> It should never print "nil"; it's a command that is not supposed to be
> called by Lisp or return anything.
>
[-- Attachment #2: Type: text/html, Size: 2652 bytes --]
next prev parent reply other threads:[~2022-10-19 4:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-18 15:55 Volunteering to help on etc/TODO item: Improved xwidgets support Andrew De Angelis
2022-10-19 1:33 ` Po Lu
2022-10-19 3:43 ` Andrew De Angelis
2022-10-19 4:45 ` Po Lu
2022-10-19 4:55 ` Andrew De Angelis [this message]
2022-10-19 5:11 ` Po Lu
2022-10-19 18:54 ` Qiantan Hong
2022-10-20 2:23 ` Andrew De Angelis
2022-10-20 2:46 ` Po Lu
2022-10-20 11:13 ` Daniel Martín
2022-10-21 23:29 ` Andrew De Angelis
2022-10-22 0:07 ` Po Lu
2022-10-22 2:13 ` Andrew De Angelis
2022-10-22 4:49 ` Matt Armstrong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAP5CrM1jeC9Cs3HW0CGoaTTPSFK-zTUOUT8PTmX3Gy74sP75jQ@mail.gmail.com \
--to=bobodeangelis@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=luangruo@yahoo.com \
--cc=qthong@stanford.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.