From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christoph Kliemt Newsgroups: gmane.emacs.help Subject: Re: Calling Emacs client with only the Org-capture window Date: Mon, 29 Jul 2024 07:58:40 +0200 Message-ID: <20240729075840.4689d18c@herbert.pgxml.net> References: <87le1lzbnn.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="1253"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 29 08:29:08 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 1sYJsa-000Aec-QW for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 29 Jul 2024 08:29:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYJrz-0001Wr-7p; Mon, 29 Jul 2024 02:28:31 -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 1sYJPF-0007KP-9f for help-gnu-emacs@gnu.org; Mon, 29 Jul 2024 01:58:50 -0400 Original-Received: from alatar.pgxml.net ([49.12.34.184]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sYJPD-0007Kc-Ms for help-gnu-emacs@gnu.org; Mon, 29 Jul 2024 01:58:49 -0400 Original-Received: from [195.52.49.244] (port=38258 helo=herbert.pgxml.net) by alatar.pgxml.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sYJP5-000cmN-NI for help-gnu-emacs@gnu.org; Mon, 29 Jul 2024 07:58:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=herbert.pgxml.net) by herbert.pgxml.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1sYJP8-000000001ox-49Sy for help-gnu-emacs@gnu.org; Mon, 29 Jul 2024 07:58:42 +0200 In-Reply-To: <87le1lzbnn.fsf@k-7.ch> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-pc-linux-gnu) Received-SPF: none client-ip=49.12.34.184; envelope-from=bounce20@pgxml.net; helo=alatar.pgxml.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 29 Jul 2024 02:28:27 -0400 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:147430 Archived-At: 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-man= ager 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