From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yBdlJAz0wmLxawAAbAwnHQ (envelope-from ) for ; Mon, 04 Jul 2022 16:07:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ULY5JAz0wmIzVAAAauVa8A (envelope-from ) for ; Mon, 04 Jul 2022 16:07:08 +0200 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 33F3415B7 for ; Mon, 4 Jul 2022 16:07:08 +0200 (CEST) Received: from localhost ([::1]:56428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8MjD-0000MB-7L for larch@yhetil.org; Mon, 04 Jul 2022 10:07:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8MTL-0002JS-Sp for emacs-orgmode@gnu.org; Mon, 04 Jul 2022 09:50:44 -0400 Received: from ppsw-33.srv.uis.cam.ac.uk ([131.111.8.133]:48524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8MTJ-000802-V0 for emacs-orgmode@gnu.org; Mon, 04 Jul 2022 09:50:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cam.ac.uk; s=20210802.ppsw; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=+IEXJybb13FjEW8G7Y9sEzLtFrZbb05O/u7TwfTOVLQ=; b=dSS/focCRgzNhousmtkL7IDFKI aCnCgL6jAHQ7gpbylbyKWnyZkUCCYZjszK5IfDbhVoZ8IJaYPhuVhtCRERCRDsBavwWr4ysaUjNbu +tjuu2zM06xsldvXrPF5t66ZiKNkXZN2jfZV9HnUWqIXvfyWfPtq7Id+AYTRcI2p3l6U=; X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: https://help.uis.cam.ac.uk/email-scanner-virus Received: from smtp.maths.cam.ac.uk ([131.111.20.158]:53893 helo=evander.maths.cam.ac.uk) by ppsw-33.srv.uis.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.137]:25) with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1o8MTF-000mmw-Px (Exim 4.95) for emacs-orgmode@gnu.org (return-path ); Mon, 04 Jul 2022 14:50:37 +0100 Received: from 114.196.93.209.dyn.plus.net ([209.93.196.114] helo=localhost) by evander.maths.cam.ac.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1o8MTE-00Eahj-FZ for emacs-orgmode@gnu.org; Mon, 04 Jul 2022 14:50:36 +0100 User-agent: mu4e 1.6.11; emacs 28.1 From: Stephen Eglen To: emacs-orgmode@gnu.org Subject: Moving to a literate file for .emacs Date: Mon, 04 Jul 2022 14:44:58 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=131.111.8.133; envelope-from=sje30@cam.ac.uk; helo=ppsw-33.srv.uis.cam.ac.uk X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656943628; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+IEXJybb13FjEW8G7Y9sEzLtFrZbb05O/u7TwfTOVLQ=; b=mp0mdEhMtffSWFtXl+LdT9umIAi2/YpFhLeaI6xzlTmGzcV8gcGkgX7CzWc3Fl76uwEhxI AaB8kY0XJSUIFENECgXtRFet4/mlNEhIEJ7wCwBnGZiLdq9pZiOCvniqp84t1WQDYdLrCt R9wZGkfxlMLsnTZNOtOJ0NQcrwZqGRbXjh699T3wTAS2x4C+z8XU+1BxgReYTGuCJgs0lK 8zAGO3oOY5YlWpGKmDqMeKlcudS0FwpjnBP8Bdo+bd2jxiW2nbuJCwj79/9hEtM03UO+sL mgBN8ioXh08Ep8ykxKK3fZR/kKeln+sdcjFE1Mz3e0HAE5Q1bzD9jhbvFGzCxA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656943628; a=rsa-sha256; cv=none; b=K3hHEzXLiLW9cWdZ0TOZE+WLo8s0+bXTABLQUUolaV3elG5lB2OrxlrQx1nIFFCqKQuBWv +vG+twN+9UAEhjfHMUwG0KKDmgbNc3cvkOleDPbPF5kbLsjGQjM/LPWW+1nIP6ChAyd5zl r2pCmJM/7P87l0sjkcIgsd3eS7FyqTIW6mGAoZSeQJulXY/XwxjlDO4EVuy3mUCk3WY//2 mCzSZC6JoyrQtjLJfsjbMKnygqI8ohbjD693qhkmzv1KNF7ZvOyu3HYvrqRv42rv9bRuFj YxTnF9uvNdYSL45vzLpBk8dgktAQVCFnfqrEogSJ+glSUogeueO3dWHerKKPVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=cam.ac.uk header.s=20210802.ppsw header.b="dSS/focC"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=cam.ac.uk (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.25 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=cam.ac.uk header.s=20210802.ppsw header.b="dSS/focC"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=cam.ac.uk (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 33F3415B7 X-Spam-Score: 5.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2Xsr94qbGGgy I see many users are switching to using a 'literate programming' approach to tangling their .emacs file from an org file. Has anyone solved the following problem though? If I have a file called config.org containing: * test #+begin_src emacs-lisp (defun quick-test () "interactive" (* 3 9) ) #+end_src and then in my .emacs file I do: (org-babel-load-file "~/config.org") quick-test is indeed defined, but when I do C-c f RET quick-test RET it takes me to config.el (a tangled file, suitable for computers, not humans), rather than config.org. Is it possible instead to get the editor to jump to the definition in config.org? Stephen