unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: Jambunathan K <kjambunathan@gmail.com>
Subject: solved!, thanks (was: Re: how to force  find-tag  to first show exact hit?)
Date: Tue, 13 Nov 2012 22:12:20 +0100	[thread overview]
Message-ID: <20121113211220.GD2138@boo.workgroup> (raw)
In-Reply-To: <871ufyi74v.fsf@gmail.com>

Hi Jambunathan, Emacs users,
* Jambunathan K <kjambunathan@gmail.com> [13. Nov. 2012]:
> Gregor Zattler <telegraph@gmx.net> writes:
>> if I do find-tag for e.g. `when' the first hit is
>> `quack-when-xemacs', the second `quack-when-gnuemacs', the third
>> `magit-commit-all-when-nothing-staged' ... and only the fourth
>> hit is `when' in subr.el.
>>
>> Is there a way to force find-tag to first show an exact hit?
> 
> As long as your are in .el file, hit C-h f and C-h v while on a
> function/variable and follow the link to the file from within the Help
> buffer.
> 
> Or you can add the following to your .emacs,
> 
>     (find-function-setup-keys)

Great, that's it, especially C-x 4 F.

Thanks a bundle, Gregor


> Then you can do `C-x F' to find a function, `C-x V' to find a variable
> or `C-x K' (for eg, C-x K C-x C-f) will jump directly to the command
> bound to that particular key sequence.
> 
> There are other usefuly binding as below,
> 
>     ,----
>     | (defun find-function-setup-keys ()
>     |   "Define some key bindings for the find-function family of functions."
>     |   (define-key ctl-x-map "F" 'find-function)
>     |   (define-key ctl-x-4-map "F" 'find-function-other-window)
>     |   (define-key ctl-x-5-map "F" 'find-function-other-frame)
>     |   (define-key ctl-x-map "K" 'find-function-on-key)
>     |   (define-key ctl-x-map "V" 'find-variable)
>     |   (define-key ctl-x-4-map "V" 'find-variable-other-window)
>     |   (define-key ctl-x-5-map "V" 'find-variable-other-frame))
>     `----
> 
>> Ciao, Gregor
> 

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-




      reply	other threads:[~2012-11-13 21:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-12 17:54 how to force find-tag to first show exact hit? Gregor Zattler
2012-11-13  2:11 ` Jambunathan K
2012-11-13 21:12   ` Gregor Zattler [this message]

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20121113211220.GD2138@boo.workgroup \
    --to=telegraph@gmx.net \
    --cc=kjambunathan@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.
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).