emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Friedrich Delgado Friedrichs <friedel@nomaden.org>
To: emacs-orgmode@gnu.org
Subject: Re: Speed commands (was: Release 6.33)
Date: Fri, 20 Nov 2009 15:35:46 +0100	[thread overview]
Message-ID: <20091120143546.GA1227@taupan.ath.cx> (raw)
In-Reply-To: <78C217F4-D3EA-46BA-A237-CA0E54216D5E@uva.nl>


Trying out speedkeys and liking them, I guess I'm going to have a
simple life using org from my phone from now on ;)

Carsten Dominik schrieb:
> In the speed map, yes, there is space, and you can add keys yourself.
> But I would recommend making these with confirmation query.
> (setq org-speed-commands-user
>       '(("A" . (let ((org-archive-default-command
>             'org-archive-to-archive-sibling))
>        (org-archive-subtree-default-with-confirmation)))))

> I am happy to have a discussion what additional
> commands should be present by default.

This is what i'm using:

(("y" . (progn
          (delete-other-windows)
          (recenter-top-bottom 0)))
 ("A" . (if (y-or-n-p "Archive this subtree or entry? ")
          (call-interactively org-archive-subtree)
          (error "Abort")))
  ("," . org-cycle-agenda-files))


There's no function org-archive-subtree-default-with-confirmation and
org-agenda-archive-subtree-with-confirmation complains that I'm not in
the agenda, so I've just adding my own y-or-n-p, since 'A' will
actually move trees to an archive file.

On my phone I get frequently annoyed when I can't see enough because
emacs splits the screen all the time, so a speed key to unsplit and
move the current item to the top of the screen is logical.

I'm not completely happy with 'y', since it makes me think 'yank' but
it's also slightly similar to 'l' and C-l is the default binding.

How about having an alternative keymap with vi-like moving keys? I
hardly ever use the C-b, C-f, C-n, C-p in my regular emacs work
(mostly cursor keys) and so I'm actually more comfortable with using
vi movement. (Because of playing nethack of course, hm, that's a nice
and large fireplace you have there! What's for dinner?)

Oh and the ',' is most obvious, I think.

(Hey, what's with the torches? Oh right, nightime barbecue, haha!)

Kind regards
     Friedel
-- 
        Friedrich Delgado Friedrichs <friedel@nomaden.org>
                             TauPan on Ircnet and Freenode ;)

  parent reply	other threads:[~2009-11-20 14:35 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-13  8:51 Release 6.33 Carsten Dominik
2009-11-13 15:19 ` Daniel Clemente
2009-11-13 17:48 ` Eric S Fraga
2009-11-13 18:42   ` Carsten Dominik
2009-11-13 18:48   ` Carsten Dominik
2009-11-13 19:16     ` Speed commands (was: Release 6.33) Stephan Schmitt
2009-11-13 19:30       ` Carsten Dominik
2009-11-13 20:09         ` Speed commands Stephan Schmitt
2009-11-13 20:30           ` Carsten Dominik
2009-11-14  5:03         ` Dan Davison
2009-11-14  7:51           ` Benjamin Andresen
2009-11-14 15:48             ` Dan Davison
2009-11-15  2:44           ` Dan Davison
2009-11-15 10:54             ` Benjamin Andresen
2009-11-15 13:27             ` Carsten Dominik
2009-11-17 13:20             ` J. David Boyd
2009-11-17 14:44             ` J. David Boyd
2009-11-17 19:23               ` Dan Davison
2009-11-17 19:43                 ` Carsten Dominik
2009-11-18 15:09         ` Jason Dunsmore
2009-11-18 22:54           ` Carsten Dominik
2009-11-20 14:35         ` Friedrich Delgado Friedrichs [this message]
2009-11-20 14:57           ` Speed commands (was: Release 6.33) Carsten Dominik
2009-11-20 16:29             ` Friedrich Delgado Friedrichs
2009-11-20 20:55               ` Eric S Fraga
2009-11-20 17:09             ` Eric S Fraga
2009-11-20 17:09             ` Eric S Fraga
2009-11-20 18:13               ` Speed commands Stephan Schmitt
2009-11-20 20:36                 ` Eric S Fraga
2009-11-20 20:35           ` Speed commands (was: Release 6.33) Raffi R
2009-11-20 23:25             ` Friedrich Delgado Friedrichs
2009-11-20 23:38               ` Friedrich Delgado Friedrichs
2009-11-13 19:41     ` Release 6.33 Dan Davison
2009-11-13 21:30       ` Carsten Dominik
2009-11-13 23:03 ` Sebastian Rose
2009-11-15  7:19   ` Carsten Dominik
2009-11-15 10:02     ` Uwe Jochum
2009-11-15 13:27       ` Carsten Dominik
2009-11-15 14:07         ` Uwe Jochum
2009-11-15 11:37     ` Sebastian Rose

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=20091120143546.GA1227@taupan.ath.cx \
    --to=friedel@nomaden.org \
    --cc=emacs-orgmode@gnu.org \
    /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).