all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: C-c / r key-setting bug (?)
Date: Thu, 21 Oct 2010 22:50:42 +0200	[thread overview]
Message-ID: <4F0270B7-39D0-41D4-ADC2-8CF2C9AF3E5D@gmail.com> (raw)
In-Reply-To: <4CC0354F.8020205@easy-emacs.de>


On Oct 21, 2010, at 2:42 PM, Andreas Röhler wrote:

> [ ... ]
>>>> C-c / will prompt for another key and then dispatch depending on  
>>>> that
>>>> key.
>>>> Many do.
>>>
>>> Hmm, that would fit into the already mentioned coding-style  
>>> category.
>>> Is it wise to do it that way?
>>> For example M-x describe-mode fails telling about these keys.
>>> Are reasons for this?
>>
>> Yes. There are not enough keys, unless I introduce a larger number
>> of full-scale prefix keys. And it is much easier to remember just  
>> `C-c
>> /' and then get a friendly prompt for a number of options. For
>> interactive use, I think this is just perfect.
>>
>> Now, if you want to write programs based on these functions, then you
>> want to have the real command names. This is one of the reasons why I
>> like to have them in the manual, for look up.
>>
>
> Hi,
>
> I'm following, thanks for the explanation.
> Remains a describe-mode bug than (?)
>
>
>>>
>>> Sincerely undecided here, just a question.
>>>
>>>
>>>>
>>>> To simplify you work, you can just leave these keys unchanged in  
>>>> the
>>>> manual,and I will take a look at those later.
>>>
>>> Remains something to do anyway IMHO.
>>>
>>> First a creating command is mentioned, after it says "showing".
>>>
>>> @orgcmd{C-c /,org-sparse-tree}
>>> This prompts for an extra key to select a sparse-tree creating  
>>> command.
>>>
>>> ;;;;;;;
>>>
>>> @kindex C-c / r
>>> @item C-c / r
>>> @vindex org-remove-highlights-with-change
>>> Occur. Prompts for a regexp and shows a sparse tree with all  
>>> matches. If
>>
>> In this end, this should simply be
>>
>> @orgcmd{C-c / r, org-occur}
>
> May you update the doku?
> BTW if the first key branches to other key, would help folks like me  
> to know... Maybe saying: Is a generic key invoking...
>
>>
>> Because the dispatcher command will call this command after "r" has  
>> been
>> pressed.
>>
>> But as I said, I can do these indirect calls pretty easily, I know  
>> most
>> of them by heart.
>>
>
> Thanks. Should get it from var last-command already.
>
>> - Carsten
>>
>>
>
> Still an issue:
>
> No brand of Emacs org-mode knows org-occur here
>
> M-x where-is org-occur
>
> ==>
>
> org-occur is not on any key
>
> Also when C-c / is pressed, there is no `r'-key displayed,
> see screenshot.

As I have been trying to explain during this thread, Emacs does
not know that org-occur is can be reached through `C-c / r'.
So where-is cannot give you a reply.

This is not a bug, it is in the nature of the dispatcher
commands Org-mode uses.

- Carsten

>
>
> Andreas
>
> --
> https://code.launchpad.net/~a-roehler/python-mode/python-mode- 
> components
> https://code.launchpad.net/s-x-emacs-werkstatt/
>
> ;;;;;;;;;;;;;;;;
> In GNU Emacs 23.1.1 (i586-suse-linux-gnu, GTK+ Version 2.20.1)
> of 2010-07-05 on build17
> Windowing system distributor `The X.Org Foundation', version  
> 11.0.10800000
> configured using `configure  '--with-pop' '--without-hesiod' '--with- 
> kerberos' '--with-kerberos5' '--with-xim' '--prefix=/usr' '--mandir=/ 
> usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '-- 
> localstatedir=/var' '--sharedstatedir=/var/lib' '--libexecdir=/usr/ 
> lib' '--with-x' '--with-sound' '--with-sync-input' '--with-xpm' '-- 
> with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-rsvg' '-- 
> with-dbus' '--without-gpm' '--with-x-toolkit=gtk' '--x-includes=/usr/ 
> include' '--x-libraries=/usr/lib:/usr/share/X11' '--with-xft' '-- 
> with-libotf' '--with-m17n-flt' '--build=i586-suse-linux'  
> 'build_alias=i586-suse-linux' 'CC=gcc-4.3' 'CFLAGS=-fomit-frame- 
> pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack- 
> protector -funwind-tables -fasynchronous-unwind-tables -g - 
> D_GNU_SOURCE -std=gnu89 -pipe -Wno-pointer-sign -Wno-unused-variable  
> -Wno-unused-label -Wno-unprototyped-calls -fno-optimize-sibling- 
> calls -DSYSTEM_PURESIZE_EXTRA=55000 	 - 
> DSITELOAD_PURESIZE_EXTRA=10000 ' 'LDFLAGS=-Wl,-O2 -Wl,--hash- 
> size=65521''
>
> Important settings:
>  value of $LC_ALL: nil
>  value of $LC_COLLATE: nil
>  value of $LC_CTYPE: nil
>  value of $LC_MESSAGES: nil
>  value of $LC_MONETARY: nil
>  value of $LC_NUMERIC: nil
>  value of $LC_TIME: nil
>  value of $LANG: de_DE.UTF-8
>  value of $XMODIFIERS: @im=local
>  locale-coding-system: utf-8-unix
>  default-enable-multibyte-characters: t
>
> Major mode: Org
>
> Minor modes in effect:
>  tooltip-mode: t
>  tool-bar-mode: t
>  mouse-wheel-mode: t
>  menu-bar-mode: t
>  file-name-shadow-mode: t
>  global-font-lock-mode: t
>  font-lock-mode: t
>  blink-cursor-mode: t
>  global-auto-composition-mode: t
>  auto-composition-mode: t
>  auto-encryption-mode: t
>  auto-compression-mode: t
>  line-number-mode: t
>  transient-mark-mode: t
>
> Recent input:
> <help-echo> C-x C-f <M-backspace> <M-backspace> . g
> n u <tab> - e m <tab> a l l <tab> <return> C-s r o
> g <backspace> <backspace> <backspace> r o <backspace>
> <backspace> r o g - <backspace> <backspace> <backspace>
> <backspace> o r g - m o d <down> <down> <down> C-e
> C-x C-e <down> C-x C-e C-x C-f r o g - <backspace>
> <backspace> <backspace> <backspace> o r g - <backspace>
> . o r g <return> C-h w o r g - o c c u r <return> M-x
> d e s c r i b e <backspace> <backspace> <backspace>
> <backspace> <backspace> <backspace> <backspace> <backspace>
> r e p o r t - e m a c s - b u <tab> <return>
>
> Recent messages:
> For information about GNU Emacs and the GNU system, type C-h C-a.
> Making completion list...
> .gnu-emacs-all-cvs has auto save data; consider M-x recover-this-file
> Mark saved where search started
> ("~/org-mode/lisp/" "/usr/share/emacs/23.1/site-lisp" "/usr/share/ 
> emacs/23.1/site-lisp/term" "/usr/share/emacs/site-lisp" "/usr/share/ 
> emacs/site-lisp/apel" "/usr/share/emacs/site-lisp/edict" "/usr/share/ 
> emacs/site-lisp/emu" "/usr/share/emacs/site-lisp/flim" "/usr/share/ 
> emacs/site-lisp/nxml-mode" "/usr/share/emacs/site-lisp/psgml" "/usr/ 
> share/emacs/site-lisp/w3m" "/usr/share/emacs/site-lisp/xslide" ...)
> org-mode-einrichtungen
> org.org has auto save data; consider M-x recover-this-file
> OVERVIEW
> Loading vc-cvs...done
> org-occur is not on any key
>

  parent reply	other threads:[~2010-10-21 20:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21 10:37 C-c / r key-setting bug (?) Andreas Röhler
2010-10-21 10:51 ` Carsten Dominik
2010-10-21 11:44   ` Andreas Röhler
2010-10-21 11:52     ` Carsten Dominik
2010-10-21 12:42       ` Andreas Röhler
2010-10-21 13:00         ` Carsten Dominik
2010-10-21 13:34           ` Andreas Röhler
2010-10-21 14:04             ` Carsten Dominik
2010-10-21 14:11               ` Andreas Röhler
2010-10-21 14:31                 ` Carsten Dominik
2010-10-21 14:53                   ` Andreas Röhler
2010-10-21 15:33                     ` Jambunathan K
2010-10-21 16:36                       ` Andreas Röhler
2010-10-21 20:50         ` Carsten Dominik [this message]
2010-10-22  7:40           ` Andreas Röhler
2010-10-22  7:49             ` Carsten Dominik

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

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

  git send-email \
    --in-reply-to=4F0270B7-39D0-41D4-ADC2-8CF2C9AF3E5D@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=andreas.roehler@easy-emacs.de \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.