From: Tim Cross <theophilusx@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Survey: changing a few default settings for Org 9.4
Date: Thu, 20 Feb 2020 02:06:06 +1100 [thread overview]
Message-ID: <878skyiplt.fsf@gmail.com> (raw)
In-Reply-To: <875zg267b7.fsf@bzg.fr>
Hi Bastien - comments in-line below....
Bastien <bzg@gnu.org> writes:
> Hi Tim,
>
> Tim Cross <theophilusx@gmail.com> writes:
>
>> I agree 100%. We have already gone through this pain and as has been
>> pointed out numerous times, the 'new' approach has significant benefits
>> over the old <x expansion. Yes, it takes a bit of effort to untrain the
>> old habits, but once done the new version works fine.
>
> Point taken. But as I said, I think both approaches fit different use
> cases.
>
> So my question is rather: why would it be so bad to enable org-tempo
> expansion by default?
Well I'm not convinced there are two different use cases. The number of
keystrokes required to insert a template is the same for both approaches
and with the non-tempo version, you can even bind it to a different key
with fewer keystrokes if you want. I have also had issues in the past
with the tab based expansion and the other completion setup I had
(though that was probably my mis-configuration!).
I also think having 2 different template expansion solutions will result
in confusion, especially for new users. Out of the box, I think it makes
sense to have a clear one way to do it. This can always be changed by
those who really want to (this is emacs after all).
I also don't think tempo was a good choice. I used it for many years and
while it is quite powerful, writing and debugging new templates is a
pain. It is pat of the reason other templating solutions, like
yasnippet, came into existence. I would not be surprised if we don't see
increased messages and bug reports as people try to fix/debug modified
or homebrew tempo templates. A better solution would probably have been
to provide examples of yasnippet templates as this is a common
templating system, bundled with many popular 'canned' configs like
spacemacs, purcell, prelude etc.
>
> When simply use, it just allows <* expansion.
>
>> I also think Nicolas' point that adding (require 'org-tempo) is a lot
>> more trivial than removing it from the list of loaded modules.
>
> Yes, I somehow agree, but yet: the poll so far seems to show that most
> users want it back (10 on 15, as the moment, two votes against.)
>
> Org is not poll-driven software, but this says something that we might
> want to listen to.
>
The problem with having a poll is I suspect many respondents will be
long-term users who were use to the original approach. I'm not sure how
many new users actually have any issue with the C-c C-, style and the
old users who prefer the old approach have already added (require
'org-tempo) to their setup, so are not really affected by the default
change.
IMO changing defaults is about new uses more than existing users.
However, you cannot poll future users. For me, I voted based on what I
thought would have been best for me when I first started using org
rather than what I want now. (even though I will have to update my
config because of some of these changes if they occur). To some extent,
defaults should be about creating the safest envrionment with the fewest
'surprises' for new users - one reason I voted against the 'looping'
defaults - these seem like a feature which more experienced users may
want, but possibly dangerous or confusing for new users.
>> The other poinit is that while tempo has been around for years, it is
>> not the easiest templating solution to use, especially for those
>> unfamiliar with it who may want to add their own tempo templates. Other
>> templating solutions, like yasnippets, are likely much easier for new
>> users to adopt than tempo.
>
> In its basic usage, <* expansion seems very simple to me.
>
> I'm all for not enable org-tempo by default iff we can allow expansion
> of <* strings at the beginning of the line.
I don't actually get why the old <* is 'simpler'. They both seem as
simple to me and I find I really like the ease of wrapping a region in a
block. I'd be happy to have expansion on <* if I could also have region
wrapping!
--
Tim Cross
next prev parent reply other threads:[~2020-02-19 15:06 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-19 7:39 Survey: changing a few default settings for Org 9.4 Bastien
2020-02-19 8:57 ` Samuel Wales
2020-02-19 9:01 ` Bastien
2020-02-19 20:02 ` Samuel Wales
2020-02-19 20:15 ` Marcin Borkowski
2020-02-19 21:35 ` Bastien
2020-02-19 22:06 ` Samuel Wales
2020-02-19 11:03 ` Marco Wahl
2020-02-19 11:41 ` Bastien
2020-02-19 13:21 ` Marco Wahl
2020-02-19 13:39 ` Bastien
2020-02-19 17:57 ` Marco Wahl
2020-02-19 20:44 ` Bastien
2020-02-20 4:11 ` Adam Porter
2020-02-19 11:30 ` Nicolas Goaziou
2020-02-19 11:57 ` Bastien
2020-02-19 14:07 ` Nicolas Goaziou
2020-02-19 17:24 ` Bastien
2020-02-19 23:23 ` Vladimir Lomov
2020-02-19 23:53 ` Bastien
2020-02-20 0:20 ` Samuel Wales
2020-02-19 12:58 ` Tim Cross
2020-02-19 13:22 ` Bastien
2020-02-19 15:06 ` Tim Cross [this message]
2020-02-19 13:03 ` AW
2020-02-19 15:41 ` Matthew Lundin
2020-02-19 16:16 ` Joost Kremers
2020-02-19 17:13 ` Bastien
2020-02-19 16:50 ` Detlef Steuer
2020-02-19 17:14 ` Bastien
2020-02-20 4:07 ` Adam Porter
2020-02-20 7:10 ` Bastien
2020-02-20 14:10 ` Kaushal Modi
2020-02-21 15:49 ` Bastien
2020-02-21 19:36 ` Diego Zamboni
2020-02-21 21:28 ` Archenoth
2020-02-22 9:38 ` Bastien
2020-02-22 12:45 ` Nicolas Goaziou
2020-02-22 13:31 ` Bastien
2020-02-22 18:57 ` Archenoth
2020-03-18 2:20 ` Mark E. Shoulson
2020-03-18 8:58 ` Norman Tovey-Walsh
2020-03-18 20:47 ` Hiding emphasis markers Mark E. Shoulson
2020-05-22 16:47 ` Bastien
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=878skyiplt.fsf@gmail.com \
--to=theophilusx@gmail.com \
--cc=bzg@gnu.org \
--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).