|
From: | martin rudalics |
Subject: | Re: add a popup menu to toggle line-number-mode and column-number-mode |
Date: | Mon, 27 Aug 2007 23:28:34 +0200 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
> The line number entry on the mode line is one of the very few that is > not mouse sensitive. > > Adding a popup menu there that can be used to toggle line-number-mode > and column-number-mode seems very intuitive: set a property by > clicking on it's graphical representation. > > Here's a proof of concept implementation. It am sure it can be > improved. > > Opinions? I disagree for two reasons: (1) `line-number-mode' and `column-number-mode' are global modes, that's why they are on the menu-bar. Mode lines are merely buffer-local (the nearest equivalent to "window-local"). (2) When there's no entry on the mode line how do you turn it on? I could imagine binding left and right mouse clicks to `next-line' and `previous-line' for the line-number indicator and something similar for the column-number indicator.
[Prev in Thread] | Current Thread | [Next in Thread] |