From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Defining functions on the fly Date: Mon, 15 Jun 2015 08:52:25 -0400 Organization: A noiseless patient Spider Message-ID: References: <557E99BE.2060407@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1434372929 30084 80.91.229.3 (15 Jun 2015 12:55:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Jun 2015 12:55: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 Mon Jun 15 14:55:28 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z4TvE-0005Um-C8 for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jun 2015 14:55:28 +0200 Original-Received: from localhost ([::1]:34137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4TvD-0008Dm-UJ for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jun 2015 08:55:27 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.kamp.net!newsfeed.kamp.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Injection-Info: mx02.eternal-september.org; posting-host="57a6bd8b47e5d85183f0e9788fd6074b"; logging-data="12422"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GrxpPa7FjlSiqa+/vEPZj" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:S0JInxGO8GUoLPg+JBqeWLCr1Ks= sha1:BxuEW4pdOVHDYhGPkkrAQVP1sO0= Original-Xref: usenet.stanford.edu gnu.emacs.help:212666 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104950 Archived-At: > i'm probably misunderstanding you, but does: > (defun (intern (concat "current-prefix-" foo) ... > do what you need? (defalias (intern (concat "current-prefix-" foo) ...) ...) can work, but not with defun. In any case, some concrete example of what he needs to do would go a long way. Stefan