unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
Cc: emacs-devel@gnu.org
Subject: Re: transpose-sexps
Date: Thu, 04 Jan 2007 23:53:48 +0100	[thread overview]
Message-ID: <jeps9u8kub.fsf@sykes.suse.de> (raw)
In-Reply-To: <200701050002.14238.pogonyshev@gmx.net> (Paul Pogonyshev's message of "Fri, 5 Jan 2007 00:02:14 +0200")

Paul Pogonyshev <pogonyshev@gmx.net> writes:

> Stuart D. Herring wrote:
>> It assumes that you are outside of strings or lists, so it saw
>>              " "
>> and
>>               f
>> as your two sexps, and exchanged them.  It's just confusing that it looks
>> like the f was moved into the other string.
>
> It's not just confusing, it's a bug.  If it doesn't work and this is not
> (easily) fixable, make it do nothing or report an error.  Producing confusing
> results is worse than doing nothing.

How can you know that " " and f aren't actually the sexps that are
supposed to be transposed?

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  parent reply	other threads:[~2007-01-04 22:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-04 21:34 transpose-sexps Paul Pogonyshev
2007-01-04 21:48 ` transpose-sexps Stuart D. Herring
2007-01-04 22:02   ` transpose-sexps Paul Pogonyshev
2007-01-04 22:49     ` transpose-sexps Stuart D. Herring
2007-01-04 22:53     ` Andreas Schwab [this message]
2007-01-04 23:28       ` transpose-sexps Paul Pogonyshev
2007-01-05  9:13         ` transpose-sexps Miles Bader
2007-01-05 20:02           ` transpose-sexps Paul Pogonyshev
2007-01-08 18:06             ` transpose-sexps Stuart D. Herring
2007-01-08 21:16               ` transpose-sexps Paul Pogonyshev
2007-01-08 21:22                 ` transpose-sexps Stuart D. Herring
2007-01-09  2:08                   ` transpose-sexps Stefan Monnier
2007-01-08 18:00           ` transpose-sexps Stuart D. Herring
2007-01-05  9:38         ` transpose-sexps Andreas Schwab
2007-01-05  0:30     ` transpose-sexps Richard Stallman

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=jeps9u8kub.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=emacs-devel@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).