From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: Pulling Carsten's changes. Date: Thu, 8 Jan 2009 23:50:27 +0530 Message-ID: References: <87zli13fbw.fsf@fastmail.fm> <41c818190901080957m1b934d54l3dc5d358e500e601@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LKzUf-0008WN-He for emacs-orgmode@gnu.org; Thu, 08 Jan 2009 13:20:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LKzUe-0008VY-5d for emacs-orgmode@gnu.org; Thu, 08 Jan 2009 13:20:32 -0500 Received: from [199.232.76.173] (port=35649 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKzUe-0008VP-1r for emacs-orgmode@gnu.org; Thu, 08 Jan 2009 13:20:32 -0500 Received: from ti-out-0910.google.com ([209.85.142.187]:33881) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LKzUd-0004Ow-A4 for emacs-orgmode@gnu.org; Thu, 08 Jan 2009 13:20:31 -0500 Received: by ti-out-0910.google.com with SMTP id u5so7647613tia.10 for ; Thu, 08 Jan 2009 10:20:27 -0800 (PST) In-Reply-To: <41c818190901080957m1b934d54l3dc5d358e500e601@mail.gmail.com> Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: William Henney Cc: emacs-orgmode list On Thu, Jan 8, 2009 at 11:27 PM, William Henney wrote: > On Thu, Jan 8, 2009 at 10:58 AM, Matthew Lundin wrote: >> >> There's a nice FAQ entry on this: >> >> http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-development >> > > This reminds me that I had a couple of minor niggles with this process > when I tried to pull a new version: > > 1. Shouldn't the Makefile "install" target have "install-info" added > as a dependency? Otherwise, item 3 of the FAQ entry should be modified > to include "make install-info". Also, the default installation > directory is /usr/local, which is not usually user-writable, so it > should be "sudo make install". FWIW, I just do "make clean && make && make doc" and skip "make install" entirely (and refer to HTML documentation.) I guess it's okay for me since I am the sole user of this installation. Location of Org is added to .emacs by: ,---- | (add-to-list 'load-path "~/elisp/org-mode.git/lisp") `---- So it's just "cd ~/elisp/org-mode.git/ && git pull && make clean && make && make doc" (followed by reloading org from inside Emacs) whenever I wish to upgrade. > 2. Item 6 in the FAQ entry says "You should restart org mode to have > the changes take effect". What is the best way to do this? I couldn't > get anything to work, short of rebooting emacs. You can reload Org mode by "M-x org-mode-restart" but I also found a few times that it did not work. And then Bernt posted this a while ago which solved the problem of loading new version for me. ,---- | (setq my-org-mode-git-directory "~/elisp/org-mode.git") | | (defun org-reload-org (&optional source) | "Reload Compiled Org lisp files." | (interactive "p") | (message "source is %s" source) | (if (equal source 4) | (setq my-org-files "\\.el\\'") | (setq my-org-files "\\.elc\\'")) | (mapc (lambda(f) (load (car f))) | (directory-files-and-attributes (concat my-org-mode-git-directory "/lisp") t my-org-files))) `---- Regards, -- Manish