all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* keyboard problem
@ 2003-11-20 17:17 Pieter Laeremans
  2003-11-20 17:44 ` Daniel R. Anderson
  0 siblings, 1 reply; 4+ messages in thread
From: Pieter Laeremans @ 2003-11-20 17:17 UTC (permalink / raw)


Someone I know has got a problem to use 

C-SPC to activate marking.

It does not seem to appear in the keymap.

Now I tried to put together some lisp code to achieve it.

(global-set-key "\C- " 'set-mark-command)

This code works under console.  But doesn't do it in X.

Why ?  I also tried "\C-SPC" but doesn't work.

anyone a suggestion ?

thanks in advance ?

regards,

Pieter

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

* Re: keyboard problem
  2003-11-20 17:17 keyboard problem Pieter Laeremans
@ 2003-11-20 17:44 ` Daniel R. Anderson
  2003-11-20 20:31   ` Pieter Laeremans
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel R. Anderson @ 2003-11-20 17:44 UTC (permalink / raw)


> Someone I know has got a problem to use 
> 
> C-SPC to activate marking.
> 
> It does not seem to appear in the keymap.

        Do you mean to say that when you pres C-h c C-SPC it says that
C-SPC isn't bound to the function to set the mark, or that it does not
visually appear  to be highlighting the  mark?  Can you  C-SPC and C-x
C-x to the other side of  the mark?  Try M-x transient-mark-mode .  If
that fixes you can call it in your .emacs with something like:

(transient-mark-mode t) ;; i think

-Dan

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

* Re: keyboard problem
  2003-11-20 17:44 ` Daniel R. Anderson
@ 2003-11-20 20:31   ` Pieter Laeremans
  2003-11-21 16:36     ` Kevin Rodgers
  0 siblings, 1 reply; 4+ messages in thread
From: Pieter Laeremans @ 2003-11-20 20:31 UTC (permalink / raw)


daniel@syr-24-59-76-83.twcny.rr.com (Daniel R. Anderson) writes:

> > Someone I know has got a problem to use 
> > 
> > C-SPC to activate marking.
> > 
> > It does not seem to appear in the keymap.
> 
>         Do you mean to say that when you pres C-h c C-SPC it says that
> C-SPC isn't bound to the function to set the mark, or that it does not
> visually appear  to be highlighting the  mark?  Can you  C-SPC and C-x
> C-x to the other side of  the mark?  Try M-x transient-mark-mode .  If
> that fixes you can call it in your .emacs with something like:
> 
> (transient-mark-mode t) ;; i think
> 

I can 't tell.  It 's on a computer of a friend of mine. I didn't see
it myself.  But she told me that c-@ did work. I know about
transient-mark-mode but that isn't the problem.

Maybe it has to do something with the window manager.

But still to test I would like to bind c-spc to something else.

and I would like to know how to it so that it works under X.

thanks in advance,

Pieter

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

* Re: keyboard problem
  2003-11-20 20:31   ` Pieter Laeremans
@ 2003-11-21 16:36     ` Kevin Rodgers
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2003-11-21 16:36 UTC (permalink / raw)


Pieter Laeremans wrote:

> I can 't tell.  It 's on a computer of a friend of mine. I didn't see
> it myself.  But she told me that c-@ did work. I know about
> transient-mark-mode but that isn't the problem.
> 
> Maybe it has to do something with the window manager.
> 
> But still to test I would like to bind c-spc to something else.
> 
> and I would like to know how to it so that it works under X.

This is odd because generally people have the opposite problem: typing
`C-SPC' works fine under a window system, but in a terminal (or terminal
emulator within a window system) they have to resort to `C-@'.

Does the problem occur when your friend starts Emacs with no local
customizations (emacs -q --no-site-file)?  What happens when she types
`C-h k C-SPC', then `C-h l' in both environments (i.e. with and without
the -nw command line option)?


-- 
Kevin Rodgers

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

end of thread, other threads:[~2003-11-21 16:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-20 17:17 keyboard problem Pieter Laeremans
2003-11-20 17:44 ` Daniel R. Anderson
2003-11-20 20:31   ` Pieter Laeremans
2003-11-21 16:36     ` Kevin Rodgers

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.