[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

print line numbe

From: Harry Putnam
Subject: print line numbe
Date: Sat, 28 Sep 2013 21:25:01 -0400
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.0.92 (gnu/linux)

How can I make a piece of elisp report the line number when it prints
a message?

Something along the line of the __LINE__ operator in perl, 
or the $LINENO operator in shell-scripting.

Something like:

   (message "Hello from line: " something-that-reports-line-number) 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]