all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: 14467@debbugs.gnu.org
Subject: bug#14467: 24.3.50; semantic-symref fails to fall back to grep when cscope.out is removed
Date: Sat, 25 May 2013 14:11:27 +0530	[thread overview]
Message-ID: <87d2sfbgeg.fsf@gmail.com> (raw)


1. Setup cscope as symref tool for ~/src/emacs/trunk/src.  

2. C-c , g  intervals_equal

   Make sure that cedet-cscope.el is the symref tool used for producing
   above results.

   For basic help with (1) and (2) steps see
   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14455

3. M-x delete-file RET ~/src/emacs/trunk/src/cscope.files RET
   M-x delete-file RET ~/src/emacs/trunk/src/cscope.out RET

4. C-c , g  intervals_equal

   Note that the search fails with output

      ,----
      | semantic-symref-produce-list-on-results: No references found
      `----

5. Restart Emacs

6. While browsing Emacs C files, do

   C-c , g intervals_equal

   See that the results are produced with grep as the backend.


Expected behaviour: Do away with step (5).  

For example, cscope.out may have been accidentally removed because of
(say) a version control clean operation (like git clean -d -f).  Symref
should do it's try hard to give results and not continue to expect that
the eariler backend is still functional.


In GNU Emacs 24.3.50.3 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2013-05-25 on debian-6.05
Bzr revision: 112729 monnier@iro.umontreal.ca-20130525030804-6onx9rhvib7pv3fc
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
  value of $LANG: en_IN
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t






             reply	other threads:[~2013-05-25  8:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-25  8:41 Jambunathan K [this message]
2002-01-01  0:26 ` bug#14467: 24.3.50; semantic-symref fails to fall back to grep when cscope.out is removed Jambunathan K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2sfbgeg.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=14467@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.