emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ELPA] New package: activities


From: Sergey Organov
Subject: Re: [ELPA] New package: activities
Date: Sat, 27 Jan 2024 19:14:34 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Eric S Fraga <e.fraga@ucl.ac.uk> 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 <choose project> a

C-c d l <project>

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]