From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric Schulte" Newsgroups: gmane.emacs.devel Subject: allow loading initialization from .org file -- would be breaking change Date: Thu, 18 Nov 2010 09:48:38 -0700 Message-ID: <871v6d4cdh.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1290439022 3167 80.91.229.12 (22 Nov 2010 15:17:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Nov 2010 15:17:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 22 16:16:58 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PKY8V-0000yu-EB for ged-emacs-devel@m.gmane.org; Mon, 22 Nov 2010 16:16:55 +0100 Original-Received: from localhost ([127.0.0.1]:54570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKY8U-0004Mt-OD for ged-emacs-devel@m.gmane.org; Mon, 22 Nov 2010 10:16:54 -0500 Original-Received: from [140.186.70.92] (port=36028 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKY8P-0004Mo-9Y for emacs-devel@gnu.org; Mon, 22 Nov 2010 10:16:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKY8N-0002Ka-Uu for emacs-devel@gnu.org; Mon, 22 Nov 2010 10:16:49 -0500 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:53161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKY8N-0002KW-PA for emacs-devel@gnu.org; Mon, 22 Nov 2010 10:16:47 -0500 Original-Received: by vws10 with SMTP id 10so3392672vws.0 for ; Mon, 22 Nov 2010 07:16:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:user-agent:mime-version:content-type; bh=6y65uX208fLPsAyMKIGX7nB4xbwnBL2x56R9F+B65po=; b=Nt+LNmVAXzEJVC0Yrl0iI3DeXCIdronFRb6vnWfjGWU0nqxb7aElNDWyI6H5XmSixi fkNwI2D85xEk3SdASXq44FR9Srk55HB1sjTbqkej6hbVsBWqQzuU5NXA7tLoqAdStBXF fgMvr/Dw1vNFDyXHIUEIrElLjHjklUv7IJbKw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=rbgfhfJAuA3gyNB3jEZjCXG2UMXRSwQQW4yxLM/CJaj8QLfkswaR53cjtQ6DVuNfpY TAnoByQA883CT4oGTNLU4WizwWEHayPcoUY3m6bsPrzOoWQ0EkH8r3wZothWwRAyVMMx uDz6DHmblD3Cv30URcXELOaRedhpEoNQpcrVg= Original-Received: by 10.220.195.67 with SMTP id eb3mr1613404vcb.14.1290439005775; Mon, 22 Nov 2010 07:16:45 -0800 (PST) Original-Received: from roll ([209.234.140.58]) by mx.google.com with ESMTPS id l5sm997074vcr.14.2010.11.22.07.16.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 22 Nov 2010 07:16:45 -0800 (PST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133009 Archived-At: Hi, It is now possible to load a user's initialization from emacs-lisp code blocks embedded in Org-mode files using the `org-babel-load-file' command. Currently users of this setup must still have an elisp init.el function which loads up their .org files. See for example this fairly widely used configuration [1] which uses this init file [2]. Would it make sense to begin loading .init.org and .emacs.org files by default. This would be a breaking change for any users who have both .init.el and .init.org, and what's worse it would overwrite the .init.el file when the embedded elisp is tangled out of the Org-mode file. Best -- Eric Footnotes: [1] [2]