From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Leaving out non-applicable commands on Mx Date: Sat, 09 Jan 2016 04:49:04 +0100 Message-ID: <87twmnfm4v.fsf@wanadoo.es> References: <87mvszdp6b.fsf@gnus.org> <8737u9kv6f.fsf@russet.org.uk> <87fuy7hdc6.fsf_-_@wanadoo.es> <87bn8vh8q4.fsf@wanadoo.es> <877fjjh51p.fsf@wanadoo.es> <4cc82ad0-5ce9-4aa7-9962-c2b155adb1b9@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1452311386 20662 80.91.229.3 (9 Jan 2016 03:49:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jan 2016 03:49:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 09 04:49:38 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 1aHkX3-0002uv-I2 for ged-emacs-devel@m.gmane.org; Sat, 09 Jan 2016 04:49:37 +0100 Original-Received: from localhost ([::1]:38880 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHkX2-0001Ui-Qx for ged-emacs-devel@m.gmane.org; Fri, 08 Jan 2016 22:49:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHkWr-0001Uc-3s for emacs-devel@gnu.org; Fri, 08 Jan 2016 22:49:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHkWm-0003Ut-4c for emacs-devel@gnu.org; Fri, 08 Jan 2016 22:49:25 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:48657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHkWl-0003SG-UK for emacs-devel@gnu.org; Fri, 08 Jan 2016 22:49:20 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aHkWi-0002eu-Bw for emacs-devel@gnu.org; Sat, 09 Jan 2016 04:49:16 +0100 Original-Received: from 126.red-88-21-15.staticip.rima-tde.net ([88.21.15.126]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Jan 2016 04:49:16 +0100 Original-Received: from ofv by 126.red-88-21-15.staticip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Jan 2016 04:49:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 126.red-88-21-15.staticip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:ujclOwld7CV3K5pVKjaPH3Fw7GE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:197880 Archived-At: Drew Adams writes: [snip] >> Maintaining all this information on an external resource is >> unmanageable, it simply wont work. > > Why not? Do I need to explain the difficulties of maintaining information about the characteristics of a resource outside of where the resource is defined? [snip] >> For reading the annotations (and, possibly, for performance reasons, >> applying the filter) modifications are required on some Emacs >> infrastructure. > > Why? What's wrong with `(get SYMBOL 'applies-to-foo-mode)'? The filtering, on its most simplified implementation, would gather the commands which are declared to be related to any active (major|minor) mode on the current buffer, plus the commands that are not related to any mode. Without a perceptible delay by the user. As an Emacs session can reach tens of thousands of available commands, my guess is that some new infrastructure (possibly at the C level) is required.