unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Suggested experimental test
@ 2021-03-20  9:03 Gregory Heytings
  2021-03-20 11:14 ` Jean Louis
                   ` (2 more replies)
  0 siblings, 3 replies; 155+ messages in thread
From: Gregory Heytings @ 2021-03-20  9:03 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]


>
> This concludes our first experimental test on the devel branch.  The 
> amount of feedback wasn't overwhelming, but we did get some -- and I 
> guess the `M-o' command wasn't very popular, so I'm not really that 
> surprised.
>
> So I think it was a moderately successful experiment, and we should use 
> this way of trying out user interface changes more.
>

May I suggest the attached, slightly more controversial, experimental 
test?

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-diff; name=0001-lisp-loadup.el-Change-the-C-o-open-line-binding-expe.patch, Size: 2185 bytes --]

From 8282fa547f79230a112da9e4e49c4149d4c31f7f Mon Sep 17 00:00:00 2001
From: Gregory Heytings <gregory@heytings.org>
Date: Fri, 19 Mar 2021 18:51:49 +0000
Subject: [PATCH] * lisp/loadup.el: Change the 'C-o' ('open-line') binding
 experimentally

---
 lisp/loadup.el | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/lisp/loadup.el b/lisp/loadup.el
index 4a0b8f508c..02808365f0 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -477,6 +477,40 @@
 
 \f
 
+(define-key global-map "\C-o" #'free-ctl-o)
+
+(defun free-ctl-o ()
+  (interactive)
+  (setq prefix-arg current-prefix-arg)
+  (message "Repeat C-o to insert newlines after point, or type C-h or ? for help")
+  (let ((map (make-sparse-keymap)))
+    (define-key map (kbd "C-o") #'open-line)
+    (define-key map (kbd "C-h") #'free-ctl-o-explain)
+    (define-key map (kbd "?") #'free-ctl-o-explain)
+    (set-transient-map map t)))
+
+(defun free-ctl-o-explain ()
+  (interactive)
+  (switch-to-buffer "*Change to C-o*")
+  (let ((inhibit-read-only t))
+    (erase-buffer)
+    (insert "[Type `q' to exit this buffer.]\n\n"
+            "We've disabled the normal `C-o' binding for a month (until April\n"
+            "23th, 2021) in the development version of GNU Emacs, while keeping\n"
+            "the `open-line' command that was bound to `C-o' on repeated `C-o'.\n\n"
+            "If this change doesn't annoy too many people, the plan is to leave\n"
+            "the `C-o' key unbound, except when it is repeated, for usage by\n"
+            "third-party packages.\n\n"
+            "If you wish to restore the `C-o' binding, you can put the following\n"
+            "in your .emacs or .emacs.d/init.el file:\n\n"
+            "(global-set-key (kbd \"C-o\") #'open-line)\n\n"
+            "If you wish to protest this change, please send you thoughts to the\n"
+            "emacs-devel@gnu.org mailing list.\n"))
+  (goto-char (point-min))
+  (special-mode))
+
+\f
+
 (if dump-mode
     (let ((output (cond ((equal dump-mode "pdump") "emacs.pdmp")
                         ((equal dump-mode "dump") "emacs")
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 155+ messages in thread
* Re: Suggested experimental test
@ 2021-03-23 21:51 Paul W. Rankin via Emacs development discussions.
  2021-03-24  8:34 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 155+ messages in thread
From: Paul W. Rankin via Emacs development discussions. @ 2021-03-23 21:51 UTC (permalink / raw)
  To: gregory, emacs-devel

> May I suggest the attached, slightly more controversial, experimental test?

Along this same vein, I suggest that we unbind the `e' key from self-insert-command and instead make it insert the string "Emacs " 17 times, e.g.

Before:
the quick brown fox jumped over the lazy dog

After:
thEmacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs quick brown fox jumpEmacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs d ovEmacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs r thEmacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs Emacs lazy dog

This would be a boon for promoting Emacs, and anyone wanting the legacy behaviour can just rebind `e' in their init.

Lets apply this to the master for the lols as an experiment for... one month!

Or maybe we could just not break fundamental editing operations?


^ permalink raw reply	[flat|nested] 155+ messages in thread

end of thread, other threads:[~2021-03-28 13:59 UTC | newest]

Thread overview: 155+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-20  9:03 Suggested experimental test Gregory Heytings
2021-03-20 11:14 ` Jean Louis
2021-03-20 11:27   ` Eli Zaretskii
2021-03-20 11:34   ` Gregory Heytings
2021-03-20 12:37 ` Proposal to remove C-o binding [was: Suggested experimental test] Alan Mackenzie
2021-03-21  6:53 ` Suggested experimental test Lars Ingebrigtsen
2021-03-21  8:35   ` Alfred M. Szmidt
2021-03-21 13:20     ` Gregory Heytings
2021-03-21 18:16       ` Alfred M. Szmidt
2021-03-21 22:16         ` Gregory Heytings
2021-03-21 22:54           ` Alfred M. Szmidt
2021-03-21 23:05             ` Gregory Heytings
2021-03-21 23:13               ` Alfred M. Szmidt
2021-03-21 23:46                 ` Gregory Heytings
2021-03-22  0:40                   ` Alfred M. Szmidt
2021-03-22 10:05                     ` Gregory Heytings
2021-03-22 18:14                       ` Alfred M. Szmidt
2021-03-22 19:06                         ` Gregory Heytings
2021-03-22 19:56                           ` [External] : " Drew Adams
2021-03-22 21:03                             ` Alfred M. Szmidt
2021-03-22 21:26                               ` Drew Adams
2021-03-23  8:06                                 ` Alfred M. Szmidt
2021-03-22 21:08                           ` Alfred M. Szmidt
2021-03-22 11:21                   ` Jean Louis
2021-03-22 11:07               ` Jean Louis
2021-03-22  3:33           ` Eli Zaretskii
2021-03-22 10:05             ` Gregory Heytings
2021-03-22 11:37               ` Philip Kaludercic
2021-03-22 12:20                 ` Gregory Heytings
2021-03-22 17:38               ` Eli Zaretskii
2021-03-22 17:48                 ` Gregory Heytings
2021-03-22 18:11                   ` Eli Zaretskii
2021-03-22 18:15                   ` Alfred M. Szmidt
2021-03-22 18:14               ` Alfred M. Szmidt
2021-03-22  8:59           ` Rudolf Schlatte
2021-03-22 10:05             ` Gregory Heytings
2021-03-22 10:49           ` Jean Louis
2021-03-21 10:48   ` Gregory Heytings
2021-03-21 10:58     ` Sv: " arthur miller
2021-03-21 13:20       ` Gregory Heytings
2021-03-21 18:16       ` Sv: " Alfred M. Szmidt
2021-03-22  5:11         ` Richard Stallman
2021-03-22 10:24       ` Sv: " Jean Louis
2021-03-22 10:14     ` Jean Louis
2021-03-22 12:06     ` Lars Ingebrigtsen
2021-03-22 12:23       ` Gregory Heytings
2021-03-22 16:15         ` Jean Louis
2021-03-22 16:14       ` Jean Louis
2021-03-22 17:08         ` Gregory Heytings
2021-03-22 17:46           ` Alan Mackenzie
2021-03-22 17:59             ` Gregory Heytings
2021-03-22 18:23             ` Alfred M. Szmidt
2021-03-23  6:09             ` Richard Stallman
2021-03-22 18:03           ` Jean Louis
2021-03-22 17:20       ` Robin Tarsiger
2021-03-22 17:40       ` Eli Zaretskii
2021-03-22 17:55         ` Gregory Heytings
2021-03-22 18:13           ` Eli Zaretskii
2021-03-22 20:22             ` Gregory Heytings
2021-03-23  8:06               ` Eli Zaretskii
2021-03-23 14:15                 ` Gregory Heytings
2021-03-23 14:37                   ` Eli Zaretskii
2021-03-23 16:51                     ` Gregory Heytings
2021-03-23 17:13                       ` Eli Zaretskii
2021-03-23 18:08                       ` Alfred M. Szmidt
2021-03-23 21:06                         ` Gregory Heytings
2021-03-23 21:43                           ` Alfred M. Szmidt
2021-03-23 21:57                             ` Gregory Heytings
2021-03-23 22:08                               ` Alfred M. Szmidt
2021-03-23 22:14                                 ` Gregory Heytings
2021-03-23 22:42                                   ` Alfred M. Szmidt
2021-03-23 23:05                                     ` Gregory Heytings
2021-03-24  5:15                                 ` Richard Stallman
2021-03-24  5:16                           ` Richard Stallman
2021-03-24  6:39                           ` Jean Louis
2021-03-24  6:32                       ` Jean Louis
2021-03-24  6:10                   ` Jean Louis
2021-03-22 18:17         ` Lars Ingebrigtsen
2021-03-22 18:50           ` Eli Zaretskii
2021-03-22 19:09             ` Lars Ingebrigtsen
2021-03-22 19:55               ` Lars Ingebrigtsen
2021-03-22 22:02                 ` Stefan Kangas
2021-03-22 22:33                   ` [External] : " Drew Adams
2021-03-22 23:28                     ` Stefan Kangas
2021-03-22 22:44                   ` Dmitry Gutov
2021-03-22 23:22                     ` Stefan Kangas
2021-03-23  5:22                     ` Jean Louis
2021-03-23  7:43                       ` Eli Zaretskii
2021-03-23 12:28                         ` Philip Kaludercic
2021-03-23 12:41                           ` Eli Zaretskii
2021-03-23 13:09                             ` Dmitry Gutov
2021-03-23 13:27                               ` Philip Kaludercic
2021-03-23 14:00                                 ` Dmitry Gutov
2021-03-23 13:54                               ` Eli Zaretskii
2021-03-23 17:04                                 ` Dmitry Gutov
2021-03-23 21:06                                 ` chad
2021-03-24  5:07                             ` Jean Louis
2021-03-25  5:09                               ` Richard Stallman
2021-03-23  6:12                     ` Yuri Khan
2021-03-24 23:41                       ` Dmitry Gutov
2021-03-25  6:12                         ` Yuri Khan
2021-03-25 13:20                           ` Dmitry Gutov
2021-03-25 14:30                             ` Basil L. Contovounesios
2021-03-25 17:09                               ` Dmitry Gutov
2021-03-25 18:59                               ` Yuri Khan
2021-03-25 19:30                             ` Yuri Khan
2021-03-25 21:11                               ` Stefan Monnier
2021-03-25 23:54                                 ` Dmitry Gutov
2021-03-26 10:34                                   ` Stefan Kangas
2021-03-26 23:13                                     ` Dmitry Gutov
2021-03-26 23:34                               ` Dmitry Gutov
2021-03-27  0:02                                 ` Stefan Monnier
2021-03-28 13:59                                   ` Dmitry Gutov
2021-03-22 20:22               ` Gregory Heytings
2021-03-22 20:36                 ` Lars Ingebrigtsen
2021-03-22 21:03                   ` Alfred M. Szmidt
2021-03-22 20:56         ` Thierry Volpiatto
2021-03-22 18:11       ` [EXTERNAL] " Stephan Mueller
2021-03-22 18:34         ` Lars Ingebrigtsen
2021-03-22 18:56           ` Eli Zaretskii
2021-03-22 19:13             ` Lars Ingebrigtsen
2021-03-22 19:19               ` Eli Zaretskii
2021-03-22 19:25                 ` Lars Ingebrigtsen
2021-03-22 19:49                   ` Stefan Monnier
2021-03-22 19:52                     ` Lars Ingebrigtsen
2021-03-22 20:54                       ` Stefan Monnier
2021-03-22 21:04                         ` Lars Ingebrigtsen
2021-03-23  7:18                           ` Eli Zaretskii
2021-03-22 19:21               ` chad
2021-03-22 19:26                 ` Eli Zaretskii
2021-03-22 19:51                   ` Stefan Monnier
2021-03-22 20:04                     ` Eli Zaretskii
2021-03-22 20:11                       ` Lars Ingebrigtsen
2021-03-22 20:16                         ` Lars Ingebrigtsen
2021-03-23  7:04                           ` Eli Zaretskii
2021-03-22 20:49                       ` Stefan Monnier
2021-03-22 21:02                         ` [External] : " Drew Adams
2021-03-23  7:09                         ` Eli Zaretskii
2021-03-22 19:28                 ` Lars Ingebrigtsen
2021-03-22 19:56                   ` [External] : " Drew Adams
2021-03-22 20:56                     ` Stefan Monnier
2021-03-22 21:19                       ` Drew Adams
2021-03-22 20:22             ` Gregory Heytings
2021-03-23  8:09               ` Eli Zaretskii
2021-03-23 14:15                 ` Gregory Heytings
2021-03-23 14:31                   ` Eli Zaretskii
2021-03-23 17:21                   ` Bob Rogers
2021-03-24  5:42                   ` Jean Louis
2021-03-23 20:55                 ` chad
2021-03-25 17:04           ` [EXTERNAL] " Stephan Mueller
2021-03-22 19:37         ` Stefan Monnier
2021-03-22 19:42         ` Dmitry Gutov
2021-03-22 20:33       ` Jose A. Ortega Ruiz
2021-03-22 18:42     ` Sean Whitton
  -- strict thread matches above, loose matches on Subject: below --
2021-03-23 21:51 Paul W. Rankin via Emacs development discussions.
2021-03-24  8:34 ` Lars Ingebrigtsen
2021-03-24  8:51   ` tomas
2021-03-24 10:37     ` Eli Zaretskii
2021-03-24 11:13       ` tomas
2021-03-24 11:51         ` Jean Louis
2021-03-24 15:22           ` [External] : " Drew Adams

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).