* bug#7137: two dashes appear after long y-or-n-p's
@ 2010-09-29 23:31 jidanni
2010-09-30 11:08 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: jidanni @ 2010-09-29 23:31 UTC (permalink / raw)
To: 7137
(y-or-n-p "this short question is quite normal ")
(y-or-n-p "however, with this longer question, be it containing
newlines or not, if it is beyond a certain width, like this one here
is on my terminal, a very funny \"--\" appears after the question.
Test it with C-x C-e OK? ")
It doesn't happen with yes-or-no-p.
emacs-version "24.0.50.1"
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#7137: two dashes appear after long y-or-n-p's
2010-09-29 23:31 bug#7137: two dashes appear after long y-or-n-p's jidanni
@ 2010-09-30 11:08 ` Eli Zaretskii
2010-10-01 8:05 ` jidanni
2010-10-04 18:16 ` Chong Yidong
0 siblings, 2 replies; 4+ messages in thread
From: Eli Zaretskii @ 2010-09-30 11:08 UTC (permalink / raw)
To: jidanni; +Cc: 7137
> From: jidanni@jidanni.org
> Date: Thu, 30 Sep 2010 07:31:40 +0800
> Cc:
>
> (y-or-n-p "this short question is quite normal ")
> (y-or-n-p "however, with this longer question, be it containing
> newlines or not, if it is beyond a certain width, like this one here
> is on my terminal, a very funny \"--\" appears after the question.
> Test it with C-x C-e OK? ")
> It doesn't happen with yes-or-no-p.
> emacs-version "24.0.50.1"
Probably the result of revno 101415:
2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
* subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
It causes read_key_sequence to be called, which calls echo_prompt,
which calls echo_now, which calls echo_dash, which displays the
dashes.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#7137: two dashes appear after long y-or-n-p's
2010-09-30 11:08 ` Eli Zaretskii
@ 2010-10-01 8:05 ` jidanni
2010-10-04 18:16 ` Chong Yidong
1 sibling, 0 replies; 4+ messages in thread
From: jidanni @ 2010-10-01 8:05 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 7137
On Thu, Sep 30, 2010 at 01:08:39PM +0200, Eli Zaretskii wrote:
> Probably the result of revno 101415:
>
> 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
>
> * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
>
> It causes read_key_sequence to be called, which calls echo_prompt,
> which calls echo_now, which calls echo_dash, which displays the
> dashes.
Well they look terrible.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#7137: two dashes appear after long y-or-n-p's
2010-09-30 11:08 ` Eli Zaretskii
2010-10-01 8:05 ` jidanni
@ 2010-10-04 18:16 ` Chong Yidong
1 sibling, 0 replies; 4+ messages in thread
From: Chong Yidong @ 2010-10-04 18:16 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 7137, jidanni
Eli Zaretskii <eliz@gnu.org> writes:
> It causes read_key_sequence to be called, which calls echo_prompt,
> which calls echo_now, which calls echo_dash, which displays the
> dashes.
I've checked in a fix.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-04 18:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-29 23:31 bug#7137: two dashes appear after long y-or-n-p's jidanni
2010-09-30 11:08 ` Eli Zaretskii
2010-10-01 8:05 ` jidanni
2010-10-04 18:16 ` Chong Yidong
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.