all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Stansell <paulstansell@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] tangle breaks fortran modules [9.7-pre (release_9.6.7-581-gd38ca5)]
Date: Mon, 4 Sep 2023 11:07:36 +0100	[thread overview]
Message-ID: <CAMJKaZw_To8jWyUB3pVH-W4oNgi2437bv0tTCnSQn-Rst0+wAQ@mail.gmail.com> (raw)
In-Reply-To: <87msy2wev2.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 752 bytes --]

>
> I opened the latest Org git repo, ran make repro, opened the file,
> clicked on "tangle" link, moved to the linked source code, and executed
> it. It worked.
>
> So, I am unable to reproduce the problem on my system.
>

Hello Ihor,

Thanks for investigating.  Can you please post your tangled file named
circle.f90.

Mine looks like this

    program main
    MODULE Circle
          implicit None
          public :: area
    contains
          function area(r)
          implicit none
          real, intent(in) :: r
          real :: area
          area = 3.14159 * r**2
          return
          end function area
    END MODULE Circle
    end program main

which is broken because org/babel has added the first and last lines.

Thanks,

Paul

[-- Attachment #2: Type: text/html, Size: 1251 bytes --]

  reply	other threads:[~2023-09-04 10:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-04  1:59 [BUG] tangle breaks fortran modules [9.7-pre (release_9.6.7-581-gd38ca5)] Paul Stansell
2023-09-04  7:56 ` Ihor Radchenko
2023-09-04 10:07   ` Paul Stansell [this message]
2023-09-05  9:33     ` Ihor Radchenko
2023-09-05 15:53       ` Paul Stansell
2023-09-05 15:58         ` Ihor Radchenko

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=CAMJKaZw_To8jWyUB3pVH-W4oNgi2437bv0tTCnSQn-Rst0+wAQ@mail.gmail.com \
    --to=paulstansell@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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.