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

Adjust author-width automatically #49

Closed
franciscolourenco opened this issue May 7, 2012 · 2 comments
Closed

Adjust author-width automatically #49

franciscolourenco opened this issue May 7, 2012 · 2 comments

Comments

@franciscolourenco
Copy link

It doesn't make much sense to use abbreviated names and still take the same amount of space

example

@jonas
Copy link
Owner

jonas commented May 10, 2012

With the above commit, you can set author-width = 10, and it will automatically abbreviate the author for you.

Regarding automatic resizing, with a proper heuristics it might make sense. I don't see much use for it though since I would expect every user to find a preference in terms of abbreviation/author-with size and just stick with that.

@franciscolourenco
Copy link
Author

The way I would personally enjoy seeing it would be always displaying the full "standard" abbreviated version and taking only as much space as needed. Otherwise the option show-author=abbreviated gets a bit useless because; who wants to see the abbreviated version when they could be seeing the full version if the necessary space is being taken anyway?

The behavior one would expect from show-author=abbreviated would be for the space to get reduced automatically.
On the other hand, an even better behavior imo would be for it to take as much space required to display the largest of the abbreviated names and display the full version of other names if they are small enough to fit the space. This could be called show-author=dynamic for example.

Anyway, set author-width = 10 it already better so maybe this is low priority

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants