From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: .emacs-settings.el Date: Sat, 08 Sep 2007 17:09:29 -0600 Message-ID: References: <60282.128.165.123.18.1189002441.squirrel@webmail.lanl.gov> <87k5r350o5.fsf@jurta.org> <18146.62934.388958.194074@gargle.gargle.HOWL> <87bqccvjl4.fsf@jurta.org> Reply-To: tromey@redhat.com NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189328064 11048 80.91.229.10 (9 Sep 2007 08:54:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2007 08:54:24 +0000 (UTC) Cc: tzz@lifelogs.com, emacs-devel@gnu.org, raman@users.sourceforge.net To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 09 10:52:37 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from mail-forward.uio.no ([129.240.10.42]) by dough.gmane.org with esmtp (Exim 4.50) id 1IUIP0-00046X-FJ for ged-emacs-devel@m.gmane.org; Sun, 09 Sep 2007 10:44:22 +0200 Original-Received: from mail-mx8.uio.no ([129.240.10.38]) by pat.uio.no with esmtp (Exim 4.67) (envelope-from ) id 1IU9pJ-0007cf-FS for ged-emacs-devel@m.gmane.org; Sun, 09 Sep 2007 01:34:57 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by mail-mx8.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1IU9pD-0007yP-4J for ged-emacs-devel@m.gmane.org; Sun, 09 Sep 2007 01:34:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IU9lZ-0000oY-Ss for ged-emacs-devel@m.gmane.org; Sat, 08 Sep 2007 19:31:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IU9lU-0000kC-IC for emacs-devel@gnu.org; Sat, 08 Sep 2007 19:31:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IU9lT-0000hE-0f for emacs-devel@gnu.org; Sat, 08 Sep 2007 19:31:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IU9lS-0000gf-Pg for emacs-devel@gnu.org; Sat, 08 Sep 2007 19:30:58 -0400 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IU9lS-0003Hc-Eh for emacs-devel@gnu.org; Sat, 08 Sep 2007 19:30:58 -0400 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l88NUvc8015656; Sat, 8 Sep 2007 19:30:57 -0400 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l88NUvvg019551; Sat, 8 Sep 2007 19:30:57 -0400 Original-Received: from opsy.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l88NUu34016495; Sat, 8 Sep 2007 19:30:56 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id DC530C88219; Sat, 8 Sep 2007 17:09:29 -0600 (MDT) X-Attribution: Tom In-Reply-To: <87bqccvjl4.fsf@jurta.org> (Juri Linkov's message of "Sun\, 09 Sep 2007 02\:11\:19 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-UiO-SPF-Received: Received-SPF: pass (mail-mx8.uio.no: domain of gnu.org designates 199.232.76.165 as permitted sender) client-ip=199.232.76.165; envelope-from=emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org; helo=lists.gnu.org; X-UiO-Spam-info: not spam, SpamAssassin (score=0.0, required=12.0, autolearn=disabled, UNPARSEABLE_RELAY=0.001) X-UiO-Scanned: 2362A079C507406718384F3C9873485C9E6AE1FC X-UiO-SPAM-Test: remote_host: 199.232.76.165 spam_score: 0 maxlevel 200 minaction 2 bait 0 mail/h: 22 total 17494 max/h 41 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.emacs.devel:78305 Archived-At: >>>>> "Juri" == Juri Linkov writes: >> Also, it would be nice if some "project-centric" things like >> compile-history, gdb command lines, and the tags buffer were made >> per-project; and if desktop.el understood that and saved them as such. Juri> Isn't this possible by setting `compile-history', `tags-file-name' Juri> in the common file like .dirvars.el in the project's root directory? My idea for how this feature would be used is that a project maintainer would check in the settings file. Then if you check out the project and edit it, you will automatically get the correct settings. In this mode, it is important not to check in settings which are things that the user might want to modify. So, for instance, it would be appropriate to set indentation in this file (that is a property of the project) but not, say, c-mode's electric key settings (since that is a preference of the user's). Anyway ... for compile or gud, IME the settings change from time to time and the nicest thing is to save them automatically. I experimented for a while with editing these in my .emacs, but that is too heavy-weight. Tom