From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ken Olum Newsgroups: gmane.emacs.devel Subject: Re: init_system_name fqdn? Date: Sat, 17 Jun 2017 18:30:32 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1497738690 4796 195.159.176.226 (17 Jun 2017 22:31:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Jun 2017 22:31:30 +0000 (UTC) Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 18 00:31:26 2017 Return-path: Envelope-to: ged-emacs-devel@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 1dMMFZ-00010r-S8 for ged-emacs-devel@m.gmane.org; Sun, 18 Jun 2017 00:31:25 +0200 Original-Received: from localhost ([::1]:36412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMMFf-0007B1-6s for ged-emacs-devel@m.gmane.org; Sat, 17 Jun 2017 18:31:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMMEs-00077l-R9 for emacs-devel@gnu.org; Sat, 17 Jun 2017 18:30:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMMEo-0007sN-78 for emacs-devel@gnu.org; Sat, 17 Jun 2017 18:30:42 -0400 Original-Received: from cosmos.phy.tufts.edu ([130.64.84.253]:57808) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dMMEo-0007rS-3D for emacs-devel@gnu.org; Sat, 17 Jun 2017 18:30:38 -0400 Original-Received: from kdo by cosmos.phy.tufts.edu ([local]:local) with local id 1dMMEi-0001Mc-VC - Using Exim-4.84 (MandrivaLinux) MTA (return-path ); Sat, 17 Jun 2017 18:30:33 -0400 In-Reply-To: (message from Lars Ingebrigtsen on Sat, 17 Jun 2017 21:51:11 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 130.64.84.253 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215725 Archived-At: From: Lars Ingebrigtsen Date: Sat, 17 Jun 2017 21:51:11 +0200 Or we could do what every other program that exists now does, and accept that there now is no way of programmatically guessing what the email address is and just ask the user (if the user wants to send an email). Not quite every program. Mailx and its successor s-nail work without my needing to specify any from address. In my case they guess right, but I don't know what procedure they use. Perhaps it is not such a good idea. Emacs could get your address from git, but what if you don't use git? Presumably there are many other programs that might have some knowledge of your email address also. Which set should we use? Emacs currently accepts the environment variable EMAIL. It's not very standard but a few other programs (e.g., Mutt) use it also. It would be good to keep that at least (and it will be convenient if you report lots of bugs with emacs -Q). Ken