Re: EFS 1.6 bug: efs-fancy-buffer-names nil loses

sandy@ibm550.sissa.it
Fri, 18 Mar 1994 01:30:38 +0100


Roland,

On Thu, 17 Mar 94 you wrote:

 > Funky bug reporter, guys.  With efs-fancy-buffer-names set to nil, I get an
 > error.

Thanks. Fixed it.

 > I have to set it to "%s" for what I want.  BTW, these variables
 > that take format strings are cute but not flexible enough to be worthwhile.
 > What if I wanted "HOST:USER"?  Should have a generator function instead or
 > something; pass it the host and user and use its return value.  I think
 > there are some other cases like this (format string variables); they suffer
 > from the same inherent limitations.

Would you be happy if I treated efs-fancy-buffer-names so that stringp
would mean handle as now, nil do things normally, else call as a
function with args host, user, and file?

The other format variables are:

efs-mode-line-format  -- this takes only one arg, though.  The number
                         of running connections, so a format variable
                         is completely flexible here.
efs-ftp-buffer-format -- takes host and user args again.  However,
                         there doesn't seem a lot of point in
                         supporting arb. formats here.  The format
                         variable was only added to allow users to
                         add a space to the beginning.

There are also a bunch of format variable for the remote path syntax.
These are for code structure though.  They aren't user config vars.
You really need to understand the guts to play with these.

--sandy