From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#5624: 23.1; etags elisp and scheme "=" in names Date: Sat, 10 Jun 2017 19:37:49 -0600 Message-ID: <878tkztic2.fsf@gmail.com> References: <87eikcrkg8.fsf@blah.blah> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1497145155 8497 195.159.176.226 (11 Jun 2017 01:39:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Jun 2017 01:39:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 5624@debbugs.gnu.org To: Kevin Ryde Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 11 03:39:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJrqQ-0001tg-9Z for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Jun 2017 03:39:10 +0200 Original-Received: from localhost ([::1]:60773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJrqV-0007S4-Fy for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jun 2017 21:39:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJrqL-0007Qz-D2 for bug-gnu-emacs@gnu.org; Sat, 10 Jun 2017 21:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJrqI-0000IN-AL for bug-gnu-emacs@gnu.org; Sat, 10 Jun 2017 21:39:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36894) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJrqI-0000IJ-7C for bug-gnu-emacs@gnu.org; Sat, 10 Jun 2017 21:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dJrqH-0004J1-UW for bug-gnu-emacs@gnu.org; Sat, 10 Jun 2017 21:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Jun 2017 01:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5624 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5624-submit@debbugs.gnu.org id=B5624.149714510216503 (code B ref 5624); Sun, 11 Jun 2017 01:39:01 +0000 Original-Received: (at 5624) by debbugs.gnu.org; 11 Jun 2017 01:38:22 +0000 Original-Received: from localhost ([127.0.0.1]:39571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJrpe-0004I7-Eh for submit@debbugs.gnu.org; Sat, 10 Jun 2017 21:38:22 -0400 Original-Received: from mail-it0-f68.google.com ([209.85.214.68]:32808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJrpc-0004Hu-VK for 5624@debbugs.gnu.org; Sat, 10 Jun 2017 21:38:21 -0400 Original-Received: by mail-it0-f68.google.com with SMTP id l6so8973898iti.0 for <5624@debbugs.gnu.org>; Sat, 10 Jun 2017 18:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=AJZc+jK3/ccg4Sv8tZJjjgar+nvVFQlMzISQlaa1rck=; b=Sa/MWPHEJLTgcgulq4SKSBWKF3Lx4eioyYFqaMenjGGFidn9+6upQ7ALwKlyqsqmV1 iCISFfbPcyBkM3XvJ7mif/NbFpOTWz3jL+nP/s86l7Djjq8gs4Bt5mxnU3UBmS1iz+Jy JG5IbW9MwZSZC6EbuH+PPTfJESy2xAsb7MRUPaTYkFzp4+OqQK/2x2NGTUD3nKpOteIg WULmZLrQth4Un/lmohWatVdztVCCf0h042Q5KPGPMSjF/um/EV5VP2SpW8ZNZAKe0An7 FkO56p1xXb9XKIyzUG3NAgC450J98/OAgsk9CvtdPUJeJHJhHHf1qQ5vmzRKwhILkzta 0Qrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=AJZc+jK3/ccg4Sv8tZJjjgar+nvVFQlMzISQlaa1rck=; b=rB1CKGHwMPsVabkY55Ud9IVv04N/E4yJAYRrWJbX66+vXDfHWwsC3qexC1wiLVTiJl 8uX/2wHRgC+CXTKGtploAhkatZEHXLFN9eKANVMOtmjdQJXLYsWNSoNpiApJc6iLfYq0 VgC3SpvoeJdA2g9R2VP4DkHEsXny2YPhUoDOALrvoeGm+45+2HLhuVE89Q6SukBhjUV/ 4LQ8ocoXbfvySx6LKi0Ck0KJ92QlFuLlfgl1/fZzWNvEY5XhkM00mxC5D1OWFvHsICC1 fo4l5u8XyY/dLsLiXkp2rAewrLQ29U7GPF7AC/JrOph6SHTE/EKtI37Zsm9Sw48Vv4Gx D49Q== X-Gm-Message-State: AODbwcBfhe/qC3QiZ58nNP3FN/sx6qBf+2h9cRu1VzjulCUvlajRmT6a CZvz1ybyjRlFOg7F X-Received: by 10.36.22.137 with SMTP id a131mr6256483ita.115.1497145095274; Sat, 10 Jun 2017 18:38:15 -0700 (PDT) Original-Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id h76sm2081433ith.24.2017.06.10.18.38.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Jun 2017 18:38:14 -0700 (PDT) In-Reply-To: <87eikcrkg8.fsf@blah.blah> (Kevin Ryde's message of "Tue, 23 Feb 2010 09:09:59 +1100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:133460 Archived-At: Kevin Ryde writes: > If an elisp defun has an "=" char in its name, etags stops at that point > and the TAGS file doesn't have the whole name. Eg. a foo.el containing > > (defun foo==bar () (message "hi")) > > M-. foo==bar gives > > No tags containing foo==bar > > The same seems to be true of scheme, eg. a foo.scm containing a similar > > (define foo==bar 123) > > The way the tag line comes out means a single "=" at the end of a name, > or any number of them at the start of a name, ends up working, but I > believe it's legal (if unusual) to have them in the middle of a name > too. This appears to be because in etags.c, all languages use the same `notinname' procedure to determine a valid identifier. Shouldn't each language (optionally) use a different procedure to determine the bounds of an identifier? Lisp and Scheme, for instance, would not have '=' in their respective `notinname' procedures.