Problem with emacs32 + Ctrl-Tab

View: New views
7 Messages — Rating Filter:   Alert me  

Problem with emacs32 + Ctrl-Tab

by Ulrike Fischer-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I installed yesterday
GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600)
 of 2009-10-14 on LENNART-69DE564 (patched)
on winxp in a power user account.

I have a problem with Ctrl-Tab (C-Tab) to switch between buffers: It
doesn't work at the start of emacs. I get a "<C-tab> not defined"
message. It works as expected as soon as I call once the menu
options->customize emacs32.  What can I do to enable C-tab directly
from the start?


--
Ulrike Fischer




Re: Problem with emacs32 + Ctrl-Tab

by Gary Oberbrunner-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


----- "Ulrike Fischer" <news3@...> wrote:

> I installed yesterday
> GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600)
>  of 2009-10-14 on LENNART-69DE564 (patched)
> on winxp in a power user account.
>
> I have a problem with Ctrl-Tab (C-Tab) to switch between buffers: It
> doesn't work at the start of emacs. I get a "<C-tab> not defined"
> message. It works as expected as soon as I call once the menu
> options->customize emacs32.  What can I do to enable C-tab directly
> from the start?

Where is this binding for C-tab supposed to be defined?  I have no binding for it, even after doing the options->customize thing you mention above.

-- Gary



Re: Problem with emacs32 + Ctrl-Tab

by Lennart Borgman (gmail) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 30, 2009 at 7:17 PM, Gary Oberbrunner <garyo@...> wrote:

>
> ----- "Ulrike Fischer" <news3@...> wrote:
>> I installed yesterday
>> GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600)
>>  of 2009-10-14 on LENNART-69DE564 (patched)
>> on winxp in a power user account.
>>
>> I have a problem with Ctrl-Tab (C-Tab) to switch between buffers: It
>> doesn't work at the start of emacs. I get a "<C-tab> not defined"
>> message. It works as expected as soon as I call once the menu
>> options->customize emacs32.  What can I do to enable C-tab directly
>> from the start?
>
> Where is this binding for C-tab supposed to be defined?  I have no binding for it, even after doing the options->customize thing you mention above.


It is defined in the ido minor mode map. However ido minor mode is
defined a bit differently than normal minor modes so it is a bit hard
to find. (See ourcomments-util.el in nXhtml for how to find it.)

You have to set the C-Tab handling on the page that is opened from the
menus above.


Ulriche, what is the value of ourcomments-ido-ctrl-tab?
Is there any error messages in *Messages* buffer?



Re: Problem with emacs32 + Ctrl-Tab

by Ulrike Fischer-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Fri, 30 Oct 2009 19:36:38 +0100 schrieb Lennart Borgman:

>>> I installed yesterday
>>> GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600)
>>>  of 2009-10-14 on LENNART-69DE564 (patched)
>>> on winxp in a power user account.
>>>
>>> I have a problem with Ctrl-Tab (C-Tab) to switch between buffers: It
>>> doesn't work at the start of emacs. I get a "<C-tab> not defined"
>>> message. It works as expected as soon as I call once the menu
>>> options->customize emacs32.  What can I do to enable C-tab directly
>>> from the start?
 
> Ulriche, what is the value of ourcomments-ido-ctrl-tab?

I'm not very skilled at emacs and don't know yet all the commands
you can use to get messages or values. I found out the following:
If I do at the start of emacs
M-x find-variable ourc<tab>
or
C-h v ourc<tab>
I get the message "no match".

If I then start the emacs32 customization, ourcomments-ido-ctrl-tab
is found and C-h v our... gives:

ourcomments-ido-ctrl-tab is a variable defined in
`ourcomments-util.el'.
Its value is t.

> Is there any error messages in *Messages* buffer?

At the start of emacs the *Messages* buffer contains the following:

Adding c:/Programme/Emacs/EmacsW32/lisp/ to load-path
Loading cua-base...done
Loading recentf...done
Loading c:/Dokumente und
Einstellungen/Ulle/Anwendungsdaten/.recentf...done
Cleaning up the recentf list...done (0 removed)
For information about GNU Emacs and the GNU system, type C-h C-a.

After using the customize menu the following lines are added:

after advising ido
ourcomments-ido-ctrl-tab-activate running
Ido mode enabled
ourcomments-ido-mode-advice running
Mark set
nxhtml-mode


--
Ulrike Fischer




Re: Problem with emacs32 + Ctrl-Tab

by Ulrike Fischer-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Fri, 30 Oct 2009 19:36:38 +0100 schrieb Lennart Borgman:


>>> I have a problem with Ctrl-Tab (C-Tab) to switch between buffers: It
>>> doesn't work at the start of emacs. I get a "<C-tab> not defined"
>>> message. It works as expected as soon as I call once the menu
>>> options->customize emacs32.  What can I do to enable C-tab directly
>>> from the start?



> It is defined in the ido minor mode map. However ido minor mode is
> defined a bit differently than normal minor modes so it is a bit hard
> to find. (See ourcomments-util.el in nXhtml for how to find it.)

I found out that C-Tab works from the start if I enable
"nxhtml-load". Is this the intended behaviour?

--
Ulrike Fischer




Re: Re: Problem with emacs32 + Ctrl-Tab

by Lennart Borgman (gmail) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 9, 2009 at 2:18 PM, Ulrike Fischer <news3@...> wrote:

> Am Fri, 30 Oct 2009 19:36:38 +0100 schrieb Lennart Borgman:
>
>
>>>> I have a problem with Ctrl-Tab (C-Tab) to switch between buffers: It
>>>> doesn't work at the start of emacs. I get a "<C-tab> not defined"
>>>> message. It works as expected as soon as I call once the menu
>>>> options->customize emacs32.  What can I do to enable C-tab directly
>>>> from the start?
>
>
>
>> It is defined in the ido minor mode map. However ido minor mode is
>> defined a bit differently than normal minor modes so it is a bit hard
>> to find. (See ourcomments-util.el in nXhtml for how to find it.)
>
> I found out that C-Tab works from the start if I enable
> "nxhtml-load". Is this the intended behaviour?


I wish it were ... ;-)

It looks like you have found a bug. I have probably forgotten to
autoload something. I will keep it in mind and fix it later. But in
the meantime just set nxhtml-load as you suggest. It does not harm.

Thanks for telling me about this bug, Ulrike.



Re: Re: Problem with emacs32 + Ctrl-Tab

by Ulrike Fischer-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Mon, 9 Nov 2009 15:35:45 +0100 schrieb Lennart Borgman:


>> I found out that C-Tab works from the start if I enable
>> "nxhtml-load". Is this the intended behaviour?
 
 
> I wish it were ... ;-)
 
> It looks like you have found a bug. I have probably forgotten to
> autoload something. I will keep it in mind and fix it later. But in
> the meantime just set nxhtml-load as you suggest. It does not harm.

Next problem: I can't get ctrl+0 (open file) and ctrl+S (save file)
to work. The rebind-key-mode is on, and I toggled all the keys to
on, and the .emacs looks as if they were correctly saved (but I do
find it a bit dubious that there is a "quote"), nevertheless ctrl+S
e.g. starts isearch. C-A + C-W on the other side works fine.

 '(rebind-keys (quote (("MS Windows - often used key bindings" t
(([(control 97)] "C-a on w32 normally means 'select all'. In Emacs
it is `beginning-of-line'." t shift mark-whole-buffer) ([(control
111)] "C-o on w32 normally means 'open file'. In Emacs it is
`open-line'." t shift find-file) ([(control 102)] "C-f is commonly
search on w32. In Emacs it is `forward-char'." t shift
isearch-forward) ([(control 115)] "C-s is normally 'save file' on
w32. In Emacs it is `isearch-forward'." t nil save-buffer)
([(control 119)] "C-w is often something like kill-buffer on w32. In
Emacs it is `kill-region'." t shift kill-buffer) ([(control 112)]
"C-p is nearly always print on w32. In Emacs it is `previous-line'."
t shift hfyview-buffer))))))
 '(rebind-keys-mode t)
 


--
Ulrike Fischer