From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Joe Trivers via help-gnu-emacs Newsgroups: gmane.emacs.help Subject: Re: emacs won't start interactively Date: Tue, 28 May 2019 17:30:11 +0000 Message-ID: Reply-To: Joe_Trivers@amat.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="205309"; mail-complaints-to="usenet@blaine.gmane.org" To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 28 19:38:30 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hVg3R-000rGB-KW for geh-help-gnu-emacs@m.gmane.org; Tue, 28 May 2019 19:38:29 +0200 Original-Received: from localhost ([127.0.0.1]:40198 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVg3Q-0000xA-Gt for geh-help-gnu-emacs@m.gmane.org; Tue, 28 May 2019 13:38:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVfvr-0003n3-7O for help-gnu-emacs@gnu.org; Tue, 28 May 2019 13:30:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVfvf-0002zw-3Z for help-gnu-emacs@gnu.org; Tue, 28 May 2019 13:30:31 -0400 Original-Received: from mx5ext.amat.com ([152.135.148.15]:46722) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVfvV-0002ol-H0 for help-gnu-emacs@gnu.org; Tue, 28 May 2019 13:30:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=amat.com; i=@amat.com; q=dns/txt; s=Securemail; t=1559064617; x=1590600617; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=B0ITmPakm+ffJfmZKKLZu8yqm6ZnZPCp4IB5GG7F2bU=; b=iCNTYkBcVogGzrdeauNtr+xoJdpW7j7FUk+PyfCeQm8QAw5E3qF7NlDm mpMIIJbzrteTmyirf26JpxNYW0dcQW6wAg7gpv9W+zh1PSbGTPCBuLuhc fVbwkOl56Q0BhP+iwRlKlVDCKYvmrFxhcSR4kIIIxgFkyy1Mt2HJKoED2 7EjAbQPR7pZHGAxunhIOfW0A65tvredXCw4/TtkunZ5x3pfrIUlWf8jMB 90r6/BQUBnMG5M3tnr/VMreM/e1//nw44YZ1huKNwosipBmubHVa33wOB PrTV7iizp4XYL3MCZScYBjs7lfJ7GlHGlwcJu5lXTpfuQ2rNxdrlPAaBb g==; X-SBRS: None X-Modified-From: True X-IronPort-AV: E=Sophos;i="5.60,523,1549951200"; d="scan'208";a="254531772" Original-Received: from mail-dm3nam05lp2053.outbound.protection.outlook.com (HELO NAM05-DM3-obe.outbound.protection.outlook.com) ([104.47.49.53]) by mx5int.mis.amat.com with ESMTP/TLS/AES256-GCM-SHA384; 28 May 2019 12:30:13 -0500 Original-Received: from BN6P102MB0066.NAMP102.PROD.OUTLOOK.COM (129.75.131.21) by BN6P102MB0097.NAMP102.PROD.OUTLOOK.COM (129.75.0.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.20; Tue, 28 May 2019 17:30:12 +0000 Original-Received: from BN6P102MB0066.NAMP102.PROD.OUTLOOK.COM ([fe80::69c8:252a:2735:7290]) by BN6P102MB0066.NAMP102.PROD.OUTLOOK.COM ([fe80::69c8:252a:2735:7290%8]) with mapi id 15.20.1922.021; Tue, 28 May 2019 17:30:12 +0000 Thread-Topic: emacs won't start interactively Thread-Index: AdUVeC0GzLF1IQzjQo+PfIVrze2m6Q== Accept-Language: en-US Content-Language: en-US authentication-results: spf=none (sender IP is ) smtp.mailfrom=Joe_Trivers@amat.com; x-originating-ip: [152.135.125.56] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e332c7ad-2721-449c-8a8c-08d6e3922387 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:BN6P102MB0097; x-ms-traffictypediagnostic: BN6P102MB0097: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 00514A2FE6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(396003)(39860400002)(136003)(366004)(189003)(199004)(26005)(186003)(8936002)(81166006)(8676002)(81156014)(80792005)(55016002)(229853002)(5660300002)(6246003)(52536014)(3846002)(6116002)(33656002)(86362001)(305945005)(2501003)(478600001)(53936002)(6436002)(14454004)(25786009)(72206003)(9686003)(3480700005)(5640700003)(476003)(7736002)(68736007)(486006)(71200400001)(74316002)(14444005)(256004)(6916009)(316002)(7696005)(102836004)(99286004)(6506007)(66946007)(2906002)(66476007)(76116006)(73956011)(66556008)(64756008)(66446008)(66066001)(71190400001)(2351001)(440514002)(460985005); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6P102MB0097; H:BN6P102MB0066.NAMP102.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: OI9bqtQ0YVHjC9czis+3SvpJHyxXRjj3zohFCcG27xiHyenhZfXMEOlTEA00XrHeKtb964w12VoaA1JB/Xj3ns+8Z4ooRHg2uNlY9yNC8ZVUcaNsEELTR65y3mbD4H0xTRjIrli8pby4VJDUDxmfVjkPg5zIntq2SIV9ugc5ISPWZdq8hWD4YidJZixSpWzc6e1Hf695JduHjD1PgNfzAs1iRcKOplqHXPoR/McaUC0Y71aCjOAlpetqVNaCYf+a0y0KTedB2ta02SKjgNcV8Bb9RKJrj4s/GNUO+7WbljJpAm+H85W4yPTU1HWI2Zq+Xsx0oMq3O/BwAzcMVNZ+FxBRQ5/ozUeEHIKRG/xS6YgCRGHyweHiLYg0+23zIooVC5RS4jrZ+LxLouLPNO3J2xxVXuaQYxhpduqiePQ6sUU= X-OriginatorOrg: amat.com X-MS-Exchange-CrossTenant-Network-Message-Id: e332c7ad-2721-449c-8a8c-08d6e3922387 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2019 17:30:11.8878 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 709c2643-b1a9-4415-ad0f-521cfa6ba3f5 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Joe_Trivers@amat.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6P102MB0097 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 152.135.148.15 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:120677 Archived-At: From: help-gnu-emacs On Behalf Of Eli Zaretskii Sent: 28 May, 2019 10:48 AM >> Date: Tue, 28 May 2019 01:09:23 +0000 >> From: Joe Trivers via help-gnu-emacs >> >> Any further thoughts about what might be happening here? And on how gdb = could be making it work correctly? > > I'd have a good look at the environment variables you have set. Are > some of them Emacs related, perhaps? Any suspicious ones? Maybe post > the whole list of them here, perhaps someone will spot something. Nothing looks relevant, other than PATH. Is there a way in cmd.exe (like en= v in bash) to get such a list? > Also, do you see anything in the Windows' Event Logger, under > Application, around the times when you start Emacs and it immediately > exits? You may have something there. Log Name: Application Source: CbDefense Information: The application "C:\gnu\emacs-26.1\bin\emacs-26.1.exe" attempt= ed to inject code into the process "C:\GNU\emacs-26.1\bin\emacs-26.1.exe" b= y calling the function "SetWindowsHookExA". The operation was blocked and t= he application terminated by Confer. CbDefense is Carbon Black Antivirus, mandated by our IT department. It also= runs on the laptop where emacs 26.1 works properly. Perhaps there's a way = to whitelist emacs? Incidentally, when I typed the command into the Windows command prompt I us= ed capital letters for "GNU". HAH! I renamed the C:\GNU directory to C:\gnu (in lower case) and now it wo= rks properly. Maybe CbDefense lowercases one string but not the other? And, yes, the "gnu" directory name is in lower case on the laptop where ema= cs has been working since last year. [facepalm] Thanks for all your help. Who'd'a thunk it? /Joe The content of this message is APPLIED MATERIALS CONFIDENTIAL. If you are n= ot the intended recipient, please notify me, delete this email and do not u= se or distribute this email.