emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 620e35f: Add a new function for separator lines


From: Lars Ingebrigtsen
Subject: Re: master 620e35f: Add a new function for separator lines
Date: Mon, 19 Jul 2021 16:17:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>     Add a new function for separator lines
>
> Any chance this can be extended to the separator line used in
> `log-edit-mode`:
>
>     (defvar log-edit-font-lock-keywords
>       [...]
>          ("^\n"
>           (progn (goto-char (match-end 0)) (1+ (match-end 0))) nil
>           (0 '(face (:height 0.1 :inverse-video t :extend t)
>                display-line-numbers-disable t rear-nonsticky t))))
>       [...]

Hm...  well, the separator-line face could be used, but not the actual
function, I think?

> [ and I guess also to the ones used in shortdoc.el?  ]

Now done.  There's basically more than a couple dozen places in Emacs
that could use this, I think -- anything that's inserting a
(make-string ... ?-) is a candidate for using this.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]