unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Davis Herring" <herring@lanl.gov>
To: rms@gnu.org
Cc: Chris Moore <christopher.ian.moore@gmail.com>, emacs-devel@gnu.org
Subject: Re: shell-resync-dirs changes my cursor position
Date: Mon, 10 Sep 2007 17:36:03 -0700 (PDT)	[thread overview]
Message-ID: <22953.128.165.0.81.1189470963.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <E1IUt6P-00011H-S8@fencepost.gnu.org>

> Is there a clean, simple way of writing it with save-excursion?
> If that way won't work, then there needs to be a comment explaining
> why it won't -- why the extra complexity is needed.

I didn't think there was, because point needs to be restored to a
different location in the buffer (after more output from the process), but
minimal testing seems to suggest that it works because the original text
is left in the buffer (just with more inserted before it).  OP, if you
don't know what we mean, just ask me off-list.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.

  reply	other threads:[~2007-09-11  0:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-10 12:07 shell-resync-dirs changes my cursor position Chris Moore
2007-09-10 12:21 ` Chris Moore
2007-09-10 19:17   ` Davis Herring
2007-09-10 23:55   ` Richard Stallman
2007-09-11  0:36     ` Davis Herring [this message]
2007-09-11 10:36       ` Chris Moore
2007-09-12  8:46         ` Richard Stallman
2007-09-13  7:26           ` Glenn Morris

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=22953.128.165.0.81.1189470963.squirrel@webmail.lanl.gov \
    --to=herring@lanl.gov \
    --cc=christopher.ian.moore@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).