* bug#32906: org-in-src-block-p always returns nil
[not found] <CAGFEQMTOD6sRQmQoGcE2jCrSkvWunS3tA+Wg2W_dTAwMG3HB+g@mail.gmail.com>
@ 2018-10-02 15:30 ` Robert Pluim
2018-10-02 17:39 ` Eivind Otto Hjelle
2018-10-02 16:05 ` Eli Zaretskii
1 sibling, 1 reply; 4+ messages in thread
From: Robert Pluim @ 2018-10-02 15:30 UTC (permalink / raw)
To: Eivind Otto Hjelle; +Cc: 32906
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#32906: org-in-src-block-p always returns nil
[not found] <CAGFEQMTOD6sRQmQoGcE2jCrSkvWunS3tA+Wg2W_dTAwMG3HB+g@mail.gmail.com>
2018-10-02 15:30 ` bug#32906: org-in-src-block-p always returns nil Robert Pluim
@ 2018-10-02 16:05 ` Eli Zaretskii
1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2018-10-02 16:05 UTC (permalink / raw)
To: Eivind Otto Hjelle; +Cc: 32906
> From: Eivind Otto Hjelle <eohjelle@gmail.com>
> Date: Tue, 2 Oct 2018 09:22:56 -0500
>
> 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.
>
> I should mention that on my other system running a Linux distribution I
> do not have this problem.
Please show a short Org file where this function returns nil on
Windows, but non-nil on GNU/Linux. (Are you testing this in the same
Emacs version on both systems, btw?)
> I know that this bug was also reported by Ryan
> on 07 Aug 2014, as his bug report is still in the org mailing list
> archives. Ryan's bug report can be found here:
>
> https://lists.gnu.org/archive/html/emacs-orgmode/2014-08/msg00305.html
I don't see any bug there, just explanations why Ryan's implementation
was wrong.
>
> In GNU Emacs 25.3.1 (x86_64-w64-mingw32)
> of 2017-09-12 built on KAEL
> Windowing system distributor 'Microsoft Corp.', version 10.0.17134
Are you using the version of Org that came with this version of Emacs?
Or are you using a different version?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-10-03 7:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAGFEQMTOD6sRQmQoGcE2jCrSkvWunS3tA+Wg2W_dTAwMG3HB+g@mail.gmail.com>
2018-10-02 15:30 ` bug#32906: org-in-src-block-p always returns nil Robert Pluim
2018-10-02 17:39 ` Eivind Otto Hjelle
2018-10-03 7:36 ` Robert Pluim
2018-10-02 16:05 ` Eli Zaretskii
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).