all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: cua-mode and the tutorial
Date: Sun, 27 Aug 2006 10:35:31 +0200	[thread overview]
Message-ID: <44F15953.6060405@student.lu.se> (raw)
In-Reply-To: <m3lkpe6163.fsf@kfs-l.imdomain.dk>

Kim F. Storm wrote:
> Richard Stallman <rms@gnu.org> writes:
>
>   
>>     Other than that, the tutorial is quite useful even for users of CUA!
>>     So one approach is to just bind locally bind cua-enable-cua-keys to
>>     nil in the tutorial buffer and make a note like this:
>>
>>       The purpose of the tutorial is to teach you the basic, standard
>>       Emacs key bindings.  Therefore, CUA mode's C-z C-x C-c and C-v
>>       bindinds have been disabled in this tutorial buffer.  [Details]
>>
>> I have no objection to that.  If you think it does a good job of
>> dealing with CUA mode, then let's do it.
>>     
>
> IMO, it is ok.
>
>   
>> But we should make it offer to delete the customization
>> in case the user was not asked about it.
>>     
>
> Too complex for very little benefit IMHO.
>
> We don't know what method was used to enable CUA-mode.  It could be a
> customization, but it could also be an explicit call to CUA-mode in
> emacs.  So that is not trivial to do right in all cases.
>
>   
>> In theory we could do this, but is it adequate for learning to use
>> Emacs with viper?  I doubt it.
>>     
>
> Ok, I agree.  So we seem to agree that the tutorial should not start
> at all if viper is enabled, but just list the differences in 
> key bindings.
>
>   
>>       The purpose of the tutorial is to teach you the basic, standard
>>       Emacs key bindings.  Therefore, some non-standard key bindinds
>>       have been disabled in this tutorial buffer.  [Details]
>>
>> No, in general this is not a useful way to deal with the situation.
>>     
>
> Ok.
>
>   
>> So I reject this approach in general, but I will accept it for CUA mode.
>>     
>
> Ok.
>
> Lennart, comments?
>   
Sorry, I have not had time to comment for some days. I have however 
followed the discussion. Based on this and my own thoughts I suggest the 
following solution for the tutorial:

1) Remove all non-default key bindings in the tutorial. I used that 
approach from the beginning so I have code for that.

2) If there were non-default key bindings then put a note with yellow 
background like in my latest tutorial.el I sent. However make this note 
shorter. As Kim pointed out a long note can make the first steps in the 
tutorial non-working.

3) From this note make a link called "Details" that shows the 
non-standard key bindings in a help buffer in a way similar to those in 
my latest tutorial.el.

4) Since there has also been some concern about telling the user how to 
disable CUA mode and Viper I think it will be good to put some 
information in the help buffer about this if anyone of those has been 
turned on. This could tell about customization as the best approach to 
turn them on/off if the user has not been using that.

What do you think about this solution?

  parent reply	other threads:[~2006-08-27  8:35 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <44C8F069.1070002@student.lu.se>
2006-08-22 13:12 ` cua-mode and the tutorial Kim F. Storm
2006-08-22 13:26   ` Kim F. Storm
2006-08-22 14:30     ` Lennart Borgman
2006-08-22 15:02       ` Kim F. Storm
2006-08-22 15:57         ` Lennart Borgman
2006-08-22 18:17       ` Richard Stallman
2006-08-23  4:06     ` Richard Stallman
2006-08-23  4:37       ` Lennart Borgman
2006-08-24  5:20         ` Richard Stallman
2006-08-23  7:21       ` Kim F. Storm
2006-08-24  5:20         ` Richard Stallman
2006-08-24  7:30           ` Kim F. Storm
2006-08-25 20:25             ` Richard Stallman
2006-08-25 22:12               ` Kim F. Storm
2006-08-26 12:22                 ` Richard Stallman
2006-08-26 12:44                   ` David Kastrup
2006-08-27 14:34                     ` Richard Stallman
2006-08-26 14:19                   ` Stefan Monnier
2006-08-26 15:07                     ` Drew Adams
2006-08-26 21:15                     ` Kim F. Storm
2006-08-27 14:34                       ` Richard Stallman
2006-08-27 15:06                         ` David Kastrup
2006-08-28 22:09                           ` Richard Stallman
2006-08-27 21:30                         ` Kim F. Storm
2006-08-26 21:14                   ` Kim F. Storm
2006-08-28  9:52                     ` Richard Stallman
2006-08-28 10:07                       ` David Kastrup
2006-08-28 11:21                         ` Kim F. Storm
2006-08-29 17:18                           ` Richard Stallman
2006-08-27  8:35             ` Lennart Borgman [this message]
2006-08-28  9:52               ` Richard Stallman
2006-08-28 10:17                 ` Slawomir Nowaczyk
2006-08-29 17:18                   ` Richard Stallman
2006-08-29 17:55                     ` Drew Adams
2006-08-29 18:13                       ` Lennart Borgman
2006-08-28 22:32                 ` Lennart Borgman
2006-08-29 17:18                   ` Richard Stallman
2006-08-31 15:10                     ` Lennart Borgman
2006-09-21 14:24                       ` Kim F. Storm
2006-08-22 14:05   ` Lennart Borgman

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

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

  git send-email \
    --in-reply-to=44F15953.6060405@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.