unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 17965@debbugs.gnu.org
Subject: bug#17965: 24.3.92; Etags is not recording cl-defun/macro...
Date: Fri, 11 Jul 2014 19:48:41 -0700	[thread overview]
Message-ID: <53C0A209.3080003@cs.ucla.edu> (raw)
In-Reply-To: <87oax1qkah.fsf@gmail.com>

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

Thanks for reporting that.  A simple patch is attached.  This is not a 
regression; Stefan, is it OK to install it into the emacs-24 branch anyway?

[-- Attachment #2: cl-defun.patch --]
[-- Type: text/plain, Size: 415 bytes --]

* etags.c (Lisp_functions): Also record cl-defun etc. (Bug#17965)
=== modified file 'lib-src/etags.c'
--- lib-src/etags.c	2014-01-01 07:43:34 +0000
+++ lib-src/etags.c	2014-07-12 02:40:52 +0000
@@ -4747,6 +4747,9 @@
 	    }
 	}

+      if (strneq (dbp + 1, "cl-", 3) || strneq (dbp + 1, "CL-", 3))
+	dbp += 3;
+
       if (strneq (dbp+1, "def", 3) || strneq (dbp+1, "DEF", 3))
 	{
 	  dbp = skip_non_spaces (dbp);


  reply	other threads:[~2014-07-12  2:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-07 15:07 bug#17965: 24.3.92; Etags is not recording cl-defun/macro Thierry Volpiatto
2014-07-12  2:48 ` Paul Eggert [this message]
2014-07-12  5:02   ` Glenn Morris
2014-07-12 16:31     ` Paul Eggert
2014-07-12 19:12       ` Thierry Volpiatto
2014-07-19  2:29       ` Stefan Monnier

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=53C0A209.3080003@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=17965@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 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).