* bug#13186: 24.2; auto-save-file-name-p regexp \\` \\'
@ 2012-12-15 0:51 Kevin Ryde
2012-12-17 15:52 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Ryde @ 2012-12-15 0:51 UTC (permalink / raw)
To: 13186
While nosing around some auto saving I noticed auto-save-file-name-p is
(string-match "^#.*#$" filename)
I wondered if it should be something like
"\\`#.*#\\'"
just in case the filename contains newlines.
In GNU Emacs 24.2.1 (i486-pc-linux-gnu, GTK+ Version 2.24.10)
of 2012-09-10 on biber, modified by Debian
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.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.2/site-lisp:/usr/share/emacs/site-lisp'
'--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes'
'--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall'
'CPPFLAGS=-D_FORTIFY_SOURCE=2''
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#13186: 24.2; auto-save-file-name-p regexp \\` \\'
2012-12-15 0:51 bug#13186: 24.2; auto-save-file-name-p regexp \\` \\' Kevin Ryde
@ 2012-12-17 15:52 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2012-12-17 15:52 UTC (permalink / raw)
To: Kevin Ryde; +Cc: 13186-done
> While nosing around some auto saving I noticed auto-save-file-name-p is
> (string-match "^#.*#$" filename)
> I wondered if it should be something like
> "\\`#.*#\\'"
> just in case the filename contains newlines.
Indeed, installed in trunk, thanks,
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-17 15:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-15 0:51 bug#13186: 24.2; auto-save-file-name-p regexp \\` \\' Kevin Ryde
2012-12-17 15:52 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).