X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=Uq0KrOYzLrEgWjQoyrqrxAHKB5FRwuI3/b8odXL0ztk=; b=w7EUiL6u1DOcb7F6bIv8/q++d6gisinSYZDdwjdcFhv28Qvwkdngq2NsDKVfoTEnyc ltaCsMQ8690/5syLnckqHK0BtE7vWkNySmpXci4HCf+I1nSGChnswCm6GXlCqhqnna5x D7vZl0HqexNFBzRUmfLYY4Q7//ATXnBQNj51Wez/Ma8VI79yY0z6FqvCfJ8SaBUVgUL+ rlG0jwG2l8ZxIlsMxMs0q5JbSwIbRHnIHFBdTiAR4Gg7qmIvVV/UdNhV6DsyLvYEYl1h PplqPDooKAd0Wcda7ogGrXrhQ5U4FFjfcESClZWfeCC79j8Ea20FamYbkDnYwQ7+SseN pfDQ== X-Received: by 10.194.19.133 with SMTP id f5mr9646709wje.48.1449694765005; Wed, 09 Dec 2015 12:59:25 -0800 (PST) Date: Wed, 9 Dec 2015 21:59:18 +0100 From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] gsch2pcb after refdes-renum? (If implemented syncronization detail) Message-Id: <20151209215918.49763f9649956199be07f011@gmail.com> In-Reply-To: <86263A11-92E5-402B-95E5-5228B6FE1C65@noqsi.com> References: <56658683 DOT 401 AT envinsci DOT co DOT uk> <20151207153821 DOT c2ac19e6f24b1776a3595e4a AT gmail DOT com> <20151208091411 DOT c8968b0bedb705765529176c AT gmail DOT com> <201512081819 DOT tB8IJBrt022764 AT envy DOT delorie DOT com> <20151208205451 DOT bb2478f8722e1a885822689d AT gmail DOT com> <201512082019 DOT tB8KJOlP030874 AT envy DOT delorie DOT com> <72D9CDFB-BB8D-4A81-9712-2D58F802B900 AT sbcglobal DOT net> <86263A11-92E5-402B-95E5-5228B6FE1C65 AT noqsi DOT com> X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > >> Hence, my position that something other than refdes is needed to > >> identify "this symbol" or "that gate". Tracking the lifetime of a > >> symbol so you can refer to "the one I used back when" is the trick > >> part I was asking about. > >> > >> If we really want to cleanly support simple operations like "rename a > >> part" we need to change gaf's dependency on the name identifying "the > >> part", and start treating the refdes like any other generic attribute. > > > > Perhaps gschem could assign an artificial or surrogate key to the symbol and store it in an attribute. > > And then what happens when you make a copy? A serial number increased each time an object is changed and if you make a copy it will be assigned the last number(s). The serial number of course have to be stored, I do not like this approach, I guess rename is a special event and some kind of special handling might be better. Nicklas Karlsson