From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: eLisp: Print variable content to message buffer Date: 4 Jan 2008 16:25:12 GMT Message-ID: References: <5u72qgF1gfm11U1@mid.individual.net> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1199464881 20283 80.91.229.12 (4 Jan 2008 16:41:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2008 16:41:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 04 17:41:42 2008 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 1JApc4-0000t2-Sw for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Jan 2008 17:41:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JApbi-000123-H7 for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Jan 2008 11:41:18 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-X-Trace: individual.net uDPR/wQpjdJ9rOpkv31B9wnAkQ+MsuqI/rc0EXgUmZ4ABqv/8S Cancel-Lock: sha1:IBOFoDFjx0Nqol5VVwjJZSpmKBM= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/0.9.8.1 (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:155077 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:50497 Archived-At: Will wrote: > after looking around in the web without finding a solution, I still > wonder how one can print the content of a variable to the *message* > buffer. Specifically, I'd like to have an output like this in my > *message* buffer after starting Emacs: > > "This is my Emacs Exec-Path:" > > > Thanks in advance, > > Will > > PS: What reference for eLisp would you recommend > (apart from those included in Emacs)? none. at least i've never used any other reference material. i started out with the emacs lisp intro, and from there on only used the elisp reference manual that comes with emacs. as a first step toward solving your problem, do: C-h i m elisp RET m index RET m message RET or alternatively, put your cursor directly after the following line and type C-x C-e (in emacs, of course): (info "(elisp)Displaying Messages") HTH -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)