From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: File .emacs not read Date: Sun, 03 Dec 2017 02:02:06 +0100 Message-ID: <86k1y4hbe9.fsf@zoho.com> References: <87lginre22.fsf@hornfels.zedat.fu-berlin.de> <20171201110706.GA6022@magellan.machin.org> <86bmjii70q.fsf@zoho.com> <20171202100031.GA10128@magellan.machin.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1512262977 10889 195.159.176.226 (3 Dec 2017 01:02:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 3 Dec 2017 01:02:57 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 03 02:02:53 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLIgD-0002M3-1G for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Dec 2017 02:02:49 +0100 Original-Received: from localhost ([::1]:37422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLIgK-0008V2-Bj for geh-help-gnu-emacs@m.gmane.org; Sat, 02 Dec 2017 20:02:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLIfn-0008Nx-BN for help-gnu-emacs@gnu.org; Sat, 02 Dec 2017 20:02:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLIfj-0001py-F7 for help-gnu-emacs@gnu.org; Sat, 02 Dec 2017 20:02:23 -0500 Original-Received: from [195.159.176.226] (port=43650 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eLIfj-0001pE-8N for help-gnu-emacs@gnu.org; Sat, 02 Dec 2017 20:02:19 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eLIfW-0000AF-BI for help-gnu-emacs@gnu.org; Sun, 03 Dec 2017 02:02:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 58 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:a8q//klp2kt6hFJ9UjWnA0hBjTA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:115175 Archived-At: Philippe Delavalade wrote: > command-history ((apropos-value (quote > ("GDM")) nil) (execute-extended-command nil > "apropos-value" "apropos-val")) This is related to the `apropos-value' search - that is, it is unrelated to your issue. That's always like this with apropos-value, but luckily, it is easy to see which ones of the hits are related to the search itself. > init-file-user "GDM" This is the/one error but not the source of it. > and somewhere below > > "LOGNAME=GDM" "LESS=-M" "G_FILENAME_E Here it is! You have an environmental variable, LOGNAME, which is set to GDM . You can confirm this with $ env | grep LOGNAME So next step - where, and why, is it setup like that? [Also unrelated: The LESS is likewise an environmental variable that defines the standard flags (options or settings) to the less(1) pager. The -M option which you have is -M or --LONG-PROMPT Causes less to prompt even more verbosely than more. The "G_FILENAME_E" (EXTENTION?) I something I'm unfamiliar with, but probably it is unrelated as well. But on the whole to rely heavily on environmentals like this is something that was more common way back. And I thought *I* was an old-schooler...] > I obtained these with M-! (was it the right > way ?) Sure, or one of the right ways I should say. Probably more convenient to have either an external terminal in X, or the console (Linux VT/ttys) with tmux or screen, or M-x shell RET in Emacs. But the result should be the same :) -- underground experts united http://user.it.uu.se/~embe8573