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=ww1lmm/dSvwigFqGJ/nBlXorvzRj0vnMlZIQ2jUSpsg=; b=nLFnRTGk+amW37Iy+vWQaSWukghO/lRyxcIYCfhtY+WObST3+E+6In3bk/3OH4YsKt OvQOatBB2aH42vB7VtskP0byUv5HlpQeidH+bpJlRIrWvv3LVCcbhpS/JQA+9+hfLctq GO0rIXoaoi+UvaSzeODaf0Ac36MyRplQaXwbAyJ6KIoR7RxAc1KDEaEFlb6vgZd/nceM D1KoG/uypZzPE+vCVxyG9CEr9kYszpiR1qzoc6HF0Ntc9YMBKv0xcmht8F3kBdBGddzt VE4jxVS0muQ2OtT+dOjY4/jEMt/hMbPJkhrACV354AGX5Ezp//txCDQbahZhZwG4Rj9n cU/g== X-Received: by 10.195.11.233 with SMTP id el9mr1733380wjd.145.1449562457005; Tue, 08 Dec 2015 00:14:17 -0800 (PST) Date: Tue, 8 Dec 2015 09:14:11 +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: <20151208091411.c8968b0bedb705765529176c@gmail.com> In-Reply-To: References: <56658683 DOT 401 AT envinsci DOT co DOT uk> <20151207153821 DOT c2ac19e6f24b1776a3595e4a AT gmail 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=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id tB88EMFS021218 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 > El 7 de diciembre de 2015 15:38:21 CET, "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" escribió: > >It should only be a problem for the refdes since this is used as an > >object identifier. > > What about using filename/instance->x_coord,y_coord as unique object identifier? It might have been moved. Since changes are stored in a file it is rather good if the function to update is idempotent https://en.wikipedia.org/wiki/Idempotence so that if it is applied more than once it make no difference. To put a serial number on each symbol would work but change file format. To apply once is probably the method of choice but if updates are stored in a file changes must be idempotent or there must be a mechanism to check if update already have been done. To store some kind of number in *.pcb file or an extra file might be a solution. It is a small problem but unless someone already invented a solution it must be done. Nicklas Karlsson