unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Eric M. Ludlam" <eric@siege-engine.com>
Cc: S Boucher <stbya@yahoo.com>, Chong Yidong <cyd@stupidchicken.com>,
	Eric Ludlam <zappo@gnu.org>,
	6967@debbugs.gnu.org
Subject: bug#6967: flymake not cleaning after itself (kill-buffer)
Date: Mon, 25 Oct 2010 12:20:45 -0400	[thread overview]
Message-ID: <jwviq0qnt54.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4CC566E3.4020905@siege-engine.com> (Eric M. Ludlam's message of "Mon, 25 Oct 2010 07:15:47 -0400")

> Semantic needs a variant of find-file that puts a buffer into the correct
> mode, which in turn runs the major-mode hook.  It also needs to run the
> mode-local hooks, but doesn't run miscellaneous other interactive
> tool hooks.

IIUC Semantic visits those files "temporarily" (i.e. it will kill the
buffer afterwards, although probably not if the buffer already existed).

I think this need is not specific to Semantic, and so we should provide
this functionality in files.el.  Maybe in a `with-found-file' macro.


        Stefan





  reply	other threads:[~2010-10-25 16:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 19:19 bug#6967: flymake not cleaning after itself (kill-buffer) S Boucher
2010-10-24 17:14 ` Chong Yidong
2010-10-25 11:15   ` Eric M. Ludlam
2010-10-25 16:20     ` Stefan Monnier [this message]
2010-10-25 21:54     ` S Boucher

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=jwviq0qnt54.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=6967@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=eric@siege-engine.com \
    --cc=stbya@yahoo.com \
    --cc=zappo@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).