GNU bug report logs - #32906
org-in-src-block-p always returns nil

Previous Next

Package: org-mode;

Reported by: Eivind Otto Hjelle <eohjelle <at> gmail.com>

Date: Tue, 2 Oct 2018 15:17:01 UTC

Severity: normal

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eivind Otto Hjelle <eohjelle <at> gmail.com>
To: rpluim <at> gmail.com
Cc: 32906 <at> debbugs.gnu.org
Subject: bug#32906: org-in-src-block-p always returns nil
Date: Tue, 2 Oct 2018 12:39:34 -0500
[Message part 1 (text/plain, inline)]
I thought I had updated emacs to the latest version, but apparently not.
After upgrading to emacs-26 the command org-in-src-block-p works as
expected. Thanks!

Best,
Eivind

On Tue, Oct 2, 2018 at 10:30 AM Robert Pluim <rpluim <at> gmail.com> wrote:

> Eivind Otto Hjelle <eohjelle <at> gmail.com> writes:
>
> > The function 'org-in-src-block-p' always returns nil on my system
> > running Windows 10.
> >
> > How to reproduce this bug starting from 'emacs -Q':
> > Define a function 'test-org-in-src-block-p' in the scratch buffer as
> > follows:
> >
> > (defun test-org-in-src-block-p ()
> >   (interactive)
> >   (print (org-in-src-block-p)))
> >
> > Navigate to a src block in org mode and call 'M-x
> > test-org-in-src-block-p'. Now nil is printed to the message buffer.
>
> Works for me in emacs-26. Would it be possible to try that version?
>
> Regards
>
> Robert
>
[Message part 2 (text/html, inline)]

This bug report was last modified 6 years and 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.