From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Arsen_Arsenovi=C4=87?= Newsgroups: gmane.emacs.help Subject: Re: Trying to find the status of auto-fill-mode in a buffer Date: Tue, 19 Nov 2024 15:52:33 +0100 Message-ID: <86a5dv6zta.fsf@aarsen.me> References: <20241119084323.5e3eaeb0@enoush2o> <86jzczbm0l.fsf@aarsen.me> <20241119114909.5cb99396@enoush2o> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27336"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Alexandros Prekates Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 19 15:53:15 2024 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 1tDPbP-0006wc-9M for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 19 Nov 2024 15:53:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDPay-00049x-2G; Tue, 19 Nov 2024 09:52:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDPaw-00049b-0Q for help-gnu-emacs@gnu.org; Tue, 19 Nov 2024 09:52:46 -0500 Original-Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tDPau-0001RJ-IF for help-gnu-emacs@gnu.org; Tue, 19 Nov 2024 09:52:45 -0500 Original-Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4Xt6sw27FBz9tbw; Tue, 19 Nov 2024 15:52:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1732027956; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZcH61i4lhMUXVJ3xrz6lU/iqHz3H6CgXWboxD++REcI=; b=Pho5nOILvJYJQrjWYl8HK8y0IdUjTkiTidwGDZe3KJ1by0mO/LIerCjTlMSJzlNGfHrwP4 wdUlh0N6BVLiNSe3to0bwaJB9SYlyQL1R+OT+3xPOh3izY1FBc3uEVqNgbFSYh80JCB2aw 2kjATn0HKY7OQUL5oqpsi60zC7N35LlogkasH6KZGcgyzpw4qtnQNV2aZcfdMhCrTDC1/P /huFwdxl8WyEFEgs9R3hhNQdhWpJUcX3A86wTaskXoXpj/801WDgsW+VhG/EkO+eXqZQWE 8MxhbEEQKRkrz2emCOwsTxR9xngH2sjSfJs70NLr9sGJZ15LiGEun7Z3+Pg34g== In-Reply-To: <20241119114909.5cb99396@enoush2o> (Alexandros Prekates's message of "Tue, 19 Nov 2024 09:49:09 +0000") X-Rspamd-Queue-Id: 4Xt6sw27FBz9tbw Received-SPF: pass client-ip=2001:67c:2050:0:465::102; envelope-from=arsen@aarsen.me; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, 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.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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148344 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Alexandros Prekates writes: > Thank you.=20 > It seemed like little a riddle!! Evaluate a variable that has function > in its name.=20 A bit confusing, yes ;) > But how do we use scratch a classic REPL ? I mean if a was in a clisp > repl it may had occured me to 'evaluate' a variable. But by default > scratch is not a repl. It is: if you hit C-j it evaluates the previous s-expr. > I indeed evaluated as you said auto-fill-function but i get my result > in the echo area. > > Also how evaluating a variable in scratch the scratch nows for which > buffer we asked for ? As others have answered, using `with-current-buffer'. =2D-=20 Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iOYEARYKAI4WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCZzymMV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MxAcYXJzZW5AYWFy c2VuLm1lAAoJEFLClDAeosSTeSIA/3GH3jDSOfv5gXvxLaC04Bv1YdM3TcU5raCQ 1kFlL6NbAQDN12FEAkIeZ0H55E4u676tQYsdblOlDsjsvoBtq3zyBg== =XpYf -----END PGP SIGNATURE----- --=-=-=--