2002-04-26 James LewisMoss <dres@lewismoss.org>
* background.el (background-get-job-name): var holding the func to use to generate the background buffer id/name. (background-search-job-space): search buffer list for a buffer generated from FORM (which includes a %d number field) and return the first that no longer has a process connected to it. (background-get-job-name-simple): generate a simple background buffer name "background-%d" (format-quote-string): just replace % with %% in string so format won't be unhappy. (get-bottom-dir): grab last dir part in string (/usr/foo/bar -> bar) (background-get-job-name-command): more complex background namer "BG(<command run>)%d" (background-get-job-name-command-n-dir): and a more complex background namer "BG(<last dir name>)(<command run>)%d" (background): use new background-get-job-name custom var to generate the background name.
Please register or sign in to comment