unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: "Sébastien Gendre" <seb@k-7.ch>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Calling Emacs client with only the Org-capture window
Date: Mon, 29 Jul 2024 16:29:54 +0200	[thread overview]
Message-ID: <87y15kz2xp.fsf@no.lan> (raw)
In-Reply-To: <874j88z5cd.fsf@k-7.ch>

Hi Sébastien, emacs users, 
* Sébastien Gendre <seb@k-7.ch> [2024-07-29; 15:37 +02]:
> 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.

you can use a non-default name for the
frame and match on this.

Till now I use the default name:

${EMACSCLIENT}  -s ${EMACS_SERVER_NAME:-default} --alternate-editor ''  -F '((name . "*Capture*") (background-color . "lemon chiffon") (alpha-background . 100) )' -c  --eval '(org-capture)'

since so far I didn't grok how to use
display-buffer-alist.


Ciao; Gregor 



      reply	other threads:[~2024-07-29 14:29 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
2024-07-29 14:29     ` Gregor Zattler [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=87y15kz2xp.fsf@no.lan \
    --to=telegraph@gmx.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=seb@k-7.ch \
    /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).