all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why Ctrl+Shift keys work as ESC? And is it possible to not?
@ 2005-11-30 18:55 Sergey Fukanchik
  2005-11-30 22:45 ` Jason Rumney
  0 siblings, 1 reply; 2+ messages in thread
From: Sergey Fukanchik @ 2005-11-30 18:55 UTC (permalink / raw)


I trying to search interactively for string which contains latin
and cyrillic letters at the same time. I press Ctrl-s and start
with latin part. Then, when i need to enter cyrillic letters, i
switch my keyboard layout with Ctrl+Shift. At this moment
my emacs breaks search and leaves minibuffer as if i pressed
ESC.

Why does emacs threats Ctrl+Shift as Esc and is it possible
to make it not?

I run emacs:
GNU Emacs 21.3.1 (i386-mingw-nt5.2.3790)
 of 2004-03-10 on NYAUMO

on microsoft windows with russian (windows-1251) locale.

Btw before that version i run emacs 20.??? and it worked fine.

TIA,
Serge

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

* Re: Why Ctrl+Shift keys work as ESC? And is it possible to not?
  2005-11-30 18:55 Why Ctrl+Shift keys work as ESC? And is it possible to not? Sergey Fukanchik
@ 2005-11-30 22:45 ` Jason Rumney
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Rumney @ 2005-11-30 22:45 UTC (permalink / raw)


"Sergey Fukanchik" <fukanchik@gmail.com> writes:

> I trying to search interactively for string which contains latin
> and cyrillic letters at the same time. I press Ctrl-s and start
> with latin part. Then, when i need to enter cyrillic letters, i
> switch my keyboard layout with Ctrl+Shift. At this moment
> my emacs breaks search and leaves minibuffer as if i pressed
> ESC.

> Why does emacs threats Ctrl+Shift as Esc and is it possible
> to make it not?

isearch treats all non-recognized events as isearch-cancel.

Either of the following should work:

(define-key isearch-mode-map [language-change] nil)

(setq search-exit-option nil)

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

end of thread, other threads:[~2005-11-30 22:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-30 18:55 Why Ctrl+Shift keys work as ESC? And is it possible to not? Sergey Fukanchik
2005-11-30 22:45 ` Jason Rumney

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.