When I compile the c++ file, emacs displays:
a compilation process is running;kill it?(y or n).
But y has no effect. How do I kill an active process in Emacs? there are many running processes in process list.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not sure if there is a simpler, interactive solution – but using a bit of elisp, you can get a buffer of information of processes by:
(list-processes)If you want a general purpose kill-all running processes, a simple example would be:
(mapcar 'delete-process (process-list))(note that we used of
process-listhere).If you want to delete a specific process by the name shown in the list processes buffer:
(delete-process (get-process "name of proc"))And here is a simple way you might make this interactive:
(if you do not use IDO, replace
ido-completing-readwithcompleting-reador similar)And then run or key bind
delete-process-interactiveto tidy up your stray processes.Though this is a solution, you might want to investigate what is causing this behavior further. For assistance with that from others, you will need to provide more information.