From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.help Subject: Re: best gnu/linux distro for emacs Date: Wed, 27 Mar 2013 23:29:07 +0200 Organization: Oleksandr Gavenko , http://gavenkoa.users.sf.net Message-ID: <87sj3gttuk.fsf@gavenkoa.example.com> References: <87y5dep0al.fsf@gmail.com> <87mwtrb5cn.fsf@riseup.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364419795 30987 80.91.229.3 (27 Mar 2013 21:29:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Mar 2013 21:29:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 27 22:30:21 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UKxvB-0006sj-VZ for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Mar 2013 22:30:14 +0100 Original-Received: from localhost ([::1]:58679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKxun-0003oI-IP for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Mar 2013 17:29:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKxuW-0003jq-Jg for help-gnu-emacs@gnu.org; Wed, 27 Mar 2013 17:29:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKxuV-00075A-Eu for help-gnu-emacs@gnu.org; Wed, 27 Mar 2013 17:29:32 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:38172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKxuV-000756-9U for help-gnu-emacs@gnu.org; Wed, 27 Mar 2013 17:29:31 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UKxuo-0005lh-Iw for help-gnu-emacs@gnu.org; Wed, 27 Mar 2013 22:29:50 +0100 Original-Received: from 5.248.35.167 ([5.248.35.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Mar 2013 22:29:50 +0100 Original-Received: from gavenkoa by 5.248.35.167 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Mar 2013 22:29:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 41 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 5.248.35.167 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:7kktV6ChXb+ZoffhLP6HEYgfGUM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89777 Archived-At: On 2013-03-25, W. Greenhouse wrote: > Alan Mackenzie writes: > >>> Knowing this then if I am using a locally compiled program installed >>> in /usr/local/bin and want to modify its configuration then I expect >>> it to be configured in /usr/local somewhere usually /usr/local/etc but >>> sometimes elsewhere. If I am using a system package installed program >>> in /bin (or /usr/bin) then I expect it to be configured somewhere in / >>> usually /etc but sometimes elsewhere too but definitely not /usr/local. >> >> You have a point here. :-) Where I take issue with the Debian maintainer >> (of 2005) is in creating a content-free file /etc/emacs/site-start.el. >> That couldn't help but cause problems with a common pre-existing seup. > > The situation re: config file locations for Emacs in Debian hasn't > changed. > > FWIW--and this is not to contradict or doubt that you found it > frustrating the first time you were setting up Emacs in Debian, just a > point of info for anyone in similar difficulties--most of the > Debian-specific init for Emacs and Debian elisp packages is actually in > /etc/emacs/site-start.d/ not /etc/emacs/site-start.el. The .el[c] files > there (non-recursive) are automatically run by the Debian-specific > function `debian-run-directories'. The distro is guaranteed not to > overwrite any changes you make to the /etc/emacs/site-start.el; that's > free for you to use. > >From /usr/share/doc/emacsen-common/debian-emacs-policy.gz (from `emacsen-common` package): debian-startup, among other things, calls debian-run-directories. debian-run-directories collects the union of all the file base names (i.e. without any .el or .elc extension, and without the directory component: i.e. /etc/xemacs/site-start.d/50foo.elc => 50foo), then temporarily augments the emacs load path to include /etc//site-start.d and /etc/emacs/site-start.d in that order, and then calls (load base-name) in alphabetical order. -- Best regards!