bufler.el icon indicating copy to clipboard operation
bufler.el copied to clipboard

max-width variables seem un-used

Open WorldsEndless opened this issue 4 years ago • 1 comments

As can be seen in my screenshot, my file-names are too long in the bufler listing. I have set both of the custimize options -- bufler-column-Path-max-width and bufler-column-Name-max-width, both of which I set to 30. I am using the latest buffler.

Note that I need them untruncated when I do a switch-to-buffer, but they make it hard to use bufler-list.

GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.16.0) of 2021-09-01 Bufler per a68e0eb * origin/master Notes: Update

image

WorldsEndless avatar Nov 22 '21 18:11 WorldsEndless

Hm, as far as I know they do work, but maybe something's wrong. Can you reproduce in a clean config?

alphapapa avatar Nov 27 '21 18:11 alphapapa

Still cornfronting this problem, particularly on brovser windows that have lengthy names. Might it have to do with the fact that exwm changes the names as the windows are opened, perhaps too often or too late for bufler?

buffler-width

WorldsEndless avatar Aug 09 '23 20:08 WorldsEndless

Hm, as far as I know they do work, but maybe something's wrong. Can you reproduce in a clean config?

alphapapa avatar Aug 09 '23 20:08 alphapapa

I'll try with an emacs -q

WorldsEndless avatar Aug 09 '23 20:08 WorldsEndless

I created an empty file named ~/Temp/a-buffer-with-a-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-long-name.txt

On a clean config I got the same issue:

WorldsEndless avatar Aug 09 '23 20:08 WorldsEndless

buffler-width2

Having troubles getting Github to take that one...

WorldsEndless avatar Aug 09 '23 20:08 WorldsEndless

I haven't figured out how the :max-width args are supposed to work, but they don't seem to be having any effect. I hardcoded some truncation values in and this works for me personally, but clearly isn't a viable solution for a public library.

WorldsEndless avatar Aug 09 '23 21:08 WorldsEndless

Turned out to be a simple mistake in the code that I had never noticed. Should be fixed now. Thanks for reporting.

alphapapa avatar Aug 10 '23 17:08 alphapapa