unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Darren Hoo <darren.hoo@gmail.com>
To: Seweryn <sewkokot@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Problem with msf-abbrev under Emacs 23
Date: Tue, 5 Oct 2010 11:21:59 +0800	[thread overview]
Message-ID: <AANLkTimQndtG3ozcxfUXLKR7jrnFotZ4uDmRuRMdLBGV@mail.gmail.com> (raw)
In-Reply-To: <loom.20101004T111520-784@post.gmane.org>

Hi
On Mon, Oct 4, 2010 at 5:22 PM, Seweryn <sewkokot@gmail.com> wrote:
> Hello,
>
> I'm using the msf-abbrev [1] library
> ( http://www.emacswiki.org/emacs/MsfAbbrev ).
> However starting from Emacs 23 the <choose> template does not work because it
> doesn't give any choice when expanding an abbrev while other templates like
> field, query work properly.
>

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.


---
Darren



  reply	other threads:[~2010-10-05  3:21 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 [this message]
2010-10-05  7:17   ` Seweryn

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=AANLkTimQndtG3ozcxfUXLKR7jrnFotZ4uDmRuRMdLBGV@mail.gmail.com \
    --to=darren.hoo@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=sewkokot@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.
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).