[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: current working file name in gschemrc



On 11/19/2010 07:18 PM, kai-martin knaak wrote:
Paul Tan wrote:

(get-selected-filename) is a Gschem Scheme procedure which
returns the current page filename as string.
Unfortunately, my gschem segfaults right away, if gschemrc contains the
(get-selected-filename) procedure. It segfaults even if the line is
reduced to
	(define name (get-selected-filename))


Well, it shouldn't segfault, but I'm not surprised you can't evaluate it in gschemrc before there is a selected file. What did you expect to happen?


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user