* Problem with msf-abbrev under Emacs 23
@ 2010-10-04 9:22 Seweryn
2010-10-05 3:21 ` Darren Hoo
0 siblings, 1 reply; 3+ messages in thread
From: Seweryn @ 2010-10-04 9:22 UTC (permalink / raw)
To: help-gnu-emacs
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.
Do you have any idea how to fix it or have a newer version of msf-abbrev?
Regards,
Seweryn
[1] The msf-abbrev website can be open from archives
http://web.archive.org/web/20080611035209/http://www.bloomington.in.us/~brutt/m
sf-abbrev.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with msf-abbrev under Emacs 23
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
0 siblings, 1 reply; 3+ messages in thread
From: Darren Hoo @ 2010-10-05 3:21 UTC (permalink / raw)
To: Seweryn; +Cc: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with msf-abbrev under Emacs 23
2010-10-05 3:21 ` Darren Hoo
@ 2010-10-05 7:17 ` Seweryn
0 siblings, 0 replies; 3+ messages in thread
From: Seweryn @ 2010-10-05 7:17 UTC (permalink / raw)
To: help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-05 7:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).