unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* "TAB" in kbd macro doesn't work with "emacs -nw" (LINUX)
@ 2007-02-06 13:08 efrem
  2007-02-06 15:14 ` Harald Hanche-Olsen
  0 siblings, 1 reply; 3+ messages in thread
From: efrem @ 2007-02-06 13:08 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: oleg-zhukov

Hello,

if I put into .emacs this definition

	(fset 'nnn
   [?\C-a ?\C-n tab])
(global-set-key [f1] 'nnn)

then it works well  if I start  like "emacs  ..."
but if I start "emacs -nw " then if I press [f1] then I get the
message like

"After 0 kbd macro iterations: Keyboard macro terminated by a command
ringing the bell"

The same message  comes also if I type  "M-x nnn".

It seems that something wrong with "TAB" for "emacs -nw" mode.
Is it possible to solve this problem?

Regards
Oleg

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

* Re: "TAB" in kbd macro doesn't work with "emacs -nw" (LINUX)
  2007-02-06 13:08 "TAB" in kbd macro doesn't work with "emacs -nw" (LINUX) efrem
@ 2007-02-06 15:14 ` Harald Hanche-Olsen
  2007-02-08  8:52   ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Harald Hanche-Olsen @ 2007-02-06 15:14 UTC (permalink / raw)
  To: help-gnu-emacs

+ "efrem" <oleg-zhukov@hotmail.ru>:

| if I put into .emacs this definition
|
| 	(fset 'nnn
|    [?\C-a ?\C-n tab])
| (global-set-key [f1] 'nnn)
|
| then it works well  if I start  like "emacs  ..."
| but if I start "emacs -nw " then if I press [f1] then I get the
| message like
|
| "After 0 kbd macro iterations: Keyboard macro terminated by a command
| ringing the bell"

If you replace tab by ?\C-i then it should work.

Hint:  Type C-h c TAB in GUI mode.  You should see a message like

TAB (translated from <tab>) runs the command ...

TAB here means the same as ?\C-i while <tab> means the physical TAB key.

-- 
* Harald Hanche-Olsen     <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
  when there is no ground whatsoever for supposing it is true.
  -- Bertrand Russell

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

* Re: "TAB" in kbd macro doesn't work with "emacs -nw" (LINUX)
  2007-02-06 15:14 ` Harald Hanche-Olsen
@ 2007-02-08  8:52   ` Kevin Rodgers
  0 siblings, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2007-02-08  8:52 UTC (permalink / raw)
  To: help-gnu-emacs

Harald Hanche-Olsen wrote:
> If you replace tab by ?\C-i then it should work.

?\t

> Hint:  Type C-h c TAB in GUI mode.  You should see a message like
> 
> TAB (translated from <tab>) runs the command ...
> 
> TAB here means the same as ?\C-i while <tab> means the physical TAB key.

-- 
Kevin Rodgers
Denver, Colorado, USA

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

end of thread, other threads:[~2007-02-08  8:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-06 13:08 "TAB" in kbd macro doesn't work with "emacs -nw" (LINUX) efrem
2007-02-06 15:14 ` Harald Hanche-Olsen
2007-02-08  8:52   ` Kevin Rodgers

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).