From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Parham Doustdar Newsgroups: gmane.emacs.bugs Subject: bug#44005: 28.0.50; Deleting region doesn't work Date: Thu, 15 Oct 2020 21:51:26 +0200 Message-ID: References: <87lfg7yl5m.fsf@gnus.org> <83h7qvy3up.fsf@gnu.org> <87lfg7woj6.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000de057b05b1baf9ce" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8850"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 44005@debbugs.gnu.org To: Andrii Kolomoiets Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 15 21:52:33 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kT9Ie-0002Cw-3Z for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Oct 2020 21:52:32 +0200 Original-Received: from localhost ([::1]:56178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kT9Id-00072U-5g for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Oct 2020 15:52:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kT9IA-00071k-Mw for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2020 15:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kT9I9-0007es-Ka for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2020 15:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kT9I9-0001DZ-K7 for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2020 15:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Parham Doustdar Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Oct 2020 19:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44005 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 44005-submit@debbugs.gnu.org id=B44005.16027915064660 (code B ref 44005); Thu, 15 Oct 2020 19:52:01 +0000 Original-Received: (at 44005) by debbugs.gnu.org; 15 Oct 2020 19:51:46 +0000 Original-Received: from localhost ([127.0.0.1]:56640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT9Ht-0001D6-NR for submit@debbugs.gnu.org; Thu, 15 Oct 2020 15:51:45 -0400 Original-Received: from mail-lj1-f174.google.com ([209.85.208.174]:41160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT9Hr-0001Cu-VW for 44005@debbugs.gnu.org; Thu, 15 Oct 2020 15:51:44 -0400 Original-Received: by mail-lj1-f174.google.com with SMTP id p15so61002ljj.8 for <44005@debbugs.gnu.org>; Thu, 15 Oct 2020 12:51:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EjJ8qUvZel5JW/9RQtjOAiU37eHTdKVqvYiXYX4akJM=; b=kumz+1sDHVP4YkCeA2PJ5HLFZCoJD6ITVaSCELFyObTWgOxvmCMd4G8y3hvSDvQw9G PuzPGkwgnSEWYs2cslxSBh/0RZBUQsRfsK2+VcTh0CrCa1vhqTMr8EpGVHGlY/AMX7rQ T1Rk4omlN9tnPEuXSH+IOwvEy7Oy+q6zdySfOZYtRRudWKujWu/EdN2uQSLeNr/Ojk6g OnaLuWlYD3lhEYlXWNMSbzBwe+5t7S3LZDxeHmyV6nXwrJzlD+IvHG8523dW232zCwO+ qxqms/7Ffbdj2cKdtUyhIdeUxUJ3amMIe9D5KhVZ7p2eWQoUT9N1g5aIJ9sF4yVUp/S8 74Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EjJ8qUvZel5JW/9RQtjOAiU37eHTdKVqvYiXYX4akJM=; b=hhBamJJDVxFn1cn247/1Rv+kE59liwYi5X1caSW1VmWc1cMzGU0lXp2kEzx1OQzuwF BO4Iz64fzBtfXbR0mDlJbYDLG/jSh3RoeJwwXmShO0qOyhcdDy01WuKACarEHVDX9Zh5 8kvfSD8OsEglasd3NW4/tQx+FF5x668Kh8/tZW4erwAb/MbAf6zk/i1abGmGjkE3oeYq Z8oLXkBr9i9/AGaMonYZiIf1Kh4cRAzIPc7eA9GLO2KpovTKFTvHJSaAdKFwLtZolcV5 aW8SN0sqmWvATMOU2bodtwdO0gPqlrd92prPQ2+StuC+Z3CAVTsllpUObg6tPL6d5jNh umQg== X-Gm-Message-State: AOAM5317bEgkyR1OLjovBoJgaQD6Fbl1E37XmZPdL76TSfkShNM41omk 27/4S3GWbwoKrCKxUyr/yClBawbTu+uTRi+Uiu8= X-Google-Smtp-Source: ABdhPJyej2s3RZ/DP3U/UHw0rE5pV9zcZJ1SODTCJUiRXEQAJ6yLYWT30MTPUrL3/xi9tE2RRcwzlbX3/iLArX4+aTA= X-Received: by 2002:a2e:8596:: with SMTP id b22mr116070lji.455.1602791497662; Thu, 15 Oct 2020 12:51:37 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:190631 Archived-At: --000000000000de057b05b1baf9ce Content-Type: text/plain; charset="UTF-8" Hi, Reading the documentation for the variable you just pointed to made me realize that maybe transient-mode is somehow being turned off. I did `emacs -Q`, and checked the value of `transient-mark-mode' in the customize interface. It says that the value was "modified outside customize". So, something is setting this variable to nil, even though the standard value is `t'. No idea how this could be caused (maybe it's caused by the emacs-plus homebrew formula I'm using?) but at least I can get rid of the weird behavior by turning on transient mark mode now. Thanks a lot everyone for all the help. I really appreciate it. Best, Parham On Thu, Oct 15, 2020 at 9:29 PM Andrii Kolomoiets wrote: > Parham Doustdar writes: > > > Hi there, > > runs `delete-backward-char'. > > What is the value of the `delete-active-region` variable? > > I can reproduce your issue by these steps: > 1. emacs -Q > 2. M-: (setq delete-active-region nil) > 3. C-x h > 4. M-x delete-backward-char > > But if I skip step 2 the selected text is deleted. > --000000000000de057b05b1baf9ce Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
Reading the documentation for the variable you jus= t pointed to made me realize that maybe transient-mode is somehow being tur= ned off.
I did `emacs -Q`, and checked the value of `transient-ma= rk-mode' in the customize interface. It says that the value was "m= odified outside customize".
So, something is setting this va= riable to nil, even though the standard value is `t'.
No idea= how this could be caused (maybe it's caused by the emacs-plus homebrew= formula I'm using?) but at least I can get rid of the weird behavior b= y turning on transient mark mode now.
Thanks a lot everyone for a= ll the help. I really appreciate it.
Best,
Parham
=

= On Thu, Oct 15, 2020 at 9:29 PM Andrii Kolomoiets <andreyk.mad@gmail.com> wrote:
Parham Doustdar <parham90@gmail.com> writes= :

> Hi there,
> <DEL> runs `delete-backward-char'.

What is the value of the `delete-active-region` variable?

I can reproduce your issue by these steps:
1. emacs -Q
2. M-: (setq delete-active-region nil)
3. C-x h
4. M-x delete-backward-char

But if I skip step 2 the selected text is deleted.
--000000000000de057b05b1baf9ce--