From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Al Petrofsky Newsgroups: gmane.emacs.bugs Subject: bug#64022: Subject: 28.2; minibuffer-beginning-of-buffer fails to set mark Date: Mon, 12 Jun 2023 11:15:43 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e9cc0705fdf0318a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3972"; mail-complaints-to="usenet@ciao.gmane.io" To: 64022@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 12 17:17:25 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 1q8jIL-0000u5-I3 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Jun 2023 17:17:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q8jI0-0007cA-G4; Mon, 12 Jun 2023 11:17: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 1q8jHy-0007bg-KU for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2023 11:17: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 1q8jHy-0004Aq-BW for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2023 11:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q8jHy-0006OS-73 for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2023 11:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Al Petrofsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Jun 2023 15:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64022 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.168658297724513 (code B ref -1); Mon, 12 Jun 2023 15:17:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jun 2023 15:16:17 +0000 Original-Received: from localhost ([127.0.0.1]:40220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8jHE-0006NI-NQ for submit@debbugs.gnu.org; Mon, 12 Jun 2023 11:16:17 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8jHC-0006N8-KX for submit@debbugs.gnu.org; Mon, 12 Jun 2023 11:16:15 -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 1q8jGz-0007U1-MD for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2023 11:16:01 -0400 Original-Received: from mail-pl1-f170.google.com ([209.85.214.170]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q8jGx-0003wc-Gt for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2023 11:16:01 -0400 Original-Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1b3d4bbed8bso1897415ad.0 for ; Mon, 12 Jun 2023 08:15:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686582955; x=1689174955; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=TJuvyZKpFIe60vx2vez9CY1BuS9P4Y+As/nX9JUMOfE=; b=WKnYWRnDUZkwWzIjEpRH46mV+R7f00bE+6k/gktpiNDqmygyEh84hQbD2REPD6Tz6x lqNcdGronEge28TpNkaHY2mQesa+HIG+fqdx2GX52WKLq9z7LI0OXiWCGTb3fWGDORAG 5bGk6KpZOzu9b0G0ErWxNQyHrmmgwyLfiJN41PO5Hgm4kq37r3ARwrMi+YSUmziWlkKY H1L4fs6LgMs6y0S/esvfaTou3qQ7RyUlDwBIZ5VvVzCrHhAbPeasZwnQdcRqg/fDWIVR g/3pKcrVMvWyfxG2BhnXEH4s4wHPBvX7c1NtQmy4snzqoUjQOuyEl7z1cgDa1G6+HIg5 vKaw== X-Gm-Message-State: AC+VfDx+UscZ/THS1YbYZj8lKMR8Ef4CQEzPi+kgOCMZWRaBTmphDHaI COSr8hNtKiPLWE/eta3B+aX8NKgXeuq5ljH2AByY9s6lcXY= X-Google-Smtp-Source: ACHHUZ7PWuIJiWrV3MHks8BseWxjs5MD7VWcA2JpcHMmsFgQ5k7iPfz9b/GDYQ3nRJsEjO3sEMQWHG3eq9OcTX7zKm0= X-Received: by 2002:a17:90b:4f8a:b0:25b:88bc:bb6b with SMTP id qe10-20020a17090b4f8a00b0025b88bcbb6bmr10739212pjb.2.1686582954936; Mon, 12 Jun 2023 08:15:54 -0700 (PDT) Received-SPF: pass client-ip=209.85.214.170; envelope-from=al.petrofsky@gmail.com; helo=mail-pl1-f170.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:263282 Archived-At: --000000000000e9cc0705fdf0318a Content-Type: text/plain; charset="UTF-8" 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'. 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. --000000000000e9cc0705fdf0318a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0 =C2=A0emacs -Q
=C2=A0 =C2=A0M-: foo M-< C-x C= -x

In emacs 26, point returns to the end of the minibuffer, but in 2= 7 and
28.2 a bogus "No mark set in this buffer" error is repor= ted.

I think the first 'when' in minibuffer-beginning-of-buf= fer is supposed
to be 'unless'.

Another issue is that thi= s:

=C2=A0 =C2=A0emacs -Q
=C2=A0 =C2=A0M-: C-x C-x

correctl= y reports "No mark set in this buffer", but this:

=C2=A0 = =C2=A0emacs -Q
=C2=A0 =C2=A0M-: t C-@ RET
=C2=A0 =C2=A0M-: C-x C-x
does not.=C2=A0 This does no harm, but logically the mark should prob= ably
be unset when a new minibuffer is created.
--000000000000e9cc0705fdf0318a--