From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.help Subject: Re: Calling Emacs client with only the Org-capture window Date: Mon, 29 Jul 2024 16:29:54 +0200 Message-ID: <87y15kz2xp.fsf@no.lan> References: <87le1lzbnn.fsf@k-7.ch> <20240729075840.4689d18c@herbert.pgxml.net> <874j88z5cd.fsf@k-7.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35458"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?S=C3=A9bastien?= Gendre Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 29 16:31:43 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sYRPX-00091F-HT for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 29 Jul 2024 16:31:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYROg-0005mm-0x; Mon, 29 Jul 2024 10:30:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sYROd-0005lv-Jp for help-gnu-emacs@gnu.org; Mon, 29 Jul 2024 10:30:43 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sYROb-00066g-LH for help-gnu-emacs@gnu.org; Mon, 29 Jul 2024 10:30:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1722263430; x=1722868230; i=telegraph@gmx.net; bh=UX6/+IS5ltC8cHHSBHf3TW0TOs3UXQ5JBahRlO84ox4=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=dbeImSfnwSFVhLkAkpUYMZnAV5Y8MXyA0BcvvfUBm1xZArXIZXAwnLSPzISmWBhz OjmrFvPa7zgrWlzBm8NOUbmg+ExBPCoca7EFWvx08tCAeHl3oHyNTFsEUfU3sBILm vXvJIrfi99XFX0t+w0FCRksKPCi+ttbtN6ObQKQ9yJR06XuOHjZZlmCtC5Gy8Bfrz z3YV5j6h3uXabGMetGOeJQK2xWu6aniA5c1gR16B/4tnhZAl8OALBibijRWLlU99h /a2/L0zq8hIq6AkdBSh6Zpvtyrx0y8WgrV1YKOR0peU6nUPkJ5pivmjHOSfbN6Z3E vcHnHrJuw5q67hbO7g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from localhost ([95.90.236.232]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MiJVG-1s1rjX43B0-00j6mj; Mon, 29 Jul 2024 16:30:30 +0200 In-Reply-To: <874j88z5cd.fsf@k-7.ch> Mail-Followup-To: =?utf-8?Q?S=C3=A9bastien?= Gendre , help-gnu-emacs@gnu.org X-Provags-ID: V03:K1:n2P6KLdtTE7YwPSBXYD3p4OYBw3IsGTgljWpDI7x0ySCBaGg9bi nrWKlIcABYQmU10VFHACXM11YdXg8qI0wxf2NQpEZG9fBsUx6o5UnpqYeRQRSsSzZ8oglj2 VWd4cggI7YdAQC3f1IB1wOpybfl/ETK+Cd2gM6uwlQCV1M+QosbbYNRGfgxZrHcl0DsI1dn 1Rarj/jHggOAstQ/+5cRA== UI-OutboundReport: notjunk:1;M01:P0:Ucd4XkKUTpQ=;k23QzaE8Td3vNNJUWmNVainYYdd LiGCwegzw7zEWQB2xxA3oILJbIwRI9+uqOYCnl1USX3TKVIiCNTe/w1g0WsBwVIcqfale0fOL jGv1LxnWZb38U7gV9pHWNgnTnURpwEOvUpeqSN0RjyGOxa589nbTX7GqrDWMorwN9emspC8Kw N/5LXEv3zErBRn2Fy3XQzrEU+FcwaqgWOfIm2eaGKYc21GIJ8jhkUfInz1tFN/xYgX/CDQWjA j5ktaDQQXxSK9I0uniPkOCNMCe50CpPrdVXjnsntRkRO10VGe6jCNUylcjx4dZhwfOCCY6mTb 2UttnJjhRLEh6Wp5lA3dVlXHflPD8Ce7KLBqq3C4Xnawe4AUgsoNVvUUFdGyfEdbwqc9Elv/Q iBC+GoR5P6wgzrEoX611ZEFhOH44p7Yi9LWsw2VKK9bPfUCsL33zcYufgrC7Lx855crkjd35U 5Kk47PMNVzs9VZlz2qLau8MEdb76xY8fkbp4xi8cYnpWnhbCuPVl5crdIoVrN2P9mbKckeiJ2 5GShVj/mVEGFQzX8bcoojSqjnn08Z03XScTITTAdYpSrzSYW4v15RerN+F7C7ugKydQmNy0Bq mj2GOjztLPo0li/TODYo8nPhh1UNmpkpMORqCFxM3UC8oXIo1PsiOV3vH5OOQDqc9+bVyKgOo hItwZt5jgpZXCHvZ8wzs2dFmazqXkTo8y7bhIaUPcueS49/gYWgB4g/wc/NzdSU4+Q7l2TfNb Z0gXEsBWrvyMoUTdVIESLkyh+w7AqM4YdDAfhprpm99+yp12dEh/ZQIPKWOlY1jED2Am3ykP Received-SPF: pass client-ip=212.227.17.21; envelope-from=telegraph@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147446 Archived-At: Hi S=C3=A9bastien, emacs users,=20 * S=C3=A9bastien Gendre [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=C2=A0? 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-backgrou= nd . 100) )' -c --eval '(org-capture)' since so far I didn't grok how to use display-buffer-alist. Ciao; Gregor=20