X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1378668798; bh=fWYop4FPRxmrgyJ2r370ll/Xv5wrDnHWp60HSVGogHw=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=NRG960e/Hmf5fiADobioymWUqx04w5PcGBYkmF8M8FeRSCe8STIBYoMjTKyt+Qq3iWDX0QtIjICZ/ySamQ428iHYawrQ0FpEoPcwrAWfxFIbWczoHP0dX1+Ot2qiFkniQzomJwuO8OUx3tw+MnmLvw/MoC7NyCI9SsY3UCfSTsw= X-Yahoo-Newman-Id: 695823 DOT 12455 DOT bm AT smtp115 DOT sbc DOT mail DOT bf1 DOT yahoo DOT com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: h6m8f28VM1nqo_qdjHz.INLOEq0zEuU6xIV5SvKy0_mNlWi oB.MoBZ5HYvdpJegYQ2dzil9EBKYcEKRedEFihKY_wFYXScgNPHm6wsuyhdu uJCaPkkt1Q1bUcPA6ZKI9NaAcjiO8Ao0dDCn3y5BNCWvI9DGsjmCheFhpR0m 4wvIX5W5NAe_E_GAB3dj7rV792UYQ30.npNL2LDFVV0nZXq9SxdHixKaq2n5 KCFPekwe2meM3KuTPWv3uEs8uwXcwHFikqHQqAFEPMT0KfX6sPl7qFAIMFX4 VGl8enibvF4m4ChQjNCnnY5fW6x914Q1bxirQ31XMuj7RYtLrrd_cfupTCTV a81hjyHk6LhTC9pzCrH9Pbxx88gFZNpveDQ8QfDEGwF1dww_mm2Jf.KXVABT QikOxlHYIYP_JKTtNHPDvkdL1X6nx8y.TAEB1Aoz9KIAujyg3ql5ltyUVMkA QsrfKiukzdeZh2plspUzwS8crPH0EcKmegGzDKUwPhNKN36ehd1nVk26C22O 9RH0YoGbEu6tCZjXS5AEZwEB0RT1VsjQcQH0- X-Yahoo-SMTP: b8jVkbOswBAqZ4BhECp7nxPJUfTGEnEGv_G4qgQeZMeAbA-- X-Rocket-Received: from [192.168.1.66] (ehennes AT 71 DOT 134 DOT 213 DOT 142 with ) by smtp115.sbc.mail.bf1.yahoo.com with SMTP; 08 Sep 2013 12:33:18 -0700 PDT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: [Geda-developers] [geda-user] Revert "Reset refdes number to the question mark when parts are copied" From: Edward Hennessy In-Reply-To: <8738pff7xe.fsf@harrington.peter-b.co.uk> Date: Sun, 8 Sep 2013 12:33:16 -0700 Cc: peter DOT clifton AT clifton-electronics DOT co DOT uk, geda-user AT delorie DOT com, geda-developers AT lists DOT launchpad DOT net Message-Id: <2E514A97-D3A3-47AA-BD23-D25E44705C7A@sbcglobal.net> References: <1378645856 DOT 7052 DOT 5 DOT camel AT pcjc2lap> <1378658984 DOT 7052 DOT 12 DOT camel AT pcjc2lap> <8738pff7xe DOT fsf AT harrington DOT peter-b DOT co DOT uk> To: Peter TB Brett X-Mailer: Apple Mail (2.1508) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r88JXKgq018996 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 On Sep 8, 2013, at 12:08 PM, Peter TB Brett wrote: > Edward Hennessy writes: > >> On Sep 8, 2013, at 9:49 AM, Peter Clifton wrote: >> >>> On Sun, 2013-09-08 at 09:23 -0700, Edward Hennessy wrote: >>> >>>> Do you intend to check your script in, so the functionality is present in >>>> geda-gaf, and the user can select it in a configuration file? >>> >>> >>> I'll attach it to the bug, but currently do not have the time to add it >>> to the build. (TBH, I need to make sure it still _works_ after all the >>> scheme API work). >> >> >> If one of the scheme experts adds it at some point in the near future, >> that would be much appreciated. > > I'm not going to be able to get to it for at least a week because I'll > be on holiday. The delay will not cause a problem for me and thanks for looking into it. This functionality will save time when cutting and pasting common parts like bypass/decoupling capacitors, pull-up resistors, etc... >> It seems to me that the function to reset the refdes belongs in libgeda, >> but should be called from the scheme hook instead of the gschem source >> code. This way, the functionality is both configurable and the gaf >> command line tool could use the functionality in the future to reset >> all refdes for a schematic. > > The gaf command line tool can already access all Scheme code in the > library (via `gaf shell'). > Would there be a way to use the tool to reset all the refdes on a series of flat schematics? Cheers, Ed