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 17:49:01 +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="2383"; 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 17:50:29 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 1kigx2-0000Wa-Jn for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 17:50:28 +0100 Original-Received: from localhost ([::1]:52630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kigx1-00035A-KF for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 11:50:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kigvj-000343-F1 for help-gnu-emacs@gnu.org; Fri, 27 Nov 2020 11:49:07 -0500 Original-Received: from mail-oln040092074068.outbound.protection.outlook.com ([40.92.74.68]:32833 helo=EUR04-DB3-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 1kigvh-0005EH-Cv for help-gnu-emacs@gnu.org; Fri, 27 Nov 2020 11:49:07 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jjhqEU6KRLPwWcdDHsRtGeyjgPx+qY8Lfp2A7fGGpr30ZgnjKzfvJqlr/WWOFrHQjUroJXpwbeb2G+5DmI2Gc+mVRB42vfu0BD2aGjz97ph+CqIi5u/SG98xV3UN7Sctt59XnXBGGjy/SlYFX65A5+zqwMAVzEBWyAYTUxb7sq8qF8UCOFFWrgx4ggtUQrNx16kLtZwUOM6kF1M4yNh98RJACKaXohszhKlVdCknuGsyLjxSGBfTfnkx9MxCFX14uoH4ylEZ9Fg4mC5+fXzzKDLQaLO0jfiBAiOM5MZfhnf6AACfdAMmu+H2A6qHYlUD9F25to3KaERKj6sD4Cb0nA== 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=8jjDjZ2DLB5R08hw2SnJhojbMXXHRzCw2RCoxYGbjwk=; b=SC1VA1uzqD9vmM4zamV0HWzoWftMrINN394SU7dYmo8AMr8w+b1YBcheDYmslhkEBMAYJkIEUhIGHrZNCeiHRx6r1irBFDRpL7HAQvNAlOdgDVPkayyEwxEYojcHOtmPpBwiaKKzjzeqt6fWcIMpNoRdptDjhHuNc131JXhaRQOUeCgwmT6E2RYy0x8v6Ujjd8gTqWcAecFhLSTrKwbYhaCYVwUhNVb6eUJPd9zfa0wr4XNOwchRucqJU3ZguIoudBQCRl3QMTSUDz4b2x7ChdvdYZbHUQMbV5CDjB3b1mLYynLrrQ4LdaNEFDjSETTIfxuoXflwdwlvMHzdgmFZdg== 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=8jjDjZ2DLB5R08hw2SnJhojbMXXHRzCw2RCoxYGbjwk=; b=g8EpiqiEb6ZcZb6zl6G6YZzbZMpURV7f6YDUaa5oIQvbdQvzdM6x0blvFjr9FUvKhZQJcqArhsCf83+13qr2o9QHRilOQMmJZe6oRTQS1FD9XGqDV6gxard13m2Hrvb5zSGKd8yAUNQ23BrbWXodJ9C+oaA00OBLwtR0le4UIfE5zKkAqZNG8wXZvyYjP8Cg7a0LKTLrO0KLKZDAW4iyh4WtEgv4iVBXhQ6oUnt9+H62Pj7bGIkyQpQD5F+S2dt4TrontxeJh6RTk62phwmStYmklIhfHu4bGfXB0kDxFfqBYwLz6d2GIj2YlHAsJrKb+ihhETsw+6tFPHqHzKY4pw== Original-Received: from VI1EUR04FT013.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0e::48) by VI1EUR04HT206.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0e::131) 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 16:49:02 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:7e0e::45) by VI1EUR04FT013.mail.protection.outlook.com (2a01:111:e400:7e0e::175) 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 16:49:02 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:316F249328CF767B40732194BE718A2CAF6106D043096AAFC1827DAE935F1E8B; UpperCasedChecksum:27A4C4200DC025348ED68B57846F2FB8BCEE5F58C29885489AC6B4DB0ED62722; SizeAsReceived:8224; 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 16:49:02 +0000 In-Reply-To: (daniela-spit@gmx.it's message of "Fri, 27 Nov 2020 11:32:45 +0100") X-TMN: [FHk7XUlklmy6ZVGqBCtFkkCSJiYC/sAE] X-ClientProxiedBy: AM7PR04CA0020.eurprd04.prod.outlook.com (2603:10a6:20b:110::30) To AM0PR06MB6577.eurprd06.prod.outlook.com (2603:10a6:208:19a::23) X-Microsoft-Original-Message-ID: <87360u3fuq.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM7PR04CA0020.eurprd04.prod.outlook.com (2603:10a6:20b:110::30) 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 16:49:02 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 68942b3d-abd6-4a72-bfef-08d892f45823 X-MS-TrafficTypeDiagnostic: VI1EUR04HT206: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Mz9/YyGOOu9RoWrERZFQnizhCRzU2fnSWVcda3KZ84JAVPYoPFdvOmHRhK0lkhQFPvJHYgVsRNrEE9E7qAN2aKrb50GqMfbdaVfR7RLSmviF107VZx7nhgTh6LwaUFAE00X0fpNsCEolTWUoL7TU963bGqR2KkaEJxc6nlzXtaVroqwWXSBpM5hbLlVevwaq8bNinWGFMg/mmoHVS5MhLg== X-MS-Exchange-AntiSpam-MessageData: D7UlHmV57g2LK/jtVh/P0nP9I2YrEpkIm4q1EWC7WAuwz6s6UOT+3hj+Vs9QxmsykGFY/xXiv0EAAYNTWg6JtLdWM/M8/l2qjuMIkMoyRMqiILj9bLaZmoTEhvj9MQabUAxCqw0gcOK7sv3GfLn0Sw== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 68942b3d-abd6-4a72-bfef-08d892f45823 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2020 16:49:02.6774 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VI1EUR04FT013.eop-eur04.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: VI1EUR04HT206 Received-SPF: pass client-ip=40.92.74.68; envelope-from=arthur.miller@live.com; helo=EUR04-DB3-obe.outbound.protection.outlook.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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_NONE=-0.0001, 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:125669 Archived-At: 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. Yes, that was comma before ,(concat.... and that was backtic `( ("t" ... >> Sent: Friday, November 27, 2020 at 10:31 AM >> From: daniela-spit@gmx.it >> To: "Arthur Miller" >> Cc: "Help Gnu Emacs" >> Subject: Re: .Re: Org Capture Template >> >> >> >> > Sent: Friday, November 27, 2020 at 9:55 AM >> > From: "Arthur Miller" >> > To: daniela-spit@gmx.it >> > Cc: "Help Gnu Emacs" >> > Subject: Re: .Re: Org Capture Template >> > >> > daniela-spit@gmx.it writes: >> > >> > >> Sent: Friday, November 27, 2020 at 8:27 AM >> > >> From: "Arthur Miller" >> > >> To: daniela-spit@gmx.it >> > >> Cc: "Help Gnu Emacs" >> > >> Subject: Re: .Re: Org Capture Template >> > >> >> > >> daniela-spit@gmx.it writes: >> > >> >> > >> >> Sent: Friday, November 27, 2020 at 7:51 AM >> > >> >> From: "Arthur Miller" >> > >> >> To: daniela-spit@gmx.it >> > >> >> Cc: "Help Gnu Emacs" >> > >> >> Subject: Re: .Re: Org Capture Template >> > >> >> >> > >> >> daniela-spit@gmx.it writes: >> > >> >> >> > >> >> > Have you tried it? Am still getting "Invalid Capture Template". >> > >> >> Hah :-) Actually not; I just saw you were missing a parenthesis, wasn't >> > >> >> even looking at it; I am sorry: >> > >> > >> > >> > If you were doing it for the glory, it backfired. >> > >> >> > >> Which? No; I saw it was missing the ending parenthesis; >> > >> >> > >> The second one works; i tried it. >> > > >> > > You mean the second one I wrote? Yes that worked. So will continue doing that way. >> > > >> > >> And yes, it is because of evaluation as Jean told you. >> > No; the second one I sent you :-). >> >> Yes I have tried it. But still getting the Invalid comma. >> Is it just a comma before (concat ? >> >> >> > (setq org-capture-templates >> > >> > `( ("t" "Todo" entry >> > (file "~/Dokument/notes.org") >> > ,(concat "* TODO %^{Heading}\n Brief: %^{Brief}\n" >> > "Detail: %?\n" >> > "Entered: %T\n Link: %a\n") ))) >> > >> >>