Hi Doug,

Doug Coleman writes:

> Hi Jose,
>
> I'm trying to switch to Emacs again and I found that the developer-
> name variable is getting overwritten by FUEL when creating a new
> vocabulary.

This behaviour is controlled by the variable
`fuel-scaffold-developer-name', whose behaviour i've enhanced in the
patch below.

You can customize such behaviour either by M-x customize-variable or in
your .emacs with

  (setq fuel-scaffold-developer-name "Your name")

Setting it to null tells FUEL to use Factor's developer-name.

  (setq fuel-scaffold-developer-name "Your name")

(in the customization buffer this can be set via a menu option). If set
to a non-nil string, developer-name is no longer overwritten (the
corresponding fuel function uses with-scope).

I was setting this variable by default to Emacs' user-full-name because,
imo, this is the nicest behaviour to someone new to Factor using FUEL
as her first IDE; that also helped in not having vocabularies with no
proper attribution. I've changed the default to nil, although i still
think the previous default was better (what was definitely wrong was
setting developer-name permanently). I'll let you and the rest of the
core team to decided what's best :)

Thanks a lot for the report, and best of lucks with your Emacs comeback!

jao
---------------
The following changes since commit eb29378f65c9bd0ad3d690a0e597c9fa755b8848:
  Doug Coleman (1):
        send \r\n instead of \n for windows telnet clients

are available in the git repository at:

  http://git.hacks-galore.org/jao/factor.git emacs

Jose A. Ortega Ruiz (3):
      FUEL: Support for SYNTAX: parsing word.
      FUEL: developer-name is not overriden in scaffolds if so desired.
      FUEL: Use by default Factor's developer-name in scaffolds.

 extra/fuel/fuel.factor     |   10 ++++++----
 misc/fuel/fuel-scaffold.el |    5 +++--
 misc/fuel/fuel-syntax.el   |    5 +++--
 3 files changed, 12 insertions(+), 8 deletions(-)


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to