unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Roland Winkler" <winkler@gnu.org>
Cc: 17666@debbugs.gnu.org
Subject: bug#17666: 24.3.91; [regression] call-process in read-only buffers
Date: Mon, 02 Jun 2014 12:18:08 -0400	[thread overview]
Message-ID: <jwv7g4ze177.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <874n03jqxr.fsf@gnu.org> (Roland Winkler's message of "Mon, 02 Jun 2014 10:01:52 -0500")

> evaluate the following with emacs -Q

> ;; running a process with no output via call-process
> ;; in any read-only buffer will do
> (with-temp-buffer
>   (let ((buffer-read-only t))
>     (call-process "true" nil t)))

> No problem with emacs 24.3

I do not remember this being changed consciously, but the change does
sound like a bug fix: you should bind inhibit-read-only if you want to
insert text into a read-only buffer, and call-process shouldn't be
an exception.


        Stefan





  reply	other threads:[~2014-06-02 16:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-02 15:01 bug#17666: 24.3.91; [regression] call-process in read-only buffers Roland Winkler
2014-06-02 16:18 ` Stefan Monnier [this message]
2014-06-02 16:25   ` Roland Winkler
2014-06-02 17:37     ` Glenn Morris
2014-06-02 17:45       ` Glenn Morris
2014-06-02 18:34         ` Eli Zaretskii
2014-06-02 18:14       ` Roland Winkler
2014-06-02 17:57     ` Stefan Monnier
2014-06-02 18:42   ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwv7g4ze177.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=17666@debbugs.gnu.org \
    --cc=winkler@gnu.org \
    /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 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).