[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
- can a command specify overwrite selection behavior?, Xah Lee, 2010/12/08
- Re: can a command specify overwrite selection behavior?, Xah Lee, 2010/12/08
- RE: can a command specify overwrite selection behavior?, Drew Adams, 2010/12/10
- Message not available
- Message not available
- Re: can a command specify overwrite selection behavior?, Ilya Zakharevich, 2010/12/25
- RE: can a command specify overwrite selection behavior?, Drew Adams, 2010/12/25
- Message not available
- Re: can a command specify overwrite selection behavior?, Ilya Zakharevich, 2010/12/25
- RE: can a command specify overwrite selection behavior?, Drew Adams, 2010/12/25
- Message not available
- Re: can a command specify overwrite selection behavior?, Xah Lee, 2010/12/25
- RE: can a command specify overwrite selection behavior?, Drew Adams, 2010/12/26
- Message not available
- Re: can a command specify overwrite selection behavior?, Stefan Monnier, 2010/12/27
- RE: can a command specify overwrite selection behavior?, Drew Adams, 2010/12/28