all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Desired behavior on splitting screens in xwidget Webkit Browser
@ 2019-07-19 15:41 조성빈
  2019-07-19 16:09 ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: 조성빈 @ 2019-07-19 15:41 UTC (permalink / raw)
  To: Emacs developers

I’m currently writing a patch to add the xwidget Webkit Browser in macOS Cocoa.

Currently, displaying one xwidgets in two different buffers is not supported.
In my current patch, I remap C-x 3 and C-x 4 to functions that create another xwidget browser with the same URL, but it feels slow when using and I found it tedious as I usually split my screen in half and switch to another buffer.

What should be the desired behavior when splitting buffers in the xwidget Webkit Browser?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Desired behavior on splitting screens in xwidget Webkit Browser
  2019-07-19 15:41 Desired behavior on splitting screens in xwidget Webkit Browser 조성빈
@ 2019-07-19 16:09 ` Stefan Monnier
  2019-07-19 16:11   ` 조성빈
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2019-07-19 16:09 UTC (permalink / raw)
  To: 조성빈; +Cc: Emacs developers

> Currently, displaying one xwidgets in two different buffers is not supported.

But the user can still cause it to happen.  What happens in this case?

> What should be the desired behavior when splitting buffers in the
> xwidget Webkit Browser?

Maybe it should just do the split "normally" with one of the two windows
displaying the xwidget and the other displaying some kind of "error
information".

You'll probably want to keep the kind of "clone" commands you currently
have under C-x 2 and C-x 3, but let the user request them explicitly
(e.g. under a different key-binding).


        Stefan




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Desired behavior on splitting screens in xwidget Webkit Browser
  2019-07-19 16:09 ` Stefan Monnier
@ 2019-07-19 16:11   ` 조성빈
  2019-07-19 16:16     ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: 조성빈 @ 2019-07-19 16:11 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Emacs developers


> 2019. 7. 20. 오전 1:09, Stefan Monnier <monnier@iro.umontreal.ca> 작성:
> 
>> Currently, displaying one xwidgets in two different buffers is not supported.
> 
> But the user can still cause it to happen.  What happens in this case?

The xwidget buffer shows nothing, with an error message ‘Viewing two xwidget buffers simultaneously is not supported.'

>> What should be the desired behavior when splitting buffers in the
>> xwidget Webkit Browser?
> 
> Maybe it should just do the split "normally" with one of the two windows
> displaying the xwidget and the other displaying some kind of "error
> information”.

Yeah, I think that’s probably right :-)

> You'll probably want to keep the kind of "clone" commands you currently
> have under C-x 2 and C-x 3, but let the user request them explicitly
> (e.g. under a different key-binding).

OK.

> 
>        Stefan
> 




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Desired behavior on splitting screens in xwidget Webkit Browser
  2019-07-19 16:11   ` 조성빈
@ 2019-07-19 16:16     ` Stefan Monnier
  2019-07-19 17:30       ` 조성빈
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2019-07-19 16:16 UTC (permalink / raw)
  To: 조성빈; +Cc: Emacs developers

>>> Currently, displaying one xwidgets in two different buffers is
>>> not supported.
>> But the user can still cause it to happen.  What happens in this case?
> The xwidget buffer shows nothing, with an error message ‘Viewing two xwidget
> buffers simultaneously is not supported.'

Does it show this error message on both (i.e. all) windows where the
buffer is displayed?  If so, then I think it would be worthwhile to try
and improve the code so one of the windows gets to be functional (while
the others display the error message).


        Stefan




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Desired behavior on splitting screens in xwidget Webkit Browser
  2019-07-19 16:16     ` Stefan Monnier
@ 2019-07-19 17:30       ` 조성빈
  2019-07-19 18:15         ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: 조성빈 @ 2019-07-19 17:30 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Emacs developers



> 2019. 7. 20. 오전 1:16, Stefan Monnier <monnier@iro.umontreal.ca> 작성:
> 
>>>> Currently, displaying one xwidgets in two different buffers is
>>>> not supported.
>>> But the user can still cause it to happen.  What happens in this case?
>> The xwidget buffer shows nothing, with an error message ‘Viewing two xwidget
>> buffers simultaneously is not supported.'
> 
> Does it show this error message on both (i.e. all) windows where the
> buffer is displayed?  If so, then I think it would be worthwhile to try
> and improve the code so one of the windows gets to be functional (while
> the others display the error message).

No, the original one keeps functional. (The others display the error message as you said.)

>        Stefan
> 
> 




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Desired behavior on splitting screens in xwidget Webkit Browser
  2019-07-19 17:30       ` 조성빈
@ 2019-07-19 18:15         ` Stefan Monnier
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Monnier @ 2019-07-19 18:15 UTC (permalink / raw)
  To: 조성빈; +Cc: Emacs developers

> No, the original one keeps functional. (The others display the error
> message as you said.)

Then I think it's "good enough".


        Stefan




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-07-19 18:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-19 15:41 Desired behavior on splitting screens in xwidget Webkit Browser 조성빈
2019-07-19 16:09 ` Stefan Monnier
2019-07-19 16:11   ` 조성빈
2019-07-19 16:16     ` Stefan Monnier
2019-07-19 17:30       ` 조성빈
2019-07-19 18:15         ` Stefan Monnier

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.