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=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Zxrf91SfnZDbkThNnmVusozhMhMIStoUPmprIkXzV6o=; b=jbAgmuUxlmKiY0icpVXGfypnqDyvFnax6YOHu3u1FQFDol9nJ7GvD3r6uwW4de29+s tW5n+LcSsl+SKVz2G6kGoaM1ZFlF3p+/TGzDHfxWDhEz0VHArQB+iruJTsHs7sk5J5v4 CIgow1BUp8wfL4nBIpeBSLNntD+Sv3DRTJlBytaylVw+6cOwj/MZRj0bIH7MLAA3+4n5 GDYPkrRaPjlw+3zsEbVuPmvG23a88e/UIPKJKns10NNeQU/IwiSB/ZA3y5XDNj/lQTIq HUjCnsQGesjNzq6oQzWprYrUPb3dj9OIQhdnW7n/KzGvZ+O9hJGMEk9TRSA5XfL6wtQR JC6A== X-Received: by 10.112.72.164 with SMTP id e4mr10666277lbv.113.1437073242098; Thu, 16 Jul 2015 12:00:42 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20150716184217.GA14931@localhost.localdomain> References: <201507120145 DOT t6C1jnc8020051 AT envy DOT delorie DOT com> <1436950214 DOT 2876 DOT 57 DOT camel AT linetec> <20150715202828 DOT GA17392 AT localhost DOT localdomain> <20150715211802 DOT GB17392 AT localhost DOT localdomain> <20150716070933 DOT GA14277 AT localhost DOT localdomain> <20150716184217 DOT GA14931 AT localhost DOT localdomain> From: "Ala'a Mohammad (amalawi AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Thu, 16 Jul 2015 23:00:02 +0400 Message-ID: Subject: Re: [geda-user] gschem hooks To: geda-user AT delorie DOT com Content-Type: text/plain; charset=UTF-8 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 I was using ack-grep, but thanks for teaching me a new way! Ala'a On Thu, Jul 16, 2015 at 10:42 PM, Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > On Thu, Jul 16, 2015 at 07:29:10PM +0200, Svenn Are Bjerkem (svenn DOT bjerkem AT googlemail DOT com) [via geda-user AT delorie DOT com] wrote: >> On 16 July 2015 at 09:09, Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via >> geda-user AT delorie DOT com] wrote: >> >> > Yes, if you try in the repository >> > find gschem/ -type f -name '*.scm' -o -name '*.c'| xargs grep -l >> > copy-objects-hook >> > >> > it outputs >> > gschem/scheme/gschem/hook.scm >> > gschem/src/g_hook.c >> > gschem/src/o_copy.c >> > gschem/src/o_buffer.c >> > >> >> git grep copy-objects-hook >> >> gschem/scheme/gschem/hook.scm:(define-public copy-objects-hook >> %copy-objects-hook) >> gschem/src/g_hook.c: DEFINE_HOOK ("%copy-objects-hook",1); >> gschem/src/o_buffer.c: "%copy-objects-hook", >> gschem/src/o_buffer.c: "%copy-objects-hook", >> gschem/src/o_copy.c: "%copy-objects-hook", > > Svenn, thank you. > > Vladimir