GNU bug report logs -
#23949
25.0.95; Regression in handling error caused by (string-match-p "." nil)
Previous Next
Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>
Date: Mon, 11 Jul 2016 20:13:02 UTC
Severity: normal
Tags: fixed
Merged with 16294,
24166
Found in versions 25.0.95, 24.3.50
Fixed in version 26.1
Done: npostavs <at> users.sourceforge.net
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Tue, Jul 12, 2016 at 3:20 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
> Indeed, it shouldn't, but the question is: what code is responsible
> for that which shouldn't happen? If some package or your own
> customizations cause the debugger to call extra code, and that extra
> code signals an error, then that extra code needs to be fixed, not
> Emacs.
>
It should also be considered that the help-function-arglist error does not
happen on emacs 24.5, using the exact same projectile version.
> > Also concerning is the fact that,
> >
> > - (string-match "." nil) gives the expected error backtrace.
> > - But (string-match-p "." nil) gives the help-function-arglist error.
>
> Sorry, I fail to see the significance of this to the issue at hand.
>
I find the above to be important because both forms give the expected error
backtrace on emacs 24.5. But on emacs 25.x, string-match-p gives the
unintended help-function-arglist error without any backtrace, while
string-match gives the intended error backtrace. The same projectile
advices are in effect for all of these.
> They are two different functions, and we still don't know which
> functions were advised and how.
Projectile is advising the delete-file and compilation-find-file functions.
The full advice definitions were posted in my previous email.
> Perhaps the advice will explain the
> difference. Or perhaps we understand the reason for the difference
> once we get to the bottom of investigating the problem. Either way,
> the efficient method of looking into this problem is to understand
> what are those advices and where do they come from.
--
--
Kaushal Modi
[Message part 2 (text/html, inline)]
This bug report was last modified 8 years and 167 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.