emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: lngndvs@gmail.com
To: Sven Bretfeld <sven.bretfeld@gmx.ch>,
	Sebastian Rose <sebastian_rose@gmx.de>,
	emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Pop up reference card
Date: Fri, 01 Aug 2008 12:45:23 +1000	[thread overview]
Message-ID: <87bq0dh2rg.fsf@luminosity.i-did-not-set--mail-host-address--so-tickle-me> (raw)


The following was my help for the /Cx-6 keymap.  I cleaned it up a
little, but it seems to also insert an expanded minibuffer on my
system, with a second copy of this momentarily displayed screen.  (The
functions were little utilities for a lexicon project).

Hope it makes it across.

;;;;;;;;;;;;;  HELP FOR \\C-x6 keys  ;;;;;;;;;;;;;;
;;
(defvar my-keys-CX6
  (concat " | \\C-x4.: Goto last focus line        F8: Scientific Names    \n"
          " |                                      F9 : See-section        \n"
          " | \\C-x61:  tc-merge                   F10: fast-1995          \n"
          " | \\C-x62:  tc-twocolumns              F2: Swap-windows                                     \n" 
          " | \\C-x63:  ()                    \\C-xF2   Flipflop windows  \n" 
          " | \\C-x64:  ()                   \\C-x4F2  transpose-windows \n" 
          " | \\C-x65:  move-curly-eol-cmnt  \\C-x45  lex-move-curly (OLD)\n"                       
          " | \\C-x66:  ()                      \n"                       
          " | \\C-x67:  ()                      \n"    
          " | \\C-x68:                          \n"
          " | \\C-x69: lex-remove-curly-brackets-region \n"              
          " | \\C-x60: shell-command-on-region \n"
          " | \\C-x6:: prepend-num-catcode                                  \n"
          " | \\C-x6f10: sort-lines                         \n"
          " | \\C-x6f9: sortex-retro       \\C-x6f8: unsortex-until  \n"
          " | \\C-x4- : focus  \\C-x+: unfocus  \\C--: focus-down  \\M--: focus-up  \n"
	  " | \\C-x60 shell-cmnd-region \n")
  "*String displayed above current line by \\my-function-help].")
;;
;;
(defun my-functions-help-CX6 ()
  "Inserts a reminder of my own functions momentarily above current line, till next keystroke.
The ruler is defined by the value of column-ruler.
 The key typed is executed unless it is SPC."
  (interactive)
  (save-excursion
    (momentary-string-display
     my-keys-CX6
       (save-excursion (point-min) (point))
     nil "Type SPC or any command to erase help.")))
;;
;;
(global-set-key (quote [24 54 f1]) (quote my-functions-help-CX6))

;;; End CX6-HELP


Alan 

             reply	other threads:[~2008-08-01  2:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-01  2:45 lngndvs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-07-31 14:37 Pop up reference card Alan E. Davis
2008-07-31 16:47 ` Sebastian Rose
2008-07-31 23:52   ` Sven Bretfeld
2008-08-01  2:14     ` Alan E. Davis

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=87bq0dh2rg.fsf@luminosity.i-did-not-set--mail-host-address--so-tickle-me \
    --to=lngndvs@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sebastian_rose@gmx.de \
    --cc=sven.bretfeld@gmx.ch \
    /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).