From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: The strange install command used by emacs. Date: Fri, 18 Dec 2020 18:18:03 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23530"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Hongyi Zhao Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 18 18:21:00 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 1kqJR6-00060O-18 for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Dec 2020 18:21:00 +0100 Original-Received: from localhost ([::1]:55972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqJR5-0004Jo-3a for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Dec 2020 12:20:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqJOr-0002Lx-4c for Emacs-devel@gnu.org; Fri, 18 Dec 2020 12:18:42 -0500 Original-Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]:41047) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqJOW-0001fk-6j for Emacs-devel@gnu.org; Fri, 18 Dec 2020 12:18:34 -0500 Original-Received: by mail-oi1-x236.google.com with SMTP id 15so3539943oix.8 for ; Fri, 18 Dec 2020 09:18:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e86VAl608ipFZMA9K65n1+2KCwoeuL1F7kXjXvYJ2aw=; b=PygMfiHTVScEM+Wjtd2T4xcd8lTfjJenTVX3MoyamvLR/eH/yiTgAE4Tbnn1d9QzHS uI4N/649ZBt+fUm/zrRBm8ZW8VewANpUr6KyYTxNq4aoNIHV2oxHMG9qhYvDmy1D6d/W b+prECnOtEvgjljoIyWqPJDFL1SiZ/G9tvnQ7PPaDi1k3ROm+y7yyiHzW5bJMw1B6lno lcFya8+XgS++h0uaYU6dmM2XXS7VICHsdCUUiNL1YaG4ysKmXUXo1ZgavUIPHUW+P4jx FxXAjAZfxU3m1e2drCrebjEUtZH3xQdYF2gxUbZSPOzyr6JPweSzY+Y7885VcULVRB+o 3tSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e86VAl608ipFZMA9K65n1+2KCwoeuL1F7kXjXvYJ2aw=; b=G70+OaWRhwHEmt2bwCgLYtiMrRS8vUvASSH7NtWfGLJMW2wabWbKII9CO6qVyPF4tN gsKpldTwyWkI5b0i5Sy5ORe4CpvTsN45/wUBSYuTf9i2khhdFrsS55lLCiUc62TY105u n1R/MnKoazFQcN8aI1IpcXSWtflfPRR6rR7Ein9bcc0WXD2/myt4tSMCr+57XWVZOyji lE/xSvLO1umFcl2z08O6MyON0afos7DplrTyPwxM1/gBacwGRBKhCoUEgcEL6Qwj0hwD VZ0lGwAb+LSc8c6u/sKyoqgiOpjzo0qSDOY2z6JxVr0aS+JUPI9r5JgF3PRTX7Jzx32j w+DQ== X-Gm-Message-State: AOAM530obZL4sSOJBEG88ts8Kig33BUEU19bmCdL/Akcw1iCn+7guOjt /ijQLaSdonVdYbLE88ceeyRaGA9NidY4yZ1J7eQ= X-Google-Smtp-Source: ABdhPJxCN5X8/LylMTWi3ODOcOK+Lt7kJ03ZHmK4WvN/3lb4+/+KxgYU41+smpiER0brmw9rjXgwm3XSHLislsWYdDM= X-Received: by 2002:a54:4881:: with SMTP id r1mr3431746oic.9.1608311894371; Fri, 18 Dec 2020 09:18:14 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::236; envelope-from=p.stephani2@gmail.com; helo=mail-oi1-x236.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action 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:261209 Archived-At: Am Fr., 18. Dez. 2020 um 05:58 Uhr schrieb Hongyi Zhao : > > On Ubuntu 20.10, when I compile the latest git master version of > emacs, I noticed the following line near to the end of installation > log: > > cd "/usr/local/bin" && ln -s "`echo emacs-28.0.50 | sed 's,x,x,'`" > "`echo emacs | sed 's,x,x,'`" > > Apparently, it want to do the following job: > > ln -s /usr/local/bin/emacs-28.0.50 /usr/local/bin/emacs > > The confusing thing is that the pattern feed to sed, i.e., 's,x,x,', > which in fact matches nothing for this case. So why it's useless at > all. Any hints/notes/explanations would be appreciated. This is likely to support the --program-prefix and --program-suffix configure options. They can be used to append/prepend a string to the Emacs binary filename (e.g. to distinguish multiple Emacsen installed on the same system). By default both are empty, resulting in this no-op.