From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: Buffer local alias? Date: Tue, 14 Jan 2014 22:49:30 +0100 Message-ID: <87wqi2xmhh.fsf@med.uni-goettingen.de> References: <87a9ey5p50.fsf@alphaville.bos.redhat.com> <87zjmyic0v.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Brw-0006KM-Qt for emacs-orgmode@gnu.org; Tue, 14 Jan 2014 16:50:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3Bro-0005ZE-2T for emacs-orgmode@gnu.org; Tue, 14 Jan 2014 16:49:56 -0500 Received: from plane.gmane.org ([80.91.229.3]:57429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Brn-0005Z5-Ry for emacs-orgmode@gnu.org; Tue, 14 Jan 2014 16:49:47 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W3Brl-0004Ox-Ap for emacs-orgmode@gnu.org; Tue, 14 Jan 2014 22:49:45 +0100 Received: from vpn-2005.gwdg.de ([134.76.2.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Jan 2014 22:49:45 +0100 Received: from andreas.leha by vpn-2005.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Jan 2014 22:49:45 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org tsd@tsdye.com (Thomas S. Dye) writes: > Bastien writes: > >> Nick Dokos writes: >> >>> Use fboundp, instead of boundp: the latter checks the variable binding >>> slot, whereas the former checks the function binding slot. >> >> Also, I thought sbe was unknown enough to rename it directly >> instead of creating an alias. If many people are using sbe, >> maybe an alias is better -- but I'd rather not to add it. > > Thanks Nick. This works: > > * Local variables :noexport: > > # Local Variables: > # eval: (and (fboundp 'org-sbe) (not (fboundp 'sbe)) (fset 'sbe 'org-sbe)) > # eval: (sbe "setup-common-lisp") > # End: > > Bastien, for my use case there is no reason to define an alias. I am in favor of such an alias. In that particular case it seems that it would not hurt much (IMO) and it would increase backward compatibility. Let me take the opportunity to sigh a little bit: I am not as organized as Tom is. So the chances to use my up-to-date orgmode and successfully export any of my org documents from a year ago (they are almost all 'Literate Programming' documents and, thus, maybe more fragile?) are slim. I do not have numbers, but it seems like I'll need to adapt such documents all the time. I know that this problem is a problem of balancing backward compatibility with new features, better design, etc and cannot be solved. And I see the win in (most of) the breaking changes. But let me just express my vote for even more awareness of people like me, who do not read all release notes, forget most of the messages from the mailing list and as a result need 2 hours to export some document from last year again today. A change like this one (renaming sbe to org-sbe) is a small change and will only be an annoyance in one years time. The drop of the implicit naming of call lines, for example, was (and still will be for some of my files) a bigger issue. Regards, Andreas