unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11364: 24.1.50; mouse selection followed by cursor movment to extend selection
@ 2012-04-27 15:07 Drew Adams
  2022-02-09  9:20 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2012-04-27 15:07 UTC (permalink / raw)
  To: 11364

In Emacs versions prior to Emacs 23 an important feature was the
ability to extend or reduce the active region by moving the cursor.
E.g C-SPC followed by C-f.
 
And it did not matter how the region was activated (how the mark was
set).  You could, for example, double-click a word or a line or a
sexp using mouse-1, then use C-f or M-f to extend the region etc.
 
This is alas no longer the case, at least by default.  The manual
should explain, somewhere, how to obtain this desirable and
longstanding behavior again.  It is one of the features that
made Emacs superior to other text editors.
 
`(emacs) Setting Mark' says you can set the mark with the mouse.
And it mentions that you can use Shift with cursor commands.
But it does not explain how to extend/reduce the region _without_
resorting to Shift.  Lot of good it does to set the mark with
the mouse if its being set does not really mean that it is set (!)
and that the selection stays active.
 
Similarly, `(emacs) Shift Selection' says nothing about how to obtain
this same region-extending behavior without shifting.  It says that
you can turn off shift selection by setting `shift-selection-mode' to
nil, but that does not restore the behavior of unshifted selection
extension.
 
[BTW, `shift-select-mode' is a terrible name for this user option.
There is no such "mode".  It is a boolean option and its name should
reflect that, saying what the on (preferably, or even the off) value
actually *does*.  But `-mode' should not at all be part of the name.]
 
Where is this documented?  How can a user get region extension without
resorting to the shift key, as before?
 
To try to restore the former, sane, behavior, I've set these (on
Windows, where there is no `x-enable-primary'):
 
 `select-active-regions'  to nil
 `x-enable-clipboard'     to t
 `mouse-drag-copy-region' to t
 
(I also use `delete-selection-mode').  But none of that fixes this
breakage.  How to get back to ordinary region extension by moving
point, without having to shift?
 
At least it still works out of the box to set the mark using C-SPC and
then extend the region using cursor movement.  I do not even see this
behavior documented, however, though perhaps it is somewhere.
 
But how to get mark-setting by the mouse to likewise act normally
(i.e., as it used to), so that UNshifted cursor motion extends the
region?  How to get mouse selection to act like any other way of
selecting the region?

It is truly a _shame_ that Emacs has stooped to replicating the
limited selection behavior of lesser text editors.  Will we in
future lose even more selection functionality and be reduced to
dragging the mouse as the only way to select text?  Shameful.

In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600)
 of 2012-04-23 on MARVIN
Bzr revision: 108006
agustin.martin@hispalinux.es-20120423103325-xmra3329elgzhmpc
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include
 -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
 -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'
 






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

* bug#11364: 24.1.50; mouse selection followed by cursor movment to extend selection
  2012-04-27 15:07 bug#11364: 24.1.50; mouse selection followed by cursor movment to extend selection Drew Adams
@ 2022-02-09  9:20 ` Lars Ingebrigtsen
  2022-02-09 17:22   ` bug#11364: [External] : " Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-02-09  9:20 UTC (permalink / raw)
  To: Drew Adams; +Cc: 11364

"Drew Adams" <drew.adams@oracle.com> writes:

> In Emacs versions prior to Emacs 23 an important feature was the
> ability to extend or reduce the active region by moving the cursor.
> E.g C-SPC followed by C-f.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

These commands now work by hitting holding down the Shift key while
moving point -- then the region is extended or reduced.

So I don't think there's anything to do here, and I'm closing this bug
report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#11364: [External] : Re: bug#11364: 24.1.50; mouse selection followed by cursor movment to extend selection
  2022-02-09  9:20 ` Lars Ingebrigtsen
@ 2022-02-09 17:22   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2022-02-09 17:22 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 11364@debbugs.gnu.org

> These commands 

What commands?  The keys don't work as they did before
the regression.  That's the bug.

> now work by hitting holding down the Shift key while
> moving point -- then the region is extended or reduced.

The regression has NOTHING to do with
`shift-selection-mode'.  That's a completely separate
feature.  This is not about having to use a modifier;
it's about being able to extend/reduce/adjust the active
region using every point-movement operation, the same as
before the regression.

Please _at least_ provide a user option to restore this
behavior for `delete-selection-mode'.

> So I don't think there's anything to do here, 
> and I'm closing this bug report.

Sad.





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

end of thread, other threads:[~2022-02-09 17:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-27 15:07 bug#11364: 24.1.50; mouse selection followed by cursor movment to extend selection Drew Adams
2022-02-09  9:20 ` Lars Ingebrigtsen
2022-02-09 17:22   ` bug#11364: [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).