unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "T.V Raman" <raman@google.com>
To: juri@linkov.net
Cc: raman@google.com, emacs-devel@gnu.org
Subject: Re: outline-minor-mode: Did something change
Date: Wed, 10 Jan 2024 07:26:40 -0800	[thread overview]
Message-ID: <26014.46896.610522.67525@retriever.mtv.corp.google.com> (raw)
In-Reply-To: <86y1cxpxg6.fsf@mail.linkov.net>


Thanks!

Using  headers is the right idea an the regexp is a hack, but sadly
the entire Web is a hack that forgot the meaning of structure a long,
long time ago!

Juri Linkov writes:
 > > Answering my own question after the previous message pointed out the
 > > change in eww:
 > >
 > > Adding
 > > (setq outline-level 'outline-level outline-search-function nil)
 > >
 > > Restored the behavior I lost
 > > but I dont understand how that commit which adding the shr-specific
 > > searcher broke it.
 > 
 > The new function shr-outline-search doesn't use outline-regexp.
 > It searches for the text property 'outline-level' that the function
 > 'shr-heading' puts on HTML headers.  Then it makes outline headings
 > only on the lines with HTML headers.  This is a more reliable way
 > than using a regexp.
 > 
 > However, if you want to make outlines with a specific regexp
 > what you already did is the right way to do this.

-- 



  reply	other threads:[~2024-01-10 15:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-08  2:39 outline-minor-mode: Did something change T.V Raman
2024-01-08  7:12 ` Juri Linkov
2024-01-08 15:42   ` T.V Raman
2024-01-08 16:56 ` T.V Raman
2024-01-10  7:16   ` Juri Linkov
2024-01-10 15:26     ` T.V Raman [this message]
2024-01-10 18:09       ` T.V Raman
2024-01-11  7:03         ` Juri Linkov
2024-01-11 16:36           ` T.V Raman
2024-01-12  7:29             ` Juri Linkov

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=26014.46896.610522.67525@retriever.mtv.corp.google.com \
    --to=raman@google.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).