From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#35177: 27.0.50; Binding deactivate-mark to nil unexpectedly deactivates the mark Date: Tue, 09 Apr 2019 19:46:30 -0400 Message-ID: <87o95ebv3d.fsf@gmail.com> References: <831s2dakjz.fsf@gnu.org> <877ec5wid3.fsf@metalevel.at> <83d0lx8bsb.fsf@gnu.org> <87mul0rezk.fsf@metalevel.at> <838swk8rfr.fsf@gnu.org> <87o95gfqdp.fsf@metalevel.at> <87a7h0cadq.fsf@gmail.com> <87ftqrtd18.fsf@metalevel.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="166817"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux) Cc: 35177@debbugs.gnu.org To: Markus Triska Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 10 01:47:21 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hE0SX-000hGh-6D for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Apr 2019 01:47:21 +0200 Original-Received: from localhost ([127.0.0.1]:50727 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hE0SW-0006hv-8M for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Apr 2019 19:47:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hE0SJ-0006hq-Hj for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2019 19:47:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hE0SH-0005uk-Jq for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2019 19:47:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38616) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hE0SE-0005rW-Jp for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2019 19:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hE0SE-0004oj-FG for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2019 19:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Apr 2019 23:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35177 X-GNU-PR-Package: emacs Original-Received: via spool by 35177-submit@debbugs.gnu.org id=B35177.155485360018485 (code B ref 35177); Tue, 09 Apr 2019 23:47:02 +0000 Original-Received: (at 35177) by debbugs.gnu.org; 9 Apr 2019 23:46:40 +0000 Original-Received: from localhost ([127.0.0.1]:52160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hE0Rr-0004o4-Ua for submit@debbugs.gnu.org; Tue, 09 Apr 2019 19:46:40 -0400 Original-Received: from mail-qt1-f169.google.com ([209.85.160.169]:38115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hE0Rq-0004nq-GE for 35177@debbugs.gnu.org; Tue, 09 Apr 2019 19:46:38 -0400 Original-Received: by mail-qt1-f169.google.com with SMTP id d13so811596qth.5 for <35177@debbugs.gnu.org>; Tue, 09 Apr 2019 16:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=KR8uR/k9CCNKtaZSam4s3KqIFg6TFFhzSfFL8L/CmAc=; b=dV6xWvLPWagf2mNulXvy9NOmJzOCp5v5A9DWGgO+UmwWB/7fmTr0lr17f5XZGge7Y2 9rkIyk62GVvrBV7DJ/aEF3SWc87/ZDF4WfvUtaZZ1jNCQb6EA1dEWPhc99OAqfVR24pE Ii+niaXLmlcmR6+TsELxQSeBvti8Y3FbjKM1R2nscMELhKUfIJ5uXC+ggIBjNOakjUuc tZvfucA3aWwo5HFRkHa/p/zAkEyk8dpbcymbJiOGHnfIIU4V7e1ktSGfCyphO8ipIc+2 TgXFY8KVshKl6EW25LKOtNSdN/MIdij6ptZh2jx285vezaPZtOvd95eEEHnkeyMbDPJY 2qNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=KR8uR/k9CCNKtaZSam4s3KqIFg6TFFhzSfFL8L/CmAc=; b=r8YQkoUUNTZ7XYCPEAGGvL1F1ZiIPk8AetcDCLNzzYs87DS/akMIodiqzU9ub7lA71 UP4VXotTCZnQDMNjVDAlKZ1CgNWVQ93kjUsyPnEeb+7A7x6XsEMCapwhmPt48j6vPe2Z YaZFFBDPtmZM++Aallk69UbVkjYpmA5QKjBKLYr0d1ifycOPA6cYiMOOM2GB4i7mTXY/ cqZ8ESkpbP9lzw50m3Zx4JH0Y9CzO5hpOVFlrHYtT1klKMa3UcFIJzebF7Gg293/V/dZ nenMUmTfwMGR9hY7AgQeZR1ynEJdw6Wt2u62opNAFAYLBherk0X74hXOaFcQnf9Msykd V+Fg== X-Gm-Message-State: APjAAAVHpbbAWVo8xV7rAwwbFENkzMG2PYbXH+3IJOCHfNXIcyNTaKV4 bpDZ5qEygF3Y1g0sn7zy1go= X-Google-Smtp-Source: APXvYqzrmcaQ+zErVySlkEddnmTrMjwSnCfhmInXJZ2eSTpkGn5p5HpIIUj+/WY+zB6xgKtkTKKyiA== X-Received: by 2002:ac8:2ecf:: with SMTP id i15mr34619681qta.314.1554853592814; Tue, 09 Apr 2019 16:46:32 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id 194sm13609663qkd.72.2019.04.09.16.46.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Apr 2019 16:46:31 -0700 (PDT) In-Reply-To: <87ftqrtd18.fsf@metalevel.at> (Markus Triska's message of "Tue, 09 Apr 2019 17:26:59 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:157437 Archived-At: Markus Triska writes: > 3. In that Emacs instance, please do: > > M-x evaluate-buffer RET M-x mark-test-run RET > > After this, "hello" is displayed and the mark is active. > Can you reproduce this? Sort of. There is some interaction with the suggest-key-bindings feature. On the first run, the mark stays active until the message with the suggestion goes away, and only then gets deactivated. You can run the command =E2=80=98mark-test-run=E2=80=99 with M-x ma-t R= ET If set suggest-key-bindings to nil, or type in exactly M-x ma-t RET, then the mark is deactivated the first time too. > This seems related to the current issue. However, if you consider this > unrelated, please let me know, and I will file this as a separate issue. Yeah, I think it's the same issue. If I include (setq suggest-key-bindings nil) and (make-local-variable 'deactivate-mark) then the mark stays active consistently.