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: getting abbrev table objects given a string with the same name Date: Tue, 22 Jun 2004 12:50:18 -0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87isdj5ygl.fsf@osu.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088537486 23421 80.91.224.253 (29 Jun 2004 19:31:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 19:31:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 21:31:06 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 1BfOJt-00070F-00 for ; Tue, 29 Jun 2004 21:31:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfOLY-0000lC-PN for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 15:32:48 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!feed.news.tiscali.de!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Original-X-Trace: news.uni-berlin.de QHDk9Up4FQ156G67FGlP/As9qU5nwDS+XBWeFI5WQGh5d1bqU= Mail-Copies-To: nobody User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:6x6NLtCqduGC9Dqc46Bc+IBA+/E= Original-Xref: shelby.stanford.edu gnu.emacs.help:123884 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:19246 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19246 How can I do something like the following: (define-abbrev (concat "c-mode" "-abbrev-table") "foo" "bar" nil) What I want is to define an abbrev based on an abbrev table name that is dyamically built. The problem is, the 1st arg to define-abbrev must be an abbrev table, not a string. So, the problem becomes, how can I get an abbrev table, given a string with the same name. -- Benjamin Rutt