unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to write a mode for my  binoculars-ng program
@ 2024-01-30 21:09 PICCA Frederic-Emmanuel
  2024-01-30 21:41 ` PICCA Frederic-Emmanuel
  0 siblings, 1 reply; 2+ messages in thread
From: PICCA Frederic-Emmanuel @ 2024-01-30 21:09 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* How to write a mode for my  binoculars-ng program
  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
  0 siblings, 0 replies; 2+ messages in thread
From: PICCA Frederic-Emmanuel @ 2024-01-30 21:41 UTC (permalink / raw)
  To: help-gnu-emacs

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-30 21:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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).