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: Peter Dyballa
Subject: Re: Selection region and delete
Date: Wed, 25 Jul 2012 23:27:47 +0200

Am 25.07.2012 um 23:03 schrieb Juha Nieminen:

>> Or compile GNU Emacs 23.4 from source yourself
> 
> I might need to do that...

(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

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) 

because the Elisp file has at its end

        (provide 'delsel)

Then the variable and function delete-selection-mode should be known… and 
working!

--
Greetings

  Pete

For some reason, this fortune reminds everyone of Marvin Zelkowitz.




reply via email to

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