From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74091: 31.0.50; string-pixel-width in mode line disables region Date: Thu, 31 Oct 2024 16:35:37 +0200 Message-ID: <865xp82vd2.fsf@gnu.org> References: <86y1254owq.fsf@gnu.org> <86ldy54m2g.fsf@gnu.org> <86ed3w33g1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6318"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74091@debbugs.gnu.org To: Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 31 15:36:25 2024 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 1t6WHg-0001Sz-3a for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 31 Oct 2024 15:36:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6WHL-00082E-MN; Thu, 31 Oct 2024 10:36:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6WHK-00081f-8B for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2024 10:36:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t6WHJ-0005wM-Vd for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2024 10:36:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=Vhaaiz5zFyLVTsJo76OScFaBMMpge5WheZqYW6miBIo=; b=SrC6btwJmIddqzsD01oiB+F+1rpmJn8CA/WYuDuI2Dq5BncNGOd2a5WbPX/ErRjeRzeVVJ4LfjixG9bndhf5JGtohGU9pUktIIH0Mjj/d9jgaZV0G3KJCvUt+LP2JrdBMLUJMJcZ/rHqJV0bW5jfYkpu11enaMsovws7rms2LECpeccJhgf9k9IJHjIWJXTDwVzS3qg1Dt2QOzcQAVEFdHLHKJjzQDTZC85B4FYBO8r7EswVqptw6aMY8k1QzUMIgWXfEr1ly5xnZ+hiv7NVDOezEWC1E6N8eOhfzsGYWqfJ/PR3jgvF7Wc3QneuR+72zAdcQoYjJuJGjV4lzw4+og==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6WHJ-00034m-RB for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2024 10:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Oct 2024 14:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74091 X-GNU-PR-Package: emacs Original-Received: via spool by 74091-submit@debbugs.gnu.org id=B74091.173038535611818 (code B ref 74091); Thu, 31 Oct 2024 14:36:01 +0000 Original-Received: (at 74091) by debbugs.gnu.org; 31 Oct 2024 14:35:56 +0000 Original-Received: from localhost ([127.0.0.1]:42357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6WHE-00034Y-B1 for submit@debbugs.gnu.org; Thu, 31 Oct 2024 10:35:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6WHC-00034L-9J for 74091@debbugs.gnu.org; Thu, 31 Oct 2024 10:35:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6WH6-0005v2-Kx; Thu, 31 Oct 2024 10:35:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Vhaaiz5zFyLVTsJo76OScFaBMMpge5WheZqYW6miBIo=; b=Km4GjlrYZDja NJNSjp6wDh9oFJ808etR0IyJn/CBLFCNpM2Mf2K/yW5D5+NpsrY2LfUafxle0YhzO8n6IN3j9sQ7f 0v30ziMAkbtGMOwK2oxGJKB3pXAuptBeNxBzNPTmiOHNEYf80DqsS5oX2KaNFhubExVMDODXvNFsB 5J9vLrO7aptJHzI7mkx4TWrB09SNMfOPddCYoJucAMjI1uoYy5VQGcwOsiIvl/AY5vgV6o/Au7PFV zriSDAYXaeo3SxGiQO23fpvzy8JqQs20d8AGB7Z/tKXHstJub+3Z+cOK5MQyLdS+UpjxkyUnnxEIN mNB46QLkCR5n8EsR0/nVdQ==; In-Reply-To: (message from Eshel Yaron on Thu, 31 Oct 2024 13:24:34 +0100) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294629 Archived-At: > From: Eshel Yaron > Cc: 74091@debbugs.gnu.org > Date: Thu, 31 Oct 2024 13:24:34 +0100 > > Eli Zaretskii writes: > > >> > The variable deactivate-mark only becomes buffer-local if set; > >> > otherwise the global value will be changed. > >> > >> Could you perhaps elaborate? I see that running a command that modifies > >> a different buffer does not deactivate the region in the current buffer, > >> which is basically what I would expect. > > > > You are asking me to elaborate about what? about the local value of > > deactivate-mark or about why you see what you see (in a scenario you > > haven't described)? > > What I'm asking is: under what circumstances is it expected that > after changing deactivate-mark in another buffer the mark is deactivated > in the current buffer? AFAIU, whenever deactivate-mark is not local to the buffer which is being changed. > > Look, you are welcome to keep debugging this if you are interested. I > > invested enough of my time into figuring out why the region was > > deactivated by C-n, and the solution I installed satisfies me. But > > you are welcome to keep digging, and let me tell you what I found to > > save you some non-trivial tinkering: > > Thank you, I'll keep digging and let you know if I figure it out. TIA.