From unknown Wed Jun 25 09:07:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17951 <17951@debbugs.gnu.org> To: bug#17951 <17951@debbugs.gnu.org> Subject: Status: Subword-mode should support shift selection in and out of cua-mode Reply-To: bug#17951 <17951@debbugs.gnu.org> Date: Wed, 25 Jun 2025 16:07:28 +0000 retitle 17951 Subword-mode should support shift selection in and out of cua= -mode reassign 17951 emacs submitter 17951 Matthew Fidler severity 17951 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 06 00:32:10 2014 Received: (at submit) by debbugs.gnu.org; 6 Jul 2014 04:32:10 +0000 Received: from localhost ([127.0.0.1]:44457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X3e7R-0004Pw-1R for submit@debbugs.gnu.org; Sun, 06 Jul 2014 00:32:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42018) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X3e7K-0004PH-Kr for submit@debbugs.gnu.org; Sun, 06 Jul 2014 00:32:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3e7E-0006YX-JD for submit@debbugs.gnu.org; Sun, 06 Jul 2014 00:31:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3e7E-0006YL-H2 for submit@debbugs.gnu.org; Sun, 06 Jul 2014 00:31:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3e7D-0007jd-HB for bug-gnu-emacs@gnu.org; Sun, 06 Jul 2014 00:31:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3e7C-0006VX-Lb for bug-gnu-emacs@gnu.org; Sun, 06 Jul 2014 00:31:51 -0400 Received: from mail-ig0-x229.google.com ([2607:f8b0:4001:c05::229]:48032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3e7C-0006VR-HC for bug-gnu-emacs@gnu.org; Sun, 06 Jul 2014 00:31:50 -0400 Received: by mail-ig0-f169.google.com with SMTP id c1so9453989igq.0 for ; Sat, 05 Jul 2014 21:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Pgfqll9mkYVvPRdoyHUUURvWBRa75XaomAjaceWN3sM=; b=vA4VdcT+mWibWDluZYu+UJ37dAR+rb8Yvhk8hS/+Zm7uY3LYZyB1jkuUda3Od5zV1g Bp0dbYHEde2MUT4tNgFvP7WQzz3qXe+L1M7TWcdI5gBtxMYRea0HwpvxbEByBuJyHWab gmV1e1JjWD/nKh66czlMWrb7jZDyN1S6wN5f33dBETb+4uSqVnr9DqE8HL1qubbMogtz HJ9iHx7ZmqjfLlsC+RtR/Z3sVI2uAhprKEUAKk5dm8edP/4kOZoEpRqsekeeDSoSNPQX HQRVTD+Y8jVLmMe1L3eIFEddWlEzWs4iCPN/7RlM0QTQKjMdQ09CC1ZQEQOr43f/69l2 0yZQ== MIME-Version: 1.0 X-Received: by 10.50.124.194 with SMTP id mk2mr52820327igb.42.1404621109601; Sat, 05 Jul 2014 21:31:49 -0700 (PDT) Received: by 10.64.126.2 with HTTP; Sat, 5 Jul 2014 21:31:49 -0700 (PDT) Date: Sat, 5 Jul 2014 23:31:49 -0500 Message-ID: Subject: Subword-mode should support shift selection in and out of cua-mode From: Matthew Fidler To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001a1134b660482d1e04fd7ed6af X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a1134b660482d1e04fd7ed6af Content-Type: text/plain; charset=UTF-8 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 --001a1134b660482d1e04fd7ed6af Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Subword movement funtions should be specified as

= (interactive "^p") instead of (interactive "p") to allo= w shift selection.=C2=A0

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

(put 'subword-forward 'CUA 'move)

so, I think it sho= uld be consistent.
Just my 2 cents.
=C2=A0
Matt
--001a1134b660482d1e04fd7ed6af-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 08 04:30:37 2014 Received: (at 17951) by debbugs.gnu.org; 8 Jul 2014 08:30:38 +0000 Received: from localhost ([127.0.0.1]:46526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4QnM-00014x-5D for submit@debbugs.gnu.org; Tue, 08 Jul 2014 04:30:37 -0400 Received: from dancol.org ([96.126.100.184]:35259) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4QnI-00014m-Q0 for 17951@debbugs.gnu.org; Tue, 08 Jul 2014 04:30:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=Dtevm+H2BT8IXL8nTT4+eJHrQoDlKyyBOqP59mBGzNA=; b=OhvmNwPf98OHeltEvhmsqevrZh7uz3n3M0DQq1p9YnZnXslCJMCo9Qm5SsM+sm7TTNyFPCK0ZDYb2D5CGXfTkRwM50xtJ3JGKCE/vf3CQgiBfTwFbPZKOXpqtp4LEz0VLARyegb+MO9Ad616zbC8LP03exam+oqNDNRPvlZTYS9RvTxJEwCtW6F+dxzsX3CMC8CAJq1i3bawS/uu6n/6TnHDlaMwNmBCdQi3w35hv9SlA4uDc8wMc04Sbd81jmdYNs4hI4mUK9dJOfdwjwXe037A+Dg3MypXFnFy9OatJ8G+jh7Lq5IPjo3r6T8oOJNOkENfnIURNkCpP97Ta0DnpA==; Received: from [208.181.207.7] by dancol.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1X4QnH-0003lP-7q; Tue, 08 Jul 2014 01:30:31 -0700 Message-ID: <53BBAC1B.90008@dancol.org> Date: Tue, 08 Jul 2014 01:30:19 -0700 From: Daniel Colascione User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Matthew Fidler , 17951@debbugs.gnu.org Subject: Re: bug#17951: Subword-mode should support shift selection in and out of cua-mode References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M3Jp7WpmshOckxwRk2jHvPbW4cngURBF7" X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 17951 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --M3Jp7WpmshOckxwRk2jHvPbW4cngURBF7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/05/2014 09:31 PM, Matthew Fidler wrote: > Subword movement funtions should be specified as >=20 > (interactive "^p") instead of (interactive "p") to allow shift selectio= n.=20 >=20 > When cua-mode is enabled, shift-selection is also enabled since all the= > functions have >=20 > (put 'subword-forward 'CUA 'move) >=20 > 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. --M3Jp7WpmshOckxwRk2jHvPbW4cngURBF7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTu6wcAAoJEMAaIROpHW7I9roP/16wvmxXyNwRwcVMRcNpRkFW LXG6G2UrEoeYRmRxLSIQRc8AvTKShNne/1a4xL6I0+92+/xt+uIh3vTYp/yyAEeI /8WEJ6yPD6k2u3V7eY4qIAR21PbRwAt63YRWgJSqML7NkmSWb4n40aS+LlBuobYc 5+zhiy1aK37RYUouGaoj625aggDe/9uR3g4mfxVMd/Re6e3DxoQ+eJZVn9qeZVVL 9a9LfqWVxOOs73JAG79xJ7DWoRT8V3DH0dr6EbWWlcFdZ9s74Su6dVzCKqIUcYz0 KBqDo+dI2Zi7R3ApK5j6VaDt3tst/yn9b3c+nJOswXnQuPjOAXHlNTa0yrfmw4gI UNX6NkisdUEKNogJOm2uByZ4yjwxX0w0f06oGFYjhO18uweoH9vwOUWsZOmxNH0N ZlyOu0PJK+VBpjzVifD2GTlrb6WLj6mUjO9Xj9kZGb6TqyFyNQNzGFp5O5FbsWHu 1lM8hkZ+2k/Ri06RXyBQAlidY3Id6yzz+lA+MqIr4U2ZQg+Q9ZK++kG5RNiAqFBg bkEk7T+Oet4c/8EQeJ6k3gA5KrY2erwgo5dHa8PqwC7l+dGneBuhzF6lGZvG9vz8 GucpG6Cbshbu0y9YCqRFLRUS2k7obrNCsE5Xly2MwZbf5eKweKQ6DKYCT4yUHYmM pPw9wnuVB7Ow5L76il/Y =w0Ti -----END PGP SIGNATURE----- --M3Jp7WpmshOckxwRk2jHvPbW4cngURBF7-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 08 09:54:24 2014 Received: (at 17951-done) by debbugs.gnu.org; 8 Jul 2014 13:54:24 +0000 Received: from localhost ([127.0.0.1]:46696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4Vqh-00047P-PZ for submit@debbugs.gnu.org; Tue, 08 Jul 2014 09:54:24 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:13684) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4Vqe-000479-Uc for 17951-done@debbugs.gnu.org; Tue, 08 Jul 2014 09:54:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtcGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr8fgR6BFxd0giUBAQEBAgFWIxALNBIUGA0kiAQI0hkXjnoHhDgEqRmBaoFxgVsh X-IPAS-Result: AtcGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr8fgR6BFxd0giUBAQEBAgFWIxALNBIUGA0kiAQI0hkXjnoHhDgEqRmBaoFxgVsh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="76860500" Received: from 75-119-224-253.dsl.teksavvy.com (HELO pastel.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 08 Jul 2014 09:54:15 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0439F602FC; Tue, 8 Jul 2014 09:54:14 -0400 (EDT) From: Stefan Monnier To: Matthew Fidler Subject: Re: bug#17951: Subword-mode should support shift selection in and out of cua-mode Message-ID: References: <53BBAC1B.90008@dancol.org> Date: Tue, 08 Jul 2014 09:54:14 -0400 In-Reply-To: <53BBAC1B.90008@dancol.org> (Daniel Colascione's message of "Tue, 08 Jul 2014 01:30:19 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17951-done Cc: 17951-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> 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 From unknown Wed Jun 25 09:07:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 06 Aug 2014 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator