unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Li Ian-Xue <b4283@itsuwa.org>
Cc: 21957@debbugs.gnu.org, Juri Linkov <juri@linkov.net>
Subject: bug#21957: 24.5; Make occur search within regions when there is one
Date: Mon, 24 Jan 2022 14:43:28 +0100	[thread overview]
Message-ID: <87sftd6ygv.fsf@gnus.org> (raw)
In-Reply-To: <56500129.9090307@itsuwa.org> (Li Ian-Xue's message of "Sat, 21 Nov 2015 13:29:13 +0800")

Li Ian-Xue <b4283@itsuwa.org> writes:

> Yes, that is what I did when I found out `occur' doesn't do regions. A
> friend of mine suggested
> that a combination of narrowing (C-x n w) and M-s o should do the trick,
> and it did.
>
> Nevertheless still I would still prefer `occur' to accept a regional
> parameter, as it would be much straight forward mode of operation.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

occur now works as requested in the current Emacs version -- it does the
operation on the active region, so I'm closing this bug report.

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





      parent reply	other threads:[~2022-01-24 13:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19  6:39 bug#21957: 24.5; Make occur search within regions when there is one b4283
2015-11-20  0:04 ` Juri Linkov
2015-11-21  5:29   ` Li Ian-Xue
2015-11-22 12:13     ` Artur Malabarba
2015-11-23  0:22       ` Juri Linkov
2015-11-23  0:53         ` Artur Malabarba
2015-11-23  1:29         ` Drew Adams
2022-01-24 13:43     ` Lars Ingebrigtsen [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

  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=87sftd6ygv.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=21957@debbugs.gnu.org \
    --cc=b4283@itsuwa.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).