all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Arsen Arsenović" <arsen@aarsen.me>
To: Alexandros Prekates <aprekates@posteo.net>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Trying to find the status of auto-fill-mode in a buffer
Date: Tue, 19 Nov 2024 15:52:33 +0100	[thread overview]
Message-ID: <86a5dv6zta.fsf@aarsen.me> (raw)
In-Reply-To: <20241119114909.5cb99396@enoush2o> (Alexandros Prekates's message of "Tue, 19 Nov 2024 09:49:09 +0000")

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

Hi,

Alexandros Prekates <aprekates@posteo.net> writes:

> Thank you. 
> It seemed like little a riddle!!  Evaluate a variable that has function
> in its name. 

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'.
-- 
Arsen Arsenović

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 381 bytes --]

  parent reply	other threads:[~2024-11-19 14:52 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-19  6:43 Trying to find the status of auto-fill-mode in a buffer Alexandros Prekates
2024-11-19  9:39 ` Arsen Arsenović
2024-11-19  9:49   ` Alexandros Prekates
2024-11-19 10:35     ` Tassilo Horn
2024-11-19 14:16       ` Alexandros Prekates
2024-11-19 11:27     ` Robert Pluim
2024-11-19 14:52     ` Arsen Arsenović [this message]
2024-11-19 17:25     ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-11-19 17:38     ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-11-20  7:56       ` Robert Pluim
2024-11-20 16:05         ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-11-20 16:14           ` Robert Pluim
2024-11-20 19:14             ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-11-20 19:27               ` Eli Zaretskii
2024-11-20 23:50                 ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-11-21  6:50                   ` Eli Zaretskii
2024-11-20 18:51     ` mbork
  -- strict thread matches above, loose matches on Subject: below --
2024-11-23  9:22 Alexandros Prekates
2024-11-23  9:37 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86a5dv6zta.fsf@aarsen.me \
    --to=arsen@aarsen.me \
    --cc=aprekates@posteo.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.