~mcepl

https://en.osm.town/@mcepl

~mcepl/devel

Last active 8 days ago

~mcepl/m2crypto

Last active 18 days ago
View more

Recent activity

Re: par - testsute errors a day ago

From Matěj Cepl to ~mcepl/devel

On Sun Jan 12, 2025 at 3:21 PM CET, Andreas Metzler wrote:
> Hello,
>
> par GIT HEAD throws testsuite errors:

I know, if you can imagine any idea how to fix it (without
switching off the ability to work with UTF-8), then I would be
extremely grateful for a patch.

Best,

Matěj

--

Re: RFE Expand ~ in :open prompt 2 days ago

From Matěj Cepl to ~martanne/devel

On Wed Nov 13, 2024 at 3:06 PM CET, Matěj Cepl wrote:
> When trying to open new file from the command prompt which is
> outside of the current working directory my first instinct is to
> start with ~/. Unfortunately :open doesn’t expand it into the
> value of ${HOME}. Would it be possible to make vis understand
> this expansion?

Specifically, when I type

:open ~/<TAB>

nothing happens. Yes, when I type the entire line,

:open ~/Documents/<Enter>

Re: [PATCH aerc 1/2] gpg: force crlf on base64 blobs 6 days ago

From Matěj Cepl to ~rjarry/aerc-devel

On Tue Jan 7, 2025 at 12:33 AM CET, Robin Jarry wrote:
> When sending signed messages with outgoing = jmap://, the following
> error is returned by the server (provider=Fastmail):

Tested-by: Matěj Cepl <mcepl@cepl.eu>

-- 
http://matej.ceplovi.cz/blog/, @mcepl@en.osm.town
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
The state is the great fictitious entity by which everyone seeks
to live at the expense of everyone else.
      -- Frederick Bastiat

Re: [vis][RFC] introduce s8 type and use it to simplify theme parsing 6 days ago

From Matěj Cepl to ~martanne/devel

On Mon Jan 6, 2025 at 4:38 PM CET, Randy Palamar wrote:
> This commit adds ~100 lines of code because I have provided my own
> implementation of some functions that we were previously provided
> by the C-runtime. This code will be reused later to simplify lots
> of other code in sam.c, map.c, vis-lua.c, and likely more. I can't
> say if this will be a net reduction of code in vis but I can
> guarantee that it will be a net reduction in total lines of code
> running on the users machine - C-runtime implementations are often
> massive over-complicated messes (even musl).

I have added this patch to my `devel` branch and so far it seems
to compile and I am writing this email with it. Let me use it for
some time and we’ll see.

[PATCH vis v2] fix[shell scripts]: review of the scripts and make them more uniform 8 days ago

From Matěj Cepl to ~martanne/devel

I have tightened security (all scripts have `set -eu`), added
`vc_fatal` for reporting and `vc_usage` for usage, and generally
cleaned up syntax (to make shellcheck happy).
---
 vis-clipboard | 23 +++++++++++++++++------
 vis-complete  | 44 ++++++++++++++++++++++++++------------------
 vis-open      | 30 ++++++++++++++++++++----------
 3 files changed, 63 insertions(+), 34 deletions(-)

diff --git a/vis-clipboard b/vis-clipboard
index ad0408d6..c4bc07da 100755
--- a/vis-clipboard
+++ b/vis-clipboard
@@ -1,6 +1,7 @@
[message trimmed]

Re: [PATCH vis] fix[shell scripts]: review of the scripts and make them more uniform 8 days ago

From Matěj Cepl to ~martanne/devel

On Sat Jan 4, 2025 at 9:36 PM CET, Randy Palamar wrote:
> I don't really see the point of the prefixed names (vc_*).
> Personally I would remove it since I doubt there is any reason to
> source these files from other shell scripts but if you insist on
> keeping it the prefix should be correct for the file its in (eg.
> vo for vis-open).

Yeah, no problem. I have eliminated these prefixes everywhere
except of vis-clipboard, where it has always been everywhere.

>> @@ -27,12 +38,10 @@ while [ $# -gt 0 ]; do
>>  		break
>>  		;;
>>  	-h|--help)

Fwd: par.1 fixes by Bjarni Ingi Gislason 8 days ago

From Matěj Cepl to ~mcepl/devel

Forwarded message from Andreas Metzler on Sat Jan 4, 2025 at 2:58 PM:
Hello Matěj,

Bjarni has submitted two bugreports regarding the manpage against
Debian:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895964

--> applied to your git repo except for a single patchlet.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091697

--> Not yet applied

Re: par.1 fixes by Bjarni Ingi Gislason 8 days ago

From Matěj Cepl to ~mcepl/devel

On Sat Jan 4, 2025 at 3:58 PM CET, Andreas Metzler wrote:
> Hello Matěj,
>
> Bjarni has submitted two bugreports regarding the manpage against
> Debian:

Thank you very much, both patches have been accepted.

(I generally prefer git-send-email patches sent to
~mcepl/devel@lists.sr.ht, but, of course, Postel’s Law, I am
accepting everything)

Happy Hacking in this new year!

Crash in waypaste 10 days ago

From Matěj Cepl to ~noocsharp/public-inbox

Hello, Nihal,

with my build on openSUSE/Tumbleweed (see the attached build log)
from the commit dac1c69, I get this:

mitmanek:wayclip (factory) $ echo "tralala"|waycopy
mitmanek:wayclip (factory) $ gdb waypaste
GNU gdb (GDB; openSUSE Tumbleweed) 14.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".

[PATCH vis] fix[shell scripts]: review of the scripts and make them more uniform 10 days ago

From Matěj Cepl to ~martanne/devel

I have tightened security (all scripts have `set -eu`), added
`vc_fatal` for reporting and `vc_usage` for usage, and generally
cleaned up syntax (to make shellcheck happy).
---
 vis-clipboard | 21 ++++++++++++++++-----
 vis-complete  | 45 ++++++++++++++++++++++++++-------------------
 vis-open      | 30 ++++++++++++++++++++----------
 3 files changed, 62 insertions(+), 34 deletions(-)

diff --git a/vis-clipboard b/vis-clipboard
index ad0408d6..948c317b 100755
--- a/vis-clipboard
+++ b/vis-clipboard
@@ -1,6 +1,7 @@
[message trimmed]