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

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

Re: can a command specify overwrite selection behavior?


From: Xah Lee
Subject: Re: can a command specify overwrite selection behavior?
Date: Wed, 22 Dec 2010 06:49:17 -0800 (PST)
User-agent: G2/1.0

On Dec 13, 9:16 am, "Drew Adams" <drew.ad...@oracle.com> wrote:
> > > To see that it works, bind it to a key and then use the key:
> > > (global-set-key [insert] 'insert-date)
>
> > thanks Drew for this tip. I didn't know about it.
> > btw, why the distinction on how the command is called?
>
> When you hit a key to invoke a command, you are not passing through `M-x'.
>
> > all i recall about this issue is that i entered a bug report and
> > Richard Stallman specifically don't consider it a bug.
>
> I agree with him that it is not a bug.  But none of us (you, me, or even His
> Grand Gnuness) is perfect. ;-)

Drew, what i didn't understand is why the insert-date property makes a
distinction on whether a command is called by name or by a keyboard
shortcut?

 Xah


reply via email to

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