help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How old are Emacs users?


From: Tassilo Horn
Subject: Re: How old are Emacs users?
Date: Tue, 24 Apr 2007 12:49:53 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.98 (gnu/linux)

bojohan+news@dd.chalmers.se (Johan Bockgård) writes:

Hi Johan,

>> than with the three dots emacs appends to the text before. That's
>> simply not eye-catching enough.
>
> (defface selective-display
>   '((((supports (:underline "red")))
>      (:underline "red"))
>     (t
>      (:inverse-video t)))
>   "")
>
> (unless standard-display-table
>   (setq standard-display-table (make-display-table)))
>
> (set-display-table-slot
>  standard-display-table
>  'selective-display
>  (vconcat (mapcar (lambda (c) (make-glyph-code c 'selective-display))
>                 "...")))

Hey, that's nice. I changed the face to

(defface selective-display
  '((default :inverse-video t)
    (((supports :underline "red")) :underline "red"))
  "Face used for fold markers like ...")

to make it really eye-catching. Anyway, a one pixel, dashed line would
look a bit better.

But maybe emacs could add some bitmap between the lines in the fringes
(info "(elisp)Fringes")? Most editors add a plus sign to the border, if
the code is collapsed.

Bye,
Tassilo
-- 
If programmers deserve to  be rewarded for creating innovative programs,
by the same  token they deserve to be punished if  they restrict the use
of these programs. (Richard M. Stallman)


reply via email to

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