From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: insert string at point with emacs-version Date: Tue, 01 Feb 2022 16:53:45 +0100 Message-ID: <87leyubn1y.fsf@gmail.com> 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="27016"; mail-complaints-to="usenet@ciao.gmane.io" 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:37:02 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 1nEx5R-0006i5-LA for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Feb 2022 18:37:01 +0100 Original-Received: from localhost ([::1]:33768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEx5L-0003cy-Oo for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Feb 2022 12:36:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEvTi-0006yc-70 for help-gnu-emacs@gnu.org; Tue, 01 Feb 2022 10:54:02 -0500 Original-Received: from [2a00:1450:4864:20::434] (port=40560 helo=mail-wr1-x434.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEvTg-0001fC-J2 for help-gnu-emacs@gnu.org; Tue, 01 Feb 2022 10:53:57 -0500 Original-Received: by mail-wr1-x434.google.com with SMTP id s18so32861125wrv.7 for ; Tue, 01 Feb 2022 07:53:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=g9I/DIAXsMYfAYSpHSugF/R78TppI0JxY/aCJfQMfss=; b=KFGxQEylqi0yifJfQk7mOUruRLAnkaRIK5IHOQbcb2O8+2yFK0zOcXXm+dwq3Yp9bE TIihARgmNKYumnXZeBa1M6BdItpMVs5+GjHLk+WN6UQZp/jnvgjqL2GArp/l8USIZfye yX4py1t5x+QpB/a3NKgu3r42qVzsQXDAisf32u/AcuOOEXukeqK0f2J2ze5fGkOBbLgJ L8Mbkbj3wGhE4ZFemsYE6zlgknUAXtsgkgvdQb1HpA8UjD+W3yYPPi/dDUrbQR+6sGT/ Y3OE1b6J/fUn95ynXmU9TBTHsNfUD1ugUDHe7yVGmu6EqwJSJlrPUCPUWquRgb/woPVx y7rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=g9I/DIAXsMYfAYSpHSugF/R78TppI0JxY/aCJfQMfss=; b=rFdhq4snGhvkTOQJpFjPCVZDiilE8+8nlL2TpmpMFSCJlHnze90Fur/HXIe5hhcLM0 Zcun1fXBtPeW5+fOLGTrxAp8RLcxVXkj/6LHIZsMrvDz7a9uHOlz3ERb2Uhnj8bLlqlN fc+lzS2tGcPyNuhH9dX4N24rcDhC1e2dnG1EYS5HHVfyaDOTcurSm1nO7dQO8tRKm1f+ 2whSGhpUt6YwkcZyI2kEmb7Ny3yogtl6CGY97Lv/CbUKr+ZMLxCYTW+D5ozUmJQOw+qX 9RKZhfaliZBLEYRlq99L/4MkwlpJDIQrMS4VqCwEZnR9w3SmRk9XZ1jptDU2nnUg6JtK lBQw== X-Gm-Message-State: AOAM530SNxVWMvweKc3lb0QoAP2dNwpTIJ5bLfhMJyIGVkIeEDqqyOVb sTE7EPzuVSAcEWvdKfTKQeg= X-Google-Smtp-Source: ABdhPJzefMJQ9xPbge1A1RIwilWBwf7TWGwhEfq1uv4qZaqUZzSsDiIj133CPxVndqg/+hKE6qswcQ== X-Received: by 2002:a5d:6d03:: with SMTP id e3mr22093272wrq.536.1643730826495; Tue, 01 Feb 2022 07:53:46 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:ad55:8544:ae5f:f0d2]) by smtp.gmail.com with ESMTPSA id m14sm18708013wrp.4.2022.02.01.07.53.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 07:53:46 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: (goncholden via Users list for the's message of "Tue, 01 Feb 2022 14:24:35 +0000") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::434 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=rpluim@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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:135630 Archived-At: >>>>> On Tue, 01 Feb 2022 14:24:35 +0000, goncholden via Users list for the GNU Emacs text editor said: goncholden> I am looking up documentation for emacs-version. But cannot understand the meaning of goncholden> If optional argument HERE is non-nil, insert string at point. `emacs-version' is a function that can be called with 0 or 1 argument. When calling it with 1 argument, that argument is referred to as "HERE" in the docstring, so in (emacs-version t) "HERE" equals t (and this will insert the emacs version string). Robert --