GNU bug report logs - #38727
27.0.50; The frame refreshes when pressing 'C-h k'

Previous Next

Package: emacs;

Reported by: HaiJun Zhang <netjune <at> outlook.com>

Date: Tue, 24 Dec 2019 04:01:01 UTC

Severity: normal

Tags: fixed

Found in version 27.0.50

Fixed in version 28.1

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38727 in the body.
You can then email your comments to 38727 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Tue, 24 Dec 2019 04:01:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to HaiJun Zhang <netjune <at> outlook.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 24 Dec 2019 04:01:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: HaiJun Zhang <netjune <at> outlook.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; The frame refreshes when pressing 'C-h k'
Date: Tue, 24 Dec 2019 12:00:01 +0800
[Message part 1 (text/plain, inline)]
In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin17.7.0, NS appkit-1561.61 Version 10.13.6 (Build 17G10021))
 of 2019-12-23 built on jundeMac
Repository revision: 3ee8ee8476fef2a5e8159f7597e36e0953295ce2
Repository branch: build-emacs-mod
Windowing system distributor ‘Apple', version 10.3.1561
System Description: Mac OS X 10.13.6

There is noticeable refresh of the emacs frame when pressing ‘C-h k’.
No refresh for ‘C-h f’ and ‘C-h a’.


Recent messages:

Type C-x 1 to delete the help window.
Quit

Quit
C-x C-g is undefined
Quit

Quit
C-x C-g is undefined

Configured using:
 ‘configure —with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp’ --with-modules --disable-acl
 —without-makeinfo CFLAGS=-O2’

Configured features:
RSVG GLIB NOTIFY KQUEUE GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
MODULES THREADS PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: zh_CN.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config
gnus-util rmail rmail-loaddefs text-property-search mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date
subr-x cl-extra seq byte-opt gv bytecomp byte-compile cconv help-fns
radix-tree help-mode easymenu cl-loaddefs cl-lib china-util tooltip
eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads kqueue cocoa ns
lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 48893 7120)
 (symbols 48 6184 0)
 (strings 32 16311 2754)
 (string-bytes 1 534849)
 (vectors 16 11620)
 (vector-slots 8 193256 7394)
 (floats 8 29 20)
 (intervals 56 238 0)
 (buffers 1000 12))

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Tue, 24 Dec 2019 15:33:01 GMT) Full text and rfc822 format available.

Message #8 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: HaiJun Zhang <netjune <at> outlook.com>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h k'
Date: Tue, 24 Dec 2019 17:31:46 +0200
> Date: Tue, 24 Dec 2019 12:00:01 +0800
> From: HaiJun Zhang <netjune <at> outlook.com>
> 
> In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin17.7.0, NS appkit-1561.61 Version 10.13.6 (Build
> 17G10021)) 
>  of 2019-12-23 built on jundeMac
> Repository revision: 3ee8ee8476fef2a5e8159f7597e36e0953295ce2
> Repository branch: build-emacs-mod
> Windowing system distributor ‘Apple', version 10.3.1561
> System Description: Mac OS X 10.13.6
> 
> There is noticeable refresh of the emacs frame when pressing ‘C-h k’. 
> No refresh for ‘C-h f’ and ‘C-h a’. 

I cannot reproduce this with the current master, so I guess this is
Darwin-specific.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Tue, 24 Dec 2019 16:46:02 GMT) Full text and rfc822 format available.

Message #11 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: HaiJun Zhang <netjune <at> outlook.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h
 k'
Date: Wed, 25 Dec 2019 00:44:41 +0800
[Message part 1 (text/plain, inline)]
在 2019年12月24日 +0800 PM11:32,Eli Zaretskii <eliz <at> gnu.org>,写道:
> I cannot reproduce this with the current master, so I guess this is
> Darwin-specific.

Yes. I just tried on linux. It is ok on linux.

Eval the following code can reproduce the problem:

(let ((cursor-in-echo-area t))
  (read-key-sequence “hello: “))

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Mon, 30 Dec 2019 11:28:02 GMT) Full text and rfc822 format available.

Message #14 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: HaiJun Zhang <netjune <at> outlook.com>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h k'
Date: Mon, 30 Dec 2019 11:27:25 +0000
On Tue, Dec 24, 2019 at 12:00:01PM +0800, HaiJun Zhang wrote:
> In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin17.7.0, NS appkit-1561.61 Version 10.13.6 (Build 17G10021))
>  of 2019-12-23 built on jundeMac
> Repository revision: 3ee8ee8476fef2a5e8159f7597e36e0953295ce2
> Repository branch: build-emacs-mod
> Windowing system distributor ‘Apple', version 10.3.1561
> System Description: Mac OS X 10.13.6
> 
> There is noticeable refresh of the emacs frame when pressing ‘C-h k’.
> No refresh for ‘C-h f’ and ‘C-h a’.

Hi, I can’t replicate this. I suspect it’s something in your config
slowing redisplay enough for bug#32932 to appear.

Can you try the branch scratch/ns/draw-to-bitmap and see if the same
issue occurs there?

-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Mon, 30 Dec 2019 13:30:02 GMT) Full text and rfc822 format available.

Message #17 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: HaiJun Zhang <netjune <at> outlook.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h
 k'
Date: Mon, 30 Dec 2019 21:29:03 +0800
[Message part 1 (text/plain, inline)]
在 2019年12月30日 +0800 PM7:27,Alan Third <alan <at> idiocy.org>,写道:
>
> Hi, I can’t replicate this. I suspect it’s something in your config
> slowing redisplay enough for bug#32932 to appear.
>

It is 100% reproducible on my machine with or without my config. The machine is macbook pro 2016. The OS is macOS 10.13.6.
There is a record video in the attachment.

> Can you try the branch scratch/ns/draw-to-bitmap and see if the same
> issue occurs there?
>
I can’t reproduce the problem with this branch.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Mon, 30 Dec 2019 13:31:02 GMT) Full text and rfc822 format available.

Message #20 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: HaiJun Zhang <netjune <at> outlook.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h
 k'
Date: Mon, 30 Dec 2019 21:29:55 +0800
[Message part 1 (text/plain, inline)]
The missing attachment.

在 2019年12月30日 +0800 PM9:29,HaiJun Zhang <netjune <at> outlook.com>,写道:
> 在 2019年12月30日 +0800 PM7:27,Alan Third <alan <at> idiocy.org>,写道:
> >
> > Hi, I can’t replicate this. I suspect it’s something in your config
> > slowing redisplay enough for bug#32932 to appear.
> >
>
> It is 100% reproducible on my machine with or without my config. The machine is macbook pro 2016. The OS is macOS 10.13.6.
> There is a record video in the attachment.
>
> > Can you try the branch scratch/ns/draw-to-bitmap and see if the same
> > issue occurs there?
> >
> I can’t reproduce the problem with this branch.
[Message part 2 (text/html, inline)]
[emacs_flicker.mp4 (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Mon, 06 Jan 2020 01:40:01 GMT) Full text and rfc822 format available.

Message #23 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: HaiJun Zhang <netjune <at> outlook.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h
 k'
Date: Mon, 6 Jan 2020 09:39:29 +0800
[Message part 1 (text/plain, inline)]
The result of git bisect is the following commit:

commit 094fcf62d289f19a4633275812e9e5e500463e91
Author: Alan Third <alan <at> idiocy.org>
Date: Mon Oct 29 15:37:35 2018 +0000

Fix more drawing bugs in NS port (bug#32932)

* src/nsterm.m (ns_row_rect): New function.
(ns_clip_to_row): Remove function.
(ns_copy_bits): Fix mistake.
(ns_shift_glyphs_for_insert): Mark the frame as dirty instead of
directly copying.
(ns_draw_fringe_bitmap): Stop using ns_clip_to_row.
(ns_draw_window_cursor): Stop using ns_clip_to_row and perform a
display when not in redisplay.
(ns_update_window_begin): Remove redundant code that never executes.
([EmacsView drawRect:]): Show the rectangle being exposed in NSTRACE.
* src/xdisp.c (expose_window_tree) [HAVE_NS]:
(expose_frame) [HAVE_NS]: Redraw even if the frame is garbaged.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Sun, 16 Feb 2020 03:50:01 GMT) Full text and rfc822 format available.

Message #26 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: HaiJun Zhang <netjune <at> outlook.com>
To: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h
 k'
Date: Sun, 16 Feb 2020 11:47:50 +0800
[Message part 1 (text/plain, inline)]
Will this be fixed before emacs 27 released?
The whole frame flickers which makes me uncomfortable. Hope it will be fixed.

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Sun, 16 Feb 2020 11:28:02 GMT) Full text and rfc822 format available.

Message #29 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: HaiJun Zhang <netjune <at> outlook.com>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h k'
Date: Sun, 16 Feb 2020 11:27:41 +0000
On Sun, Feb 16, 2020 at 11:47:50AM +0800, HaiJun Zhang wrote:
> Will this be fixed before emacs 27 released?
> The whole frame flickers which makes me uncomfortable. Hope it will be fixed.

I’ve pushed a fix to the master branch, but unfortunately I don’t
think the fix will make it into Emacs 27. The fix has noticeably worse
performance than the current Emacs 27 branch, and even though I think
it will be fast enough, I can’t guarantee it for all situations. As a
result I’d rather the fix isn’t applied to Emacs 27 just in case we
end up doing a release that breaks people’s workflows. The current
bugs in Emacs 27 are annoying, but they can be easily worked around.
-- 
Alan Third




Added tag(s) fixed. Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Sun, 16 Feb 2020 11:29:01 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 38727 <at> debbugs.gnu.org and HaiJun Zhang <netjune <at> outlook.com> Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Sun, 16 Feb 2020 11:29:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Tue, 18 Feb 2020 22:16:01 GMT) Full text and rfc822 format available.

Message #36 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: HaiJun Zhang <netjune <at> outlook.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h
 k'
Date: Wed, 19 Feb 2020 06:14:39 +0800
[Message part 1 (text/plain, inline)]
Besides the flicker, it also renders blank windows sometimes.
I will try the master. Thanks.
在 2020年2月16日 +0800 PM7:27,Alan Third <alan <at> idiocy.org>,写道:
> On Sun, Feb 16, 2020 at 11:47:50AM +0800, HaiJun Zhang wrote:
> > Will this be fixed before emacs 27 released?
> > The whole frame flickers which makes me uncomfortable. Hope it will be fixed.
>
> I’ve pushed a fix to the master branch, but unfortunately I don’t
> think the fix will make it into Emacs 27. The fix has noticeably worse
> performance than the current Emacs 27 branch, and even though I think
> it will be fast enough, I can’t guarantee it for all situations. As a
> result I’d rather the fix isn’t applied to Emacs 27 just in case we
> end up doing a release that breaks people’s workflows. The current
> bugs in Emacs 27 are annoying, but they can be easily worked around.
> --
> Alan Third
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Wed, 19 Feb 2020 12:00:02 GMT) Full text and rfc822 format available.

Message #39 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: HaiJun Zhang <netjune <at> outlook.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h
 k'
Date: Wed, 19 Feb 2020 19:59:02 +0800
[Message part 1 (text/plain, inline)]
I tried the master today. Emacs just shows a blank window.
I run it in src directory:
cd  src
./emacs -Q

OS: macOS 10.13.6.


在 2020年2月19日 +0800 AM6:16,HaiJun Zhang <netjune <at> outlook.com>,写道:
> Besides the flicker, it also renders blank windows sometimes.
> I will try the master. Thanks.
> 在 2020年2月16日 +0800 PM7:27,Alan Third <alan <at> idiocy.org>,写道:
> > On Sun, Feb 16, 2020 at 11:47:50AM +0800, HaiJun Zhang wrote:
> > > Will this be fixed before emacs 27 released?
> > > The whole frame flickers which makes me uncomfortable. Hope it will be fixed.
> >
> > I’ve pushed a fix to the master branch, but unfortunately I don’t
> > think the fix will make it into Emacs 27. The fix has noticeably worse
> > performance than the current Emacs 27 branch, and even though I think
> > it will be fast enough, I can’t guarantee it for all situations. As a
> > result I’d rather the fix isn’t applied to Emacs 27 just in case we
> > end up doing a release that breaks people’s workflows. The current
> > bugs in Emacs 27 are annoying, but they can be easily worked around.
> > --
> > Alan Third
[Message part 2 (text/html, inline)]
[Attachment.png (image/png, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Wed, 19 Feb 2020 20:20:02 GMT) Full text and rfc822 format available.

Message #42 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: HaiJun Zhang <netjune <at> outlook.com>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h k'
Date: Wed, 19 Feb 2020 20:19:47 +0000
On Wed, Feb 19, 2020 at 07:59:02PM +0800, HaiJun Zhang wrote:
> I tried the master today. Emacs just shows a blank window.
> I run it in src directory:
> cd  src
> ./emacs -Q
> 
> OS: macOS 10.13.6.

You might be the first person to try it on macOS below 10.14, although
I don’t expect that to cause a problem.

Can you please send me the output generated when you compiled it, in
case I’m using something that’s been changed?
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Thu, 20 Feb 2020 02:04:01 GMT) Full text and rfc822 format available.

Message #45 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: HaiJun Zhang <netjune <at> outlook.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h
 k'
Date: Thu, 20 Feb 2020 10:02:44 +0800
[Message part 1 (text/plain, inline)]
Yes.
在 2020年2月20日 +0800 AM4:19,Alan Third <alan <at> idiocy.org>,写道:
> On Wed, Feb 19, 2020 at 07:59:02PM +0800, HaiJun Zhang wrote:
> > I tried the master today. Emacs just shows a blank window.
> > I run it in src directory:
> > cd  src
> > ./emacs -Q
> >
> > OS: macOS 10.13.6.
>
> You might be the first person to try it on macOS below 10.14, although
> I don’t expect that to cause a problem.
>
> Can you please send me the output generated when you compiled it, in
> case I’m using something that’s been changed?
> --
> Alan Third
[Message part 2 (text/html, inline)]
[build_emacs.log (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Thu, 20 Feb 2020 23:21:01 GMT) Full text and rfc822 format available.

Message #48 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: HaiJun Zhang <netjune <at> outlook.com>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h k'
Date: Thu, 20 Feb 2020 23:20:19 +0000
On Thu, Feb 20, 2020 at 10:02:44AM +0800, HaiJun Zhang wrote:
> Yes.
> 在 2020年2月20日 +0800 AM4:19,Alan Third <alan <at> idiocy.org>,写道:
> > On Wed, Feb 19, 2020 at 07:59:02PM +0800, HaiJun Zhang wrote:
> > > I tried the master today. Emacs just shows a blank window.
> > > I run it in src directory:
> > > cd  src
> > > ./emacs -Q
> > >
> > > OS: macOS 10.13.6.
> >
> > You might be the first person to try it on macOS below 10.14, although
> > I don’t expect that to cause a problem.
> >
> > Can you please send me the output generated when you compiled it, in
> > case I’m using something that’s been changed?

These errors are interesting:

ld: warning: text-based stub file /System/Library/Frameworks//AppKit.framework/AppKit.
tbd and library file /System/Library/Frameworks//AppKit.framework/AppKit are out of sy
nc. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//IOKit.framework/IOKit.tb
d and library file /System/Library/Frameworks//IOKit.framework/IOKit are out of sync.
Falling back to library file for linking.

I think that means the command line utils need to be reinstalled.

    xcode-select --install

-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Fri, 21 Feb 2020 02:36:01 GMT) Full text and rfc822 format available.

Message #51 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: HaiJun Zhang <netjune <at> outlook.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h
 k'
Date: Fri, 21 Feb 2020 10:34:51 +0800
[Message part 1 (text/plain, inline)]
jun <at> jundeMac ~/s/emacs-git> xcode-select —install
xcode-select: error: command line tools are already installed, use “Software Update" to install updates

There are no updates for command line tools in “Software Update”. And I can’t upgrade xcode to latest version because it doesn’t support 10.13.6. It seems that I have to upgrade the OS.

I will keep with emacs 26 before I upgrade the os.

Thanks.
在 2020年2月21日 +0800 AM7:20,Alan Third <alan <at> idiocy.org>,写道:
> On Thu, Feb 20, 2020 at 10:02:44AM +0800, HaiJun Zhang wrote:
> > Yes.
> > 在 2020年2月20日 +0800 AM4:19,Alan Third <alan <at> idiocy.org>,写道:
> > > On Wed, Feb 19, 2020 at 07:59:02PM +0800, HaiJun Zhang wrote:
> > > > I tried the master today. Emacs just shows a blank window.
> > > > I run it in src directory:
> > > > cd  src
> > > > ./emacs -Q
> > > >
> > > > OS: macOS 10.13.6.
> > >
> > > You might be the first person to try it on macOS below 10.14, although
> > > I don’t expect that to cause a problem.
> > >
> > > Can you please send me the output generated when you compiled it, in
> > > case I’m using something that’s been changed?
>
> These errors are interesting:
>
> ld: warning: text-based stub file /System/Library/Frameworks//AppKit.framework/AppKit.
> tbd and library file /System/Library/Frameworks//AppKit.framework/AppKit are out of sy
> nc. Falling back to library file for linking.
> ld: warning: text-based stub file /System/Library/Frameworks//IOKit.framework/IOKit.tb
> d and library file /System/Library/Frameworks//IOKit.framework/IOKit are out of sync.
> Falling back to library file for linking.
>
> I think that means the command line utils need to be reinstalled.
>
> xcode-select --install
>
> --
> Alan Third
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Fri, 21 Feb 2020 20:31:01 GMT) Full text and rfc822 format available.

Message #54 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: HaiJun Zhang <netjune <at> outlook.com>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h k'
Date: Fri, 21 Feb 2020 20:30:33 +0000
On Fri, Feb 21, 2020 at 10:34:51AM +0800, HaiJun Zhang wrote:
> jun <at> jundeMac ~/s/emacs-git> xcode-select —install
> xcode-select: error: command line tools are already installed, use “Software Update" to install updates
> 
> There are no updates for command line tools in “Software Update”.
> And I can’t upgrade xcode to latest version because it doesn’t
> support 10.13.6. It seems that I have to upgrade the OS.
> 
> I will keep with emacs 26 before I upgrade the os.

I’m not sure what else you could try as this isn’t a situation I’ve
been in. All I can say is that error strongly implies your build
environment is broken somehow.

Are you able to build Emacs 26?

-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Thu, 05 Mar 2020 17:20:01 GMT) Full text and rfc822 format available.

Message #57 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: HaiJun Zhang <netjune <at> outlook.com>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h k'
Date: Thu, 5 Mar 2020 18:19:30 +0100 (CET)
On Fri, Feb 21, 2020 at 08:30:33PM +0000, Alan Third wrote:
> On Fri, Feb 21, 2020 at 10:34:51AM +0800, HaiJun Zhang wrote:
> > jun <at> jundeMac ~/s/emacs-git> xcode-select —install
> > xcode-select: error: command line tools are already installed, use “Software Update" to install updates
> > 
> > There are no updates for command line tools in “Software Update”.
> > And I can’t upgrade xcode to latest version because it doesn’t
> > support 10.13.6. It seems that I have to upgrade the OS.
> > 
> > I will keep with emacs 26 before I upgrade the os.
> 
> I’m not sure what else you could try as this isn’t a situation I’ve
> been in. All I can say is that error strongly implies your build
> environment is broken somehow.
> 
> Are you able to build Emacs 26?

Can you please try the master branch again? I think I’ve fixed a
problem that may have been the cause of your issues.
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Tue, 24 Mar 2020 03:59:01 GMT) Full text and rfc822 format available.

Message #60 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: HaiJun Zhang <netjune <at> outlook.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h
 k'
Date: Tue, 24 Mar 2020 11:58:40 +0800
[Message part 1 (text/plain, inline)]
在 2020年3月6日 +0800 AM1:19,Alan Third <alan <at> idiocy.org>,写道:
>
> Can you please try the master branch again? I think I’ve fixed a
> problem that may have been the cause of your issues.
> --
> Alan Third

I tried. It works now. Thanks.

I found two other issues:

1. There is delay(about 1~3s) before cursor color restores after emacs frame becomes focused from unfocused.
2. Emacs renders blank window(not full of window) sometimes. It is much rarer than emacs-27. But it happens.

For 1: I can reproduce it 100% with my profile.
For 2: I can’t reproduce it 100%.

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38727; Package emacs. (Tue, 24 Mar 2020 04:02:02 GMT) Full text and rfc822 format available.

Message #63 received at 38727 <at> debbugs.gnu.org (full text, mbox):

From: HaiJun Zhang <netjune <at> outlook.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 38727 <at> debbugs.gnu.org
Subject: Re: bug#38727: 27.0.50; The frame refreshes when pressing 'C-h
 k'
Date: Tue, 24 Mar 2020 12:01:25 +0800
[Message part 1 (text/plain, inline)]
在 2020年2月22日 +0800 AM4:30,Alan Third <alan <at> idiocy.org>,写道:
> I’m not sure what else you could try as this isn’t a situation I’ve
> been in. All I can say is that error strongly implies your build
> environment is broken somehow.
>
> Are you able to build Emacs 26?

Yes.

I have found a similar issue here: https://github.com/microsoft/azure-pipelines-image-generation/issues/1181


[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 21 Apr 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.