X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Virus-Scanned: Debian amavisd-new at mail.linetec.nl Message-ID: <29fb0d05-ccab-49a8-ac1d-deada1e6a216@linetec.nl> Date: Thu, 2 May 2024 17:15:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [geda-user] Gschem refdes autonumber over multiple pages? To: geda-user AT delorie DOT com References: <37de350c-1e5f-422f-b13a-c5a9a1e132ac AT linetec DOT nl> <20240429130455 DOT F01EF81AB8C5 AT turkos DOT aspodata DOT se> <20240430103043 DOT 32de22ff AT queeg DOT menasians DOT com> <20240430211916 DOT A6DBC81AB8C5 AT turkos DOT aspodata DOT se> <25416a96-c328-4b7e-8fa8-091c993205bd AT linetec DOT nl> <87sez18q32 DOT fsf AT gmail DOT com> <87o79p8jcu DOT fsf AT gmail DOT com> <87jzkd8cl6 DOT fsf AT gmail DOT com> From: "Richard Rasker (rasker AT linetec DOT nl) [via geda-user AT delorie DOT com]" Content-Language: nl-NL, en-US In-Reply-To: <87jzkd8cl6.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed 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 Hello Vladimir, Op 01-05-2024 om 23:02 schreef Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]: > Hi Richard, > > "Richard Rasker (rasker AT linetec DOT nl) [via geda-user AT delorie DOT com]" writes: > ... >> Yes, this works, great! Although right now it just outputs a list of numbers, and I haven't found out how to add something like Rfree= to the >> number for the R prefix. >> >> If you want to see its output, say, in the log window (e.g. in case you >> don't use any terminal for launching the GUI), you'll have to replace >> the "(display ...)" commands with something like >> (log! 'message "Counter for R is ~A\n" (lookup-counter-by-prefix "R")) >> >> Hm, that doesn't seem to work yet.... ... >> So from the Guile Reference I assume that I need to define log!, is that correct? > Not really, you have to import the module (geda log), I think. > Something like this: > (use-modules (srfi srfi-1) > (geda log) ; <= This one > (geda page) > (geda object) > (geda attrib)) > > HTH, > Vladimir Ah, yes, that was what was missing, thanks! And it has already come in handy too! Regards, Richard