emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aaron Ecay <aaronecay@gmail.com>
To: Thorsten Jolitz <tjolitz@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Call speed-commands with prefix-arg?
Date: Tue, 23 Sep 2014 18:36:29 -0400	[thread overview]
Message-ID: <87bnq6nevm.fsf@gmail.com> (raw)
In-Reply-To: <87lhpaxa0c.fsf@gmail.com>

Hi Thorsten,

2014ko irailak 23an, Thorsten Jolitz-ek idatzi zuen:
> 
> I get 3 different results trying speed-command ':' with prefix:
> 
>  1. in Org, when edebugging 'org-set-tags-command', C-u : and C-u 4 :
>  both result in speed-command " "

That’s because of the use of last-command-keys-vector, which will get
overwritten in edebug (the “ ” is the space that you used to step
through the function...)

> 
> ,----
> | Result: [32]
> | 
> | Result: 1 (#o1, #x1, ?\C-a)
> | 
> | Result: 0 (#o0, #x0, ?\C-@)
> | 
> | Result: 32 (#o40, #x20, ? )
> | 
> | Result: " "
> | 
> | Result: org-display-outline-path
> `----
> 
>  2. when not edebugging, C-u 4 : seems to work in both Org and Outshine
> 
> -> "All tags realigned to column 0"

Good.  :)

> 
>  3. when doing C-u 4 t in outshine, with
> 
> ,----[ C-h f outshine-todo RET ]
> | outshine-todo is an interactive Lisp function in `outshine.el'.
> | 
> | It is bound to M-# M-t.
> | 
> | (outshine-todo &optional ARG)
> | 
> | Call outorg to trigger `org-todo'.
> `----
> 
> ,----
> | User-defined Speed commands
> | ===========================
> | t   outshine-todo
> `----
> 
> I get:
> 
> ,----
> | tttt;; * ELISP SCRATCH
> `----
> 
> strange ...

Sounds like maybe the patch is not too well integrated into outshine.  I
get expected behavior under these conditions in org.

-- 
Aaron Ecay
PhD candidate, Linguistics
University of Pennsylvania

  reply	other threads:[~2014-09-23 22:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-18 10:25 Call speed-commands with prefix-arg? Thorsten Jolitz
2014-09-23 17:58 ` Aaron Ecay
2014-09-23 19:29   ` Thorsten Jolitz
2014-09-23 20:58     ` Aaron Ecay
2014-09-23 22:11       ` Thorsten Jolitz
2014-09-23 22:36         ` Aaron Ecay [this message]
2014-09-28  3:41           ` Aaron Ecay
2014-09-28  9:00             ` Thorsten Jolitz

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=87bnq6nevm.fsf@gmail.com \
    --to=aaronecay@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tjolitz@gmail.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).