unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: bruce.connor.am@gmail.com
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: RE: master 97cb255: newcomment.el (comment-line): New command on C-x C-; .
Date: Mon, 9 Feb 2015 22:21:27 -0800 (PST)	[thread overview]
Message-ID: <170f49f4-456a-4381-981b-2c1e2c003b6e@default> (raw)
In-Reply-To: <CAAdUY-LbP3vWS0xWHJ8sRKH05GcRgVmJ1fHy59SXkYH2npcvTQ@mail.gmail.com>

> Yes, I did give it a try and it was a conscious decision, but let me start by saying I didn't put a huge amount of thought into it. 
> There were three factors that made me choose this:
> 1. Reversing direction while going up can also be done by just hitting some harmless key like C-a (for this particular command, C-a is harmless). That takes the same number of keys as C-- and has the same effect. In some cases (when you're moving one line at a time), `undo' will also do what you want with even less keys. 
> 2. A good portion of users won't expect it to behave like that (even if it's written in the doc). This also applies to the current version, but see below. 
> 3. Unlike the current "persistent negative argument effect", this "reverse direction twice" functionality seems like it would come up very rarely, probably less than the number of times it would catch someone by surprise. 
> Combine 3 with the fact that it has perfectly plausible alternatives for those instances when it does come up, and that's I why I decided this way. 
> As I said, I just thought of this very briefly. Items 2 and 3 are really just hunches.

Like I said:

>> It won't be the first time I will have my own local version of
>> something.



      reply	other threads:[~2015-02-10  6:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20150208190338.30436.1351@vcs.savannah.gnu.org>
     [not found] ` <E1YKX8s-0007vW-86@vcs.savannah.gnu.org>
2015-02-08 20:07   ` master 97cb255: newcomment.el (comment-line): New command on C-x C-; Stephen Berman
2015-02-08 20:26     ` Artur Malabarba
2015-02-09  1:13       ` Drew Adams
2015-02-10  0:13         ` Artur Malabarba
2015-02-10  6:21           ` Drew Adams [this message]

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=170f49f4-456a-4381-981b-2c1e2c003b6e@default \
    --to=drew.adams@oracle.com \
    --cc=bruce.connor.am@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).