all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Some NS port changes
@ 2019-01-20  6:11 Zhang Haijun
  2019-01-20 11:09 ` Alan Third
  2019-01-20 12:23 ` Some NS port changes Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Zhang Haijun @ 2019-01-20  6:11 UTC (permalink / raw)
  To: emacs-devel@gnu.org; +Cc: Alan Third

There are still too many flickers on macOS 10.13.6.

Steps to reproduce:
1. emacs -Q
2. (setq redisplay-dont-pause nil)
3. Select text across lines with touchpad

I can see blanks and then refreshing, sometimes just a blank retangle without refreshing.


macOS: 10.13.6
Xcode version: 9.2





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

* Re: Some NS port changes
  2019-01-20  6:11 Some NS port changes Zhang Haijun
@ 2019-01-20 11:09 ` Alan Third
  2019-01-20 11:20   ` Zhang Haijun
  2019-01-20 12:23 ` Some NS port changes Eli Zaretskii
  1 sibling, 1 reply; 6+ messages in thread
From: Alan Third @ 2019-01-20 11:09 UTC (permalink / raw)
  To: Zhang Haijun; +Cc: emacs-devel@gnu.org

On Sun, Jan 20, 2019 at 06:11:17AM +0000, Zhang Haijun wrote:
> There are still too many flickers on macOS 10.13.6.
> 
> Steps to reproduce:
> 1. emacs -Q
> 2. (setq redisplay-dont-pause nil)
> 3. Select text across lines with touchpad
> 
> I can see blanks and then refreshing, sometimes just a blank retangle without refreshing.

FWIW that’s exactly what I would expect to happen with that setting
set to nil. We can’t really stop the NS toolkit trying to update the
screen, but if you pause redisplay part‐way through then it’s not
going to be able to update the areas already marked as needing
redrawn.

Once it’s tried to redraw those areas, it marks them as drawn whether
it was succesful or not, so the next time round they will be ignored.
There’s not very much I can do about that.

What’s the use‐case for setting this variable?
-- 
Alan Third



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

* Re: Some NS port changes
  2019-01-20 11:09 ` Alan Third
@ 2019-01-20 11:20   ` Zhang Haijun
  2019-01-20 12:26     ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Zhang Haijun @ 2019-01-20 11:20 UTC (permalink / raw)
  To: Alan Third; +Cc: emacs-devel@gnu.org



> 在 2019年1月20日,下午7:09,Alan Third <alan@idiocy.org> 写道:
> 
> FWIW that’s exactly what I would expect to happen with that setting
> set to nil. We can’t really stop the NS toolkit trying to update the
> screen, but if you pause redisplay part‐way through then it’s not
> going to be able to update the areas already marked as needing
> redrawn.
> 
> Once it’s tried to redraw those areas, it marks them as drawn whether
> it was succesful or not, so the next time round they will be ignored.
> There’s not very much I can do about that.
> 
> What’s the use‐case for setting this variable?
> -- 
> Alan Third

Because of a bug for CJK: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=+23412

Can the area be marked as drawn after it be redrawn?


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

* Re: Some NS port changes
  2019-01-20  6:11 Some NS port changes Zhang Haijun
  2019-01-20 11:09 ` Alan Third
@ 2019-01-20 12:23 ` Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2019-01-20 12:23 UTC (permalink / raw)
  To: emacs-devel, Zhang Haijun, emacs-devel@gnu.org; +Cc: Alan Third

On January 20, 2019 8:11:17 AM GMT+02:00, Zhang Haijun <ccsmile2008@outlook.com> wrote:
> There are still too many flickers on macOS 10.13.6.
> 
> Steps to reproduce:
> 1. emacs -Q
> 2. (setq redisplay-dont-pause nil)
> 3. Select text across lines with touchpad
> 
> I can see blanks and then refreshing, sometimes just a blank retangle
> without refreshing.
> 
> 
> macOS: 10.13.6
> Xcode version: 9.2

The variable redisplay-dont-pause is deprecated.  Don't use it.



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

* Re: Some NS port changes
  2019-01-20 11:20   ` Zhang Haijun
@ 2019-01-20 12:26     ` Eli Zaretskii
  2019-01-21  6:02       ` Some NS port changes(recent 3) jun
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2019-01-20 12:26 UTC (permalink / raw)
  To: emacs-devel, Zhang Haijun, Alan Third; +Cc: emacs-devel@gnu.org

On January 20, 2019 1:20:13 PM GMT+02:00, Zhang Haijun <ccsmile2008@outlook.com> wrote:
> 
> 
> > 在 2019年1月20日,下午7:09,Alan Third <alan@idiocy.org> 写道:
> > 
> > FWIW that’s exactly what I would expect to happen with that setting
> > set to nil. We can’t really stop the NS toolkit trying to update the
> > screen, but if you pause redisplay part‐way through then it’s not
> > going to be able to update the areas already marked as needing
> > redrawn.
> > 
> > Once it’s tried to redraw those areas, it marks them as drawn
> whether
> > it was succesful or not, so the next time round they will be
> ignored.
> > There’s not very much I can do about that.
> > 
> > What’s the use‐case for setting this variable?
> > -- 
> > Alan Third
> 
> Because of a bug for CJK:
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=+23412
> 
> Can the area be marked as drawn after it be redrawn?

In that bug report you talk about "shaking".  Did you mean flickering?  Because I don't think I see any shaking in the clip.

In any case, this input method is not from Emacs, right?  So I couldn't try reproducing the problem on my machine.



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

* Re: Some NS port changes(recent 3)
  2019-01-20 12:26     ` Eli Zaretskii
@ 2019-01-21  6:02       ` jun
  0 siblings, 0 replies; 6+ messages in thread
From: jun @ 2019-01-21  6:02 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Alan Third, Zhang Haijun, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 874 bytes --]

I sent this mail 10 hours ago. But I didn’t see it on http://lists.gnu.org/archive/html/emacs-devel/2019-01/index.html.
So I resent it with another mail provider.


At 2019-01-20 20:26:08, "Eli Zaretskii" <eliz@gnu.org> wrote:
>
>In that bug report you talk about "shaking".  Did you mean flickering?  Because I don't think I see any shaking in the clip.
>

>In any case, this input method is not from Emacs, right?  So I couldn't try reproducing the problem on my machine.


Yes, it should be flickering. The same content is cleared(at the same time, the cursor goes to the beginning of the content area) 
and then redisplayed(and the cursor comes back) during inputing.

Yes, the input method is not from emacs. It is provided by the OS.

That bug only happens on macOS. And other apps(including macVim) on the OS don’t have same problem. So it must be a bug of emacs.


[-- Attachment #2: Type: text/html, Size: 2255 bytes --]

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

end of thread, other threads:[~2019-01-21  6:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-20  6:11 Some NS port changes Zhang Haijun
2019-01-20 11:09 ` Alan Third
2019-01-20 11:20   ` Zhang Haijun
2019-01-20 12:26     ` Eli Zaretskii
2019-01-21  6:02       ` Some NS port changes(recent 3) jun
2019-01-20 12:23 ` Some NS port changes Eli Zaretskii

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.