unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'jimka'" <jimka@rdrop.com>, <help-gnu-emacs@gnu.org>
Subject: RE: emacs shell cursor movement is broken in 22.1
Date: Sun, 16 Mar 2008 12:16:32 -0700	[thread overview]
Message-ID: <001201c8879a$3f0ba420$0600a8c0@us.oracle.com> (raw)
In-Reply-To: <8cace764-a0d1-492f-b409-8c8253aba67e@s13g2000prd.googlegroups.com>

> > > Another example would be if i want to find the last command that
> > > contained a certain word.
> >
> > I haven't followed this thread, but you might be interested 
> > in trying Icicles' comint (shell) mode enhancements. They let
> > you easily complete against pastshellinputs in various ways,
> > to reuse them.
> >
> http://www.emacswiki.org/cgi-bin/wiki/Icicles_-_Other_Search_C
> ommands...
> 
> yes there are lots and lots of interesting modes.  But what i want
> is to search in the buffer, with normal buffer search commands such
> as C-r and C-s, edit the command like a normal buffer, inserting,
> deleting and overwriting, then
> press ENTER to re-execute the command at the next shell prompt.
> 
> fancy completion modes are well and good, but they should not prevent
> basic navigation and editing.

Nothing in Icicles prevents basic navigation and editing.

It sounds like you can already do just what you want, based on your
description, above. What prevents you now from searching with C-r, editing,
and re-executing?

But as I said, I didn't follow the thread (sorry), so it's not clear to me
what you might want beyond what you say above. That's my fault. Just trying
to help. 

FWIW, 'icicle-comint-search' does what you describe above: it searches the
buffer. (But it doesn't use "normal buffer search commands such as C-r and
C-s - it gives you better search features.) When you choose the past command
that you want, you can certainly edit it and then hit ENTER to re-execute.

It's OK if I don't get it - I don't really need to understand your problem
better. If the info I gave helps, great. If not, ignore it. HTH.





      reply	other threads:[~2008-03-16 19:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-13 20:44 emacs shell cursor movement is broken in 22.1 jimka
2008-03-15  2:41 ` wainstead
2008-03-15 15:01   ` jimka
2008-03-26 20:43     ` wainstead
2008-03-26 20:45       ` wainstead
2008-03-16  0:42 ` Jason Rumney
2008-03-16 15:31   ` jimka
2008-03-16 15:49     ` Peter Dyballa
     [not found]     ` <mailman.8981.1205682606.18990.help-gnu-emacs@gnu.org>
2008-03-16 16:03       ` jimka
2008-03-16 16:59     ` Drew Adams
     [not found]     ` <mailman.8984.1205686774.18990.help-gnu-emacs@gnu.org>
2008-03-16 17:51       ` jimka
2008-03-16 19:16         ` Drew Adams [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='001201c8879a$3f0ba420$0600a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=jimka@rdrop.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).