From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 19 19:12:32 2011 Received: (at submit) by debbugs.gnu.org; 20 Feb 2011 00:12:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pqwud-0004Al-IH for submit@debbugs.gnu.org; Sat, 19 Feb 2011 19:12:31 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pqwuc-0004AY-9c for submit@debbugs.gnu.org; Sat, 19 Feb 2011 19:12:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqwuW-00053u-4H for submit@debbugs.gnu.org; Sat, 19 Feb 2011 19:12:24 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:59568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqwuW-00053o-2K for submit@debbugs.gnu.org; Sat, 19 Feb 2011 19:12:24 -0500 Received: from [140.186.70.92] (port=51603 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqwuV-0000wr-1b for bug-gnu-emacs@gnu.org; Sat, 19 Feb 2011 19:12:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqwuU-00053Y-2j for bug-gnu-emacs@gnu.org; Sat, 19 Feb 2011 19:12:22 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:38464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqwuT-00053S-OU for bug-gnu-emacs@gnu.org; Sat, 19 Feb 2011 19:12:22 -0500 Received: by eyh6 with SMTP id 6so602104eyh.0 for ; Sat, 19 Feb 2011 16:12:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=2ZSP9inT1xcNRmNd5U9PWCYqwATQdnjPeY7+jG8L49Q=; b=fl895xPkPaK+vUOT36f02zUD94WXrR4MPghi8BQNwFCwttP2CiKe/veGJbRbqM+jYS KzrVjrN8Vs/YVjG1l/5nMUWTsyhzpTkQwZi8JqdBGpU7l5f1tb5rW8S9iA3JrD0yxnOd y+GfsMdQOXQ9QrczZdVr4jTL9Ol+cYcc+uA2s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=KBP0ATVB4ZIgVbLSsWWQHVshkZ+t+fP03/UHxLWDfYeYWIoASRD6Gt35bIMnPOErU8 kT2URCfWla2YvRSJvGL7nGMg6AA/9EEVeUUwXhU6H+LNyTctNu8gsbizqEsDBfwrI3ba ift2qae3bin7K8B8Vq1UqadG4wO2pVe2XvIlQ= Received: by 10.213.7.138 with SMTP id d10mr2722958ebd.55.1298160740156; Sat, 19 Feb 2011 16:12:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.29.212 with HTTP; Sat, 19 Feb 2011 16:12:00 -0800 (PST) From: Lennart Borgman Date: Sun, 20 Feb 2011 01:12:00 +0100 Message-ID: Subject: cua global mark does much more than it announces To: Emacs Bugs , "Kim F. Storm" Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.7 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.7 (----) cua-toggle-global-mark doc string says: "Set or cancel the global marker. When the global marker is set, CUA cut and copy commands will automatically insert the deleted or copied text before the global marker, even when the global marker is in another buffer. If the global marker isn't set, set the global marker at point in the current buffer. Otherwise jump to the global marker position and cancel it. With prefix argument, don't jump to global mark when cancelling it." However when cua global mark is set quite a few other things also happens. For example self-insert-command is remapped so that the character you type is inserted at cua global mark. I think also that this desing is not good . It is surprising to an uninformed user and it interferes very badly with viper for example. Kim, could we please remove this? Or do you have another suggestion? From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 20 12:54:29 2021 Received: (at 8083) by debbugs.gnu.org; 20 Jan 2021 17:54:29 +0000 Received: from localhost ([127.0.0.1]:56248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2Hgb-0001EM-0r for submit@debbugs.gnu.org; Wed, 20 Jan 2021 12:54:29 -0500 Received: from quimby.gnus.org ([95.216.78.240]:47602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2HgY-0001E5-L0 for 8083@debbugs.gnu.org; Wed, 20 Jan 2021 12:54:27 -0500 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=KArcLm3ZjqmIf5ivAvHbtKIJZqXL4TMpAJxGy82Sx08=; b=P04DLuLmIgXl/HbP1VZ3HvRrgx gtW1qJU0lBOY8pN0NjKqEdnCkziIwwZHOizqPyGrOANw87LN9n8ZUOwHkTKnhv8Omle+TBJCiyFxQ 0tTbNI6gC9XRXHlIqWv/4hBzE9VQ8baK8Khk22cKomKqOX6U9lb26ZRKdRCpTJ7ubMy0=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l2HgP-00026M-H3; Wed, 20 Jan 2021 18:54:19 +0100 From: Lars Ingebrigtsen To: Lennart Borgman Subject: Re: bug#8083: cua global mark does much more than it announces References: X-Now-Playing: Joe Jackson's _Live 1980-86 (2)_: "Memphis" Date: Wed, 20 Jan 2021 18:54:16 +0100 In-Reply-To: (Lennart Borgman's message of "Sun, 20 Feb 2011 01:12:00 +0100") Message-ID: <87eeifmr3r.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: Lennart Borgman writes: > cua-toggle-global-mark doc string says: > > "Set or cancel the global marker. > When the global marker is set, CUA cut and copy commands will automatically > insert the deleted or copied text before [...] 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: 0.0 (/) X-Debbugs-Envelope-To: 8083 Cc: 8083@debbugs.gnu.org, storm@cua.dk 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 (-) Lennart Borgman writes: > cua-toggle-global-mark doc string says: > > "Set or cancel the global marker. > When the global marker is set, CUA cut and copy commands will automatically > insert the deleted or copied text before the global marker, even when the > global marker is in another buffer. > If the global marker isn't set, set the global marker at point in the current > buffer. Otherwise jump to the global marker position and cancel it. > With prefix argument, don't jump to global mark when cancelling it." > > However when cua global mark is set quite a few other things also > happens. For example self-insert-command is remapped so that the > character you type is inserted at cua global mark. (I'm going through old bug reports that unfortunately got no response at the time.) I've now adjusted the doc string to also mention inserted text in Emacs 28. > I think also that this desing is not good . It is surprising to an > uninformed user and it interferes very badly with viper for example. > > Kim, could we please remove this? Or do you have another suggestion? I have no opinion on the functionality itself, but I'm going to guess that there's not much enthusiasm to change it after all these years, so I'm closing this bug report. If people want to work on this, please respond to the debbugs address and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 20 12:54:32 2021 Received: (at control) by debbugs.gnu.org; 20 Jan 2021 17:54:32 +0000 Received: from localhost ([127.0.0.1]:56251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2Hge-0001Ec-9G for submit@debbugs.gnu.org; Wed, 20 Jan 2021 12:54:32 -0500 Received: from quimby.gnus.org ([95.216.78.240]:47616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2Hgc-0001EB-Mj for control@debbugs.gnu.org; Wed, 20 Jan 2021 12:54:31 -0500 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=Z5GCYNCnnFnwycZqf5K8eyOYoAbUUR8H6xXLm8fSDGk=; b=awLK0B75w3NpLtAOpAMWgz3jLg ahGndREVrFb8I+v6r6ELJWdMxWymXojq6fm/PBwJKmDaCmr8ONN2F1rkrMpeJWj2CGIBWFDz4vE+f K6zCJMEHUbVY30mNx1Y9qBdgl3gUaKfcxExLfSA94UKE5P2anc/sHCPYSPe6mzhqqckk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l2HgV-00026W-4a for control@debbugs.gnu.org; Wed, 20 Jan 2021 18:54:25 +0100 Date: Wed, 20 Jan 2021 18:54:22 +0100 Message-Id: <87czxzmr3l.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #8083 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 8083 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: 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 (-) close 8083 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 22 05:06:27 2021 Received: (at 8083) by debbugs.gnu.org; 22 Jan 2021 10:06:27 +0000 Received: from localhost ([127.0.0.1]:60026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2tKk-00044y-SP for submit@debbugs.gnu.org; Fri, 22 Jan 2021 05:06:27 -0500 Received: from fossa.ash.relay.mailchannels.net ([23.83.222.62]:11823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2tKh-00044n-J3 for 8083@debbugs.gnu.org; Fri, 22 Jan 2021 05:06:25 -0500 X-Sender-Id: chosting|x-authsender|storm@cua.dk Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id B5FFC921CB6; Fri, 22 Jan 2021 10:06:19 +0000 (UTC) Received: from ispc3.dotserv.com (100-96-18-5.trex.outbound.svc.cluster.local [100.96.18.5]) (Authenticated sender: chosting) by relay.mailchannels.net (Postfix) with ESMTPA id D2637921A72; Fri, 22 Jan 2021 10:06:17 +0000 (UTC) X-Sender-Id: chosting|x-authsender|storm@cua.dk Received: from ispc3.dotserv.com (ssl3.dotserv.com [178.20.217.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 0.0.0.0:2500 (trex/6.0.1); Fri, 22 Jan 2021 10:06:19 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: chosting|x-authsender|storm@cua.dk X-MailChannels-Auth-Id: chosting X-Eyes-Rock: 3bb6f79e268a989a_1611309979077_530427954 X-MC-Loop-Signature: 1611309979077:143983157 X-MC-Ingress-Time: 1611309979077 Received: from localhost (localhost [127.0.0.1]) by ispc3.dotserv.com (Postfix) with ESMTP id D5E8B106C070; Fri, 22 Jan 2021 11:06:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cua.dk; h= content-language:content-transfer-encoding:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject; s=dotserv; t= 1611309969; x=1613124370; bh=WgE06Y/jEsjlb7qT+W0tp5j5v0ogcOhf/R2 p7jo1HJc=; b=CThsirJe4hccBqSRbx2umrSPOwTwjhEisCuDXpSGsYnvaZK1Usn xiL1TmpnAKW9c873wMmDYcXT+VxdmDWXPb0XC73PgcPDZotTKZA+cqPABReCVsXl uGI5H5NCQihZn+bu9AoGamTuUBge/kXEP7ZaYWFp6UDJkc2Me0vJHnYw= X-Virus-Scanned: Debian amavisd-new at ispc3.dotserv.com Received: from ispc3.dotserv.com ([127.0.0.1]) by localhost (ispc3.dotserv.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id U9xfMPmPvWOT; Fri, 22 Jan 2021 11:06:09 +0100 (CET) Received: from [10.1.82.9] (80-197-127-197-cable.dk.customer.tdc.net [80.197.127.197]) (Authenticated sender: storm@cua.dk) by ispc3.dotserv.com (Postfix) with ESMTPSA id F17021064946; Fri, 22 Jan 2021 11:06:08 +0100 (CET) Subject: Re: bug#8083: cua global mark does much more than it announces To: Lars Ingebrigtsen , Lennart Borgman References: <87eeifmr3r.fsf@gnus.org> From: Kim Storm Message-ID: <9d363cfd-e58e-c679-af62-6ee0ec13f7dd@cua.dk> Date: Fri, 22 Jan 2021 11:06:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <87eeifmr3r.fsf@gnus.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 8083 Cc: 8083@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 (-) On 20/01/2021 18.54, Lars Ingebrigtsen wrote: > Lennart Borgman writes: > > However when cua global mark is set quite a few other things also > happens. For example self-insert-command is remapped so that the > character you type is inserted at cua global mark. Yes, that is by design. The main purpose of the global mark is that you can use it to easily reorganizing code. First you set the global mark to the place where you want to move some code. Then you successively "mark and move" various pieces of code to the global mark (and advance the mark). Typically, while doing this, you would want to add some "separation text" between the pieces of moved code, like whitespace, commas, or newlines, and that is why "self-insert" is remapped to insert at the global mark. Quirky but useful :-) > (I'm going through old bug reports that unfortunately got no response at > the time.) > > I've now adjusted the doc string to also mention inserted text in Emacs > 28. Thank you! >> I think also that this desing is not good . It is surprising to an >> uninformed user and it interferes very badly with viper for example >> >> Kim, could we please remove this? Or do you have another suggestion? I guess we could make an option to disable that specific feature of the global mark. Kim From unknown Tue Aug 19 07:28:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 19 Feb 2021 12:24:08 +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