From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: ask for help
Date: Tue, 19 Apr 2022 13:40:20 +0200 [thread overview]
Message-ID: <87pmlduwrf.fsf@zoho.eu> (raw)
In-Reply-To: 871qxtco1o.fsf@ruanxiang.net
Xiang Ruan wrote:
> I am not familiar with emacs-lisp programming, I just wonder
> if this list could give me some advice on how to implement
> the below functionality.
>
> Suppose I invoke a commend "a" in a buffer, then the buffer
> may have a name with "a". I want to keep watching a specific
> file on my system, let's say, a file of "/data/b".
> When /data/b changes, I want emacs to automatically update
> or re-invoke "a" again in the same buffer "a" without catch
> my focus when I am working on other buffers.
>
> My question is, is it possible to implement it? If it is
> possible, can anybody suggest me a simple example ?
It is usually better to do it when it is needed, not when
it changes.
If it has to happen when it changes I don't know any other way
than to poll it constantly?
--
underground experts united
https://dataswamp.org/~incal
next prev parent reply other threads:[~2022-04-19 11:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-19 11:14 ask for help Xiang Ruan
2022-04-19 11:40 ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2022-04-19 11:40 ` Philip Kaludercic
2022-04-19 12:11 ` Xiang Ruan
2022-04-19 13:20 ` tomas
2022-04-19 13:46 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-04-19 13:48 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-04-19 14:12 ` Philip Kaludercic
2022-04-20 0:12 ` Xiang Ruan
2022-04-20 8:55 ` Philip Kaludercic
2022-04-21 2:10 ` Xiang Ruan
[not found] <mailman.178.1650413881.1187.help-gnu-emacs@gnu.org>
2022-04-20 1:35 ` Xiang Ruan
[not found] <mailman.463.1072100396.868.help-gnu-emacs@gnu.org>
2003-12-22 15:37 ` Kai Grossjohann
-- strict thread matches above, loose matches on Subject: below --
2003-12-22 12:34 etang
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=87pmlduwrf.fsf@zoho.eu \
--to=help-gnu-emacs@gnu.org \
--cc=moasenwood@zoho.eu \
/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.