Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm-buffers directory on its own line #1055

Closed
nmaludy opened this issue Jun 11, 2015 · 5 comments
Closed

helm-buffers directory on its own line #1055

nmaludy opened this issue Jun 11, 2015 · 5 comments

Comments

@nmaludy
Copy link

nmaludy commented Jun 11, 2015

Hello,

Today i pulled the latest version of helm and noticed that helm-buffers has changed its format. Previously the format was:

filename size mode
directory
filename size mode
directory
....

The new format has changed to:
filename size mode directory
filename size mode directory
....

I often work in deep directory trees and with this format i'm only able to see the first 2-3 directories in the file's path. Is there a way that i can revert this format so that the directory is back on its own line?

Thanks,
Nick

@nmaludy
Copy link
Author

nmaludy commented Jun 11, 2015

I did some digging and i was wrong about the exact format.

The old format was indeed:

filename size mode directory
filename size mode directory

However the directory names (when long) wrapped lines. It worked like this through v1.6.6 and changed in v1.6.7 to the non-line wrapping behavior.

Is there a variable that i can set to regain the line-wrapping format?

Thanks,
Nick

@thierryvolpiatto
Copy link
Member

nmaludy notifications@github.com writes:

I did some digging and i was wrong about the exact format.

The old format was indeed:

filename size mode directory
filename size mode directory

However the directory names (when long) wrapped lines. It worked like
this through v1.6.6 and changed in v1.6.7 to the non-line wrapping
behavior.

Is there a variable that i can set to regain the line-wrapping format?

Sorry but I don't understand what you want, actually the lines are
truncated if too long, what do you mean by "wrapped"?

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

@nmaludy
Copy link
Author

nmaludy commented Jun 11, 2015

I would like the lines to not be truncated and for the extra portion of the line to be continued onto the next line aka "wrapped".

Example of truncated:

MyLongFileName.el 12k Emacs-Lisp ~/src/lisp/my_project/s

Examle of line wrapping:
MyLongFileName.el 12k Emacs-Lisp ~/src/lisp/my_project/s
rc/some/deep/directory/structure/

In the "line wrapping" example you can see that the directory is continued on the next line. This happened in previous versions of helm (v1.6.6 and earlier).

thierryvolpiatto added a commit that referenced this issue Jun 11, 2015
* helm-buffers.el (helm-buffers-truncate-line): New.
(helm-buffers-list): Use it.
@thierryvolpiatto
Copy link
Member

nmaludy notifications@github.com writes:

I would like the lines to not be truncated and for the extra portion
of the line to be continued onto the next like aka "wrapped".

Example of truncated:

MyLongFileName.el 12k Emacs-Lisp ~/src/lisp/my_project/s

Examle of line wrapping: MyLongFileName.el 12k Emacs-Lisp
~/src/lisp/my_project/s rc/some/deep/directory/structure/

In the "line wrapping" example you can see that the directory is
continued on the next line. This happened in previous versions of helm
(v1.6.6 and earlier).

Thanks for explaining.

You should now be able to modify this with new var
`helm-buffers-truncate-lines'.

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

@nmaludy
Copy link
Author

nmaludy commented Jun 12, 2015

Works perfect thanks!

@nmaludy nmaludy closed this as completed Jun 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants