[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43715: 28.0.50; Duplicate results in project-find-regexp
From: |
Lars Ingebrigtsen |
Subject: |
bug#43715: 28.0.50; Duplicate results in project-find-regexp |
Date: |
Wed, 30 Sep 2020 15:59:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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