unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Show/Hide: Line and column numbers in the mode-line?
@ 2002-02-07  6:50 Pavel Janík
  2002-02-07 10:01 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Janík @ 2002-02-07  6:50 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]

What about this? Yes, people keep to ask how to display column number in
the mode-line, and we also have in the FAQ. Hmm, still Google tells me at
http://groups.google.com/groups?q=%2Bemacs+%2Bcolumn+%2Bnumber&hl=en&sa=N&tab=wg

Results 1 - 10 of about 9,760.

--- menu-bar.el.~1.194.~	Sun Feb  3 11:06:42 2002
+++ menu-bar.el	Wed Feb  6 22:22:34 2002
@@ -572,6 +572,19 @@
 
 (defvar menu-bar-showhide-menu (make-sparse-keymap "Show/Hide"))
 
+(define-key menu-bar-showhide-menu [column-number-mode]
+  (menu-bar-make-toggle column-number-mode column-number-mode
+			"Show Column Number" "Column number mode %s"
+			"Show the current column number in the mode-line"))
+
+(define-key menu-bar-showhide-menu [line-number-mode]
+  (menu-bar-make-toggle line-number-mode line-number-mode
+			"Show Line Number" "Line number mode %s"
+			"Show the current line number in the mode-line"))
+
+(define-key menu-bar-showhide-menu [linecolumn-separator]
+  '("--"))
+
 (defun showhide-date-time ()
   "Toggle whether to show date and time in the mode-line."
   (interactive)


[-- Attachment #2: snapshot.png --]
[-- Type: image/png, Size: 15253 bytes --]

[-- Attachment #3: Type: text/plain, Size: 219 bytes --]


-- 
Pavel Janík

"when" is not a word I find useful about most bios bugs. Try "if" or
"less likely that being hit on the head by an asteroid"
                  -- Alan Cox in LKML about possibility of fixing BIOS bugs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-07 21:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-07  6:50 Show/Hide: Line and column numbers in the mode-line? Pavel Janík
2002-02-07 10:01 ` Eli Zaretskii
2002-02-07 21:39   ` Pavel Janík

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).