emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: Andreas Leha <andreas.leha@med.uni-goettingen.de>, emacs-orgmode@gnu.org
Subject: Re: [babel] [PATCH] enhanced org-babel-goto-named-src-block
Date: Wed, 29 Feb 2012 14:48:42 -0500	[thread overview]
Message-ID: <CAHRqSkQX7=BFpGOz5pbW37Mx9wmCDrdzPHZizRQ_2f7zbfLO8Q@mail.gmail.com> (raw)
In-Reply-To: <m1boohy631.fsf@tsdye.com>

[-- Attachment #1: Type: text/plain, Size: 1900 bytes --]

Hello Thomas,

I ran into exactly that question this morning and managed to figure it out.

If I use "emacs -q" then C-c & works as expected and is mapped to
(org-mark-ring-goto & optional N).  However when trying C-c & C-h I find
out that C-c & is a prefix for a few yasnippet commands:

,----
| `yas/minor-mode' Minor Mode Bindings Starting With C-c &:
| key binding
| --- -------
|
| C-c & C-f yas/find-snippets
| C-c & C-n yas/new-snippet
| C-c & C-s yas/insert-snippet
| C-c & C-v yas/visit-snippet-file
`----

Seems this is another place where yas and org don't get along well together

On Wed, Feb 29, 2012 at 11:09, Thomas S. Dye <tsd@tsdye.com> wrote:
> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>> tsd@tsdye.com (Thomas S. Dye) writes:
>>
>>> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>>>
>>>> Hi all,
>>>>
>>>> attached is a patch that enhances org-babel-goto-named-src-block (bound
>>>> to C-c C-v g by default).  Included are two enhancements:
>>>>
>>>>  1. the point is pushed to the org-mark-ring, such that returning with
>>>>     C-c & becomes possible
>>>>  2. the target src block is guessed from
>>>>      a) noweb-reference
>>>>      b) #+call:
>>>>      c) #+results:
>>>>      d) symbol-at-point
>>>>     if one of these is found (in that order)
>>>>
>>>> - Andreas
>>>>
>>>>
>>> Hi all,
>>>
>>> Should C-c & be included in Key Bindings and Useful Functions, Section
>>> 14.11 of the Org Mode manual?  Or, is this a general Emacs thing
>>> documented elsewhere?
>>>
>>> Tom
>>
>> In my opinion, it would be nice to have this listed in the Org Mode
>> manual.
>>
>> - Andreas
>>
>>
>>
> Hi Andreas,
>
> Is C-c & correct here?  On my system I can jump back following the
> instructions:
> Position saved to mark ring, go back with M-x org-mark-ring-goto.
>
> But C-c & waits for more input.
>
> Tom
> --
> Thomas S. Dye
> http://www.tsdye.com
>

[-- Attachment #2: Type: text/html, Size: 4261 bytes --]

  reply	other threads:[~2012-02-29 19:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-22 20:51 [babel] [PATCH] enhanced org-babel-goto-named-src-block Andreas Leha
2012-02-25 16:36 ` Eric Schulte
2012-02-29  0:39 ` Thomas S. Dye
2012-02-29  8:57   ` Andreas Leha
2012-02-29 16:09     ` Thomas S. Dye
2012-02-29 19:48       ` Jonathan Leech-Pepin [this message]
2012-02-29 21:44         ` Sebastien Vauban
2012-02-29 22:24           ` Andreas Leha
2012-02-29 23:52             ` Thomas S. Dye
2012-03-01  8:19               ` Andreas Leha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHRqSkQX7=BFpGOz5pbW37Mx9wmCDrdzPHZizRQ_2f7zbfLO8Q@mail.gmail.com' \
    --to=jonathan.leechpepin@gmail.com \
    --cc=andreas.leha@med.uni-goettingen.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).