From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#26037: 25.1; perl-mode add syntax support for subroutine signatures Date: Sat, 18 Mar 2017 11:58:46 -0400 Message-ID: <87o9wy4lvt.fsf@users.sourceforge.net> References: <87bmt259m6.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1489852700 4832 195.159.176.226 (18 Mar 2017 15:58:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 18 Mar 2017 15:58:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: 26037@debbugs.gnu.org To: =?UTF-8?Q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8_?= =?UTF-8?Q?=D0=9A=D0=BE=D0=BB=D0=B5=D0=B2?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 18 16:58:15 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 1cpGk4-00007w-Eh for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Mar 2017 16:58:08 +0100 Original-Received: from localhost ([::1]:53765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpGk9-0001BJ-US for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Mar 2017 11:58:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpGk1-0001Ad-Of for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2017 11:58:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpGjy-0000lA-IZ for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2017 11:58:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35924) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cpGjy-0000kw-Ef for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2017 11:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cpGjy-0001sh-8K for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2017 11:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Mar 2017 15:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26037 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26037-submit@debbugs.gnu.org id=B26037.14898526547188 (code B ref 26037); Sat, 18 Mar 2017 15:58:02 +0000 Original-Received: (at 26037) by debbugs.gnu.org; 18 Mar 2017 15:57:34 +0000 Original-Received: from localhost ([127.0.0.1]:34123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpGjW-0001rs-KL for submit@debbugs.gnu.org; Sat, 18 Mar 2017 11:57:34 -0400 Original-Received: from mail-it0-f42.google.com ([209.85.214.42]:37880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpGjU-0001rf-EX for 26037@debbugs.gnu.org; Sat, 18 Mar 2017 11:57:32 -0400 Original-Received: by mail-it0-f42.google.com with SMTP id g138so56949889itb.0 for <26037@debbugs.gnu.org>; Sat, 18 Mar 2017 08:57:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=FsOonmjegpgo+w3ZMnmggYU2R/SUylmTjuVOWm/pt4I=; b=aFi8VIvolXdAJfO6rDL3ilaIkz9YYlo0gPTJVDDuvqNJPWY2FXhWs38nj5mk2vsclf H8SrB1a+jPiPBGiBGYxQcqsaMQE9tTACcZcaHUIzePnBGZ9RXFa5Vzcqh87/F88PeA2v mqP5y6G8M5BhIoTBQ2LAt9EfUkhna7CUwxoLf8/LkTGQZ9MAqvmBueaTZTkR00F8aMfb iMjszB5K+Czz/Hxb1xo52DEzTUZM4/j1/++RwzvXGfRic94YGkMbnzMOvS5zOtlimxvg MI2yqLcXXIeuP/8g32/u4tFF6wTRI1+ZwqBWMY3GIZrSBJluUJ+5d7v8ncMPLXQtSXP2 wBMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=FsOonmjegpgo+w3ZMnmggYU2R/SUylmTjuVOWm/pt4I=; b=KumOoPWufR7O1arNBzSH3/fFLVkuDqy4+oGp+Ecz12jrFezr725fVOH/RnqC8ESmo4 5Vh0xifo67yrzxH4RWHOc0AoK12/ULUM8f+aAKBhD8blxHYNmasejmuR2i/P+fJckoBF dp/L+jqm/Qm34NpLmbOuJT9ftXprIquX6WdLGyefCZq+S6caF4tBHTN/qbZvkx3sOtO2 Xbdp7SU/Kbg6NK9hnfWFPrr6YuxGp4/fVaW9i2oXQIAvvbUaNzPRKAanbeP0rbk7bVO2 /N3DonfrwPxjdf4qG3kjJRvIU+JJx1RWForH0RwuGyMHGmFBNttMJ16V5mTznlTt15Hc mjhg== X-Gm-Message-State: AFeK/H3mjAFoSLKpQ6xBCHSsdjHu2w30Cfdp2AFDRIEzxAkOryMaGiGhmsXfJEzgRKp1Gg== X-Received: by 10.107.56.11 with SMTP id f11mr19608370ioa.131.1489852646817; Sat, 18 Mar 2017 08:57:26 -0700 (PDT) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id e20sm4197239itc.3.2017.03.18.08.57.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 18 Mar 2017 08:57:26 -0700 (PDT) In-Reply-To: ("=?UTF-8?Q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8_?= =?UTF-8?Q?=D0=9A=D0=BE=D0=BB=D0=B5=D0=B2?="'s message of "Sat, 18 Mar 2017 16:24:18 +0200") 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:130700 Archived-At: =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8 =D0=9A=D0=BE=D0=BB=D0=B5=D0=B2 writes: > > After giving some thought to this, I think we can instead > make the regex more strict so that it matches only the > allowed characters in perl's prototypes. The allowed chars > are: $%&*;@[\] > > This is what I have in mind - diff is pasted below. > However, please note the change below doesn't handle > these 3 chars [ / ] I'll add them if you think this is the correct > approach: Yeah, that looks right to me (although I don't know perl very well).