emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [error] orgmode git on emacs 25 - HEAD - org-global-cycle
@ 2015-09-09  7:49 Rainer M Krug
  2015-09-09 14:16 ` Kyle Meyer
  0 siblings, 1 reply; 8+ messages in thread
From: Rainer M Krug @ 2015-09-09  7:49 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1580 bytes --]

Hi

when doing global cycling using org in emacs 25.0.50.1, I get an "Before
first heading" error (see backtrace below).

It doesn't matter if the cursor is before or after the first header in
the document.

Is this something in my settings or the combination emacs 25 HEAD and
org-mode git?

Thanks,

Rainer

,----
| GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F27)) of 2015-09-09
| Org-mode version 8.3.1 (release_8.3.1-210-gc3c285.dirty @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)
`----

,----
| Debugger entered--Lisp error: (error "Before first heading")
|   signal(error ("Before first heading"))
|   error("Before first heading")
|   outline-back-to-heading()
|   outline-flag-subtree(t)
|   hide-subtree()
|   hide-sublevels(1)
|   org-overview()
|   org-cycle-internal-global()
|   org-cycle((4))
|   org-global-cycle(nil)
|   funcall-interactively(org-global-cycle nil)
|   call-interactively(org-global-cycle)
|   org-shifttab(nil)
|   funcall-interactively(org-shifttab nil)
|   call-interactively(org-shifttab nil nil)
|   command-execute(org-shifttab)
`----


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 480 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [error] orgmode git on emacs 25 - HEAD - org-global-cycle
  2015-09-09  7:49 [error] orgmode git on emacs 25 - HEAD - org-global-cycle Rainer M Krug
@ 2015-09-09 14:16 ` Kyle Meyer
  2015-09-10  9:46   ` [BUG] outshine and emacs 25.0.5.1 - Was: " Rainer M Krug
  0 siblings, 1 reply; 8+ messages in thread
From: Kyle Meyer @ 2015-09-09 14:16 UTC (permalink / raw)
  To: Rainer M Krug; +Cc: emacs-orgmode

Hi,

Rainer M Krug <Rainer@krugs.de> writes:

> Hi
>
> when doing global cycling using org in emacs 25.0.50.1, I get an "Before
> first heading" error (see backtrace below).
>
> It doesn't matter if the cursor is before or after the first header in
> the document.
>
> Is this something in my settings or the combination emacs 25 HEAD and
> org-mode git?

I'm not able to reproduce this using emacs -Q with a recent version of
Org (release_8.3.1-218-g70f590) and Emacs
(emacs-24.5-rc3-fixed-5796-g8a6260e).  C-u org-cycle goes through all
the views fine.

--
Kyle

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [BUG] outshine and emacs 25.0.5.1 - Was: [error] orgmode git on emacs 25 - HEAD - org-global-cycle
  2015-09-09 14:16 ` Kyle Meyer
@ 2015-09-10  9:46   ` Rainer M Krug
  2015-09-10 10:28     ` Andreas Leha
  0 siblings, 1 reply; 8+ messages in thread
From: Rainer M Krug @ 2015-09-10  9:46 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1809 bytes --]

Kyle Meyer <kyle@kyleam.com> writes:

> Hi,
>
> Rainer M Krug <Rainer@krugs.de> writes:
>
>> Hi
>>
>> when doing global cycling using org in emacs 25.0.50.1, I get an "Before
>> first heading" error (see backtrace below).
>>
>> It doesn't matter if the cursor is before or after the first header in
>> the document.
>>
>> Is this something in my settings or the combination emacs 25 HEAD and
>> org-mode git?
>
> I'm not able to reproduce this using emacs -Q with a recent version of
> Org (release_8.3.1-218-g70f590) and Emacs
> (emacs-24.5-rc3-fixed-5796-g8a6260e).  C-u org-cycle goes through all
> the views fine.

OK - it seems to be outshine:

When evaluating the following:

#+begin_src emacs-lisp
 ;; must be set before outline is loaded
(defvar outline-minor-mode-prefix "\M-#")

(require 'outshine)
(add-hook 'outline-minor-mode-hook 'outshine-hook-function)
(setq outshine-use-speed-commands t)

(eval-after-load 'outline
  '(progn
    (require 'outline-magic)
    (define-key outline-minor-mode-map (kbd "<C-tab>") 'outline-cycle)))

#+end_src

I get the error when opening an org file.

,----
| GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F27)) of 2015-09-10
| Org-mode version 8.3.1 (release_8.3.1-225-g66a211 @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)
`----


>
> --
> Kyle

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 480 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [BUG] outshine and emacs 25.0.5.1 - Was: [error] orgmode git on emacs 25 - HEAD - org-global-cycle
  2015-09-10  9:46   ` [BUG] outshine and emacs 25.0.5.1 - Was: " Rainer M Krug
@ 2015-09-10 10:28     ` Andreas Leha
  2015-09-10 10:50       ` Rainer M Krug
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Leha @ 2015-09-10 10:28 UTC (permalink / raw)
  To: emacs-orgmode

Hi Rainer,

Rainer M Krug <Rainer@krugs.de> writes:
> Kyle Meyer <kyle@kyleam.com> writes:
>
>> Hi,
>>
>> Rainer M Krug <Rainer@krugs.de> writes:
>>
>>> Hi
>>>
>>> when doing global cycling using org in emacs 25.0.50.1, I get an "Before
>>> first heading" error (see backtrace below).
>>>
>>> It doesn't matter if the cursor is before or after the first header in
>>> the document.
>>>
>>> Is this something in my settings or the combination emacs 25 HEAD and
>>> org-mode git?
>>
>> I'm not able to reproduce this using emacs -Q with a recent version of
>> Org (release_8.3.1-218-g70f590) and Emacs
>> (emacs-24.5-rc3-fixed-5796-g8a6260e).  C-u org-cycle goes through all
>> the views fine.
>
> OK - it seems to be outshine:
>
> When evaluating the following:
>
> #+begin_src emacs-lisp
>  ;; must be set before outline is loaded
> (defvar outline-minor-mode-prefix "\M-#")
>
> (require 'outshine)
> (add-hook 'outline-minor-mode-hook 'outshine-hook-function)
> (setq outshine-use-speed-commands t)
>
> (eval-after-load 'outline
>   '(progn
>     (require 'outline-magic)
>     (define-key outline-minor-mode-map (kbd "<C-tab>") 'outline-cycle)))
>
> #+end_src
>
> I get the error when opening an org file.
>
> ,----
> | GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F27)) of 2015-09-10
> | Org-mode version 8.3.1 (release_8.3.1-225-g66a211 @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)
> `----
>
>

This might be the issue discussed earlier [1].  If so, it is solved (see the linked thread).

Regards,
Andreas

[1] http://article.gmane.org/gmane.emacs.orgmode/100215/match=outshine

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [BUG] outshine and emacs 25.0.5.1 - Was: [error] orgmode git on emacs 25 - HEAD - org-global-cycle
  2015-09-10 10:28     ` Andreas Leha
@ 2015-09-10 10:50       ` Rainer M Krug
  2015-09-10 19:28         ` Kaushal Modi
  2015-09-10 19:55         ` Thorsten Jolitz
  0 siblings, 2 replies; 8+ messages in thread
From: Rainer M Krug @ 2015-09-10 10:50 UTC (permalink / raw)
  To: Andreas Leha; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2346 bytes --]

Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:

> Hi Rainer,
>
> Rainer M Krug <Rainer@krugs.de> writes:
>> Kyle Meyer <kyle@kyleam.com> writes:
>>
>>> Hi,
>>>
>>> Rainer M Krug <Rainer@krugs.de> writes:
>>>
>>>> Hi
>>>>
>>>> when doing global cycling using org in emacs 25.0.50.1, I get an "Before
>>>> first heading" error (see backtrace below).
>>>>
>>>> It doesn't matter if the cursor is before or after the first header in
>>>> the document.
>>>>
>>>> Is this something in my settings or the combination emacs 25 HEAD and
>>>> org-mode git?
>>>
>>> I'm not able to reproduce this using emacs -Q with a recent version of
>>> Org (release_8.3.1-218-g70f590) and Emacs
>>> (emacs-24.5-rc3-fixed-5796-g8a6260e).  C-u org-cycle goes through all
>>> the views fine.
>>
>> OK - it seems to be outshine:
>>
>> When evaluating the following:
>>
>> #+begin_src emacs-lisp
>>  ;; must be set before outline is loaded
>> (defvar outline-minor-mode-prefix "\M-#")
>>
>> (require 'outshine)
>> (add-hook 'outline-minor-mode-hook 'outshine-hook-function)
>> (setq outshine-use-speed-commands t)
>>
>> (eval-after-load 'outline
>>   '(progn
>>     (require 'outline-magic)
>>     (define-key outline-minor-mode-map (kbd "<C-tab>") 'outline-cycle)))
>>
>> #+end_src
>>
>> I get the error when opening an org file.
>>
>> ,----
>> | GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F27)) of 2015-09-10
>> | Org-mode version 8.3.1 (release_8.3.1-225-g66a211 @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)
>> `----
>>
>>
>
> This might be the issue discussed earlier [1].  If so, it is solved (see the linked thread).

That looks likely.

I assume that the propagation to melpa will take some time?

Thanks,

Rainer

>
> Regards,
> Andreas
>
> [1] http://article.gmane.org/gmane.emacs.orgmode/100215/match=outshine
>
>

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 480 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [BUG] outshine and emacs 25.0.5.1 - Was: [error] orgmode git on emacs 25 - HEAD - org-global-cycle
  2015-09-10 10:50       ` Rainer M Krug
@ 2015-09-10 19:28         ` Kaushal Modi
  2015-09-10 20:08           ` Rainer M Krug
  2015-09-10 19:55         ` Thorsten Jolitz
  1 sibling, 1 reply; 8+ messages in thread
From: Kaushal Modi @ 2015-09-10 19:28 UTC (permalink / raw)
  To: Rainer M Krug; +Cc: Andreas Leha, emacs-org list

[-- Attachment #1: Type: text/plain, Size: 2591 bytes --]

The author just merged my PR. So it should be in Melpa shortly, in its next
build cycle.
On Sep 10, 2015 6:50 AM, "Rainer M Krug" <Rainer@krugs.de> wrote:

> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
> > Hi Rainer,
> >
> > Rainer M Krug <Rainer@krugs.de> writes:
> >> Kyle Meyer <kyle@kyleam.com> writes:
> >>
> >>> Hi,
> >>>
> >>> Rainer M Krug <Rainer@krugs.de> writes:
> >>>
> >>>> Hi
> >>>>
> >>>> when doing global cycling using org in emacs 25.0.50.1, I get an
> "Before
> >>>> first heading" error (see backtrace below).
> >>>>
> >>>> It doesn't matter if the cursor is before or after the first header in
> >>>> the document.
> >>>>
> >>>> Is this something in my settings or the combination emacs 25 HEAD and
> >>>> org-mode git?
> >>>
> >>> I'm not able to reproduce this using emacs -Q with a recent version of
> >>> Org (release_8.3.1-218-g70f590) and Emacs
> >>> (emacs-24.5-rc3-fixed-5796-g8a6260e).  C-u org-cycle goes through all
> >>> the views fine.
> >>
> >> OK - it seems to be outshine:
> >>
> >> When evaluating the following:
> >>
> >> #+begin_src emacs-lisp
> >>  ;; must be set before outline is loaded
> >> (defvar outline-minor-mode-prefix "\M-#")
> >>
> >> (require 'outshine)
> >> (add-hook 'outline-minor-mode-hook 'outshine-hook-function)
> >> (setq outshine-use-speed-commands t)
> >>
> >> (eval-after-load 'outline
> >>   '(progn
> >>     (require 'outline-magic)
> >>     (define-key outline-minor-mode-map (kbd "<C-tab>") 'outline-cycle)))
> >>
> >> #+end_src
> >>
> >> I get the error when opening an org file.
> >>
> >> ,----
> >> | GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.5.0, NS appkit-1348.17
> Version 10.10.5 (Build 14F27)) of 2015-09-10
> >> | Org-mode version 8.3.1 (release_8.3.1-225-g66a211 @
> /Users/rainerkrug/.emacs.d/org-mode/lisp/)
> >> `----
> >>
> >>
> >
> > This might be the issue discussed earlier [1].  If so, it is solved (see
> the linked thread).
>
> That looks likely.
>
> I assume that the propagation to melpa will take some time?
>
> Thanks,
>
> Rainer
>
> >
> > Regards,
> > Andreas
> >
> > [1] http://article.gmane.org/gmane.emacs.orgmode/100215/match=outshine
> >
> >
>
> --
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
> Biology, UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Stellenbosch University
> South Africa
>
> Tel :       +33 - (0)9 53 10 27 44
> Cell:       +33 - (0)6 85 62 59 98
> Fax :       +33 - (0)9 58 10 27 44
>
> Fax (D):    +49 - (0)3 21 21 25 22 44
>
> email:      Rainer@krugs.de
>
> Skype:      RMkrug
>
> PGP: 0x0F52F982
>

[-- Attachment #2: Type: text/html, Size: 4295 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [BUG] outshine and emacs 25.0.5.1 - Was: [error] orgmode git on emacs 25 - HEAD - org-global-cycle
  2015-09-10 10:50       ` Rainer M Krug
  2015-09-10 19:28         ` Kaushal Modi
@ 2015-09-10 19:55         ` Thorsten Jolitz
  1 sibling, 0 replies; 8+ messages in thread
From: Thorsten Jolitz @ 2015-09-10 19:55 UTC (permalink / raw)
  To: emacs-orgmode

Rainer M Krug <Rainer@krugs.de> writes:

Hi Rainer, 

>> This might be the issue discussed earlier [1].  If so, it is solved
>> (see the linked thread).

I just applied the (hopefully relevant) patch for this on github, so
this should propagate to MELA anytime soon.

I tried to close some of the other issues around outshine/outorg on
github too, but some of them are very specific and at the moment I have
no clue how to fix them (if I understand them at all ;-)

But if I start to use Emacs more often now, I will use outshine too, and
maybe get involved a bit more in the future.

Hope that helps a bit ...

-- 
cheers,
Thorsten

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [BUG] outshine and emacs 25.0.5.1 - Was: [error] orgmode git on emacs 25 - HEAD - org-global-cycle
  2015-09-10 19:28         ` Kaushal Modi
@ 2015-09-10 20:08           ` Rainer M Krug
  0 siblings, 0 replies; 8+ messages in thread
From: Rainer M Krug @ 2015-09-10 20:08 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: Andreas Leha, emacs-org list

[-- Attachment #1: Type: text/plain, Size: 2930 bytes --]



Envoyé de mon iPhone

> Le 10 sept. 2015 à 21:28, Kaushal Modi <kaushal.modi@gmail.com> a écrit :
> 
> The author just merged my PR. So it should be in Melpa shortly, in its next build cycle.
> 

Thanks - perfect. 

Rainer

>> On Sep 10, 2015 6:50 AM, "Rainer M Krug" <Rainer@krugs.de> wrote:
>> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>> 
>> > Hi Rainer,
>> >
>> > Rainer M Krug <Rainer@krugs.de> writes:
>> >> Kyle Meyer <kyle@kyleam.com> writes:
>> >>
>> >>> Hi,
>> >>>
>> >>> Rainer M Krug <Rainer@krugs.de> writes:
>> >>>
>> >>>> Hi
>> >>>>
>> >>>> when doing global cycling using org in emacs 25.0.50.1, I get an "Before
>> >>>> first heading" error (see backtrace below).
>> >>>>
>> >>>> It doesn't matter if the cursor is before or after the first header in
>> >>>> the document.
>> >>>>
>> >>>> Is this something in my settings or the combination emacs 25 HEAD and
>> >>>> org-mode git?
>> >>>
>> >>> I'm not able to reproduce this using emacs -Q with a recent version of
>> >>> Org (release_8.3.1-218-g70f590) and Emacs
>> >>> (emacs-24.5-rc3-fixed-5796-g8a6260e).  C-u org-cycle goes through all
>> >>> the views fine.
>> >>
>> >> OK - it seems to be outshine:
>> >>
>> >> When evaluating the following:
>> >>
>> >> #+begin_src emacs-lisp
>> >>  ;; must be set before outline is loaded
>> >> (defvar outline-minor-mode-prefix "\M-#")
>> >>
>> >> (require 'outshine)
>> >> (add-hook 'outline-minor-mode-hook 'outshine-hook-function)
>> >> (setq outshine-use-speed-commands t)
>> >>
>> >> (eval-after-load 'outline
>> >>   '(progn
>> >>     (require 'outline-magic)
>> >>     (define-key outline-minor-mode-map (kbd "<C-tab>") 'outline-cycle)))
>> >>
>> >> #+end_src
>> >>
>> >> I get the error when opening an org file.
>> >>
>> >> ,----
>> >> | GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F27)) of 2015-09-10
>> >> | Org-mode version 8.3.1 (release_8.3.1-225-g66a211 @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)
>> >> `----
>> >>
>> >>
>> >
>> > This might be the issue discussed earlier [1].  If so, it is solved (see the linked thread).
>> 
>> That looks likely.
>> 
>> I assume that the propagation to melpa will take some time?
>> 
>> Thanks,
>> 
>> Rainer
>> 
>> >
>> > Regards,
>> > Andreas
>> >
>> > [1] http://article.gmane.org/gmane.emacs.orgmode/100215/match=outshine
>> >
>> >
>> 
>> --
>> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)
>> 
>> Centre of Excellence for Invasion Biology
>> Stellenbosch University
>> South Africa
>> 
>> Tel :       +33 - (0)9 53 10 27 44
>> Cell:       +33 - (0)6 85 62 59 98
>> Fax :       +33 - (0)9 58 10 27 44
>> 
>> Fax (D):    +49 - (0)3 21 21 25 22 44
>> 
>> email:      Rainer@krugs.de
>> 
>> Skype:      RMkrug
>> 
>> PGP: 0x0F52F982

[-- Attachment #2: Type: text/html, Size: 4834 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-09-10 20:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-09  7:49 [error] orgmode git on emacs 25 - HEAD - org-global-cycle Rainer M Krug
2015-09-09 14:16 ` Kyle Meyer
2015-09-10  9:46   ` [BUG] outshine and emacs 25.0.5.1 - Was: " Rainer M Krug
2015-09-10 10:28     ` Andreas Leha
2015-09-10 10:50       ` Rainer M Krug
2015-09-10 19:28         ` Kaushal Modi
2015-09-10 20:08           ` Rainer M Krug
2015-09-10 19:55         ` Thorsten Jolitz

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).