From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ozhap Newsgroups: gmane.emacs.bugs Subject: bug#43356: 27.1; Gnus: Selected articles are unavoidably entered into the agent cache in an agentized group (while plugged) Date: Sat, 12 Sep 2020 15:51:37 +0530 Message-ID: <87y2lfcn2m.fsf@Kittu.i-did-not-set--mail-host-address--so-tickle-me> 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="26682"; mail-complaints-to="usenet@ciao.gmane.io" To: 43356@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 12 17:20:11 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 1kH7Jy-0006oS-RZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Sep 2020 17:20:10 +0200 Original-Received: from localhost ([::1]:55572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kH7Jx-0000Im-UD for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Sep 2020 11:20:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kH7Jq-0000IE-GR for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2020 11:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37276) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kH7Jq-0005Fr-72 for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2020 11:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kH7Jq-0005JX-1H for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2020 11:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ozhap Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Sep 2020 15:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43356 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159992398220385 (code B ref -1); Sat, 12 Sep 2020 15:20:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Sep 2020 15:19:42 +0000 Original-Received: from localhost ([127.0.0.1]:48820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kH7JT-0005Ic-4a for submit@debbugs.gnu.org; Sat, 12 Sep 2020 11:19:42 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kH2fX-0005Ws-20 for submit@debbugs.gnu.org; Sat, 12 Sep 2020 06:22:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kH2fW-0004GI-Su for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2020 06:22:06 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:37245) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kH2fU-0007PH-Bd for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2020 06:22:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1599906120; bh=kLlRkhDRKD5agnBvMO/7uDyQ4c8JXPgOoNCII6SX42g=; h=X-UI-Sender-Class:From:To:Subject:Date; b=K0oEhkyKr/RW2Kcsy++lWkgKVACJU2oP5BS45oZDL8m6fwPZ8kQDsOGt9+0WRD4NW znSzeYddHb2VoI0nmgD172cRjIuSLAQK3Q+4t0P1zPDNn1SlBMBv7QTGNasfoUQ7ye gZGAgQR+CNjrc0BixyvW5zuCWOnvcYYfoROLwuH0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from localhost ([59.94.235.34]) by mail.gmx.com (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MOREi-1jsOVt3tq2-00PuIY for ; Sat, 12 Sep 2020 12:22:00 +0200 X-Provags-ID: V03:K1:1+zGhJZud3y0Obu2ft0dN/XUvKKb7Vo+nWWVUnft+cry50rGGrQ 1nelcr9lnkOPJuN6XMcmzNZdATckaiCUaGPc3lHamZ5arVg6r3oFxnEqizzLqq6fc2vC7W7 UiKcji5vna5QHwP/95tA9ojcmSXGHRBe8yRMY6m0qcd8VZO8UjLJosyvn95UMSmtTYfl4Ou JSVhGKdRFFL2q6lQlkK0A== X-UI-Out-Filterresults: notjunk:1;V03:K0:CzIQBjM4AZI=:Nm5L6hFmXq1aJVwjxdkxQt AqbZujIgWexFC9qxuo4/2z+Mu+DzcvBdfTX/EDGPULBGU591Dds8ubcxH6ObdJeLuNPZArBUP S0aYVHZgTcrVgCBBXYOF7JwQ1Gv7eYBs2ST4NU+RzG+FZT6QUCJpYb+/RkJ4wynWfH4Tq9u4r X9X+/+4Km2OhpqFypUR4wRn5Piwd+MMBd4n/Fv1jygo4Epb3MAHN5ouV5g4B8NhqbyAaHjwv8 ZpKwkY/wO9NQWZIhBh1KhPqT+zIKQXb3+ajSabpNkriLmLK8BP1M/LwRs2vgfwpkjpFeNBPWv T81W+/5PvmKZMy7TlqGR/E3+xSi0Jpa3hdfUu5HL0nfuvaEeW6OYYHzzsA7dwfL+jDQU7QvQM rOiZV91+THl9vpiJYQKrlicIxR42TfOZPacwFUtic67gzfhrpDGXQJfRHkkj1y2H/eeIyWBdJ a6aG6UnMgMrjneYkcbcBT+P935s7/p47SAbBGwIhuvH4JnLg2nUuWXf9Cf085yuNMeoGm9c5Y WPHgK/irmEJPIWdpejWv5SBBJJEZypQXew9CHru6IOxGRSvhsSqrdx/ZwxjzlyVd0X7O6K0GV gjsZgLPHjUMYEQ4RBhoOgMFpTGziQLJkAxPcdHP99GWWRSoW/BlcrFcJ4N0Rf5wokrU9PzP6q q5aERpZfB2SbfEZL6bp/Ky9N1io1Ny1KS4V8j6Jnboev5xdihCsn4DO5hXPiGYen7h+m3SyE+ VI1jYyK7ZB34d729qr6NTmQeum8ECItiN52U+eEoXD1x11hcgVOaq+WN8drK4zg0M85ls7vQ Received-SPF: pass client-ip=212.227.15.18; envelope-from=ozhap@vollbio.de; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/12 06:22:01 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 12 Sep 2020 11:19:37 -0400 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:187899 Archived-At: Sample way to reproduce the behaviour: 1. Gmail IMAP should be accessible. Keep credentials in .authinfo.gpg. No Gnus files or directories (News, .newsrc*, Mail) present. 2. emacs -Q 3. Run: (setq gnus-select-method '(nnimap "gmail" (nnimap-address "imap.gmail.com") (nnimap-server-port 993) (nnimap-stream ssl))) 4. M-x gnus 5. ^ (Server list) 6. Go to 'gmail' and: J a (agentize) 7. q (back to Group buffer) 8. g (refresh) 9. RET on any folder and RET on an article 10. Verify that an article file has been created in ~/News/agent/nnimap/gmail/[folder]/ This also conflicts with the documentation in the manual sections 'Agent Caveats' (see below), 'Choosing Variables' & 'Agent as Cache', the latter saying: "Articles are not cached in the Agent by default though (that would potentially consume lots of disk space), but if you have already downloaded an article into the Agent, Gnus will not download the article from the server again but use the locally stored copy instead" Apparently, this has been brought about (intentionally) by commit f3b146e943cd733fb716c75048f24b73826e5f30 in response to what appears to be an erroneous feature-request - bug#8502 [1]. The requested feature already existed, as documented in the manual sections 'Choosing Variables' & 'Agent Caveats', the latter reading thus: =E2=80=9CIf I read an article while plugged, do they get entered into the Agent?=E2=80=9D *No*. If you want this behavior, add =E2=80=98gnus-agent-fetch-selected-article=E2=80=99 to =E2=80=98gnus-select-article-hook=E2=80=99. In my limited understanding, the fix is simple: revert the commit (except for 2 of its unrelated hunks - of gnus-html.el & shr.el). Ref: [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8502 [2] Related thread: https://lists.gnu.org/archive/html/help-gnu-emacs/2020-09/msg00099.html In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20) of 2020-08-11 built on Kittu Repository revision: 86d8d76aa36037184db0b2897c434cdaab1a9ae8 Repository branch: HEAD Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Ubuntu 20.04.1 LTS Recent messages: nnimap read 7k from imap.gmail.com (initial sync of 6 groups; please wait) Checking new news...done Entered nnimap:gmail into the Agent Checking new news... nnimap read 0k from imap.gmail.com Reading active file via nndraft...done Checking new news...done nnimap read 0k from imap.gmail.com C-x 5 C-x C-f is undefined Making completion list... [6 times] Configured using: 'configure --prefix=3D/home/jim/emacs' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD PDUMPER LCMS2 GMP Important settings: value of $LANG: en_IN locale-coding-system: iso-latin-1-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow emacsbug sendmail cl-extra help-mode sort gnus-cite smiley ansi-color shr-color color mm-archive mail-extr gnus-async gnus-bcklg gnus-ml disp-table cursor-sensor nndraft nnmh nnfolder utf-7 epa-file gnutls network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs json map url-vars svg xml dom browse-url gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mail-utils mm-util mail-prsvr wid-edit cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 140130 13849) (symbols 48 15095 1) (strings 32 45089 3333) (string-bytes 1 1574228) (vectors 16 23104) (vector-slots 8 324486 16656) (floats 8 304 265) (intervals 56 582 237) (buffers 1000 28))