From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CBU0Ox2K+l7zCQAA0tVLHw (envelope-from ) for ; Tue, 30 Jun 2020 00:41:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 9cweNx2K+l69KAAAbx9fmQ (envelope-from ) for ; Tue, 30 Jun 2020 00:41:01 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6A78C9400BF for ; Tue, 30 Jun 2020 00:41:01 +0000 (UTC) Received: from localhost ([::1]:33432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jq4KY-0005fs-Nq for larch@yhetil.org; Mon, 29 Jun 2020 20:40:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jq4K3-0005fi-GE for emacs-orgmode@gnu.org; Mon, 29 Jun 2020 20:40:27 -0400 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:41873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jq4K1-0000Kr-Po for emacs-orgmode@gnu.org; Mon, 29 Jun 2020 20:40:27 -0400 Received: by mail-pl1-x644.google.com with SMTP id f2so7758179plr.8 for ; Mon, 29 Jun 2020 17:40:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=68opL5BBUQok75mZoIP+rUolfS3tFr663z4TcH0x/aY=; b=dvOkxlJmHV7tM95/KK8YOQ2G0K/8A5XTZ3tEoGIN5t1xioo3vQ8pwfM3FDp79WSE21 YRrQtwMO8rA5kxr9txzCE3gFVCoLR3b38a8upgyklFZLSN6DuuKYy12nfmFhpzR3HTG2 e/jPbzQBu86+y4IfR1TmHpfrM6qlQoJWe6Yh3N4bjeHgKrDgplQ5c/bI57tBcfxGo1RR Fwx/Rx7AOkpWh0YTHBewG0Z/0l0IhIn6hd8Z7qmkUUPZLAeq1tVNox7uZHuILsRHqXZg 8VvbVds1v0rOfOXmm8SDDZN6EjQd5vkKJ7VV4yOPor739x5IM3nnJ3CqDbgVcAqrcjD2 rOOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=68opL5BBUQok75mZoIP+rUolfS3tFr663z4TcH0x/aY=; b=oLmUV01e7JKcGzNOOKOimUw3RkFHF5vpwEbZ5ndYKvBr68TFCdlkIJeFIPF3MgRGYP OQyRDzBTVuENo8UxEz7Mz1lu0uijuygnHfcHg9dxibIvn2KrnB3u4qJTTkIsTsSFdbmn Lwtqqfx4TB18FLj5J4jq2yPG4Ky7tocUELcOgNmqull1q/xZHHZLyvcOGH+Z5qqqtjy7 xAE++ICZW906DxhJ2DkqAcVXNQ6vKJgfnf6PP71cR9AZKkAOaFqAwj2gNEiz92iUSglb J8vJdKIQUxpodHhGJItuOFlnPMGd6D9jkl9cVDri46x7Plnuii07fYSeU5BfaPTDJsvF dCzg== X-Gm-Message-State: AOAM531DzgcYzfrRnEh8WT8srfL7ukHuHLSgy7Wvzcr9R92dMBSw0a3G yHbi5SeFIvPqV+DIs6lLier1T0y643tziwIRe1w= X-Google-Smtp-Source: ABdhPJxPMQPFeQYyZjVDntJ5qioeFSLnP85bi5uHqXnfqC4tDECKDLmigA59Rpo5LiW5I60XOf2FZXLN4L8Mons5Gq4= X-Received: by 2002:a17:90a:c295:: with SMTP id f21mr7328141pjt.208.1593477624242; Mon, 29 Jun 2020 17:40:24 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6a10:124c:0:0:0:0 with HTTP; Mon, 29 Jun 2020 17:40:23 -0700 (PDT) In-Reply-To: <87imf9ct7i.fsf@kyleam.com> References: <87lfk5cul8.fsf@kyleam.com> <87imf9ct7i.fsf@kyleam.com> From: Samuel Wales Date: Mon, 29 Jun 2020 17:40:23 -0700 Message-ID: Subject: Re: org-tempo and Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::644; envelope-from=samologist@gmail.com; helo=mail-pl1-x644.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=dvOkxlJm; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: rkAtkYbHL+J5 thank you. it does work, if you get rid of your entire alist first. that is, it doesn't just seem to look up the car and expand it, but rather seems to require the whole list to be what it wants. so you cannot fix one at a time. i tried to fix one at a time because i wasn't sure which mechanism i would use and what syntax each mechanism required. the < mechanism being the same syntax in org but a different syntax in the alist threw me off ever so slightly. seems to be backward compatible for the expansion, but not for the alist. i didn't think to null the alist until much later when i found out from you that the syntax i had tried was supposed to work after all. i also got a capture bug. the offending item was this one: (push '("n" "#+name: ?" "") org-structure-template-alist). therefore the old syntax. so no need to fix the bug i guess, but for curiosity here is the bt. the strange thing is the capture template doesn't expand anything so idk why it errors just because the expansion mechanism used the old syntax. this one might throw others off, dunno. Debugger entered--Lisp error: (error "Capture abort: Wrong type argument: stringp, (\"#+name: ?\" \"\")") signal(error ("Capture abort: Wrong type argument: stringp, (\"#+name: ?\" \"\")")) error("Capture abort: %s" "Wrong type argument: stringp, (\"#+name: ?\" \"\")") org-capture(nil "n") #[0 "\300\301\302\"\207" [org-capture nil "n"] 3 nil nil]() funcall-interactively(#[0 "\300\301\302\"\207" [org-capture nil "n"] 3 nil nil]) call-interactively(#[0 "\300\301\302\"\207" [org-capture nil "n"] 3 nil nil] nil nil) command-execute(#[0 "\300\301\302\"\207" [org-capture nil "n"] 3 nil nil]) so, user error, plus some anomaly. however, if any ignorami like me exist out there, it might be worth documenting int he warning screen that you should null the alist. On 6/29/20, Kyle Meyer wrote: > Samuel Wales writes: > >> On 6/29/20, Kyle Meyer wrote: >>> would map to this (untested): >>> >>> ("b" . "src sh :results verbatim output") >> >> thanks. i tried that too. it gave an error so i assumed it was >> invalid syntax. should i report it as a bug? > > Yes, please provide a minimal configuration, the steps to trigger, and > the error you see. With maint (currently 3ed035ce3) checked out, I just > tried > > (require 'org-tempo) > (add-to-list 'org-structure-template-alist > '("b" . "src sh :results verbatim output")) > > with no other configuration. Both inserted the block without an error. > -- The Kafka Pandemic What is misopathy? https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html