From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: compat unification (was: elpa.gnu.org policy) Date: Tue, 16 Nov 2010 15:10:52 +0100 Organization: Programmerer Ingebrigtsen Message-ID: References: <87k4kebiox.fsf@lifelogs.com> <87hbfimpp1.fsf@ginnungagap.bsc.es> <87fwv2bf7h.fsf@lifelogs.com> <87aalaz6ey.fsf@stupidchicken.com> <87y68ujkjl.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1289916691 23446 80.91.229.12 (16 Nov 2010 14:11:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2010 14:11:31 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 16 15:11:27 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PIMFi-0002st-29 for ged-emacs-devel@m.gmane.org; Tue, 16 Nov 2010 15:11:18 +0100 Original-Received: from localhost ([127.0.0.1]:43543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIMFh-0005zU-C4 for ged-emacs-devel@m.gmane.org; Tue, 16 Nov 2010 09:11:17 -0500 Original-Received: from [140.186.70.92] (port=34585 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIMFb-0005zD-GG for emacs-devel@gnu.org; Tue, 16 Nov 2010 09:11:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIMFX-00055F-0T for emacs-devel@gnu.org; Tue, 16 Nov 2010 09:11:11 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:60424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIMFW-000556-Ki for emacs-devel@gnu.org; Tue, 16 Nov 2010 09:11:06 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PIMFU-0002jI-8E for emacs-devel@gnu.org; Tue, 16 Nov 2010 15:11:04 +0100 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Nov 2010 15:11:04 +0100 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Nov 2010 15:11:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEX4zjp1NxbfiifqoSzN byOhdRP2AAACUUlEQVQ4jUWUjWHrIAyE1eABgs0ADmIAghiAH+0/0zuB++qkccpn6aQThLwPGjUl Dao6dHa7c1U6csikSlTaOzUhqk2O2x2EVSFXbKEcrVI+7nHkcuBhbSRC0kNISFV0RGWnpF2nZBHc /18jJgNhihTtviesBbzGA5TJjaI+SIn7eV5Ah1CJ1e7CCIKQ3QBYXLEsKnol9cg1F0DGHjfwrQ5o ph0x0aoYGBldjvUNgQAmN/BvvA1AvwMEaKT13uAVLWuMG3gorirJufQAq0q9XwEGSozVPw0i5woQ AJKIp/vYETaRESN8iQN/xbIagEkAbOv1xIdgXI9GQCexoJdywYT65TRMIyGAufQYPv4NFfnOb0zJ AOxiqZD0jabLTpxYBPKdUKgo2p8ySzMQETE0GPh6XI2IOCeHGmiNZpYNsDXoKj/Wj01Q+XzA66Z6 Q4WcLBN5Vh0GPDaGszBaoE9G4x8Dob+dq/CmLA2FGMsKQSvIbzswPM4K23L3V3/VPzDQelxlueYg jMEsAG/nA+xy69PHFB5wps9alw1gPsbAJaHYcVulT8SJkbnCtUP6wjmhSRtcrOoEIHg/PpIpPxEX PBYXUzfx74nm8gIBYDAm0HeD89V4gXTJUk+6yZS2I+qF0zSwm3RHBLc9pGrnqXzs8eX8WVYvGWdG XLZafcALIK0Iocgo7zVs181keEXAYZwKDKx4WGPnyYclDXft+MOeHtq4A8BFj5GBMxB/gvWFjbwB vgc0R5jSAukXmMxNjB8QbCkAl6r+gRdT+fHZQEzin/V/N4Gl3gh5z60AAAAASUVORK5CYII= Mail-Copies-To: never X-Now-Playing: 23 Skidoo's _Urban Gamelan_: "Language (12")" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:1dRGcC9dYX3kePlPzvf3tCynr70= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:132708 Archived-At: Lars Magne Ingebrigtsen writes: > Me too. I wish it was possible to just write towards Emacs 24 and > pretend that nothing else existed, but just providing compat functions > for older/different Emacs versions, but then you'd have competing compat > functions for, well, everything. So it's not doable. *sigh* Or is it? I'm just brainstorming here. (Or barnstorming. Freebasing. Something.) What if... there was an ems-compat function in bzr Emacs. It would be a, sort of, "official" current-Emacs-to-everything compat layer. It would probably be totally crufty, but it'd basically be along the lines of (unless (fboundp 'put-image) (cond ((featurep 'xemacs) (defun put-image (...) ...)) (t (defalias 'put-image 'ignore)))) Any packages that are external/internal (like Gnus) would include a copy of this file in its distribution, and would load it. Emacs 24 itself would never load it, but would just have it in its distribution as a central clearinghouse for the compat functions, and any external packages could just pull it in as needed. Does it sound really moronic? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen