From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Visher Newsgroups: gmane.emacs.help Subject: Re: Make a "general" Emacs configuration Date: Thu, 12 Aug 2010 12:33:45 -0400 Message-ID: References: <4C61DA12.5080403@pobox.com> <87ocd9c6dp.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1281630897 7099 80.91.229.12 (12 Aug 2010 16:34:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Aug 2010 16:34:57 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Andrea Crotti Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 12 18:34:54 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ojajx-0004hD-F0 for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Aug 2010 18:34:49 +0200 Original-Received: from localhost ([127.0.0.1]:59960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ojajw-0007oN-Rs for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Aug 2010 12:34:48 -0400 Original-Received: from [140.186.70.92] (port=42346 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OjajM-0007o6-1j for help-gnu-emacs@gnu.org; Thu, 12 Aug 2010 12:34:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OjajH-0007T3-UH for help-gnu-emacs@gnu.org; Thu, 12 Aug 2010 12:34:11 -0400 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:62946) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OjajH-0007Sn-S0 for help-gnu-emacs@gnu.org; Thu, 12 Aug 2010 12:34:07 -0400 Original-Received: by yxs7 with SMTP id 7so656370yxs.0 for ; Thu, 12 Aug 2010 09:34:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=jSAYKfoRjCobTcF1KW+RAvdH0dD1TVPQJaQN8D38CQo=; b=L+BPWoUVPlUKdXc6+cX3jPrgFCuCZR4SeaRE0AM7NtRh+qFuweJV9V7l8z5xoYoLN+ m6SdpCN8IzmqKpHXF1NURYwrX6b9mRuz9yOnYLGZAeaw82oNyeWyp/yoZJpU0ijkR4kS prBlG0QPI6aS0UlHWJjz/+A1MTL+CMyoe+c8Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=AZLYA2uV1/Wuo1ekwc0iHdH99VNds71sIsH33CeBnzlGJk3Z5xtMuYuCMOS15it4Zi GkW8TsuBiPxxLjVJkqZt3g8kWRhCg14F5xH+5U0bHnpMMkp0gvrLtCkJetdOnV0jpIaP AQxDdRqrfGkOdzh8kRKH/8wOTReO/kb7Pt4X4= Original-Received: by 10.150.168.2 with SMTP id q2mr508212ybe.341.1281630846714; Thu, 12 Aug 2010 09:34:06 -0700 (PDT) Original-Received: by 10.220.109.6 with HTTP; Thu, 12 Aug 2010 09:33:45 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74577 Archived-At: On Thu, Aug 12, 2010 at 9:57 AM, Andrea Crotti wrote: > Andrea Crotti writes: >> >> Well with git submodules is not a problem anyway, since it keeps track >> of the version so everyone cloning the repo will have the same version >> of submodules. > > But I have another problem now, whenever I do something (even just > byte-compilation) inside a submodule I get this > > --8<---------------cut here---------------start------------->8--- > Submodule doxymacs contains untracked content > --8<---------------cut here---------------end--------------->8--- > > which is a bit annoying. > Then the changes are not automatically staged and you would have to > commit explicitly, but still that "dirty" flag is not nice. $ cd path/to/submodule/root $ cat > .gitignore *.elc C-d That should get rid of the untracked content in your submodule in the case of byte compilation. > Maybe is worth to mirror everything myself, so even if I want to modify > something I can also push the changes, and the maybe send the patch to > the original author. If you're planning on modifying anything about the project, then the accepted way to do this in git would be to set up your own fork of the project to enable you to share patches and to update your own copy of it. Also, you'll need a commit at which to point your submodule and if you're going to change the submodule there's no guarantee that the original author will accept them so you'll need a central place to keep those commits. -- In Christ, Timmy V. http://blog.twonegatives.com/ http://five.sentenc.es/ - Spend less time on e-mail