From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: What does 'run' do in cperl-mode? Date: Sun, 27 Jul 2008 13:56:08 +0200 Message-ID: <87hcabv8vb.fsf@tux.homenetwork> References: <0ded5ecd-f5f6-4a8e-9d19-f61bf0401022@v39g2000pro.googlegroups.com> <488C5DA6.5050708@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=shift_jis Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1217159956 24620 80.91.229.12 (27 Jul 2008 11:59:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Jul 2008 11:59:16 +0000 (UTC) Cc: formido , help-gnu-emacs@gnu.org To: "Lennart Borgman \(gmail\)" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 27 14:00:05 2008 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.50) id 1KN4uu-000150-Fn for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Jul 2008 14:00:00 +0200 Original-Received: from localhost ([127.0.0.1]:35359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KN4u0-0005EU-Df for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Jul 2008 07:59:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KN4th-0005EP-1t for help-gnu-emacs@gnu.org; Sun, 27 Jul 2008 07:58:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KN4te-0005C9-LO for help-gnu-emacs@gnu.org; Sun, 27 Jul 2008 07:58:43 -0400 Original-Received: from [199.232.76.173] (port=51947 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KN4te-0005C1-F3 for help-gnu-emacs@gnu.org; Sun, 27 Jul 2008 07:58:42 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.172]:34880) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KN4td-00071d-QN for help-gnu-emacs@gnu.org; Sun, 27 Jul 2008 07:58:42 -0400 Original-Received: by ug-out-1314.google.com with SMTP id l31so108781ugc.48 for ; Sun, 27 Jul 2008 04:58:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=QBCrL4GcNW51lYgOcaDahzbfZmHb2+kpW/vgl+HJsww=; b=e565SntBpc7QIwyTmC1meeldPdsFvLvhWu0BX/RMvvrW3hakZWs9143S5UOsF7ORhp Is0/7Swjs68v/Js2tDq2430iMNGAO4OSBGmxjvt9reA83Uv/xvDNXa7Jdd/sPruEIQ5v C4lJfyoudIOVjdX0bknSZjvy6kctY5Hu2q9Q0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; b=n84JBihBDHBqdhEAS0JZax7vsTS5/AFsfukQa8QBWm/wMTU7fh7OYiLLO4Hy01c8aV UuVyjceZWlwmzs2lgu7ekPbUMIA5zfRU2+cBVRCqEJVkkGJTXwyPYLE/kS/NHiOpGHMW nv+EMth9hkgfm0W3wlFJwRrSP5W/Vdmi/G6nA= Original-Received: by 10.66.232.9 with SMTP id e9mr1357563ugh.17.1217159920026; Sun, 27 Jul 2008 04:58:40 -0700 (PDT) Original-Received: from tux.homenetwork ( [77.197.77.194]) by mx.google.com with ESMTPS id r38sm1239931ugc.49.2008.07.27.04.58.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 27 Jul 2008 04:58:39 -0700 (PDT) In-Reply-To: <488C5DA6.5050708@gmail.com> (Lennart Borgman's message of "Sun, 27 Jul 2008 13:36:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:55976 Archived-At: "Lennart Borgman (gmail)" writes: > formido wrote: >>>> More generally, when confronted by a menu command, how can I easily go >>>> to its definition? >>> Type Alt+x describe-key, then pull the menu. Then, you'll get the >>> command name run by that menu. Then, type Alt+x describe-function. >>> It'll pop up the online doc of the function with link to the source >>> code where the function is defined. >>> >>> Xah >>> =87=94http://xahlee.org/ > > > You can also > > C-h k > > and then pull the menu. (Or `F1 k' which is equivalent.) This will > directly show then function documentation. > > And to see the function itself you can do M-x find-function-on-key RET your_key RET ,----[ C-h f find-function-on-key RET ] | find-function-on-key is an interactive compiled Lisp function in | `find-func.el'. |=20 | It is bound to C-h K, K, K. |=20 | (find-function-on-key key) |=20 | Find the function that key invokes. key is a string. | Set mark before moving, if the buffer already existed. |=20 | [back] `---- And bind it to for exemple: ,---- | (global-set-key (kbd "\C-hK") 'find-function-on-key) `---- --=20 A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France