all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* pc-selection-mode in shell buffer
@ 2002-11-11 17:14 Felix E. Klee
  2002-11-12 18:12 ` Kai Großjohann
  0 siblings, 1 reply; 3+ messages in thread
From: Felix E. Klee @ 2002-11-11 17:14 UTC (permalink / raw)


Hi,

I enabled pc-selection-mode in EMACS 21.2.1 via Customize:
(custom-set-variables
 [...]
 '(pc-selection-mode t nil (pc-select))
 [...])
It all works fine except in the shell mode. Usually when I select some text 
and hit the delete key all the selected text is removed. This is, however, 
not the case in shell mode (M-x shell). Here when I select text and hit the 
delete key only the character at the mark is deleted. This inconsitent 
behavior is very annoying. How do I change it?

Felix

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: pc-selection-mode in shell buffer
  2002-11-11 17:14 pc-selection-mode in shell buffer Felix E. Klee
@ 2002-11-12 18:12 ` Kai Großjohann
  2002-11-12 19:39   ` Felix E. Klee
  0 siblings, 1 reply; 3+ messages in thread
From: Kai Großjohann @ 2002-11-12 18:12 UTC (permalink / raw)


"Felix E. Klee" <felix.klee@inka.de> writes:

> It all works fine except in the shell mode. Usually when I select some text 
> and hit the delete key all the selected text is removed. This is, however, 
> not the case in shell mode (M-x shell). Here when I select text and hit the 
> delete key only the character at the mark is deleted. This inconsitent 
> behavior is very annoying. How do I change it?

(require 'shell)
(define-key shell-mode-map (kbd "<delete>") 'delete-char)

Does this do the trick?

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: pc-selection-mode in shell buffer
  2002-11-12 18:12 ` Kai Großjohann
@ 2002-11-12 19:39   ` Felix E. Klee
  0 siblings, 0 replies; 3+ messages in thread
From: Felix E. Klee @ 2002-11-12 19:39 UTC (permalink / raw)


Kai Großjohann wrote:
> Does this do the trick?

Yes, thanks.

Felix

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-12 19:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-11 17:14 pc-selection-mode in shell buffer Felix E. Klee
2002-11-12 18:12 ` Kai Großjohann
2002-11-12 19:39   ` Felix E. Klee

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.