GNU bug report logs - #17951
Subword-mode should support shift selection in and out of cua-mode

Previous Next

Package: emacs;

Reported by: Matthew Fidler <matthew.fidler <at> gmail.com>

Date: Sun, 6 Jul 2014 04:33:02 UTC

Severity: minor

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17951 in the body.
You can then email your comments to 17951 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17951; Package emacs. (Sun, 06 Jul 2014 04:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthew Fidler <matthew.fidler <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 06 Jul 2014 04:33:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Matthew Fidler <matthew.fidler <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Subword-mode should support shift selection in and out of cua-mode
Date: Sat, 5 Jul 2014 23:31:49 -0500
[Message part 1 (text/plain, inline)]
Subword movement funtions should be specified as

(interactive "^p") instead of (interactive "p") to allow shift selection.

When cua-mode is enabled, shift-selection is also enabled since all the
functions have

(put 'subword-forward 'CUA 'move)
so, I think it should be consistent.
Just my 2 cents.

Matt
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17951; Package emacs. (Tue, 08 Jul 2014 08:31:01 GMT) Full text and rfc822 format available.

Message #8 received at 17951 <at> debbugs.gnu.org (full text, mbox):

From: Daniel Colascione <dancol <at> dancol.org>
To: Matthew Fidler <matthew.fidler <at> gmail.com>, 17951 <at> debbugs.gnu.org
Subject: Re: bug#17951: Subword-mode should support shift selection in and
 out of cua-mode
Date: Tue, 08 Jul 2014 01:30:19 -0700
[Message part 1 (text/plain, inline)]
On 07/05/2014 09:31 PM, Matthew Fidler wrote:
> Subword movement funtions should be specified as
> 
> (interactive "^p") instead of (interactive "p") to allow shift selection. 
> 
> When cua-mode is enabled, shift-selection is also enabled since all the
> functions have
> 
> (put 'subword-forward 'CUA 'move)
> 
> so, I think it should be consistent.
> Just my 2 cents.

In trunk, subword-word changes the definition of a word instead of
trying to rebind movement commands. All the shift-motion stuff should
just work in the new implementation.

[signature.asc (application/pgp-signature, attachment)]

Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Tue, 08 Jul 2014 13:55:02 GMT) Full text and rfc822 format available.

Notification sent to Matthew Fidler <matthew.fidler <at> gmail.com>:
bug acknowledged by developer. (Tue, 08 Jul 2014 13:55:03 GMT) Full text and rfc822 format available.

Message #13 received at 17951-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Matthew Fidler <matthew.fidler <at> gmail.com>
Cc: 17951-done <at> debbugs.gnu.org
Subject: Re: bug#17951: Subword-mode should support shift selection in and out
 of cua-mode
Date: Tue, 08 Jul 2014 09:54:14 -0400
>> Subword movement funtions should be specified as
>> (interactive "^p") instead of (interactive "p") to allow shift selection. 

AFAICT this is already the case in 24.3.92 (but yes, it was missing in
24.3).

>> When cua-mode is enabled, shift-selection is also enabled since all the
>> functions have
>> (put 'subword-forward 'CUA 'move)
>> so, I think it should be consistent.

In 24.3.92, cua-mode does not use its own shift-selection implementation
any more, so it is consistent by definition ;-)

You bug report does not say in which version you saw those problems, so
I'll assume it was 24.3 or earlier.  If you still see this problem in
the pretest (24.3.92), then please re-open or make a new report
providing additional details (e.g. indicating which commands are
affected).


        Stefan




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 06 Aug 2014 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.