GNU bug report logs -
#61602
29.0.60; comint-mode redirection
Previous Next
Full log
View this message in rfc822 format
On Mai 12 2023, Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:
>>> > -If NO-DISPLAY is non-nil, do not show the output buffer."
>>> > +If NO-DISPLAY is non-nil, do not show the output buffer.
>>> > +If FINISHED-REGEXP is non-nil it is used as `comint-redirect-finished-regexp'
>>> > +instead of `comint-prompt-regexp'."
>>>
>>> Please clarify what "it" is.
>>
>> I think it's clear in this case: there's no other candidate for being
>> "it" here except FINISHED-REGEXP.
>
> When I first read this sentence, I interpretted it as:
>
> If F-R is non-nil, F-R is used as `c-r-f-r'. Otherwise F-R is used
> as `c-p-r'.
>
> I don't know. Maybe you see it differently, in which case I'm fine with
> not changing it.
Perhaps a better wording:
FINISHED-REGEXP is used as `comint-redirect-finished-regexp'. If
FINISHED-REGEXP is nil it defaults to `comint-prompt-regexp'.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
This bug report was last modified 2 years and 90 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.