From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: john@ankarstrom.se (John =?utf-8?Q?Ankarstr=C3=B6m?=) Newsgroups: gmane.emacs.help Subject: Re: Macro for defining a lineup of commands Date: Sat, 01 Jul 2017 18:07:00 +0200 Message-ID: <87a84op2e3.fsf@ankarstrom.se> References: <87efu7jf9o.fsf@vicarie> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1498925240 17958 195.159.176.226 (1 Jul 2017 16:07:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Jul 2017 16:07:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 01 18:07:16 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dRKvR-0004Jh-J2 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Jul 2017 18:07:13 +0200 Original-Received: from localhost ([::1]:55271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRKvW-0005Kg-S5 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Jul 2017 12:07:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRKv4-0005Kb-3c for help-gnu-emacs@gnu.org; Sat, 01 Jul 2017 12:06:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRKv0-0008CF-Ur for help-gnu-emacs@gnu.org; Sat, 01 Jul 2017 12:06:50 -0400 Original-Received: from pusjkin.ankarstrom.se ([172.104.152.215]:34638) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dRKv0-00086y-MJ for help-gnu-emacs@gnu.org; Sat, 01 Jul 2017 12:06:46 -0400 Original-Received: from vm-linux (c83-252-75-131.bredband.comhem.se [83.252.75.131]) by pusjkin.ankarstrom.se (Postfix) with ESMTPSA id 923AD3EF03 for ; Sat, 1 Jul 2017 18:06:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ankarstrom.se; s=default; t=1498925200; bh=ZvoBJkzMuWZJL5jhHlj4ec4QOzrqrSqjfoQo5SfpwNo=; h=From:To:Subject:References:Date:In-Reply-To:From; b=DvBLfphCPgiNLmxq+elZ8flBe5Jt0VCfqqkHrJktMfaFa13FoErd4LWYKa+rzpALi w65seXqu8bH5NJPHK/vS7kOoRCwKxABJQtHk667zP+L2Twi828ZPGlrjA25CWUXuWN fJ1nZubeQ+QnWFtSvtmatO+S3a90/GrOS8nQS2xk= In-Reply-To: <87efu7jf9o.fsf@vicarie> (Narendra Joshi's message of "Mon, 26 Jun 2017 14:29:31 +0530") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 172.104.152.215 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:113629 Archived-At: Narendra Joshi writes: > I want to share a macro that I wrote recently. I really like it. I would > like to have suggestions to improve it and new use cases. :) > If there are better and more general alternatives to this, it would be > great to know. :) It looks very good! Great idea and execution. The only thing you might want to do is to make the docstring optional, like it is for functions. Otherwise really nice! - John