From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: Emacs Telling You the Kind of the Variable Under the Cursor? Date: Wed, 27 May 2009 08:24:23 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243431749 2571 80.91.229.12 (27 May 2009 13:42:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 May 2009 13:42:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 27 15:42:27 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M9JOl-0006w5-JB for geh-help-gnu-emacs@m.gmane.org; Wed, 27 May 2009 15:42:27 +0200 Original-Received: from localhost ([127.0.0.1]:55109 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9JOk-00077C-Mm for geh-help-gnu-emacs@m.gmane.org; Wed, 27 May 2009 09:42:26 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!backlog1.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Wed, 27 May 2009 08:23:58 -0500 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 26 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.132.243 Original-X-Trace: sv3-pCdMx1ZE015ZFmdplNTAaao+4XTlWQ0kjycRRB2itrUzsDpX6taOXgCzZh4/fHCCu1MRtCc1mvhpKs0!RQlYAltCybbULwtwo6jWbEK6uQEu0hZaKkA40LG62xzeRRBh2dXi0FKWZFyk71mMn186aYnGvhhC!qzYdTpd/CWzUv1hGo9PbC67YBDsNvgM= Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:169533 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64767 Archived-At: Lorenzo Isella wrote: > Dear All, > The email title almost says it all. > I read in a slashdot post that you can configure Emacs so that it will > tell you/display somewhere (there were no details in that post) the type > of the variable under the cursor. > This sounds handy, but I have no idea how to activate this feature > (given but not granted that it exists really). > Any hints? > Cheers > > Lorenzo > > If you have access to an emacs installation you could evaluate the following forms in *scratch*: (setq p 1.1) (type-of p) The second yields "float" in the minibuffer. So the capability is there. It's just a matter doing some lisp progamming. Ed