From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: feature request: org-patch command Date: Sun, 26 Oct 2008 07:32:40 +0100 Message-ID: <79697F3D-219C-4BA8-A667-3B6B43C2ED37@uva.nl> References: <20524da70810252125n5c623ffeoe9114f80ee069c22@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ku23p-0001iO-Es for emacs-orgmode@gnu.org; Sun, 26 Oct 2008 05:37:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ku23o-0001h8-0L for emacs-orgmode@gnu.org; Sun, 26 Oct 2008 05:37:24 -0400 Received: from [199.232.76.173] (port=51731 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ku23n-0001gz-Qb for emacs-orgmode@gnu.org; Sun, 26 Oct 2008 05:37:23 -0400 Received: from mx20.gnu.org ([199.232.41.8]:46429) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ku23n-0007zl-Fn for emacs-orgmode@gnu.org; Sun, 26 Oct 2008 05:37:23 -0400 Received: from ey-out-1920.google.com ([74.125.78.144]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KtzB7-0006U6-Ew for emacs-orgmode@gnu.org; Sun, 26 Oct 2008 02:32:45 -0400 Received: by ey-out-1920.google.com with SMTP id 4so690051eyg.24 for ; Sat, 25 Oct 2008 23:32:43 -0700 (PDT) In-Reply-To: <20524da70810252125n5c623ffeoe9114f80ee069c22@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: emacs-orgmode@gnu.org Hi Samuel, it seems to me that people who want to create patches regularly would live much better if they'd use a versioning system to create these patches. What you describe is more a facility for the casual patch producer, which are the people who usually don't write patches. - Carsten On Oct 26, 2008, at 5:25 AM, Samuel Wales wrote: > To make it easier to patch correctly, perhaps it would help if you > could visit an org file, and simply call an org-patch command that > would do something like this: > > - create a directory as a sibling to the org source dir if it does > not exist > - put the original and a copy in it > - remind the user to put it in load-path in front of org > - let you edit the copy > - give you hints on org coding style > - remind you to use short functions that do only one thing > - tell you how to instrument for testing > - remind you of gnu requirements > - tell you to run org-patch-diff to create a temporary buffer with > the correct diff output > > At least, if I wanted to, say, correct a typo in an org function, I > wouldn't bother unless I could do it this easily, for fear of getting > it wrong. > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode