From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.devel Subject: Re: A problem with old bugs Date: Wed, 08 Mar 2017 08:01:45 +0100 Message-ID: <874lz45k12.fsf@jane> References: <87r32h9zj4.fsf@jane> <83h93dnf9h.fsf@gnu.org> <87k28162aa.fsf@jane> <83lgshghe1.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488956535 19729 195.159.176.226 (8 Mar 2017 07:02:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Mar 2017 07:02:15 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 26.0.50 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 08 08:02:11 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 1clVbt-0004Uu-WA for ged-emacs-devel@m.gmane.org; Wed, 08 Mar 2017 08:02:10 +0100 Original-Received: from localhost ([::1]:54519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clVc0-0005WE-4L for ged-emacs-devel@m.gmane.org; Wed, 08 Mar 2017 02:02:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clVbn-0005TA-4K for emacs-devel@gnu.org; Wed, 08 Mar 2017 02:02:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clVbm-0000o1-0W for emacs-devel@gnu.org; Wed, 08 Mar 2017 02:02:03 -0500 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:37651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clVbe-0000fK-E0; Wed, 08 Mar 2017 02:01:54 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 264C9E64F8; Wed, 8 Mar 2017 08:01:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0JAPIu2-K0RJ; Wed, 8 Mar 2017 08:01:48 +0100 (CET) Original-Received: from localhost (static-dwadziewiec-jedenpiec7.echostar.pl [109.232.29.157]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 9272CE6262; Wed, 8 Mar 2017 08:01:48 +0100 (CET) In-reply-to: <83lgshghe1.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.110.48.8 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:212835 Archived-At: On 2017-03-07, at 17:51, Eli Zaretskii wrote: >> From: Marcin Borkowski >> Cc: emacs-devel@gnu.org >> Date: Tue, 07 Mar 2017 07:15:09 +0100 >> >> >> Unfortunately, I have to say that I got very little feedback. There was >> >> some discussion (John's on testing, Eli's on my stupid mistakes etc.), >> >> but my patches/emails are mainly left there undecided. >> > >> > Can you tell which bugs are those? I'd like to look them up and see >> > why they stalled. >> >> As I said above, 21072, 19873 and one patch submitted here: >> https://lists.gnu.org/archive/html/emacs-devel/2017-02/msg00707.html > > I replied to the 2 bug reports, let's hope we will get the ball > rolling again on them. OK, I'll try to make a few final modifications and push them. > As for the patch posted here, I think it makes sense to make such > changes only if they are done in all modes. Doing that only in one > major mode will only confuse people. So if you'd like to pursue this > change (and I do think it would be a good change), please make the > change in a way that will produce similar behavior in all the other > modes with define their beginning-of-defun functionality. I am not sure whether I understand. The problem was specifically with lisp version of `beginning-of-defun'. With other modes, there is a bit of a mess: some modes set `beginning-of-defun-function' (e.g. js-mode and js2-mode), some rebind C-M-a to their beginning-of-defun (e.g. c-mode). Now, other modes (again, I used c-mode and js2-mode for reference) do various things when arg=0 for beginning-of-defun - e.g. c-mode claims to go back to the current defun's header, js2-mode just pretends that arg is 1 etc. Unifying that (1) might not be the best idea and (2) would require quite a lot of work for all Emacs built-in modes. I could try to do that, but this would take a bit. Also, I do not know many of the languages involved, and I'd prefer not to touch their modes. > Thanks, and sorry about your reports falling through the cracks. No problem, -- Marcin Borkowski