all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 16653@debbugs.gnu.org
Subject: bug#16653: 24.3.50; unexpected results and errors with semantic completion in c-mode
Date: Sun, 06 Dec 2020 15:41:52 +0100	[thread overview]
Message-ID: <87360jc7yn.fsf@gnus.org> (raw)
In-Reply-To: <87sirxq3q3.fsf@gmail.com> (Thierry Volpiatto's message of "Wed,  05 Feb 2014 11:00:04 +0100")

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> I am trying to provide completion in helm for c-mode.
> Correct me if I am wrong I have no knowledge for C.
>
> 1) First of all, I see no completion at all if semantic-mode is not enabled.

Yes, I don't thing c-mode has any completion by default?

> 2) When semantic-mode is enabled the results I have are:
>    a) sometimes corrects (expected results)
>    b) sometimes totally unrelated to the string at point
>    c) sometimes return error with wrong-type-argument stringp nil.

I tried

emacs -Q lib-src/etags.c
M-x semantic-mode
M->

foo () {
  xnr
}

and then hit M-i after xnr.

Then semantic went off to work for half a minute, and then gave me
a set of completions that looked sensible to me.  So I'm unable to
reproduce this bug.  

> Please don't ask for a recipe, just open a file from emacs src
> directory, enable semantic and start completing.

Since you don't provide a recipe to the bug (or a backtrace), and since
I'm not able to reproduce any bugs when trying to come up with a recipe
myself (and Thierry's email bounces), it doesn't seem likely that
there'll be more progress in this bug report, and I'm closing it.  If
further progress can be made, please respond to the debbugs address, and
we'll reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2020-12-06 14:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05 10:00 bug#16653: 24.3.50; unexpected results and errors with semantic completion in c-mode Thierry Volpiatto
2020-12-06 14:41 ` Lars Ingebrigtsen [this message]

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=87360jc7yn.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=16653@debbugs.gnu.org \
    --cc=thierry.volpiatto@gmail.com \
    /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.