Karl Voit <devn...@karl-voit.at> writes: > * Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: >> Hello, > > Hi! > >> Could you provide an ECM? I'm unable to reproduce it. > > Yeah, I can do that. However, because I never did this before and I > suppose this is going to take me at least two hours, I will post it > whenever I got time to do the ECM. > > Is this correct that for an ECM I have to provide a complete > (minimal) init.el and Org-mode files?
Hi Karl, In case it is useful here is what I use for ECMs (I haven't done one in well over a year though) This is on my Linux system: Shell script to start emacs with a minimal setup ,----[ minimal-emacs ] | #!/bin/sh | TESTEL= | TESTFILE=/tmp/test.el | if test -e $TESTFILE | then | TESTEL="-l /tmp/test.el" | fi | emacs -q -l ~/minimal.emacs $TESTEL $1 `---- Minimal .emacs file to enable org-mode from git ,----[ minimal.emacs ] | (add-to-list 'load-path "~/git/org-mode/lisp/") | ;(add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp")) | (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode)) | (require 'org) | | (global-set-key "\C-cl" 'org-store-link) | (global-set-key "\C-ca" 'org-agenda) | (global-set-key "\C-cb" 'org-iswitchb) `---- I put test settings that show the problem in /tmp/test.el which is automatically included when I run 'minimal-emacs'. Hope that helps. Regards, Bernt