From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: can a command specify overwrite selection behavior? Date: Wed, 22 Dec 2010 06:49:17 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <33ac6984-0a0c-4db8-8ea1-50ec5c271a25@x18g2000pro.googlegroups.com><05a87fbb-31a7-40c3-a890-6c7aacaefac3@t5g2000prd.googlegroups.com> <92235e12-464c-41d9-9a49-33598c157113@i25g2000prd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1293032458 14291 80.91.229.12 (22 Dec 2010 15:40:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Dec 2010 15:40:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 22 16:40:54 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PVQo7-0003LI-Q0 for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Dec 2010 16:40:51 +0100 Original-Received: from localhost ([127.0.0.1]:38299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVQo7-0006gE-8o for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Dec 2010 10:40:51 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!u25g2000pra.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 76.126.112.84 Original-X-Trace: posting.google.com 1293029357 32007 127.0.0.1 (22 Dec 2010 14:49:17 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 22 Dec 2010 14:49:17 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u25g2000pra.googlegroups.com; posting-host=76.126.112.84; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:183550 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77793 Archived-At: On Dec 13, 9:16=A0am, "Drew Adams" 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. =A0But none of us (you, me, or eve= n 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