From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fredrik Bulow Newsgroups: gmane.emacs.help Subject: Re: replacing endline Date: Fri, 21 Apr 2006 00:43:46 +1000 Message-ID: <87acagux25.fsf@gmail.com> References: <1145492327.354125.133060@j33g2000cwa.googlegroups.com> <87lku1t3fn.fsf@gmail.com> <7efyk8pxjz.fsf@ada2.unipv.it> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145547632 32230 80.91.229.2 (20 Apr 2006 15:40:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Apr 2006 15:40:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 20 17:40:30 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FWbGa-0006rS-ML for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Apr 2006 17:40:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWbGa-0007l8-4b for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Apr 2006 11:40:24 -0400 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:0vrprJzENzUNlS2IRUW33eCr/5k= Original-NNTP-Posting-Host: 220.245.217.246 X-Original-NNTP-Posting-Host: 220.245.217.246 Original-X-Trace: dnews.tpgi.com.au!tpg.com.au 1145544227 220.245.217.246 (21 Apr 2006 00:43:47 +1100) Original-Lines: 28 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!solnet.ch!solnet.ch!nntp.gblx.net!nntp3.phx1!dnews.tpgi.com.au!tpg.com.au!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:138894 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34513 Archived-At: >> I don't see why this behavior shouldn't be labeled as a bug. > >if you label that behavior as a bug, then you have introduced two >"bugs", not just one. the first bug is in your mental model of how >emacs should work, and the second, the one labeled as suggested. if >you pre-emptively fix the first bug, perhaps the second bug will, as a >result, vanish as well. > >applying the above thought process to various behaviors, you may >be able to find and remove many bugs in the future. good luck! > >thi Thanks for that totally uncalled for insult. Of course, any bug can be removed by changing your expectations on how a program should behave to the way a program actually behaves. "It's not a bug that something crashes, it is suppose to crash, and how do I know that? Well, I tried and it crashed!." Usually, if something behaves in an unexpected way I think it is a bug unless there is a good reason why the current behaviour makes more sense than what I expected. I was kind of hoping that someone would give me the good reason why there should be two different behaviours. So once again, what is the good reason that (query-replace "\n" "#") behave differenty than calling the same function with its keybinding and providing it interactively with the same arguments? /Fredrik