unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "T.V Raman" <raman@google.com>
To: raman@google.com
Cc: emacs-devel@gnu.org
Subject: outline-minor-mode: Did something change
Date: Mon, 8 Jan 2024 08:56:59 -0800	[thread overview]
Message-ID: <26012.10587.790219.689275@google.com> (raw)
In-Reply-To: <26011.24661.699319.999221@google.com>


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.

T.V Raman writes:
 > I had addedoutline-minor-mode to my eww setup and defined
 > outline-regexp in eww buffers to be:
 > 
 > "[•0-9]+ "
 > With point at the front of a line like so:
 > 
 > 1 Congressional leaders reach a deal to fund the government, avert a shutdown
 > 
 > (looking-at outline-regexp) returns t.
 > However outline nav commands like outline-next-visible-heading fail,
 > they jump to the end of the buffer; turning on outline-mode gets those
 > working (but of course I dont want to lose eww-mode in eww-buffers:)
 > 
 > --
 > 

-- 

--

--



  parent reply	other threads:[~2024-01-08 16:56 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 [this message]
2024-01-10  7:16   ` Juri Linkov
2024-01-10 15:26     ` T.V Raman
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=26012.10587.790219.689275@google.com \
    --to=raman@google.com \
    --cc=emacs-devel@gnu.org \
    /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).