From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: git-diff and superfluous whitespace changes Date: Wed, 19 Nov 2008 17:40:25 +0100 Message-ID: References: <87k5azpz4l.fsf@kassiopeya.MSHEIMNETZ> 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 1L2qsM-0000Ay-Pe for emacs-orgmode@gnu.org; Wed, 19 Nov 2008 12:30:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2qsK-0000AT-TE for emacs-orgmode@gnu.org; Wed, 19 Nov 2008 12:30:02 -0500 Received: from [199.232.76.173] (port=58723 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2qsK-0000AQ-QY for emacs-orgmode@gnu.org; Wed, 19 Nov 2008 12:30:00 -0500 Received: from ik-out-1112.google.com ([66.249.90.181]:15980) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L2qsK-0001zc-AQ for emacs-orgmode@gnu.org; Wed, 19 Nov 2008 12:30:00 -0500 Received: by ik-out-1112.google.com with SMTP id b32so55551ika.2 for ; Wed, 19 Nov 2008 09:29:58 -0800 (PST) In-Reply-To: <87k5azpz4l.fsf@kassiopeya.MSHEIMNETZ> 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: Sebastian Rose Cc: emacs-orgmode Org-Mode Hi Sebastian, As far as I know, this feature is Emacs 23 only (I had not known about it prior your mail). Interesting, maybe we should do this. - Carsten On Nov 19, 2008, at 3:30 PM, Sebastian Rose wrote: > Hi, > > > > I just found the projects support in the emacs manual [1] after > reading > some mails on emacs-devel, and it works great. Not shure, if this is > emacs23-only. > > > To prevent patches from containing many lines of superfluous > whitespace > changes, I added this simple .dir-settings in org-mode/ to my local > git-branches, and it's just fine [2]: > > > => --->8----------------------------->8----------------------------- > >8--- > ((nil . ((indent-tabs-mode . t) > (tab-width . 8) > (fill-column . 80))) > ("lisp" > . ((nil . ((change-log-default-name . "ChangeLog.local")))))) > <= > ---8<-----------------------------8<-----------------------------8<--- > > > Now a simple `git-diff' contains no lines with whitespace-only changes > anymore. > > > > Carsten, could something like this be added to the org-mode/ > directory? > > Does this simple `project support' exist in earlier version of emacs? > > > > > Regards, > > Sebastian > > > > > ---- Footnotes: --------------- > > [1] [[info:emacs:Directory%20Variables][info:emacs:Directory > Variables]] > > [2] I use `indented-tabs-mode nil' and whitespace cleanup here. I'm > shure there's a lot missing. E.g., I plan to turn on the > whitespace-cleanup for preceding whitespace again. > > > > -- > Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 > Hannover > > Tel.: +49 (0)511 - 36 58 472 > Fax: +49 (0)1805 - 233633 - 11044 > mobil: +49 (0)173 - 83 93 417 > Email: s.rose emma-stil de, sebastian_rose gmx de > Http: www.emma-stil.de > > > _______________________________________________ > 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