Quick question...

Is there a real need for ioHook("symbol", args), i.e. for more arguments than just "symbol"?

Code like

https://github.com/fricas/fricas/blob/r1.3.13/src/interp/setvars.boot#L98

set l ==
  ioHook("startSysCmd", "set")
  UNWIND_-PROTECT(set1(l, $setOptions), ioHook("endSysCmd", "set"))

we can easily rewrite to

  ioHook("startSysCmd!set")

In fact, I doubt that we need to distinguish between "set", "abbrev", "display" etc. Wouldn't it be enough to just have

  ioHook("startSysCmd")

?

In case we switch to a one-argument-ioHook, the only external client I know of that would be in trouble is frimacs.

https://github.com/pdo/frimacs/blob/master/frimacs-process-mode.el#L54

Opinions?

Ralf

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/fricas-devel/e1107165-7f17-4b98-93cf-a96002deb87b%40hemmecke.org.

Reply via email to