Giter VIP home page Giter VIP logo

Comments (8)

cyrus-and avatar cyrus-and commented on June 11, 2024 1

I think that the following may help you in figuring out what happens:

(advice-add 'select-window :before (lambda (&rest ignore) (backtrace)))

Warning: very verbose output on *Messages*.

Similarly you can hook window-size-change-functions and minibuffer-setup-hook if needed.

from zoom.

cyrus-and avatar cyrus-and commented on June 11, 2024 1

Feel free to send me an e-mail.

from zoom.

cyrus-and avatar cyrus-and commented on June 11, 2024

Wow that's impressive 2GB... I don't experience that. Can you try to reproduce it with emacs -Q then installing zoom? I suspect there is some interference going on.

Also can you send me the whole report? (In the profile buffer hit C-x C-w.)

from zoom.

blue0513 avatar blue0513 commented on June 11, 2024

@cyrus-and I did it, and got this.... (without any heavy response)

- redisplay_internal (C function)                          24,042,398  54%
 + jit-lock-function                                       19,143,565  43%
   file-remote-p                                            3,518,162   7%
 + eval                                                       961,282   2%
 + tool-bar-make-keymap                                       314,911   0%
 + #<compiled 0x40c13c45>                                      15,840   0%
   kill-this-buffer-enabled-p                                  10,432   0%
 + zoom--handler                                                7,392   0%
 + keymap-canonicalize                                          5,280   0%
   menu-bar-update-buffers                                      5,280   0%
 + funcall                                                      1,056   0%
+ command-execute                                          19,438,599  44%
+ ucs-normalize-hfs-nfd-pre-write-conversion                  470,386   1%
+ timer-event-handler                                          20,064   0%
+ #<compiled 0x4061e247>                                       11,456   0%
+ undo-auto--add-boundary                                       7,392   0%
+ eldoc-schedule-timer                                          3,168   0%
  undefined                                                     1,506   0%
  ...                                                               0   0%

So I think the reason is that other minor modes or installed packages internally call zoom and the problem happens.

Currently I use those minor modes

Enabled minor modes: Aggressive-Indent Anzu Async-Bytecomp-Package
Auto-Complete Auto-Composition Auto-Compression Auto-Encryption
Avy-Migemo Blink-Cursor Column-Number Delete-Selection
Diff-Auto-Refine Electric-Indent Electric-Pair File-Name-Shadow
Flycheck Font-Lock Git-Gutter+ Global-Aggressive-Indent Global-Anzu
Global-Atomic-Chrome-Edit Global-Auto-Complete Global-Auto-Revert
Global-Eldoc Global-Flycheck Global-Font-Lock Global-Git-Commit
Global-Git-Gutter+ Global-Nlinum Global-Undo-Tree
Global-Whitespace-Cleanup Ivy Line-Number Menu-Bar Mouse-Wheel Nlinum
Rainbow-Delimiters Recentf Shell-Dirtrack Show-Paren Symbol-Overlay
Tex-Pdf Tooltip Transient-Mark Undo-Tree Whitespace-Cleanup Yas
Yas-Global Zoom

I'll try to detect the main reason of it.

from zoom.

blue0513 avatar blue0513 commented on June 11, 2024

Thanks!

hmm... when I type each char, this occurs every time and redisplaying internal.
screen shot 2017-11-09 at 1 06 00

from zoom.

cyrus-and avatar cyrus-and commented on June 11, 2024

I don't know, try to disable page-break-lines, even though I've just tried it and seems to work fine.

Would it be possible for me to try your Emacs config?

from zoom.

blue0513 avatar blue0513 commented on June 11, 2024

Unfortunately disabling page-break-lines does not solve the problem (I guess other packages call it internally)

Yes! I can share you my .emacs.d including elpa/ and init.el.
But I don't have the repo on public services. Can I share them privately with you using e-mail or something ? If it is not good, I'll upload my .emacs.d to a public repository.

from zoom.

cyrus-and avatar cyrus-and commented on June 11, 2024

For the records: the problem was related to hiwin-mode which doesn't set the NORECORD option to t when selecting windows (select-window) for managing purposes; a PR is on the way.

from zoom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.