emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Sebastian Rose <sebastian_rose@gmx.de>
Cc: emacs-orgmode Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: git-diff and superfluous whitespace changes
Date: Wed, 19 Nov 2008 17:40:25 +0100	[thread overview]
Message-ID: <E63886DA-7930-459C-AEF0-2DAC9D95FFAB@uva.nl> (raw)
In-Reply-To: <87k5azpz4l.fsf@kassiopeya.MSHEIMNETZ>

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

      reply	other threads:[~2008-11-19 17:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-19 14:30 git-diff and superfluous whitespace changes Sebastian Rose
2008-11-19 16:40 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E63886DA-7930-459C-AEF0-2DAC9D95FFAB@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=sebastian_rose@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).