all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: emacs-devel@gnu.org
Subject: save-excursion defeated by set-buffer
Date: Sun, 29 Nov 2009 11:37:42 +0100	[thread overview]
Message-ID: <87hbsd4nwp.fsf@tux.homenetwork> (raw)

Hi,
in last CVS version, when i start emacs, i have a compile log writing 
"save-excursion defeated by set-buffer".
The reason is that many package use:

,----
| (save-excursion
|   (set-buffer foo)
|   do something)
`----

instead of using with-current-buffer.

But why the compile buffer show up on start of emacs instead of only
showing the warning when compiling?

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France






             reply	other threads:[~2009-11-29 10:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-29 10:37 Thierry Volpiatto [this message]
2009-11-29 15:31 ` save-excursion defeated by set-buffer Stefan Monnier
2009-11-29 17:29   ` Thierry Volpiatto
2009-11-29 18:24     ` Thierry Volpiatto

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=87hbsd4nwp.fsf@tux.homenetwork \
    --to=thierry.volpiatto@gmail.com \
    --cc=emacs-devel@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.