[ESS] ESS process selection menu

Vitalie Spinu spinuvit at gmail.com
Wed Dec 12 15:36:58 CET 2012

  >> Vitalie Spinu <spinuvit at gmail.com>
  >> on Sat, 17 Nov 2012 00:07:25 +0100 wrote:

  >> Michael Lawrence <lawrence.michael at gene.com>
  >> on Fri, 16 Nov 2012 11:48:58 -0800 wrote:

  >> Had some ideas for improving the menu that comes up when switching/choosing
  >> ESS processes for a buffer. Right now, it lists the process names, whereas
  >> it would be easier on the mind if it used the name of the buffer with which
  >> the process is associated. 

  > Yes, this is on our to do list of pretty high priority. Thanks for the
  > reminder.

I have just done that and it is available in both SVN and git repos.

Not only that the switching menu (C-c C-s) now works with buffer names,
you also have an option to automatically name the process buffer on
process startup.

The variable ess-gen-proc-buffer-name-function holds a function of one
argument (process name) that generates a buffer name on process

There are a couple of obvious default values that you can customize it
to: *proc*, *proc:dir* and *proc:abbr-long-dir*, where DIR is the
start-up directory of the process. You can write your own naming
function. See this variable doc for more.

If there are other reasonable ideas for how to name the process buffer
on startup, let me know and I will include that into the default custom


More information about the ESS-help mailing list