delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/02/12/02:25:00

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:date:message-id:subject:from:to
:content-type;
bh=mlpv0MMRC3AnWCM9gMKlMkap42IVJrsmOj3hhyg5EcY=;
b=jsvpUN8mDAC3KVmjzHifopHEm8r3KSPwi1dUH3pBop04wYSFj/S4drcU9mkCc5i6pK
6cQxwNnAVsgvslRoW5YjduazTGu0AXwiUAkN7wOBolckgSojhAG+3fzF1kXtroYOPYKl
qb4Vs1txWrAbNfOYkn61B+bdFDGJ9QJ/5Ho04YULKwnKicKHqLow/OHKGCyH5eg0KI+o
yUJub20j5MBPVTqAdllHC9Z7ORpgzD4+BA8y1Etx8CyxZBIYs2u2VIYuQG5Cg/3huWTK
kBeYBDphLI8dJzJVK7lgLk8gXIMP/YebKAM73KoxPgIRb0W+sXyhnL4oAQlHJIUW6xNW
MjsQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type;
bh=mlpv0MMRC3AnWCM9gMKlMkap42IVJrsmOj3hhyg5EcY=;
b=N+Uo0xCmXC0LB1SpTkfc07FeHDiHs/OKQUSgpazf2SsiKPZEsQL4JadeAHjI6Trk58
WOChFLR1ri561CfpeMGGb71zWP+Zx5ykEJ6cHlbtsDxQxfBjCdTiv9CfoxpM6oCNaHW6
H4/FpU41C9ZTfIEN3F7D09uTJQuVdAQesa+PpjgB13Fv88FSsOHk+UukwnZkq9eROa2v
CRzkdAH6WmpXe7Eym5GhpdR6Wa/J2WY9EZdDhcnzfqSOWrKqqWhOYzE3mjB+Ja/URd3J
1Se89Z5d+2MBJDbN2ul1YKCA4IBvbC4qYHZXANeLWz7KF8Nq30ZOyGdkKO0Px8WvlyyV
YPLw==
X-Gm-Message-State: AG10YOSeRzHtvKgNKrYut7ECRB3DMyZpWWS8xiP3UeEX2eTY++QcEzZxHKyxoMaNudi9XXoff4PL9XlVugqt5Q==
MIME-Version: 1.0
X-Received: by 10.28.158.8 with SMTP id h8mr2765957wme.6.1455261829499; Thu,
11 Feb 2016 23:23:49 -0800 (PST)
In-Reply-To: <CAM2RGhS8shtYo2A=in2v2Orj4N7_YX=u2e1wf9bbY34eFbEn7A@mail.gmail.com>
References: <CAM2RGhS8shtYo2A=in2v2Orj4N7_YX=u2e1wf9bbY34eFbEn7A AT mail DOT gmail DOT com>
Date: Fri, 12 Feb 2016 10:23:49 +0300
Message-ID: <CAMvDHVB8E3ukCYwW_0xDn=03CGkd3q10cSMyOxsFNtMWiN2N3A@mail.gmail.com>
Subject: Re: [geda-user] gschem symbol window
From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
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

On 2/12/16, Evan Foss (evanfoss AT gmail DOT com) [via geda-user AT delorie DOT com]
<geda-user AT delorie DOT com> wrote:
> I was trying to figure out what symbol I used for something. I
> realized that no where in the gschem gui can you see what symbol file
> is behind a given instance in a schematic with out opening the raw
> text.

You can open the symbol using 'H s', then type ':' and type as follows:

    (page-filename (active-page))

The result is in the log window.

If it'll barf, type first

   (use-modules (geda page))

and then the above command.

If your gschem version is old and has no page-filename command, there
is a corresponding deprecated function for this, just type:

   (get-selected-filename)

>
> If I am not wrong about this I think the symbol attributes dialog
> window should list this or the bottom of the main window when the
> symbol is selected.

I don't know how to better do this, the main window already displays
the base name of the file in use in the title. Probably we could
switch to displaying the full name like many editors do. Bug reports
and patches are welcome. The one issue with that is in that you'll
still not see the full name if your window manager trims it if the
name is long enough.

Cheers,
  Vladimir

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019