all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jidanni@jidanni.org
To: bug-gnu-emacs@gnu.org
Subject: delete-selection-mode hard to turn off
Date: Wed, 02 Jan 2008 07:12:39 +0800	[thread overview]
Message-ID: <87ejd19m3c.fsf@jidanni.org> (raw)

We see
====
delete-selection-mode is a variable defined in `delsel.el'.
Setting this variable directly does not take effect[1];
either customize it (see the info node `Easy Customization')
or call the function `delete-selection-mode'.

delete-selection-mode is an interactive compiled Lisp function in `delsel.el'.
Toggle Delete Selection mode.
With prefix ARG, turn Delete Selection mode on if and only if ARG is
positive.[2]

[3]When Delete Selection mode is enabled, Transient Mark mode is also
enabled and typed text replaces the selection if the selection is
active.  Otherwise, typed text is just inserted at point regardless of
any selection.[4]
====

[1]: works just like [3]: when done in the current buffer, but NOT
when done from .emacs (http://jidanni.org/comp/.emacs). Should I put
it in find-file-hook? I do not wish to enter the customization
interface to fix this problem. My goal is behavior [4].

P.S., wording [2] gives no way to explicitly turn it OFF. One can only
hope nil works. emacs-version "22.1.1"




             reply	other threads:[~2008-01-01 23:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-01 23:12 jidanni [this message]
2008-01-05  2:34 ` delete-selection-mode hard to turn off jidanni
2008-01-06 16:23   ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ejd19m3c.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.