From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "N. Raghavendra" Newsgroups: gmane.emacs.devel Subject: Re: Test comment-search-backward Date: Wed, 20 Sep 2017 21:40:44 +0530 Message-ID: <87d16lgxkr.fsf@gmail.com> References: <87wp56u4fa.fsf@gmail.com> Reply-To: "N. Raghavendra" NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1505924861 22383 195.159.176.226 (20 Sep 2017 16:27:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Sep 2017 16:27:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 20 18:27:35 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1duhqZ-0005X1-Ln for ged-emacs-devel@m.gmane.org; Wed, 20 Sep 2017 18:27:35 +0200 Original-Received: from localhost ([::1]:49568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duhqh-0004XM-1O for ged-emacs-devel@m.gmane.org; Wed, 20 Sep 2017 12:27:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duhaV-0000GJ-BF for emacs-devel@gnu.org; Wed, 20 Sep 2017 12:11:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duhaR-0006UH-7O for emacs-devel@gnu.org; Wed, 20 Sep 2017 12:10:59 -0400 Original-Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]:54115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1duhaP-0006N5-El for emacs-devel@gnu.org; Wed, 20 Sep 2017 12:10:53 -0400 Original-Received: by mail-pf0-x22a.google.com with SMTP id x78so1746322pff.10 for ; Wed, 20 Sep 2017 09:10:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:user-agent:reply-to :mail-followup-to:date:message-id:mime-version; bh=ONY6RAoOJZKLY0awrW+lG0dpKLaseez1BvPoZ94ej6g=; b=AIrLD1jqoBwtTm3/UlOB9yB7V5M0qSXLyn7jhM/O6j2KoACbnFRlKnBimyTpuJBCw2 V4Yuq6WiWuH2hsCHl37w9KqCQT4//1cw/mmehq7gmmWPpQzGAWbNTI+Ltgy8+d3s+2me HsbzmxDCTN0Lua9qvcFx5un7YdwjNpdePDm0IopYKki3r/ek4K4ikG2mprLCxfPle+QK pq75l2rpwogHSbENmmFe7vaHebP8AINwyxoJwkEFCG+jjC/NAPnj5MubQ+EoXGB+iuGB DgZfnO3d+DUyPS2//c0Vewb/CFnaeSR1kOmyVVOgklpTm8HCkFxUpV7dOhzsfDoZ0sDF KTMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references :user-agent:reply-to:mail-followup-to:date:message-id:mime-version; bh=ONY6RAoOJZKLY0awrW+lG0dpKLaseez1BvPoZ94ej6g=; b=KO0xN8BYAdL23Rj2rKJFqyaGo87jvhXb4r26/rjSNBF6eEz6BRGX4tdDfN0aw44q6F 7CWhzvEmax73vDTvC50T1WMhoNtIU4VX3o8513viq4bl4Rp6To2esi8ymkNX36xDnclh H99g8HdShzol8Mkft2eyyxsImKfnc3KiRYPqCiy4nxBnsXXZ+u10Nc1+LlwX7Ow/6t5y UwNBwxx4WMRkECJUKdBvXlhcQW8s54AMH5WGxajCMWfn+jVnCOfI1drnFMcAYWSxgwLN 7QO0f9D57Bp965Oi5bYRQAn62C5Yqfc6Hp1lg8VJjA6zalhZf1R9wnXTx+Mlo32Ay/ik 2Mmw== X-Gm-Message-State: AHPjjUhAGhlQhShhyK/kuNAyyMsoprEAlDeHdLaHfpQfGcp0o7lN1ing PotgjtE3qvXUMNlXKOUj26Xb9Q== X-Google-Smtp-Source: AOwi7QDcwrLuzT9/L5jnJUZs7EcEcGQ2J+yBKIKeKUsyTn0D2G3Tsr6CXMVj8Z7grNbDXbiftjH/CQ== X-Received: by 10.84.216.24 with SMTP id m24mr2581037pli.205.1505923850699; Wed, 20 Sep 2017 09:10:50 -0700 (PDT) Original-Received: from ailuros (www.hri.res.in. [220.227.103.137]) by smtp.gmail.com with ESMTPSA id s4sm7911591pgr.32.2017.09.20.09.10.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Sep 2017 09:10:48 -0700 (PDT) In-Reply-To: <87wp56u4fa.fsf@gmail.com> (N. Raghavendra's message of "Sun, 10 Sep 2017 17:54:57 +0530") Mail-Followup-To: emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::22a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:218591 Archived-At: At 2017-09-10T17:54:57+05:30, N. Raghavendra wrote: > It looks like `comment-search-backward' does raise an error as promised, > but does not move point to LIMIT from its previous position at the end > of the buffer. I've submitted this as https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28428 The thing is that there's a discrepancy between the docstring of the function and its effects. I think that since the docstring seems to be the only specification of the effects of a function, this mismatch should be removed, either by redefining the function so that its effects conform to the docstring, or by changing the docstring so that it correctly describes the effects of the function under its current definition. Regarding the former, I've submitted a patch and a test with the above bug, but they may be too naive. I hope this discrepancy can be removed before the next release. Cheers, Raghu. -- N. Raghavendra , http://www.retrotexts.net/ Harish-Chandra Research Institute, http://www.hri.res.in/