From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.devel Subject: Re: transpose-sexps Date: Fri, 5 Jan 2007 01:28:42 +0200 Message-ID: <200701050128.42613.pogonyshev@gmx.net> References: <200701042334.59847.pogonyshev@gmx.net> <200701050002.14238.pogonyshev@gmx.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167953256 23407 80.91.229.12 (4 Jan 2007 23:27:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2007 23:27:36 +0000 (UTC) Cc: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 05 00:27:33 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H2bzb-0006lQ-4t for ged-emacs-devel@m.gmane.org; Fri, 05 Jan 2007 00:27:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2bza-0006Hr-Eu for ged-emacs-devel@m.gmane.org; Thu, 04 Jan 2007 18:27:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H2bzJ-0006Fe-Jh for emacs-devel@gnu.org; Thu, 04 Jan 2007 18:27:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H2bzG-0006DK-Ao for emacs-devel@gnu.org; Thu, 04 Jan 2007 18:27:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2bzG-0006DF-6h for emacs-devel@gnu.org; Thu, 04 Jan 2007 18:27:06 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1H2bzF-0003EM-NI for emacs-devel@gnu.org; Thu, 04 Jan 2007 18:27:06 -0500 Original-Received: (qmail invoked by alias); 04 Jan 2007 23:27:04 -0000 Original-Received: from unknown (EHLO [80.94.234.121]) [80.94.234.121] by mail.gmx.net (mp009) with SMTP; 05 Jan 2007 00:27:04 +0100 X-Authenticated: #16844820 Original-To: emacs-devel@gnu.org User-Agent: KMail/1.7.2 In-Reply-To: Content-Disposition: inline X-Y-GMX-Trusted: 0 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64794 Archived-At: Andreas Schwab wrote: > Paul Pogonyshev 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? As long as other other "sexp" is empty it doesn't make sense to "transpose" with it. Humans are not computers, they will get only confused by it. Or what do you mean by " " sexp? Paul