~akagi/srht.el

3 2

Feature Request: kill-ring paste URLs

Details
Message ID
<878r7flcy3.fsf@gmx.com>
DKIM signature
missing
Download raw message
Thanks for the great package. It would be nice if supports the following
2 custom options:

- copy the paste url as kill ring after running srht-paste-region open
- the url in browser after doing the same actions


Also, I know that running srht-paste-region with empty parameter sends
the whole buffer, but it might be better to add a separate function for
that.



--
Regards,
Salih
Aleksandr Vityazev <avityazew@gmail.com>
Details
Message ID
<87jzqyr3sb.fsf@gmail.com>
In-Reply-To
<878r7flcy3.fsf@gmx.com> (view parent)
DKIM signature
missing
Download raw message
Hi, 
On 2023-11-03, 05:39 +0200, Salih Muhammed <lr0@gmx.com> wrote:

> Thanks for the great package.
Thanks for the kind words.

> It would be nice if supports the following
> 2 custom options:
>
> - copy the paste url as kill ring after running srht-paste-region
srht.el already provides this functionality
> - open the url in browser after doing the same actions
>
added in last commits.
>
> Also, I know that running srht-paste-region with empty parameter sends
> the whole buffer, but it might be better to add a separate function for
> that.

I have my doubts that this is necessary, I'll think about it some more
and maybe add it in the next commits.


-- 
Best regards,
Aleksandr Vityazev
Details
Message ID
<87v8aih9gg.fsf@gmx.com>
In-Reply-To
<87jzqyr3sb.fsf@gmail.com> (view parent)
DKIM signature
missing
Download raw message
Aleksandr Vityazev <avityazew@gmail.com> writes:

> srht.el already provides this functionality

I see that this is possible with srht-paste-link but the workflow would
be publishing the paste then M-x srht-paste-link and selecting it. I
think it might be more convenient if it was possible to kill it directly
after publishing.

> added in last commits.

Great! Thanks.


--
Regards,
Salih
Aleksandr Vityazev <avityazew@gmail.com>
Details
Message ID
<87h6m2o6kj.fsf@gmail.com>
In-Reply-To
<87jzqyr3sb.fsf@gmail.com> (view parent)
DKIM signature
missing
Download raw message
On 2023-11-03, 22:22 +0200, Salih Muhammed <lr0@gmx.com> wrote:

> Aleksandr Vityazev <avityazew@gmail.com> writes:
>
>> srht.el already provides this functionality
>
> I see that this is possible with srht-paste-link but the workflow would
> be publishing the paste then M-x srht-paste-link and selecting it. I
> think it might be more convenient if it was possible to kill it directly
> after publishing.

My mistake, I was using a very old version of plz and copying to
kill-ring worked, but in the latest stable version it doesn't.
Fixed in last commit.

-- 
Best regards,
Aleksandr Vityazev
Reply to thread Export thread (mbox)