all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Programmatically get search direction
@ 2015-02-09 19:02 Tim Johnson
  2015-02-09 19:18 ` Michael Heerdegen
  0 siblings, 1 reply; 3+ messages in thread
From: Tim Johnson @ 2015-02-09 19:02 UTC (permalink / raw
  To: Emacs

Using 24.4.1 -

Is there a way to use elisp to get the direction of the last search?

Example : Use C-s to search for 'string. Is there a flag set to
'forward or equivalent?

URLs to documentation or discussions are welcomed.
thanks
-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com



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

* Re: Programmatically get search direction
  2015-02-09 19:02 Programmatically get search direction Tim Johnson
@ 2015-02-09 19:18 ` Michael Heerdegen
  2015-02-09 20:15   ` Tim Johnson
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Heerdegen @ 2015-02-09 19:18 UTC (permalink / raw
  To: help-gnu-emacs

Tim Johnson <tim@akwebsoft.com> writes:

> Is there a way to use elisp to get the direction of the last search?

The variable `isearch-forward' seems to say that.

Michael.




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

* Re: Programmatically get search direction
  2015-02-09 19:18 ` Michael Heerdegen
@ 2015-02-09 20:15   ` Tim Johnson
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Johnson @ 2015-02-09 20:15 UTC (permalink / raw
  To: help-gnu-emacs

* Michael Heerdegen <michael_heerdegen@web.de> [150209 10:28]:
> Tim Johnson <tim@akwebsoft.com> writes:
> 
> > Is there a way to use elisp to get the direction of the last search?
> 
> The variable `isearch-forward' seems to say that.
  That's it!
  Thank you for the solution.
  cheers
-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com



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

end of thread, other threads:[~2015-02-09 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-09 19:02 Programmatically get search direction Tim Johnson
2015-02-09 19:18 ` Michael Heerdegen
2015-02-09 20:15   ` Tim Johnson

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.