From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "H. Dieter Wilhelm" Newsgroups: gmane.emacs.help Subject: Re: insert string at point with emacs-version Date: Tue, 01 Feb 2022 17:08:19 +0100 Message-ID: <86tudivabw.fsf@duenenhof-wilhelm.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2741"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: goncholden To: goncholden via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 01 18:55:57 2022 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 1nExNk-0000Z5-06 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Feb 2022 18:55:56 +0100 Original-Received: from localhost ([::1]:35406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nExNi-0007By-MW for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Feb 2022 12:55:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEvht-0006wg-5U for help-gnu-emacs@gnu.org; Tue, 01 Feb 2022 11:08:38 -0500 Original-Received: from mout.kundenserver.de ([212.227.126.134]:60481) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEvhn-0004TF-SK for help-gnu-emacs@gnu.org; Tue, 01 Feb 2022 11:08:36 -0500 Original-Received: from ping ([92.116.182.145]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mm9NA-1mX6UW3hbM-00iEeu; Tue, 01 Feb 2022 17:08:21 +0100 In-Reply-To: (goncholden via Users list for the's message of "Tue, 01 Feb 2022 14:24:35 +0000") X-Provags-ID: V03:K1:pPgLbxLvgTOokyzkpaom6kNumjmD9KEIJGzQ8gXjzXRqvZblZE7 kl3vZrL3IMQCz+1UciyIXe2sLjKY032NhxKuoegBhIsqZ7ZgVeCLv3asZ8NFLgsjwvKXegj sZgnq+/9kOmB9wcI8jOdMSoL0VV9HeuAMkV0StHNBM/2Ej+nELAK1DSIxHr6Qh7VT0NjOBE 92Lnb6bP+9Z2bJ90Uj37w== X-UI-Out-Filterresults: notjunk:1;V03:K0:pHacoA+i9gE=:iiHeFgEBAE5MYN/pJnUn09 Ad1Yh+3+jUzu+qb04eEK4ya8C8g2P7buMGvEfWESaaLVIFf/5DG00nmdiijv7+F8cMpRGrNYO PPvVSQH0rtBDCOiYT6Tgd/lQT8mdsUjW/BW3UZUmgz1CPEleB8XiiwYdudkaq9C27Iko8ZtTL jGOKLi/P1ji0Ddjo0HPPFj0Gbq3UdD8FxETEjmab+NzR0rz9E+POVAJt1TZN+nHLWzRmMLC+f BQUbq2PbaNxX6VBJF0hrWmFurAtufx25NVlwg7qo6p0s2co9nifUbxPFbsc702p+gfUa+rVNx FcACIVMnsmiKvy763/1nOq6mPWGlCUpwKZJOpw3qIUOyODcmVO7aCK5/1h3nBGbPylbU6YmQP ToDc3ARtzWwCCcH5em0sdJebPFoZzpngBP55PydFraOE+jBXRK3J1gBi8f2Qyn7f8Rge8zmGK p4GfcBYKAIhGwO8OTVD4I6T9aA2pZw3emuIOwxTvM148QcTmUhPDJhQ2AUBOvywtkCAkR85l4 DgPxGHmk08QOH8oEMi4cXKevDIJiUnXfwsiOfucJjZdSLUjIwxm9l/0wFuBZ7yzRRVz/heHsr u+aI+vRyFflqXTFrfH5N5h+OCIjSKL6c0bOPOJDN2HNtxQNxdmqJJV8toOT33Bf9DPDNjfO7+ mXM7sRaMOhc3MRcEFMMYfMeP29N5DqRMUJ5MvPEONvxqz3IPLA19CKlCa5x/cXO43om3ufu1W +sCkJyQi8LDjy2ba Received-SPF: none client-ip=212.227.126.134; envelope-from=dieter@duenenhof-wilhelm.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:135631 Archived-At: goncholden via Users list for the GNU Emacs text editor writes: > I am looking up documentation for emacs-version. But cannot understand the meaning of > > If optional argument HERE is non-nil, insert string at point. > > -------- > Doc: > > (emacs-version &optional HERE) > > Probably introduced at or before Emacs version 19.20. > > Return string describing the version of Emacs that is running. > If optional argument HERE is non-nil, insert string at point. HERE in this context means that if the argument HERE is not nil then at the current position of the cursor (thus "here") in the current document (buffer) the version string will be inserted. Please contrast (emacs-version) <- "Here" ;-), behind the parenthesis please do: C-x e (emacs-version t) <- and here as well or check the interactive "version" version: M-x version C-u M-x version HTH Dieter -- Best wishes H. Dieter Wilhelm Zwingenberg, Germany