C-tab buffer switching does not work

Bug #381508 reported by lborgman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nXhtml
Invalid
Medium
Unassigned

Bug Description

I am trying to get the functionality of control-tab from Emacsw32 working in Aquamacs on my Mac. I understand (at least I think) that it is a combination of using swbuff, swbuff-y, and the ourcomments-ido-ctrl-tab functionality from nXhtml. Setting certain combinations of the different modes and variables gives me certain combinations of the different functionality. But I can't get the entire thing working correctly.

Any advise as to how to set the whole combination up?

Thanks.

(I am trying to convert this to a bug report. Let us see how it works...)

Revision history for this message
lborgman (lennart-borgman) wrote :

Oh, the discussions did not follow us here, but at least you seem to have been added as a subscriber to this bug report, Stewart.

I can't see any link to the discussion either so I am adding one here:

  https://answers.launchpad.net/nxhtml/+question/70671

Let us continue the discussion here.

Revision history for this message
lborgman (lennart-borgman) wrote :

Ah, that link was unnecessary, there is a link under "Related questions" to the right.

Changed in nxhtml:
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Stewart (stewartbryson) wrote :

The latest download fixed the problem for me in Aquamacs 1.7 based on Gnu Emacs 22.3.1. I will update with my findings after I have tested the other versions/distros.

Thanks.

Revision history for this message
Stewart (stewartbryson) wrote :

Lennart:

When running Aquamacs 2.0 Beta (which is built on Gnu Emacs 23), I get the following error while loading nxhtml:

"error: Wrong nxml-mode=/Applications/Aquamacs.app/Contents/Resources/site-lisp/edit-modes/nxml/nxml-mode.elc used, please use the one that comes with Emacs"

Remember... Aquamacs is the step-child of Gnu Emacs... but this seems like a Gnu-generated error. I didn't know if you had seen that before.

I'm in good shape on the older Aquamacs... and that works for now.

Thanks.

Revision history for this message
lborgman (lennart-borgman) wrote :

Hi Stewart

That error is intentional. It is not a bug. It is from a check I have added to nXhtml.

It checks if the nxml-mode that comes with Emacs 23 (not yet released) is used or the older standalone nxml-mode. The standalone version only works for Emacs 22 or older.

I have added that test because a lot of people had problem because they used the old nxml-mode with CVS Emacs 23 without beeing aware of it. See for example the bug https://bugs.launchpad.net/nxhtml/+bug/354363

So please just remove the old nxml-mode from Emacs 23 (but use it for Emacs 22).

Then I believe that your problem is solved in the 1.78 release of nXhtml.

Changed in nxhtml:
status: In Progress → Fix Released
Revision history for this message
Stewart (stewartbryson) wrote :

Lennart:

Everything seems to be working now in Aquamacs 1.8, which is based on Gnu Emacs 23.1.50.1, except one thing. Perhaps you can make sense of it... it also occurs in the regular build of Gnu Emacs as well.

Every time I press C-Tab, the emphasis does not skip to the next buffer in the list, but instead, jumps two spots. It happens the first time I press C-Tab, which populates the Mini-Buffer with the list of open buffers, and also it skips two each additional time I press it.

Any ideas?

Revision history for this message
lborgman (lennart-borgman) wrote :

No idea at the moment. Are you using the latest version of nXhtml?

Revision history for this message
lborgman (lennart-borgman) wrote :

Stewart, if you use the left/right arrow keys instead of C-Tab (after the first C-Tab) does the same thing happen?

Changed in nxhtml:
status: Fix Released → In Progress
Revision history for this message
Stewart (stewartbryson) wrote :

No... the arrow keys move across the mini-buffer one item at a time.

Revision history for this message
lborgman (lennart-borgman) wrote :

Hi Stewart, I have not been able to understand this. Or I have forgotten. It has something to do with advice, but I thought that I had fixed this.

I can't do more at the moment, but please try the latest beta and see if the bug is still there. (This beta might break some things, but I am trying to fix those things and release a new version - with some bugs, like this, that I do not have time to fix now.)

Revision history for this message
lborgman (lennart-borgman) wrote :

Hi again Stewart,

I just saw a bug report for Emacs that could have something to do with this:

    http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2402

Could you please look at that and see if it helps?

Revision history for this message
Stewart (stewartbryson) wrote : Re: [Bug 381508] Re: C-tab buffer switching does not work

This looks very, very promising. I'll have a look probably next week and see
how it goes.
Thanks very much Lennart.

Stewart

On Thu, Jul 23, 2009 at 8:22 AM, lborgman <email address hidden> wrote:

> Hi again Stewart,
>
> I just saw a bug report for Emacs that could have something to do with
> this:
>
> http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2402
>
> Could you please look at that and see if it helps?
>
> ** Bug watch added: emacsbugs.donarmstrong.com/ #2402
> http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2402
>
> --
> C-tab buffer switching does not work
> https://bugs.launchpad.net/bugs/381508
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in nXhtml for Emacs: In Progress
>
> Bug description:
> I am trying to get the functionality of control-tab from Emacsw32 working
> in Aquamacs on my Mac. I understand (at least I think) that it is a
> combination of using swbuff, swbuff-y, and the ourcomments-ido-ctrl-tab
> functionality from nXhtml. Setting certain combinations of the different
> modes and variables gives me certain combinations of the different
> functionality. But I can't get the entire thing working correctly.
>
> Any advise as to how to set the whole combination up?
>
> Thanks.
>
>
> (I am trying to convert this to a bug report. Let us see how it works...)
>

Revision history for this message
Stewart (stewartbryson) wrote :

The most recent release of Aquamacs has this fix in it. Thanks much for your
help.

On Thu, Jul 23, 2009 at 9:04 AM, Stewart Bryson <email address hidden>wrote:

> This looks very, very promising. I'll have a look probably next week and
> see how it goes.
> Thanks very much Lennart.
>
> Stewart
>
>
> On Thu, Jul 23, 2009 at 8:22 AM, lborgman <email address hidden>wrote:
>
>> Hi again Stewart,
>>
>> I just saw a bug report for Emacs that could have something to do with
>> this:
>>
>> http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2402
>>
>> Could you please look at that and see if it helps?
>>
>> ** Bug watch added: emacsbugs.donarmstrong.com/ #2402
>> http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2402
>>
>> --
>> C-tab buffer switching does not work
>> https://bugs.launchpad.net/bugs/381508
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in nXhtml for Emacs: In Progress
>>
>> Bug description:
>> I am trying to get the functionality of control-tab from Emacsw32 working
>> in Aquamacs on my Mac. I understand (at least I think) that it is a
>> combination of using swbuff, swbuff-y, and the ourcomments-ido-ctrl-tab
>> functionality from nXhtml. Setting certain combinations of the different
>> modes and variables gives me certain combinations of the different
>> functionality. But I can't get the entire thing working correctly.
>>
>> Any advise as to how to set the whole combination up?
>>
>> Thanks.
>>
>>
>> (I am trying to convert this to a bug report. Let us see how it works...)
>>
>
>

Revision history for this message
lborgman (lennart-borgman) wrote :

Thanks Stewart for telling us where the problem was.

Changed in nxhtml:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.