From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.help Subject: Re: (insert ...) won't respect delete-selection-mode Date: Wed, 08 Oct 2008 23:46:43 +0200 Message-ID: <48ED2A43.3080407@gmail.com> References: <1223460628.620979@arno.fh-trier.de> <1223500491.534035@arno.fh-trier.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1223502502 5488 80.91.229.12 (8 Oct 2008 21:48:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2008 21:48:22 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 08 23:49:20 2008 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.50) id 1Kngtv-0003Nx-1e for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 23:48:59 +0200 Original-Received: from localhost ([127.0.0.1]:49341 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kngsr-0003qg-3P for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 17:47:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KngsX-0003qY-PQ for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 17:47:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KngsW-0003qG-A8 for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 17:47:33 -0400 Original-Received: from [199.232.76.173] (port=45144 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KngsW-0003qD-4M for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 17:47:32 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:46155) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KngsV-0004ZF-UG for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 17:47:32 -0400 Original-Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:64197 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Kngs7-0005sY-5X for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 23:47:26 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <1223500491.534035@arno.fh-trier.de> X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 081008-1, 2008-10-08), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1Kngs7-0005sY-5X. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Kngs7-0005sY-5X af7c9e7e0394973cb36e8a59996f9736 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6? (barebone, rare!) 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:58578 Archived-At: >>>>>> Example: >>>>>> (put 'insert-date 'delete-selection t) >>>>> The command also needs to be activated with keyboard. M-x does not >>>>> do it. >>>> Thank you both. >>>> Why does it needs to be called from keyboard? Unfortunately most of my >>>> commands are used by calling a short alias. >>>> Xah >>>> ∑http://xahlee.org/ >>>> ☄ >>> Because it't a different command. >>> >>> (put 'execute-extended-command 'delete-selection t) >> >> LOL. When i tried this, it'll just delete the region when you do M-x, >> regardless what command you gonna call. >> >> for a moment i was gonna say Thanks! Great solution! >> >> Xah >> ∑ http://xahlee.org/ >> >> ☄ >> > > Yes, but you get the idea. Doesn't this look like a delicate problem? Maybe a bug?