From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#72241: 31.0.50; [PATCH] Use a dedicated buffer for `doc-view-open-text' Date: Mon, 22 Jul 2024 21:48:27 +0300 Message-ID: <86jzhd9sas.fsf@gnu.org> References: <87jzhd4ysy.fsf@ledu-giraud.fr> <87v80xwb3d.fsf@gnu.org> <86le1t9t5p.fsf@gnu.org> <87r0blw9s5.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="343"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72241@debbugs.gnu.org, manuel@ledu-giraud.fr To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 22 20:49:29 2024 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 1sVy6D-000APV-Am for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Jul 2024 20:49:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVy5k-0004BH-5K; Mon, 22 Jul 2024 14:49:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVy5j-0004Aj-63 for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2024 14:48:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sVy5i-0004yt-Tg for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2024 14:48:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVy5l-0002hs-U1 for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2024 14:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Jul 2024 18:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72241 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 72241-submit@debbugs.gnu.org id=B72241.172167412810385 (code B ref 72241); Mon, 22 Jul 2024 18:49:01 +0000 Original-Received: (at 72241) by debbugs.gnu.org; 22 Jul 2024 18:48:48 +0000 Original-Received: from localhost ([127.0.0.1]:58596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVy5Y-0002hQ-7b for submit@debbugs.gnu.org; Mon, 22 Jul 2024 14:48:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVy5W-0002hD-Cp for 72241@debbugs.gnu.org; Mon, 22 Jul 2024 14:48:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVy5J-0004qJ-Gx; Mon, 22 Jul 2024 14:48:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5dUJv0TR4AAPF3ia1wWvHlSHoYcnCJBUBL2x3gNBPqk=; b=Dkr9Z19i59GJ mfRHTRpj3Og9Zq7j63v/XvC0O/ydKA5a+zsXl0Sm80h2yvldss35DRunE41eu795s0ibMQm661OTy anDLGbuHzJ/hFWMoRLcmJN7dsn7mPgoOvIeA2YAvKwdc8zWlnSRvqg2I2Y9lASG+ZvXwC3I7SZ1qn Aq5e7aTFM13Ry/10en0mhTDUm7vZ9NneoNhZkLcMP/nLG5T4CY+mpA6LXKBQGbGJEkJSkKCC7/E1/ bwp7cQv16R9T44o9wmfpR/XPhrLAxDWGRc6xKSrB5GZj/45PBxP5smTzwJqbG/UtTMeObk/aMMsH0 8LSUjdrjcgdz0Oj2mfRlfw==; In-Reply-To: <87r0blw9s5.fsf@gnu.org> (message from Tassilo Horn on Mon, 22 Jul 2024 20:39:54 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289127 Archived-At: > From: Tassilo Horn > Cc: 72241@debbugs.gnu.org, manuel@ledu-giraud.fr > Date: Mon, 22 Jul 2024 20:39:54 +0200 > > Eli Zaretskii writes: > > > Can you tell in what way the behavior will change after this? I'd > > like to think whether a NEWS entry is necessary and what to day there. > > Right now, when you open foo.pdf you see the images generated from the > PDF. When you do C-c C-t, it'll replace the foo.pdf buffer contents > with the plain text contents of the PDF. With another C-c C-c, the > contents are again replaced with the PDF and you see the images again. > > With Manuel's patch, C-c C-t shows the plain text contents in a separate > buffer foo.pdf/text. C-c C-c in there kills that separate buffer and > switches back to the original foo.pdf buffer. > > So basically everything you have to do stays the same but there are now > two instead of just one buffer. That has the advantage that you can > switch between them and removes the possibility that you accidentally > overwrite your PDF with the plain text contents (which in what Stefan's > FIXME was about). Thanks, I think this is enough in users' faces to warrant a NEWS entry.