From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: pop-global-mark and info buffers Date: Sun, 06 Dec 2020 12:15:45 -0800 Message-ID: References: <20201206033517.BDF06C218D5@raman-glaptop.localdomain> <83k0tvbi0u.fsf@gnu.org> <24524.61804.293057.859729@retriever.mtv.corp.google.com> <83sg8j9bww.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32754"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 06 21:17:19 2020 Return-path: Envelope-to: ged-emacs-devel@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 1km0T8-0008Nd-J3 for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Dec 2020 21:17:18 +0100 Original-Received: from localhost ([::1]:60460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1km0T7-000472-Kt for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Dec 2020 15:17:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1km0Rj-0002xY-M8 for emacs-devel@gnu.org; Sun, 06 Dec 2020 15:15:52 -0500 Original-Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:33019) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1km0Rh-000395-Te for emacs-devel@gnu.org; Sun, 06 Dec 2020 15:15:51 -0500 Original-Received: by mail-pj1-x1033.google.com with SMTP id p21so5956364pjv.0 for ; Sun, 06 Dec 2020 12:15:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=bbpSRpNy/cEwYddV/hH6pFTI6gLGCwFo61ny7c7mdo8=; b=JrEGdTtup9RoMjG+k0UOh6zT9KZKJfyiV29Xk/wFjNGrTbDpBx60gjbHbBIFqK7sdt Kllwfz3SVU+Sv1+PGzyhcJm/Mnji12gFbYMl1plHBzqGYK8VVWUx7S9P+x4KWGUfXSg5 RHz0O2UWW6yZbqlwhBb4tpMBAG7pypb8t2/FMuqOoDMvgk05kfj0KiJluOcFrSZnuvxA M+Rfomjsa35XfQDVGrD2Gf7Yd/ucv2W/fXFHbc19hXybgR5wQa3AiWxsiIE1JZymmnAg RrCFFjoRPL5WQFoSZvpAwscS7RcfBePNKqIIu1efLdKywSn9jqbKnIMDu+EHkyLyUXft XVFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=bbpSRpNy/cEwYddV/hH6pFTI6gLGCwFo61ny7c7mdo8=; b=NQkaCnSPjycn5IpCOMhhC8xi87u2tqYa+7rZp9Nl+LxQwmwmU2UXv4zoByLduFpfQk 3hSwi0vOMGPJmLyT4BhR1iVgmnHHzQ3M3jHsC963RW4g6/Tg7M+RtUDT+AlJaOdk10EG p8I+PZt7kQj+7+EJENDcpiBd4fJ2ukC/MnO5u2WYuSwu4AFr8VlVVzvdPMctv3NaStQZ YJ4zvCbnrSmVCSnxeWxBhhMsQR8qADuS3OBL4++KNptxre6QfYcVtZ2FzgGmoOOw/riD 9uwBJh74kmMrMcUz0yrOB3evORBoYUNtgzNA4jxgzm/Ymykg2v5n8TY6S2VSvuv3NKRK svWw== X-Gm-Message-State: AOAM532SSPKdy9f6Sy4To7eNiAzWEfvDbizAdyV8q5KIG6wkjEDoBolZ u0poQE3HOkb8CW8N+tCtgCZlM9F4JYgvmjCu X-Google-Smtp-Source: ABdhPJwW+MNRBEHRJR+EKUEm/eIgwGXsT6Ip64w6h0XQQrJncCSyxgA46WNgCubtc8V+9YFLbPCt6A== X-Received: by 2002:a17:90a:2a83:: with SMTP id j3mr13726883pjd.84.1607285748039; Sun, 06 Dec 2020 12:15:48 -0800 (PST) Original-Received: from raman-glaptop.localdomain (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id d8sm8075516pjv.3.2020.12.06.12.15.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2020 12:15:46 -0800 (PST) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id A5CE8C21ED8; Sun, 6 Dec 2020 12:15:45 -0800 (PST) In-Reply-To: <83sg8j9bww.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 06 Dec 2020 17:44:47 +0200") Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=raman@google.com; helo=mail-pj1-x1033.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:260455 Archived-At: Eli Zaretskii writes: Thinking more about this: 1.As a long time Emacs user, I suspect I almost never set the mark in info buffers which is likely why I never got bitten by this. 2. The mark ring -- both local and global mark rings are powerful features but not very approachable to a new Emacs user, and this specific bug likely will drive at least some of them away. 3. The fix to the error message will help, but it may be possible to do more for the user, e.g. if the marker is outside the narrowed portion of a buffer, widen and then jump there? We could also special case info so that we widen, jump and narrow to the node containing the marker. 4. If we dont do 3, perhaps we could in the least jump to the buffer containing the mark, and change the error to a warning message that tells the user to widen the visible portion of the buffer and then tell him how to jump there after widening=20 >> From: "T.V Raman" >> Date: Sun, 6 Dec 2020 06:57:48 -0800 >> Cc: raman@google.com, >> emacs-devel@gnu.org >>=20 >> The message may be factually correct but useless. It could in the >> least tell you the buffer where the mark is "out of reach" > > Thanks, I added the buffer name to the error message for Emacs 28. --=20 Thanks, --Raman =817=A94 Id: kg:/m/0285kf1 =950=DC8