bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61602: [PATCH]: comint-mode redirection


From: Rah Guzar
Subject: bug#61602: [PATCH]: comint-mode redirection
Date: Fri, 12 May 2023 09:25:45 +0200
User-agent: mu4e 1.10.3; emacs 29.0.90

Hi Eli,

Eli Zaretskii <eliz@gnu.org> writes:

>> >  This variable is only used if the variable
>> > -`comint-use-prompt-regexp' is non-nil.
>> > +`comint-use-prompt-regexp' is non-nil.  The exception to
>> > +this is redirection.  Many commands including
>> > +`comint-redirect-send-command-to-process' use it as
>> > +`comint-redirect-finished-regexp'.
>>
>> This paragraph sounds a bit weird, but I don't know how to reword it.
>> Maybe someone else can help.
>
> I'm not sure the addition is necessary in the first place.  What is
> its purpose? why is it useful to mention those exceptional cases?

I think it is useful for those writing a comint derived mode who might
be tempted to not set 'comint-prompt-regexp' since it is going to be
unused by default. Redirection is an important enough facility in
my opinion for this to be pointed out.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]