[update]
New versions of ESS (> 12.09) operate on buffer names instead of internal process names. Now you can rename your inferior buffer with M-x rename-buffer
and that will do the right thing. You can also configure ess-gen-proc-buffer-name-function
to set up the automatic custom renaming of process buffers on startup.
[/update]
R, R:2 etk are the process names in ESS. I asked this question on ess mailing list an year or so ago. It seems like there is no straightforward way of changing this behavior. It's an emacs feature not ESS. You can change buffer names associated with the process but process names will be unchanged.
Uniquify changes buffer names as far I could see. And in any case in recent versions of emacs buffers with same file name are designated with partial paths to make them unique. So it looks like uniquify was adopted into base emacs for files, but not for other stuff like proc names.
R
,R:2
, etc. not sure why, even after reading gnu.org/software/emacs/manual/html_node/emacs/Uniquify.html – Polyphemusess-switch-process
, you're choosing from a list of processes, not buffers. Based on this answer it looks like you can't change the name of a process, so you're stuck. I'd love to be able to do exactly what you're asking, though! – Flanker