From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Should diff.elisp.xfuncname match cl-lib macros? Date: Mon, 18 Mar 2019 23:02:36 +0200 Organization: LINKOV.NET Message-ID: <87imwg3q8z.fsf@mail.linkov.net> References: <87wol0qecg.fsf@tcd.ie> <87a7hug7ld.fsf@tcd.ie> <83imwiydnr.fsf@gnu.org> <87sgvlzf6b.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="150916"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: "Basil L. Contovounesios" , Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 18 22:24:46 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5zkS-000d5b-In for ged-emacs-devel@m.gmane.org; Mon, 18 Mar 2019 22:24:45 +0100 Original-Received: from localhost ([127.0.0.1]:47686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5zkR-0003D5-IE for ged-emacs-devel@m.gmane.org; Mon, 18 Mar 2019 17:24:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5zjP-0003CN-OK for emacs-devel@gnu.org; Mon, 18 Mar 2019 17:23:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5zjP-0004sI-2M for emacs-devel@gnu.org; Mon, 18 Mar 2019 17:23:39 -0400 Original-Received: from indri.birch.relay.mailchannels.net ([23.83.209.92]:21059) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5zjH-0004ac-Sx; Mon, 18 Mar 2019 17:23:33 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id DAB645E1573; Mon, 18 Mar 2019 21:23:28 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a72.g.dreamhost.com (100-96-7-25.trex.outbound.svc.cluster.local [100.96.7.25]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 8C6225E1A60; Mon, 18 Mar 2019 21:23:28 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a72.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.3); Mon, 18 Mar 2019 21:23:28 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Robust-Belong: 4870b5543cf7553f_1552944208736_2228100425 X-MC-Loop-Signature: 1552944208736:1795111620 X-MC-Ingress-Time: 1552944208736 Original-Received: from pdx1-sub0-mail-a72.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a72.g.dreamhost.com (Postfix) with ESMTP id 3067D806A7; Mon, 18 Mar 2019 14:23:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=oDayOV XfzXxVAUB34uYbUYKxOCs=; b=D7EpRxn8LYfvr8AmV6kauLf3v6H87g07i3Ycdl LS4Nox/ELim/xuyvCnw1YISYtfTDpzATGHb4bM8mYnUwh3T69cdrxQenHUEMAGUJ kcgy5zBmlBrUc9km1d5NHDz3qNlpUx35HkeBVtl3/cKlFP9QkEa9YTL/uCsx7i2J /hYf8= Original-Received: from mail.jurta.org (m91-129-106-13.cust.tele2.ee [91.129.106.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a72.g.dreamhost.com (Postfix) with ESMTPSA id 3EBAD8069A; Mon, 18 Mar 2019 14:23:17 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a72 In-Reply-To: (Stefan Monnier's message of "Sun, 17 Mar 2019 21:14:20 -0400") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddriedugdduhedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtiedrudefnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtiedrudefpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepmhhonhhnihgvrhesihhrohdruhhmohhnthhrvggrlhdrtggrnecuvehluhhsthgvrhfuihiivgeptd X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 23.83.209.92 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:234340 Archived-At: >> Maybe this feature could be used by =E2=80=98C-x v h=E2=80=99 (vc-regi= on-history) >> in case when there is no active region. Currently it signals >> an error "The mark is not active now", but could use the name >> of the current defun for '-L :defun:filename'. > > Wouldn't mark-defun give a better result (i.e. let the major mode > determine the corresponding region rather than rely on Git's xfuncname)= ? I can confirm that 'C-M-h C-x v h' produces the same result as '-L :funcname:filename' for most cases, and is more reliable for ambiguous names like 'next-line'.