all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Tweaking the output of `C-h b'
Date: Sun, 31 Oct 2021 21:44:02 +0100	[thread overview]
Message-ID: <87r1c0x6ul.fsf@gnus.org> (raw)
In-Reply-To: <jwvwnlths0s.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 31 Oct 2021 16:13:37 -0400")

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

>> Yes, that'd be nice.  Perhaps with a user option to toggle between
>> classic "..." outlining and triangles?
>
> I don't see we can't have both,

Why not indeed.

Looking at outline-minor-mode, it just uses the standard Emacs
invisibility thing, so it just applies text properties without altering
the text of the buffer, which is nice.  What's the best way to add some
buttons, then?  Zero-length overlays with display/local-map properties
at the start of the line?  No, doesn't seem to work...

An overlay covering the first character, and then repeating the first
char as the last element in the display property?  Yes, that's seems to
work.

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



  reply	other threads:[~2021-10-31 20:44 UTC|newest]

Thread overview: 99+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-31 18:18 Tweaking the output of `C-h b' Lars Ingebrigtsen
2021-10-31 18:28 ` Eric Abrahamsen
2021-10-31 18:34 ` Andreas Schwab
2021-10-31 18:36 ` Eli Zaretskii
2021-10-31 18:41   ` Eli Zaretskii
     [not found]     ` <878ry9x95c.fsf@gnus.org>
2021-10-31 20:05       ` Eli Zaretskii
2021-10-31 19:21 ` Stefan Monnier
     [not found]   ` <87h7cxx9bh.fsf@gnus.org>
2021-10-31 20:05     ` Stefan Monnier
2021-10-31 20:09       ` Lars Ingebrigtsen
2021-10-31 20:13         ` Stefan Monnier
2021-10-31 20:44           ` Lars Ingebrigtsen [this message]
2021-10-31 20:48             ` Stefan Monnier
2021-10-31 21:19               ` Lars Ingebrigtsen
2021-10-31 21:27                 ` Stefan Monnier
2021-10-31 22:16                   ` Lars Ingebrigtsen
2021-10-31 22:55                     ` Kévin Le Gouguec
2021-10-31 23:10                       ` Lars Ingebrigtsen
2021-11-01 10:21                         ` Kévin Le Gouguec
2021-11-01 14:23                           ` Lars Ingebrigtsen
2021-11-04 18:37                       ` Juri Linkov
2021-11-01 12:24                     ` Eli Zaretskii
2021-11-01 14:27                       ` Lars Ingebrigtsen
2021-11-01 14:39                         ` Eli Zaretskii
2021-11-01 12:52                     ` Andreas Schwab
2021-11-04 17:06                       ` Lars Ingebrigtsen
2021-10-31 20:42         ` Kévin Le Gouguec
2021-10-31 20:52           ` Stefan Monnier
2021-11-01  3:22           ` Eli Zaretskii
2021-11-01  9:47             ` Kévin Le Gouguec
2021-11-01 12:41               ` Eli Zaretskii
2021-11-01 14:26                 ` Kévin Le Gouguec
2021-11-01 14:38                   ` Eli Zaretskii
2021-10-31 20:15       ` Lars Ingebrigtsen
2021-10-31 20:24         ` Lars Ingebrigtsen
2021-11-01  0:32           ` Lars Ingebrigtsen
2021-11-01  0:50             ` Lars Ingebrigtsen
2021-11-01  1:41               ` Stefan Kangas
2021-11-01  2:24                 ` Lars Ingebrigtsen
2021-11-01  4:55                   ` Stefan Kangas
2021-11-01 14:20                     ` Lars Ingebrigtsen
2021-11-01 13:34                   ` T.V Raman
2021-11-01 13:45                     ` Po Lu
2021-11-01 14:28                     ` Lars Ingebrigtsen
2021-11-01 17:47                       ` T.V Raman
2021-11-01 17:52                         ` Lars Ingebrigtsen
2021-11-01  2:37                 ` Po Lu
2021-11-01  4:39                   ` Stefan Kangas
2021-11-01  5:26                     ` Po Lu
2021-11-01 11:55                       ` Stefan Monnier
2021-11-01 11:58                         ` Po Lu
2021-11-01 12:33                       ` Eli Zaretskii
2021-11-01 12:46                         ` Po Lu
2021-11-01 13:28                           ` Eli Zaretskii
2021-11-01 13:43                             ` Po Lu
2021-11-01 14:35                               ` Eli Zaretskii
2021-11-02  1:11                                 ` Po Lu
2021-11-02  1:39                                   ` Lars Ingebrigtsen
2021-11-02  1:55                                     ` Po Lu
2021-11-02  2:02                                       ` Lars Ingebrigtsen
2021-11-02  2:05                                         ` Po Lu
2021-11-02  2:10                                           ` Lars Ingebrigtsen
2021-11-02  2:18                                             ` Po Lu
2021-11-02 14:56                                               ` Lars Ingebrigtsen
2021-11-02  2:37                                             ` Stefan Monnier
2021-11-02 14:10                                               ` Stefan Kangas
2021-11-02 14:30                                                 ` Lars Ingebrigtsen
2021-11-04 18:34                                                   ` Juri Linkov
2021-11-04 19:41                                                     ` Stefan Kangas
2021-11-01 18:00                             ` Stefan Monnier
2021-11-01 17:12                         ` Matthias Meulien
2021-11-01 17:17                           ` Eli Zaretskii
2021-11-01 17:20                             ` Lars Ingebrigtsen
2021-11-01 17:23                               ` Eli Zaretskii
2021-11-01 17:27                                 ` Lars Ingebrigtsen
2021-11-01 18:18                                   ` Stefan Monnier
2021-11-01 18:51                                     ` Lars Ingebrigtsen
2021-11-01 22:03                                   ` Matthias Meulien
2021-11-01 21:55                             ` Matthias Meulien
2021-11-02 13:11                               ` Eli Zaretskii
2021-11-02 14:11                                 ` Stefan Kangas
2021-11-01 11:00                     ` Kévin Le Gouguec
2021-11-01 14:13                       ` Lars Ingebrigtsen
2021-11-01 23:41                         ` Stefan Kangas
2021-11-01 23:50                           ` Lars Ingebrigtsen
2021-11-01 23:59                             ` Stefan Kangas
2021-11-02  2:04                               ` Lars Ingebrigtsen
2021-11-02 14:11                                 ` Stefan Kangas
2021-11-02 14:32                                   ` Lars Ingebrigtsen
2021-11-01 14:01                     ` Lars Ingebrigtsen
2021-11-01 14:48                       ` Customize SVG icons (was: Tweaking the output of `C-h b') Kévin Le Gouguec
2021-11-01 16:36                         ` Yuri Khan
2021-11-01 17:58                         ` Customize SVG icons Kévin Le Gouguec
2021-11-01 14:09                   ` Tweaking the output of `C-h b' Lars Ingebrigtsen
2021-11-01 12:29                 ` Eli Zaretskii
2021-11-01 15:11                 ` Lars Ingebrigtsen
2021-11-01  1:24             ` Stefan Kangas
2021-10-31 19:22 ` Stefan Kangas
2021-10-31 20:51   ` Howard Melman
2021-10-31 21:32 ` Gregory Heytings

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r1c0x6ul.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.