From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 26 04:56:18 2021 Received: (at submit) by debbugs.gnu.org; 26 Apr 2021 08:56:18 +0000 Received: from localhost ([127.0.0.1]:44452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lax2P-0001qx-Lj for submit@debbugs.gnu.org; Mon, 26 Apr 2021 04:56:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:60684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lax2M-0001qo-Qs for submit@debbugs.gnu.org; Mon, 26 Apr 2021 04:56:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lax2M-0003ph-Il for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2021 04:56:14 -0400 Received: from mout1.freenet.de ([2001:748:100:40::2:3]:34028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1lax2I-0003el-GG for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2021 04:56:14 -0400 Received: from [195.4.92.121] (helo=sub2.freenet.de) by mout1.freenet.de with esmtpa (ID markusffm@fn.de) (port 25) (Exim 4.92 #3) id 1lax2C-0004Fd-KO for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2021 10:56:04 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fn.de; s=mjaymdexmjqk; h=To:Reply-To:From:Subject:Content-Type:Message-Id:Date: MIME-Version:Sender:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nRdyWavmBxkAE9HiMubP8MasyiZGtvNmDP7vTU8GhgM=; b=HYlWdSkPFxxnJT06jsuFWpLqq7 fvu+xUpeqHQ+78lPSt+4MLBUcSzB96zB3aqirfSJGoZbkxDJGgUfxggUDUc/c4LzBsZda7sCJmFyJ qX9N7OanktMjYistUpnon+kCL+9QMdq1HD+Cgilw8qe/wGISr6HeKZEwv9bZnyknMtdqNr/boSlhp 0AMZMBBsudzMV2YvmVgz8T8i7AM2aqEiK5AGNQx4PfPIBaepVjL7gx/x06hc9XpKuAa0aqO+o0Vk+ gv2CfKnend+2755onY+uiVsvNbDHgBgDUVfa6RUoankq9UPmhT6VXiDj8MVIuW8YkPw++SCzpQAKM aMZ0GGQQ==; Received: from api04.emo.freenet-rz.de ([194.97.107.169]:29402 helo=api04) by sub2.freenet.de with esmtpsa (ID markusffm@fn.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.92 #3) id 1lax2C-0002b8-I1 for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2021 10:56:04 +0200 X-Abuse: 000000 / 84.149.189.5 X-Originated-At: 84.149.189.5!1234 User-Agent: freenet-api2 MIME-Version: 1.0 Date: Mon, 26 Apr 2021 08:56:04 GMT Message-Id: <8ff0f114e95d3119ecdddc04e474dbb9@api.mail.freenet.de> Content-Type: multipart/alternative; boundary="------------020508060601080306090701" X-Priority: 3 Subject: 28.0.50; syntax evaluation in strings From: markusffm@fn.de To: bug-gnu-emacs@gnu.org X-FNSign: v=2 s=BC4200D8C7EA79CDB8C594DA92DD93A210E9C00D297ED931BC2A69DA4CCE5CE4 X-Scan-TS: Mon, 26 Apr 2021 10:56:04 +0200 Received-SPF: pass client-ip=2001:748:100:40::2:3; envelope-from=prvs=075000f9fd=markusffm@fn.de; helo=mout1.freenet.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: markusffm@fn.de Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --------------020508060601080306090701 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8; format=flowed defining a function:=0A(defun xxx-insert()=0A "anyth= ing" =0A (interactive)=0A (insert "# Local Variables:\n")=0A (insert "# mod= e: org\n")=0A (insert "# End:\n")=0A )=0Awill cause Emacs to disregard the = Emacs-lisp-mode after re-opening the file, hence no syntax=0Aevaluation any= more=0AChanging (insert "# Local Variables:\n") to (insert "# Local Bariabl= es:\n") will 'solve' the problem.=0ANote: exactly the same behaviour invoki= ng emacs with -Q=0A=0AIn GNU Emacs 28.0.50 (build 58, x86_64-pc-linux-gnu, = GTK+ Version 3.24.28, cairo version 1.16.0)=0A of 2021-04-26 built on XYZ= =0ARepository revision: 50f29f6a282b7426377be5fb54322fc5b5a487fc=0AReposito= ry branch: master=0AWindowing system distributor 'Fedora Project', version = 11.0.12011000=0ASystem Description: Fedora 33 (Thirty Three)=0AConfigured u= sing:=0A 'configure --prefix=3D/opt/emacs --sysconfdir=3D/etc=0A --enable-l= ocallisppath=3D/usr/local/share/emacs/site-lisp=0A --libexecdir=3D/opt/emac= s/lib/ --localstatedir=3D/usr/local/var=0A --enable-largefile --with-x-tool= kit=3Dgtk3 --with-modules --with-xwidgets=0A --without-pop --without-selinu= x --without-gnutls=0A --with-file-notification=3Dyes --with-json --with-cai= ro=0A 'CFLAGS=3D-march=3Dnative -Os''=0AConfigured features:=0AACL CAIRO DB= US FREETYPE GIF GLIB GMP GPM GSETTINGS HARFBUZZ JPEG JSON=0ALIBOTF LIBSYSTE= MD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG=0ARSVG SECCOMP SOUND= THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM=0AXWIDGETS GTK3 ZLIB=0AI= mportant settings:=0A value of $LANG: en_US.utf8=0A value of $XMODIFIERS: @= im=3Dnone=0A locale-coding-system: utf-8-unix=0AMajor mode: ELisp/d=0AMinor= modes in effect:=0A show-paren-mode: t=0A recentf-mode: t=0A desktop-save-= mode: 1=0A global-hl-line-mode: t=0A hl-line-mode: t=0A delete-selection-mo= de: t=0A cua-mode: t=0A flymake-mode: t=0A savehist-mode: t=0A global-auto-= revert-mode: t=0A auto-insert-mode: t=0A tabbar-mwheel-mode: t=0A tabbar-mo= de: t=0A smooth-scroll-mode: t=0A auto-complete-mode: t=0A global-undo-tree= -mode: t=0A undo-tree-mode: t=0A save-place-mode: t=0A tooltip-mode: t=0A g= lobal-eldoc-mode: t=0A eldoc-mode: t=0A electric-quote-mode: t=0A electric-= indent-mode: t=0A mouse-wheel-mode: t=0A tool-bar-mode: t=0A global-prettif= y-symbols-mode: t=0A menu-bar-mode: t=0A file-name-shadow-mode: t=0A global= -font-lock-mode: t=0A font-lock-mode: t=0A blink-cursor-mode: t=0A auto-com= position-mode: t=0A auto-encryption-mode: t=0A auto-compression-mode: t=0A = size-indication-mode: t=0A column-number-mode: t=0A line-number-mode: t=0A = global-visual-line-mode: t=0A visual-line-mode: t=0A transient-mark-mode: t= =0ALoad-path shadows:=0ANone found.=0AFeatures:=0A(shadow sort mail-extr em= acsbug sendmail ol-eww eww xdg url-queue mm-url=0Aol-rmail ol-mhe ol-irc ol= -info ol-gnus nnselect gnus-search eieio-opt=0Aspeedbar ezimage dframe gnus= -art mm-uu mml2015 mm-view mml-smime smime=0Adig gnus-sum shr kinsoku svg d= om browse-url gnus-group gnus-undo=0Agnus-start gnus-dbus dbus xml gnus-clo= ud nnimap nnmail mail-source utf7=0Anetrc nnoo parse-time gnus-spec gnus-in= t gnus-range message rmc puny=0Arfc822 mml mml-sec epa epg epg-config mm-de= code mm-bodies mm-encode=0Amail-parse rfc2231 mailabbrev gmm-utils mailhead= er gnus-win gnus=0Annheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 = ietf-drums=0Amail-utils mm-util mail-prsvr ol-docview doc-view jka-compr im= age-mode=0Aexif dired-sort-menu dired dired-loaddefs ol-bibtex bibtex iso86= 01=0Aol-bbdb ol-w3m pp default-daemon server executable cl-extra misearch= =0Amulti-isearch cursor-sensor ffap checkdoc lisp-mnt help-mode=0Auser-prof= ile default-gnus contrib/chartables powerline=0Apowerline-separators powerl= ine-themes default-profile default-ui paren=0Aman recentf vc-dispatcher vc-= svn desktop frameset avoid hl-line=0Adefault-faces default-keymap delsel cu= a-base facemenu default-run=0Adefault-restart default-modes default-platfor= m default-unix=0Adefault-flymake default-flymake-go default-flymake-csharp= =0Adefault-flymake-ruby default-flymake-js default-flymake-py=0Adefault-fly= make-java default-flymake-shell flymake-proc flymake compile=0Atext-propert= y-search warnings default-run-assoc run-assoc default-tempo=0Adefault-tempo= -rexx default-tempo-sh default-tempo-pas default-tempo-js=0Adefault-tempo-j= ava default-tempo-perl default-tempo-elisp=0Adefault-tempo-c-cpp default-me= nu default-help default-options=0Adefault-tools default-search default-form= at default-view=0Aaquamacs-cmm-menu default-edit default-file default-gener= ic savehist=0Aautorevert filenotify autoinsert default-functions default-au= toload=0Anf-procmail-mode ox-man ox-odt rng-loc rng-uri rng-parse rng-match= =0Arng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util= =0Aox-latex ox-icalendar ox-html table ox-ascii ox-publish ox org-element= =0Aorg ob ob-tangle ob-ref ob-lob ob-table org-macro org-footnote org-src= =0Aob-comint org-pcomplete pcomplete comint ansi-color ring org-list=0Aorg-= faces org-entities time-date org-version ob-emacs-lisp org-table=0Aorg-keys= org-loaddefs find-func cal-menu calendar cal-loaddefs avl-tree=0Agenerator= ol ob-exp ob-core org-compat ob-eval org-macs format-spec=0Amarkdown-mode = rx thingatpt noutline outline easy-mmode jison-mode=0Abison-mode cc-mode cc= -fonts cc-guess cc-menus cc-cmds cc-styles cc-align=0Acc-engine cc-vars cc-= defs flex-mode derived aquamacs-tabbar cus-load=0Aaquamacs-tools tabbar res= tore-last-frame-size org-bullets syslog-mode=0Ahide-lines web-mode disp-tab= le vimrc-mode go-autocomplete=0Ago-mode-autoloads neotree advice smooth-scr= oll aok fill-column-indicator=0Atempbuf auto-complete-config auto-complete = edmacro kmacro undo-tree diff=0Amulti-shell windata tree-mode tree-widget w= id-edit imenu imenu-tree=0Atempo saveplace google-translate google-translat= e-default-ui=0Agoogle-translate-core-ui color popup ido google-translate-co= re=0Agoogle-translate-tk google-translate-backend url url-proxy url-privacy= =0Aurl-expand url-methods url-history url-cookie url-domsuf url-util=0Aurl-= parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs=0Apassword= -cache url-vars mailcap cl-loaddefs cl-lib json subr-x map seq=0Abyte-opt g= v bytecomp byte-compile cconv eol-conversion default-path=0Aiso-transl tool= tip eldoc electric uniquify ediff-hook vc-hooks=0Alisp-float-type mwheel te= rm/x-win x-win term/common-win x-dnd tool-bar=0Adnd fontset image regexp-op= t fringe tabulated-list replace newcomment=0Atext-mode elisp-mode lisp-mode= prog-mode register page tab-bar menu-bar=0Arfn-eshadow isearch easymenu ti= mer select scroll-bar mouse jit-lock=0Afont-lock syntax font-core term/tty-= colors frame minibuffer cl-generic=0Acham georgian utf-8-lang misc-lang vie= tnamese tibetan thai tai-viet lao=0Akorean japanese eucjp-ms cp51932 hebrew= greek romanian slovak czech=0Aeuropean ethiopic indian cyrillic chinese co= mposite charscript charprop=0Acase-table epa-hook jka-cmpr-hook help simple= abbrev obarray=0Acl-preloaded nadvice button loaddefs faces cus-face macro= exp files=0Awindow text-properties overlay sha1 md5 base64 format env code-= pages=0Amule custom widget hashtable-print-readable backquote threads=0Axwi= dget-internal dbusbind inotify dynamic-setting system-font-setting=0Afont-r= ender-setting cairo move-toolbar gtk x-toolkit x multi-tty=0Amake-network-p= rocess emacs)=0AMemory information:=0A((conses 16 327973 299086)=0A (symbol= s 48 32950 2)=0A (strings 32 117560 25908)=0A (string-bytes 1 4009819)=0A (= vectors 16 61069)=0A (vector-slots 8 1342703 309626)=0A (floats 8 464 2216)= =0A (intervals 56 813 716)=0A (buffers 992 16)) =0A=0A=0A --------------020508060601080306090701 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

defining a = function:
(defun xxx-insert()
"anything"
(interactive) (insert "# Local Variables:\n")
(insert "# mode: org\n")
(i= nsert "# End:\n")
)
will cause Emacs to disregard the Emacs-lisp= -mode after re-opening the file, hence no syntax
evaluation anymoreChanging (insert "# Local Variables:\n") to (insert "# Local Bariables:\= n") will 'solve' the problem.

=0A

Note: exactly the same behaviour inv= oking emacs with -Q

=0A


In GNU Emacs 28.0.50 (build 58, x86_64-p= c-linux-gnu, GTK+ Version 3.24.28, cairo version 1.16.0)
of 2021-04-2= 6 built on XYZ
Repository revision: 50f29f6a282b7426377be5fb54322fc5b5= a487fc
Repository branch: master
Windowing system distributor 'Fe= dora Project', version 11.0.12011000
System Description: Fedora 33 (Th= irty Three)

=0A

Configured using:
'configure --prefix=3D/opt/ema= cs --sysconfdir=3D/etc
--enable-locallisppath=3D/usr/local/share/emac= s/site-lisp
--libexecdir=3D/opt/emacs/lib/ --localstatedir=3D/usr/loc= al/var
--enable-largefile --with-x-toolkit=3Dgtk3 --with-modules --wi= th-xwidgets
--without-pop --without-selinux --without-gnutls
--= with-file-notification=3Dyes --with-json --with-cairo
'CFLAGS=3D-marc= h=3Dnative -Os''

=0A

Configured features:
ACL CAIRO DBUS FREETYPE= GIF GLIB GMP GPM GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSYSTEMD LIBXM= L2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG
RSVG SECCOMP SOUND THRE= ADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM
XWIDGETS GTK3 ZLIB

= =0A

Important settings:
value of $LANG: en_US.utf8
value of $= XMODIFIERS: @im=3Dnone
locale-coding-system: utf-8-unix

=0A

Majo= r mode: ELisp/d

=0A

Minor modes in effect:
show-paren-mode: t recentf-mode: t
desktop-save-mode: 1
global-hl-line-mode: t=
hl-line-mode: t
delete-selection-mode: t
cua-mode: t
flymake-mode: t
savehist-mode: t
global-auto-revert-mode: t<= br /> auto-insert-mode: t
tabbar-mwheel-mode: t
tabbar-mode: t<= br /> smooth-scroll-mode: t
auto-complete-mode: t
global-undo-t= ree-mode: t
undo-tree-mode: t
save-place-mode: t
tooltip-= mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-quote= -mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool= -bar-mode: t
global-prettify-symbols-mode: t
menu-bar-mode: t file-name-shadow-mode: t
global-font-lock-mode: t
font-loc= k-mode: t
blink-cursor-mode: t
auto-composition-mode: t
a= uto-encryption-mode: t
auto-compression-mode: t
size-indication= -mode: t
column-number-mode: t
line-number-mode: t
global= -visual-line-mode: t
visual-line-mode: t
transient-mark-mode: t=

=0A

Load-path shadows:
None found.

=0A

Features:
(shad= ow sort mail-extr emacsbug sendmail ol-eww eww xdg url-queue mm-url
ol= -rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt
sp= eedbar ezimage dframe gnus-art mm-uu mml2015 mm-view mml-smime smime
d= ig gnus-sum shr kinsoku svg dom browse-url gnus-group gnus-undo
gnus-s= tart gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7
netr= c nnoo parse-time gnus-spec gnus-int gnus-range message rmc puny
rfc82= 2 mml mml-sec epa epg epg-config mm-decode mm-bodies mm-encode
mail-pa= rse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus
nnheader gnu= s-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums
mail-utils mm-u= til mail-prsvr ol-docview doc-view jka-compr image-mode
exif dired-sor= t-menu dired dired-loaddefs ol-bibtex bibtex iso8601
ol-bbdb ol-w3m pp= default-daemon server executable cl-extra misearch
multi-isearch curs= or-sensor ffap checkdoc lisp-mnt help-mode
user-profile default-gnus c= ontrib/chartables powerline
powerline-separators powerline-themes defa= ult-profile default-ui paren
man recentf vc-dispatcher vc-svn desktop = frameset avoid hl-line
default-faces default-keymap delsel cua-base fa= cemenu default-run
default-restart default-modes default-platform defa= ult-unix
default-flymake default-flymake-go default-flymake-csharp
default-flymake-ruby default-flymake-js default-flymake-py
default-f= lymake-java default-flymake-shell flymake-proc flymake compile
text-pr= operty-search warnings default-run-assoc run-assoc default-tempo
defau= lt-tempo-rexx default-tempo-sh default-tempo-pas default-tempo-js
defa= ult-tempo-java default-tempo-perl default-tempo-elisp
default-tempo-c-= cpp default-menu default-help default-options
default-tools default-se= arch default-format default-view
aquamacs-cmm-menu default-edit defaul= t-file default-generic savehist
autorevert filenotify autoinsert defau= lt-functions default-autoload
nf-procmail-mode ox-man ox-odt rng-loc r= ng-uri rng-parse rng-match
rng-dt rng-util rng-pttrn nxml-parse nxml-n= s nxml-enc xmltok nxml-util
ox-latex ox-icalendar ox-html table ox-asc= ii ox-publish ox org-element
org ob ob-tangle ob-ref ob-lob ob-table o= rg-macro org-footnote org-src
ob-comint org-pcomplete pcomplete comint= ansi-color ring org-list
org-faces org-entities time-date org-version= ob-emacs-lisp org-table
org-keys org-loaddefs find-func cal-menu cale= ndar cal-loaddefs avl-tree
generator ol ob-exp ob-core org-compat ob-e= val org-macs format-spec
markdown-mode rx thingatpt noutline outline e= asy-mmode jison-mode
bison-mode cc-mode cc-fonts cc-guess cc-menus cc-= cmds cc-styles cc-align
cc-engine cc-vars cc-defs flex-mode derived aq= uamacs-tabbar cus-load
aquamacs-tools tabbar restore-last-frame-size o= rg-bullets syslog-mode
hide-lines web-mode disp-table vimrc-mode go-au= tocomplete
go-mode-autoloads neotree advice smooth-scroll aok fill-col= umn-indicator
tempbuf auto-complete-config auto-complete edmacro kmacr= o undo-tree diff
multi-shell windata tree-mode tree-widget wid-edit im= enu imenu-tree
tempo saveplace google-translate google-translate-defau= lt-ui
google-translate-core-ui color popup ido google-translate-coregoogle-translate-tk google-translate-backend url url-proxy url-privacy<= br />url-expand url-methods url-history url-cookie url-domsuf url-util
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
= password-cache url-vars mailcap cl-loaddefs cl-lib json subr-x map seq
byte-opt gv bytecomp byte-compile cconv eol-conversion default-path
i= so-transl tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-flo= at-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fon= tset image regexp-opt fringe tabulated-list replace newcomment
text-mo= de elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-e= shadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lo= ck syntax font-core term/tty-colors frame minibuffer cl-generic
cham g= eorgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
kore= an japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
europe= an 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-prop= erties overlay sha1 md5 base64 format env code-pages
mule custom widge= t hashtable-print-readable backquote threads
xwidget-internal dbusbind= inotify dynamic-setting system-font-setting
font-render-setting cairo= move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)=0A

Memory information:
((conses 16 327973 299086)
(symbols 4= 8 32950 2)
(strings 32 117560 25908)
(string-bytes 1 4009819) (vectors 16 61069)
(vector-slots 8 1342703 309626)
(floats= 8 464 2216)
(intervals 56 813 716)
(buffers 992 16))



=0A --------------020508060601080306090701-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 26 05:20:15 2021 Received: (at 48030) by debbugs.gnu.org; 26 Apr 2021 09:20:15 +0000 Received: from localhost ([127.0.0.1]:44519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laxPa-0002TO-TN for submit@debbugs.gnu.org; Mon, 26 Apr 2021 05:20:15 -0400 Received: from heytings.org ([95.142.160.155]:53710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laxPY-0002TC-St for 48030@debbugs.gnu.org; Mon, 26 Apr 2021 05:20:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1619428811; bh=lebtcnmKnFVWXsMbqWSOc+QMBPVuy2FJSuNXYdgUl5c=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=lcl2QCBMca5ESkrsLPoykThhIklgTfFP4HIqz9eCAWPvAKSuK4ThrdrrWScX965Rk lSyFLvmAeNySsSCwMG8vkVva7OqD+VP+vmwlERNBgwboSnMganMirdUL70OFU39Y9W IWNtB2/aDSDOA1qKr1Haa38fPUpmswwBuoJPWOG34B2WJcA6G8LRujlvyOnUz4CFZQ Slc0HeM5nG9BsFf57P9FjC6xArA3qFukgX1EnWOvXE73C2dOw2C3c+J9UlQ2lhRcxF bgIfRoRZdXETItuYX2y1CdAhd5Sqkf2Uclmsp6enzTIkY5WOmA5OESEc35QyvFaJft Xa9Fgd55cqelg== Date: Mon, 26 Apr 2021 09:20:09 +0000 From: Gregory Heytings To: markusffm@fn.de Subject: Re: bug#48030: 28.0.50; syntax evaluation in strings In-Reply-To: <8ff0f114e95d3119ecdddc04e474dbb9@api.mail.freenet.de> Message-ID: <770e3441228cb3a50883@heytings.org> References: <8ff0f114e95d3119ecdddc04e474dbb9@api.mail.freenet.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 48030 Cc: 48030@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > > defining a function: > (defun xxx-insert() > "anything" > (interactive) > (insert "# Local Variables:\n") > (insert "# mode: org\n") > (insert "# End:\n") > ) > will cause Emacs to disregard the Emacs-lisp-mode after re-opening the > file, hence no syntax evaluation anymore Changing (insert "# Local > Variables:\n") to (insert "# Local Bariables:\n") will 'solve' the > problem. > Thanks for your bug report. As far as I can see, this is not a bug, when enable-local-variables is t (the default), Emacs searches for the the string "Local Variables" string near the end of the buffer, and interprets what follows as file-local variable settings. This is not what you want if "Local Variables" is inside a literal string, but detecting that specific case would be cumbersome I think. I would suggest that you replace (insert "# Local Variables:\n") by (insert "# Local " "Variables:\n"), with two additional quotation marks between Local and Variables. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 00:10:44 2021 Received: (at 48030) by debbugs.gnu.org; 27 Apr 2021 04:10:44 +0000 Received: from localhost ([127.0.0.1]:47700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbF3c-000480-7c for submit@debbugs.gnu.org; Tue, 27 Apr 2021 00:10:44 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbF3Z-00047j-Rp for 48030@debbugs.gnu.org; Tue, 27 Apr 2021 00:10:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=C0BbwLm5GR4yGAEfQPrYavAQl7ziaBjKKR8Rg5+FVq0=; b=BSuSDDD+7jki8CPx9V77uBgMQt 37PqWsTXBNYQ7MupfOA4UWNIstJP3W9JQvhGE7vPtKnDbpQiNLp9lo+qEv5VW4di0kXmPQLGE+5YF 8JMHwOvKQkq4bzEA1yJJYwkG4t6nvcNRmIjeH8DzEm46amp8zDKWqdUiOrmbzGMspc0E=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lbF3Q-0007fl-V2; Tue, 27 Apr 2021 06:10:36 +0200 From: Lars Ingebrigtsen To: Gregory Heytings Subject: Re: bug#48030: 28.0.50; syntax evaluation in strings References: <8ff0f114e95d3119ecdddc04e474dbb9@api.mail.freenet.de> <770e3441228cb3a50883@heytings.org> X-Now-Playing: Jerry Harrison's _The Red And The Black_: "Worlds In Collision" Date: Tue, 27 Apr 2021 06:10:32 +0200 In-Reply-To: <770e3441228cb3a50883@heytings.org> (Gregory Heytings's message of "Mon, 26 Apr 2021 09:20:09 +0000") Message-ID: <87fszc1i6f.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Gregory Heytings writes: > This is not what you want if "Local Variables" is inside a literal > string, but detecting that specific case would be cumbersome I think. > I would suggest that you replace (insert "# Local Variabl [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48030 Cc: 48030@debbugs.gnu.org, markusffm@fn.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Gregory Heytings writes: > This is not what you want if "Local Variables" is inside a literal > string, but detecting that specific case would be cumbersome I think. > I would suggest that you replace (insert "# Local Variables:\n") by > (insert "# Local " "Variables:\n"), with two additional quotation > marks between Local and Variables. Yup. So I agree that this isn't a bug, and I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 00:10:48 2021 Received: (at control) by debbugs.gnu.org; 27 Apr 2021 04:10:48 +0000 Received: from localhost ([127.0.0.1]:47703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbF3g-00048H-FO for submit@debbugs.gnu.org; Tue, 27 Apr 2021 00:10:48 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbF3f-00047s-8F for control@debbugs.gnu.org; Tue, 27 Apr 2021 00:10:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BnZEG+EgsDyrwJJ2PxI0YnZ8fROApmjgwvCjhQ0tj14=; b=DFfzqdc+r0kDIZTFCFwU80i7px rimKm/uXUBw1gTVXgJwg4i8XkFFz1nvMz19sXNTKn8X+3DaL92LY9EUPpoj0BR8i2dQiMsPXToj9S 13Ev6gsl9yqYQutnY0ogsN+2/PDBzKv8EH29SoAm8yrfOZSE6wBhL+bVrhI9L3xR/3K4=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lbF3X-0007g0-S2 for control@debbugs.gnu.org; Tue, 27 Apr 2021 06:10:41 +0200 Date: Tue, 27 Apr 2021 06:10:39 +0200 Message-Id: <87eeew1i68.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48030 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 48030 notabug close 48030 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 48030 notabug close 48030 quit From unknown Thu Aug 14 21:56:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 25 May 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator