From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Burkhard Schultheis Newsgroups: gmane.emacs.help Subject: Re: define a keybinding for "find next alternate definition of last tag specified" Date: Wed, 27 Feb 2013 14:53:38 +0100 Organization: albasani.net Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1361993609 15448 80.91.229.3 (27 Feb 2013 19:33:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Feb 2013 19:33: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 Wed Feb 27 20:33:53 2013 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 1UAmlB-0000bM-Nr for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Feb 2013 20:33:49 +0100 Original-Received: from localhost ([::1]:36431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAmPI-00077X-Dk for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Feb 2013 14:11:12 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-X-Trace: news.albasani.net AmtltiM+sI3SHc8vkOjI+nqPu58qiBAjZQakN1zI62GxgxYUi0HTYab3tcBvIYKWWD1Oc5DB/jxoWrx00L2KVY40ZqGFeK9fAVqkTzd70YRThgKkOPWCuvbSJqw/+B+A Original-NNTP-Posting-Date: Wed, 27 Feb 2013 13:53:42 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="BB6zzup1446PHmhhXrcrAdD0FzpUG6gs1t7+lLrHQTB/trP8WUSw/BHfLECGh+fvFNjJm6VJfmipQ3+ihNTxQYoXy3GMgW97lyTIbj1kI1jhxqpNH1U1Uy8FkkKHyMez"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 In-Reply-To: Cancel-Lock: sha1:jNwszr8wJcZS8k0C2wkrX+Zleck= Original-Xref: usenet.stanford.edu gnu.emacs.help:196997 X-Mailman-Approved-At: Wed, 27 Feb 2013 14:09:18 -0500 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:89284 Archived-At: Am 27.02.2013 13:36, schrieb Burkhard Schultheis: > I want to have a single keystroke for the keystroke sequence C-u m-. > (find next alternate definition of last tag specified). as far as I see > there is no command associated with this action. > > How can I define a global key in my .emacs file for this action? > > Thank you in advance! > In the meantime I've tried it several ways, last test was: (defun find-next-tag () "Find next tag with TAGS file" ((kdb ) (kbd ))) (global-set-key [M-f9] 'find-next-tag) If a try Alt-F9 I get an error message reading "Wrong type argument: commandp, find-next-tag" I've tried it with the function names, too, but I got every time the same error message. What's wrong and how to do it right? Regards Burkhard