From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alexandre S Iline Newsgroups: gmane.emacs.help Subject: Storing of a buffer line number to a file Date: Mon, 24 Mar 2003 19:49:57 GMT Organization: AT&T Broadband Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3E7F6389.9080607@yandex.ru> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048535466 26165 80.91.224.249 (24 Mar 2003 19:51:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2003 19:51:06 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 24 20:51:03 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18xXyJ-0006nk-00 for ; Mon, 24 Mar 2003 20:51:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18xXxp-0006TB-02 for gnu-help-gnu-emacs@m.gmane.org; Mon, 24 Mar 2003 14:50:33 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help,gnu.emacs.lisp Original-Lines: 20 Original-NNTP-Posting-Host: 12.234.103.210 Original-X-Complaints-To: abuse@attbi.com Original-X-Trace: rwcrnsc53 1048535397 12.234.103.210 (Mon, 24 Mar 2003 19:49:57 GMT) Original-NNTP-Posting-Date: Mon, 24 Mar 2003 19:49:57 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:111352 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7854 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7854 It's rather a list question, probably, bu anyway ... I got stuck - do not know how to do it. I'm trying to create a list function which would simply output a number of a currently selected line in the selected buffer. I have no problem in line number recieving: (count-lines 1 (point)), but then, what should I do with the value? I guess, it's pretty simple, but nothing from documentation I have, helps me to find the answer. Thanks in advance. Shura. PS: I'm very new in that, so, don't beat me, please, if the question is too stupid. :)