* bug#64165: ‘minibuffer-message’: naming/documentation bug
@ 2023-06-19 12:06 Shynur Xie
2023-06-19 17:12 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Shynur Xie @ 2023-06-19 12:06 UTC (permalink / raw)
To: 64165
Both the name and docstring of ‘minibuffer-message’ say it uses
minibuffer instead of echo area, but is this really the case?
I enabled ‘global-display-fill-column-indicator-mode’ and want to
disable ‘dispaly-fill-column-indicator-mode’ only in minibuffer, so I
add a function that will turn off that mode to ‘minibuffer-mode-hook’
but it doesn’t work. I find that if I switch to buffer
“ *Echo Area N*” then disable ‘display-fill-column-indicator-mode’,
the fill column indicator will disappear... So I guess there's a doc
bug. (<https://emacs.stackexchange.com/questions/77668>)
--
shynur
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#64165: ‘minibuffer-message’: naming/documentation bug
2023-06-19 12:06 bug#64165: ‘minibuffer-message’: naming/documentation bug Shynur Xie
@ 2023-06-19 17:12 ` Eli Zaretskii
2023-06-19 17:43 ` Shynur Xie
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2023-06-19 17:12 UTC (permalink / raw)
To: Shynur Xie; +Cc: 64165
> From: Shynur Xie <one.last.kiss@outlook.com>
> Date: Mon, 19 Jun 2023 12:06:27 +0000
> msip_labels:
>
> (<https://emacs.stackexchange.com/questions/77668>)
If I need to guess the issue which confused you, then will it help
saying in the doc string that 'minibuffer-message' works like
'message' when the current buffer is not the minibuffer?
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#64165: ‘minibuffer-message’: naming/documentation bug
2023-06-19 17:12 ` Eli Zaretskii
@ 2023-06-19 17:43 ` Shynur Xie
2023-06-20 12:33 ` bug#64165: " Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Shynur Xie @ 2023-06-19 17:43 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 64165@debbugs.gnu.org
> From: Eli Zaretskii
> Date: Mon, 19 Jun 2023 20:12:42 +0300
> To: Shynur
>
> If I need to guess the issue which confused you,
The issue that's bothering me is that both the name and documentation of
‘minibuffer-message’ says that ‘minibuffer-message’ uses minibuffer,
but after adding
(lambda ()
(display-fill-column-indicator-mode -1))
to ‘minibuffer-mode-hook’, then executing
(minibuffer-message "Message Line 1\nMessage Line 2")
I can still see the fill column indicator:
Message Line 1 │
Message Line 2
^ fill column indicator here
> will it help saying in the doc string that 'minibuffer-message'
> works like 'message' when the current buffer is not the minibuffer?
I simply don’t know whether ‘minibuffer-message’ works like ‘message’
when the current buffer is not the minibuffer; I'm not familiar with
how ‘minibuffer’ works.
I think if the documentation directly states: “message is shown in
echo area when the current buffer is not minibuffe” (if indeed this is
the case), it would clarify a lot.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#64165: Re: bug#64165: ‘minibuffer-message’: naming/documentation bug
2023-06-19 17:43 ` Shynur Xie
@ 2023-06-20 12:33 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2023-06-20 12:33 UTC (permalink / raw)
To: Shynur Xie; +Cc: 64165-done
> From: Shynur Xie <one.last.kiss@outlook.com>
> CC: "64165@debbugs.gnu.org" <64165@debbugs.gnu.org>
> Date: Mon, 19 Jun 2023 17:43:04 +0000
>
> I think if the documentation directly states: “message is shown in
> echo area when the current buffer is not minibuffe” (if indeed this is
> the case), it would clarify a lot.
Done on the emacs-29 branch, and closing the bug.
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-06-20 12:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-19 12:06 bug#64165: ‘minibuffer-message’: naming/documentation bug Shynur Xie
2023-06-19 17:12 ` Eli Zaretskii
2023-06-19 17:43 ` Shynur Xie
2023-06-20 12:33 ` bug#64165: " Eli Zaretskii
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.