GNU bug report logs - #64022
Subject: 28.2; minibuffer-beginning-of-buffer fails to set mark

Previous Next

Package: emacs;

Reported by: Al Petrofsky <al <at> petrofsky.org>

Date: Mon, 12 Jun 2023 15:17:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#64022: closed (Subject: 28.2; minibuffer-beginning-of-buffer
 fails to set mark)
Date: Sat, 17 Jun 2023 07:46:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 17 Jun 2023 10:44:56 +0300
with message-id <83v8fmr0qv.fsf <at> gnu.org>
and subject line Re: bug#64022: Subject: 28.2; minibuffer-beginning-of-buffer fails to set mark
has caused the debbugs.gnu.org bug report #64022,
regarding Subject: 28.2; minibuffer-beginning-of-buffer fails to set mark
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
64022: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64022
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Al Petrofsky <al <at> petrofsky.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Subject: 28.2; minibuffer-beginning-of-buffer fails to set mark
Date: Mon, 12 Jun 2023 11:15:43 -0400
[Message part 3 (text/plain, inline)]
   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.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: al <at> petrofsky.org
Cc: 64022-done <at> debbugs.gnu.org
Subject: Re: bug#64022: Subject: 28.2;
 minibuffer-beginning-of-buffer fails to set mark
Date: Sat, 17 Jun 2023 10:44:56 +0300
> Cc: 64022 <at> debbugs.gnu.org
> Date: Mon, 12 Jun 2023 18:49:30 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > From: Al Petrofsky <al <at> petrofsky.org>
> > 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.

No further comments, so I'm now closing this bug.


This bug report was last modified 2 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.