all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* info and help question
@ 2002-10-18 15:21 Rodney Sparapani
  2002-10-21  8:30 ` Stephen J. Turnbull
  2002-10-21 13:30 ` Stefan Monnier <foo@acm.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Rodney Sparapani @ 2002-10-18 15:21 UTC (permalink / raw)


Is there any way to implement the doc-string trick for info with .texi?  
What I mean is:
when you have a source code doc-string, encasing an elisp variable in ` 
` allows
the *Help* user to click on the variable and be taken to a *Help* buffer 
on that
variable (and it works for functions too I think).  But, in info when 
you try to
do the same it just shows you the variable encased, but it's not 
highlighted and
clicking on it does nothing.  Now I realize we are talking about two 
different
parts, help and info, but can't they talk to each other? 

-- 
Rodney Sparapani              Medical College of Wisconsin
Sr. Biostatistician           Patient Care & Outcomes Research
rsparapa@mcw.edu              http://www.mcw.edu/pcor
Was 'Name That Tune' rigged?  WWLD -- What Would Lombardi Do

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: info and help question
  2002-10-18 15:21 info and help question Rodney Sparapani
@ 2002-10-21  8:30 ` Stephen J. Turnbull
  2002-10-21 13:30 ` Stefan Monnier <foo@acm.com>
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen J. Turnbull @ 2002-10-21  8:30 UTC (permalink / raw)


>>>>> "Rodney" == Rodney Sparapani <rsparapa@mcw.edu> writes:

    Rodney> Now I realize we are talking about two different parts,
    Rodney> help and info, but can't they talk to each other? --

No.  Help can (and does, at least on GNU Emacs) call up info pages.
That's OK, because Help is only used inside Emacs.

Texinfo is multitargeted (hardcopy, Emacs Info mode, standalone Info,
and HTML, at least); we really don't want to put features in that are
specific to a single target.

However, you could easily bind `describe-function' to a mouse gesture,
and that would pick up the function at point.

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
 My nostalgia for Icon makes me forget about any of the bad things.  I don't
have much nostalgia for Perl, so its faults I remember.  Scott Gilbert c.l.py

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: info and help question
  2002-10-18 15:21 info and help question Rodney Sparapani
  2002-10-21  8:30 ` Stephen J. Turnbull
@ 2002-10-21 13:30 ` Stefan Monnier <foo@acm.com>
  2002-10-21 17:31   ` Rodney Sparapani
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Monnier <foo@acm.com> @ 2002-10-21 13:30 UTC (permalink / raw)


>>>>> "Rodney" == Rodney Sparapani <rsparapa@mcw.edu> writes:
> when you have a source code doc-string, encasing an elisp variable in ` `
> allows the *Help* user to click on the variable and be taken to a *Help*
> buffer on that variable (and it works for functions too I think).  But, in
> info when you try to do the same it just shows you the variable encased,
> but it's not highlighted and clicking on it does nothing.  Now I realize
> we are talking about two different parts, help and info, but can't they
> talk to each other?

I believe that what you can do right now is `C-h f RET' and `C-h v RET'
since they both default to "the symbol under point".
It's not as neat as mouse-clicking, but you might want to try binding
it those things to mouse events.


        Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: info and help question
  2002-10-21 13:30 ` Stefan Monnier <foo@acm.com>
@ 2002-10-21 17:31   ` Rodney Sparapani
  0 siblings, 0 replies; 4+ messages in thread
From: Rodney Sparapani @ 2002-10-21 17:31 UTC (permalink / raw)


Hmmm.   I noticed that button2 and button3 are used by info-mode, but 
not button1.  So, would it make sense to have button1 default to C-h v? 
 Also, button3 doesn't seem to be very useful, would it make more sense 
to have button3 default to C-h f?  

-- 
Rodney Sparapani              Medical College of Wisconsin
Sr. Biostatistician           Patient Care & Outcomes Res.
rsparapa@mcw.edu              http://www.mcw.edu/pcor
Was 'Name That Tune' rigged?  WWLD -- What Would Lombardi Do

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-21 17:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-18 15:21 info and help question Rodney Sparapani
2002-10-21  8:30 ` Stephen J. Turnbull
2002-10-21 13:30 ` Stefan Monnier <foo@acm.com>
2002-10-21 17:31   ` Rodney Sparapani

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.