From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Reloading uncompiled and testing from several git branches (was: Macro question with new texinfo exporter) Date: Sat, 16 Feb 2013 14:23:29 +0100 Message-ID: <87r4kgmlym.fsf_-_@bzg.ath.cx> References: <877gmvalzn.fsf@gmail.com> <87vcae53fi.fsf@bzg.ath.cx> <87haly96xi.fsf@gmail.com> <87zjzqejhz.fsf@bzg.ath.cx> <87wquumhqk.fsf@gmail.com> <87wquth35i.fsf@bzg.ath.cx> <87ehh12gjp.fsf@gmail.com> <87halsat2l.fsf@bzg.ath.cx> <87lib33o0u.fsf@Rainer.invalid> <87wqu81una.fsf@bzg.ath.cx> <874nhc36j4.fsf@Rainer.invalid> <87ehggo8db.fsf@bzg.ath.cx> <87zjz41r1h.fsf@Rainer.invalid> <87621s1jnr.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6hjr-0007md-HH for emacs-orgmode@gnu.org; Sat, 16 Feb 2013 08:23:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6hjo-0005Sv-7w for emacs-orgmode@gnu.org; Sat, 16 Feb 2013 08:23:35 -0500 Received: from mail-wi0-f179.google.com ([209.85.212.179]:54081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6hjo-0005So-10 for emacs-orgmode@gnu.org; Sat, 16 Feb 2013 08:23:32 -0500 Received: by mail-wi0-f179.google.com with SMTP id ez12so2092033wid.0 for ; Sat, 16 Feb 2013 05:23:31 -0800 (PST) In-Reply-To: <87621s1jnr.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sat, 16 Feb 2013 21:18:48 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Abrahamsen Cc: emacs-orgmode@gnu.org (Updating the subject.) Eric Abrahamsen writes: > Related to this -- how do you folks handle multiple local git branches? > Do you always run uncompiled, and follow every git checkout with > org-reload? I've caught myself several times recently doing git > checkouts and reloading, but of course still reloading the byte-compiled > files from the previous branch.... Yes, that's the mistake I often did. Especially because make test compiles the file and do not deleted the compiled files. Maybe we can have make testclean = make test && make clean Achim, would that be useful? I don't compile and I reload with C-u M-x org-reload RET. This way I have no problem switching from one branch to another, provided my setup is not shadowing current variables the wrong way.) -- Bastien