From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juha Nieminen Newsgroups: gmane.emacs.help Subject: Re: Selection region and delete Date: Thu, 26 Jul 2012 05:30:02 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1343280617 13445 80.91.229.3 (26 Jul 2012 05:30:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2012 05:30:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 26 07:30:17 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SuGeP-0003oE-Eg for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 07:30:17 +0200 Original-Received: from localhost ([::1]:60365 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuGeO-0001E1-Jb for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 01:30:16 -0400 Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: x6oKauqjz/aVLymSbCEcrg.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: tin/1.9.6-20100522 ("Lochruan") (UNIX) (Linux/3.1.10-grbfs-kapsi (x86_64)) X-Notice: Filtered by postfilter v. 0.8.2 Original-Xref: usenet.stanford.edu gnu.emacs.help:193678 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86052 Archived-At: Peter Dyballa wrote: > (Tests with yanking something were not mentioned???) What you > described is exactly what happens when Delete Selection mode is not > enabled. So it's all OK until here. That the variable and function > delete-selection-mode are unknown means that delsel.el is not loaded > or dumped from temacs into emacs at Emacs build time. The Elisp file > can be here: > > /usr/local/share/emacs/23.3/lisp/delsel.el.gz > /usr/local/share/emacs/23.3/lisp/delsel.elc > /usr/local/share/emacs/23.4/lisp/delsel.el.gz > /usr/local/share/emacs/23.4/lisp/delsel.elc My /usr/local/share directory is empty, but there is a /usr/share/emacs/23.3/lisp/delsel.elc file in my system. > Does it exist? IMO this, that it exists but is not loaded, can only > mean that you have some "unconventional" Emacs. In case delsel.el > exists in your system, you can try to load it with > > (require 'delsel) I added that magic line at the beginning of my .emacs file, and now it's working correctly! This solved the problem. Many thanks.