From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: =?UTF-8?B?UmU6IFtCVUddIGBvcmctbG9hZC1ub2Vycm9yLW11c3RzdWZmaXg=?= =?UTF-8?B?wrQgaXMgbm90IGRlZmluZWQsIGludHJvZHVjZWQgYnkgNTQ4NGEzM2I=?= Date: Sat, 12 Jan 2013 16:49:31 +0100 Message-ID: <87a9seh050.fsf@Rainer.invalid> References: <87a9sh3tsp.fsf@gmail.com> <87pq1dj76n.fsf@bzg.ath.cx> <87hamprlob.fsf@gmail.com> <11306.1357839845@alphaville> <874niosy6w.fsf@gmail.com> <87txqodgix.fsf@bzg.ath.cx> <87txqovnv3.fsf@gmail.com> <874niodcry.fsf@bzg.ath.cx> <87vcb4spxe.fsf@gmail.com> <8738y8n0b2.fsf@gmail.com> <87lic0bpwj.fsf@bzg.ath.cx> <87hamo7gdk.fsf@gmail.com> <87wqvk9p5f.fsf@bzg.ath.cx> <87ehhrhpjl.fsf@bzg.ath.cx> <87sj67d662.fsf@Rainer.invalid> <87a9sf1wsl.fsf@bzg.ath.cx> <87k3rjd51k.fsf@Rainer.invalid> <87obgvzlah.fsf@bzg.ath.cx> <87fw27cybb.fsf@Rainer.invalid> <876232mzmz.fsf@Rainer.invalid> <878v7y8qwx.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu3LD-0008Ok-3G for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 10:49:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tu3L6-0005ev-RE for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 10:49:50 -0500 Received: from plane.gmane.org ([80.91.229.3]:52095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu3L6-0005en-KJ for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 10:49:44 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tu3LK-0001WL-EE for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 16:49:58 +0100 Received: from pd9eb5715.dip.t-dialin.net ([217.235.87.21]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Jan 2013 16:49:58 +0100 Received: from Stromeko by pd9eb5715.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Jan 2013 16:49:58 +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 Bastien writes: > Also, the series rintroduces a warning because it moves > `org-effort-durations'. Yes, only in single-file compilation mode and it is completely irrelevant to the problem at hand and can be fixed easily, so I opted to get the code out to be tested and fix this later. > Finally, as far as I understand, you are arguing that users may want > to compress their Org files, and that (load "org-loaddefs.el") will > fail if they do, and that's why they need this patch. No, not at all. That's what reverting db7ece9fa2 does. And if you really want to flip off folks with strange Org installations instead of helping them survive, then leave out that third "t", i.e. just change that line to: (load "org-loaddefs" 'noerror 'nomessage) That will wreak havoc for someone who managed to pull all stops and byte-compile org-loaddefs anyway, but any sane setup will work as intended. > If the additional complexity is just for this, I'm not convinced by > the patch. If it fixes something else, please let me know. Please go back to the beginning of the thread and read about Eric's problem, that's what the patch is trying to solve. Based on the comments in bug#10125 by Jambunathan, borked setups with partly loaded Org versions are much more common than I would have thought. In other words something like this: --8<---------------cut here---------------start------------->8--- (require 'org-compat) (require 'org-macs) (add-to-list 'load-path "/home/org-mode/lisp") (require 'org) --8<---------------cut here---------------end--------------->8--- will result in a correctly loaded Org with the patch, but yield either a not-correctly working Org (silently wrong and producing strange results that nobody can reproduce) or a failure to load Org at all (you get an error at least) without it. It is also an experiment to determine if Emacs should do something like this (by default or as an option) and how to best implement it. Even if it eventually moved into Emacs however, Org would still have to implement it as a workaround for older Emacsen that don't have it. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds