From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: elisp programming - navigate through code? Date: Sat, 29 Mar 2014 22:00:37 +0100 Message-ID: <87d2h4n2iy.fsf@zigzag.favinet> References: <878urt0x1v.fsf@gmx.at> <874n2gho4t.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1396126631 6364 80.91.229.3 (29 Mar 2014 20:57:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Mar 2014 20:57:11 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 29 21:57:05 2014 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 1WU0JJ-0004j2-8L for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Mar 2014 21:57:01 +0100 Original-Received: from localhost ([::1]:41281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WU0JI-0004uP-Rt for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Mar 2014 16:57:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WU0Iz-0004uF-PX for help-gnu-emacs@gnu.org; Sat, 29 Mar 2014 16:56:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WU0Is-0003AV-8P for help-gnu-emacs@gnu.org; Sat, 29 Mar 2014 16:56:41 -0400 Original-Received: from smtp208.alice.it ([82.57.200.104]:38632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WU0Ir-0003AO-TS for help-gnu-emacs@gnu.org; Sat, 29 Mar 2014 16:56:34 -0400 Original-Received: from zigzag.favinet (79.7.72.15) by smtp208.alice.it (8.6.060.28) id 52443B8224005478; Sat, 29 Mar 2014 21:56:30 +0100 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1WU0Mx-0007kc-BY; Sat, 29 Mar 2014 22:00:47 +0100 In-Reply-To: <874n2gho4t.fsf@web.de> (Michael Heerdegen's message of "Sat, 29 Mar 2014 19:10:26 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.104 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:96848 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Michael Heerdegen () Sat, 29 Mar 2014 19:10:26 +0100 (let ((sym (symbol-at-point))) (funcall (pcase sym ((pred facep) #'find-face) ((pred symbol-function) #'find-function) (_ #'find-variable)) sym)) Any particular reason you use =E2=80=98pcase=E2=80=99 here instead of =E2= =80=98cond=E2=80=99? =2D-=20 Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know it) read my lisp: (responsep (questions 'technical) (not (via 'mailing-list))) =3D> nil --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlM3NHgACgkQZwMiJEyAdQKVmQCgrFVU64K2aW51uupuExh74bQl NSEAnizBbcTMZ2zhR3rE3hCNgsbpIUZv =O3LU -----END PGP SIGNATURE----- --=-=-=--