From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glauber Alex Dias Prado Newsgroups: gmane.emacs.help Subject: Re: Make a "general" Emacs configuration Date: Thu, 12 Aug 2010 15:08:19 -0300 Message-ID: <87y6cbya98.fsf@gmail.com> References: <4C61DA12.5080403@pobox.com> <87ocd9c6dp.fsf@gmail.com> Reply-To: smade4@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1281636209 12021 80.91.229.12 (12 Aug 2010 18:03:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Aug 2010 18:03:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Andrea Crotti To: Tim Visher Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 12 20:03:27 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 1Ojc7b-0000Su-49 for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Aug 2010 20:03:27 +0200 Original-Received: from localhost ([127.0.0.1]:60365 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ojc7Z-0004fc-1b for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Aug 2010 14:03:17 -0400 Original-Received: from [140.186.70.92] (port=58128 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ojc4O-0003DO-VI for help-gnu-emacs@gnu.org; Thu, 12 Aug 2010 14:00:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ojc4H-00043x-Qu for help-gnu-emacs@gnu.org; Thu, 12 Aug 2010 13:59:54 -0400 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:49752) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ojc4H-00043q-Oa for help-gnu-emacs@gnu.org; Thu, 12 Aug 2010 13:59:53 -0400 Original-Received: by yxs7 with SMTP id 7so706877yxs.0 for ; Thu, 12 Aug 2010 10:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :face:reply-to:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=YyIpIo6ocxOHjtIdINHlIj8TlM6YKxRtvHYCC4k49Cs=; b=vqgbz7+B7BLNVry9hczkI4ogtviJyKZ3SDOGDFehKgTTQk/UODbLUcuixly2tq81cP G53enrfluxyCPcNmY+T8GelkqUvqzxW4fRmBsC5vFwOtcGH6eOGFxsEAI62AQrhfySiE W18AaatIhMuKDp1phKILNxdURO8UEgKjJ5TBE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:face:reply-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=MjpNl8Az7Yfwdm++jp5IJ5Okdv/GUcCt/ahNUqnOlLvitk+MjYIc8tfKKlU/pBcoV6 aGcVhaX6+1G1FerEHBT2Ta+3WzLGRUKECElZBBkSgJ1X5UVe6tgKRx8pYVz/HbLbAE2R V+4TiyU+0CrxP/c6mYQJ5Xl2zDE3kebECEIqs= Original-Received: by 10.150.177.2 with SMTP id z2mr680266ybe.422.1281635992973; Thu, 12 Aug 2010 10:59:52 -0700 (PDT) Original-Received: from localhost ([187.2.130.170]) by mx.google.com with ESMTPS id u41sm1792994yba.22.2010.08.12.10.59.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 12 Aug 2010 10:59:50 -0700 (PDT) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEX9/Py9sZ6FcE5gCec3 AAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAwAAAAMADO7oxXAAABGklEQVQoz02RPW6E MBCFx6uQwlWKJQUHSJFTUKUmUowiVylWSOtT7BEoshRUKQCt3ykz4x+wKfCnGea9eRDxUX8UjzIX qpYMDlsPE6EC0ANjBL5NwBqg7j36Fb4LAIPZAGHGG8PG4AXeeQBmfsYdvA2gBbBaLGcWtQEc/FPL tU8hx9IC1AhZTEFK8U3gFjd4BQYgtKmf2Nmm3ZQIB6+aF3VsPUAzipEIA3gMNsiLDbWk5jSgeVD3 bDMsvOEVse1FDP2ecijUoyNMKcoTJ+AyEH+r55yrmLoXQKaE+lFAU1b0tYSyTfsCqq8S0u87h9EJ hpB6Gq0vopOMKtlyF3XdUSH9TZW90d5XuzaLuOl+GNDYDtMqJpXOBzv7B2mugjLxx2cLAAAAQnRF WHRjb21tZW50AENSRUFUT1I6IGdkLWpwZWcgdjEuMCAodXNpbmcgSUpHIEpQRUcgdjYyKSwgcXVh bGl0eSA9IDEwMAowBf9PAAAAJXRFWHRjcmVhdGUtZGF0ZQAyMDA5LTA1LTI2VDA3OjM2OjUwLTAz OjAw8P7KDgAAABF0RVh0anBlZzpjb2xvcnNwYWNlADIsdVWfAAAAIHRFWHRqcGVnOnNhbXBsaW5n LWZhY3RvcgAyeDIsMXgxLDF4MUn6prQAAAAldEVYdG1vZGlmeS1kYXRlADIwMDktMDUtMjZUMDc6 MzY6NTAtMDM6MDCvT7w6AAAAAElFTkSuQmCC In-Reply-To: (Tim Visher's message of "Thu, 12 Aug 2010 12:33:45 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) 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:74579 Archived-At: Tim Visher writes: > 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. Maybe im doing it wrong but i am branching my submodules to change them. Would it be better to have a consumer submodule and a producer separate repo in case i want to send a pull request? but then any change i made will have to be accepted before i can consume it and the workflow will kind of become anti-productive.