all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: emacs-devel@gnu.org
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; Bug in BUF_SET_PT
Date: Sun, 23 Mar 2008 00:56:02 +0100	[thread overview]
Message-ID: <yoijfxui8ga5.fsf@remote2.student.chalmers.se> (raw)
In-Reply-To: yoijr6e5gydt.fsf@remote2.student.chalmers.se

bojohan+mail@dd.chalmers.se (Johan Bockgård) writes:

> [Trunk and branch]

Stefan has checked in a fix on the trunk, but the problem exists on the
Emacs 22 branch as well.

> There is a problem with BUF_SET_PT (i.e. set_point_both with BUFFER !=
> current_buffer).  It moves point in BUFFER, but properties and bindings
> are always taken from the current buffer.  (BUF_SET_PT is used in two
> places in Emacs, Feval_buffer and Finsert_file_contents; maybe they
> should be using BUF_TEMP_SET_PT anyway?  Also, could set_point_both use
> DEFAULT_INTERVAL_P instead of NULL_INTERVAL_P?)

-- 
Johan Bockgård





  reply	other threads:[~2008-03-22 23:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-20 16:21 23.0.60; Bug in BUF_SET_PT Johan Bockgård
2008-03-22 23:56 ` Johan Bockgård [this message]
2008-03-23  1:06   ` Stefan Monnier
2008-03-23 11:32     ` Johan Bockgård
2008-03-24  1:18       ` 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

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

  git send-email \
    --in-reply-to=yoijfxui8ga5.fsf@remote2.student.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@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 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.