all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: rahguzar@zohomail.eu, 60468@debbugs.gnu.org
Subject: bug#60468: 29.0.60; next-history-element places cursosr inconsistently
Date: Thu, 05 Jan 2023 20:31:12 +0200	[thread overview]
Message-ID: <83lemgx28f.fsf@gnu.org> (raw)
In-Reply-To: <86fscp5gv8.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 05 Jan 2023 19:42:35 +0200)

> Cc: 60468@debbugs.gnu.org
> From: Juri Linkov <juri@linkov.net>
> Date: Thu, 05 Jan 2023 19:42:35 +0200
> 
> >         (setq-local minibuffer-temporary-goal-position
> >                     (cond ((<= (point) prompt-end) prompt-end)
> >                           ((eobp) nil)
> >                           (t (point))))))
> >
> >   The unexpected behavior I described earlier is caused by the
> >   first clause in the cond above which treats the cursor at the
> >   end of the prompt with no input to be inside the prompt while
> >   to me it seems better to treat the cursor as being at end of
> >   buffer.
> >
> >   From my own habit, it seem better leave the cursor at the end
> >   of the input unconditionally. Does it makes sense to provide
> >   that at least an option?
> 
> If Eli will agree to an option, then after changing in goto-history-element
> from (<= (point) prompt-end) to (< (point) prompt-end), please also change
> in next-line-or-history-element from (> (point) prompt-end) to
> (>= (point) prompt-end) and in previous-line-or-history-element
> from (> (point) prompt-end) to (>= (point) prompt-end)
> depending on that option.

On master, please.





      reply	other threads:[~2023-01-05 18:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-01 14:51 bug#60468: 29.0.60; next-history-element places cursosr inconsistently Rah Guzar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-05 17:42 ` Juri Linkov
2023-01-05 18:31   ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83lemgx28f.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=60468@debbugs.gnu.org \
    --cc=juri@linkov.net \
    --cc=rahguzar@zohomail.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.