From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ruy Exel Subject: Re: Broken org-mode "Column width and alignment" in latest version Date: Mon, 18 Dec 2017 10:57:17 -0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQuzZ-0000bd-L0 for emacs-orgmode@gnu.org; Mon, 18 Dec 2017 07:58:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQuzY-0003YP-AL for emacs-orgmode@gnu.org; Mon, 18 Dec 2017 07:58:01 -0500 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:33408) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQuzY-0003Xi-4E for emacs-orgmode@gnu.org; Mon, 18 Dec 2017 07:58:00 -0500 Received: by mail-wm0-x22d.google.com with SMTP id g130so7495563wme.0 for ; Mon, 18 Dec 2017 04:57:59 -0800 (PST) In-Reply-To: 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" To: Kaushal Modi Cc: emacs-org list Dear Kaushal, It took me a while to digest everything in your message, but I have finally managed to do my home-work and everything is now working perfectly! Thanks very much! Yours, Ruy On Tue, Dec 12, 2017 at 6:53 PM, Kaushal Modi wrote: > On Sat, Dec 9, 2017 at 1:11 PM Ruy Exel wrote: >> >> Dear Kaushal, >> >> The real treat is to read your nice message and to be a member of such a >> fantastic group of people! >> >> Following your advice to stick to a stable release I searched for info on >> how to install it and I found instructions in >> http://orgmode.org/org.html#Installation telling me to run "M-x >> package-install RET org RET" from within emacs. I did it and it all looked >> like everything was running smoothly untill I was issued the messages: >> >> WARNING: No org-loaddefs.el file could be found from where org.el is >> loaded. You need to run "make" or "make autoloads" from Org lisp directory > > > Did you add Org Elpa to package archives as described here: > http://orgmode.org/elpa.html ? > >> I am used to this since I first tried the cloned git version, but I >> noticed that there is no Makefile in the directory containing the newly >> dowloaded files (~/.emacs.d/elpa/org-20171113/), so I got stuck. > > > I haven't installed Org from within Emacs for quite some time now as I build > it using make from its git clone. Also I haven't seen the warning that you > see. Hopefully someone else can comment on that part. > > I noticed though that the Org version you quoted: > ~/.emacs.d/elpa/org-20171113/ is a bit old (not too old, but not the latest > served on Elpa either). If you add the Org Elpa to package-archive as I > suggested above, and install using the M-x package-list-packages interface, > the archives will first get auto-refreshed, and then you can be rest assured > that the installed packages are the latest versions. > >> >> I noticed that in the above installation instructions it is mentioned >> that: >> >> Important: you need to do this in a session where no .org file has been >> visited, i.e., where no Org built-in function have been loaded. Otherwise >> autoload Org functions will mess up the installation. >> >> so I repeated the process right after starting emacs with the >> --no-init-files option, then I added the line "(package-initialize)" to my >> initialization file but it still does not work, > > > What doesn't work? You shouldn't need to do --no-init-files. Simply make > sure that your config is not doing (require 'org) directly or indirectly > somewhere and you are not opening an Org file at emacs startup. That's all. > >> >> namely the old org-mode is loaded upon starting emacs. > > > How are you telling that? If you do M-: (featurep 'org) and it returns nil, > it means that org is not yet loaded. > >> >> It is curious that I now have two org-mode entries in the top Emacs-Info >> node, one for the old version (7.9.3f) and another one for the new one >> (9.1.2 (release_9.1.2-37-g3f8d67)). > > > That's a different thing, has to do with the Info-directory-list variable, > and is fine. You can have paths to Info manuals from multiple Org versions > added to that var, and so you will see multiple Org manuals. I personally > don't like that and so I surgically remove[1] all the Org versions that I am > not using in the current emacs session from load-path and > Info-directory-list. > >> Could I have premanently messed up my emacs installation by not following >> the above Important advice? > > > Not trying to sound philosophical, but nothing is permanent. All the package > installations happen in the elpa dir.. so to start the Org installation from > scratch, you can rm -rf all the org installations from the elpa/ dir and > restart emacs following that "Important" instruction and retry installing > Org. > > [1]: https://scripter.co/building-org-development-version/ > -- > > Kaushal Modi