Comments (5)
Thank you, now I understand. I think your patch is the right way to do it. :)
from bufler.el.
BTW, for future reference, you should generally propose PRs from a branch on your fork rather than from your master
branch. That makes it safer for me to push amendments before merging.
from bufler.el.
Unfortunately I don't see a straightforward way to fix that with pretty-hydra
.
Fortunately, there seem to be two simple workarounds:
- Press
q
to exit the Hydra. - Don't press
?
while in the Hydra.
from bufler.el.
Copying my comment from the PR:
That changes the fundamental behavior of the hydra so that any action exits the hydra. It also turns
?
into the key to exit the hydra, which it is not intended to be. Finally, I'm not sure if callingquit-window
directly will always work correctly.I appreciate the patch, but I don't think this is the way to go.
Would you explain why you think this issue even needs to be fixed? ?
is not listed as a valid key in the hydra, and users who press it by accident can simply press q
to exit the hydra. I don't think this is a significant problem.
from bufler.el.
Indeed it changes a bit the behavior of the hydra which is why I wanted to hear your opinion about it. I am not a power user of hydra in general but I am quite used to the behavior of the one from treemacs
. And this is what this PR tries to imitate, however this was just a suggestion.
As for why I think the current behavior is odd and should be fixed, well I can easily run into situations where the hydra sticks around. The workflow I described above is one way, another one could be:
- Run
bufler
- Press
?
to open hydra help - Press
RET
to switch to the selected buffer, then it switches buffer but the hydra sticks around. If I pressq
to quit it, then the buffer is switched back to the previous one. If I press anything else, I get the message:Wrong type argument: (or eieio-object class), nil, obj
.
from bufler.el.
Related Issues (20)
- Warnings with bufler-switch-buffer HOT 3
- cons: Symbol’s value as variable is void: max-width HOT 3
- Bufler doesn't display buffer kills on exwm windows HOT 6
- bufler-list-buffer-switch does not respect window cofiguration HOT 10
- Switching to buffer without deleting window? HOT 3
- Bufler installation from MELPA fails with compilation error HOT 8
- max-width variables seem un-used HOT 8
- Error while loading autoloads HOT 12
- bufler-groups explanation HOT 2
- Sidebar? HOT 4
- tab-bar-switch-to-{prev,next}-tab and related issues HOT 1
- replace $HOME in Path on *Bulfer* HOT 2
- Simple example to add a buffer with a certain name to Bufler's list? HOT 3
- bufler-mode-map/bufler-mode as minor mode? HOT 1
- Relative path column HOT 1
- Add bookmark function
- butler-reverse inconsistent with documentation HOT 1
- Subgroups and syntax? HOT 3
- (buffler-group-auto-parent-project) don't work, if homedir is git repository HOT 3
- README does not correctly reflect state of bufler-tabs-mode 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 bufler.el.