emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Aquamacs-bugs] C++ program auto-insertion fails with Aquamacs 1.3


From: Stefan Monnier
Subject: Re: [Aquamacs-bugs] C++ program auto-insertion fails with Aquamacs 1.3
Date: Fri, 07 Mar 2008 17:55:01 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> *** 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]