From unknown Tue Jun 17 22:11:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50954: 28.0.60; Shift selection commands moves the mark with active region Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Oct 2021 23:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50954 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 50954@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163313149821499 (code B ref -1); Fri, 01 Oct 2021 23:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Oct 2021 23:38:18 +0000 Received: from localhost ([127.0.0.1]:57587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWS6c-0005ah-6O for submit@debbugs.gnu.org; Fri, 01 Oct 2021 19:38:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:56192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWS6Y-0005aX-Q5 for submit@debbugs.gnu.org; Fri, 01 Oct 2021 19:38:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWS6V-0004gY-Cz for bug-gnu-emacs@gnu.org; Fri, 01 Oct 2021 19:38:12 -0400 Received: from mail-pl1-f177.google.com ([209.85.214.177]:36409) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWS6T-0007lP-0V for bug-gnu-emacs@gnu.org; Fri, 01 Oct 2021 19:38:10 -0400 Received: by mail-pl1-f177.google.com with SMTP id y5so7273277pll.3 for ; Fri, 01 Oct 2021 16:38:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=LDBzOwQt8xJ6ynfkjg/S+3WdXhAPVrPWJSlDvrZIbwM=; b=RUSp8eAFWXgcqj5DJaKXVCh1BkWBWc9KwO0Mkf4NgxQkVmXhB36XOWPRZSuS+LFJM9 6Tkq7vgT6niHyJUzewFnbBNslDUbssVSuzCpPJMiSLcICerFvH8v1M4duBAcqM3Ca1cY 6Yyo91sM9kvbcC8UGcv+epIrCPfMTVyKdQuT3XtoCDy5R2BtHBMzK8wrJv7J5Z3CeuXY Pc8aSKqhZOKXoT6CUORMEj6K8whDBSTFhZPDc47u73fVTHrC0UzONgj7b9eIjVcGtDUk ptofsT4SCjtfyTc3APERTNOUzOObhmbiAOyZnoKSoUPcCbjl3lRpNvUok+LKh27pTpff iCUw== X-Gm-Message-State: AOAM531hWTi4LsXIZ+uzzSobavoIuDHUd2i9ULBP7HD3ZlGobtb6nKX3 pFzeomYn+m2x59cDePWdgIRX4VwdcaKx3XF0aGgjrOVW X-Google-Smtp-Source: ABdhPJyF/3kuJywHH8FfnBrdbsu3AuGSBndtuGT9zBqqC7AZSQbtNdYnXptGn0+3WCgOE4wlwDFF0se3lBDne+zxf88= X-Received: by 2002:a17:90a:460a:: with SMTP id w10mr22720918pjg.132.1633131487490; Fri, 01 Oct 2021 16:38:07 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Sat, 2 Oct 2021 01:37:56 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=209.85.214.177; envelope-from=stefankangas@gmail.com; helo=mail-pl1-f177.google.com X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_40=-0.001, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.8 (/) 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.8 (-) 0. emacs -Q 1. C- 2. C-p 3. S- The result is that the first region, set in steps 1+2, is deactivated in step 3. In other words, step 3 moves the mark to point, and then moves point up one line. I expect that step 3 does not move the mark when there is an active region. From unknown Tue Jun 17 22:11:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50954: 28.0.60; Shift selection commands moves the mark with active region Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Oct 2021 06:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50954 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 50954@debbugs.gnu.org Received: via spool by 50954-submit@debbugs.gnu.org id=B50954.163315624630016 (code B ref 50954); Sat, 02 Oct 2021 06:31:01 +0000 Received: (at 50954) by debbugs.gnu.org; 2 Oct 2021 06:30:46 +0000 Received: from localhost ([127.0.0.1]:57739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWYXm-0007o2-HH for submit@debbugs.gnu.org; Sat, 02 Oct 2021 02:30:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWYXk-0007nq-7v for 50954@debbugs.gnu.org; Sat, 02 Oct 2021 02:30:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45216) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWYXa-0007jx-Pp; Sat, 02 Oct 2021 02:30:37 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3830 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWYX9-0005PC-Kx; Sat, 02 Oct 2021 02:30:17 -0400 Date: Sat, 02 Oct 2021 09:29:52 +0300 Message-Id: <83h7e0c527.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Sat, 2 Oct 2021 01:37:56 +0200) References: 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 (---) > From: Stefan Kangas > Date: Sat, 2 Oct 2021 01:37:56 +0200 > > 0. emacs -Q > 1. C- > 2. C-p > 3. S- > > The result is that the first region, set in steps 1+2, is deactivated > in step 3. In other words, step 3 moves the mark to point, and then > moves point up one line. > > I expect that step 3 does not move the mark when there is an active region. If this is what you expect, you want to customize shift-select-mode to 'permanent' (a new value in Emacs 28). The "usual" expectations are different, because shift-selection is documented to set mark. From unknown Tue Jun 17 22:11:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50954: 28.0.60; Shift selection commands moves the mark with active region Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Oct 2021 10:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50954 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 50954@debbugs.gnu.org Received: via spool by 50954-submit@debbugs.gnu.org id=B50954.163316977228095 (code B ref 50954); Sat, 02 Oct 2021 10:17:02 +0000 Received: (at 50954) by debbugs.gnu.org; 2 Oct 2021 10:16:12 +0000 Received: from localhost ([127.0.0.1]:57919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWc3v-0007J4-2m for submit@debbugs.gnu.org; Sat, 02 Oct 2021 06:16:12 -0400 Received: from mail-pl1-f170.google.com ([209.85.214.170]:36697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWc3s-0007Im-IQ for 50954@debbugs.gnu.org; Sat, 02 Oct 2021 06:16:09 -0400 Received: by mail-pl1-f170.google.com with SMTP id y5so7921666pll.3 for <50954@debbugs.gnu.org>; Sat, 02 Oct 2021 03:16:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=x8dU/sclRb1P0VlPYhSUBQYYrH3qREpl4HKr/PewWzc=; b=DKKVx4fJe+g4Qu619EnDdV3WWa6QBVen0Oj0f69rM+MJExxpcViXdW89MSfJt2h5lp pbPP76IddpU9qb1qQPJTUUoPF1+DPjkkM8SAIlgwG5h98cxj9F3BqaX+nrfW5xMjwrHz qIHSNqVN72D/HloerZrg+VLJNm5f0oNlFCm7hvEFq3MYG8eYs+J/Hd2wVNyeHsAbeuVo sF3XSEXCrThqScexNLA5p0U81Q7QQwt4Iu+gdXqOf3OfznurYfLr30I13b8vQgycOnyO tQ23E3j+H4uYPMFQdfl++/QsDUVZwP55gfPmgovvp0lRxfPBtdYUdRg/Tg94c/zqGdq6 KF1Q== X-Gm-Message-State: AOAM530reuoqFGoBJVIIpcYgz3CVXNIoTslJP6WMA39JM7BVBaSOYD1c 3/+vxMEe1wU7vUBxkZwwNakpkKFEBBly70wLE4U= X-Google-Smtp-Source: ABdhPJxf9T0na5KTiUR/piS6+aj1gfjfDvDEQH8kf9euK5LEGzQcTcqkS8B2b8pDiiAS5aDZf1ISTb139UPoUZhLyQc= X-Received: by 2002:a17:90a:460a:: with SMTP id w10mr25149549pjg.132.1633169762868; Sat, 02 Oct 2021 03:16:02 -0700 (PDT) MIME-Version: 1.0 References: <83h7e0c527.fsf@gnu.org> In-Reply-To: <83h7e0c527.fsf@gnu.org> From: Stefan Kangas Date: Sat, 2 Oct 2021 12:17:13 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) 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: -0.5 (/) tags 50954 + fixed close 50954 28.1 thanks Eli Zaretskii writes: > If this is what you expect, you want to customize shift-select-mode to > 'permanent' (a new value in Emacs 28). The "usual" expectations are > different, because shift-selection is documented to set mark. Aha, excellent. I see that you already pushed a documentation fix for this (commit a9052248da42), which looks good to me. Thanks. I'm therefore closing this bug.