dbordak / telephone-line

A new implementation of Powerline for Emacs
GNU General Public License v3.0
554 stars 51 forks source link

Option to disable telephone-line mouse menu/tooltip in segments #77

Closed ogdenwebb closed 6 years ago

ogdenwebb commented 6 years ago

I'm using Emacs only via keyboard, so help-echo messages just bores me. I guess this part of telephone-line should be optional.

dbordak commented 6 years ago

This would be a lot of work for not a lot of gain. I guess you could re-propertize everything at the end to clear out properties, but even so. They're consuming an insignificant amount of RAM, and don't appear unless you do mouse over them.

Just ignore them ;)

ogdenwebb commented 6 years ago

By default, is mouse menu handled by Emacs itself or by telephone-line? Isn't possible to wrap segments/help-echo parts in condition with a custom var or something like that?

As a workaround I found that, so the feature isn't necessary for me now.

(setq show-help-function nil)
dbordak commented 6 years ago

Just to wrap this up: mouse menu is an emacs feature, telephone-line just defines the markup that allows emacs to render it. Largely, this is because I copy built-in mode-line blobs directly (which makes for a lot less code on my end :) ).

I didn't know about that setting, but I'm glad to see you found a solution.