From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id ONNnLb9RkGVdJgAAkFu2QA (envelope-from ) for ; Sat, 30 Dec 2023 18:22:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id EJvHKL9RkGVOrwAA62LTzQ (envelope-from ) for ; Sat, 30 Dec 2023 18:22:07 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=eI3uuYN1; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703956927; 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=suxu4S1mu8IOiuu6aw+81IPENaMxILxN8CZL6hnQMK4=; b=CNhOgFb0CuQ8KLyuhgPPzrfVS0XSGg8UXo4Gkw7O3so3wzTxIBE2BxPHuZXxHcMZjG5rKD Uk5KiGE1IBtjUcf3QAeO3KRO6hijeZUsMC95K5cNzYAuzRap4MwUvS8AXIFzhLGbgZSXbe 8vFQo4rxW6JPKl+LQgaqr6n6Q4jgJ67ndr9brOsx3RACUAJO0rW55PtE9lHNDtV/Bpoeyg 2GKUgGZieUMnk73UrWLpSjeKmbWuoZ87VnMarQC865s9c29KpinuF8Tda6nBN7f6hxNbKC Sp1xw3oFW2w5VkHTpnBV8F+ZTnFHozxs+kLvuIKFCudDj5n+5Ghxeq5UqcpnZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703956927; a=rsa-sha256; cv=none; b=EPs7hoGokFWJZoFkNThFrKr/pZ+MwAkE6jAvegDj9Xe1kDPii+GMDRfte6XSFhcvIXOvUz CR+briItByVqNc+dF07WNb/0cUhC9vZeyx3tLJFwOWC+nhllk/nn+3ffQhyu0kA2bvZLux 7I+FFVyrMwqoaAqTBDohZZo+Q6dtAEX7Gn9b4pvezsWOj/OYI1pdG2E3mZLMWk/6Yrsu8N URffVgSHc2HlFNqCqymJqfnECItyu3E62a2sFpVARSDBUKz9iJ9xaYGNzQFfR381x7yS+Y d82RASa1uyXR3rOoJG7YZtaNqIDa8Lv/B+vKoy9X+zgvy3CayVafHczOZc4euA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=eI3uuYN1; 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"; dmarc=pass (policy=none) header.from=gmail.com 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 8607E3F7E1 for ; Sat, 30 Dec 2023 18:22:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJd15-0007t3-Mg; Sat, 30 Dec 2023 12:20:55 -0500 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 1rJd13-0007sa-Pz; Sat, 30 Dec 2023 12:20:53 -0500 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJd12-00034S-4x; Sat, 30 Dec 2023 12:20:53 -0500 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5559df64497so3476169a12.1; Sat, 30 Dec 2023 09:20:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703956849; x=1704561649; darn=gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=suxu4S1mu8IOiuu6aw+81IPENaMxILxN8CZL6hnQMK4=; b=eI3uuYN1MJF7If6mNlL5RyDByFezf5kNfFM+elvNUOO0Ha880D37YyhaIeKF2ie3Y4 tPOx3+wMV91VDLM/dawjYD9BN1Ex0aiGldEIExd07asUF8cGmHhyiiabejDCHGq4KMwN jRXAtz73QTEZW16VLQiwrP4HQTUbS9AFMhIJNkQZOc6BCGexAiSoVwTrRIG7Fs1Llv2d hOnCUrODwHaDpGuN0KS3eT/tVY+qEFEHDqSPYomgbFEOVX7nSX+5cmiJ9m01nIkxBGRA nFOeyUdBJijVkyn2N9zrPu/cj//pwgdOSI22aNJWJGFc0viVeNBJ/GZ+kmqgp34IRgkh Yt5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703956849; x=1704561649; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=suxu4S1mu8IOiuu6aw+81IPENaMxILxN8CZL6hnQMK4=; b=A0q8lQOacmmV/9bLHOEmtGavb3sWEQhRx49vmXJg2I0nuu/YAEpY8OJF5UNoIZjbHA nbWhN6x6UpHvCYEMyeZwqACYaoQmDgp4FU/NB1T0TzTJNAzGvlRNw9T+PybOVK3/d48a OrkZ8IdV7mET1QaHdx2bX0kNhjtBIS+q1IE/sB/UFluOCTmLlB1tC0GS4VQQN1gtGvmu xXJlgwJD97EAg9IHNSuRXKYyi8E6dwbYhS+NypM4+Sxa9EV5u+0oNufqSWGuspLSuzhD YiUUOZfLY9SHSjud5L/3aSlJMda4bEpExiRPK6OtO7vjanvm6deeWW7QxtlQNChDiFqu xVQw== X-Gm-Message-State: AOJu0YypanKXyaQszho1UeJGcd9GUxnuJjSQSjkz+H6kWpgq97Gr1IW4 kz43DtNA9LyVBFmFrK0xBCWj9/8xDkhQ3O5nhvo= X-Google-Smtp-Source: AGHT+IE4RboIJOyMuEDByiDi8psOJ+VglYc+4hiOlRvN1yVnU+ahIRdie4fIt9Bu7nV65BsoYL37r8iaJ5VeU6EfdkI= X-Received: by 2002:a05:6402:50ce:b0:555:3fb7:a648 with SMTP id h14-20020a05640250ce00b005553fb7a648mr6503640edb.20.1703956849203; Sat, 30 Dec 2023 09:20:49 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 30 Dec 2023 09:20:48 -0800 From: Stefan Kangas In-Reply-To: <878r5bc12y.fsf@localhost> References: <875y0i7e43.fsf@hoowl.se> <878r5bc12y.fsf@localhost> MIME-Version: 1.0 Date: Sat, 30 Dec 2023 09:20:48 -0800 Message-ID: Subject: Re: [DISCUSSION] org-capture.el vs remember.el (was: [ELPA] New package: jami-bot and org-jami-bot) To: Ihor Radchenko , rms@gnu.org, Bastien Cc: Hanno Perrey , emacs-devel@gnu.org, emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=stefankangas@gmail.com; helo=mail-ed1-x52c.google.com 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, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.58 X-Spam-Score: -6.58 X-Migadu-Queue-Id: 8607E3F7E1 X-Migadu-Scanner: mx11.migadu.com X-TUID: PYe7bHTPRwzb Ihor Radchenko writes: > The refactoring de-coupled what used to be org-remember.el into > completely rewritten org-capture.el that added important features that > could not be implemented within remember.el framework: > > 1. org-capture arranges writing the text to remember directly into the > target location where it is to be stored. This addressed an important > problem of remember.el - remember.el always uses temporary buffer for > user input and does not save it until remember-finalize is executed > explicitly. A number of users sometimes forgot to call > remember-finalize, leading to annoying data losses. > > 2. remember.el only allows a single text input at a time. org-capture > makes it possible for users to write multiple notes in parallel. > > I am wondering if it would be possible to have the above two key > features supported by remember.el. Then, org-capture.el could go back to > re-using remember.el infrastructure and thus reduce code duplication. This is, of course, desirable. The real question is how much work it will take and who will volunteer to do it. On the face of things, remember.el does not comprise a huge amount of code, and I don't see why the above two features couldn't be retrofitted into it. Patches welcome.