[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'C-x 4 a' broken in diff buffer

From: Stefan Monnier
Subject: Re: 'C-x 4 a' broken in diff buffer
Date: Thu, 08 Feb 2007 11:37:05 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux)

>> Hmm... are you sure it worked in Emacs-21?
> Yes.

Sure, sure, sure, in the very same circumstances?

>> There has been changes in this part of the code, but IIRC they're
>> fairly minor.  And in any case we've never made use of the text added by the
>> "-p" flag.

> No, but maybe the text is inadvertantly used in trying to match up the
> function.

That would be a bug, but of course, it could be.

>> If you can find a case that works in Emacs-21 and fails now, it's probably
>> a bug, but then you'll need to give us a precise recipe.

> I've already given one.

> Evaluate (setq diff-switches "-cp")

diff-switches is not used by diff-mode, so this should make no difference.

> Put the diff that I sent earlier in a file temp.diff and 'C-x 4 a" behaves
> as I explained.

C-x 4 a will first look for the corresponding source file and then run C-x
4 a there, so the result depends on the gdb-ui.el file you happen to have in
the same directory.


PS: There was still a bug that I just fixed, which may explain what you
    were seeing, although in my case it manifested itself by signalling an
    error rather than silently ignoring the function name.  Could be due to
    local changes.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]