all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* C-M-. (find-tag-regexp) is not working
@ 2009-03-19  8:17 Francis Moreau
  2009-03-19  8:43 ` Alan Mackenzie
  0 siblings, 1 reply; 12+ messages in thread
From: Francis Moreau @ 2009-03-19  8:17 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I have a strange behaviour with emacs23 and this key binding.

When I want to invoke 'find-tag-regexp' function with C-M-., emacs
invokes 'find-tag' instead.

However if I execute 'find-tag-regexp' manually (M-x find-tag-regexp),
it works as expected and emacs tells me that I can use C-M-. key
binding to invoke this function...

Now if I ask for a key binding description (C-h k) of C-M-., emacs
tells me:

    M-. runs the command find-tag, which is an interactive compiled
Lisp...

So it looks like when I press C-M-., emacs interprets this to M-.

Could anybody tell me why ?

Thanks


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

* Re: C-M-. (find-tag-regexp) is not working
  2009-03-19  8:17 C-M-. (find-tag-regexp) is not working Francis Moreau
@ 2009-03-19  8:43 ` Alan Mackenzie
  2009-03-19 10:13   ` Francis Moreau
  0 siblings, 1 reply; 12+ messages in thread
From: Alan Mackenzie @ 2009-03-19  8:43 UTC (permalink / raw)
  To: help-gnu-emacs

Francis Moreau <francis.moro@gmail.com> wrote:
> Hello,

> I have a strange behaviour with emacs23 and this key binding.

> When I want to invoke 'find-tag-regexp' function with C-M-., emacs
> invokes 'find-tag' instead.

> However if I execute 'find-tag-regexp' manually (M-x find-tag-regexp),
> it works as expected and emacs tells me that I can use C-M-. key
> binding to invoke this function...

> Now if I ask for a key binding description (C-h k) of C-M-., emacs
> tells me:

>    M-. runs the command find-tag, which is an interactive compiled
> Lisp...

> So it looks like when I press C-M-., emacs interprets this to M-.

Type C-h c (`describe-key-briefly'), followed by C-M-..  (That's C-M-.
followed by a full stop.  You don't type the full stop; I typed it to
indicate the end of my sentence.  Yikes! :-)  This will show you what
key sequence Emacs saw.

> Could anybody tell me why ?

Maybe your keyboard hasn't been set up to generate proper key codes
for C-M-.  Try C-h l `view-lossage' after typing M-. and C-M-..  This
will show you what raw key codes Emacs actually received.

Also, please tell us your operating system and environment.

> Thanks

-- 
Alan Mackenzie (Nuremberg, Germany).



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

* Re: C-M-. (find-tag-regexp) is not working
  2009-03-19  8:43 ` Alan Mackenzie
@ 2009-03-19 10:13   ` Francis Moreau
  2009-03-19 11:25     ` Peter Dyballa
                       ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Francis Moreau @ 2009-03-19 10:13 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

On Mar 19, 9:43 am, Alan Mackenzie <a...@muc.de> wrote:
> Type C-h c (`describe-key-briefly'), followed by C-M-..  (That's C-M-.
> followed by a full stop.  You don't type the full stop; I typed it to
> indicate the end of my sentence.  Yikes! :-)  This will show you what
> key sequence Emacs saw.
>

emacs says: "M-. runs the command find-tag"

Note that I really did type C-M-.

> Maybe your keyboard hasn't been set up to generate proper key codes
> for C-M-.  Try C-h l `view-lossage' after typing M-. and C-M-..  This
> will show you what raw key codes Emacs actually received.

it said: "ESC ." for both which is not really surprising.

So it looks like my keyboard hasn't been set up to generate proper key
codes.

Could you tell me how to do that ?

> Also, please tell us your operating system and environment.

sorry it's on Linux, Fedora 9

thanks


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

* Re: C-M-. (find-tag-regexp) is not working
  2009-03-19 10:13   ` Francis Moreau
@ 2009-03-19 11:25     ` Peter Dyballa
  2009-03-19 11:28     ` Nikolaj Schumacher
       [not found]     ` <mailman.3560.1237462139.31690.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 12+ messages in thread
From: Peter Dyballa @ 2009-03-19 11:25 UTC (permalink / raw)
  To: Francis Moreau; +Cc: help-gnu-emacs


Am 19.03.2009 um 11:13 schrieb Francis Moreau:

> Could you tell me how to do that ?

Run GNU Emacs as X client!

--
Greetings

   Pete

  "A designer knows he has arrived at perfection not when there is no  
longer anything to add, but when there is no longer anything to take  
away."
				– Antoine de Saint-Exupéry







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

* Re: C-M-. (find-tag-regexp) is not working
  2009-03-19 10:13   ` Francis Moreau
  2009-03-19 11:25     ` Peter Dyballa
@ 2009-03-19 11:28     ` Nikolaj Schumacher
       [not found]     ` <mailman.3560.1237462139.31690.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 12+ messages in thread
From: Nikolaj Schumacher @ 2009-03-19 11:28 UTC (permalink / raw)
  To: Francis Moreau; +Cc: help-gnu-emacs

Francis Moreau <francis.moro@gmail.com> wrote:

>> Also, please tell us your operating system and environment.
>
> sorry it's on Linux, Fedora 9

Are you running Emacs in a terminal?

regards,
Nikolaj Schumacher




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

* Re: C-M-. (find-tag-regexp) is not working
       [not found]     ` <mailman.3560.1237462139.31690.help-gnu-emacs@gnu.org>
@ 2009-03-19 12:45       ` Francis Moreau
  2009-03-19 14:52         ` Teemu Likonen
  0 siblings, 1 reply; 12+ messages in thread
From: Francis Moreau @ 2009-03-19 12:45 UTC (permalink / raw)
  To: help-gnu-emacs

On Mar 19, 12:28 pm, Nikolaj Schumacher <m...@nschum.de> wrote:
> Francis Moreau <francis.m...@gmail.com> wrote:
> >> Also, please tell us your operating system and environment.
>
> > sorry it's on Linux, Fedora 9
>
> Are you running Emacs in a terminal?
>

yes I use emacs -nw in a gnome terminal


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

* Re: C-M-. (find-tag-regexp) is not working
  2009-03-19 12:45       ` Francis Moreau
@ 2009-03-19 14:52         ` Teemu Likonen
  2009-03-19 18:33           ` Alan Mackenzie
  2009-03-19 20:20           ` Francis Moreau
  0 siblings, 2 replies; 12+ messages in thread
From: Teemu Likonen @ 2009-03-19 14:52 UTC (permalink / raw)
  To: help-gnu-emacs

On 2009-03-19 05:45 (-0700), Francis Moreau wrote:

> yes I use emacs -nw in a gnome terminal

C-M-. doesn't work in text terminals. Ctrl+<key> combinations require
that actual control character exists for the key. There is no such
character as Ctrl+. so text terminal programs won't receive the key. I
think that only Ctrl+<a-z> and Ctrl+<space> work in terminals. Meta key
is more flexible, though.


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

* Re: C-M-. (find-tag-regexp) is not working
  2009-03-19 14:52         ` Teemu Likonen
@ 2009-03-19 18:33           ` Alan Mackenzie
  2009-03-19 20:13             ` Peter Dyballa
                               ` (2 more replies)
  2009-03-19 20:20           ` Francis Moreau
  1 sibling, 3 replies; 12+ messages in thread
From: Alan Mackenzie @ 2009-03-19 18:33 UTC (permalink / raw)
  To: help-gnu-emacs

Teemu Likonen <tlikonen@iki.fi> wrote:
> On 2009-03-19 05:45 (-0700), Francis Moreau wrote:

>> yes I use emacs -nw in a gnome terminal

> C-M-. doesn't work in text terminals. Ctrl+<key> combinations require
> that actual control character exists for the key. There is no such
> character as Ctrl+. so text terminal programs won't receive the key. I
> think that only Ctrl+<a-z> and Ctrl+<space> work in terminals. Meta key
> is more flexible, though.

Quick question: is a "gnome terminal" like a Linux virtual terminal when
it comes to the keyboard?  E.g., does <up> generate "ESC [ A"?

I run Emacs on a virtual terminal, and I have a keyboard enhancement
that gives me access to any key combination I need.  Perhaps this would
work for gnome terminal.

-- 
Alan Mackenzie (Nuremberg, Germany).



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

* Re: C-M-. (find-tag-regexp) is not working
  2009-03-19 18:33           ` Alan Mackenzie
@ 2009-03-19 20:13             ` Peter Dyballa
       [not found]             ` <mailman.3592.1237493626.31690.help-gnu-emacs@gnu.org>
  2009-03-22 20:12             ` Francis Moreau
  2 siblings, 0 replies; 12+ messages in thread
From: Peter Dyballa @ 2009-03-19 20:13 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: help-gnu-emacs


Am 19.03.2009 um 19:33 schrieb Alan Mackenzie:

> I run Emacs on a virtual terminal

What is a "virtual terminal?" Are you running 'emacs -nw' in a *term*  
buffer inside GNU Emacs? Wouldn't this work?

--
Greetings

   Pete

Imbecility, n.:
	A kind of divine inspiration, or sacred fire affecting
	censorious critics of this dictionary.
			– Ambrose Bierce: _The Devil's Dictionary_





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

* Re: C-M-. (find-tag-regexp) is not working
  2009-03-19 14:52         ` Teemu Likonen
  2009-03-19 18:33           ` Alan Mackenzie
@ 2009-03-19 20:20           ` Francis Moreau
  1 sibling, 0 replies; 12+ messages in thread
From: Francis Moreau @ 2009-03-19 20:20 UTC (permalink / raw)
  To: help-gnu-emacs

Teemu Likonen <tlikonen@iki.fi> writes:

> C-M-. doesn't work in text terminals. Ctrl+<key> combinations require
> that actual control character exists for the key. There is no such
> character as Ctrl+. so text terminal programs won't receive the key. I
> think that only Ctrl+<a-z> and Ctrl+<space> work in terminals. Meta
> key is more flexible, though.

Though C-\ and C-/ work fine.

I also noted that if I configure C-M-. as a gnome shortcut for switching
to tab 2 (for example) then it works.

-- 
Francis


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

* Re: C-M-. (find-tag-regexp) is not working
       [not found]             ` <mailman.3592.1237493626.31690.help-gnu-emacs@gnu.org>
@ 2009-03-20 22:31               ` Alan Mackenzie
  0 siblings, 0 replies; 12+ messages in thread
From: Alan Mackenzie @ 2009-03-20 22:31 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

Peter Dyballa <Peter_Dyballa@web.de> wrote:

> Am 19.03.2009 um 19:33 schrieb Alan Mackenzie:

>> I run Emacs on a virtual terminal

> What is a "virtual terminal?" Are you running 'emacs -nw' in a *term*  
> buffer inside GNU Emacs? Wouldn't this work?

A "virtual terminal" is how you normally run Linux if you don't use
X-Windows.  <Alt>-<F1>, ..., <Alt>-<F6> switches between them, you get
to one from within X with, e.g. <Ctrl>-<Alt>-<F1>.

"-nw" is meaningless when starting Emacs from a Linux virtual terminal.

> --
> Greetings

>   Pete

-- 
Alan Mackenzie (Nuernberg).



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

* Re: C-M-. (find-tag-regexp) is not working
  2009-03-19 18:33           ` Alan Mackenzie
  2009-03-19 20:13             ` Peter Dyballa
       [not found]             ` <mailman.3592.1237493626.31690.help-gnu-emacs@gnu.org>
@ 2009-03-22 20:12             ` Francis Moreau
  2 siblings, 0 replies; 12+ messages in thread
From: Francis Moreau @ 2009-03-22 20:12 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

Alan Mackenzie <acm@muc.de> writes:

> Teemu Likonen <tlikonen@iki.fi> wrote:
>> On 2009-03-19 05:45 (-0700), Francis Moreau wrote:
>
>>> yes I use emacs -nw in a gnome terminal
>
>> C-M-. doesn't work in text terminals. Ctrl+<key> combinations require
>> that actual control character exists for the key. There is no such
>> character as Ctrl+. so text terminal programs won't receive the key. I
>> think that only Ctrl+<a-z> and Ctrl+<space> work in terminals. Meta key
>> is more flexible, though.
>
> Quick question: is a "gnome terminal" like a Linux virtual terminal when
> it comes to the keyboard?  E.g., does <up> generate "ESC [ A"?
>
> I run Emacs on a virtual terminal, and I have a keyboard enhancement
> that gives me access to any key combination I need.  Perhaps this would
> work for gnome terminal.

Could you tell me more about your "keyboard enhancement" ?

Thanks
-- 
Francis


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

end of thread, other threads:[~2009-03-22 20:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-19  8:17 C-M-. (find-tag-regexp) is not working Francis Moreau
2009-03-19  8:43 ` Alan Mackenzie
2009-03-19 10:13   ` Francis Moreau
2009-03-19 11:25     ` Peter Dyballa
2009-03-19 11:28     ` Nikolaj Schumacher
     [not found]     ` <mailman.3560.1237462139.31690.help-gnu-emacs@gnu.org>
2009-03-19 12:45       ` Francis Moreau
2009-03-19 14:52         ` Teemu Likonen
2009-03-19 18:33           ` Alan Mackenzie
2009-03-19 20:13             ` Peter Dyballa
     [not found]             ` <mailman.3592.1237493626.31690.help-gnu-emacs@gnu.org>
2009-03-20 22:31               ` Alan Mackenzie
2009-03-22 20:12             ` Francis Moreau
2009-03-19 20:20           ` Francis Moreau

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.