From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Greg Klanderman Newsgroups: gmane.emacs.devel Subject: Re: gnus-server-to-method crash on virtual server name in gnus-secondary-select-methods Date: Mon, 25 Jan 2021 12:51:04 -0500 Message-ID: <8735yogb1z.fsf@lwm.klanderman.net> References: <24567.20346.37031.450073@lwm.klanderman.net> <87eeivwae3.fsf@ericabrahamsen.net> <874kjejezr.fsf@lwm.klanderman.net> <875z3p7stg.fsf@ericabrahamsen.net> Reply-To: Greg Klanderman Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9682"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.24 (linux) Cc: emacs-devel@gnu.org To: Eric Abrahamsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 25 18:52:47 2021 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 1l462h-0002OW-LA for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Jan 2021 18:52:47 +0100 Original-Received: from localhost ([::1]:56634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l462g-0004xv-An for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Jan 2021 12:52:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l461L-0004V1-Lu for emacs-devel@gnu.org; Mon, 25 Jan 2021 12:51:23 -0500 Original-Received: from so254-31.mailgun.net ([198.61.254.31]:42866) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l461H-00053l-Aj for emacs-devel@gnu.org; Mon, 25 Jan 2021 12:51:23 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=klanderman.net; q=dns/txt; s=mg; t=1611597079; h=Content-Type: MIME-Version: References: Message-ID: In-Reply-To: Date: Reply-To: Subject: Cc: To: From: Sender; bh=5brGHCIsC7Y2GRVmbbFLSh8yQJN4CwnCdVMm0WBWkLg=; b=GVI6G7B2YQM/tN6hQXI2LTNHm8W4mRovrHwZUijSkcrC/GqswNLroMd4kNxVKkVy1TOx/NZk X+QO5fDNbPsjJLGzn7kvvnO0PCS0SomJs/HpUYj0TFaaYh6nQavivhH7KZBnnYsGURpeC5th Mhqx+mtpeV4ugG7DS/VZcSh9CaE= X-Mailgun-Sending-Ip: 198.61.254.31 X-Mailgun-Sid: WyI5OTUyZSIsICJlbWFjcy1kZXZlbEBnbnUub3JnIiwgIjk3ZGJkOCJd Original-Received: from smtp2.klanderman.net (smtp2.klanderman.net [142.93.10.110]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 600f0508d75e1218e3f82f09 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Mon, 25 Jan 2021 17:51:04 GMT Original-Received: from lwm.klanderman.net (pool-72-93-77-73.bstnma.fios.verizon.net [72.93.77.73]) by smtp2.klanderman.net (Postfix) with ESMTPSA id 78802415E7; Mon, 25 Jan 2021 12:51:04 -0500 (EST) Original-Received: by lwm.klanderman.net (Postfix, from userid 1000) id 25AC829E2A29; Mon, 25 Jan 2021 12:51:04 -0500 (EST) In-Reply-To: <875z3p7stg.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 21 Jan 2021 15:50:51 -0800") Received-SPF: pass client-ip=198.61.254.31; envelope-from=bounce+ffeceb.97dbd8-emacs-devel=gnu.org@klanderman.net; helo=so254-31.mailgun.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:263401 Archived-At: Hi Eric, >>>>> On January 21, 2021 Eric Abrahamsen wrote: >> According to >> >> https://www.gnu.org/software/emacs/manual/html_node/gnus/Servers-and-Methods.html >> >> not only can you use virtual server names (strings) "wherever you >> would normally use a select method", it explicitly states you can do >> so in 'gnus-secondary-select-method' (presumably a typo that the final >> 's' is missing). >> >> So based on that alone, any code which loops over >> gnus-secondary-select-methods taking car/cdr of elements is highly >> suspicious. The additional information I gave just demonstrated one >> way to reach this problematic logic. > I still can't believe this is the way it's supposed to be used. The code > snippet you posted (where the error actually arises) has been that way > since The Dawn of Time. I also don't see why you _would_ define a server > via the *Server* buffer, and then put it again in > `gnus-secondary-select-methods'. Generally you define servers either in > one place or the other -- if you've done it with "a" in the *Server* > buffer, there's no need for it to appear in your config files, too. Ahh I had not realized that I only needed it in one place, but it makes total sense. Somehow I took the bit of manual I linked above to mean I should create the server in the server buffer, then put its name in gnus-secondary-select-methods. So maybe the real bug is just the documentation? >>> I have left your other asides aside! >> >> No problem.. probably best to post those separately once I find the >> right forum. >> >>> While this is a fine place to raise general Gnus questions/issues >>> (the gnus.general group would be another option), >> >> I think you mean 'gmane.emacs.gnus.general'? It is hard to tell what >> information on >> >> https://www.gnu.org/software/emacs/manual/html_node/gnus/Gnus-Development.html >> >> and >> >> https://www.gnus.org/resources.html >> >> is up-to-date; some links are clearly dead. >> >> Is that newsgroup still bi-directionally gatewayed with ding@gnus.org? > Yes, sorry, I did mean gmane.emacs.gnus.general, and yes that's still > gatewayed to ding@gnus.org. So far as I know there's just > gmane.emacs.gnus.general and gmane.emacs.gnus.user. I don't think > there's any real difference anymore (probably "general" used to be more > for development?) but you do get different people responding in the > different groups. OK great, is there a gatewayed email list for gmane.emacs.gnus.user as well? >> Is there any way to browse archives on the web? >> The only reference I could find to reporting bugs is bugs@gnus.org; is >> that current? Is there really no web-based bug tracking system? > Generally we report bugs from within Emacs, using M-x report-emacs-bug. > You can see them online here: > https://debbugs.gnu.org/cgi/pkgreport.cgi?package=emacs Great, thank you. I'm a bit wary of M-x report-emacs-bug from work as I suspect it would run afoul of our security policy. I spent quite a bit of time last week converting some more low-hanging fruit of my xemacs config, and turning off new behaviors that disagreed with me, so I've got Emacs in a bit more tolerable state for editing. My biggest concern now with fully transitioning, other than a lot more time, is how slow it is over ssh forwarded X11. As I said xemacs is perfectly snappy, but Emacs is taking sometimes 30-60+ sec just to create a new frame. I turned off tooltips which seemed to be causing much of the latency issues, then it seemed that toolbars & menubars were the issue because after dragging another window over an Emacs frame, everything would redraw immediately but the menubars and toolbars, which could again take 30-60+ seconds with Emacs being essentially frozen to input. Switching gtk to lucid (Debian testing) did not make appreciable difference. I've now noticed that the problem only occurs when a frame of an Emacs is dragged over another frame of the same Emacs, so I suspect some problem with the event handling loop. I will submit a bug report; this is perfectly reproducible with emacs -Q after ssh'ing from my work laptop (on home network) to my work desktop (in office 30mi away) and then back to my personal home desktop, even with tooltips/tool bars/menu bars/scroll bars off. And then I'll get back to Gnus.. thank you, Greg