From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: INSIDE_EMACS and Tramp Date: Sat, 02 May 2020 19:16:49 +0300 Message-ID: <83368is45q.fsf@gnu.org> References: <20200402230535.10490.95720@vcs0.savannah.gnu.org> <20200402230536.E0A3F20CDD@vcs0.savannah.gnu.org> <87lfndarwh.fsf_-_@gmx.de> <87blo78exg.fsf@gmx.de> <871rp357s1.fsf@gmail.com> <87lfmzg3ds.fsf@gmx.de> <87a7397tqz.fsf@gmail.com> <87o8r6wfni.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="87369"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, federicotedin@gmail.com To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 18:17:59 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUupy-000McW-RL for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 18:17:58 +0200 Original-Received: from localhost ([::1]:51546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUupx-0001y1-Tv for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 12:17:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUup4-00019g-FT for emacs-devel@gnu.org; Sat, 02 May 2020 12:17:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33047) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUup1-0001xs-Jz; Sat, 02 May 2020 12:17:02 -0400 Original-Received: from [176.228.60.248] (port=3575 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUup1-0001L6-2C; Sat, 02 May 2020 12:16:59 -0400 In-Reply-To: <87o8r6wfni.fsf@gmx.de> (message from Michael Albinus on Sat, 02 May 2020 16:54:57 +0200) 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.io gmane.emacs.devel:248485 Archived-At: > From: Michael Albinus > Date: Sat, 02 May 2020 16:54:57 +0200 > Cc: emacs-devel@gnu.org > > +(defvar inside-emacs-functions nil > + "List of functions to compose the environment variable INSIDE_EMACS. > +Every package which needs to set a string in that envirenmont > +variable shall add a function without arguments, which returns > +the respective string, or nil.") This should tell what happens with the values when there are more than one function in the list. > +(defun inside-emacs (&optional context) > + "Return the string to be set in environment variable INSIDE_EMACS. "to be set in environment variable" sounds confusing. How do you set a string in a variable? > +CONTEXT could be a string which is added." Added to what? This also needs a NEWS entry, I think. Thanks.