~ph14nix

~ph14nix/public-inbox

Last active 2 months ago

~ph14nix/kalina-devel

Last active 8 months ago
View more

Recent activity

Re: [PATCH aerc] pager: show basic stats by default a month ago

From Ivan Oleynikov to ~rjarry/aerc-devel

> In pager, show current displayed line numbers, and the length of message
> (in percentage) currently visible to the user. Should help in reading
> long messages.

Sounds like a great idea. Applying this to my local config.

Ivan

[PATCH imv v2] Remove trailing whitespace from wordexp-ed strings 2 months ago

From Ivan Oleynikov to ~exec64/imv-devel

Previous implementation was always leaving a trailing whitespace at the
end of the expanded string (used in window title, description text,
etc.). Now it doesn't happen.
---
 src/imv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/imv.c b/src/imv.c
index 8380a12..ba411f6 100644
--- a/src/imv.c
+++ b/src/imv.c
@@ -2002,7 +2002,7 @@ static size_t generate_env_text(struct imv *imv, char *buf, size_t buf_len, cons
  setenv("IFS", "", 1);
  if (wordexp(format, &word, 0) == 0) {
[message trimmed]

Re: [PATCH imv] title_text: remove trailing whitespace typo 2 months ago

From Ivan Oleynikov to ~exec64/imv-devel

I was wrong, the IFS='' still produces multiple words. I'll send a new
patch that removes the trailing whitespace preserving the spaces between
the words.

Re: [aerc/patches] build success 2 months ago

From Ivan Oleynikov to ~rjarry/aerc-devel

Looks good! Thanks a lot Koni!

With this patch applied, the email that was causing #44 for me is now
displayed correctly.

Ivan

Re: [PATCH] fix a few warnings 2 months ago

From Ivan Oleynikov to ~ph14nix/public-inbox

On Tue May 31, 2022 at 4:26 PM MSK, Ivan Oleynikov wrote:
> ---
>  src/Environment.hs |  6 +++---
>  src/Main.hs        |  6 ------
>  src/Render.hs      | 27 ++++++++++-----------------
>  src/State.hs       |  2 +-
>  4 files changed, 14 insertions(+), 27 deletions(-)
>
> diff --git a/src/Environment.hs b/src/Environment.hs
> index af08146..1045de5 100644
> --- a/src/Environment.hs
> +++ b/src/Environment.hs
> @@ -13,9 +13,9 @@ import Data.List (sortOn)
>  import Data.List.Extra (nubOrd)

Re: [PATCH] fix a few warnings 2 months ago

From Ivan Oleynikov to ~ph14nix/public-inbox

>  newState :: Env -> St
> -newState e = St (list ResActivityList (fromList $ e ^. activities) 1) CanvasTime 60
> +newState e = St (list ResActivityList (fromList $ e ^. envActivities) 1) CanvasTime 60

Another comment

Re: [PATCH] fix a few warnings 2 months ago

From Ivan Oleynikov to ~ph14nix/public-inbox

On Tue May 31, 2022 at 4:26 PM MSK, Ivan Oleynikov wrote:
> ---
>  src/Environment.hs |  6 +++---
>  src/Main.hs        |  6 ------
>  src/Render.hs      | 27 ++++++++++-----------------
>  src/State.hs       |  2 +-
>  4 files changed, 14 insertions(+), 27 deletions(-)
>
> diff --git a/src/Environment.hs b/src/Environment.hs
> index af08146..1045de5 100644
> --- a/src/Environment.hs
> +++ b/src/Environment.hs
> @@ -13,9 +13,9 @@ import Data.List (sortOn)
>  import Data.List.Extra (nubOrd)

[PATCH] fix a few warnings 2 months ago

From Ivan Oleynikov to ~ph14nix/public-inbox

---
 src/Environment.hs |  6 +++---
 src/Main.hs        |  6 ------
 src/Render.hs      | 27 ++++++++++-----------------
 src/State.hs       |  2 +-
 4 files changed, 14 insertions(+), 27 deletions(-)

diff --git a/src/Environment.hs b/src/Environment.hs
index af08146..1045de5 100644
--- a/src/Environment.hs
+++ b/src/Environment.hs
@@ -13,9 +13,9 @@ import Data.List (sortOn)
import Data.List.Extra (nubOrd)

[message trimmed]

Re: Test message 2 months ago

From Ivan Oleynikov to ~ph14nix/public-inbox

On Tue May 31, 2022 at 3:50 PM MSK, Ivan Oleynikov wrote:
> What is Lorem Ipsum?
>
> Lorem Ipsum is simply dummy text of the printing and typesetting
> industry. Lorem Ipsum has been the industry's standard dummy text ever
> since the 1500s, when an unknown printer took a galley of type and

Example reply

> scrambled it to make a type specimen book. It has survived not only five
> centuries, but also the leap into electronic typesetting, remaining
> essentially unchanged. It was popularised in the 1960s with the release
> of Letraset sheets containing Lorem Ipsum passages, and more recently
> with desktop publishing software like Aldus PageMaker including versions

Test message 2 months ago

From Ivan Oleynikov to ~ph14nix/public-inbox

What is Lorem Ipsum?

Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text ever
since the 1500s, when an unknown printer took a galley of type and
scrambled it to make a type specimen book. It has survived not only five
centuries, but also the leap into electronic typesetting, remaining
essentially unchanged. It was popularised in the 1960s with the release
of Letraset sheets containing Lorem Ipsum passages, and more recently
with desktop publishing software like Aldus PageMaker including versions
of Lorem Ipsum.

Why do we use it?