From: Eivind Otto Hjelle <eohjelle@gmail.com>
To: rpluim@gmail.com
Cc: 32906@debbugs.gnu.org
Subject: bug#32906: org-in-src-block-p always returns nil
Date: Tue, 2 Oct 2018 12:39:34 -0500 [thread overview]
Message-ID: <CAGFEQMTWQzMmw7B4qgS34i-hcL++vr1JnMz2cdVA-_wSrPqhBw@mail.gmail.com> (raw)
In-Reply-To: <87tvm4e57o.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 863 bytes --]
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@gmail.com> wrote:
> Eivind Otto Hjelle <eohjelle@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
>
[-- Attachment #2: Type: text/html, Size: 1337 bytes --]
next prev parent reply other threads:[~2018-10-02 17:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-02 14:22 bug#32906: org-in-src-block-p always returns nil Eivind Otto Hjelle
2018-10-02 15:30 ` Robert Pluim
2018-10-02 17:39 ` Eivind Otto Hjelle [this message]
2018-10-03 7:36 ` Robert Pluim
2018-10-02 16:05 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGFEQMTWQzMmw7B4qgS34i-hcL++vr1JnMz2cdVA-_wSrPqhBw@mail.gmail.com \
--to=eohjelle@gmail.com \
--cc=32906@debbugs.gnu.org \
--cc=rpluim@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.