~grtcdr

Tunis

https://grtcdr.tn

Computer science undergraduate, libre software developer and amateur gardener.

~grtcdr/pub

Last active 3 months ago
View more

Recent activity

Re: [PATCH] Add giornata to awesome.haunt.page 3 months ago

From Taha Aziz Ben Ali to ~filiplajszczak/patches

> Applied, thanks!

And thank you :)

Best regards,
-- 
Aziz

[PATCH] Add giornata to awesome.haunt.page 3 months ago

From Taha Aziz Ben Ali to ~filiplajszczak/patches

Hi Filip,

I spoke with David Thompson on #guile and was told to forward my request
to you with regards to adding a recently published website of mine to
https://awesome.haunt.page.

The project — Giornata — is a really (well, foolishly is the word)
simple journaling system for Emacs.

If it's okay with you, I've taken the liberty of adding the site's
information the README.

Kind regards,
--

Re: Darkman website: how do you do dark/light mode for code blocks? 6 months ago

From Taha Aziz Ben Ali to ~grtcdr/pub

You will have to create your own stylesheet because Org bundles a very
basic stylesheet.  darkman.grtcdr.tn and other sites of mine use a
shared set of stylesheets called Carrara [1].

The idea is to define a color palette, using variables (also referred to
as custom properties), for each value of the prefers-color-scheme [2]
media query [3] rule.

The color values of the palette are defined in color.less [4] and then
bound to their corresponding syntactic element in code.less [5].

1. https://git.sr.ht/~grtcdr/carrara
2. https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
3. https://developer.mozilla.org/en-US/docs/Web/CSS/@media

spacious-padding: tab-bar-mode breakage 6 months ago

From Taha Aziz Ben Ali to ~protesilaos/general-issues

Hi,

I love, love, love spacious padding. Thank you for this gem.

I recently found that spacious-padding-mode breaks the appearance of
tabs, the lower half of tabs and the padding seem to overlap.

I was able to reproduce this with `emacs --quick` with version:

   GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
   cairo version 1.17.8)

using the following snippet:

Re: [PATCH v2] Update denote-journal-extras-keyword type property accordingly 7 months ago

From Taha Aziz Ben Ali to ~protesilaos/denote

I'm not sure what happened, but I seem to have replied in a completely
different thread, sorry about that.

-- 
Aziz

Re: [PATCH v2] Update denote-journal-extras-keyword type property accordingly 7 months ago

From Taha Aziz Ben Ali to ~protesilaos/denote

Hi, thanks for getting back to me!

> Thank you for the patches! I am concerned that the nil option here
> contradicts the intention of this optional feature. We will make it more
> difficult to work with 'denote-journal-extras-new-or-existing-entry' for
> example.

Oh, I didn't realize.

> Can you tell me more about your workflow? Maybe all you need is
> something like this?
>
>     (defun my-denote-no-keywords ()
>       "Sample command to create a new note with keywords."

[PATCH v2] Update denote-journal-extras-keyword type property accordingly 7 months ago

From grtcdr to ~protesilaos/denote

---
 denote-journal-extras.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/denote-journal-extras.el b/denote-journal-extras.el
index d2ca831..6435669 100644
--- a/denote-journal-extras.el
+++ b/denote-journal-extras.el
@@ -57,7 +57,8 @@ the `denote-journal-extras-keyword'."
It is used by `denote-journal-extras-new-entry' to add a keyword
to the newly created file."
  :group 'denote-journal-extras
  :type 'string)
  :type '(choice (const :tag "Do not use a keyword" nil)
[message trimmed]

Re: [PATCH] Recognize use case involving no keywords 7 months ago

From Taha Aziz Ben Ali to ~protesilaos/denote

Hi Prot,

While the previous commit does address the file-naming issue, it 
doesn't remove the resulting empty "keywords" from the front 
matter. What do you think is the preferred approach to handle 
this?

Kind regards,
-- 
Aziz

[PATCH] Recognize use case involving no keywords 7 months ago

From grtcdr to ~protesilaos/denote

This commit makes it so creating a new journal entry when
`denote-journal-extras-keyword' is set to nil does not result in odd filenames
like "DATE--TITLE__.EXTENSION" (note the missing keyword). This way we support
the use case of those who wish to keep their `denote-directory' and
`denote-journal-extras-directory' separate.
---
 denote-journal-extras.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/denote-journal-extras.el b/denote-journal-extras.el
index abdd8a4..d2ca831 100644
--- a/denote-journal-extras.el
+++ b/denote-journal-extras.el
@@ -161,11 +161,11 @@ that covered in the documentation of the `denote' function.  It
[message trimmed]

Re: Fix for activation of darkman-mode in Doom Emacs 8 months ago

From Aziz Benali to ~grtcdr/pub

> thank you for developing darkman.el, I like it!

Hi, I'm really glad to hear that.

> Fortunately, I was able to solve it, by using the following code 
> instead
> for activating darkman-mode:

> ```
> (advice-add 'doom-init-theme-h :override 'darkman-mode)
> ```

I don't really know much about Doom's architecture, just that it's 
very different and that many of its abstractions can, at times,