From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Changing a cl-defstruct definition in a published package Date: Fri, 13 Jul 2018 14:26:51 -0400 Message-ID: References: <9afc36c6-5759-6ea0-4cd4-9d6eb6b073b5@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1531506299 18622 195.159.176.226 (13 Jul 2018 18:24:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2018 18:24:59 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 Cc: emacs-devel To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 13 20:24:55 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fe2kQ-0004jz-5F for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2018 20:24:54 +0200 Original-Received: from localhost ([::1]:38703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fe2mX-0007OR-47 for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2018 14:27:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fe2mQ-0007OJ-KA for emacs-devel@gnu.org; Fri, 13 Jul 2018 14:26:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fe2mL-0007x9-NE for emacs-devel@gnu.org; Fri, 13 Jul 2018 14:26:58 -0400 Original-Received: from mail-qt0-x231.google.com ([2607:f8b0:400d:c0d::231]:35559) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fe2mL-0007wa-Ij for emacs-devel@gnu.org; Fri, 13 Jul 2018 14:26:53 -0400 Original-Received: by mail-qt0-x231.google.com with SMTP id a5-v6so13381334qtp.2 for ; Fri, 13 Jul 2018 11:26:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=uz1YBt+E4D2X8bIpkVpPd0DUzQpsUwvD5bX1L6kaYxk=; b=uf8yfhabJ+ykHms4S+9FB36nRTZ3CFP2Q2y1xyqfmcOmp4rbZiDSDFwYUtI5v7v/ey 92IXROC8D+KpNm/KZf8/9H8xC/4DS5xP5586Q/UvGko3K2Jl6c+YxHArFD84QADowMIe +hWltlIChLCQtMBlvH3fLrndjB9qBlc1862Nd8FZpSViyNpMpvygnB+imK4zOLxZfYHR hm+xYdbttMcD+8UbJKGN/xJ0f9pD5ixsGItUyOCjqQ0D3Tacl81gWOCmrfPlhNXKxIOI D6CdrM4TNbkfjUvtvJOerspb/cyNblVIWjL0+hCPS5tIuL4hzxLobyCEOZKHdkolsYxV qiLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uz1YBt+E4D2X8bIpkVpPd0DUzQpsUwvD5bX1L6kaYxk=; b=nQ16WZF8nLrkSH+1aS0JoY1uC6oEZjW17XBwjqIktCmk8TBuRQAN5xdfp/pmvc5Hyz GLIamkHEa1GjLlPV1yI3GoTxyHsA5RH9u4QmXtb9WQxXstEidr5qiwAy6mCAN1/LLHoi VM3GUrIyA4TPJju5fPgTzVKTa9Ii1RPfv6LgLyygubIydGRXIWnp/wajlses+h5GWE95 Yl8QFSu4DyVG1y2Af5JGLY7f78ghcy3q9RTVg/GCblYfGa2PsD/chNFLTveaAFeoUYXo MrRjUajn7SjRogcN82duHPf+5OqHfpOGA828q3toUXEeZa5tTawaD8r1uXreiwk2+HsI jnvg== X-Gm-Message-State: AOUpUlGGdEI+e4PAgj1rkFQeBsn4k+EmulJJRPW1rRx28/bzOg1HG+0Y SPu+2kcufBNjOKgvMyPfCgpQOIYI X-Google-Smtp-Source: AAOMgpeY1UFZkmPlvh/PP0i9z6nmZdz109gBH5UNN/2O5dp0PsT5pOS7SZZ9W87KEqW1ySWlLbw6+Q== X-Received: by 2002:a0c:8d8e:: with SMTP id t14-v6mr8515993qvb.32.1531506412846; Fri, 13 Jul 2018 11:26:52 -0700 (PDT) Original-Received: from [18.26.2.123] (26-2-123.dynamic.csail.mit.edu. [18.26.2.123]) by smtp.gmail.com with ESMTPSA id o68-v6sm15851341qkc.19.2018.07.13.11.26.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 11:26:52 -0700 (PDT) In-Reply-To: Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227361 Archived-At: On 2018-07-13 13:01, João Távora wrote: > There's no way to fix the problem now without breaking backward compatibility because by now B's use of your accessor has been compiled into something that probably looks like an aref into an array. Indeed, I suspected as much… > So if you change your object layout in A, you break a compiled B. Right, but I can't afford that. Do you have ideas on workarounds? Some other source-based package managers recompile dependencies on update. IIUC, package.el doesn't do that. Maybe it should? But it sounds like a lot of extra work. What would you do? I don't think breaking all packages that depend on FlyCheck is a valid option :/ Clément.