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

Roland McGrath (roland@gnu.ai.mit.edu)
Thu, 17 Mar 94 20:37:03 -0500


>  > 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?

Yeah, sure.  I had the idea too, but suppressed mentioning it because of
the true hairy Lisp horror of it all.  But I suppose in this universe it's
certainly the winning thing to do.

It's easy enough to write efs-format and use it even for the internal ones.
No matter how much hair one needs to understand to want to set them, the
feature is still in theory useful for someone who in fact does.