emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#15053: closed (24.3; mixal-mode quote compile-comm


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#15053: closed (24.3; mixal-mode quote compile-command filename)
Date: Tue, 13 Aug 2013 07:57:02 +0000

Your message dated Tue, 13 Aug 2013 03:56:25 -0400
with message-id <address@hidden>
and subject line Re: bug#15053: 24.3; mixal-mode quote compile-command filename
has caused the debbugs.gnu.org bug report #15053,
regarding 24.3; mixal-mode quote compile-command filename
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
15053: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15053
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3; mixal-mode quote compile-command filename Date: Fri, 09 Aug 2013 10:52:38 +1000 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Starting from emacs -Q

    (progn
      (find-file "/tmp/x y.mixal")
      compile-command)
    =>
    "mixasm /tmp/x y.mixal"

where I hoped that it would quote the space in the filename, like

  (set (make-local-variable 'compile-command)
       (concat "mixasm " (shell-quote-argument buffer-file-name)))

Of course spaces in filenames are unusual, but this guards against ";"
in a filename executing shell code too.




In GNU Emacs 24.3.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2013-05-29 on blah.blah, modified by Debian
System Description:     Debian GNU/Linux unstable (sid)

Configured using:
 `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu'
 '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
 '--localstatedir=/var/lib' '--infodir=/usr/share/info'
 '--mandir=/usr/share/man' '--with-pop=yes'
 
'--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp'
 '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes'
 '--with-x-toolkit=lucid' '--with-toolkit-scroll-bars' '--without-gconf'
 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector
 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall'
 'LDFLAGS=-Wl,-z,relro -Wl,-znocombreloc'
 'CPPFLAGS=-D_FORTIFY_SOURCE=2''



--- End Message ---
--- Begin Message --- Subject: Re: bug#15053: 24.3; mixal-mode quote compile-command filename Date: Tue, 13 Aug 2013 03:56:25 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 24.4

Fixed.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]