Hello, thank you very much. I will take a look soon. With display-buffer-alist, can I modify the behavior of org-capture only when I call it with my desktop shortcut ? Because when I call it from Emacs, I want to keep the same behavior as the default one. Christoph Kliemt writes: > On Sun, 28 Jul 2024 19:09:16 +0200 > Sébastien Gendre wrote: > Hi, > > i think display-buffer-alist is your friend. > > You might want to read > this: https://www.masteringemacs.org/article/demystifying-emacs-window-manager > > regards, Christoph > >> Hello, >> >> >> I would like to add a keyboard shortcut, to my desktop environment, >> that open an Emacsclient to do a capture. But in this frame, I would >> like to see only the capture window, starting with the template >> selection. >> >> If I associate my keyboard shortcut to: >> emacsclient -c -e "(org-capture)" >> >> The new frame is split in 2 windows. And "(org-capture)" function have >> no parameter to make it's windows the only one of the frame. >> >> Do you have any idea ? >> >> >> >> Best regards >> >> ------- >> Gendre Sébastien