From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel,gmane.emacs.orgmode Subject: Re: [DISCUSSION] org-capture.el vs remember.el (was: [ELPA] New package: jami-bot and org-jami-bot) Date: Sat, 30 Dec 2023 09:20:48 -0800 Message-ID: References: <875y0i7e43.fsf@hoowl.se> <878r5bc12y.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24274"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Hanno Perrey , emacs-devel@gnu.org, emacs-orgmode@gnu.org To: Ihor Radchenko , rms@gnu.org, Bastien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 30 18:21:44 2023 Return-path: Envelope-to: ged-emacs-devel@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 1rJd1r-00066V-VO for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Dec 2023 18:21:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJd14-0007sn-M5; Sat, 30 Dec 2023 12:20:54 -0500 Original-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 Original-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 Original-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) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 30 Dec 2023 09:20:48 -0800 In-Reply-To: <878r5bc12y.fsf@localhost> 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-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:314367 gmane.emacs.orgmode:158790 Archived-At: 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.