From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.help Subject: Re: ediff refinement issues Date: Sun, 28 Mar 2021 21:48:18 -0700 Message-ID: References: <37A77E4AAFA04D55AE5F755FDFB995F7@us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29638"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 29 06:49:15 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQjpz-0007a1-89 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 29 Mar 2021 06:49:15 +0200 Original-Received: from localhost ([::1]:60260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQjpy-0002Kt-5J for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 29 Mar 2021 00:49:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQjp8-0002Ix-E5 for help-gnu-emacs@gnu.org; Mon, 29 Mar 2021 00:48:22 -0400 Original-Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:46028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQjp6-0007eD-RB for help-gnu-emacs@gnu.org; Mon, 29 Mar 2021 00:48:22 -0400 Original-Received: by mail-lf1-x133.google.com with SMTP id g8so16432849lfv.12 for ; Sun, 28 Mar 2021 21:48:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gi4gXkCb5NCFyg4bG4G6PtssxYyXJ07DYx1/NDQMy9U=; b=bFEWD7q8xRks+DGidOililvTPDvq3hKxT+pyDucxo6Tfl+pJn4hihK+LUqx0Oy+bRA cF7GtILg2stWELJier5nVoW9Q/4EFRN8okhRSZzYKTGTgDvMQ1tF1+6JFCvI+o4hx+26 ujtQsNGL0KkLOCxLMYoOXt4mO8P/C6feUS0LVOvswSmwMUhovgXJjTWBhG50RrryhSzb E5l1TQwYjhI5toc+FzguEDG8LUZR0O3HLUQ+2c6aJ1YBkvH8eTDNwbwdiiI4gj+F0+LV bg/oWaEVnNjVnHy1Y8kQqAu9GXQI7SIbAj9us3SQzWkMDKLdqljFBj8LMNUCQbXuUHeS 9exQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gi4gXkCb5NCFyg4bG4G6PtssxYyXJ07DYx1/NDQMy9U=; b=bd8rpFT9TZ5CS52RLQgiaUBcjiA9ojkV7nV3FNHELVUNDzI/GVdQcbiBK6KLlBNoig rPPiLh3fb/Cyf/2pD6MBLpOFXvlvdQhnkrvSGORuZar33HALdnZcV8KGEy1sjmVVbddH Y54PhH3TLYGc6FAfjF4el8lRqBttDwT6RzV+JDHen0Bv3jSrgorqOuU5D6seZHNlIUB7 aIdZsuX12R44En1csNrbepDJre/P5ZnV1DZk/IYgHuIkb+FQHBpa6I6vmT7qTbEi4RB/ krkOsMT+iaIW3lnL9hVGlfZBoNS/wDFdFTuZ636DjbECn2F1IAsohDj1ypflTgjIi8Wx /n+g== X-Gm-Message-State: AOAM532MH8hOL8ALwSfp95uU4uT/Pr46TMMNXOtdwZCJsJZ+sXTS7Gxn 6opZAnyxpvzflxCRzy9iF5R54rcXroXx7kmlXIw= X-Google-Smtp-Source: ABdhPJx3FDo/2ryRfkHf3lr0b3jPLPI9RZuIm6BJs+g4DiLwwFaaQg7CbewVcTw7J9piApiY8E0XrTwY03GEXoNebC8= X-Received: by 2002:a19:bd7:: with SMTP id 206mr15458795lfl.318.1616993298837; Sun, 28 Mar 2021 21:48:18 -0700 (PDT) Original-Received: by 2002:ab3:7842:0:0:0:0:0 with HTTP; Sun, 28 Mar 2021 21:48:18 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=samologist@gmail.com; helo=mail-lf1-x133.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128743 Archived-At: for purpoes of the test do something like this: # asdfjkansdkljfan ksd fnak nsdflkadsnfkansdkfnakdsnf # aklsfdnakljfnsdkasdnfja sdn fkljad nsfkj ansdkfn aksdjfna # ksjfndk ajdnsf kajsndkfjansdkfjn ja nsdkjfn askdj fnakjs fdnakj # nsdfkaj dns then fill to a narrow fill column. On 3/28/21, Samuel Wales wrote: > On 11/26/11, Drew Adams wrote: >>> 1) When there are only whitespace differences in normal >>> paragraphs, such as by refilling, ediff works well. It >>> says there are only whitespace differences and does not >>> highlight any words. >>> >>> However, if the paragraphs are commented (for example, >>> with ;;; in elisp or # in shell), it highlights the ;;; >>> or the #. it also sometimes highlights words as a side >>> effect. >> >> I don't see that. Maybe give a concrete example. What I see is that >> whitespace >> is either ignored everywhere or it is not ignored at all (toggle this >> with >> `##'). > > you are confusing different features. take a commented paragraph with > a few long lines, save it to a. fill it. save it to b. now do diff > mode on it and also ediff on it. > > you should notice that diff mode correctly notices tht the only > non-whitgespaceish ifference is the comment prefix. ediff thinks > words changed. > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html