From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: [NEW] navi-mode for org files Date: Mon, 8 Apr 2013 21:41:58 +0000 (UTC) Message-ID: References: <878v4y9ziu.fsf@gmail.com> <877gkcvn4a.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPJpS-0002a1-MW for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 17:42:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPJpN-00073G-ON for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 17:42:18 -0400 Received: from plane.gmane.org ([80.91.229.3]:43064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPJpN-00073A-Hq for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 17:42:13 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UPJpI-0006ef-5Z for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 23:42:08 +0200 Received: from 137.110.39.194 ([137.110.39.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Apr 2013 23:42:08 +0200 Received: from ccberry by 137.110.39.194 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Apr 2013 23:42:08 +0200 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 Thorsten Jolitz gmail.com> writes: > > Charles Berry ucsd.edu> writes: > > > Thorsten Jolitz gmail.com> writes: > [deleted] `------------------------------------------------------------------------ > > > > I cannot seem to get this to work. If I try to execute > > > > ;; # #+begin_src emacs-lisp > > ;; # (require 'outshine) > > ;; # (add-hook ‘outline-minor-mode-hook ‘outshine-hook-function) > > ;; # #+end_src > > > > the add-hook returns > > > > Debugger entered--Lisp error: (void-variable ‘outline-minor-mode-hook) > > > > > > I am running > > > > Org-mode version 8.0-pre (release_8.0-pre-276-g3d3465 ... > > GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of > > 2013-03-12 on bob.porkrind.org > > Looks as if outshine is loaded before outline? But since outshine > requires outline, 'outline-minor-mode-hook' should be loaded when the > hook function is added. > It works here, I'm running: > > ,---------------------------------------------------------------- > | GNU Emacs Version: > | (24.3.1 24 3 gnu/linux hostname x86_64-unknown-linux-gnu x nil) > | Org-mode version 8.0-pre (release_8.0-pre-199-g2746c7 ... > `---------------------------------------------------------------- > > could you try 'M-x toggle-debug-on-error', execute the above, and send > the backtrace? > This is what I get: Debugger entered--Lisp error: (void-variable ‘outline-minor-mode-hook) (add-hook ‘outline-minor-mode-hook ‘outshine-hook-function) eval((add-hook ‘outline-minor-mode-hook ‘outshine-hook-function) nil) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) FWIW, C-h v outline- TAB gives: Click on a completion to select it. In this buffer, type RET to select the completion near point. Possible completions are: outline-blank-line outline-cycle-emulate-tab outline-font-lock-faces outline-font-lock-keywords outline-heading-alist outline-heading-end-regexp outline-isearch-open-invisible-function outline-level outline-minor-mode outline-minor-mode-map outline-minor-mode-menu-bar-map outline-minor-mode-prefix outline-mode-abbrev-table outline-mode-hook outline-mode-map outline-mode-menu-bar-map outline-mode-prefix-map outline-mode-syntax-table outline-promotion-headings outline-regexp outline-structedit-modifiers outline-view-change-hook HTH,