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

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

Re: Selection region and delete


From: Juha Nieminen
Subject: Re: Selection region and delete
Date: Thu, 26 Jul 2012 05:30:02 +0000 (UTC)
User-agent: tin/1.9.6-20100522 ("Lochruan") (UNIX) (Linux/3.1.10-grbfs-kapsi (x86_64))

Peter Dyballa <Peter_Dyballa@web.de> 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.


reply via email to

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