emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Manish <mailtomanish.sharma@gmail.com>
To: William Henney <whenney@gmail.com>
Cc: emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: Re: Pulling Carsten's changes.
Date: Thu, 8 Jan 2009 23:50:27 +0530	[thread overview]
Message-ID: <e7cdbe30901081020w4dd3cc88hc3f1402ac53dd5e5@mail.gmail.com> (raw)
In-Reply-To: <41c818190901080957m1b934d54l3dc5d358e500e601@mail.gmail.com>

  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

      reply	other threads:[~2009-01-08 18:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-08 15:47 Pulling Carsten's changes sergio_101
2009-01-08 16:22 ` Scot Becker
2009-01-08 16:58 ` Matthew Lundin
2009-01-08 17:57   ` William Henney
2009-01-08 18:20     ` Manish [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e7cdbe30901081020w4dd3cc88hc3f1402ac53dd5e5@mail.gmail.com \
    --to=mailtomanish.sharma@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=whenney@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).