GNU bug report logs - #21477
24.4; Imenu - improper parse of shell function names

Previous Next

Package: emacs;

Reported by: Matthew Persico <mpersico5 <at> bloomberg.net>

Date: Mon, 14 Sep 2015 15:29:02 UTC

Severity: normal

Merged with 52319, 52928, 54265, 56003, 57255, 58554

Found in version 24.4

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Matthew Persico (BLOOMBERG/ 919 3RD A)" <mpersico5 <at> bloomberg.net>
To: schwab <at> linux-m68k.org,    stefan <at> marxist.se
Cc: 21477 <at> debbugs.gnu.org
Subject: bug#21477: 24.4; Imenu - improper parse of shell function names
Date: Thu, 20 Aug 2020 18:42:23 -0000
[Message part 1 (text/plain, inline)]
At a doctors appointment now. Will do so later this evening. 

Sent from Bloomberg Professional for iPhone

----- Original Message -----
From: Stefan Kangas <stefan <at> marxist.se>
To: MATTHEW PERSICO, schwab <at> linux-m68k.org
CC: 21477 <at> debbugs.gnu.org
At: 20-Aug-2020 14:41:27


"Matthew Persico (BLOOMBERG/ 919 3RD A)" <mpersico5 <at> bloomberg.net>
writes:

> I am not sure what is going on here, but I just loaded up this file
> and it parsed just fine.

Which version of Emacs are you using (M-x emacs-version), and could you
show an example of the code where you see the function name highlighted?

> Stefan, it's been a while - can you send me a link to my original bug report?

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21477

> Right.  Well, then adding syntax highlighting here would in a way
> encourage people to write non-POSIX conformant shell code, which even if
> it happens to work in Bash sounds like a bad idea.
>
> So I'm leaning towards closing this bug report as wontfix.
>
> Any other opinions?

I'm still undecided on this point, so other opinions would be welcome.

Perhaps this is something we should support optionally only, so we don't
help unsuspecting users shoot themselves in the foot.

Best regards,
Stefan Kangas
[Message part 2 (text/html, inline)]

This bug report was last modified 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.