From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Default emacs init file location confusion Date: Wed, 08 Jan 2020 11:22:12 +0100 Message-ID: References: <83y2ukc55g.fsf@gnu.org> <85C8025D-ACFD-4DEB-B030-E46B3109323E@gnu.org> <83lfqjckjn.fsf@gnu.org> <83blrfci4q.fsf@gnu.org> <837e23chdm.fsf@gnu.org> <834kx7cgmh.fsf@gnu.org> <87tv56bjop.fsf@gmail.com> <539DBEA2-E758-4CB0-B886-F908CF0525B6@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="98258"; mail-complaints-to="usenet@blaine.gmane.org" Cc: "Mingde \(Matthew\) Zeng" , smartlitchi@gmail.com, Elias =?utf-8?Q?M=C3=A5rtenson?= , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 08 11:23:18 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ip8UH-000IZ4-Aq for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jan 2020 11:22:53 +0100 Original-Received: from localhost ([::1]:41392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip8UF-0004hz-Ke for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jan 2020 05:22:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39809) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip8Th-0004Hg-CI for emacs-devel@gnu.org; Wed, 08 Jan 2020 05:22:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ip8Tg-0007fo-88 for emacs-devel@gnu.org; Wed, 08 Jan 2020 05:22:17 -0500 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:33134) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ip8Tg-0007ef-0v; Wed, 08 Jan 2020 05:22:16 -0500 Original-Received: by mail-wr1-x42c.google.com with SMTP id b6so2806157wrq.0; Wed, 08 Jan 2020 02:22:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=VuidXmSNciZ88L+yuNAyJiAyg7GOVceah1cy83IX0is=; b=oqg733DFj9S2JDVjlNdPMZkC4gEjoktfxvTovR/Q85431+JFP+L8PH8Nd6VQDjJw1k 9G6DOyeLsUJtnXtVcEPdbDae+Q6fNDxtKeIvkWuqz9pw5I5i7E7Sjd41GcSDc+8AoUHR ZEHcFbery2GZ0Mr6a2vt5muQdPvA/7gIarBLbHUsHTHTC6DetfG7CJJnI5hdHMRwrqAu P2YTSu8ATQywNkJbD2cW/iSJyisD9qRZZcflX2UYh7o/MRr/nDJkd3HmT5H22gDZldF1 OIBvTiDxa2WkjA0FVgmazPPyWHHD5IAEuLFrkfIvgIOMcpvq/eAU85hq8VLoE+iQalso 3Xlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=VuidXmSNciZ88L+yuNAyJiAyg7GOVceah1cy83IX0is=; b=LJKZElbE7Pi8v+qxQpbTZclQQsd+UBvEGmEiJuRupK3Qjibr8W6aKNP8xn9WGwsS/I FypIXN2ODU+P6oUQo3cUZ6iCcANOVeKAjdQE+C0Cg9GuXxrLa5BL+YJdfWf/j0pnSh4j sN+jXCNYcg+dYeBm3r1bwYxI9I7iEcXP65TPCOdla4VHYFM7laZQCTJ0gSDMksrZQh3S xzkJHqb7UbXQXvZB5gzJEs8FKMcqmyIiazNfh5Hn4FyJFC56kFdudg0thNuHNicoy8SQ BJa7goHakUJeumRg5ObQyPb2p6VXdyAW3etZ+9Ddj1iKHiOJu0u8ItNfyyRUlnkSF+KX I6EA== X-Gm-Message-State: APjAAAWe9R9mxUtFFpAWK0XelOscz30vNgw2iVKziTyBHMeQQLGwwRD1 YwGvIhG2gce6yb2DlqsNIRU= X-Google-Smtp-Source: APXvYqw/PfCB2Rnri2btpmcqQGJtqaGNtXULJs5nLHZl8VBZRLlvBAchiqnGrS1tHNwOZtc0KqxSbg== X-Received: by 2002:adf:fe07:: with SMTP id n7mr3730516wrr.286.1578478934664; Wed, 08 Jan 2020 02:22:14 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id m7sm3193260wma.39.2020.01.08.02.22.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2020 02:22:13 -0800 (PST) In-Reply-To: <539DBEA2-E758-4CB0-B886-F908CF0525B6@gnu.org> (Eli Zaretskii's message of "Wed, 08 Jan 2020 12:05:57 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:244111 Archived-At: >>>>> On Wed, 08 Jan 2020 12:05:57 +0200, Eli Zaretskii said: >> Except that now the issue becomes "I created ~/.config/emacs, and >> emacs doesn=CA=BCt use it".=20 Eli> Which is completely consistent with making this feature opt-in, do= n't you agree? And NEWS will tell so. It=CA=BCs consistent, and a lesser problem than the current situation, so I have no strong objection to it. >> hence I=CA=BCd prefer: >>=20 >> Use the XDG directory if it exists, but don=CA=BCt create >> it. Otherwise, use ~/.emacs.d (and create it if necessary). Eli> This is IMO a much more invasive change, and therefore inappropria= te Eli> for the release branch. The current code relies on Eli> user-emacs-directory to exist. Lifting this restriction should be= a Eli> separate change, and we should do it on master. I didn=CA=BCt propose making user-emacs-directory not exist. I proposed creating only ~/.emacs.d (and then using it). Robert