From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?S=C3=A9bastien_Gendre?= Newsgroups: gmane.emacs.help Subject: Re: Calling Emacs client with only the Org-capture window Date: Mon, 29 Jul 2024 15:37:54 +0200 Message-ID: <874j88z5cd.fsf@k-7.ch> References: <87le1lzbnn.fsf@k-7.ch> <20240729075840.4689d18c@herbert.pgxml.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9718"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.12.1; emacs 29.4 Cc: help-gnu-emacs@gnu.org To: Christoph Kliemt Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 29 15:38:48 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 1sYQaN-0002Hw-Vd for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 29 Jul 2024 15:38:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYQZv-0004cm-D4; Mon, 29 Jul 2024 09:38:19 -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 1sYQZs-0004Vc-Vu for help-gnu-emacs@gnu.org; Mon, 29 Jul 2024 09:38:17 -0400 Original-Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sYQZq-0004xR-0T for help-gnu-emacs@gnu.org; Mon, 29 Jul 2024 09:38:15 -0400 Original-Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id C7AB0E7E00; Mon, 29 Jul 2024 15:38:09 +0200 (CEST) In-Reply-To: <20240729075840.4689d18c@herbert.pgxml.net> (Christoph Kliemt's message of "Mon, 29 Jul 2024 07:58:40 +0200") Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=no 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:147444 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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. Christoph Kliemt writes: > On Sun, 28 Jul 2024 19:09:16 +0200 > S=C3=A9bastien Gendre wrote: > Hi, > > i think display-buffer-alist is your friend.=20 > > You might want to read > this: https://www.masteringemacs.org/article/demystifying-emacs-window-m= anager > > regards, Christoph > >> Hello, >>=20 >>=20 >> 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. >>=20 >> If I associate my keyboard shortcut to: >> emacsclient -c -e "(org-capture)" >>=20 >> 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. >>=20 >> Do you have any idea=C2=A0? >>=20 >>=20 >>=20 >> Best regards >>=20 >> ------- >> Gendre S=C3=A9bastien --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAmanmzILHHNlYkBrLTcu Y2gACgkQtYb3x3I54p72SQ//ZshGYQnIGJOYSyBDg/VJzZ11vCs7hTt9JhQwGd0F qqVy592s9QQ/HvGEHdgFImwmpDxxtCz+sMnyssUaGaAYeaqlFGPioi8RWN1sMFXl AAanT1HiaHQqFy5Ey/ij/WKefMvDRnTmyQJ+QuMSssW282IYolLH30aQ9PJRg9cW 9tCcSEcW8B7E9xHxmnPSJG1PrsGdvPd2pwqrPBDnGclml8SMPvJAMD1Lj4BsNuX7 bUdZwhIOXjiwKUtY+izAf+7nq8DaRUzK191AoRXQIbs0da0FFc1of0iGT7mWSChA pmiN4arzbxksRYMOo1iFUnOm3e/Gga1Cm2MEwzibRMNxr0FpXBzkJDCGX+yHqdlU aP+hOrSAa+O5GjdriYe3DCFLuFDxFbvtqWgviSykrSa6oZog0hLN/cpJ5wS3PT2T pN3sVDocabwAx+spd+TEoJ5TrRYIpY/3gKfVojbFcJ/NzOvG5ahXBFnTOCWh7aF5 +hZOJjmQumHr3i1PJzZ/2v4srFHSekQ+wAt7uR336M4dug323ExMP+rXVQYpox9s nOSBwioaTcjDU8QNdBWvRkQUtOKRhZC/Wlx/GsCEk4cg1odFFR3EIjmuOJjRkvbq OwlqQjrliE9VQEokVjNGUk6tHcVR2x1gUywtYbP/8hW8lXf+BZ7GoTskm8Qru8Kb Re8= =cav7 -----END PGP SIGNATURE----- --=-=-=--