unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: sunway <sunwayforever@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: abbrev-mode doesn't work correctly in c-mode
Date: Mon, 3 Mar 2008 01:47:03 +0800	[thread overview]
Message-ID: <20080302174703.GA31273@sunway> (raw)
In-Reply-To: <m2k5kl6o1a.fsf@nschum.de>

GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.8.20) of 2008-03-01

i also tried emacs -q, it didn't help.

what exactly i do is as follows: start emacs with emacs -q, then in the #scratch
buffer, i enable abbrev-mode, then input "inc" and space, it is expanded to
"#include" correctly, then i open a file "1.c", again input "inc", it is
expanded to "#includeinc", then i delete the expanded "#includeinc" and input
"inc" again, while this time it is correctly expanded to "#include"....so weird.

On Sun, Mar 02, 2008 at 06:20:17PM +0100, Nikolaj Schumacher wrote:
>sunway <sunwayforever@gmail.com> wrote:
>
>
>What version of Emacs are you using?
>Does it happen when you start emacs with -q?
>(It works for me on 22.1.91.2)
>
>
>regards,
>Nikolaj Schumacher
>

-- 
sunway




  reply	other threads:[~2008-03-02 17:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-02 13:14 abbrev-mode doesn't work correctly in c-mode sunway
2008-03-02 16:52 ` Andreas Röhler
2008-03-02 16:59   ` sunway
2008-03-02 17:20     ` Nikolaj Schumacher
2008-03-02 17:47       ` sunway [this message]
2008-03-03 12:19         ` Nikolaj Schumacher
2008-03-02 18:13     ` Andreas Röhler

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=20080302174703.GA31273@sunway \
    --to=sunwayforever@gmail.com \
    --cc=help-gnu-emacs@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.
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).