Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 12-01-2006, 01:46 PM   #1
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 61

Rep: Reputation: 15
XEmacs deleting/overwriting selected text

Does anybody know how to setup XEmacs to delete/overwrite selected text(the way things are done in just about every other program). With emacs I used to be able to put (delete-selection-mode t) in my .emacs file, but that does not seem to work for XEmacs. When I do that I get the following error when I start XEamcs:

(1) (initialization/error) An error has occurred while loading nil:

Symbol's function definition is void: delete-selection-mode

To ensure normal operation, you should investigate the cause of the error
in your initialization file and remove it. Use the `-debug-init' option
to XEmacs to view a complete error backtrace.

It seems like this should be an easy to find option in the Options menu, but I don't see it. Thanks in advance for the help.
Old 09-29-2011, 12:22 PM   #2
LQ Newbie
Registered: May 2006
Posts: 5

Rep: Reputation: 0
Overwrite mode in xemacs - maybe it's pending-delete related

I first tried Options -> Editing -> Overstrike
and that didn't work. Then I found through googling
the following command for the .emacs file:

(pending-delete-mode 1)

My .emacs file already had this:

(require 'pending-del)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to bind Middle click (paste selected text) to keyboard shortcut yozhhh Linux - General 4 10-05-2010 05:25 PM
VI : Copying Selected Text Chaitanyayardi Linux - Software 1 11-10-2005 08:40 AM
How to change the selected text color in nedit? ICO Linux - Software 3 03-18-2004 10:56 AM
pasting the selected text with right click works strange raft Linux - Hardware 0 12-06-2003 02:34 PM
RH 7.3 starts in text mode, GUI selected ShortTexan Linux - Newbie 2 11-22-2002 12:32 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration