gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: predictive.el -- New Release


From: Toby Cubitt
Subject: Re: predictive.el -- New Release
Date: Tue, 2 May 2006 23:33:52 +0200
User-agent: Mutt/1.5.11

On Tue, May 02, 2006 at 07:29:33PM +0200, David Hansen wrote:
> Nice work.

Thanks!

> Just a note: rebinding RET is IMHO a very bad idea.  In programming
> modes i have bound it to `reindent-then-newline-and-indent' and
> e.g. rcirc won't work with predictive at all (RET is bound to
> `rcirc-send-input').

You're right, of course.

Trouble is, I have to rebind RET or the whole dynamic completion
mechanism gets screwed up. I'll see what I can do about making RET
sort out any dynamic completion, and then run whatever it would have
been bound to otherwise.

Shouldn't be too difficult, since I already have a macro that does
something very similar. But I wonder if there's a standard solution to
this? (Defadvice won't help, since I'd have to advise every function
that might be bound to RET!)

Toby
-- 
PhD Student
Quantum Information Theory group
Max Planck Institute for Quantum Optics
Garching, Germany

email: address@hidden
web: www.dr-qubit.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]