emacs-pretest-bug
[Top][All Lists]
Advanced

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

Which-function no longer works when imenu-sort-function not nil


From: Richard . G . Bielawski
Subject: Which-function no longer works when imenu-sort-function not nil
Date: Mon, 16 Aug 2004 17:12:12 -0500

When imenu-sort-function's value is non-nil (for example set to
imenu--sort-by-name) 
which-function displays the function whose name is alphabetically highest
prior to point.
For example:
-------------------buffer start
/* int x(); */
int firstFcn();

int secondFcn();

main();

-----------------buffer end
When point enters 'main' which-function continues to display 'secondFcn'
because m is alphabetically prior to s.
If I uncomment int x(); which-function would display 'x' until the end of
the buffer.

Richard Bielawski
612-667-5039

"This message may contain confidential and/or privileged information.  If
you are not the addressee or authorized to receive this for the addressee,
you must not use, copy, disclose, or take any action based on this message
or any information herein.  If you have received this message in error,
please advise the sender immediately by reply e-mail and delete this
message.  Thank you for your cooperation."






reply via email to

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