emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64022: closed (Subject: 28.2; minibuffer-beginning-of-buffer fails t


From: GNU bug Tracking System
Subject: bug#64022: closed (Subject: 28.2; minibuffer-beginning-of-buffer fails to set mark)
Date: Sat, 17 Jun 2023 07:46:02 +0000

Your message dated Sat, 17 Jun 2023 10:44:56 +0300
with message-id <83v8fmr0qv.fsf@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@gnu.org.)


-- 
64022: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64022
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Subject: 28.2; minibuffer-beginning-of-buffer fails to set mark 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'.

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.

--- End Message ---
--- Begin Message --- 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@debbugs.gnu.org
> Date: Mon, 12 Jun 2023 18:49:30 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > From: Al Petrofsky <al@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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]