GNU bug report logs - #50366
28.0.50; Wrong parenthesis mismatch message

Previous Next

Package: emacs;

Reported by: PEDRO ANDRES ARANDA GUTIERREZ <paranda <at> it.uc3m.es>

Date: Sat, 4 Sep 2021 06:27:02 UTC

Severity: normal

Tags: moreinfo, notabug

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50366 in the body.
You can then email your comments to 50366 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#50366; Package emacs. (Sat, 04 Sep 2021 06:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to PEDRO ANDRES ARANDA GUTIERREZ <paranda <at> it.uc3m.es>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 04 Sep 2021 06:27:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: PEDRO ANDRES ARANDA GUTIERREZ <paranda <at> it.uc3m.es>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; Wrong parenthesis mismatch message
Date: Sat, 4 Sep 2021 08:26:33 +0200
[Message part 1 (text/plain, inline)]
Create a 'stupid' bash script file with the shbang only outside emacs
#!/bin/bash
Then type:
prueba=$(echo $PATH | sed 's|/home/paag|$HOME|g')
When you close the parenthesis at the end of the line, you get a
'mismatched parenthesis' error message, when there is no such mismatch


In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,
cairo version 1.16.0)
 of 2021-08-31 built on emacs28
Repository revision: 03dcceeeeeda6cefe4c0a79be328dd44b289b20b
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Ubuntu 20.04.3 LTS

Configured using:
 'configure --prefix=/usr --program-suffix=28 --with-json --with-x
 --with-x-toolkit=gtk3 --with-cairo --with-compress-install
 --with-modules=yes --with-threads --with-included-regex --with-zlib
 --with-native-compilation 'CFLAGS=-g -O2
 -fdebug-prefix-map=/home/paag/emacs=. -fstack-protector-strong -Wformat
 -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'
 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG
SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3
ZLIB

Important settings:
  value of $LC_MONETARY: es_ES.UTF-8
  value of $LC_NUMERIC: es_ES.UTF-8
  value of $LC_TIME: es_ES.UTF-8
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Shell-script

Minor modes in effect:
  sh-electric-here-document-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail
rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json map text-property-search seq byte-opt
gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils time-date subr-x cl-loaddefs
cl-lib sh-script smie executable iso-transl tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 74579 7300)
 (symbols 48 6995 0)
 (strings 32 21514 1829)
 (string-bytes 1 683484)
 (vectors 16 14236)
 (vector-slots 8 311605 13364)
 (floats 8 28 41)
 (intervals 56 292 0)
 (buffers 992 12))


-- 
---
PEDRO ANDRES ARANDA GUTIERREZ
Universidad Carlos III de Madrid

"Fragen sind nicht da um beantwortet zu werden.
Fragen sind da, um gestellt zu werden" Georg Kreisler
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50366; Package emacs. (Sat, 04 Sep 2021 06:47:02 GMT) Full text and rfc822 format available.

Message #8 received at 50366 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: PEDRO ANDRES ARANDA GUTIERREZ <paranda <at> it.uc3m.es>
Cc: 50366 <at> debbugs.gnu.org
Subject: Re: bug#50366: 28.0.50; Wrong parenthesis mismatch message
Date: Sat, 04 Sep 2021 08:45:54 +0200
PEDRO ANDRES ARANDA GUTIERREZ <paranda <at> it.uc3m.es> writes:

> Create a 'stupid' bash script file with the shbang only outside emacs
> #!/bin/bash
> Then type:
> prueba=$(echo $PATH | sed 's|/home/paag|$HOME|g')
> When you close the parenthesis at the end of the line, you get a 'mismatched
> parenthesis' error message, when there is no such mismatch

Hm...  does the script have to be created outside of Emacs?

I tried to reproduce this, but I was unable to (with "emacs -Q") -- if I
have

#!/bin/bash

prueba=$(echo $PATH | sed 's|/home/paag|$HOME|g'

and then type a ) at the end of that line, I don't get a mismatch
message.  Are there any additional steps necessary to reproduce the
problem?

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




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 04 Sep 2021 06:47:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50366; Package emacs. (Sun, 05 Sep 2021 07:38:01 GMT) Full text and rfc822 format available.

Message #13 received at 50366 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: PEDRO ANDRES ARANDA GUTIERREZ <paranda <at> it.uc3m.es>
Cc: 50366 <at> debbugs.gnu.org
Subject: Re: bug#50366: 28.0.50; Wrong parenthesis mismatch message
Date: Sun, 05 Sep 2021 09:37:18 +0200
PEDRO ANDRES ARANDA GUTIERREZ <paranda <at> it.uc3m.es> writes:

> Hi Lars,
> me again. This discrepancy has made me recompile emacs (once again ;-) )
> and yes, 
> commit 76300b87d472354507a872fa84709df9d5d4a59b seems to this
> fixed. I had the bug in the queue
> and should have recompiled, but you know what it looks like when you take
> your holidays
> seriously and have a nice backlog 
>
> So pls, close the bug,

OK; closing the bug, then.





Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 05 Sep 2021 07:38:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 50366 <at> debbugs.gnu.org and PEDRO ANDRES ARANDA GUTIERREZ <paranda <at> it.uc3m.es> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 05 Sep 2021 07:38:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 03 Oct 2021 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 205 days ago.

Previous Next


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