From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Kost Newsgroups: gmane.emacs.help Subject: Re: how to add button to emacs that play a elisp code Date: Mon, 15 Sep 2014 09:48:21 +0400 Message-ID: <87zje14eoq.fsf@gmail.com> References: <04dd6007-693a-4e56-9e2a-e930e51a9563@googlegroups.com> <21521.22678.640570.26495@mail.eng.it> <21521.24551.904371.551048@mail.eng.it> <21521.37886.262510.961741@mail.eng.it> <87vbotx3ht.fsf@debian.uxu> <87ioktn2qp.fsf@kuiper.lan.informatimago.com> <87d2b1vh2w.fsf@debian.uxu> <878ulnmcqb.fsf@kuiper.lan.informatimago.com> <87r3zehy26.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410760130 2179 80.91.229.3 (15 Sep 2014 05:48:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2014 05:48:50 +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 Sep 15 07:48:41 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 1XTP9V-0002bP-5N for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Sep 2014 07:48:41 +0200 Original-Received: from localhost ([::1]:57353 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTP9U-0004y1-ME for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Sep 2014 01:48:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTP9E-0004xl-Tl for help-gnu-emacs@gnu.org; Mon, 15 Sep 2014 01:48:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTP99-0001wE-GG for help-gnu-emacs@gnu.org; Mon, 15 Sep 2014 01:48:24 -0400 Original-Received: from mail-lb0-x233.google.com ([2a00:1450:4010:c04::233]:38607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTP99-0001w5-7m for help-gnu-emacs@gnu.org; Mon, 15 Sep 2014 01:48:19 -0400 Original-Received: by mail-lb0-f179.google.com with SMTP id p9so3677503lbv.24 for ; Sun, 14 Sep 2014 22:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=av6VOQz/piTu9E9FMxeCaWvFir/iW16LRt5LaqX6yDk=; b=Pye/lX+IP7to7f3HmE23NqyPNzDuYVBU5VGDKf1EbiWoTfvX8YxpewI0ajuEm7scCf gUuGP9ZLf/WnX6F/7OOQnxsXkMO7NcFHVXNNyMyB/UAWEI4tk48a0Xx1G2uqjqbcpigE e524tycBw8OBHY7CuNs42TybV3FP3oM5/bgi2JWwbuVgQgDEH/wa1riMo6WeGDlej9k5 /pqV60mJIjQTMm7jT6RQBvoznWxIlVZSY3hhGp9BHxbAZzi3jP4vp9vHGDC4X7OTUW4N Gk/rLpGqd6JJaOXfHeRvmiuCoPW5fS1/Tie0a4QgyiKrIsK76uvl5hZ/MXwfSMtfVB8u uXOQ== X-Received: by 10.112.78.38 with SMTP id y6mr434318lbw.94.1410760098069; Sun, 14 Sep 2014 22:48:18 -0700 (PDT) Original-Received: from leviafan (128-70-192-205.broadband.corbina.ru. [128.70.192.205]) by mx.google.com with ESMTPSA id k3sm3650185lam.41.2014.09.14.22.48.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Sep 2014 22:48:17 -0700 (PDT) In-Reply-To: <87r3zehy26.fsf@debian.uxu> (Emanuel Berg's message of "Sun, 14 Sep 2014 20:11:29 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::233 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:99897 Archived-At: Emanuel Berg (2014-09-14 22:11 +0400) wrote: > "Pascal J. Bourguignon" writes: > >> No. That's the point. I'm using clhs definition of >> same(2), since elisp info doesn't provide a glossary. > > (Hint. This message will be more pleasant to read in > Emacs-Lisp mode because of the > `font-lock-constant-face' and > `font-lock-comment-face'.) [...] A comment to your hint. As you are using Gnus, you may just attach your elisp file (or buffer) to make it be highlighted inline: "C-c RET f" (or "C-c RET b") and choose "application/emacs-lisp" type. Another way is including org source blocks.