From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs 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 Message-ID: <87d2sfbgeg.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1369471334 17786 80.91.229.3 (25 May 2013 08:42:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 May 2013 08:42:14 +0000 (UTC) To: 14467@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 25 10:42:12 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UgA3H-0005Wc-HC for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 May 2013 10:42:11 +0200 Original-Received: from localhost ([::1]:47449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgA3H-00020x-64 for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 May 2013 04:42:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgA3B-0001ws-9M for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 04:42:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgA38-0006dh-JY for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 04:42:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgA38-0006dd-Fy for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 04:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UgA46-00058f-7Q for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 04:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 May 2013 08:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14467 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136947136119667 (code B ref -1); Sat, 25 May 2013 08:43:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 May 2013 08:42:41 +0000 Original-Received: from localhost ([127.0.0.1]:33467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UgA3k-000578-L1 for submit@debbugs.gnu.org; Sat, 25 May 2013 04:42:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41754) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UgA3g-00056U-51 for submit@debbugs.gnu.org; Sat, 25 May 2013 04:42:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgA2b-0006ZI-0P for submit@debbugs.gnu.org; Sat, 25 May 2013 04:41:31 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:57021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgA2a-0006Z3-Tr for submit@debbugs.gnu.org; Sat, 25 May 2013 04:41:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgA2Z-0001kp-D5 for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 04:41:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgA2Y-0006Y8-46 for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 04:41:27 -0400 Original-Received: from mail-pb0-x22f.google.com ([2607:f8b0:400e:c01::22f]:47155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgA2X-0006Y0-T8 for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 04:41:26 -0400 Original-Received: by mail-pb0-f47.google.com with SMTP id rr4so5095821pbb.20 for ; Sat, 25 May 2013 01:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=u2sACYn/p5alYEUwCHOTJrEQ/yorzLsJIm3fFyBxHa0=; b=lupoCCLcZ/Vjcpr6Fbdg0SXquX45gq/i8YmHY4PNEUuohSDipAGysaVhiYXiyzLW/o gO2uUAxVZsEzqdEOsqTte5CiY2f41s5QXlPmecaCXIdWgcfAuOCqqLc2SQQlzbIshdJF JanuuBl0W1q4102nuTI6H5ojjlKuNLgmBhI7TR9v4aviNgZLwfjI7uiZJ8+Mv17r2giB Tpw56PZNjShHy0Mj1ffsKKMRuxdHb+5tAzDqo7cO+nynirSv+W06LPCG9nStT1wzG5N6 H9HIPw73irLEaBMriVfeBWsuitXui9toGXQ2TGV8MiJvSMmE6nD/JaoACtMLtvuntnRZ J1qQ== X-Received: by 10.66.151.142 with SMTP id uq14mr22060593pab.50.1369471284835; Sat, 25 May 2013 01:41:24 -0700 (PDT) Original-Received: from debian-6.05 ([115.241.91.190]) by mx.google.com with ESMTPSA id w8sm19708694pbo.9.2013.05.25.01.41.22 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Sat, 25 May 2013 01:41:24 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:74556 Archived-At: 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