Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Add line and column' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add line and column
Authored by: EatingPie on Oct 13, '04 12:10:26PM
You can display current line and current column in the title bar as well (just like your mode line). Simply add a
(what-line)
to the concat. I'm not sure if there's a "current-colum" in emacs, so I wrote my own.

 (save-excursion
    (let ((here (point)))
      (beginning-of-line)
      (- here (point))))
You'll need to run that through
(int-to-string)
before inserting in the concat. -Pie

---
-Pie


[ Reply to This | # ]