From: Seweryn <sewkokot@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Problem with msf-abbrev under Emacs 23
Date: Tue, 5 Oct 2010 07:17:40 +0000 (UTC) [thread overview]
Message-ID: <loom.20101005T091044-307@post.gmane.org> (raw)
In-Reply-To: AANLkTimQndtG3ozcxfUXLKR7jrnFotZ4uDmRuRMdLBGV@mail.gmail.com
Darren Hoo <darren.hoo <at> gmail.com> writes:
>
> I tested it and I can use <choose> template, hit enter on the choice
> , a buffer pops
> which I can choose from , I use emacs23 and msf-abbrev 1.0beta3.
>
> Though in c-mode, msf-abbrev work strangely, so I have to tweak
> c-mode-common-hook
> a little bit like:
> (make-local-variable 'text-property-default-nonsticky)
> (assq-delete-all 'category text-property-default-nonsticky)
>
> since emacs23 category is added to text-property-default-nonsticky which
stops
> msf-abbrev from working correctly in c-mode, but in other modes like
> python-mode
> ,it works ok ,that includes <choose> template methoned above.
Thank you for help. In fact I checked again with hitting RET and the <choose>
template worked. I don't know why I had impression that before it had worked
in other way. Perhaps it would be better to have a message to press RET when
the <choose> template is used or make the option window pop up without
pressing any key?
I also appreciate the tip how to fix msf-abbrev in c-mode.
Regards.
prev parent reply other threads:[~2010-10-05 7:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-04 9:22 Problem with msf-abbrev under Emacs 23 Seweryn
2010-10-05 3:21 ` Darren Hoo
2010-10-05 7:17 ` Seweryn [this message]
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=loom.20101005T091044-307@post.gmane.org \
--to=sewkokot@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).