From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Pascal J. Bourguignon" Newsgroups: gmane.emacs.devel Subject: Re: Why bring new features to Emacs and not Emacs to new applications? Date: Mon, 25 Nov 2013 21:12:12 +0100 Organization: Informatimago Message-ID: <878uwctf4z.fsf@informatimago.com> References: <8761rhv7kc.fsf@informatimago.com> <87pppptlpu.fsf@informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1385410422 23302 80.91.229.3 (25 Nov 2013 20:13:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2013 20:13:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 25 21:13:47 2013 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 1Vl2XQ-0006Vk-NF for ged-emacs-devel@m.gmane.org; Mon, 25 Nov 2013 21:13:44 +0100 Original-Received: from localhost ([::1]:54830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl2XQ-0001K4-7T for ged-emacs-devel@m.gmane.org; Mon, 25 Nov 2013 15:13:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl2XI-0001Il-1X for emacs-devel@gnu.org; Mon, 25 Nov 2013 15:13:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vl2XB-0007bP-F9 for emacs-devel@gnu.org; Mon, 25 Nov 2013 15:13:35 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:60460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl2XB-0007bG-93 for emacs-devel@gnu.org; Mon, 25 Nov 2013 15:13:29 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vl2X8-0006Mj-PR for emacs-devel@gnu.org; Mon, 25 Nov 2013 21:13:26 +0100 Original-Received: from 90.24.199.117 ([90.24.199.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Nov 2013 21:13:26 +0100 Original-Received: from pjb by 90.24.199.117 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Nov 2013 21:13:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 90.24.199.117 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:NTRlOWFiMTBjMzc4ZjkzYjZmMjYxMTdkYTdmZmU4MDQyNDEyMDMxOQ== 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:165723 Archived-At: Lennart Borgman writes: > On Mon, Nov 25, 2013 at 12:37 AM, Pascal J. Bourguignon > wrote: >> >>>> - incompatible control structure. >>>> >>>> While most applications will have like emacs a main event loop, it is >>>> not designed usually to go thru (dynamically modifiable) keymaps to >>>> handle in a uniform way the events, but would rather rely on >>>> frameworks, which may implement their own modal control loops. >>> >>> Isn't this an area where Emacs must change? >> >> On the contrary, this is the essence of what an emacs is. > > I think we are misunderstanding each other. There are all sort of > events that must be handled. Isn't there loops inside the keyboard > handling now? (Or, do I misremember?) Not really. There's function like read-from-minibuffer, but they're called explicitely by the commands that are called when receiving commands asking for minibuffer input, like M-x = execute-extended-command. Also, there's what's called recursive edit, where one command loop calls another embedded command loop, but since it's just a recursive call, it wouldn't really qualify as a modal loop. -- __Pascal Bourguignon__ http://www.informatimago.com/