Comment 9 for bug 787637

Revision history for this message
KaiMartin (kmk-familieknaak) wrote :

Thanks. No autonumber works as expected on add-component. It does not work on copy. No matter how I copy, the refdes stays the same on paste (yp, [ctrl-c], edit menu). I can't get Peters script to work, either. Feels like the copy-copy-component-hook just does nothing.

This are the gschemrc lines by which I try to activate renumber on copy:

(load-from-path "auto-uref.scm")
(load-from-path "unnumber-refdes.scm")
;(add-hook! copy-component-hook unnumber-refdes)
(add-hook! new-page-hook auto-uref-init-page)
(add-hook! add-component-hook auto-uref)
(add-hook! copy-component-hook auto-uref)

---<)kaimartin(>---