Git Product home page Git Product logo

Comments (4)

nosewings avatar nosewings commented on July 17, 2024

To clarify: this occurs when switching buffers with switch-to-buffer, previous-buffer, and next-buffer; I can still see the buffers in (buffer-list).

from perspective-el.

gcv avatar gcv commented on July 17, 2024

switch-to-buffer should allow switching to any buffer. You're definitely not using persp-switch-to-buffer* (which I would expect to behave the way you describe)?

from perspective-el.

nosewings avatar nosewings commented on July 17, 2024

Yes, it happens even with M-x switch-to-buffer.

Why would this be the expected behavior with persp-switch-to-buffer?

from perspective-el.

gcv avatar gcv commented on July 17, 2024

persp-switch-to-buffer* (the starred version) is supposed to be perspective-aware. I don’t use Emacs server often (I never managed to configure it right, and when I try using it, it ends up crashing and I have to restart it from the main instance), so I’m not entirely sure how it actually behaves with Perspective. I would expect the server to treat a new client instance as the equivalent of a new frame, which means a brand new set of perspectives. So when you start a new client, it won’t see any existing perspectives. But I wouldn’t expect the built-in switch-to-buffer to obey this, since it is not perspective-aware; it should just show all existing buffers. So probably something strange is going on.

I’ll try to find time to look into it sometime soon. Bad behavior from the server is a long-standing problem with Perspective (#41, for example).

Just double-checking: you’re on a recent version of Emacs (27 or 28)? I try to keep versions down to 24 compatible, but only have automatic tests to check for 24-26.

from perspective-el.

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.