From: PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: How to write a mode for my binoculars-ng program
Date: Tue, 30 Jan 2024 22:41:17 +0100 (CET) [thread overview]
Message-ID: <353682786.35941198.1706650877327.JavaMail.zimbra@synchrotron-soleil.fr> (raw)
In-Reply-To: <1617405414.35934010.1706648969711.JavaMail.zimbra@synchrotron-soleil.fr>
Hello,
I am writing a program which use an ini file in order to configure it.
binoculars-ng which is used in X-Ray surface diffaction. This is the next version of
https://pubmed.ncbi.nlm.nih.gov/26306093/
I would like to use emacs in order to create a frontend to my program.
So the idea is to write a dedicated mode.
Here the thinks I think about.
- I need a customize conf-unix-mode, where only a bunch of sections and keys are allowed. in order to properly highlight my conf file.
- a company backend in order to autocomplete the section, keys and values.
- a dedicated menu in order to run the program with the current config file. and the usual `C-c C-c` to run it :).
- the process is quite long (a few minutes) so I would like to grab the output of my program in a buffer or display a progress bar.
So I would like some help from your community in order to achieve this.
I never wrote a single line of elisp. (I am more a C/Python/Haskell/Debian) guy.
thanks
Frédéric
PS: Sorry If I double post, I had some issue with my subscription.
prev parent reply other threads:[~2024-01-30 21:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-30 21:09 How to write a mode for my binoculars-ng program PICCA Frederic-Emmanuel
2024-01-30 21:41 ` PICCA Frederic-Emmanuel [this message]
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=353682786.35941198.1706650877327.JavaMail.zimbra@synchrotron-soleil.fr \
--to=frederic-emmanuel.picca@synchrotron-soleil.fr \
--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.
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).