From: Stefanus Du Toit <sjdutoit@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
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, 7 Mar 2008 17:17:24 -0500 [thread overview]
Message-ID: <9ED4A726-406B-4E65-B01B-7763F50C5EB6@gmail.com> (raw)
In-Reply-To: <jwv4pbixlml.fsf-monnier+emacsbugreports@gnu.org>
On 7-Mar-08, at 4:38 PM, Stefan Monnier wrote:
>> (Don't know enough about C++ mode to attempt to reproduce this.)
>
> Ask him to give a recipe,
Assuming you mean steps to reproduce, here's an attempt at that. I
haven't tried to do this in isolation with an empty .emacs yet. Sorry.
*** 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
===
--
Stefanus Du Toit
next prev parent reply other threads:[~2008-03-07 22:17 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 [this message]
2008-03-07 22:39 ` Stefan Monnier
2008-03-07 22:44 ` Stefanus Du Toit
2008-03-07 22:55 ` Stefan Monnier
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=9ED4A726-406B-4E65-B01B-7763F50C5EB6@gmail.com \
--to=sjdutoit@gmail.com \
--cc=david.reitter@gmail.com \
--cc=emacs-pretest-bug@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.