unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Bingo <right.ho@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: delete-selection-mode as default (WAS: Some	developement	questions)
Date: Sat, 08 Sep 2018 14:03:46 +0530	[thread overview]
Message-ID: <41DF4279-89F4-413A-B3BC-63E9E9E98772@gmail.com> (raw)
In-Reply-To: <834lf0tptp.fsf@gnu.org>

Le 8 septembre 2018 12:53:46 GMT+05:30, Eli Zaretskii <eliz@gnu.org> a écrit :
>> Date: Sat, 08 Sep 2018 09:19:21 +0530
>> From: Bingo <right.ho@gmail.com>
>> 
>> Can we consider changing defaults only for users who don't have any
>init file at all ?
>> 
>> This change may not solve many problems, due to two other features of
>emacs : 
>
>What problems will such a change solve?
>
>Personally, I think that changing the behavior just because there's an
>init file, even though that init file doesn't explicitly mention the
>affected features, would be confusing.
>
>More importantly, I think the argument about the defaults, at least
>for veteran Emacs users matters mainly when there is no init file
>anyway.

I mean :

1. When Emacs first starts, see if there is an init file. Various modern software do so, so we would be on solid ground there.

2. If so, trust the user that he would have set delete-selection-mode as required. This would avoid stepping on the toes of power users : which form the majority of Emacs users.

3. If not, create an init file with these "modern" options. This can attract the new users we want. Modern software create a lot of files and registry entries for cache and config, no one would blame Emacs.

>
>> 1. Emacs undo is frustrating for most new users. Correcting mistakes
>with delete-selection-mode i.e. restore
>> a selection that was deleted due to a mistaken delete by
>typing/pasting , will need them to use undo. 
>> 
>> 2. In their attempt to play with undo/redo, they might do C-y. Which
>pastes in Emacs : but it is the key for redo
>> in many "modern" editors. This can cause more unintended deletions in
>delete-selection-mode.
>
>So I guess you are saying delete-selection-mode should not be turned
>on by default?  If so, why do we need the change you propose?

Personally, I would rather delete-selection-mode not be on by default. But I know nothing about what is good for new users. If it must be turned on, maybe people with init files can be spared ?


Thanks a lot

Hi Eli, clarified inline :



  reply	other threads:[~2018-09-08  8:33 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-08  3:49 delete-selection-mode as default (WAS: Some developement questions) Bingo
2018-09-08  7:23 ` Eli Zaretskii
2018-09-08  8:33   ` Bingo [this message]
2018-09-08  9:26     ` Eli Zaretskii
2018-09-09 13:13       ` Alan Mackenzie
2018-09-09 14:53         ` Drew Adams
2018-09-09 15:12         ` Eli Zaretskii
2018-09-09 17:59         ` Ergus
2018-09-09 19:12           ` Alan Mackenzie
2018-09-09 22:33             ` Ergus
2018-09-09 23:34               ` Drew Adams
2018-09-11  4:22 ` Richard Stallman
2018-10-14 16:07   ` Emacs undo behavior frustrating for new users. (WAS: delete-selection-mode as default) Karl Fogel
2018-10-14 18:42     ` Emacs undo behavior frustrating for new users Stefan Monnier
2018-10-15  4:59       ` Karl Fogel
2018-10-15  6:11         ` Noel Taylor
2018-10-15  5:43     ` Emacs undo behavior frustrating for new users. (WAS: delete-selection-mode as default) Richard Stallman
2018-10-15  7:28       ` Van L
2018-10-16  6:44         ` Richard Stallman
2018-10-17 10:09           ` Nathan Moreau
2018-10-17 10:38             ` Emacs undo behavior frustrating for new users Andreas Schwab
2018-10-18  7:23               ` Richard Stallman
2018-10-17 12:00             ` Garreau, Alexandre
2018-10-17 14:05               ` Nathan Moreau
2018-10-17 14:20                 ` Garreau, Alexandre
2018-10-17 14:33               ` Yuri Khan
2018-10-17 16:06                 ` Eli Zaretskii
2018-10-18  7:23                 ` Richard Stallman
2018-10-15  8:26       ` Emacs undo behavior frustrating for new users. (WAS: delete-selection-mode as default) Yuri Khan
2018-10-16  6:44         ` Richard Stallman
2018-10-16  7:22           ` Yuri Khan
2018-10-17  7:05             ` Richard Stallman
2018-10-20  8:15           ` Marcin Borkowski
2018-10-20 18:33             ` Elias Mårtenson
2018-10-15  7:54     ` Joost Kremers
2018-10-15  9:27       ` Joost Kremers
2018-10-15 12:01       ` Emacs undo behavior frustrating for new users Óscar Fuentes
2018-10-15 13:28         ` Joost Kremers
2018-10-16 12:27           ` Stefan Monnier
2018-10-17  7:05             ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2018-09-08  3:46 delete-selection-mode as default (WAS: Some developement questions) Bingo
2018-09-07  0:32 Noam Postavsky
2018-09-07  0:35 ` Drew Adams
2018-09-07  6:47 ` Eli Zaretskii
2018-09-07  9:40   ` Phil Sainty
2018-09-07 13:41     ` Eli Zaretskii
2018-09-08 11:37       ` Phil Sainty
2018-09-08 14:04         ` Eli Zaretskii
2018-09-07 15:35     ` Drew Adams
2018-09-07 16:16       ` Yuri Khan
2018-09-07 19:01   ` tomas
2018-09-07 19:23     ` Drew Adams
2018-09-07 20:28       ` tomas
2018-09-07 20:33     ` Noam Postavsky
2018-09-07 21:31       ` tomas
2018-09-09 13:45   ` Alan Mackenzie
2018-09-09 14:22     ` Clément Pit-Claudel
2018-09-09 15:12     ` Drew Adams
2018-09-09 20:39   ` Joost Kremers
2018-09-09 22:24     ` Drew Adams
2018-09-10  3:08       ` Phil Sainty
2018-09-10  3:17         ` Drew Adams
2018-09-10  5:15       ` Bingo
2018-09-10 18:16       ` Alan Mackenzie
2018-09-10 18:35         ` Clément Pit-Claudel
2018-09-10 19:19           ` Alan Mackenzie
2018-09-10 20:36         ` Drew Adams
2018-09-10  7:05     ` Eli Zaretskii
2018-09-11  4:22       ` Richard Stallman
2018-09-11  7:48         ` Eli Zaretskii
2018-09-12  0:33           ` Richard Stallman
2018-09-11  8:08         ` Eli Zaretskii
2018-09-12  0:33           ` Richard Stallman
2018-09-12 14:07             ` Eli Zaretskii
2018-09-08  5:13 ` Richard Stallman
2018-09-08 14:54   ` Drew Adams
2018-09-09  1:23     ` Ergus
2018-09-08 17:25   ` Clément Pit-Claudel

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=41DF4279-89F4-413A-B3BC-63E9E9E98772@gmail.com \
    --to=right.ho@gmail.com \
    --cc=emacs-devel@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.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).