all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Stefanus Du Toit <sjdutoit@gmail.com>
Cc: emacs-pretest-bug@gnu.org, David Reitter <david.reitter@gmail.com>
Subject: Re: [Aquamacs-bugs] C++ program auto-insertion fails with Aquamacs 1.3
Date: Fri, 07 Mar 2008 17:55:01 -0500	[thread overview]
Message-ID: <jwv7igeno22.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <9ED4A726-406B-4E65-B01B-7763F50C5EB6@gmail.com> (Stefanus Du Toit's message of "Fri, 7 Mar 2008 17:17:24 -0500")

> *** To reproduce:

> Evaluate (from my .emacs):
> (add-hook 'find-file-hooks 'auto-insert)

> Enter:
> C-x C-f ~/foo.hpp RET
> y (when prompted to "Perform C / C++ header auto-insertion")

> *** Expected behaviour:

> The newly created buffer, visible, with the following contents:
> ===
> #ifndef FOO_HPP
> #define FOO_HPP

> <cursor here>

> #endif
> ===

> *** Actual behaviour:

> Same buffer that was visible before is visible. When switching to the newly
> created buffer, it contains:
> ===
> #ifndef <cursor here>
> ===

> And the *Messages* buffer contains:
> ===
> (New file)
> Perform C / C++ header auto-insertion? (y or n)
> byte-code: End of buffer
> ===

Can't reproduce it here with Emacs-22.1.92.
Please set Options => Enter Debugger on Error
and then reproduce the problem.  You'll then hopefully get a backtrace
which will be informative.


        Stefan




  parent reply	other threads:[~2008-03-07 22:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3D25E31F-8897-4215-ACEA-F73492DCD2B8@rapidmind.com>
2008-03-07 18:18 ` Fwd: [Aquamacs-bugs] C++ program auto-insertion fails with Aquamacs 1.3 David Reitter
2008-03-07 21:38   ` Stefan Monnier
2008-03-07 22:17     ` Stefanus Du Toit
2008-03-07 22:39       ` Stefan Monnier
2008-03-07 22:44         ` Stefanus Du Toit
2008-03-07 22:55       ` Stefan Monnier [this message]
2008-03-07 22:56         ` Stefanus Du Toit
2008-03-08  1:26           ` Stefan Monnier
2008-03-08 10:39             ` David Reitter
2008-03-08 16:24               ` Stefanus Du Toit

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=jwv7igeno22.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=david.reitter@gmail.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=sjdutoit@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.