From unknown Wed Jun 25 00:25:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28931: 24.5; cua-mode does not replace keyboard shortcuts in Edit menu Resent-From: Bruno Haible Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Oct 2017 19:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28931 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 28931@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150861447829548 (code B ref -1); Sat, 21 Oct 2017 19:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Oct 2017 19:34:38 +0000 Received: from localhost ([127.0.0.1]:54605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5zXa-0007gW-JL for submit@debbugs.gnu.org; Sat, 21 Oct 2017 15:34:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38363) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5zXZ-0007gK-8w for submit@debbugs.gnu.org; Sat, 21 Oct 2017 15:34:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5zXS-00011q-Gj for submit@debbugs.gnu.org; Sat, 21 Oct 2017 15:34:31 -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,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56130) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e5zXS-00011e-DJ for submit@debbugs.gnu.org; Sat, 21 Oct 2017 15:34:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5zXQ-0006Ny-UQ for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2017 15:34:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5zXM-0000mU-3v for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2017 15:34:28 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::9]:15486) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e5zXL-0000iK-Oz for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2017 15:34:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1508614462; s=domk; d=clisp.org; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Date:Subject:To: From; bh=W36IT2FXqQszlUpkYTvk8jhBd7OIn6UuXgmwvBCcj+k=; b=IVuRVeyc3wjabmSwRpaxM8XzVITHVPAuCK2uRdNcj1VwKr/ICOW/M5lGpv8a7dnho9 gYM2Wp3wxR8H7Dm80YFxTmrpQKLV+RZlEOu3ucUuXP4AquxQY+t25jjqY0O08cjBp0lL rOmFzNzMjPd7vPbso2VLj7qBlR7jFGkisVjNg= X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOHqf0zZRW X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de (dslb-088-068-032-102.088.068.pools.vodafone-ip.de [88.68.32.102]) by smtp.strato.de (RZmta 42.8 DYNA|AUTH) with ESMTPSA id I0b719t9LJV0Kus (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sat, 21 Oct 2017 21:31:00 +0200 (CEST) From: Bruno Haible Date: Sat, 21 Oct 2017 21:30:59 +0200 Message-ID: <3260106.Luc2HRlV4k@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-96-generic; KDE/5.18.0; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Someone has this customization in his ~/.emacs file: (cua-mode 1) This has the effect of enabling CUA mode. But the user is not aware of it, because the Edit menu displays: Undo C-x u Cut C-w Copy M-w As a consequence, the user does not feel familiar with this editor and does not dare to use the keystrokes he's familar with (Ctrl-C for Copy etc.). Suggestion: Make the Edit menu display Undo C-z Cut C-x Copy C-c Then the user would feel familiar and could use these keybindings without thinking about them. In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2017-09-20 on lcy01-07, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11804000 System Description: Ubuntu 16.04.1 LTS Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Important settings: value of $LC_MONETARY: de_DE.UTF-8 value of $LC_NUMERIC: de_DE.UTF-8 value of $LC_TIME: de_DE.UTF-8 value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: delete-selection-mode: t cua-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50python-docutils.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Quit CUA mode disabled. Cua mode enabled Quit Making completion list... Load-path shadows: /usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.5/lisp/textmodes/rst Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils cus-start cus-load help-mode easymenu delsel cua-base time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 83203 6129) (symbols 48 18758 0) (miscs 40 40 74) (strings 32 11287 3748) (string-bytes 1 294567) (vectors 16 9191) (vector-slots 8 385762 15172) (floats 8 69 120) (intervals 56 230 1) (buffers 960 12) (heap 1024 47156 969)) From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 21 16:06:20 2017 Received: (at control) by debbugs.gnu.org; 21 Oct 2017 20:06:20 +0000 Received: from localhost ([127.0.0.1]:54649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e602F-0001xY-SM for submit@debbugs.gnu.org; Sat, 21 Oct 2017 16:06:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e602E-0001x8-QI for control@debbugs.gnu.org; Sat, 21 Oct 2017 16:06:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e6028-0001E6-VB for control@debbugs.gnu.org; Sat, 21 Oct 2017 16:06:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e6028-0001Dl-S0 for control@debbugs.gnu.org; Sat, 21 Oct 2017 16:06:12 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1e6028-0001Cp-MR for control@debbugs.gnu.org; Sat, 21 Oct 2017 16:06:12 -0400 Subject: control message for bug 28930 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Sat, 21 Oct 2017 16:06:12 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) merge 28931 28930 From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 22 15:23:59 2020 Received: (at control) by debbugs.gnu.org; 22 Aug 2020 19:23:59 +0000 Received: from localhost ([127.0.0.1]:51516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9Z7P-0003rt-E6 for submit@debbugs.gnu.org; Sat, 22 Aug 2020 15:23:59 -0400 Received: from mail-yb1-f175.google.com ([209.85.219.175]:38977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9Z7N-0003rf-UH for control@debbugs.gnu.org; Sat, 22 Aug 2020 15:23:58 -0400 Received: by mail-yb1-f175.google.com with SMTP id q16so2918865ybk.6 for ; Sat, 22 Aug 2020 12:23:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=fzVhTfKXKpeWYTlIhnNRIUpBIwBsbm61d4RUgFJLO3s=; b=P2/LHPmqfLkziO/Vktvkgja2iO+fAT/G6DR4jFOEcmJBLqfqOxlqHN/QL4Sw0UzPjL OQUFrgf9R1FYVODYl6VlbsIBJ4EFJes8fom+pfzeR7JOkz2xqhqhEDjKE+1ranmnqf8W 1a2Yru6m1IeqRCGOBTA6+gBKV5O4vJ7AMH3zj7fy4JCsKAX1UzNFhIp/DdljLssxdd/h +2bIyEhDio7JFHEFfpBEHLaCKeGy9kNWrbqvc1oJr5Ue6CV8CS+Ia5Z39cG9YWsDHbFN CRlSQ4zc/ZQcT9qkmUFpQ1hawh+3RFDEiFTw5IU7Swx7Zl3MQEcLRms7l8uYV/4Lxm2p BJ1g== X-Gm-Message-State: AOAM532kI1zZ82M1vTbAAGP66AGZWu8r6uHhI5EG6wCMG4xOA73NBHdW gw4ZnIv3928jbWHP/3Ynp3u/w7HZlkqJjD6fapjKB/dUfUg= X-Google-Smtp-Source: ABdhPJw975t21yWWldi/lXAy9BBpXqh6yGwdae1wGTGMrePWsSoDBOajdTHpFxfz4OaR3jrycMbV56uqLS9OxdEBbKg= X-Received: by 2002:a25:4ed7:: with SMTP id c206mr11986403ybb.129.1598124232393; Sat, 22 Aug 2020 12:23:52 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 22 Aug 2020 15:23:52 -0400 From: Stefan Kangas MIME-Version: 1.0 Date: Sat, 22 Aug 2020 15:23:52 -0400 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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 the administrator of that system for details. Content preview: retitle 28931 24.5; cua-mode does not replace keyboard shortcuts in Edit menu tags 28931 + confirmed found 28931 28.0.50 thanks Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.175 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.175 listed in wl.mailspike.net] 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines 2.0 BLANK_SUBJECT Subject is present but empty 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.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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 the administrator of that system for details. Content preview: retitle 28931 24.5; cua-mode does not replace keyboard shortcuts in Edit menu tags 28931 + confirmed found 28931 28.0.50 thanks Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.175 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.175 listed in wl.mailspike.net] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 2.0 BLANK_SUBJECT Subject is present but empty retitle 28931 24.5; cua-mode does not replace keyboard shortcuts in Edit menu tags 28931 + confirmed found 28931 28.0.50 thanks From unknown Wed Jun 25 00:25:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28931: bug#28930: 24.5; cua-mode does not replace keyboard shortcuts in Edit menu Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Jul 2021 15:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28931 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Bruno Haible Cc: 28931@debbugs.gnu.org, 28930@debbugs.gnu.org Received: via spool by 28931-submit@debbugs.gnu.org id=B28931.162524045413799 (code B ref 28931); Fri, 02 Jul 2021 15:41:02 +0000 Received: (at 28931) by debbugs.gnu.org; 2 Jul 2021 15:40:54 +0000 Received: from localhost ([127.0.0.1]:36925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzLHh-0003aP-Qt for submit@debbugs.gnu.org; Fri, 02 Jul 2021 11:40:54 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzLHf-0003a7-2m; Fri, 02 Jul 2021 11:40:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=B22i7h0YmAcdTFQe5xKjFwg2Jl28TklwNlNHsu77L/0=; b=q1W7guDrlH9cdeMFQCtcs1rak6 +r/smyS18ZulN9duB1sB3JLmxTpmcSsDOWiYr7i5j9gqt9FLFK3UFOAfnQbMRLW71YbFVQPhWYm+Q lDO//Xz5SBHnuAnHvLkxc9hsh/e7v6LO5jTubhih0MKOvVTILLA/ta4asDl1tcfGVbRU=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lzLHW-00024Z-6D; Fri, 02 Jul 2021 17:40:44 +0200 From: Lars Ingebrigtsen References: <3260106.Luc2HRlV4k@omega> X-Now-Playing: 75 Dollar Bill's _I Was Real_: "Every Last Coffee or Tea" Date: Fri, 02 Jul 2021 17:40:41 +0200 In-Reply-To: <3260106.Luc2HRlV4k@omega> (Bruno Haible's message of "Sat, 21 Oct 2017 21:30:59 +0200") Message-ID: <87bl7kpvuu.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Bruno Haible writes: > Someone has this customization in his ~/.emacs file: > (cua-mode 1) > > This has the effect of enabling CUA mode. But the user is not > aware of it, because the Edit menu displays: > > Undo C-x u > [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) Bruno Haible writes: > Someone has this customization in his ~/.emacs file: > (cua-mode 1) > > This has the effect of enabling CUA mode. But the user is not > aware of it, because the Edit menu displays: > > Undo C-x u > Cut C-w > Copy M-w > > As a consequence, the user does not feel familiar with this > editor and does not dare to use the keystrokes he's familar with > (Ctrl-C for Copy etc.). > > Suggestion: Make the Edit menu display > > Undo C-z > Cut C-x > Copy C-c > > Then the user would feel familiar and could use these > keybindings without thinking about them. (I'm going through old bug reports that unfortunately got little response at the time.) Let's see... this is from this stuff: (bindings--define-key menu [copy] ;; ns-win.el said: Substitute a Copy function that works better ;; under X (for GNUstep). `(menu-item "Copy" ,(if (featurep 'ns) 'ns-copy-including-secondary 'kill-ring-save) :enable mark-active :help "Copy text in region between mark and current position" :keys ,(if (featurep 'ns) "\\[ns-copy-including-secondary]" "\\[kill-ring-save]"))) (etc) I guess we could add a case for cua-mode in the :keys here, too? I've never ever used cua-mode myself, though... C-x and C-x only work when the region is active in cua-mode, I think? So... would it be accurate to put them in the menu? I mean, we could check for an active region, too, but would that be confusing? Anybody have an opinion here? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 02 11:41:06 2021 Received: (at control) by debbugs.gnu.org; 2 Jul 2021 15:41:06 +0000 Received: from localhost ([127.0.0.1]:36930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzLHu-0003bc-7A for submit@debbugs.gnu.org; Fri, 02 Jul 2021 11:41:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzLHt-0003ap-Aj for control@debbugs.gnu.org; Fri, 02 Jul 2021 11:41:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=w+y77fT35wh8QdO2Tm2wvzxsWa2LkTweZZ1s0vpCs8k=; b=tjBDvx5ihx7Wh+rF9XYXXkSrTj Wp9XMC5luUUhkpln7fhRsRMQT8JTQJ3VmQXTc3q7eJw+NUvqBvONlOMB8/lg9hUXdn7RRkCQue7IY krZsaMYLfgZN/vAKHAhTJXjKB71uG2yshpwGksN3QXZfAi9JlIGs4KXPfXskqpy/56HQ=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lzLHl-00024j-OQ for control@debbugs.gnu.org; Fri, 02 Jul 2021 17:40:59 +0200 Date: Fri, 02 Jul 2021 17:40:57 +0200 Message-Id: <877di8pvue.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #28930 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 28930 + moreinfo 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 -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) tags 28930 + moreinfo quit From unknown Wed Jun 25 00:25:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28931: bug#28930: 24.5; cua-mode does not replace keyboard shortcuts in Edit menu Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Jul 2021 16:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28931 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo confirmed To: Bruno Haible Cc: 28931@debbugs.gnu.org, 28930@debbugs.gnu.org Received: via spool by 28931-submit@debbugs.gnu.org id=B28931.16277484059715 (code B ref 28931); Sat, 31 Jul 2021 16:21:02 +0000 Received: (at 28931) by debbugs.gnu.org; 31 Jul 2021 16:20:05 +0000 Received: from localhost ([127.0.0.1]:34696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9riX-0002WY-Ip for submit@debbugs.gnu.org; Sat, 31 Jul 2021 12:20:05 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9riV-0002Vs-At; Sat, 31 Jul 2021 12:20:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vskNp3T/YG6GaTEJvwVcjKGTr9RP6j7cqJyBqdelkaA=; b=q53BQp/BCKo6xXRQPCu8swWMZQ nsx0PxwfEnR6pktu6rh0ZFwEu5Hr7TGlW+JmhV5+vEmtKcon7X1I3pBogXN3IjIMd0+YW8uio52Cn +lvuqzIVReAb449UqsXPceB1w+OUVF2H4/ZOdYwMFLPXEwJSDgbirGPgZT8vft8yWxgE=; Received: from 2.149.45.105.tmi.telenormobil.no ([2.149.45.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m9riM-0005Ms-Jv; Sat, 31 Jul 2021 18:19:57 +0200 From: Lars Ingebrigtsen References: <3260106.Luc2HRlV4k@omega> <87bl7kpvuu.fsf@gnus.org> Date: Sat, 31 Jul 2021 18:19:49 +0200 In-Reply-To: <87bl7kpvuu.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 02 Jul 2021 17:40:41 +0200") Message-ID: <87k0l6cv6i.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Lars Ingebrigtsen writes: > Let's see... this is from this stuff: > > (bindings--define-key menu [copy] > ; ; ns-win.el said: Substitute a Copy function that works better > ; ; under X (for GNUstep). > `(menu-item "Copy" ,(if (f [...] 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: -2.3 (--) 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: -3.3 (---) Lars Ingebrigtsen writes: > Let's see... this is from this stuff: > > (bindings--define-key menu [copy] > ;; ns-win.el said: Substitute a Copy function that works better > ;; under X (for GNUstep). > `(menu-item "Copy" ,(if (featurep 'ns) > 'ns-copy-including-secondary > 'kill-ring-save) > :enable mark-active > :help "Copy text in region between mark and current position" > :keys ,(if (featurep 'ns) > "\\[ns-copy-including-secondary]" > "\\[kill-ring-save]"))) > > (etc) > > I guess we could add a case for cua-mode in the :keys here, too? No, we can't -- that has to be computed dynamically, and :keys doesn't allow that. I think? I tried to use :filter, but it couldn't figure out how to use that to return a dynamically generated menu item -- is that even possible? Perhaps we should just allow :keys to be a lambda? Any opinions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 29 16:24:21 2021 Received: (at control) by debbugs.gnu.org; 29 Aug 2021 20:24:21 +0000 Received: from localhost ([127.0.0.1]:57529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKRLp-0000O1-K7 for submit@debbugs.gnu.org; Sun, 29 Aug 2021 16:24:21 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKRLo-0000Nl-OY for control@debbugs.gnu.org; Sun, 29 Aug 2021 16:24:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=f4Z+3dZpPQH8JlE+cLOYaZZO6xMfZ0jOK9d/8G+nW2o=; b=grZc9trq8BcW1ZXnCb0qd8YcqS m3aOEmYpqIpCH+YMIF/LhWaHHRzC0/pnlWzU3OHx9SrUI3Rzh88T3AEcL+2J0vx/k0C/9MDxngr76 tpypfPs2yEn2JPLR1LoCFeO9Szql76y924U1BmYTqz+d3NvxNMjGLbuOjOK385sh//ys=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mKRLg-0003en-V2 for control@debbugs.gnu.org; Sun, 29 Aug 2021 22:24:15 +0200 Date: Sun, 29 Aug 2021 22:24:12 +0200 Message-Id: <87eeacc843.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #28930 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 28930 - moreinfo 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 -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) tags 28930 - moreinfo quit From unknown Wed Jun 25 00:25:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28931: bug#28930: 24.5; cua-mode does not replace keyboard shortcuts in Edit menu Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Oct 2021 11:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28931 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Bruno Haible Cc: 28931@debbugs.gnu.org, 28930@debbugs.gnu.org Received: via spool by 28931-submit@debbugs.gnu.org id=B28931.16339511238479 (code B ref 28931); Mon, 11 Oct 2021 11:19:02 +0000 Received: (at 28931) by debbugs.gnu.org; 11 Oct 2021 11:18:43 +0000 Received: from localhost ([127.0.0.1]:56743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZtKM-0002Cb-Ul for submit@debbugs.gnu.org; Mon, 11 Oct 2021 07:18:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZtKL-0002CI-6w; Mon, 11 Oct 2021 07:18:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jzMwiT0q7uty4tlwYXAKeYtTERlPKUrr6qQw7YIIX1k=; b=IAUyQwVdWMGmXnEAT0Meizv5x1 AmGRQ69KnrsBmTyDEQ9qm7aINXmL6ePCqoI7RGfRr4Z76BX94Y6e8U9Rn2Tz1CnPdkWQ5iJ5ONj0u gN6jEYbmjZZBmlK/AoZz9PbPC9BuwaXyk6uOAiL707ryKpt7aHaU5RhiSjPwIjI6CelE=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZtKC-0002E9-8U; Mon, 11 Oct 2021 13:18:34 +0200 From: Lars Ingebrigtsen References: <3260106.Luc2HRlV4k@omega> <87bl7kpvuu.fsf@gnus.org> <87k0l6cv6i.fsf@gnus.org> X-Now-Playing: David Sylvian's _Secrets of the Beehive_: "Promise (The Cult of Eurydice)" Date: Mon, 11 Oct 2021 13:18:31 +0200 In-Reply-To: <87k0l6cv6i.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 31 Jul 2021 18:19:49 +0200") Message-ID: <87h7dnizco.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Lars Ingebrigtsen writes: > Perhaps we should just allow :keys to be a lambda? Any opinions? Nobody had an opinion in ten weeks, so I went ahead and implemented it (and fixed the keyboard shortcuts in the Edit menu). Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) Lars Ingebrigtsen writes: > Perhaps we should just allow :keys to be a lambda? Any opinions? Nobody had an opinion in ten weeks, so I went ahead and implemented it (and fixed the keyboard shortcuts in the Edit menu). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 11 07:18:55 2021 Received: (at control) by debbugs.gnu.org; 11 Oct 2021 11:18:55 +0000 Received: from localhost ([127.0.0.1]:56746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZtKZ-0002D6-7I for submit@debbugs.gnu.org; Mon, 11 Oct 2021 07:18:55 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZtKW-0002Ct-OV for control@debbugs.gnu.org; Mon, 11 Oct 2021 07:18:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=GiuAm6axXAZw0b1OIevJXD7PMUKW6fsSfTLszH6UqyY=; b=A+UpOAhwhFbMPxTxu+c7euvlOh nUZ34OaJIW2NJd/4KACnO0KtbK32WcCEhs7bQw6DcjJ5pw78lNrgY8JBXsJ4OwjWNiDW8AQ40N0nw 71WdM79PQ7cTIGJfgoiBW2NfnhbOL+sDPkK5/0VBC/6TkV3wcrZmgr3ohWibFLN8pv0E=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZtKO-0002EJ-Sn for control@debbugs.gnu.org; Mon, 11 Oct 2021 13:18:46 +0200 Date: Mon, 11 Oct 2021 13:18:37 +0200 Message-Id: <87fst7izci.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #28930 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: close 28930 29.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 -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) close 28930 29.1 quit