~dpettersson

Recent activity

[PATCH] Fix detached-consult-session crash due to wrong item data 1 year, 8 months ago

From Daniel Pettersson to ~niklaseklund/detached.el

The items generated did not conform with the annotation function
argument requirements. The items generated contained sessions and not
session ids.
---
 detached-consult.el | 38 ++++++++++++++++++++++----------------
 1 file changed, 22 insertions(+), 16 deletions(-)

diff --git a/detached-consult.el b/detached-consult.el
index 5c6bf89..1057e3b 100644
--- a/detached-consult.el
+++ b/detached-consult.el
@@ -97,8 +97,9 @@ See `consult-multi' for a description of the source values."
             ,(lambda ()
                (mapcar #'car

Re: [PATCH detached.el 1/1] Add support for OSX tail 1 year, 10 months ago

From Daniel Pettersson to ~niklaseklund/detached.el

Hey as seen I am having som issues with sourcehuts Patch system :)

Tried using sourcehuts web ui for sending but it for som reason it
appends the following from an older conversation, so ignore the
unnecessary repetition.

> Hey again Niklas!
>
> I sent a PR/Feature request when the repo was hosted at gitlab,
> regarding having last shell-command as initial input for completing-
> read.
>
> Pushing changes that I had locally. I have a FSF copyright assignment
> for emacs pending, but while that is pending I thought I would send this

Subject: [PATCH detached.el] Add support for OSX tail 1 year, 10 months ago

From Daniel Pettersson to ~niklaseklund/detached.el

Strangely the tail of unixes has diverted. OSX tail does not have
support for "--" or long args. But the same functionality is hidden
under short args.

`--follow=name`, `--lines=` and `--retry` is not supported by OSX tail.

- `--lines=` is replaced by the short alternative `-n`

>      -n, --lines=[+]NUM
>             output the last NUM lines, instead of the last 10; or use
>             -n +NUM to output starting with line NUM
>
> tail(1) — Linux manual page