From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Pluim Subject: bug#32906: org-in-src-block-p always returns nil Date: Tue, 02 Oct 2018 17:30:35 +0200 Message-ID: <87tvm4e57o.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7Mdn-00042j-FD for emacs-orgmode@gnu.org; Tue, 02 Oct 2018 11:31:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7Mdd-00028i-S4 for emacs-orgmode@gnu.org; Tue, 02 Oct 2018 11:31:11 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58399) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g7Mda-00027J-CQ for emacs-orgmode@gnu.org; Tue, 02 Oct 2018 11:31:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g7Mda-0001TK-AI for emacs-orgmode@gnu.org; Tue, 02 Oct 2018 11:31:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Eivind Otto Hjelle's message of "Tue, 2 Oct 2018 09:22:56 -0500") 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" To: Eivind Otto Hjelle Cc: 32906@debbugs.gnu.org Eivind Otto Hjelle 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