unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: 14468@debbugs.gnu.org
Subject: bug#14468: 24.3.50; Improve display of semantic-symref
Date: Sat, 25 May 2013 14:34:47 +0530	[thread overview]
Message-ID: <87a9njph00.fsf@gmail.com> (raw)

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


This bug supersedes bug##13549

Improve display of semantic-symref.

1. The symbol being searched goes in to the BUFFER NAME.  I think it
   will be much useful to *also* display all the search params
   (specifically the tag) RIGHT WITHIN the buffer.

2. I find the display offered by cscope (and a mock-up that I created)
   involve lesser overheads. See 

   http://debbugs.gnu.org/cgi/bugreport.cgi?msg=5;filename=grep-proof-of-concept-cf-cscope.png;att=3;bug=13549

   Let me explain:

   1. semantic-symref munges each grep output in to two lines.  One
      displaying the signature of the function that contains the hit.
      Another displaying the actual hit.

   2. cscope (and my mock up) on the other hand, displays JUST the
      function context (and NO signature).  Everything goes in to a
      single line.

  There is too much text in semantic-symref and hence it takes some
  effort to actually see the function context and the text hit with a
  quick glance.

I wish if someone could write a results munger (and also a displayer)
for semantic which mimics what cscope does.  If one wants to actually
look at the signature, one can actually turn ON
`global-semantic-idle-summary-mode' so that signatue can be seen if
needed.


[-- Attachment #2: semantic-symref-using-grep.png --]
[-- Type: image/png, Size: 147156 bytes --]

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


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

Major mode: Symref


             reply	other threads:[~2013-05-25  9:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-25  9:04 Jambunathan K [this message]
2013-11-15  5:07 ` bug#14468: 24.3.50; Improve display of semantic-symref 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87a9njph00.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=14468@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 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).