Re: Buffer mode in start-process-shell-command vs async-shell-command

Khalid Rafi <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
Michael Albinus <[email protected]> writes:

> Khalid Rafi <[email protected]> writes:
>
> Hi Khalid,
>
>> async-shell-command uses shell-mode in the output buffer. But,
>> start-process-shell-command uses fundamental mode for the process
>> buffer. Is that a bug, or intentional?
>
> The docstring of async-shell-command tells
>
> --8<---------------cut here---------------start------------->8---
> That buffer is in major mode specified by the variable
> ‘async-shell-command-mode’.
> --8<---------------cut here---------------end--------------->8---
>
> This is different to  start-process-shell-command. So yes, it is
> intentional I believe.
>
> Best regards, Michael.

I mean, just like async-shell-command, start-process-shell-command
should also use Shell mode, since both of them are running shell
command. Why doesn't it? Is that a bug?

-- 
Khalid Rafi
Sent with Emacs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.