From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Rutt Newsgroups: gmane.emacs.help Subject: Re: getting abbrev table objects given a string with the same name Date: Tue, 22 Jun 2004 17:06:43 -0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87eko75ml8.fsf@osu.edu> References: <87isdj5ygl.fsf@osu.edu> <7e8yefmqmi.fsf@ada2.unipv.it> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088537548 23606 80.91.224.253 (29 Jun 2004 19:32:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 19:32:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 21:32:16 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfOL2-00077M-00 for ; Tue, 29 Jun 2004 21:32:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfOMi-0001nN-7i for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 15:34:00 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-X-Trace: news.uni-berlin.de icm8y2CTdfZssmd/b/v3qgD4SNgZZh2ipJyVFoqY71eLfbUFQ= Mail-Copies-To: nobody User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:XoStyfTTkD9CSU49NDeQouG4TeY= Original-Xref: shelby.stanford.edu gnu.emacs.help:123889 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19251 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19251 Thien-Thi Nguyen writes: > Benjamin Rutt writes: > >> how can I get an abbrev table, given a string with the same name. > > this expression doesn't answer your question directly, > but in understanding it you will find the answer anyway: > > (let ((name (concat "describe" "-" "function"))) > (eval `(,(intern name) ',(intern name)))) Thanks, `intern' and `eval' did the trick. -- Benjamin Rutt