From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Nicolas Goaziou Newsgroups: gmane.emacs.devel Subject: Re: Convert some files from outline-mode to org-mode Date: Wed, 29 Apr 2020 12:53:35 +0200 Message-ID: <87k11yftqo.fsf@nicolasgoaziou.fr> References: <20200426172206.GC18629@ACM> <87y2qhnc9a.fsf@gmail.com> <20200427102311.GA4976@ACM> <87mu6xtano.fsf@gmail.com> <87k120ohsq.fsf@mail.linkov.net> <87blnbir01.fsf@nicolasgoaziou.fr> <87o8rbmbfa.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="68094"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: Alan Mackenzie , Emacs developers , Stefan Kangas , =?utf-8?Q?K=C3=A9vin?= Le Gouguec To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 29 12:54:28 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jTkME-000HbQ-Q1 for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 12:54:26 +0200 Original-Received: from localhost ([::1]:52364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTkMD-00084j-Qs for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 06:54:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43632) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTkLX-0007FW-Fy for emacs-devel@gnu.org; Wed, 29 Apr 2020 06:53:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTkLW-0008Q9-EF for emacs-devel@gnu.org; Wed, 29 Apr 2020 06:53:43 -0400 Original-Received: from relay12.mail.gandi.net ([217.70.178.232]:53717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jTkLV-0008H0-Ln for emacs-devel@gnu.org; Wed, 29 Apr 2020 06:53:42 -0400 Original-Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 527BD200010; Wed, 29 Apr 2020 10:53:36 +0000 (UTC) In-Reply-To: <87o8rbmbfa.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 29 Apr 2020 02:35:05 +0300") Received-SPF: pass client-ip=217.70.178.232; envelope-from=mail@nicolasgoaziou.fr; helo=relay12.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/29 06:53:37 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Received-From: 217.70.178.232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:248114 Archived-At: Hello, Juri Linkov writes: > Nice to hear. Maybe it would be possible to group all specific > keybindings (that override the default Emacs commands) into a mode > enabled by default, but that could be easily disabled, resetting them > to their original definitions. In recent Org releases, all keybindings are located in the same "org-keys.el" file. So it sounds easy enough to create minor mode that basically undoes what Org does. However, from the Org perspective, this would be rather pointless, if not self-defeating. The very purpose of this major mode is to provide tooling (including bindings) to operate on Org files, i.e., text files written in Org syntax. I think removing most of these tools would create a terrible editing experience for no benefit. For example, having RET inserting a plain newline would be a disaster in many locations (e.g., on a headline, in a table). While I invite you to implement and test the minor mode you are suggesting, I think ignoring what Org needs is a dead-end. It would be more beneficial to start from those needs, and think about what can be done to reconcile them with usual Emacs' ways. For example, Org expects a specific, context-aware, "newline and indent" function. But it could include support for Electric Indent mode. Would Someone=E2=84=A2 want to he= lp in that area? WDYT? Regards, --=20 Nicolas Goaziou