help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to write a mode for my binoculars-ng program


From: PICCA Frederic-Emmanuel
Subject: How to write a mode for my binoculars-ng program
Date: Tue, 30 Jan 2024 22:41:17 +0100 (CET)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]