From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MCzlCV26xmIxMwAAbAwnHQ (envelope-from ) for ; Thu, 07 Jul 2022 12:50:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mPfjCV26xmICCAEA9RJhRA (envelope-from ) for ; Thu, 07 Jul 2022 12:50:05 +0200 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 DDD11110DF for ; Thu, 7 Jul 2022 12:50:04 +0200 (CEST) Received: from localhost ([::1]:34980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9P5A-0003Zu-2w for larch@yhetil.org; Thu, 07 Jul 2022 06:50:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9P47-0003Zc-07 for emacs-orgmode@gnu.org; Thu, 07 Jul 2022 06:48:59 -0400 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:34416) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9P44-0008V9-SR for emacs-orgmode@gnu.org; Thu, 07 Jul 2022 06:48:58 -0400 Received: by mail-pg1-x536.google.com with SMTP id g4so17790375pgc.1 for ; Thu, 07 Jul 2022 03:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=xmrplGs8kuafXsH+/yI/CZZP7Zq7F8OPo7EFtLTzUGo=; b=ofLtNSDVtbHYKVGQFomjxZuXJSQWY5V2Fgp6mNpOi86iObtOC43K5QDtfsPufuNORE GHeIcuhCTvR9f/NrJ5x8BRUOupHhw8KF/0m3QJvEdMNetMI6LoNo9sCJ5EXlzTa6YHhl kp0PzZF7i9SMKb8GEL0n8OCwVa662luuXenBFA8NmaMtG7PCBT8NsGhwg+EpJyhP9S3j PX0n2mptvOsuWPm0koL1S0RybssmFB5SEctV+eXzrVhvEhupQKwIrotRKolQEpYQ9kEq PUW127R7H7xc6kazFHrGcTZQVs1vs3LOcCcpTFnOA1WpEPW1wmNaAJymS/0hvwAXGFGi F7LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=xmrplGs8kuafXsH+/yI/CZZP7Zq7F8OPo7EFtLTzUGo=; b=Y0MuoGHMxHBOyie3SnP9wM6HGLr1zwfJRIAct/ECGE/2FSIShCCcN5J3XtYQsKAV6H ZTQqi0vxEw3RFd1UsKte5c1/qKqKtXIDL+fYCdY9bAcnj05GvN430b/KIUvz/AmUERSf HJC2jyjVm4majZU+Lj+YXmMsRgvK7ySjvjBOXBRE29QrAwXN4QhDx27OUoJ/5feYofiN 6z4HVE+8jHOx0SN66vFmBvfeHe0Nm50w46KfQDgMqSMoeUn0KBuzKDooZJ85fv9KGxs0 jVnns44VbMkPBoqZjqtvnNbGWN72iLeV0GWAY60AitAWGw1ytzkuYMIJECQ7sDvtILgu Tb+Q== X-Gm-Message-State: AJIora+aBHJVA2IkcJU1V6kFI9ozrGr7XwmhQ27QXP1uRd15ihAOsyzC 7AmDa3l8wRbXWA6SND+x/1Odw2FbL9jIfQ== X-Google-Smtp-Source: AGRyM1uw8hEfHgiMyUtxMRYp+NgPgj7YVSibpBKrzGau+EPy+9N3vxqu6nmH4SLCKwmNI0FICXk70w== X-Received: by 2002:a17:90b:1808:b0:1ef:b5cd:ad8b with SMTP id lw8-20020a17090b180800b001efb5cdad8bmr4385945pjb.18.1657190935627; Thu, 07 Jul 2022 03:48:55 -0700 (PDT) Received: from localhost ([209.95.60.151]) by smtp.gmail.com with ESMTPSA id m17-20020a170902db1100b0016a275623c1sm19910977plx.219.2022.07.07.03.48.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 03:48:55 -0700 (PDT) From: Ihor Radchenko To: Henrik Frisk Cc: org-mode-email Subject: Re: org-cature-ref In-Reply-To: References: Date: Thu, 07 Jul 2022 18:50:01 +0800 Message-ID: <87pmihurhi.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=yantar92@gmail.com; helo=mail-pg1-x536.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657191004; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xmrplGs8kuafXsH+/yI/CZZP7Zq7F8OPo7EFtLTzUGo=; b=R47UhX2ZvELO5+a8sVLcsnnIKsU+pmf1I4n/JF2ZcnzpUgHHCTCfKlcOBrbVKF/+MMtcjX Dboxw7YoQUbg3StoXqhNDFXeGoUxwjIzUkRuRuoIfchp58AnU0Psm/vUQbLI2s0LnKoRvA lWIV9PDgwtOOCXZ7E221ip5qhOmyYc4iwqnqa5hxssdkuRNgksd+T5HDR2pLm+vPgxZUTJ OtYlmqkOGf2SAOyiG31E8tMm8OBto6jfc+XndX53Vw1oS71snkkJi4SUxp1wlyGiXfADoS yKNYztfjBggp2YxwTo/Y8P8eZkbzD/zPv1MGrerK942eRTsUle3IS/dstFXTBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657191004; a=rsa-sha256; cv=none; b=uosPBlVjwUimnvZo2PzUPUt1g83wbBwnLoFbbB2nPvmLmUXPtH2A0l+9AJPonkCqs1qjsG KUn15ZfN9ZXtlYvqTfg7h7YMxWf7VarWG1YHfDdyMUgGBcYJ+n7OFdvgQZpc0KOZwEVorc 6Rs2nWwcfe6uSFLJFLRnzQWqF6ibAOObG3rWEpNgUyRJTDrdQ2UCBEeHrHM2rDMT0z7Mw9 wcHFWCVzuuRAyRG3knauhqsGyO8F567+ErOIyYYDzZjQyl4o1bye7pYlorqOn+x3p0ey9Q y0nIGZkeyPCgDzMKZ47FEoaw3mj4wMRJRhYPVu+quRb2B/VBrRI6QcM/BRBs9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ofLtNSDV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.45 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ofLtNSDV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DDD11110DF X-Spam-Score: -3.45 X-Migadu-Scanner: scn1.migadu.com X-TUID: P4KBnQf/WQUX Henrik Frisk writes: > Ihor Radchenko recently mentioned org-capture-ref and I decided to try to > use it, but I'm having trouble getting it to work. I have org-protocl > working for me so I'm suspecting that it is the syntax of the bookmarklet > I'm using that is at fault. I merely changed the capture template key from > the example here: > > https://github.com/alphapapa/org-protocol-capture-html#org-protocol-instructions > > but that doesn't work (I get an empty buffer with what looks as the the > link contents as name). Apart from that I have just copied the template > from here: Do I understand correctly that you used the following bookmarklet: javascript:location.href = 'org-protocol://capture-html?template=w&url=... ? Is so, you probably need org-protocol://capture?template... instead of org-protocol://capture-html?template... Best, Ihor