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=bAWvuuh69KIQ/SKG0rZJF8LjcJFScWX/367Yfd6mnRA=; b=XWj0ZZ9KWvKPmb6IzFbBfRuKbHvWGJ4gHg/VkYITlXbXD1bkXU/XDdpZ530poaGeEP nzZcB45Dp/+HVwl0itqX2sGVl4TcJKSxlPFwAmHebT1vZ6vCxXQtqvpJPUAYgM3OrpKS 1GZUStjgmgG5aiVBgQ5Xv1JAvyCRreWFs8S9Po1YVKYYXivs07BpOdkCljXiQDNGoERj APfa64HvlEu8Nj5HcbYgQM8+LWyqqZ//4+lMgaIQpLhf1+QQVVdqr+kzvYVUUBXXwJv8 /yTOC/TgQZfXWOdD6bQGQxklMaKe36bjGj48uNRzxoQ0YbMtQNYK/B91MMCvIgbwxPbt vhNQ== 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=bAWvuuh69KIQ/SKG0rZJF8LjcJFScWX/367Yfd6mnRA=; b=IflElWJc1ZQ0WnDfHXyvd8I2kNuU7EYgadedZ9PV+9yzWmHiawCkXxSPWaf+o7LHnB VGje7ZPwUfTlwJZSFK5XOriGWe0TOoOg4qBeYS4sv780e+gx/EJG14gE6fhOxFw2Q/xq 4AQaFO7P9DBg6gjw0xksHaZ7iQF5sStAqioUfo5Wb/poRwQaeosKIl4JK/QgVZC6oG8q QWLO9PKz5vVxPXWv5ptWOVE1i8sGlJKWDb2Lw1Bcev00w60tzu7+vidnVFAntxg/GCwo YZU77sULKbSzsFD+g+J+2aYrf7kDcZBU+ktz8OApxiZ6O0tIWK5yhC4tzCXrpddFaoZ3 KZoA== X-Gm-Message-State: ALoCoQklXyG5nO4khtCrB2DvAr6twlfRD3wkou4Y1qJVujOcZl22UIxM0aclBMGMgHXxW/IhROnuhIAsXsfAW4/XvJzMz8gHXg== MIME-Version: 1.0 X-Received: by 10.60.115.99 with SMTP id jn3mr5494020oeb.60.1452811228674; Thu, 14 Jan 2016 14:40:28 -0800 (PST) In-Reply-To: <20160114205949.11004.qmail@stuge.se> References: <201601142034 DOT u0EKYFL6001936 AT envy DOT delorie DOT com> <20160114205949 DOT 11004 DOT qmail AT stuge DOT se> Date: Fri, 15 Jan 2016 09:10:28 +1030 Message-ID: Subject: Re: [geda-user] pcb behavior when invoked on invlalid file needs to change From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user Content-Type: multipart/alternative; boundary=089e0116126e36009a052952f9b1 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 --089e0116126e36009a052952f9b1 Content-Type: text/plain; charset=UTF-8 If it is expected to be a rare occurence, not_a_pcb_file.sch could simply be saved as not_a_pcb_file.sch.unparseable or not_a_pcb_file.sch.original before pcb proceeds to create not_a_pcb_file.sch as a new pcb file +/- whatever warnings in the error dialogue. Regards, Erich. On Fri, Jan 15, 2016 at 7:29 AM, Peter Stuge (peter AT stuge DOT se) [via geda-user AT delorie DOT com] wrote: > DJ Delorie wrote: > > Keep in mind that "edit a missing file" is a common paradigm for > > "create a new file". > > Missing file and empty file need to be distinct from unparseable file. > > > //Peter > --089e0116126e36009a052952f9b1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
If it is expected to be a rare occurence,
<= br>
not_a_pcb_file.sch

could simply be s= aved as

not_a_pcb_file.sch.unparseable
=
or

not_a_pcb_file.sch.origina= l

before pcb proceeds to create
<= br>
not_a_pcb_file.sch

as a new pcb file= +/- whatever warnings in the error dialogue.

Rega= rds,

Erich.



On Fri, Jan 15= , 2016 at 7:29 AM, Peter Stuge (peter AT stu= ge.se) [via geda-user AT delorie.= com] <geda-user AT delorie DOT com> wrote:
DJ Delorie wrote:
> Keep in mind that "edit a missing file" is a common paradigm= for
> "create a new file".

Missing file and empty file need to be distinct from unparseable fil= e.


//Peter

--089e0116126e36009a052952f9b1--