all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 16438@debbugs.gnu.org
Subject: bug#16438: 24.3.50; `C-x TAB right right' fails with error (mark-inactive)
Date: Fri, 17 Jan 2014 10:08:24 +0200	[thread overview]
Message-ID: <87a9ev58u6.fsf@mail.jurta.org> (raw)
In-Reply-To: <jwviotkqbqp.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Thu, 16 Jan 2014 09:00:41 -0500")

> - But should the region be highlighted *during* C-x TAB?

When the user selects a region, this indicates the intention
to run the next command on the selected region.  So when
a command is going to operate on the region the user should have
the clear indication beforehand to avoid surprises.

Highlighting the region in transient indentation mode is
especially important since this is a new feature,
and without highlighting an unsuspecting user don't know that
a subsequent `right' will operate on the previously selected region.

For the same reason I think the exit condition should not
deactivate the active region because the highlighting
indicates that the next command is operating on the region.

The same problem with exiting the transient indentation mode
happens when the user needs to type the `right' key to move point
without indentation.  Then the user has to exit the sub-mode
explicitly by typing e.g. C-g.  It will also deselect the region.





  reply	other threads:[~2014-01-17  8:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-14  8:14 bug#16438: 24.3.50; `C-x TAB right right' fails with error (mark-inactive) Juri Linkov
2014-01-15  8:23 ` Juri Linkov
2014-01-15 15:31   ` Stefan Monnier
2014-01-16  7:53     ` Juri Linkov
2014-01-16 14:00       ` Stefan Monnier
2014-01-17  8:08         ` Juri Linkov [this message]
2014-01-17 14:45           ` Stefan Monnier

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=87a9ev58u6.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=16438@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.