From unknown Fri Jun 20 07:25:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#19749 <19749@debbugs.gnu.org> To: bug#19749 <19749@debbugs.gnu.org> Subject: Status: orpheus does not build on mips64 Reply-To: bug#19749 <19749@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:25:33 +0000 retitle 19749 orpheus does not build on mips64 reassign 19749 guix submitter 19749 Andreas Enge severity 19749 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 02 17:28:34 2015 Received: (at submit) by debbugs.gnu.org; 2 Feb 2015 22:28:34 +0000 Received: from localhost ([127.0.0.1]:60772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YIPTt-0008Qb-K3 for submit@debbugs.gnu.org; Mon, 02 Feb 2015 17:28:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55371) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YIPTs-0008QQ-Gs for submit@debbugs.gnu.org; Mon, 02 Feb 2015 17:28:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIPTm-0002Bb-Go for submit@debbugs.gnu.org; Mon, 02 Feb 2015 17:28:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIPTm-0002BX-Et for submit@debbugs.gnu.org; Mon, 02 Feb 2015 17:28:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIPTl-0003lJ-N8 for bug-guix@gnu.org; Mon, 02 Feb 2015 17:28:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIPTi-0002AV-E7 for bug-guix@gnu.org; Mon, 02 Feb 2015 17:28:25 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:50626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIPTi-0002AP-5n for bug-guix@gnu.org; Mon, 02 Feb 2015 17:28:22 -0500 Received: from debian ([82.66.2.95]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0M8dCZ-1XUxrK1AB9-00wHnb; Mon, 02 Feb 2015 23:28:21 +0100 Date: Mon, 2 Feb 2015 23:28:19 +0100 From: Andreas Enge To: bug-guix@gnu.org Subject: orpheus does not build on mips64 Message-ID: <20150202222819.GA26430@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Provags-ID: V03:K0:7Jh6a7kSpwZ406p5qucoA3eZBf7IP79M3yV9fxuuSErqBbBj5+S 8tk/MJyBuGAWaif3n20B0jWDbjnuUl4UY3HCYbU7yVquvfvOEba77X8psDdfBNFmLnvVB9L t41jUrPBySCv8kX+0xQdmsKMEgoNQre0dU5klKYlHYoDtPLCqz+yInzj/pPUsnXMmQwDdPM ++lUBkO85qgBqzsgkEx+g== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, the orpheus package fails to build on mips64 with the following message: checking build system type... ./config.guess: unable to guess system type This script, last modified 2001-07-12, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from ftp://ftp.gnu.org/pub/gnu/config/ Orpheus itself seems to be unmaintained (the last release dates from 2006). I would suggest to either drop the package, or to disable it on mips. Andreas From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 03 01:04:42 2015 Received: (at 19749) by debbugs.gnu.org; 3 Feb 2015 06:04:42 +0000 Received: from localhost ([127.0.0.1]:60885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YIWbK-0003Kd-H5 for submit@debbugs.gnu.org; Tue, 03 Feb 2015 01:04:42 -0500 Received: from world.peace.net ([50.252.239.5]:36359 ident=hope4) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YIWbI-0003KV-6O for 19749@debbugs.gnu.org; Tue, 03 Feb 2015 01:04:40 -0500 Received: from [10.1.10.11] (helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1YIWbB-0002yI-1B; Tue, 03 Feb 2015 01:04:33 -0500 From: Mark H Weaver To: Andreas Enge Subject: Re: bug#19749: orpheus does not build on mips64 References: <20150202222819.GA26430@debian> Date: Tue, 03 Feb 2015 01:04:38 -0500 In-Reply-To: <20150202222819.GA26430@debian> (Andreas Enge's message of "Mon, 2 Feb 2015 23:28:19 +0100") Message-ID: <87a90vcyyx.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19749 Cc: 19749@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Andreas Enge writes: > the orpheus package fails to build on mips64 with the following message: > > checking build system type... ./config.guess: unable to guess system type > This script, last modified 2001-07-12, has failed to recognize > the operating system you are using. It is advised that you > download the most up to date version of the config scripts from > ftp://ftp.gnu.org/pub/gnu/config/ > > Orpheus itself seems to be unmaintained (the last release dates from 2006). The config.guess problem can be easily worked around by passing --build= to configure. I would suggest something similar to what I did in the gmp package to get it working on armhf: (arguments `(#:configure-flags '(;; Build a "fat binary", with routines for several ;; sub-architectures. "--enable-fat" "--enable-cxx" ;; FIXME: gmp-6.0.0a's config.guess fails on ;; multi-core armhf systems. ,@(if (%current-target-system) '() (let ((triplet (nix-system->gnu-triplet (%current-system)))) (list (string-append "--build=" triplet))))))) Would you like to try this? > I would suggest to either drop the package, or to disable it on mips. Please, let's not disable builds on MIPS unless it is clear that it would be a very difficult job to get it working. Mark From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 04 11:21:06 2015 Received: (at 19749) by debbugs.gnu.org; 4 Feb 2015 16:21:06 +0000 Received: from localhost ([127.0.0.1]:34081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YJ2hO-0004vA-4m for submit@debbugs.gnu.org; Wed, 04 Feb 2015 11:21:06 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:53954) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YJ2hM-0004uT-GE for 19749@debbugs.gnu.org; Wed, 04 Feb 2015 11:21:05 -0500 Received: from debian.eduroam.u-bordeaux.fr ([147.210.245.180]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0Lr6Rz-1XfK5j3nal-00eZ9T; Wed, 04 Feb 2015 17:20:25 +0100 Date: Wed, 4 Feb 2015 17:20:21 +0100 From: Andreas Enge To: Mark H Weaver Subject: Re: bug#19749: orpheus does not build on mips64 Message-ID: <20150204162021.GA23747@debian.eduroam.u-bordeaux.fr> References: <20150202222819.GA26430@debian> <87a90vcyyx.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87a90vcyyx.fsf@netris.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Provags-ID: V03:K0:GfP6x8vaXq6s4XjN22PjeWPYJ8kzSIgwVFt/gy+eMpYTJF9DsYN OETup/wAdhzE+JkfKVBDj2z4KaA5OP/LFwnhUrZ20BxGNjvD3pT00nXUTwCe7klhgjX2EEj 4UMpG26P70+X2ihlel0nPhbHf2jexftMm4u+RuJDa0obk26gmWxBG9weoAspQ91QBlg3fBZ n62Bo3IwghuFvAzCbY4Iw== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19749 Cc: 19749@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Tue, Feb 03, 2015 at 01:04:38AM -0500, Mark H Weaver wrote: > The config.guess problem can be easily worked around by passing > --build= to configure. I would suggest something similar to > what I did in the gmp package to get it working on armhf: > (arguments `(#:configure-flags > '(;; Build a "fat binary", with routines for several > ;; sub-architectures. > "--enable-fat" > "--enable-cxx" > > ;; FIXME: gmp-6.0.0a's config.guess fails on > ;; multi-core armhf systems. > ,@(if (%current-target-system) > '() > (let ((triplet > (nix-system->gnu-triplet (%current-system)))) > (list (string-append "--build=" triplet))))))) > Would you like to try this? Alternatively, could we not simply copy a newer config.guess as a patch into the source tree? If yes, what would be preferable? Andreas From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 05 11:11:14 2015 Received: (at 19749) by debbugs.gnu.org; 5 Feb 2015 16:11:15 +0000 Received: from localhost ([127.0.0.1]:34918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YJP1O-0002BD-IY for submit@debbugs.gnu.org; Thu, 05 Feb 2015 11:11:14 -0500 Received: from world.peace.net ([50.252.239.5]:40224 ident=hope6) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YJP1M-0002B4-QP for 19749@debbugs.gnu.org; Thu, 05 Feb 2015 11:11:13 -0500 Received: from [10.1.10.10] (helo=yeeloong.lan) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1YJP1E-0000dA-M3; Thu, 05 Feb 2015 11:11:04 -0500 From: Mark H Weaver To: Andreas Enge Subject: Re: bug#19749: orpheus does not build on mips64 References: <20150202222819.GA26430@debian> <87a90vcyyx.fsf@netris.org> <20150204162021.GA23747@debian.eduroam.u-bordeaux.fr> Date: Thu, 05 Feb 2015 11:08:11 -0500 In-Reply-To: <20150204162021.GA23747@debian.eduroam.u-bordeaux.fr> (Andreas Enge's message of "Wed, 4 Feb 2015 17:20:21 +0100") Message-ID: <878ugcwdck.fsf@yeeloong.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19749 Cc: 19749@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Andreas Enge writes: > On Tue, Feb 03, 2015 at 01:04:38AM -0500, Mark H Weaver wrote: >> The config.guess problem can be easily worked around by passing >> --build= to configure. I would suggest something similar to >> what I did in the gmp package to get it working on armhf: >> (arguments `(#:configure-flags >> '(;; Build a "fat binary", with routines for several >> ;; sub-architectures. >> "--enable-fat" >> "--enable-cxx" >> >> ;; FIXME: gmp-6.0.0a's config.guess fails on >> ;; multi-core armhf systems. >> ,@(if (%current-target-system) >> '() >> (let ((triplet >> (nix-system->gnu-triplet (%current-system)))) >> (list (string-append "--build=" triplet))))))) >> Would you like to try this? > > Alternatively, could we not simply copy a newer config.guess as a patch > into the source tree? If yes, what would be preferable? The patch would be quite large. I think it's cleaner to pass --build. In fact, I think we should pass --build to _all_ builds by default, because on several architectures config.guess looks at /proc/cpuinfo and the output of uname to optimize for the particular CPU in the build machine, which I think we don't want. However, Ludovic resisted and I haven't yet had time to follow up on that. Thanks, Mark From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 09 11:10:53 2015 Received: (at 19749) by debbugs.gnu.org; 9 Feb 2015 16:10:53 +0000 Received: from localhost ([127.0.0.1]:38446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKqvE-0007w8-UC for submit@debbugs.gnu.org; Mon, 09 Feb 2015 11:10:53 -0500 Received: from mail-la0-f48.google.com ([209.85.215.48]:43273) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKqvC-0007vs-Mr for 19749@debbugs.gnu.org; Mon, 09 Feb 2015 11:10:51 -0500 Received: by labhv19 with SMTP id hv19so14346611lab.10 for <19749@debbugs.gnu.org>; Mon, 09 Feb 2015 08:10:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=WW3RYDE0yr9cpcN3opGAezYurAmWAj1jywrPQ7h5W/8=; b=rttHACrZeu/f6KBfHo/DOfVbIAdmddDFD1PxjW8C0wbvSCrwdh4pX8a+Cbxu6unFQ7 2wHpe4/2aPMarC3CGSwKYe4dziIVcu9I9CWrdvHO3ffyGYTBKLrK2vxEr7LMi2YInlqT yBPob1CZ2QIfwNwDwQRH5Sx2ZfA0tkqIKzVw0z2Is7Us/grDt3qVcnrGDmivW/vw7P6C 6DFBM9EFqleDpyub5N49EI7ykoZIliPtWnFzYrK/swGqRaLXjA8D5ZvZkt9QY/nKQxo/ Yv8DPmCzWEjMZzve+QSSDyHGCcOfhTlmL5dQKvKtY4/BP7/G+YaaBDI48VdlUk1fYvYj sQzQ== X-Received: by 10.112.73.104 with SMTP id k8mr17315353lbv.120.1423498244970; Mon, 09 Feb 2015 08:10:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.124.202 with HTTP; Mon, 9 Feb 2015 08:10:24 -0800 (PST) From: Carlos Pita Date: Mon, 9 Feb 2015 13:10:24 -0300 Message-ID: Subject: To: 19749@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Sorry for reopening this, Fabián. You're right in pointing that this bug was introduced by my fix to 19665. But AFAICS 19665 is indeed a bug: you want to go to the end of the defun line when the search is backward, in order to match arg defun including the current one. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (carlosjosepita[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.215.48 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 2.0 BLANK_SUBJECT Subject is present but empty 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 19749 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Sorry for reopening this, Fabián. You're right in pointing that this bug was introduced by my fix to 19665. But AFAICS 19665 is indeed a bug: you want to go to the end of the defun line when the search is backward, in order to match arg defun including the current one. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.215.48 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (carlosjosepita[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 2.0 BLANK_SUBJECT Subject is present but empty 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid Sorry for reopening this, Fabi=C3=A1n. You're right in pointing that this bug was introduced by my fix to 19665. But AFAICS 19665 is indeed a bug: you want to go to the end of the defun line when the search is backward, in order to match arg defun including the current one. There is a more difficult problem here. Say * is the point: 1) You want C-M-a to move the point from def* to *def. 2) You want C-M-a to mode the point from *def to the previous definition. (1) is addressed by 19665. (2) is addressed by this report. Still, there is: 3) You want C-M-h both in def* and in *def to select the current defun. 19665 was intended to correct both cases (*def and def*), but my patch here breaks again the case *def (because for *def the selection reverts now to the pathological behavior described in 19665, just because of the additional condition in the guard, which should be kept anyway because of (2)). Note: I'm checking my assertions 1, 2 and 3 against the standard behavior of elisp mode, which I take as a reference. That's indeed the behavior there. More briefly: for C-M-a you want to distinguish between def* and *def, but for C-M-h you don't. The previous fix here and 19665 correctly address (1) and (2), and mostly address (3) except for the corner case *class, which I address in what follows. Looking at the definition of mark-defun one could clearly see what the problem is. Starting from *class, say, mark-defun will mark the previous defun and then check (if (> (point) opoint) to see that the selected defun was not the desired one. So it goes through the else part sending the point to the end of the class block and then moving backward one defun to select just the last method. I think we could fix this tweaking a bit the behavior of mark-defun, but -unusually- mark-defun allows for no local extension points. A simple advice could do the trick but I don't feel like adding an advice just for python sake to a globally and often used function. The last option I'm able figure out is to replace mark-defun in the python keymap. This is not perfect, as mark-defun could be used programatically also, but I believe it's good enough: (define-key map [remap mark-defun] 'python-mark-defun) (defun python-mark-defun () (interactive) (when (python-info-looking-at-beginning-of-defun) (end-of-line 1)) (mark-defun)) Besides that, I want to emphazise that you still need: - (when (and (< arg 0) + (when (and (> arg 0) and + (> (current-column) (current-indentation)) Cheers -- Carlos From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 09 11:37:01 2015 Received: (at 19749) by debbugs.gnu.org; 9 Feb 2015 16:37:02 +0000 Received: from localhost ([127.0.0.1]:38454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKrKX-00007c-Cj for submit@debbugs.gnu.org; Mon, 09 Feb 2015 11:37:01 -0500 Received: from mail-la0-f45.google.com ([209.85.215.45]:33427) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKrKU-00007J-It for 19749@debbugs.gnu.org; Mon, 09 Feb 2015 11:36:59 -0500 Received: by labhz20 with SMTP id hz20so14549698lab.0 for <19749@debbugs.gnu.org>; Mon, 09 Feb 2015 08:36:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=hglNdDKh/VbY9DZUbLEvPmx0zJcXtwTDuOxiXYVmCmU=; b=pGdDhG7YvQ0hSs2SIkpi4gDRCRQxujT6ls1OUi9DwB9Xuo5Aizw/c2jWldDVQ6B4Dz o57KWRE7ZGKNNxVXIqpOKVrRppp0Ik6OQMiKWH77LXu86yo3LAonzQfpjYHuSE40FFhL ywqTsCA1+ioCXAxtqTxDM9Ql75BKQfoHo8OS+izNNfQ1He5VPcDfHGWi8OVx70C0fdMu VF5CMyBvxAhZXxss8PdG5ifg36l8E7QGsO1S7Z9nwU1mA8tE9A9DOURqhxsmd42cYmOs azWhT5AaXSHeAMotJayDWCB/rXYB1bHxww6MjeVTX2nGf+d/IQfG/IfQ5GQyHVd7vG8s AEWQ== X-Received: by 10.112.212.42 with SMTP id nh10mr18826799lbc.102.1423499812725; Mon, 09 Feb 2015 08:36:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.124.202 with HTTP; Mon, 9 Feb 2015 08:36:32 -0800 (PST) In-Reply-To: References: From: Carlos Pita Date: Mon, 9 Feb 2015 13:36:32 -0300 Message-ID: Subject: Re: To: 19749@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19749 Cc: =?UTF-8?Q?Fabi=C3=A1n_Ezequiel_Gallina?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Also, you could want to set allow-extend for mark-defun. I will post a patch to 19665 including the original change and the mark-defun fix. The (> (current-column) (current-indentation)) fix in this report remains valid except you worked out a cleaner solution for 1, 2 and 3 above. On Mon, Feb 9, 2015 at 1:10 PM, Carlos Pita wrot= e: > Sorry for reopening this, Fabi=C3=A1n. You're right in pointing that this > bug was introduced by my fix to 19665. But AFAICS 19665 is indeed a > bug: you want to go to the end of the defun line when the search is > backward, in order to match arg defun including the current one. > > There is a more difficult problem here. Say * is the point: > > 1) You want C-M-a to move the point from def* to *def. > > 2) You want C-M-a to mode the point from *def to the previous definition. > > (1) is addressed by 19665. > (2) is addressed by this report. > > Still, there is: > > 3) You want C-M-h both in def* and in *def to select the current > defun. 19665 was intended to correct both cases (*def and def*), but > my patch here breaks again the case *def (because for *def the > selection reverts now to the pathological behavior described in 19665, > just because of the additional condition in the guard, which should be > kept anyway because of (2)). > > Note: I'm checking my assertions 1, 2 and 3 against the standard > behavior of elisp mode, which I take as a reference. That's indeed the > behavior there. > > More briefly: for C-M-a you want to distinguish between def* and *def, > but for C-M-h you don't. The previous fix here and 19665 correctly > address (1) and (2), and mostly address (3) except for the corner case > *class, which I address in what follows. > > Looking at the definition of mark-defun one could clearly see what the > problem is. Starting from *class, say, mark-defun will mark the > previous defun and then check (if (> (point) opoint) to see that the > selected defun was not the desired one. So it goes through the else > part sending the point to the end of the class block and then moving > backward one defun to select just the last method. I think we could > fix this tweaking a bit the behavior of mark-defun, but -unusually- > mark-defun allows for no local extension points. A simple advice could > do the trick but I don't feel like adding an advice just for python > sake to a globally and often used function. The last option I'm able > figure out is to replace mark-defun in the python keymap. This is not > perfect, as mark-defun could be used programatically also, but I > believe it's good enough: > > (define-key map [remap mark-defun] 'python-mark-defun) > > (defun python-mark-defun () > (interactive) > (when (python-info-looking-at-beginning-of-defun) > (end-of-line 1)) > (mark-defun)) > > Besides that, I want to emphazise that you still need: > > - (when (and (< arg 0) > + (when (and (> arg 0) > > and > > + (> (current-column) (current-indentation)) > > Cheers > -- > Carlos From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 09 11:50:59 2015 Received: (at 19749) by debbugs.gnu.org; 9 Feb 2015 16:50:59 +0000 Received: from localhost ([127.0.0.1]:38471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKrY3-0000Tx-0v for submit@debbugs.gnu.org; Mon, 09 Feb 2015 11:50:59 -0500 Received: from mail-la0-f44.google.com ([209.85.215.44]:41543) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKrY0-0000Ti-Lk for 19749@debbugs.gnu.org; Mon, 09 Feb 2015 11:50:57 -0500 Received: by labpv20 with SMTP id pv20so889290lab.8 for <19749@debbugs.gnu.org>; Mon, 09 Feb 2015 08:50:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=JD3vGGitWuJt+9Lrus9uXTjIlOY1drvBe2LWPkXiiUk=; b=BKeOrhx8cYBA94+MqT06vqAaFUGm40HyX75HIUUBxdsbcWssOehYsRt/Qn2C0SE2rc eRK3NCY/FDDu8Ys/sdyxLdum64b38nA6pHPAd/xyGj4VexyEMQl8dBmTK0GEXcz4uMNv o2PydITo2QrqW8KAPky6qTURWFNNFXVZGDvNJV4gA30iywwJiiNXU5uDWkdCUGcX/FOW R/N67/dpQ4T9RI+9icYsXGfVmjaDdnRxa2yYAgqoUlm3Qtf0Uhnv6VmrDiMMXpaf7V6D Ug1SWltoiiFGhknScT/hB5EswPZrBoZJK2M+gERsby7HkdhLrSB7MwpaEM5TGSvDcfHE yCtQ== X-Received: by 10.112.63.134 with SMTP id g6mr18224904lbs.52.1423500650645; Mon, 09 Feb 2015 08:50:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.124.202 with HTTP; Mon, 9 Feb 2015 08:50:30 -0800 (PST) From: Carlos Pita Date: Mon, 9 Feb 2015 13:50:30 -0300 Message-ID: Subject: Re: To: 19749@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19749 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Sorry for the typo, the last two comments were intended to be for 19748. I don't know if it's possible to delete them from debbugs control interface. Shame on me. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 19 17:53:46 2019 Received: (at 19749) by debbugs.gnu.org; 19 Feb 2019 22:53:46 +0000 Received: from localhost ([127.0.0.1]:56877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwEGo-0003Xz-Au for submit@debbugs.gnu.org; Tue, 19 Feb 2019 17:53:46 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:54596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwEGm-0003Xr-RU for 19749@debbugs.gnu.org; Tue, 19 Feb 2019 17:53:45 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 0722C10A22; Tue, 19 Feb 2019 23:53:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kM_cOrcGBO01; Tue, 19 Feb 2019 23:53:43 +0100 (CET) Received: from jurong (unknown [IPv6:2001:910:103f:0:2d09:8018:be35:9702]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 20B312C4F; Tue, 19 Feb 2019 23:53:43 +0100 (CET) Date: Tue, 19 Feb 2019 23:53:41 +0100 From: Andreas Enge To: 19749@debbugs.gnu.org Subject: Progress Message-ID: <20190219225341.GB2828@jurong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.11.2 (2019-01-07) X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 19749 Cc: Mark H Weaver X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Hello, this bug dates from a time where it was still almost realistic to reach zero non-building packages... Should we close it, since mips has been removed from the release architectures? Andreas From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 20 00:53:04 2019 Received: (at 19749-done) by debbugs.gnu.org; 20 Feb 2019 05:53:04 +0000 Received: from localhost ([127.0.0.1]:57082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwKoa-0007S9-FC for submit@debbugs.gnu.org; Wed, 20 Feb 2019 00:53:04 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:47375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwKoX-0007Rc-Rs for 19749-done@debbugs.gnu.org; Wed, 20 Feb 2019 00:53:02 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 075FC35BC; Wed, 20 Feb 2019 00:52:55 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 20 Feb 2019 00:52:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=jBjHcNIUUawdp0CVbJxOY3OI mScHiVGOzUjLJyL5yCY=; b=WcUVC7pjUfWBJY0sVf+bHtH3sBU4LBQhLOzOCJDP JJFDL4uNaDzSOmZwHfdfWwoEdmH0IZCnUIJEJcgEfhLbO0FuabOvdnp2FC1tO2jv EEyBU78jRd8AUzL1tkOuGkpdu7hMEs8iktDl90aDBXOi20HBlyfilDgAuOFj37ar yWQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=jBjHcN IUUawdp0CVbJxOY3OImScHiVGOzUjLJyL5yCY=; b=rnhr/nf6WIIIzsRJqiuu+T IA12iGil4n6nWRipwHVP+P1iY3AoM/RBgM8VDHN8jXT2tnIF3+4zZiLnMbb3DASE KrLMH02gYaXaEL/Cb/XW5xHj4711d51rBmEosaljf+svwXkEqbYA8VY95ffKkD2r 8wuqLodLHAvIfj8bWrC9eLFkUGRdqvOtAyYedxrXRC74stJ9b0tJVPbgsCw0KYMc 2b2NLn8EgQ8GIjRNwPwZi7faCWZpbMV+bC2AcGB1oDDcum42BWg5E+munvhbvPTu +Un5p+6cVQPFrbOtJosfxBWLp2eJZuR99wCL/axBBo+4smrRi0+HH9edurkD4W4g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrtdehgdeludculddtuddrgedtledrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjfgesghdtreertdervdenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecukfhppeejie druddvgedrvddtvddrudefjeenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgr mhhulhgrrhhirdhnrghmvgenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 316371030F; Wed, 20 Feb 2019 00:52:54 -0500 (EST) Date: Wed, 20 Feb 2019 00:52:53 -0500 From: Leo Famulari To: Andreas Enge Subject: Re: bug#19749: Progress Message-ID: <20190220055253.GA10187@jasmine.lan> References: <20150202222819.GA26430@debian> <20190219225341.GB2828@jurong> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <20190219225341.GB2828@jurong> User-Agent: Mutt/1.11.2 (2019-01-07) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19749-done Cc: 19749-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 19, 2019 at 11:53:41PM +0100, Andreas Enge wrote: > Hello, >=20 > this bug dates from a time where it was still almost realistic to reach > zero non-building packages... Should we close it, since mips has been > removed from the release architectures? Yes, I've closed it. --opJtzjQTFsWo+cga Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlxs6zUACgkQJkb6MLrK fwh2gA/8DghyadNTmhmuFDn4CpJkYprVpLCa0yU7aMBRSapDbD41ihiek62sW4cp vEmC4wfofS79sS4fVV4El5DIdudthL76qqnzvTuk8DCxy46nqSq9cBAmw4bCaBPo AZEK1nlEmIG09KPXtqNLEj96EonWfmTKp3lL2tRsmBQfEQfhjE3VUBGlOfq8ZSLB Geky1Ci37Y9b+4hxIfaK3/DfkKQsWg6+tnIegwU52a+M6UA3T9NaxT89gJA5XNhx tjbOONKMRPJaPGXHU3vfm2224I0/xwn/ezqsT75eLnZesIxyJc2P2juqKTSONLLn mEfZ06A3DAmnbXW0DksdLeWhQ+zR425pU5V0wi+VRdixaPw6oyz+kOZt6lXjtPQi IAN0HFzd86HMeEI/W+ePnUVmHowlPZ2r8RJQ2ThFtciohGxrtVyq+qFEG/nwAW8Y XI+wTrCmJFJHX0U06ku1Vmdtd2+Qr4JfpsKWxL5xQY5mCPUSxoo7HKZ95N0D30I3 3oSPOUzCc5pUyPu4bCTHiHIE36RVUhEmj75k/2pSYR4lpt/EoOoEK16pIsByNpxX G2fTrQJGIejr2JSYNNtYN0cyvTJ/XBzHhpIDQwOJV4om0c9igAF54OmKQ3IH6sAW 7+0nFxzeo3r6AGFsW8Xt7ZIggZ2E92AGG01PJUBCfSJyM53mY7g= =D5Pl -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- From unknown Fri Jun 20 07:25:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 20 Mar 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator