emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Jean Louis <bugs@gnu.support>
Cc: andre duarte bueno <bueno@lenep.uenf.br>, emacs-orgmode@gnu.org
Subject: Re: Export Org with Org concept -- Re: Problems with C-c C-e file.org,
Date: Sun, 25 Dec 2022 12:06:48 +0000	[thread overview]
Message-ID: <87a63bsn53.fsf@localhost> (raw)
In-Reply-To: <Y6DTXFKUTVKcmQSr@protected.localdomain>

Jean Louis <bugs@gnu.support> writes:

>> > Apparently C-c C-e is capturing all events and not just keyboard
>> > events!
>
> That is not first complaint, right? I would say it is obvious that
> such interface is not user friendly. 

Yes and no. Some users do not like it. Some users prefer the existing
one. Conclusion: even if we implement something better, it should be
backwards compatible.

>> This is because we use `read-char-exclusive'.
>
> Don't use what is blocking Emacs. Apart from Org mode I have never
> seen a package that blocks Emacs that I cannot even inspect keys.

gnus, reftex, ediff.
(I do not mean that we should not improve Org in this regard)

>> Alternative menu designs have been discussed in
>> https://list.orgmode.org/orgmode/AM9PR09MB497743D21FA1C908392413F496D99@AM9PR09MB4977.eurprd09.prod.outlook.com/
>
> I did not find anything on that link.

There is code prototype down in the thread.
https://list.orgmode.org/orgmode/AM9PR09MB49770F57F33859770649C7C896AF9@AM9PR09MB4977.eurprd09.prod.outlook.com/

> Here is the concept of using Org similar buffers to export Org
> buffers:
>
> GNU Emacs package: rcd-org-export.el -- use Org to export Org:
> https://gnu.support/gnu-emacs/packages/GNU-Emacs-package-rcd-org-export-el-use-Org-to-export-Org-76272.html
>
> It is made for you, as concept, as I have already mentioned the
> concept before months. 
>
> In general, this is Org mode, so why not use Org mode to export Org
> mode?
>
> See the video demonstration:
>
> https://gnu.support/files/emacs/packages/rcd-org-export/2022-12-19-23:36:10.ogv

Thanks for the effort, but I'm afraid that it is not something we want in
Org core from maintenance perspective. Would be welcome as a third-party
package though.

Why:

1. Your package is introducing a new formatting for menus and new
   interaction paradigm. This is not backwards-compatible.
   If we add the package like yours into Org core, it will mean
   maintaining yet another piece of menu code in Org. Org is already
   huge and maintaining a separate menu package _in addition_ to all the
   existing staff is not a good idea.

2. We are moving towards removing menu-specific code from Org in general
   in favour of the existing menu frameworks. In particular, we plan to
   change Org menus to use transient. See
   https://orgmode.org/list/8c364693bf6856e60cdd3e8b63ab0c9284d16733.camel@heagren.com

   Note that transient allows menu buffer navigation (C-s)

3. Ideally, we should also adopt the existing menu layouts using
   transient. If not possible, we should consolidate the menu code into
   a separate simple library. Something just enough to replicate the
   existing functionality. With minimal maintenance. The thread I linked
   is one of such efforts.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


  reply	other threads:[~2022-12-25 12:07 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-17 20:57 Problems with C-c C-e file.org andre duarte bueno
2022-12-18 14:55 ` Ihor Radchenko
2022-12-19 21:10   ` Export Org with Org concept -- Re: Problems with C-c C-e file.org, Jean Louis
2022-12-25 12:06     ` Ihor Radchenko [this message]
2022-12-25 15:43       ` Jean Louis
2022-12-26 10:04         ` Ihor Radchenko
2022-12-26 15:58           ` Jean Louis
2022-12-27 10:46             ` Ihor Radchenko
2022-12-31  1:08     ` Eduardo Ochs
2022-12-31  6:19       ` Jean Louis
2023-01-01 14:02       ` Ihor Radchenko
2023-01-02  5:58         ` Eduardo Ochs
2023-01-02 11:07           ` Jean Louis
2023-01-03  9:48           ` Ihor Radchenko
2023-01-03 10:01             ` Eduardo Ochs
2023-01-03 12:15               ` Max Nikulin
2023-01-03 12:36                 ` Eduardo Ochs
2023-01-05 11:07                   ` Ihor Radchenko
2023-01-05 14:41                     ` Alain.Cochard
2023-01-05 15:00                       ` Max Nikulin
2023-01-05 15:18                         ` Alain.Cochard
2023-01-05 20:37                           ` Eduardo Ochs
2023-01-05 18:50                       ` Jean Louis
2023-01-05 15:43                     ` Eduardo Ochs
2023-01-04 11:08                 ` Jean Louis
2023-01-05 11:16                   ` Ihor Radchenko
2023-01-05 19:19                     ` Jean Louis
2023-01-06  3:51                       ` Max Nikulin
2023-01-07  9:04                       ` Ihor Radchenko
2023-01-07 18:34                         ` Jean Louis
2023-01-07 19:12                         ` Jean Louis
2023-01-12 15:43                         ` Max Nikulin
2023-01-13  9:41                           ` Ihor Radchenko
2023-01-04 18:03                 ` Jean Louis
2023-01-05 11:17                   ` Ihor Radchenko
2023-01-05 19:37                     ` Jean Louis
2023-01-06  3:24                       ` Max Nikulin
2023-01-07 20:07                         ` Jean Louis
2023-01-08 16:42                           ` Max Nikulin
2023-01-07  9:09                       ` Ihor Radchenko
2023-01-04 17:51               ` Jean Louis
2023-01-04 16:53           ` Jean Louis
2022-12-20 16:56 ` Problems with C-c C-e file.org Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a63bsn53.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=bueno@lenep.uenf.br \
    --cc=bugs@gnu.support \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).