[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ask for help
From: |
Emanuel Berg |
Subject: |
Re: ask for help |
Date: |
Tue, 19 Apr 2022 13:40:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
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
- ask for help, Xiang Ruan, 2022/04/19
- Re: ask for help, Philip Kaludercic, 2022/04/19
- Re: ask for help, Xiang Ruan, 2022/04/19
- Re: ask for help, Philip Kaludercic, 2022/04/19
- Re: ask for help, Xiang Ruan, 2022/04/19
- Re: ask for help, Philip Kaludercic, 2022/04/20
- Re: ask for help, Xiang Ruan, 2022/04/20
Re: ask for help,
Emanuel Berg <=