From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#31086: [PATCH] xref: Make xref-push-marker-stack interactive Date: Wed, 11 Apr 2018 10:28:17 +0300 Message-ID: <03a652db-35e5-2064-fdc8-79b74a0aaa74@yandex.ru> References: <87h8onvq1y.fsf@riseup.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1523431628 25074 195.159.176.226 (11 Apr 2018 07:27:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2018 07:27:08 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 To: George Kadianakis , 31086@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 11 09:27:04 2018 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 1f6A9n-0006Nz-4j for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Apr 2018 09:27:04 +0200 Original-Received: from localhost ([::1]:59348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6ABs-0003HL-UR for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Apr 2018 03:29:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6ABm-0003GM-T3 for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2018 03:29:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6ABh-0007yH-W6 for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2018 03:29:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37762) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f6ABh-0007yA-RT for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2018 03:29:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f6ABh-0000Qe-JD for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2018 03:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Apr 2018 07:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31086 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 31086-submit@debbugs.gnu.org id=B31086.15234317081608 (code B ref 31086); Wed, 11 Apr 2018 07:29:01 +0000 Original-Received: (at 31086) by debbugs.gnu.org; 11 Apr 2018 07:28:28 +0000 Original-Received: from localhost ([127.0.0.1]:45659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6ABA-0000Ps-DR for submit@debbugs.gnu.org; Wed, 11 Apr 2018 03:28:28 -0400 Original-Received: from mail-wm0-f48.google.com ([74.125.82.48]:51869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6AB8-0000Pf-LD for 31086@debbugs.gnu.org; Wed, 11 Apr 2018 03:28:26 -0400 Original-Received: by mail-wm0-f48.google.com with SMTP id u189so1995986wmd.1 for <31086@debbugs.gnu.org>; Wed, 11 Apr 2018 00:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=DKbJRbzFbpGhdu8RE/+rhl/CxQ4/IpyFI5W6uoYzgII=; b=PWPNp/fwLXz21xzPbpc05YvCXnjSf8Mr/t8lWyScRBkqR6ZxCm0TaINAo+AId95Sdp 82JcQRQt/8ITyLCWyPObdUvDVLbguaq1cUL/aOgtVUTmLyez1ZRSMTMPU/63I1U4kkHi zEW/N4aVT0ga1/hggZXKV4dvQpAHJ3IwuLdRRJMNNj3zPJBk5QM9fnq0d3VP8LR/yTH1 gbVEUDCW0N8eTvC9EHHp9oPVyBH380Xprrho2YtjFSWaF0UyVIvfhCUrD5rh5a8lRs23 uO7sYyBjCEu2zM+Mo/sBsdyNWq1IY+xb4cYEfGYsze0vaAXXQZY/gG2Jtj4sXklHfgXY O+Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=DKbJRbzFbpGhdu8RE/+rhl/CxQ4/IpyFI5W6uoYzgII=; b=i9bi5BYW5SnKCn+7V0sTcSGeHY5Q/+TZLADeox/U8zmgZUcng2gpQhsQbPz6bVtCbJ C8RmB2ppsgibZmhRCsP89+h1hCeAcNjzAthL5cwj5ChId9/rwHtVw2lvZLdCNGGPeQVQ fjvJXxb0ZXhXPg7HVNw4GBSIm8aDWyfWypZpnUVA5SKY7Wj809kq/Zr6K7hdiWtxkAnw QnsNHm3QM+uCzcIIsFPGSbrwx5Cq/4Wyrndg5EpI46EgD0IKR39WWxDO1MUhD2OZVn9g QJp6q39yKla8VTM2t+h0s9LMocZ9t4+EJzrN5XVgsJblBv4KBZMOQUf1sloeXDnIg8LW l5qg== X-Gm-Message-State: ALQs6tDhkoatQyjgfaKtWrwWt+nll2oFSvpDnYH3nboefvENjgurn7hA Xun/4r8TWDBiqAnj5gpBATELmPBZ X-Google-Smtp-Source: AIpwx4+A1A1eaHdaBALy1/Sj0wYvupJ+zbhny2AW1OPXfHJEwzZH6YjG9VuuhMgUFHVfkmVuFSEefw== X-Received: by 10.80.129.167 with SMTP id 36mr7823545ede.13.1523431700435; Wed, 11 Apr 2018 00:28:20 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.174.23]) by smtp.googlemail.com with ESMTPSA id q10sm588259eda.2.2018.04.11.00.28.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 00:28:19 -0700 (PDT) In-Reply-To: <87h8onvq1y.fsf@riseup.net> Content-Language: en-US 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:145066 Archived-At: Hey! On 4/7/18 3:05 AM, George Kadianakis wrote: > here is a small patch that allows xref users to push markers to the > stack without using xref-find-definitions. This allows users to mark > arbitrary positions in the code that they consider interesting > (e.g. documentation) even tho it's not actually an xref definition. Thank you for the patch, but I'm not quite sure we want this behavior, at least not until we have a common marker stack for many different operations. But let's hear what others think. In the meantime, it should be easy for you to use advice, or define a command in your init file that would call xref-push-marker-stack.