From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Milan Zimmermann Newsgroups: gmane.emacs.bugs Subject: bug#59403: 29.0.50; Variable with value starting with dash "-" fails to create Date: Sun, 20 Nov 2022 01:08:17 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f13c2605ede0c5ce" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29806"; mail-complaints-to="usenet@ciao.gmane.io" To: 59403@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 20 07:09:20 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1owdW4-0007af-5W for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Nov 2022 07:09:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owdVo-0000Yh-J3; Sun, 20 Nov 2022 01:09:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owdVm-0000Y1-V6 for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2022 01:09:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1owdVm-0006kH-Ms for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2022 01:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1owdVm-0007it-IJ for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2022 01:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Milan Zimmermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Nov 2022 06:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59403 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166892454029678 (code B ref -1); Sun, 20 Nov 2022 06:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Nov 2022 06:09:00 +0000 Original-Received: from localhost ([127.0.0.1]:42168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owdVj-0007ia-Uc for submit@debbugs.gnu.org; Sun, 20 Nov 2022 01:09:00 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:44240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owdVg-0007iS-Dr for submit@debbugs.gnu.org; Sun, 20 Nov 2022 01:08:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owdVg-0000XW-7d for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2022 01:08:56 -0500 Original-Received: from mail-vs1-xe31.google.com ([2607:f8b0:4864:20::e31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1owdVe-0006j9-4l for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2022 01:08:55 -0500 Original-Received: by mail-vs1-xe31.google.com with SMTP id k67so8474636vsk.2 for ; Sat, 19 Nov 2022 22:08:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Gjwetoa5kjoaXvF4bS7vth3lfUllBQ8zc6plF/Cdaug=; b=X0YJYj1nTzUsyx2qpOk1YQhH1D7+6/msR0qXIWlQRInsFUb9/jUBgQPlUmgGV/Hz6s qtDVvEEGznPiRg9yGQo6V7mWwtaV9jwNyqX80X6XXTDKKhEiKosHAm35r6hap5RVN2FB S4S6zh4dgTJZQfJUm3oDkbXKKBblmpNyoJUjIitP8Ai2yLh9pqfCyEcArxvyBO7RqCBO xf+EGyVE7Y0NTeDM7hIipeZM7aGYze0CArtmK5H6NYngIYxRSMFn+6o8EWESWhbIbYq5 ao+t2duA5R0maNdvBbh9no9s33BIKJ5qZAzKvROnzO2IhlrOfhgrj2nYsovzglML5yE5 XKdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Gjwetoa5kjoaXvF4bS7vth3lfUllBQ8zc6plF/Cdaug=; b=fQ5EMJmRVk5k40rML0fvJt4aRV3As/kiV3dK8YE8yfKNeQ93rZ/edCdxf2Mc1JdZhh r7oxiBgSyLSZmmJ5T5mC5axvm+1b//v1tR0sWPkzOTjEfA2+OBng1jW71ifSNYa4DLIO FfMqIWr84B5eUHhy5qYOKfz1oPhl998/waqsCQu0aa5YbxcGW89S/GSVAeFtzSdaiT40 fbNZRTdkxe0AGemBsyjdWd8hHjpQRpQ8RLdTYHX2QHK1bk9XMD4dkDIOIiGWhjn5wmmj 7HVvAubyycmEIJb7FIq+8cSqNzH/5Gj3oSGFlyFBnjuuQiV2zrhlwZQlbX1ApQjuVM/j +Bsw== X-Gm-Message-State: ANoB5pkB+TD4VdTiD0W9RurVTf9YjheBzUNNHwxmYUkHIzCsjOVH02D8 LzldWAjs+m9qH9QYJIXPuGueB/ck14CG9rfIl7LSIK+QpLQ= X-Google-Smtp-Source: AA0mqf6Ni1BV1H1VIV3L+7Njus8DmN9RxhOeBK4rFcYt8A/Hov5dQtifBmpuiC84hQV0aQkG9gTmrVF0jG0DlmqhCLY= X-Received: by 2002:a05:6102:3c87:b0:3af:a004:d54d with SMTP id c7-20020a0561023c8700b003afa004d54dmr392780vsv.35.1668924532930; Sat, 19 Nov 2022 22:08:52 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::e31; envelope-from=milan.zimmermann@gmail.com; helo=mail-vs1-xe31.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248390 Archived-At: --000000000000f13c2605ede0c5ce Content-Type: text/plain; charset="UTF-8" Actual: ~/dev $ export a="-anything" ~/dev $ echo $a echo: unrecognized option -a ~/dev/ $ echo "$a" echo: unrecognized option -a Expected: ~/dev $ export a="-anything" ~/dev $ echo $a -anything ~/dev/ $ echo "$a" -anything In GNU Emacs 29.0.50 (build 1, x86_64-suse-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) System Description: openSUSE Tumbleweed Configured using: 'configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-build-details --without-pop --with-mailutils --without-hesiod --with-gameuser=:games --with-kerberos --with-kerberos5 --with-file-notification=inotify --with-modules --enable-autodepend --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --localstatedir=/var --sharedstatedir=/var/lib --libexecdir=/usr/libexec --with-file-notification=yes --enable-locallisppath=/usr/share/emacs/29.0.50/site-lisp:/usr/share/emacs/site-lisp --without-x --with-json --without-xim --with-sound --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-rsvg --with-dbus --without-xft --without-gpm --with-pgtk --without-native-compilation --with-toolkit-scroll-bars --with-libotf --with-m17n-flt --with-cairo --without-xwidgets --with-dumping=pdumper 'CFLAGS=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -D_GNU_SOURCE -DGDK_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS' LDFLAGS=-flto=auto' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM GTK3 ZLIB Important settings: value of $LANG: en_CA.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Eshell Minor modes in effect: text-scale-mode: t shell-dirtrack-mode: t eshell-prompt-mode: t eshell-hist-mode: t eshell-pred-mode: t eshell-cmpl-mode: t eshell-proc-mode: t eshell-arg-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-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 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rx time-date face-remap em-unix em-term term disp-table shell subr-x ehelp em-script em-prompt em-ls em-hist em-pred em-glob em-extpipe em-cmpl em-dirs esh-var pcomplete comint ansi-osc ansi-color ring em-basic em-banner em-alias esh-mode eshell esh-cmd generator esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util cus-edit pp cus-start cus-load icons wid-edit cl-loaddefs cl-lib files-x rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-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 nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 79994 8870) (symbols 48 8903 0) (strings 32 24693 2556) (string-bytes 1 733474) (vectors 16 15065) (vector-slots 8 205344 7378) (floats 8 37 35) (intervals 56 1103 0) (buffers 984 11)) --000000000000f13c2605ede0c5ce Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
3D""

= Actual:

~/dev $ export a=3D"-anything"
~/dev $ echo $a<= br>echo: unrecognized option -a
~/dev/ $ echo "$a"
echo: un= recognized option -a

Expected:

~/dev $ export a=3D"-anyt= hing"
~/dev $ echo $a
-anything
~/dev/ $ echo "$a"<= br>-anything





In GNU Emacs 29.0.50 (build 1, x86_64-s= use-linux-gnu, GTK+ Version
3.24.34, cairo version 1.17.6)
System Des= cription: openSUSE Tumbleweed

Configured using:
=C2=A0'config= ure --host=3Dx86_64-suse-linux-gnu --build=3Dx86_64-suse-linux-gnu
=C2= =A0--program-prefix=3D --disable-dependency-tracking --prefix=3D/usr
=C2= =A0--exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/sbin
=C2=A0= --sysconfdir=3D/etc --datadir=3D/usr/share --includedir=3D/usr/include
= =C2=A0--libdir=3D/usr/lib64 --libexecdir=3D/usr/libexec --localstatedir=3D/= var
=C2=A0--sharedstatedir=3D/var/lib --mandir=3D/usr/share/man
=C2= =A0--infodir=3D/usr/share/info --disable-build-details --without-pop
=C2= =A0--with-mailutils --without-hesiod --with-gameuser=3D:games
=C2=A0--wi= th-kerberos --with-kerberos5 --with-file-notification=3Dinotify
=C2=A0--= with-modules --enable-autodepend --prefix=3D/usr
=C2=A0--mandir=3D/usr/s= hare/man --infodir=3D/usr/share/info --datadir=3D/usr/share
=C2=A0--loca= lstatedir=3D/var --sharedstatedir=3D/var/lib
=C2=A0--libexecdir=3D/usr/l= ibexec --with-file-notification=3Dyes
=C2=A0--enable-locallisppath=3D/us= r/share/emacs/29.0.50/site-lisp:/usr/share/emacs/site-lisp
=C2=A0--witho= ut-x --with-json --without-xim --with-sound --with-xpm
=C2=A0--with-jpeg= --with-tiff --with-gif --with-png --with-rsvg --with-dbus
=C2=A0--witho= ut-xft --without-gpm --with-pgtk --without-native-compilation
=C2=A0--wi= th-toolkit-scroll-bars --with-libotf --with-m17n-flt --with-cairo
=C2=A0= --without-xwidgets --with-dumping=3Dpdumper 'CFLAGS=3D-O2 -Wall
=C2= =A0-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D3 -fstack-protector-strong
=C2= =A0-funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection=C2=A0-Werror=3Dreturn-type -flto=3Dauto -D_GNU_SOURCE
=C2=A0-DGDK_DISA= BLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS'
=C2=A0= LDFLAGS=3D-flto=3Dauto'

Configured features:
ACL CAIRO DBUS F= REETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBOTF LI= BSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY
PDUMPER PGTK PNG RSVG= SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS WEBP XIM GTK3 ZL= IB

Important settings:
=C2=A0 value of $LANG: en_CA.UTF-8
=C2= =A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: utf-8-= unix

Major mode: Eshell

Minor modes in effect:
=C2=A0 text= -scale-mode: t
=C2=A0 shell-dirtrack-mode: t
=C2=A0 eshell-prompt-mod= e: t
=C2=A0 eshell-hist-mode: t
=C2=A0 eshell-pred-mode: t
=C2=A0 = eshell-cmpl-mode: t
=C2=A0 eshell-proc-mode: t
=C2=A0 eshell-arg-mode= : t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 show= -paren-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode= : t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-na= me-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mo= de: t
=C2=A0 blink-cursor-mode: t
=C2=A0 line-number-mode: t
=C2= =A0 indent-tabs-mode: t
=C2=A0 transient-mark-mode: t
=C2=A0 auto-com= position-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compressi= on-mode: t

Load-path shadows:
None found.

Features:
(sh= adow sort mail-extr emacsbug message mailcap yank-media puny dired
dired= -loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-= config gnus-util text-property-search mm-decode mm-bodies mm-encode
mail= -parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 = ietf-drums mm-util mail-prsvr mail-utils rx time-date face-remap
em-unix= em-term term disp-table shell subr-x ehelp em-script em-prompt
em-ls em= -hist em-pred em-glob em-extpipe em-cmpl em-dirs esh-var
pcomplete comin= t ansi-osc ansi-color ring em-basic em-banner em-alias
esh-mode eshell e= sh-cmd generator esh-ext esh-opt esh-proc esh-io
esh-arg esh-module esh-= groups esh-util cus-edit pp cus-start cus-load
icons wid-edit cl-loaddef= s cl-lib files-x rmc iso-transl tooltip cconv
eldoc paren electric uniqu= ify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/pgtk-win = pgtk-win term/common-win pgtk-dnd
tool-bar dnd fontset image regexp-opt = fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode r= egister page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select = scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors fra= me minibuffer nadvice seq
simple cl-generic indonesian philippine cham g= eorgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean= japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european e= thiopic indian
cyrillic chinese composite emoji-zwj charscript charprop = case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloa= ded button
loaddefs theme-loaddefs faces cus-face macroexp files window<= br>text-properties overlay sha1 md5 base64 format env code-pages mule
cu= stom widget keymap hashtable-print-readable backquote threads dbusbind
i= notify dynamic-setting system-font-setting font-render-setting cairo
gtk= pgtk lcms2 multi-tty make-network-process emacs)

Memory information= :
((conses 16 79994 8870)
=C2=A0(symbols 48 8903 0)
=C2=A0(strings= 32 24693 2556)
=C2=A0(string-bytes 1 733474)
=C2=A0(vectors 16 15065= )
=C2=A0(vector-slots 8 205344 7378)
=C2=A0(floats 8 37 35)
=C2=A0= (intervals 56 1103 0)
=C2=A0(buffers 984 11))
--000000000000f13c2605ede0c5ce--