GNU bug report logs - #45068
[PATCH] 28.0.50; Update Modus themes 1.0.2 (backward-incompatible)

Previous Next

Package: emacs;

Reported by: Protesilaos Stavrou <info <at> protesilaos.com>

Date: Sun, 6 Dec 2020 12:25:02 UTC

Severity: normal

Tags: patch

Fixed in version 28.1

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Protesilaos Stavrou <info <at> protesilaos.com>
Cc: 45068 <at> debbugs.gnu.org
Subject: bug#45068: [PATCH] Modus themes 1.2.0
Date: Fri, 05 Mar 2021 21:11:33 +0000
>>> +(deftheme modus-vivendi
>>> +  "Accessible and customizable light theme (WCAG AAA standard).
>>                                   ^^^^^
>>                                   dark
>
> [ Answer only if it is easy: how do you draw those ^^^ below the text? ]
>

(defun undercaret (&optional arg)
  (interactive "p")
  (let* ((b (region-beginning))
         (e (region-end))
         (c (save-excursion (goto-char b) (current-column))))
    (when (and (region-active-p)
               (= (line-number-at-pos b) (line-number-at-pos e)))
      (forward-line 1)
      (dotimes (_ c) (insert " "))
      (dotimes (_ (- e b)) (insert "^"))
      (insert "\n")
      (when (/= arg 1)
        (dotimes (_ c) (insert " "))
        (insert "\n"))
      (backward-char))))




This bug report was last modified 4 years and 135 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.