From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: LanX Newsgroups: gmane.emacs.help Subject: Re: managing my keybindings Date: Sun, 9 May 2010 12:12:45 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9129c243-472e-4cd4-9c89-f017db8ea5b2@o14g2000yqb.googlegroups.com> References: <89f1a7ef-b8e5-41e9-8571-17ef186b78b4@e1g2000yqe.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1273434055 19426 80.91.229.12 (9 May 2010 19:40:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 9 May 2010 19:40:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 09 21:40:54 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OBCMu-0001sR-Up for geh-help-gnu-emacs@m.gmane.org; Sun, 09 May 2010 21:40:53 +0200 Original-Received: from localhost ([127.0.0.1]:37550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBCMu-0008Tf-Fj for geh-help-gnu-emacs@m.gmane.org; Sun, 09 May 2010 15:40:52 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!o14g2000yqb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: 188.107.212.114 Original-X-Trace: posting.google.com 1273432365 19529 127.0.0.1 (9 May 2010 19:12:45 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 9 May 2010 19:12:45 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o14g2000yqb.googlegroups.com; posting-host=188.107.212.114; posting-account=W9fpQwoAAADZYmkl-8sXk1VPxG3rq-Pd User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.19) Gecko/2010040118 Ubuntu/8.10 (intrepid) Firefox/3.0.19,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:178087 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:73614 Archived-At: WORKS! :) ----------------------------- (defun mine (func comment) "" (let (my-func) (setq my-func (intern (concat "my-" (symbol-name func)))) (defalias my-func func comment) my-func ) ) (local-set-key (kbd "M-a") (mine 'mark-whole-buffer "optional Comment for Binding")) (describe-key (kbd "M-a")) --------------------------