Git Product home page Git Product logo

Comments (8)

mclearc avatar mclearc commented on July 20, 2024 1

Hmm -- is tab-bar-switch-to-tab defined? If so then just create the alias as above and load that before you load tabspaces.el and hopefully things should work. If tab-bar-switch-to-tab isn't present then I'll have to look more closely at the older version of tab-bar.el.

from tabspaces.

ChauhanT avatar ChauhanT commented on July 20, 2024 1

That did the trick! The function was indeed defined, and only the alias was missing. Thank you!!

from tabspaces.

mclearc avatar mclearc commented on July 20, 2024 1

Great! Let me know if you run into further issues.

from tabspaces.

mclearc avatar mclearc commented on July 20, 2024

Thanks for this -- you're not missing something. This looks like a regression. I'll have it fixed in a bit.

from tabspaces.

ParetoOptimalDev avatar ParetoOptimalDev commented on July 20, 2024

Ah, this was why when I tested #18 I had weird behavior.

I didn't say anything because I was afraid it was user error.

When NixOS updates or I update packages I'll test it again.

from tabspaces.

ChauhanT avatar ChauhanT commented on July 20, 2024

Hi, I also cannot switch, and get the following message:

tabspaces-switch-or-create-workspace: Symbol’s function definition is void: tab-switch

When I export tab-switch in my use-package block by adding it to :commands, the error changes to:

tabspaces-switch-or-create-workspace: Autoloading file .../straight/build/tabspaces/tabspaces.elc failed to define function tab-switch

Hope this helps triangulate the issue!

  • Other info: I'm on emacs 27.1 on a Debian 11 box.
  • I am the developer of Emacs Groundup, and want to move the distro to project.el and tab-bar for v0.2 - tabspaces has been a fantastic find ! I love the intuitive and simple interface. Thank you for sharing your work with the community 👏

from tabspaces.

mclearc avatar mclearc commented on July 20, 2024
tabspaces-switch-or-create-workspace: Symbol’s function definition is void: tab-switch

tab-switch is an alias in tab-bar.el, which is required by tabspaces. So there is probably a problem with the way tab-bar is being loaded in your config. Maybe try reproducing with emacs -q? If you continue to see the error please open a new issue, as the problem being described in this current issue has been resolved.

* Other info: I'm on emacs 27.1 on a Debian 11 box.

I wonder if the version of tab-bar in emacs 27 doesn't have the alias defined (I'm on emacs 29). Do you see the following in tab-bar.el?

(defalias 'tab-switch          'tab-bar-switch-to-tab)
* I am the developer of Emacs Groundup, and want to move the distro to project.el and tab-bar for v0.2 - tabspaces has been a fantastic find ! I love the intuitive and simple interface. Thank you for sharing your work with the community 👏

I'm very glad you've found it useful!

from tabspaces.

ChauhanT avatar ChauhanT commented on July 20, 2024

Hi, thank you very much for such an informative response!

I could not find (defalias 'tab-switch 'tab-bar-switch-to-tab) in tab-bar.el.gz ! Does that mean the functionality will not work in emacs 27 ?

from tabspaces.

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.