From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 27 20:20:55 2014 Received: (at submit) by debbugs.gnu.org; 28 Jul 2014 00:20:55 +0000 Received: from localhost ([127.0.0.1]:39724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBYgP-00062w-Ff for submit@debbugs.gnu.org; Sun, 27 Jul 2014 20:20:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53952) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBWPR-0002XD-Bj for submit@debbugs.gnu.org; Sun, 27 Jul 2014 17:55:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBWPB-0004Hr-Nm for submit@debbugs.gnu.org; Sun, 27 Jul 2014 17:55:07 -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.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBWPB-0004Hl-KC for submit@debbugs.gnu.org; Sun, 27 Jul 2014 17:54:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBWP2-0002VO-Qb for bug-gnu-emacs@gnu.org; Sun, 27 Jul 2014 17:54:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBWOu-0004Gs-3d for bug-gnu-emacs@gnu.org; Sun, 27 Jul 2014 17:54:48 -0400 Received: from 18.mo3.mail-out.ovh.net ([87.98.172.162]:53746 helo=mo3.mail-out.ovh.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBWOt-0004Gd-Po for bug-gnu-emacs@gnu.org; Sun, 27 Jul 2014 17:54:40 -0400 Received: from mail614.ha.ovh.net (gw6.ovh.net [213.251.189.206]) by mo3.mail-out.ovh.net (Postfix) with SMTP id 81C74FF8B23 for ; Sun, 27 Jul 2014 23:54:36 +0200 (CEST) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 27 Jul 2014 23:53:58 +0200 Received: from 87-231-104-114.rev.numericable.fr (HELO ?192.168.4.10?) (py%luyten.fr@87.231.104.114) by ns0.ovh.net with SMTP; 27 Jul 2014 23:53:57 +0200 From: Pierre-Yves Content-Type: multipart/mixed; boundary="Apple-Mail=_B50E3582-5168-42E2-8472-F942B934B140" Subject: cua-rect.el issue on help Message-Id: <299BAB7F-F8D4-4029-9E7D-1C076ECF17EC@luyten.fr> Date: Sun, 27 Jul 2014 23:54:32 +0200 To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) X-Mailer: Apple Mail (2.1878.2) X-Ovh-Tracer-Id: 8427642278055948300 X-Ovh-Remote: 87.231.104.114 (87-231-104-114.rev.numericable.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 0 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejfedrgeejucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejfedrgeejucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] 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: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 27 Jul 2014 20:20:51 -0400 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: -5.0 (-----) --Apple-Mail=_B50E3582-5168-42E2-8472-F942B934B140 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 cua-rectangle feature does offer to type ? for help. It will display = several available key sequence. Since modifier is not known, a function = computes the string from the prefix variable. It is basically a switch, which works for =91hyper or =91super or =91alt = or =91meta , but it does not work for =91control. This is feasible to use =91control as the modifier.=20 (setq cua--rectangle-modifier-key =91control) This one liner patch fixes the help in such case. The cua-rect-help.patch is the result of `diff -c` command. The 0001- prefixed patch is git, but I believe this is not the proper = format. --Apple-Mail=_B50E3582-5168-42E2-8472-F942B934B140 Content-Disposition: attachment; filename=cua-rect-help.patch Content-Type: application/octet-stream; name="cua-rect-help.patch" Content-Transfer-Encoding: 7bit *** lisp/emulation/cua-rect.el.orig 2014-07-27 23:45:04.000000000 +0200 --- lisp/emulation/cua-rect.el 2014-07-27 23:44:56.000000000 +0200 *************** *** 1346,1351 **** --- 1346,1352 ---- (let ((M (cond ((eq cua--rectangle-modifier-key 'hyper) " H-") ((eq cua--rectangle-modifier-key 'super) " s-") ((eq cua--rectangle-modifier-key 'alt) " A-") + ((eq cua--rectangle-modifier-key 'control) " C-") (t " M-")))) (message (concat (if help "C-?:help" "") --Apple-Mail=_B50E3582-5168-42E2-8472-F942B934B140 Content-Disposition: attachment; filename=0001-cua-rect-help-check-for-control-value.patch Content-Type: application/octet-stream; name="0001-cua-rect-help-check-for-control-value.patch" Content-Transfer-Encoding: quoted-printable =46rom=20e005034f22b87c5479e36649da416f7d74af1a72=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Pierre-Yves=20Luyten=20=0ADate:=20= Sun,=2027=20Jul=202014=2020:04:50=20+0200=0ASubject:=20[PATCH]=20= cua-rect=20help=20:=20check=20for=20'control=20value=0A=0A---=0A=20= lisp/emulation/cua-rect.el=20|=201=20+=0A=201=20file=20changed,=201=20= insertion(+)=0A=0Adiff=20--git=20a/lisp/emulation/cua-rect.el=20= b/lisp/emulation/cua-rect.el=0Aindex=20d516bd4..2f9215b=20100644=0A---=20= a/lisp/emulation/cua-rect.el=0A+++=20b/lisp/emulation/cua-rect.el=0A@@=20= -1346,6=20+1346,7=20@@=20With=20prefix=20arg,=20indent=20to=20that=20= column."=0A=20=20=20(let=20((M=20(cond=20((eq=20= cua--rectangle-modifier-key=20'hyper)=20"=20H-")=0A=20=09=09=20((eq=20= cua--rectangle-modifier-key=20'super)=20"=20s-")=0A=20=09=09=20((eq=20= cua--rectangle-modifier-key=20'alt)=20"=20A-")=0A+=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20((eq=20cua--rectangle-modifier-key=20= 'control)=20"=20C-")=0A=20=09=09=20(t=20"=20M-"))))=0A=20=20=20=20=20= (message=0A=20=20=20=20=20=20(concat=20(if=20help=20"C-?:help"=20"")=0A= --=20=0A1.8.5.2=20(Apple=20Git-48)=0A=0A= --Apple-Mail=_B50E3582-5168-42E2-8472-F942B934B140-- From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 03 15:48:13 2019 Received: (at 18120) by debbugs.gnu.org; 3 Aug 2019 19:48:13 +0000 Received: from localhost ([127.0.0.1]:59962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu00i-0003LR-St for submit@debbugs.gnu.org; Sat, 03 Aug 2019 15:48:13 -0400 Received: from quimby.gnus.org ([80.91.231.51]:52642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu00f-0003LF-U5 for 18120@debbugs.gnu.org; Sat, 03 Aug 2019 15:48:10 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hu00b-0007SH-3z; Sat, 03 Aug 2019 21:48:07 +0200 From: Lars Ingebrigtsen To: Pierre-Yves Subject: Re: bug#18120: cua-rect.el issue on help References: <299BAB7F-F8D4-4029-9E7D-1C076ECF17EC@luyten.fr> Date: Sat, 03 Aug 2019 21:48:04 +0200 In-Reply-To: <299BAB7F-F8D4-4029-9E7D-1C076ECF17EC@luyten.fr> (Pierre-Yves's message of "Sun, 27 Jul 2014 23:54:32 +0200") Message-ID: <87ef22do97.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Pierre-Yves writes: > cua-rectangle feature does offer to type ? for help. It will display > several available key sequence. Since modifier is not known, a > function computes the string from the prefix variable. > It is [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18120 Cc: 18120@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) Pierre-Yves writes: > cua-rectangle feature does offer to type ? for help. It will display > several available key sequence. Since modifier is not known, a > function computes the string from the prefix variable. > It is basically a switch, which works for =E2=80=98hyper or =E2=80=98supe= r or =E2=80=98alt or > =E2=80=98meta , but it does not work for =E2=80=98control. > > This is feasible to use =E2=80=98control as the modifier.=20 > (setq cua--rectangle-modifier-key =E2=80=98control) [...] > ((eq cua--rectangle-modifier-key 'super) " s-") > ((eq cua--rectangle-modifier-key 'alt) " A-") > + ((eq cua--rectangle-modifier-key 'control) " C-") > (t " M-")))) (I'm going through old bug reports that unfortunately have not received any responses yet.) I don't use cua mode myself, but this looks like it's "obviously" the right thing, so I've applied the patch to Emacs 27. If a cua user determines that it's not quite the right thing to do, please feel free to revert the patch. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 03 15:48:16 2019 Received: (at control) by debbugs.gnu.org; 3 Aug 2019 19:48:16 +0000 Received: from localhost ([127.0.0.1]:59965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu00m-0003Lj-6S for submit@debbugs.gnu.org; Sat, 03 Aug 2019 15:48:16 -0400 Received: from quimby.gnus.org ([80.91.231.51]:52656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu00k-0003La-RT for control@debbugs.gnu.org; Sat, 03 Aug 2019 15:48:15 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hu00i-0007SO-6F for control@debbugs.gnu.org; Sat, 03 Aug 2019 21:48:14 +0200 Date: Sat, 03 Aug 2019 21:48:11 +0200 Message-Id: <87d0hmdo90.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18120 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 18120 + patch quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) tags 18120 + patch quit From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 03 15:48:21 2019 Received: (at control) by debbugs.gnu.org; 3 Aug 2019 19:48:21 +0000 Received: from localhost ([127.0.0.1]:59968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu00r-0003M2-Ga for submit@debbugs.gnu.org; Sat, 03 Aug 2019 15:48:21 -0400 Received: from quimby.gnus.org ([80.91.231.51]:52668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu00p-0003Lu-Vy for control@debbugs.gnu.org; Sat, 03 Aug 2019 15:48:20 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hu00n-0007ST-Ab for control@debbugs.gnu.org; Sat, 03 Aug 2019 21:48:19 +0200 Date: Sat, 03 Aug 2019 21:48:16 +0200 Message-Id: <87blx6do8v.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18120 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 18120 fixed close 18120 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) tags 18120 fixed close 18120 27.1 quit From unknown Tue Sep 09 08:08:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 01 Sep 2019 11:24:05 +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