all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sébastien Gendre" <seb@k-7.ch>
To: Christoph Kliemt <christoph.kliemt@pgxml.net>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Calling Emacs client with only the Org-capture window
Date: Mon, 29 Jul 2024 15:37:54 +0200	[thread overview]
Message-ID: <874j88z5cd.fsf@k-7.ch> (raw)
In-Reply-To: <20240729075840.4689d18c@herbert.pgxml.net> (Christoph Kliemt's message of "Mon, 29 Jul 2024 07:58:40 +0200")

[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]


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 <christoph.kliemt@pgxml.net> writes:

> On Sun, 28 Jul 2024 19:09:16 +0200
> Sébastien Gendre <seb@k-7.ch> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

  reply	other threads:[~2024-07-29 13:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-28 17:09 Calling Emacs client with only the Org-capture window Sébastien Gendre
2024-07-29  5:58 ` Christoph Kliemt
2024-07-29 13:37   ` Sébastien Gendre [this message]
2024-07-29 14:29     ` Gregor Zattler

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

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

  git send-email \
    --in-reply-to=874j88z5cd.fsf@k-7.ch \
    --to=seb@k-7.ch \
    --cc=christoph.kliemt@pgxml.net \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.