From: Lars Ingebrigtsen <larsi@gnus.org>
To: Pankaj Jangid <pankaj@codeisgreat.org>
Cc: 43715@debbugs.gnu.org, Dmitry Gutov <dgutov@yandex.ru>
Subject: bug#43715: 28.0.50; Duplicate results in project-find-regexp
Date: Wed, 30 Sep 2020 15:59:10 +0200 [thread overview]
Message-ID: <87lfgr5psh.fsf@gnus.org> (raw)
In-Reply-To: <m2pn63eoj3.fsf@j4d.net> (Pankaj Jangid's message of "Wed, 30 Sep 2020 12:31:36 +0530")
Pankaj Jangid <pankaj@codeisgreat.org> writes:
> I was search a regular expression 'mail' in project ~/.emacs.d. This is
> part of the result,
>
> /Users/pankaj/.emacs.d/lisp/init-email.el
> 1: ;;; init-email.el --- configure Email -*- lexical-binding: t -*-
> 1: ;;; init-email.el --- configure Email -*- lexical-binding: t -*-
> 17: ;; (add-hook 'mail-citation-hook 'sc-cite-original)
> 34: ;; "Fetch email addresses from the email headers."
> 34: ;; "Fetch email addresses from the email headers."
> 42: (provide 'init-email)
> 43: ;;; init-email.el ends here
>
> Notice the duplicate results from line number 1 and 34.
It looks like when there are two matches in the same line, the line is
listed twice? So I tried the same command on the Emacs tree (with
"regexp" as the regexp) and, indeed:
2215: that debugger code that needs to do regexp match won't break
2438: Fix regexp-opt documentation (bug #17862)
2440: * lisp/emacs-lisp/regexp-opt.el (regexp-opt):
2440: * lisp/emacs-lisp/regexp-opt.el (regexp-opt):
So it this a feature or a bug?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2020-09-30 13:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-30 7:01 bug#43715: 28.0.50; Duplicate results in project-find-regexp Pankaj Jangid
2020-09-30 13:59 ` Lars Ingebrigtsen [this message]
2020-09-30 19:25 ` Juri Linkov
2020-09-30 22:52 ` Dmitry Gutov
2020-10-01 1:15 ` Lars Ingebrigtsen
2020-10-01 20:38 ` Dmitry Gutov
2020-10-01 20:39 ` Lars Ingebrigtsen
2020-10-01 21:28 ` Dmitry Gutov
2020-10-01 21:30 ` Dmitry Gutov
2020-10-01 21:38 ` Lars Ingebrigtsen
2020-10-01 21:45 ` Dmitry Gutov
2020-10-02 6:37 ` Eli Zaretskii
2020-10-02 8:52 ` Dmitry Gutov
2020-10-02 9:18 ` Eli Zaretskii
2020-10-02 9:52 ` Eli Zaretskii
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=87lfgr5psh.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=43715@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--cc=pankaj@codeisgreat.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).