Comments (8)
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.
That did the trick! The function was indeed defined, and only the alias was missing. Thank you!!
from tabspaces.
Great! Let me know if you run into further issues.
from tabspaces.
Thanks for this -- you're not missing something. This looks like a regression. I'll have it fixed in a bit.
from tabspaces.
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.
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.
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.
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)
- Rename created tabspace HOT 2
- [BUG] two projects with same name are considered as one workspace HOT 1
- [SUGGESTION] a nicer tabspaces-ivy-switch-buffer HOT 1
- [SUGGESTION] Don't overwrite `project-switch-commands` HOT 2
- Customise `magit-init` call when opening a project HOT 1
- Unusable `tabspaces-open-or-create-project-and-workspace` HOT 3
- [SUGGESTION] Enable tabspace duplication only when `tabspaces-open-or-create-project-and-workspace` is called with C-u prefix HOT 2
- [BUG] two projects with same name are considered as one workspace HOT 18
- Switch between tabspaces HOT 2
- Question about tabspaces-exclude-buffers HOT 1
- Missing support for tab-group / integration with desktop.el HOT 4
- tabspaces-switch-or-create doesn't create empty workspace HOT 7
- Displays *Messages* buffer HOT 8
- Mixing tabspaces-switch-to-buffer with tab-bar-select-tab leaks buffer to another tab HOT 3
- Is it possible to create workspaces based on modes? HOT 4
- "Bury-buffer" alse removes the buffer from current tab HOT 2
- Switch buffer and tab from ibuffer
- Integration with projectile HOT 1
- startup error when tabspaces session file does not yet exist
- allow opting out of automatic keymap prefix binding HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabspaces.