From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#5042: bug#9917: bug#5042: bug#9917: 24.0.90; Make `goto-line' consistent with the line number from the minibuffer Date: Wed, 28 Oct 2020 13:58:03 +0200 Message-ID: <0e43a8ea-266e-e324-cd55-cfe07dd28522@yandex.ru> References: <877dspmzo3.fsf@gnus.org> <83zh5l1uqw.fsf@gnu.org> <87wo0osspd.fsf@gnus.org> <87lfh3dtoj.fsf@mail.linkov.net> <87zh478ovp.fsf@mail.linkov.net> <87pn52vfyj.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27469"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: 5042@debbugs.gnu.org, 9917@debbugs.gnu.org, monnier@iro.umontreal.ca, dmoncayo@gmail.com To: Lars Ingebrigtsen , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 28 12:59:12 2020 Return-path: Envelope-to: geb-bug-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 1kXk6h-00072p-2w for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Oct 2020 12:59:11 +0100 Original-Received: from localhost ([::1]:56850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXk6f-0003O9-Sa for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Oct 2020 07:59:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXk6Y-0003Nt-S1 for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 07:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36036) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXk6Y-00065r-He for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 07:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXk6Y-0005Ln-Gj for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 07:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Oct 2020 11:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5042 X-GNU-PR-Package: emacs Original-Received: via spool by 5042-submit@debbugs.gnu.org id=B5042.160388629420512 (code B ref 5042); Wed, 28 Oct 2020 11:59:02 +0000 Original-Received: (at 5042) by debbugs.gnu.org; 28 Oct 2020 11:58:14 +0000 Original-Received: from localhost ([127.0.0.1]:47582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXk5m-0005Kg-8b for submit@debbugs.gnu.org; Wed, 28 Oct 2020 07:58:14 -0400 Original-Received: from mail-ed1-f50.google.com ([209.85.208.50]:46401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXk5k-0005KN-FF; Wed, 28 Oct 2020 07:58:12 -0400 Original-Received: by mail-ed1-f50.google.com with SMTP id t11so2200783edj.13; Wed, 28 Oct 2020 04:58:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=X4fRMIfPFrdO1w4EAa39zLg3STtAwusbhcT6IkMSHkk=; b=a19TatCIPMWQbSB/rosiKFBBpO3jOTR18tupF7DXjSCJu+MuWZccp9K2CgVs4fu5GK bTLjprbUlY51JNMue+6fwA2CZYHTm/wSEq0PBqJtIq3OByCo7Ga00UqZZrQ6AYsohUBC II4+e2y7fsgzHgfaqzVXshW7EF+h0qq5NscHA+9HnUvBpPMbWpnbuSX3pyN0NSi//7/c nHf4i7suXPBhgV75I5IrhkUSdAtnugx8BQwA1+rJRW2f395KnilPyvgOCF6VVmeS89wr OWu13AXt3BLy+CWd8RLqBM5f8bwQ0JiK/nm7/zpglrNujGzyP12CaFBR67YWvNf2HYW+ 56sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=X4fRMIfPFrdO1w4EAa39zLg3STtAwusbhcT6IkMSHkk=; b=AOqvbg1jjipmH9T9mCWe08Qut5RwkRXz/POwiI6Ahv+JllYMeJuUbvrps8mQDU3NSu VK/tRY+37Vp3aHbPd/hXcpSD+1kiMtJKs0odhhuvF4XQKl1BFQK5i4FJZrn0taaqLJVO 1zAFTlMOCfucae7ZNBuhfFFdP+OaSFtkCH/gnIOlQNkq9WczTU/eSnyZwdy1LUI0RBzO H18CfpLjrwwTdCAUnv1g8k86vbhEy9X5Scn9wrd74h/Vdj9MRmMccMnOgJ1aLvB5+X3O XQi6q1weenzJ3bDjnO1B7qLwZ7yzKyshiIKjjaEQf4HOgwh62KWqHfzc3pLM7KzPghnT 2mEw== X-Gm-Message-State: AOAM531UQB7l5l6Pl7xMOCchzi0atg8UMjgfKm5BmRrfoO2lnlaZGPJf mm8vWF7fyMy4C6L7zWPRRCY= X-Google-Smtp-Source: ABdhPJzwpP517kRGOp5t1CaCoO93r4YWtuj338ggsoT7po/18fSRp3Bscn1hAYONobDxOcyjCNY9xQ== X-Received: by 2002:a05:6402:3045:: with SMTP id bu5mr7513276edb.232.1603886286488; Wed, 28 Oct 2020 04:58:06 -0700 (PDT) Original-Received: from [192.168.0.4] ([66.205.71.3]) by smtp.googlemail.com with ESMTPSA id bw25sm2880453ejb.119.2020.10.28.04.58.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Oct 2020 04:58:05 -0700 (PDT) In-Reply-To: <87pn52vfyj.fsf@gnus.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191861 Archived-At: On 28.10.2020 11:48, Lars Ingebrigtsen wrote: > Juri Linkov writes: > >> Here is the fix for xref: > > [...] > >> - (goto-char (or (cdr buffer-point) (point-min))) >> - (point-marker)))))) >> + (save-restriction >> + (widen) >> + (goto-char (or (cdr buffer-point) (point-min))) >> + (point-marker))))))) If this works, sure, please install. This piece by itself makes sense. > Hm... Does Dmitry have any comments here? (Added to Cc.) I'm subscribed to the bug tracker, but I skip over a number of discussions automatically (and an extra email in a thread is relatively easy to miss, too). In case I don't respond in similar circumstances in the future, may I ask for a personal email? One without 'debbugs.gnu.org' in the From/To/Cc.