From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sergey Organov Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: activities Date: Sat, 27 Jan 2024 19:14:34 +0300 Message-ID: <87ede2n47p.fsf@osv.gnss.ru> References: <86frykbksh.fsf@gnu.org> <8634ukb7hv.fsf@gnu.org> <3c51c1aa-ebe5-4dd3-b7cd-a12c972cee12@alphapapa.net> <86cytn9rta.fsf@gnu.org> <87mssq25ge.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7012"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: emacs-devel@gnu.org To: Eric S Fraga Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 27 17:15:18 2024 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 1rTlKw-0001Ul-NJ for ged-emacs-devel@m.gmane-mx.org; Sat, 27 Jan 2024 17:15:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTlKM-000899-4W; Sat, 27 Jan 2024 11:14:42 -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 1rTlKK-00087A-HU for emacs-devel@gnu.org; Sat, 27 Jan 2024 11:14:40 -0500 Original-Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rTlKI-0001ZW-GD for emacs-devel@gnu.org; Sat, 27 Jan 2024 11:14:40 -0500 Original-Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2cf59087e03so2437681fa.1 for ; Sat, 27 Jan 2024 08:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706372076; x=1706976876; darn=gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=So/kBUQ3+TmyJMUKYXLdYRnUTSE/7DEvnTZTt+77l/g=; b=CU/sEFNm8+9lcpx41bLmhzGXzGBObAWJvAU3ZwZSBP+bj/J8JWF2hhLJXtygBTbi3s EdrWvZp5Uzd+wHafOkIcZxV4JkRAZWyzMXK5qnW24NIK/EOUinvxZ7uJFBHhcFZNJqTY g6wMPVjqQCShnFyhH6XXEI5l6lai/rRXf5fdYVHHedGONA2gAOpIXwwjW9lYwbCoaQ4U pOj+hYV49AxvDc2FjjPrwaipIE14CpMgDoEVhIF0YJy8JKd0Ai1Xjy4BxPJzH3ScHIjZ dyokk4aHekxzXu1BTLPOYadY83lMda6pU+etjxNW8JNDvVl2uxujj/SOJEs/CifzIFXQ S2Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706372076; x=1706976876; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=So/kBUQ3+TmyJMUKYXLdYRnUTSE/7DEvnTZTt+77l/g=; b=eMfet2SR0VdytBcmBxnU0+oaklHr04TemDE4RAilZdaVxlgyaBeGpwGE2sMXWPcRTB jqvDr5oWWa4fzUrL1b2HIzGqhcI9kw9o4sWG1oJHRGTSXsxIvIVLBqcdM3JWilvL4ReE ymKC04jxwHbwVZuuV40gko9SYjzeLo9aS871yomq/Uai6em2K/ESxk7qlk6ZrlZDgxUK aZ7LQnUz+CJ99RBEt8e8W0hFQsaWx5npXwMg0iHetlLvJCEWo6iTEfh7Y3rXhaxpVDNX UNPLa1W04tGQ5NQReZruQ9QJxomKJ5K8dmFaQEJA9adkSqXDI7aPSDA+YEhm21Kd6Pvs om1Q== X-Gm-Message-State: AOJu0YxIajPX2la/8w2nxRMgZIkE1dMpS6hiDtf1iV40Aruf1lxmnO7q QmmVz4DRO8rMDhkYsUgdm2k9i1uzS/I4BocAzPUxNtBgfWSY5eq70vguGPfWkcE= X-Google-Smtp-Source: AGHT+IGngkEePjSATcEAOFAUQnvT7go/0UAS79892z03Of/GFrHo3rd4D20EoxgOrfarKlQmMS7E8A== X-Received: by 2002:a2e:90d0:0:b0:2cd:2b6a:b43a with SMTP id o16-20020a2e90d0000000b002cd2b6ab43amr1142817ljg.44.1706372075491; Sat, 27 Jan 2024 08:14:35 -0800 (PST) Original-Received: from osv.localdomain ([89.175.180.246]) by smtp.gmail.com with ESMTPSA id o17-20020a2e7311000000b002cce6095241sm481856ljc.62.2024.01.27.08.14.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 08:14:35 -0800 (PST) In-Reply-To: <87mssq25ge.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Sat, 27 Jan 2024 14:53:21 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::234; envelope-from=sorganov@gmail.com; helo=mail-lj1-x234.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:315490 Archived-At: Eric S Fraga writes: [...] > I have never found desktop.el to be useful. I do not start emacs from > different directories so find the whole idea of a desktop counter to my > use case. I start emacs and then use it for days, working on different > completely unrelated projects or activities (teaching, coding, writing, > admin, email, whatever). Emacs, these days, is usually also my window > manager (exwm). That's how I use Emacs as well, yet I've built a package based on deskstop.el and session.el a long time ago that I've called desksess.el, and I'm still using it. [...] > Building on top of desktop.el seems, to me, to be using the wrong > starting point. Maybe, maybe not. It was much easier for me to glue two existing packages together using a bit of simple code than to re-invent the wheel. Yes, it overrides desktop.el's idea of where to get desktop files, and which file to load, but that's only a little bit of gluing on top of rather big package. > If you believe that new packages should somehow build > on existing packages, then start with project.el which is more aligned > to the proposed package. I would love to be able to type > > C-x p p a C-c d l in my case C-c d l runs the command desksess-load > > with "a" for activity, say, taking me back to where I was last with that > project. Exactly how desksess.el works, and it loads last visited desktop on startup, no matter what is current directory. -- Sergey Organov