From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.help Subject: Re: .Re: Org Capture Template Date: Fri, 27 Nov 2020 22:03:12 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15295"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Help Gnu Emacs To: daniela-spit@gmx.it Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 27 22:03:55 2020 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 1kikuI-0003t5-VB for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 22:03:55 +0100 Original-Received: from localhost ([::1]:56276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kikuH-0000WA-V6 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 16:03:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiktj-0000Vp-Lu for help-gnu-emacs@gnu.org; Fri, 27 Nov 2020 16:03:19 -0500 Original-Received: from mail-oln040092065025.outbound.protection.outlook.com ([40.92.65.25]:51687 helo=EUR01-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kikth-0008Bt-Jv for help-gnu-emacs@gnu.org; Fri, 27 Nov 2020 16:03:19 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KjMYP+D9n4TrH0fY/6gIgWAGNCWtiLq0GcPxZUl3Z/3hf4EJRvpAPpN4+x/7ShHA1ZR40x0MCIhdXcR/eL46vlJjuJy+xUyDd57f+ZgoX+T6EAZUL39BMvcJIaRD4fifaM1SwKninYgQ28DThTgEJf7kdBL/HiUmLu+geys0LaLZrqXtRdTj+sAna6lM4d1K0TjwruGtDPM7J7pTUgggVVe1LC8O+mhBtYHnLgXHxnRQGe/qh7imc48uJBo3LdDhP8ZOOOwwDhCjMmDvUiZYs42bPX0ngV9/avEeIlKoqEi395dmwWGXndkRY+KLb88C09pL5TeDADj8Nb9/ryhElw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=largFAZxiEgza367X+5a1XVYDQFfPu+jAE1r2FhthcI=; b=A52EB2M+EOfXSs0xbR/OZg5WOtUAb+wDduZEk22skinvHb3UjPshml9N6V+0eae7TZxaOjZoC8mRJ4KU8jPt/zIWVwn6pNxe/bPP2nh/SNiZPYP1S+9d8xrqsO0F1vdk5uM0P4xjFABQvT0DerROraJH1KKUfxA/owVDe/PZU0yPb1G+nWLT2cPs6oYGnkOdEwvt8ei5Rk08Q5gH4MfMbJr3MDD+iiQjOga0VcaT5z2FVyV8GBZfYUIzP/o+e2HzWldTazVK+ltsMqAXhf4t1A1aRWa8IWwGUh0eMHLdCiLLU61zdpCd5w0yk0mQrnMAvW+CAQ8iDpgq7fl3h0rwkg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=largFAZxiEgza367X+5a1XVYDQFfPu+jAE1r2FhthcI=; b=Zy6+NVHfOV0FFcHsrfc8fR7q/Wqh0P00RTTlvyoes7XcYtNiK1scML5IUVFRcqRSywqlZh9UGsUyM1L3xgVUClgvGaGX4tYzx6BJJOLnJGCilUFzU0Q6wJfc8w9Yy6r2rpvNOC8Oik9mImlhYNq4uyIFxjqxL2UyB2rQMtESEccoCiscuiJA1koGiH0N5NL7WDyNoV7QBws+55beTssKvfXgYD/C8JTUKB3AY5S0HHoru42MTTBv9fqTY7ed1YfYJrGMC9itmqOojlp6co6Uhmg/Lj6h8Y8FeSpm/JGM+8g/njXbV+JHvCoPApvQHZ91mfkB9zdFwPJlpACzZ9JmCw== Original-Received: from VE1EUR01FT016.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e19::47) by VE1EUR01HT176.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e19::190) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.23; Fri, 27 Nov 2020 21:03:13 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:7e19::51) by VE1EUR01FT016.mail.protection.outlook.com (2a01:111:e400:7e19::227) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.23 via Frontend Transport; Fri, 27 Nov 2020 21:03:13 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:FD58C9D9A4A797B1D566873F1A6D4DFE3206B3244D29ACA578744E594AC1D17D; UpperCasedChecksum:CCB6ECE2E9985DADA097FE1FBE7FA26F87E80025C4538AE002B8D32C3F98A4A5; SizeAsReceived:8395; Count:46 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993]) by AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993%7]) with mapi id 15.20.3611.025; Fri, 27 Nov 2020 21:03:13 +0000 In-Reply-To: (daniela-spit@gmx.it's message of "Fri, 27 Nov 2020 20:52:22 +0100") X-TMN: [f/VU+gXAKeQZ4LfpLh+l0+mGL3jgHS2Q] X-ClientProxiedBy: AS8PR04CA0003.eurprd04.prod.outlook.com (2603:10a6:20b:310::8) To AM0PR06MB6577.eurprd06.prod.outlook.com (2603:10a6:208:19a::23) X-Microsoft-Original-Message-ID: <87eeke1pin.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AS8PR04CA0003.eurprd04.prod.outlook.com (2603:10a6:20b:310::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.20 via Frontend Transport; Fri, 27 Nov 2020 21:03:12 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: dbc88132-7788-4151-80c7-08d89317da61 X-MS-TrafficTypeDiagnostic: VE1EUR01HT176: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gFF9HNH9Lvfkbm+dUAbBFE9DFzwBZYf9S5WIQZ4gG++mk5OcMhC1edzOXXF+flYGi3fgMEXPEnH8uUFD/HthIFey3Z6pl2Eq6H4R6awEtLiNqS8yoSjk19Vy6e8fCwbknjdCr9zvuPBHW2wIRoYPIrfS47262m5SghAtMsQcft2BwfI+2C+Krv36gJC08BZU57ScbbBPeUGoYgm0UvWOvQ== X-MS-Exchange-AntiSpam-MessageData: qXFhe67wIlG+0gmTZKGNCvUfEkBSHgIhwdN9zoFU446HjAW99C3KdwFU2ckrrFWxnOQk+LZGNteO/LMWm9t+m7KbKzAMgiaQ/VZ2VG+cSskio7d3vgquIo9e5GHZFoYS9OOLNbv14dO/FTEmmHcUvA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: dbc88132-7788-4151-80c7-08d89317da61 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2020 21:03:13.3933 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT016.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR01HT176 Received-SPF: pass client-ip=40.92.65.25; envelope-from=arthur.miller@live.com; helo=EUR01-HE1-obe.outbound.protection.outlook.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_REPLY=1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.help:125692 Archived-At: daniela-spit@gmx.it writes: >> Sent: Friday, November 27, 2020 at 5:49 PM >> From: "Arthur Miller" >> To: daniela-spit@gmx.it >> Cc: "Help Gnu Emacs" >> Subject: Re: .Re: Org Capture Template >> >> daniela-spit@gmx.it writes: >> >> > Can one have multiple org-capture-templates, instead than having just >> > a single one for different types of capture items? >> You can have as many as you want, as long as they are on different key >> binding; if that is what you ask. > > Suppose two users have each one file with org-capture-templates. > Can one call one or the other using a keybinding without requiring > the two to be integrated within one org-capture-templates construct? You mean if you can add different capture templates? You can add as many as you want from where you want; it is just a list so you can use list manipulation routines to change it. You can use add-to-list instead of setq list: (add-to-list 'org-capture-template '( ... )) instead of (setq org-capture-template '( ... )) No idea how it will work if you have capture tamplates on same key though; I guess last one will take precedence, but I don't know.