unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: Xiang Ruan <ruanxiang@ruanxiang.net>
Cc: help-gnu-emacs@gnu.org
Subject: Re: ask for help
Date: Tue, 19 Apr 2022 11:40:57 +0000	[thread overview]
Message-ID: <87sfq9mhbq.fsf@posteo.net> (raw)
In-Reply-To: <871qxtco1o.fsf@ruanxiang.net> (Xiang Ruan's message of "Tue, 19 Apr 2022 20:14:14 +0900")

Xiang Ruan <ruanxiang@ruanxiang.net> writes:

> Hi,
>
> 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.

Is "a" a buffer or a command.  It might help to make your example more
concrete by using actual names.

> My question is, is it possible to implement it?  If it is possible, can anybody suggest me a simple example ?
>
> Thank you in advance.
>
>
> Best regards, 
>
>

-- 
	Philip Kaludercic



  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
2022-04-19 11:40 ` Philip Kaludercic [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87sfq9mhbq.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ruanxiang@ruanxiang.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).