Skip to content

Other messages in minibuffer #123

@haji-ali

Description

@haji-ali

When using ctrlf, if a message is displayed while text is being inputted, the point position appears after the message rather than before. See this example for an illustration:

(minibuffer-with-setup-hook
    (lambda ()
      (add-hook 'post-command-hook
                (lambda () (message "Is that it?"))
                nil t))
  (ctrlf-forward-default))

When inputting text, the point is set after "Is that it?" but before the ctrlf indicator. If I use read-string instead of ctrlf-forward-default or when the ctrlf indicator disappears, the point position is correct.

Is there a way to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions