unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).