emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dror Atariah <drorata@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Unable to finalize capture
Date: Sat, 5 Oct 2013 08:51:17 +0200	[thread overview]
Message-ID: <11745E00-C7B6-488E-86DC-E5DC24CB55F4@gmail.com> (raw)
In-Reply-To: <87siwgvjcg.fsf@alphaville.bos.redhat.com>

On Oct 4, 2013, at 23:04 PM, Nick Dokos wrote:

> Dror Atariah <drorata@gmail.com> writes:
> 
>>> M-x locate-library RET org RET
>> Returns:
>> Library is file ~/.emacs.d/elpa/org-plus-contrib-20130930/org.elc
> 
> N.B. Never used elpa, so take with appropriately sized grain of salt.
> 
> Not sure whether this is a problem, but why is org.elc in the main
> directory and not under
> 
> ~/.emacs.d/elpa/org-plus-contrib-20130930/org/lisp?
> 
> Maybe you are using a left-over org.elc?

Probably, this is somehow the case... I think the directory structure that you can see is the default one of ELPA - I don't think I tweaked it.


>>> and
>>> 
>>> M-x list-load-path-shadows RET
>> Returns (I hope I collected only the relevant entries):
>> /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130930/org hides /Users/user_name/.emacs.d/elpa/org-20130930/org
>> /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130930/org hides /Users/user_name/.emacs.d/elpa/org-20130812/org
>> /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130930/org hides /Users/user_name/.emacs.d/elpa/org-20130923/org
>> /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130930/org hides /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130812/org
>> /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130930/org hides /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130923/org
>> /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130930/org hides /Applications/Emacs.app/Contents/Resources/lisp/org/org
>> 
>> I guess that the above output suggests that org-mode is properly installed (via ELPA), isn't it? I'm afraid that I am not hinted by this output.
>> 
> 
> Check that your org.el does include the definition  of the variable.
> Then load the uncompiled version using an explicit path:
The file "~/.emacs.d/elpa/org-plus-contrib-20130930/org.el" contains the definition of the variable "org-bookmark-names-plist"

> M-x load-file RET /Users/user_name/.emacsd./elpa/..../org/lisp/org.el RET
> 
> *Now* is the variable defined? If so, does capture work?
Indeed, loading it manually, solved the problem.

> I'd probably clean up the .elc files and compile anew. Then restart
> emacs.
I didn't know how to recompile the files, and what exactly do you mean by cleaning the .elc's; so I did something else. I removed the old directories of org-mode from the ELPA directory, restarted emacs and it  now seems to work fine.

Thanks and all the best,
Dror

      reply	other threads:[~2013-10-05  6:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-04  8:18 Unable to finalize capture Dror Atariah
2013-10-04 12:56 ` Nick Dokos
2013-10-04 14:31   ` Dror Atariah
2013-10-04 21:04     ` Nick Dokos
2013-10-05  6:51       ` Dror Atariah [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=11745E00-C7B6-488E-86DC-E5DC24CB55F4@gmail.com \
    --to=drorata@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@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).