help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Search Next


From: Galen Boyer
Subject: Re: Search Next
Date: 9 Dec 2002 15:35:31 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

On Mon, 09 Dec 2002, kevinr@ihs.com wrote:
> CarlC wrote:
> 
>> "Galen Boyer" <galenboyer@hotpop.com> wrote in message
>> usmx7jiq2.fsf@standardandpoors.com">news:usmx7jiq2.fsf@standardandpoors.com...
>>>Why can't you do C-s C-s again?  It will keep your last search
>>>as the default for the next one, and you can do M-p to get
>>>other searches.
>> This works fine. Can I bind it to a function key?
> 
> 
> Of course:
> 
> 
> (global-set-key [f5] "\C-s\C-s")      ; keyboard macro

I would find C-s C-s quicker than moving to [f5], but, each to
his own.

-- 
Galen Boyer
>From help-gnu-emacs-bounces@gnu.org  Mon Dec  9 17:00:19 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!news.usyd.edu.au!news.une.edu.au!not-for-mail
From: Tim X <timx@spamto.devnul.com>
Newsgroups: gnu.emacs.help
Date: 10 Dec 2002 08:57:40 +1100
Organization: University of New England, NSW, Australia
Lines: 22
Message-ID: <87of7uetyj.fsf@blind-bat.une.edu.au>
References: <49e2e83d.0212091030.7c05b32@posting.google.com>
NNTP-Posting-Host: blind-bat.une.edu.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Xref: shelby.stanford.edu gnu.emacs.help:107906
To: help-gnu-emacs@gnu.org
Subject: Re: detect emacs/xemacs in elisp?
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: timx@spamto.devnul.com
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 09 Dec 2002 22:00:19 -0000

jason_addison@hotmail.com (Jason Addison) writes:

> I have some elisp that works/doesn't work in emacs/xemacs in my
> ".emacs" file. I would like to be able to execute or not execute code
> depending on which type of emacs I'm running. Another way around this
> would be to know how to determine if a function is defined before
> calling it. Any idea on how to do this in elisp? Also, how do you
> determine the version of emacs that is running in elisp?
> 

There is a package called initz which allows you to setup different
initializations depending on what emacs/xemacs flavor you are
running. This package will then control what init files are used
depending on the flavor/version you are starting up.

I'm not sure where to get it, I saw it as one of the packages
available for debian. 


-- 
Tim X.
tcross (at) northnet com au
>From gnu-help-gnu-emacs@m.gmane.org Mon Dec 09 17:01:09 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
        id 18LVxd-000527-00
        for help-gnu-emacs@gnu.org; Mon, 09 Dec 2002 17:01:09 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
        id 18LVxb-00051w-00
        for help-gnu-emacs@gnu.org; Mon, 09 Dec 2002 17:01:08 -0500
Received: from main.gmane.org ([80.91.224.249])
        by monty-python.gnu.org with esmtp (Exim 4.10.13)
        id 18LVxb-00051f-00
        for help-gnu-emacs@gnu.org; Mon, 09 Dec 2002 17:01:07 -0500
Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian))
        id 18LVx1-0007CT-00
        for <help-gnu-emacs@gnu.org>; Mon, 09 Dec 2002 23:00:31 +0100
To: help-gnu-emacs@gnu.org
X-Injected-Via-Gmane: http://gmane.org/
Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian))
        id 18LSE5-00063Y-00
        for <gmane-emacs-help@m.gmane.org>; Mon, 09 Dec 2002 19:01:53 +0100
Path: ID-23066.news.dfncis.de!not-for-mail
From: clemens fischer <ino-qc@spotteswoode.de.eu.org>
Date: Mon, 09 Dec 2002 19:01:27 +0100
Lines: 12
Message-ID: <adjf137s.fsf@ID-23066.news.dfncis.de>
NNTP-Posting-Host: p3e9baadf.dip.t-dialin.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: main.gmane.org 1039456913 23189 62.155.170.223 (9 Dec 2002 18:01:53
        GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Mon, 9 Dec 2002 18:01:53 +0000 (UTC)
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i386-unknown-freebsd4.3)
Cancel-Lock: sha1:STUmI4gdyIY4f/3mEdfN4dxGUsI=
Sender: news <news@main.gmane.org>
Subject: eshell completer for openssl(1)/gpg(1) commands?
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 09 Dec 2002 22:01:10 -0000

i still don't know how to write completers for some external commands
to eshell.  i have them ready for bash, though.  for that, i massage
the output of `<some command> --help' or `openssl
list-standard-commands' and present their output as the possible
results.  when the user types something, i just grep for it to reduce
the possible matches in number.  same goes for the many `./configure'
scripts included in many packages.

could somebody give a skeleton or a FAQ or TFM?  the eshell
documentation and the one for pcomplete is not enough for me.

  clemens





reply via email to

[Prev in Thread] Current Thread [Next in Thread]