From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +CWMD8MJp14PIwAA0tVLHw (envelope-from ) for ; Mon, 27 Apr 2020 16:35:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +CHlI8sJp16bTQAAbx9fmQ (envelope-from ) for ; Mon, 27 Apr 2020 16:35:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D0C65942231 for ; Mon, 27 Apr 2020 16:35:11 +0000 (UTC) Received: from localhost ([::1]:54980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT6is-00061J-4F for larch@yhetil.org; Mon, 27 Apr 2020 12:35:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48648) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT6hc-0004uU-Ha for emacs-orgmode@gnu.org; Mon, 27 Apr 2020 12:33:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jT6hb-0000ye-P1 for emacs-orgmode@gnu.org; Mon, 27 Apr 2020 12:33:52 -0400 Received: from pb-smtp20.pobox.com ([173.228.157.52]:51658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jT6hb-0000x7-3r for emacs-orgmode@gnu.org; Mon, 27 Apr 2020 12:33:51 -0400 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id DCB0CB5CEA; Mon, 27 Apr 2020 12:33:46 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=FL+cqH/+Pn3ZKQyPkCBTibnBtvk=; b=e1+7nu QwKEBDui9vd2HsxuTFyWtCikcFLhxAJGXQQCbR+iMvhGA1mnCeDkA4njUu9yEtQX 2NROi7ImmHOaZButrnnvDlbPK+G5LW1V0joX3HCvJZSckA7oIgKzYWqwqGbs6Vn1 rpIF8sJ9XOv55mgSiVxkcvdoAB+hvlceJ+mRw= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id D49A2B5CE9; Mon, 27 Apr 2020 12:33:46 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=ODFsS2hSHBpIqhrAP36PdK/I6cK6Yk0lqK7Qg9uXx6o=; b=HZ4G6fL+uEg9C+uyq+XFzitpRMb/1ZFzl9CCpgaWFtwgMkvWZ2aa4C6suyCpFwo6OQTpu5x5hNH0qfv5k7+sb/EnvJbl4YDInfugV0MlI/ZCCJaAk+chB4FodlXa/nab1/3obYaF7DQxGz5LXGd5DTNx/zBVPf8EFednHu0INbk= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 4BC70B5CE7; Mon, 27 Apr 2020 12:33:44 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Vladimir Nikishkin Subject: Re: Specifying the execution function and/or nested major mode for babel blocks In-Reply-To: References: <87imhl7ein.fsf@kyleam.com> Date: Mon, 27 Apr 2020 16:33:42 +0000 Message-ID: <87v9lkopll.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: DC7AB66A-88A4-11EA-9FAC-B0405B776F7B-24757444!pb-smtp20.pobox.com Received-SPF: pass client-ip=173.228.157.52; envelope-from=kyle@kyleam.com; helo=pb-smtp20.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/27 12:33:47 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 173.228.157.52 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: -1.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=e1+7nu Q; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=HZ4G6fL+; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-1.21 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.55574777475328]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.19), country: US(-0.00), ip: 209.51.188.17(-0.56)]; DWL_DNSWL_FAIL(0.00)[kyleam.com:server fail,209.51.188.17:server fail]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[pobox.com:+,kyleam.com:+]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; FROM_NEQ_ENVFROM(0.00)[kyle@kyleam.com,emacs-orgmode-bounces@gnu.org]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pobox.com:s=sasl,kyleam.com:s=mesmtp]; URIBL_BLOCKED(0.00)[kyleam.com:dkim,pobox.com:dkim]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[kyleam.com]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: U3aE0Blm+Qpg Vladimir Nikishkin writes: >>> (add-to-list 'org-src-lang-modes '("f90" . fortran)) > > Language alignment is fine. What needs to be done is to make org-babel > use org-babel-execute:fortran for both begin_src fortran, and for > begin_src f90. Yeah, my suggestion doesn't make sense given you said there is a f90-mode. Try two: (org-babel-make-language-alias "f90" "fortran") Assuming that works for you and is expected to work generally, it'd be good to add that to ob-fortran.el.