all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Finding variables by their value
@ 2003-08-04 17:45 Jim Crossley
  2003-08-04 17:52 ` Jesper Harder
  2003-08-04 21:34 ` Laurent Martelli
  0 siblings, 2 replies; 3+ messages in thread
From: Jim Crossley @ 2003-08-04 17:45 UTC (permalink / raw)


I thought I remembered seeing somewhere that it was possible to search
for lisp variables that had a particular value.  Anyone know if that's
possible?

Like, say my w3m can't get to http://localhost/blah because it's
using a proxy, and I know the hostname of the proxy, so I want to find
the variable that contains the proxy so I can unset it.  What's the
command that says, "Show me the variable whose value contains X".

Thanks,
Jim

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

* Re: Finding variables by their value
  2003-08-04 17:45 Finding variables by their value Jim Crossley
@ 2003-08-04 17:52 ` Jesper Harder
  2003-08-04 21:34 ` Laurent Martelli
  1 sibling, 0 replies; 3+ messages in thread
From: Jesper Harder @ 2003-08-04 17:52 UTC (permalink / raw)


Jim Crossley <jim@crossleys.org> writes:

> I thought I remembered seeing somewhere that it was possible to search
> for lisp variables that had a particular value.  Anyone know if that's
> possible?

Yup,

,----[ C-h f apropos-value RET ]
| apropos-value is an interactive compiled Lisp function in `apropos'.
| It is bound to <menu-bar> <help-menu> <apropos> <apropos-value>.
| (apropos-value APROPOS-REGEXP &optional DO-ALL)
| 
| Show all symbols whose value's printed image matches APROPOS-REGEXP.
| With optional prefix DO-ALL or if `apropos-do-all' is non-nil, also looks
| at the function and at the names and values of properties.
| Returns list of symbols and values found.
| 
`----

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

* Re: Finding variables by their value
  2003-08-04 17:45 Finding variables by their value Jim Crossley
  2003-08-04 17:52 ` Jesper Harder
@ 2003-08-04 21:34 ` Laurent Martelli
  1 sibling, 0 replies; 3+ messages in thread
From: Laurent Martelli @ 2003-08-04 21:34 UTC (permalink / raw)


>>>>> "Jim" == Jim Crossley <jim@crossleys.org> writes:

  Jim> I thought I remembered seeing somewhere that it was possible to
  Jim> search for lisp variables that had a particular value.  Anyone
  Jim> know if that's possible?

M-x apropos-value

-- 
Laurent Martelli                        http://jac.aopsys.com/
laurent@bearteam.org                    http://www.bearteam.org/~laurent/

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

end of thread, other threads:[~2003-08-04 21:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-04 17:45 Finding variables by their value Jim Crossley
2003-08-04 17:52 ` Jesper Harder
2003-08-04 21:34 ` Laurent Martelli

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.