|
From: | Bastien Guerry |
Subject: | Re: Storing of a buffer line number to a file |
Date: | Mon, 24 Mar 2003 20:56:55 +0100 |
User-agent: | Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux) |
Alexandre S Iline <shurymury@yandex.ru> hat geschrieben: > I'm trying to create a list function which would simply > output a number of a currently selected line in the selected buffer. (insert (int-to-string (count-lines (point-min) (point)))) ... will insert the current line number in your buffer just after the point location. Maybe you will be also interested by the `what-line' command. -- Bastien
[Prev in Thread] | Current Thread | [Next in Thread] |