From: Juri Linkov <juri@linkov.net>
To: Yilkal Argaw <yilkalargawworkneh@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: [PATCH] add outline-regexp for woman.el
Date: Tue, 20 Dec 2022 10:37:37 +0200 [thread overview]
Message-ID: <86h6xqo4ha.fsf@mail.linkov.net> (raw)
In-Reply-To: <CAJddU=r3HXxMonyYSwkaS_N=hAqqUDqMyHQnSr840Asha7Bakw@mail.gmail.com> (Yilkal Argaw's message of "Tue, 20 Dec 2022 05:28:05 +0000")
> This is a simple patch to add outline-regexp in woman.el to enable folding
> using outline-minor-mode.
Thanks.
> diff --git a/lisp/woman.el b/lisp/woman.el
> index 2b456fed3c..b2d73b71f3 100644
> --- a/lisp/woman.el
> +++ b/lisp/woman.el
> @@ -4576,6 +4576,7 @@ woman-bookmark-jump
>
> (put 'woman-bookmark-jump 'bookmark-handler-type "WoMan")
>
> +(setq-local outline-regexp "^[A-Z]+")
> (defvar woman-version "0.551 (beta)" "WoMan version information.")
> (make-obsolete-variable 'woman-version 'emacs-version "28.1")
This will change the value in a random buffer that was current
when woman.el was loaded. Please see how outline-regexp
is defined in man.el.
Also please send patches to bug-gnu-emacs@gnu.org
prev parent reply other threads:[~2022-12-20 8:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-20 5:28 [PATCH] add outline-regexp for woman.el Yilkal Argaw
2022-12-20 8:37 ` Juri Linkov [this message]
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=86h6xqo4ha.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=emacs-devel@gnu.org \
--cc=yilkalargawworkneh@gmail.com \
/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.