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, 6 Dec 2020 17:17:09 -0800 Message-ID: <24525.33429.29554.587022@retriever.mtv.corp.google.com> References: <20201206033517.BDF06C218D5@raman-glaptop.localdomain> <83k0tvbi0u.fsf@gnu.org> <24524.61804.293057.859729@retriever.mtv.corp.google.com> <83sg8j9bww.fsf@gnu.org> <83czzmadfm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9912"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, emacs-devel@gnu.org To: eliz@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 07 02:19:01 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 1km5B7-0002UC-N1 for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Dec 2020 02:19:01 +0100 Original-Received: from localhost ([::1]:52532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1km5B6-00065I-Ov for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Dec 2020 20:19:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1km59Z-0005FL-If for emacs-devel@gnu.org; Sun, 06 Dec 2020 20:17:25 -0500 Original-Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:43751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1km59N-000559-Js for emacs-devel@gnu.org; Sun, 06 Dec 2020 20:17:21 -0500 Original-Received: by mail-pg1-x535.google.com with SMTP id o5so7508407pgm.10 for ; Sun, 06 Dec 2020 17:17:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=KitRNSCyvzafbgfOXmyV0fqlNlmAEV6OA0kBeu2PI2U=; b=KXosZ1qL1menz5nQdRMQlIj7vPk+4DhnVX1oqHZqw1K6oCYa3iVnwCCJF0oqxC2nze X5zbyOdzVmEu1NZE1TjPsFOvK6IyqMXB//ovVDU+hFlo1iHZ9UdDso0DMGkhIsWYj1fo xlLeFCyX0SN8f7xSJQFKC8kOqs1PvwIiXP7gsfG65SmP0tMHkRFWuAyeZfulAPiy0U47 5HQdmhYcowAqs8lXBlzcgo31LiTxL3ifUh+/FsTaJ+6S2xj4unUk4+PWs8XRHDKY5HYm liJAibp371rrtGyO0xWTq9d9OlYmmDppftgx2jEDn0dy4q++CUmD5VKDmWdSbfXUscu4 aXww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=KitRNSCyvzafbgfOXmyV0fqlNlmAEV6OA0kBeu2PI2U=; b=YyOFUn2Dyy1T67Sp4zYrZMEG4sblb+IeF9SqJ72R7xCnrsbsSgNcEl+/spwOgQkPlC 0oFzuuLvMhA1deMmU3KAELey+Jef9U4R6XJdcem5f99HrQJcNZehI2dwwM98Z9f9Kj98 2Cn4ydCvh5EIZl2i8UJUAX7CJlmoj1TNNlMFHtQFVWiuZ3sBI0MXB1gmLcvONWEG+hs/ z0NyUml8IMyOVnVzlHXUmWGA7asbAaRTs6/EhR+CvWzdHRAAGWQPvqedVcOcWSeJP0UL 4hQKfaJlYXYkgtZWQJfdwJJ1rEsjBMpUmtktAkauW+7Dun6d0XYPfZs33AIqJ+WIKrux gGrg== X-Gm-Message-State: AOAM533jWfVSndF4AXdfg+wejfCOJ+neHIfHXZq9Fevxwgcrh/2pAI7F 4W6LiKNYnMVnTwLQuxIxKXBMlA== X-Google-Smtp-Source: ABdhPJyM0vvXLpWPm9cPjEUGsaKj+mYgqohKutKwB3mWcC58aQnGXZHHek9K+Us7YL10p3GjRhLz8g== X-Received: by 2002:a17:902:8d89:b029:da:c997:a2ac with SMTP id v9-20020a1709028d89b02900dac997a2acmr13888183plo.39.1607303831573; Sun, 06 Dec 2020 17:17:11 -0800 (PST) Original-Received: from retriever.mtv.corp.google.com ([172.22.80.201]) by smtp.gmail.com with ESMTPSA id v17sm10544747pga.58.2020.12.06.17.17.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2020 17:17:10 -0800 (PST) Original-Received: by retriever.mtv.corp.google.com (Postfix, from userid 13930) id 0FDE118003B0; Sun, 6 Dec 2020 17:17:09 -0800 (PST) In-Reply-To: <83czzmadfm.fsf@gnu.org> X-Mailer: VM 8.1.1 under 28.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=raman@google.com; helo=mail-pg1-x535.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, NICE_REPLY_A=-0.001, 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=unavailable 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:260468 Archived-At: I haven't pulled and rebuilt yet :-)Eli Zaretskii writes: > > From: "T.V Raman" > > Cc: emacs-devel@gnu.org > > Date: Sun, 06 Dec 2020 12:15:45 -0800 > >=20 > > Eli Zaretskii writes: > >=20 > > Thinking more about this: > >=20 > > 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. > >=20 > > 2. The mark ring -- both local and global mark rings are powerful > > features but not very approachable to a new Emacs user, and thi= s > > specific bug likely will drive at least some of them away. > >=20 > > 3. The fix to the error message will help, but it may be possib= le to > > do more for the user, e.g. if the marker is outside the narr= owed > > portion of a buffer, widen and then jump there=3F We could a= lso > > special case info so that we widen, jump and narrow to the n= ode > > containing the marker. > >=20 > > 4. If we dont do 3, perhaps we could in the least jump to th= e > > buffer containing the mark, and change the error to a war= ning > > message that tells the user to widen the visible portion = of the > > buffer and then tell him how to jump there after widening= =20 >=20 > There's a variable widen-automatically, did you try to use it=3F --=20 =E2=99=89Id: kg:/m/0285kf1 =F0=9F=A6=AE=E2=99=89 -- ♉Id: kg:/m/0285kf1 🦮♉