unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13821: which-func-ff-hook errors
       [not found] <CAC4E8a06vbEMpiYPuOrjMGf5R10EqE1DZKT8N3+j6zbHs88cxg@mail.gmail.com>
@ 2013-02-26 18:00 ` Jambunathan K
       [not found]   ` <CAC4E8a0VWkhEe5chd4mqeRxV9jsM4K1zEoquTy5W-FUyBy9cDw@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Jambunathan K @ 2013-02-26 18:00 UTC (permalink / raw)
  To: Nate Schley; +Cc: 13821, cedet-devel


I reported a bug with similar symptoms a few hours ago.

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13821

> Folks,
>
> Every time I open a file, I get the following error:
>
> which-func-ff-hook error: (wrong-type-argument listp unbound)
>
> A quick check shows which-func-ff-hook calls the function ID'd by
> imenu-create-index-function, which is semantic-create-imenu-index.
>
> I don't have the time and elisp skills to diagnose this beyond this:
> the error occurs after the follow sexp is processed and the `or' tests
> are nil and nil
> (semantic-create-imenu-directory-index
> (or stream (semantic-fetch-tags-fast)))
>
> Does anyone have any thoughts about how to resolve this?

-- 





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

* bug#13821: which-func-ff-hook errors
       [not found]   ` <CAC4E8a0VWkhEe5chd4mqeRxV9jsM4K1zEoquTy5W-FUyBy9cDw@mail.gmail.com>
@ 2013-02-26 18:39     ` Jambunathan K
  2013-02-26 21:04       ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Jambunathan K @ 2013-02-26 18:39 UTC (permalink / raw)
  To: Nate Schley; +Cc: 13821, cedet-devel

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]


For me it comes from an Org file that has a heading with no title but
just a bullet.

Here is a simple recipe:

1. emacs -Q
2. M-x which-function-mode
3. C-x C-f debug.org (file attached, outline with no heading)

See the following error 

   which-func-ff-hook error: (wrong-type-argument stringp nil)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: debug.org --]
[-- Type: text/x-org, Size: 15 bytes --]


* 

Something

[-- Attachment #3: Type: text/plain, Size: 1151 bytes --]


Nate Schley <nate.schley@gmail.com> writes:

> Jambunathan -- thanks for the advice. Glad I'm not alone.
>
> FWIW, I've been getting this for many weeks using recent versions of
> CEDET off the bzr branch. I'm using 24.2 on windows.
>
> 2013/2/26 Jambunathan K <kjambunathan@gmail.com>
>
>     I reported a bug with similar symptoms a few hours ago.
>     
>     http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13821
>     
>     
>     
>     > Folks,
>     >
>     > Every time I open a file, I get the following error:
>     >
>     > which-func-ff-hook error: (wrong-type-argument listp unbound)
>     >
>     > A quick check shows which-func-ff-hook calls the function ID'd
>     by
>     > imenu-create-index-function, which is
>     semantic-create-imenu-index.
>     >
>     > I don't have the time and elisp skills to diagnose this beyond
>     this:
>     > the error occurs after the follow sexp is processed and the `or'
>     tests
>     > are nil and nil
>     > (semantic-create-imenu-directory-index
>     > (or stream (semantic-fetch-tags-fast)))
>     >
>     > Does anyone have any thoughts about how to resolve this?
>     
>     --

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

* bug#13821: which-func-ff-hook errors
  2013-02-26 18:39     ` Jambunathan K
@ 2013-02-26 21:04       ` Bastien
  0 siblings, 0 replies; 3+ messages in thread
From: Bastien @ 2013-02-26 21:04 UTC (permalink / raw)
  To: Jambunathan K; +Cc: 13821, cedet-devel, Nate Schley

Hi Jambunathan,

Jambunathan K <kjambunathan@gmail.com> writes:

> For me it comes from an Org file that has a heading with no title but
> just a bullet.
>
> Here is a simple recipe:
>
> 1. emacs -Q
> 2. M-x which-function-mode
> 3. C-x C-f debug.org (file attached, outline with no heading)
>
> See the following error 
>
>    which-func-ff-hook error: (wrong-type-argument stringp nil)

For this recipe, it was a bug in `org-imenu-get-tree',
now fixed.  Thanks for reporting it!

-- 
 Bastien





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

end of thread, other threads:[~2013-02-26 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAC4E8a06vbEMpiYPuOrjMGf5R10EqE1DZKT8N3+j6zbHs88cxg@mail.gmail.com>
2013-02-26 18:00 ` bug#13821: which-func-ff-hook errors Jambunathan K
     [not found]   ` <CAC4E8a0VWkhEe5chd4mqeRxV9jsM4K1zEoquTy5W-FUyBy9cDw@mail.gmail.com>
2013-02-26 18:39     ` Jambunathan K
2013-02-26 21:04       ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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