Git Product home page Git Product logo

Comments (8)

sandric avatar sandric commented on June 15, 2024 7

Well I have to say I suffer from this also. For example I bound shortcuts to cycle opened buffers prev and next and have to scroll those not killed buffers. You pointed that if you use helm than you should not see those buffers. Well, I use not only helm, theres much more. Maybe helm have some function for switching prev/next buffers also hiding those that he opened?

from helm.

thierryvolpiatto avatar thierryvolpiatto commented on June 15, 2024

Julien Fantin
[email protected]
writes:

When using an helm command such as helm-mini the buffer is not killed after either performing an action or cancelling.

I understand this is part of a mechanism to reuse helm buffers, but
they do accumulate if you use a lot of different helm commands, and I
think it'd be nice to be able to customize, i.e. disable, this
beahviour.
Don't think so, this is the behavior of Emacs generally.
When you jump to a buffer and do something in it, it is up to you to
kill it or keep it, and I think helm should not have to handle this.

However for quick overview of a file, when you use helm-find-files,
first hit on C-z open a buffer (you can then scroll it) and second hit
kill it, it is maybe what you want.

Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997

from helm.

thierryvolpiatto avatar thierryvolpiatto commented on June 15, 2024

But maybe you are speaking of the helm buffers themself?
It is a good thing to keep them as it improve performances, especially for the sources using candidates-in-buffer.
Why are you annoyed by these buffers? They should be invisible from helm-buffers-list.
But well, it should be customizable...

from helm.

julienfantin avatar julienfantin commented on June 15, 2024

Yes Thierry I meant the helm buffers themselves.

They aren't a problem until you work on the buffer list with non helm commands like kill-this-buffer.

from helm.

thierryvolpiatto avatar thierryvolpiatto commented on June 15, 2024

So what is the problem with helm buffers when you use
`kill-this-buffer'?

Why are you using `kill-this-buffer' from buffer list?

I suggest that you try helm-buffers-list' (use C-u C-z to kill your buffers) andC-x k' with `helm-mode' enabled.

Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997

from helm.

julienfantin avatar julienfantin commented on June 15, 2024

I'm not using kill-this-buffer from the buffer list, but when I use this function it will replace the current buffer with some other buffer, at which point an helm buffer can show up.

My point is that if you only use helm commands, you do not have to worry about this, but with some vanilla emacs commands you need to deal with all those unwanted (unsuspected even) buffers.

I for one would rather have helm clean up after itself rather than provide a slight speed improvement by cluttering up the buffer list.

Hope this makes more sense.

from helm.

thierryvolpiatto avatar thierryvolpiatto commented on June 15, 2024

Julien Fantin
[email protected]
writes:

I'm not using kill-this-buffer from the buffer list, but when I use
this function it will replace the current buffer with some other
buffer, at which point an helm buffer can show up.
Did that happen? It should not, at each time helm is quitted or exited,
the helm buffer is burried, so the underlying buffer should not be an
helm buffer (they are on end of list).
Never had this problem (I kill my buffers with C-x k always,
except when there is a lot to kill I do it from helm)
I have always around 100 buffers open in my Emacs.

My point is that if you only use helm commands, you do not have to
worry about this, but with some vanilla emacs commands you need to
deal with all those unwanted (unsuspected even) buffers.
Same as above you should not worry about this, if this happen, I would
like to know when and in which circonstances it happen.
I had the problem with helm launched from special buffers
(`special-display-buffer-names') popping up in a dedicated frame,
and on a configuration with minibuffer with own
frame, but I fixed it.
Do you use such a configuration?

I for one would rather have helm clean up after itself rather
than provide a slight speed improvement by cluttering up the buffer list.
I could do it, but I would like to understand first what happen here first
with burried buffers.
Do you use a recent Emacs?

Hope this makes more sense.
Yes thanks.

Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997

from helm.

thierryvolpiatto avatar thierryvolpiatto commented on June 15, 2024

I think this issue can be closed as helm buffers are always burried on exit/quit.
Feel free to reopen this a recipe to reproduce.
Thanks.

from helm.

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.