From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dima Kogan Newsgroups: gmane.emacs.bugs Subject: bug#23745: 25.0.94; Org: (pop-to-mark-command) doesn't work when using (org-open-at-point) to visit a same-file link Date: Fri, 10 Jun 2016 17:05:09 -0700 Message-ID: <87twh01tfu.fsf@secretsauce.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1465603591 23139 80.91.229.3 (11 Jun 2016 00:06:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jun 2016 00:06:31 +0000 (UTC) To: 23745@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 11 02:06:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bBWRO-0000Dp-N5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Jun 2016 02:06:18 +0200 Original-Received: from localhost ([::1]:45042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBWRN-0000vw-QZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Jun 2016 20:06:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBWRE-0000vo-GP for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2016 20:06:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBWRA-0004KB-81 for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2016 20:06:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBWR7-0004Jv-VN for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2016 20:06:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bBWR7-0005Xp-On for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2016 20:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dima Kogan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Jun 2016 00:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23745 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.146560354021281 (code B ref -1); Sat, 11 Jun 2016 00:06:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Jun 2016 00:05:40 +0000 Original-Received: from localhost ([127.0.0.1]:36333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBWQm-0005XB-Fk for submit@debbugs.gnu.org; Fri, 10 Jun 2016 20:05:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBWQk-0005Wv-MY for submit@debbugs.gnu.org; Fri, 10 Jun 2016 20:05:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBWQe-00048c-PX for submit@debbugs.gnu.org; Fri, 10 Jun 2016 20:05:33 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBWQd-00048S-Ek for submit@debbugs.gnu.org; Fri, 10 Jun 2016 20:05:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBWQb-0000u3-Ay for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2016 20:05:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBWQW-000480-MK for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2016 20:05:28 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:47909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBWQU-000478-8H for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2016 20:05:24 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 74BA320F29 for ; Fri, 10 Jun 2016 20:05:11 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Fri, 10 Jun 2016 20:05:11 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=secretsauce.net; h=content-type:date:from:message-id:mime-version:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=giiN0tVMYfSi07I3NA4HwHXXEuQ =; b=AMLJfTPaLn3TEhN6plIsp9j8yiBT8e4kHxiLRqDp0Yvoi27NqRO4glLiZbs YOHVVq3hicVFQmzDjXMZ9jq4hjpnDnlM0hRwTeV53VJL2IaLTo09Ww6ON/dHyQIT Hx+luba1PF9182WG6pzzM/9qZrmI+UWjeTbaaqgnLgeICNLY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=gi iN0tVMYfSi07I3NA4HwHXXEuQ=; b=S1fMYi9shZD0EllUV4NdrwCXfHQXfB0IpG XwZetNHTdFosmyA+HDlEj38qpzNHOYHXn1gyEQ7Oam1KryLaIz+kKwMHTM3SIqt0 o3J5I3VhMrROxYhQr47OLghohSY+V0yyv1JCV+fmRBb0UeetRjm54yaO5mwnR93n 329CMmj1w= X-Sasl-enc: Ow/gVShNGM7u7vaAD7hM5mwKlpIZMCojxRt4IB5Kv1eh 1465603511 Original-Received: from shorty.local (50-1-153-216.dsl.dynamic.fusionbroadband.com [50.1.153.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 233E4F2022 for ; Fri, 10 Jun 2016 20:05:11 -0400 (EDT) Original-Received: from dima by shorty.local with local (Exim 4.87) (envelope-from ) id 1bBWQH-00051K-Vi for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2016 17:05:09 -0700 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:119402 Archived-At: Hi. Consider this org-mode file: ===================== * aaaa bbbbb * cccc [[aaaa]] ===================== With the point at the [[aaaa]] link, I can visit the aaaa heading with C-c C-o (org-open-at-point), and I can go back to where I was with the org-specific C-c & (org-mark-ring-goto). But I should also be able to go back with C-u C-SPC (effectively pop-to-mark-command), since that works for inside-the-same-buffer jumps in all other emacs context, including non-org ones. I suspect all we would need to do is to (push-mark-command) before we jump in (org-open-at-point). Is this simply forgotten, or was it omitted on purpose? If the former, I'll post a patch. dima