From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Leaving out non-applicable commands on Mx Date: Thu, 04 Feb 2016 14:19:59 +1100 Message-ID: <87powdmaao.fsf@gnus.org> References: <87mvszdp6b.fsf@gnus.org> <8737u9kv6f.fsf@russet.org.uk> <87fuy7hdc6.fsf_-_@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454556050 15467 80.91.229.3 (4 Feb 2016 03:20:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 03:20:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 04 04:20:41 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aRATI-0005Jy-IC for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2016 04:20:40 +0100 Original-Received: from localhost ([::1]:39223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRATH-0001vi-NZ for ged-emacs-devel@m.gmane.org; Wed, 03 Feb 2016 22:20:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRATC-0001vN-Up for emacs-devel@gnu.org; Wed, 03 Feb 2016 22:20:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRAT8-0001gN-TT for emacs-devel@gnu.org; Wed, 03 Feb 2016 22:20:34 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:34414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRAT8-0001gJ-MI for emacs-devel@gnu.org; Wed, 03 Feb 2016 22:20:30 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aRASj-0006J2-T5; Thu, 04 Feb 2016 04:20:06 +0100 In-Reply-To: (Stefan Monnier's message of "Sun, 10 Jan 2016 11:05:22 -0500") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aRASj-0006J2-T5 MailScanner-NULL-Check: 1455160806.97591@E/982HzwX1PipXq+2m+Nsw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199276 Archived-At: Stefan Monnier writes: >> For instance, there are often commands that apply to similar modes >> (for instance in the cc-mode family) that aren't necessarily named >> what you might think, I think... > > Of course you can have several calls to (new-magic-declare "foo-" > ) for different prefixes, and of course you don't have to use it > (e.g. if there are more exceptions than cases which follow the rule). Yeah, that's true. I agree that having these global declarations is probably a better idea than sprinkling them in all the commands. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no