From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bruno Boal Newsgroups: gmane.emacs.bugs Subject: bug#64730: 30.0.50; Mark activation doesn't work after insert Date: Wed, 19 Jul 2023 12:17:21 +0100 Message-ID: <87zg3sm9q6.fsf@bboal.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12544"; mail-complaints-to="usenet@ciao.gmane.io" Cc: public@protesilaos.com To: 64730@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 19 16:08:26 2023 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 1qM7qr-00031J-TR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jul 2023 16:08:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qM7qV-0006YE-U3; Wed, 19 Jul 2023 10:08: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 1qM7qU-0006Xv-Bf for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 10:08: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 1qM7qU-0003VM-4M for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 10:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qM7qT-0004AE-TT for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 10:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bruno Boal Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jul 2023 14:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64730 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.168977563815949 (code B ref -1); Wed, 19 Jul 2023 14:08:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Jul 2023 14:07:18 +0000 Original-Received: from localhost ([127.0.0.1]:56884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM7pl-00049A-2I for submit@debbugs.gnu.org; Wed, 19 Jul 2023 10:07:18 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:36960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM5Bd-0002Tz-GJ for submit@debbugs.gnu.org; Wed, 19 Jul 2023 07:17:44 -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 1qM5BY-0002yY-65 for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 07:17:36 -0400 Original-Received: from mout-p-202.mailbox.org ([80.241.56.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qM5BU-0004Uc-PY for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 07:17:35 -0400 Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4R5YFH52d8z9sCy; Wed, 19 Jul 2023 13:17:23 +0200 (CEST) Received-SPF: pass client-ip=80.241.56.172; envelope-from=egomet@bboal.com; helo=mout-p-202.mailbox.org X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 19 Jul 2023 10:07:15 -0400 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:265537 Archived-At: Dear maintainers, I'm trying to evaluate the following snippet in emacs -Q, however as soon as I try to insert a character, the region is not highlighted anymore. `activate- mark' doesn't make it work either. Whereas interactively with `exchange-point-and-mark' the region gets proper highlight. (progn (insert "") (push-mark (line-beginning-position) :no-message :activate)) (progn (insert "a") (push-mark (line-beginning-position) :no-message :activate)) All the best, Bruno Boal In GNU Emacs 30.0.50 (build 4, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2023-06-18 built on bb-hp-tiny Repository revision: 1b0348d95934a66d9991a7331ab55e1b9a6c1367 Repository branch: makepkg Windowing system distributor 'The X.Org Foundation', version 11.0.12101008 System Description: Manjaro Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-modules --without-libotf --without-m17n-flt --without-gconf --with-native-compilation=yes --with-xinput2 --with-x-toolkit=lucid --with-xft --with-xaw3d --without-cairo --with-sound=no --with-tree-sitter --without-gpm --without-compress-install '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: ACL DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XFT XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_COLLATE: C value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: pt_PT.UTF-8 value of $LC_NUMERIC: pt_PT.UTF-8 value of $LC_TIME: pt_PT.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix