From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: [External] : Re: Package cl is deprecated Date: Mon, 2 Aug 2021 12:29:44 +0800 Message-ID: References: <87eebclnsz.fsf@web.de> <87lf5kabon.fsf@web.de> <87a6m0h9c4.fsf@zoho.eu> <871r7ch6dn.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26182"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 02 06:30:32 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1mAPax-0006g4-7n for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 02 Aug 2021 06:30:31 +0200 Original-Received: from localhost ([::1]:57062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAPav-0003Vz-DX for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 02 Aug 2021 00:30:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAPaT-0003U2-5y for help-gnu-emacs@gnu.org; Mon, 02 Aug 2021 00:30:01 -0400 Original-Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:42852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAPaQ-0004bq-RL for help-gnu-emacs@gnu.org; Mon, 02 Aug 2021 00:30:00 -0400 Original-Received: by mail-lj1-x232.google.com with SMTP id n6so22207934ljp.9 for ; Sun, 01 Aug 2021 21:29:57 -0700 (PDT) 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 :content-transfer-encoding; bh=HgUdBIKe4gOiFOXmGNjE2cp916iOknZCayrL+BP7Agg=; b=cuwDImFmFxN6ej0VMlaSqqu7DEfHQfE4vOloQ0mxPpLsKCYX6xDxaCrA4MBzRmIesg DJJW4pTTM44Mb9WN5ADgBQsIB1XpSN0RRZNNE5XGcrhKuH8eeqq2sWycKfLuK3QuCdnv dCnY8wo8hXOcVmC5mrd6lBlKgDkq6SPpFv5BwPy6oiGbhbTa/fiKVrSb6p/orYjWd7d5 L8C3eJCN20zLvlWqzi1EWWEmQylnHa44uOH7oWMoKvrUYS1uDhQHZqWDM0geMmnh/nmo dZ9DdJR+MGkZnSz7pmRDxUe+LVd/IxMMdpApoFeVeZFd4bS52Dhb7LLBHLnN5i4CjUZt YZng== 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:content-transfer-encoding; bh=HgUdBIKe4gOiFOXmGNjE2cp916iOknZCayrL+BP7Agg=; b=iJ5wBvjC+y9twIwTvy9dO9lKbR9BXYhI4tladBx/upTBu54dET+l4YpFjh2HEzFHR5 hmjgEdyozqQ0V7JQF3PIVxGQxJCetO1l9BrEHAAZvwieVtQUIBfguuxyQ1+vVSH//jH1 6ycPW0gqo+Aht6XXXiUFNQ//pEYc+SDSFTNY5JU1mv990D8sf5mLBJcEz0bsbVIi7jSz t6Max4swTClACNw7RKYLwiggj+hA/8wtf6TzfsI26dzDqDts2FCX0WWD8bJogKqzbJ5c 2N+ESmJV3lcfypESaxIZa1M9clMndpV0VtBzGE6mrmUUpXSpKD7MDhn+po9aQOT2CU6B giCg== X-Gm-Message-State: AOAM530QiBJfoELqCNSc+zJOWJM6wy+SLYlJlXnR2fTf+palEBFKS+zV QKI2PJuEr2koYORgbLUckV6p4JCNJ5ALlF1PsLo= X-Google-Smtp-Source: ABdhPJxWb8LDUQL5VIgD9ofB9rqBeytWShSfewTdXcDElPnN0ahDeJEvHnaBK9lRI9lRRlsRem8S1PsIjSKzQqlsJy0= X-Received: by 2002:a2e:bd0c:: with SMTP id n12mr9843382ljq.447.1627878596109; Sun, 01 Aug 2021 21:29:56 -0700 (PDT) In-Reply-To: <871r7ch6dn.fsf@zoho.eu> Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=hongyi.zhao@gmail.com; helo=mail-lj1-x232.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132310 Archived-At: On Mon, Aug 2, 2021 at 11:29 AM Emanuel Berg via Users list for the GNU Emacs text editor wrote: > > Hongyi Zhao wrote: > > > emacs-build-number is a variable defined in =E2=80=98version.el=E2=80= =99. > > > > Its value is 1 > > > >> has Gnus version (C-u M-x gnus-version RET) > > > > This function, `gnus-version', doesn't exist on my side > > at all. > > Hm ... maybe it wasn't included in Emacs 1? > > Please use these commands to install Emacs from source. > > Then do `emacs-version' (or 'emacs --version' in the > shell). And look for `gnus-version'. > > It's there :) > > #! /bin/zsh > # > # this file: > # http://user.it.uu.se/~embe8573/conf/.zsh/install-emacs > # https://dataswamp.org/~incal/conf/.zsh/install-emacs > > export EMACS_SOURCE=3Dhttps://github.com/mirrors/emacs.git I use the real upstream repo, instead of the mirror, as shown below: https://git.savannah.gnu.org/git/emacs.git According to my experience, the mirror will lag behind the upstream by several days in commits. > prepare-emacs-install () { > local ver=3D${1:-$(emacs --version | head -n 1 | awk '{print $3}' | c= ut -d '.' -f 1)} > local emacs_pack=3Demacs${ver} > sudo apt-get update > /dev/null > sudo apt-get install build-essential > sudo apt-get build-dep $emacs_pack > } > > reset-emacs-source () { > git reset --hard > git clean -xdf > git pull $EMACS_SOURCE > } > > get-emacs-source () { > git clone $EMACS_SOURCE > } > > # $ ./autogen.sh > # $ ./configure --with-modules This is the default behavior, so it is needless if you want this feature. > # $ make > # $ sudo make install > > -- > underground experts united > https://dataswamp.org/~incal > > --=20 Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province