all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: 28625@debbugs.gnu.org, jwiegley@gmail.com, eggert@cs.ucla.edu
Subject: bug#28625: [PROPOSED] Speed up (format "%s" STRING) and the like
Date: Sat, 07 Oct 2017 14:34:27 +0300	[thread overview]
Message-ID: <83shevtcn0.fsf@gnu.org> (raw)
In-Reply-To: <CAArVCkRo1PxPruhAVmws0Gpo=iMCtj9iz87zrniqpJqGCjrqQw@mail.gmail.com> (message from Philipp Stephani on Sat, 07 Oct 2017 10:56:52 +0000)

> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Sat, 07 Oct 2017 10:56:52 +0000
> Cc: jwiegley@gmail.com, eggert@cs.ucla.edu, 28625@debbugs.gnu.org
> 
>  > Shouldn't this at least be documented in the "Incompatible Lisp changes" section of NEWS?
> 
>  If it's incompatible, sure. Is it? Can you show the effect of the
>  incompatibility?
> 
> $ emacs -Q -batch -eval '(let* ((a "a") (b (format "%s" a))) (aset a 0 ?b) (print b))'
> 
> With Emacs 25.3 this prints "a", with current master it prints "b". 

You could see the same behavior with earlier versions when the string
was empty, so we just expanded this behavior, not really changed it.

However, I see your point, so I moved the entry into the Incompatible
Lisp Changes section.





  reply	other threads:[~2017-10-07 11:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-27 18:52 bug#28625: [PROPOSED] Speed up (format "%s" STRING) and the like Paul Eggert
2017-09-27 20:00 ` John Wiegley
2017-09-27 20:11   ` Paul Eggert
2017-09-27 21:33     ` John Wiegley
2017-09-27 23:33       ` Paul Eggert
2017-09-28  5:40         ` John Wiegley
2017-10-07  9:12           ` Philipp Stephani
2017-10-07  9:48             ` Eli Zaretskii
2017-10-07 10:56               ` Philipp Stephani
2017-10-07 11:34                 ` Eli Zaretskii [this message]
2017-09-28  1:47     ` Noam Postavsky
2017-09-29 15:48 ` Eli Zaretskii
2017-10-04 21:45   ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83shevtcn0.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=28625@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=jwiegley@gmail.com \
    --cc=p.stephani2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.