egg icon indicating copy to clipboard operation
egg copied to clipboard

The buffer names are too long...

Open updogliu opened this issue 14 years ago • 3 comments

The names of the special buffers are often too long due to including the full path of git directory. May I customize it?

updogliu avatar Dec 27 '11 13:12 updogliu

You can't customize buffers name . Because buffer name include .git path and egg use buffer name to identify git repository.

byplayer avatar Dec 29 '11 00:12 byplayer

Well I'm not very clear about it. But I changed (buf-name (format fmt dir-name git-dir)) to (buf-name (format fmt dir-name "")) in the function egg-get-buffer, and egg still works. The the moment, interactive rebase still doesn't work. I'm not sure if it worked before I make this change. Just for your information. Thanks.

On Thu, Dec 29, 2011 at 8:54 AM, byplayer [email protected] wrote:

You can't customize buffers name . Because buffer name include .git path and egg use buffer name to identify git repository.


Reply to this email directly or view it on GitHub: https://github.com/byplayer/egg/issues/25#issuecomment-3296970

Regards,

Zihan, Sheldon Liu

The Media Computing Group (MCG) where Media Spectrum unleashes Digital Potential for Fun in Life.

School of Creative Media (SCM) City University of Hong Kong

updogliu avatar Dec 29 '11 01:12 updogliu

What name do you change buffer name ? If you change unique name each .git repository, it works well. However, if you change fix name, you have some trouble if you open more than two files which are belong to another git directory.

Oh, I rearize while writing it is no problem if fix name. That's all you can not open more than two egg-log, egg-status buffer in you emacs.

Thank you for your information about rebase, I check it.

byplayer avatar Dec 29 '11 01:12 byplayer