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#64022: Subject: 28.2; minibuffer-beginning-of-buffer fails to set mark Date: Mon, 12 Jun 2023 18:49:30 +0300 Message-ID: <834jncy92t.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18542"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64022@debbugs.gnu.org To: Al Petrofsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 12 17:50:21 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 1q8joC-0004dX-O1 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Jun 2023 17:50:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q8jnw-00081e-4x; Mon, 12 Jun 2023 11:50:04 -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 1q8jnu-00080I-0Z for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2023 11:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q8jnt-0006vh-Lh for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2023 11:50:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q8jnt-0007N3-IO for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2023 11:50: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: Mon, 12 Jun 2023 15:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64022 X-GNU-PR-Package: emacs Original-Received: via spool by 64022-submit@debbugs.gnu.org id=B64022.168658496428286 (code B ref 64022); Mon, 12 Jun 2023 15:50:01 +0000 Original-Received: (at 64022) by debbugs.gnu.org; 12 Jun 2023 15:49:24 +0000 Original-Received: from localhost ([127.0.0.1]:40378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8jnH-0007MA-VL for submit@debbugs.gnu.org; Mon, 12 Jun 2023 11:49:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8jnF-0007Lu-0S for 64022@debbugs.gnu.org; Mon, 12 Jun 2023 11:49:22 -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 1q8jn9-0006lv-CF; Mon, 12 Jun 2023 11:49:15 -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=my/2DW9GNGPnySA81SMtfVCvP8dJw3foeCmf1K1yelE=; b=YrYnHnyTOsS9 Y0eRlPOtOOmlm8NJ/7DdVnbK54yG6qpAipaMS7SFteH6UCgAyv8+8UeZMH+v06V7T2akJTLQCnji3 PQMgNwnw7LjMepWN2z03kwpDaPYyxkrfIgigiSBPPMOZXbrRi5ocYb/1rChwuvnwLv1k1jgRJFomh haKKK7C7LmRsesUrMHD3o1ah/4RKnU2FeuBeux7uvNM+7O6lrR64e7gzOne+Mp5CHXK1B2YsxUYpC O30ptl0Pw2mX8RkdIaBVKMuB/mFArXx+YXWwQkI30O53I32qG5aAz9jOM8zLkXaqQSbim61svsSzX ra70uqTmA9O/Yjkye6cc2w==; Original-Received: from [87.69.77.57] (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 1q8jn8-0004Tb-SO; Mon, 12 Jun 2023 11:49:15 -0400 In-Reply-To: (message from Al Petrofsky on Mon, 12 Jun 2023 11:15:43 -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:263284 Archived-At: > From: Al Petrofsky > Date: Mon, 12 Jun 2023 11:15:43 -0400 > > emacs -Q > M-: foo M-< C-x C-x > > In emacs 26, point returns to the end of the minibuffer, but in 27 and > 28.2 a bogus "No mark set in this buffer" error is reported. > > I think the first 'when' in minibuffer-beginning-of-buffer is supposed > to be 'unless'. You are right. I've now fixed this on the emacs-29 branch. > Another issue is that this: > > emacs -Q > M-: C-x C-x > > correctly reports "No mark set in this buffer", but this: > > emacs -Q > M-: t C-@ RET > M-: C-x C-x > > does not. This does no harm, but logically the mark should probably > be unset when a new minibuffer is created. It's not a new minibuffer, it's the same "*Minibuf-1*" minibuffer used the first time. So I think Emacs behaves correctly here.