* Bug due to org-startup-indented
@ 2011-12-22 9:53 Gustav Wikström
2011-12-22 10:07 ` Nicolas Goaziou
0 siblings, 1 reply; 8+ messages in thread
From: Gustav Wikström @ 2011-12-22 9:53 UTC (permalink / raw)
To: Org Mode List
[-- Attachment #1: Type: text/plain, Size: 483 bytes --]
Hi!
When org-startup-indented is set to true I get a fatal error when using
'org-tree-to-indirect-buffer' on a heading then using org-cycle on the same
heading in the indirect-buffer.
This bug exists in org-version 7.7 & 7.8.02 in emacs 24.0.92.1 on windows.
The following commands should reproduce the error:
M-: (setq org-startup-indented t)
"open an org-mode file with some headlines and text."
C-c C-x b
C-x 0
tab
Anyone got any ideas on how to fix this?
Regards
Gustav
[-- Attachment #2: Type: text/html, Size: 798 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug due to org-startup-indented
2011-12-22 9:53 Bug due to org-startup-indented Gustav Wikström
@ 2011-12-22 10:07 ` Nicolas Goaziou
2011-12-22 15:17 ` Gustav Wikström
0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2011-12-22 10:07 UTC (permalink / raw)
To: Gustav Wikström; +Cc: Org Mode List
Hello,
Gustav Wikström <gustav.erik@gmail.com> writes:
> When org-startup-indented is set to true I get a fatal error when using
> 'org-tree-to-indirect-buffer' on a heading then using org-cycle on the same
> heading in the indirect-buffer.
>
> This bug exists in org-version 7.7 & 7.8.02 in emacs 24.0.92.1 on windows.
>
> The following commands should reproduce the error:
>
> M-: (setq org-startup-indented t)
>
> "open an org-mode file with some headlines and text."
>
> C-c C-x b
> C-x 0
> tab
I cannot reproduce this on 7.8.02. Does it happen with "-q"? Does it
happen on every Org file?
Also, what is the error reported (with M-x toggle-debug-on-error)?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug due to org-startup-indented
2011-12-22 10:07 ` Nicolas Goaziou
@ 2011-12-22 15:17 ` Gustav Wikström
2011-12-22 16:09 ` Nicolas Goaziou
0 siblings, 1 reply; 8+ messages in thread
From: Gustav Wikström @ 2011-12-22 15:17 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: Org Mode List
[-- Attachment #1: Type: text/plain, Size: 1415 bytes --]
Yes, unfortunately it also breaks with "-q". Using "toggle-debug-on-error"
does not work since emacs fails. It's not reporting any error before this
failure.
I've tried to debug what happens with "debug-on-entry" when calling
"org-cycle". What I find is that after a call to "overlay-put" the program
breaks.
I've also tried the same procedure without enabling "org-startup-indented"
and then nothing bad happens. This single change in emacs -q results in the
reported behaviour for me.
Nicolas, are you using windows and emacs 24.0.92?
Regards
Gustav
2011/12/22 Nicolas Goaziou <n.goaziou@gmail.com>
> Hello,
>
> Gustav Wikström <gustav.erik@gmail.com> writes:
>
> > When org-startup-indented is set to true I get a fatal error when using
> > 'org-tree-to-indirect-buffer' on a heading then using org-cycle on the
> same
> > heading in the indirect-buffer.
> >
> > This bug exists in org-version 7.7 & 7.8.02 in emacs 24.0.92.1 on
> windows.
> >
> > The following commands should reproduce the error:
> >
> > M-: (setq org-startup-indented t)
> >
> > "open an org-mode file with some headlines and text."
> >
> > C-c C-x b
> > C-x 0
> > tab
>
> I cannot reproduce this on 7.8.02. Does it happen with "-q"? Does it
> happen on every Org file?
>
> Also, what is the error reported (with M-x toggle-debug-on-error)?
>
>
> Regards,
>
> --
> Nicolas Goaziou
>
[-- Attachment #2: Type: text/html, Size: 2091 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug due to org-startup-indented
2011-12-22 15:17 ` Gustav Wikström
@ 2011-12-22 16:09 ` Nicolas Goaziou
2011-12-22 17:13 ` Nick Dokos
0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2011-12-22 16:09 UTC (permalink / raw)
To: Gustav Wikström; +Cc: Org Mode List
Gustav Wikström <gustav.erik@gmail.com> writes:
> Yes, unfortunately it also breaks with "-q". Using "toggle-debug-on-error"
> does not work since emacs fails. It's not reporting any error before this
> failure.
>
> I've tried to debug what happens with "debug-on-entry" when calling
> "org-cycle". What I find is that after a call to "overlay-put" the program
> breaks.
>
> I've also tried the same procedure without enabling "org-startup-indented"
> and then nothing bad happens. This single change in emacs -q results in the
> reported behaviour for me.
>
> Nicolas, are you using windows and emacs 24.0.92?
No, I'm using GNU/Linux and Emacs 24.0.92.
Anyway, if emacs crashes, whatever may be the badness of Org indent
code, the problem should be reported to the emacs devel mailing list
instead: all that we may come up with here would be a hack.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug due to org-startup-indented
2011-12-22 16:09 ` Nicolas Goaziou
@ 2011-12-22 17:13 ` Nick Dokos
2011-12-22 22:50 ` Gustav Wikström
0 siblings, 1 reply; 8+ messages in thread
From: Nick Dokos @ 2011-12-22 17:13 UTC (permalink / raw)
To: Nicolas Goaziou
Cc: Gustav =?utf-8?Q?Wikstr=C3=B6m?=, nicholas.dokos, Org Mode List
Nicolas Goaziou <n.goaziou@gmail.com> wrote:
> Gustav Wikström <gustav.erik@gmail.com> writes:
>
> > Yes, unfortunately it also breaks with "-q". Using "toggle-debug-on-error"
> > does not work since emacs fails. It's not reporting any error before this
> > failure.
> >
> > I've tried to debug what happens with "debug-on-entry" when calling
> > "org-cycle". What I find is that after a call to "overlay-put" the program
> > breaks.
> >
> > I've also tried the same procedure without enabling "org-startup-indented"
> > and then nothing bad happens. This single change in emacs -q results in the
> > reported behaviour for me.
> >
> > Nicolas, are you using windows and emacs 24.0.92?
>
> No, I'm using GNU/Linux and Emacs 24.0.92.
>
> Anyway, if emacs crashes, whatever may be the badness of Org indent
> code, the problem should be reported to the emacs devel mailing list
> instead: all that we may come up with here would be a hack.
>
>
FWIW, I cannot reproduce it either (GNU Emacs 24.0.90.2
(x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 2011-10-27 and
Org-mode version 7.8.02 (release_7.8.02.2.g490d6a)) so the Windoze part
seems essential.
I'm not sure how much of a development environment the OP has set up on
his box, but if gdb is available, running emacs under gdb and getting a
stacktrace to report to the emacs devel list seems like the best route
forward.
BTW, is there no error message at all? emacs just dies?
Nick
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug due to org-startup-indented
2011-12-22 17:13 ` Nick Dokos
@ 2011-12-22 22:50 ` Gustav Wikström
2011-12-23 4:21 ` Jambunathan K
0 siblings, 1 reply; 8+ messages in thread
From: Gustav Wikström @ 2011-12-22 22:50 UTC (permalink / raw)
To: nicholas.dokos; +Cc: Org Mode List, Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 1988 bytes --]
Emacs crashes. It prompts with a question to attach gdb to debug. Not much
more, sorry to say. I'm not used to gdb though, so getting a trace for the
error was to big a task a.t.m.
This should be reproducible in windows using the same emacs-version though.
So I'll make sure to send a mail to emacs-devel.
Regards
Gustav
On Thu, Dec 22, 2011 at 6:13 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> Nicolas Goaziou <n.goaziou@gmail.com> wrote:
>
> > Gustav Wikström <gustav.erik@gmail.com> writes:
> >
> > > Yes, unfortunately it also breaks with "-q". Using
> "toggle-debug-on-error"
> > > does not work since emacs fails. It's not reporting any error before
> this
> > > failure.
> > >
> > > I've tried to debug what happens with "debug-on-entry" when calling
> > > "org-cycle". What I find is that after a call to "overlay-put" the
> program
> > > breaks.
> > >
> > > I've also tried the same procedure without enabling
> "org-startup-indented"
> > > and then nothing bad happens. This single change in emacs -q results
> in the
> > > reported behaviour for me.
> > >
> > > Nicolas, are you using windows and emacs 24.0.92?
> >
> > No, I'm using GNU/Linux and Emacs 24.0.92.
> >
> > Anyway, if emacs crashes, whatever may be the badness of Org indent
> > code, the problem should be reported to the emacs devel mailing list
> > instead: all that we may come up with here would be a hack.
> >
> >
>
> FWIW, I cannot reproduce it either (GNU Emacs 24.0.90.2
> (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 2011-10-27 and
> Org-mode version 7.8.02 (release_7.8.02.2.g490d6a)) so the Windoze part
> seems essential.
>
> I'm not sure how much of a development environment the OP has set up on
> his box, but if gdb is available, running emacs under gdb and getting a
> stacktrace to report to the emacs devel list seems like the best route
> forward.
>
> BTW, is there no error message at all? emacs just dies?
>
> Nick
>
>
[-- Attachment #2: Type: text/html, Size: 2946 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug due to org-startup-indented
2011-12-22 22:50 ` Gustav Wikström
@ 2011-12-23 4:21 ` Jambunathan K
2011-12-23 12:49 ` Bastien
0 siblings, 1 reply; 8+ messages in thread
From: Jambunathan K @ 2011-12-23 4:21 UTC (permalink / raw)
To: Gustav Wikström; +Cc: Nicolas Goaziou, nicholas.dokos, Org Mode List
> This should be reproducible in windows using the same emacs-version
> though. So I'll make sure to send a mail to emacs-devel.
Don't bother about attaching gdb etc and Don't use emacs-devel.
I suggest that you file a bug report - M-x report-emacs-bug RET - with a
simple reproducible recipe. Remember to mention in the subject that it
is a crash in Emacs *runtime*.
If the bug is at all reproducible, someone will reproduce the bug for
you and check-in a fix in no time.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug due to org-startup-indented
2011-12-23 4:21 ` Jambunathan K
@ 2011-12-23 12:49 ` Bastien
0 siblings, 0 replies; 8+ messages in thread
From: Bastien @ 2011-12-23 12:49 UTC (permalink / raw)
To: Jambunathan K
Cc: Gustav Wikström, nicholas.dokos, Nicolas Goaziou,
Org Mode List
Jambunathan K <kjambunathan@gmail.com> writes:
>> This should be reproducible in windows using the same emacs-version
>> though. So I'll make sure to send a mail to emacs-devel.
>
> Don't bother about attaching gdb etc and Don't use emacs-devel.
>
> I suggest that you file a bug report - M-x report-emacs-bug RET - with a
> simple reproducible recipe. Remember to mention in the subject that it
> is a crash in Emacs *runtime*.
Gustav did so and Eli is on this bug. Thanks Gustav for taking
care of reporting it there!
--
Bastien
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-12-23 12:48 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-22 9:53 Bug due to org-startup-indented Gustav Wikström
2011-12-22 10:07 ` Nicolas Goaziou
2011-12-22 15:17 ` Gustav Wikström
2011-12-22 16:09 ` Nicolas Goaziou
2011-12-22 17:13 ` Nick Dokos
2011-12-22 22:50 ` Gustav Wikström
2011-12-23 4:21 ` Jambunathan K
2011-12-23 12:49 ` Bastien
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).