unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34996: 27.0.50; gnus-group-read-ephemeral-group is broken
@ 2019-03-26  2:20 Alex Branham
  2019-03-26 14:00 ` Basil L. Contovounesios
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Branham @ 2019-03-26  2:20 UTC (permalink / raw)
  To: 34996; +Cc: eric

Try for example M-x gnus-read-ephemeral-emacs-bug-group RET 34671 RET.
For me, it triggers this backtrace:

Debugger entered--Lisp error: (wrong-type-argument hash-table-p nil)
  (puthash "nndoc+ephemeral:bug#34671" nil nil)
  (gnus-group-read-ephemeral-group "nndoc+ephemeral:bug#34671" (nndoc "/tmp/gnus-temp-group-Zb681Z" (nndoc-article-type mbox)) nil nil)
  (gnus-read-ephemeral-bug-group (34671) "https://debbugs.gnu.org/cgi/bugreport.cgi?bug=%s;m..." nil)
  (gnus-read-ephemeral-emacs-bug-group 34671)
  (funcall-interactively gnus-read-ephemeral-emacs-bug-group 34671)
  (call-interactively gnus-read-ephemeral-emacs-bug-group record nil)
  (command-execute gnus-read-ephemeral-emacs-bug-group record)

In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
 of 2019-03-25 built on localhost
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: NixOS 18.09.2375.680f9d7ea90 (Jellyfish)

Configured using:
 'configure
 --prefix=/nix/store/f7lyihh5mid6rv73xdvz30ssmf4mnzya-emacs-27.0.50
 --with-modules --with-x-toolkit=gtk3 --with-xft
 CFLAGS=-DMAC_OS_X_VERSION_MAX_ALLOWED=101200'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY
LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON
PDUMPER GMP

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#34996: 27.0.50; gnus-group-read-ephemeral-group is broken
  2019-03-26  2:20 bug#34996: 27.0.50; gnus-group-read-ephemeral-group is broken Alex Branham
@ 2019-03-26 14:00 ` Basil L. Contovounesios
  2019-03-26 14:42   ` Alex Branham
  0 siblings, 1 reply; 7+ messages in thread
From: Basil L. Contovounesios @ 2019-03-26 14:00 UTC (permalink / raw)
  To: Alex Branham; +Cc: 34996, eric

Alex Branham <alex.branham@gmail.com> writes:

> Try for example M-x gnus-read-ephemeral-emacs-bug-group RET 34671 RET.
> For me, it triggers this backtrace:
>
> Debugger entered--Lisp error: (wrong-type-argument hash-table-p nil)
>   (puthash "nndoc+ephemeral:bug#34671" nil nil)
>   (gnus-group-read-ephemeral-group "nndoc+ephemeral:bug#34671" (nndoc "/tmp/gnus-temp-group-Zb681Z" (nndoc-article-type mbox)) nil nil)
>   (gnus-read-ephemeral-bug-group (34671) "https://debbugs.gnu.org/cgi/bugreport.cgi?bug=%s;m..." nil)
>   (gnus-read-ephemeral-emacs-bug-group 34671)
>   (funcall-interactively gnus-read-ephemeral-emacs-bug-group 34671)
>   (call-interactively gnus-read-ephemeral-emacs-bug-group record nil)
>   (command-execute gnus-read-ephemeral-emacs-bug-group record)
>
> In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
>  of 2019-03-25 built on localhost
> Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
> System Description: NixOS 18.09.2375.680f9d7ea90 (Jellyfish)

I don't seem to be able to reproduce this on latest master (see revision
after my signature).  Here's what I tried:

0. HOME=$(mktemp -d) emacs -Q
1. (setq gnus-select-method '(nnnil ""))
   C-j
2. M-x gnus RET
3. M-x gnus-read-ephemeral-emacs-bug-group RET 34671 RET

Which revision of master are you on?  Are you able to provide a more
precise recipe?

Thanks,

-- 
Basil

In GNU Emacs 27.0.50 (build 19, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2019-03-26 built on thunk
Repository revision: ae68fad033261eb63e3d2221c946f9b03b5464ac
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12003000
System Description: Debian GNU/Linux buster/sid





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#34996: 27.0.50; gnus-group-read-ephemeral-group is broken
  2019-03-26 14:00 ` Basil L. Contovounesios
@ 2019-03-26 14:42   ` Alex Branham
  2019-03-26 15:41     ` Eric Abrahamsen
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Branham @ 2019-03-26 14:42 UTC (permalink / raw)
  To: Basil L. Contovounesios; +Cc: 34996, eric


On Tue 26 Mar 2019 at 09:00, Basil L. Contovounesios <contovob@tcd.ie> wrote:

> Alex Branham <alex.branham@gmail.com> writes:

> I don't seem to be able to reproduce this on latest master (see revision
> after my signature).  Here's what I tried:
>
> 0. HOME=$(mktemp -d) emacs -Q
> 1. (setq gnus-select-method '(nnnil ""))
>    C-j
> 2. M-x gnus RET
> 3. M-x gnus-read-ephemeral-emacs-bug-group RET 34671 RET
>
> Which revision of master are you on?  Are you able to provide a more
> precise recipe?

I'm on git revision 568af1e5822086f2457b6e98a22624b8138aa72f.

emacs -q
(require 'gnus-group)
M-x gnus-read-ephemeral-emacs-bug-group RET 34671 RET

is enough to trigger this. I can't reproduce with your recipe, although
if I do "q" (quit gnus) "y" (confirm quitting) in between your steps 2
and 3 then I can trigger it. As I said in another thread, I'm just
getting started using gnus. Is gnus-read-ephemeral-emacs-bug-group not
supposed to work if gnus isn't open?

Alex





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#34996: 27.0.50; gnus-group-read-ephemeral-group is broken
  2019-03-26 14:42   ` Alex Branham
@ 2019-03-26 15:41     ` Eric Abrahamsen
  2019-03-26 15:45       ` Alex Branham
  2019-03-28 21:14       ` Alex Branham
  0 siblings, 2 replies; 7+ messages in thread
From: Eric Abrahamsen @ 2019-03-26 15:41 UTC (permalink / raw)
  To: Alex Branham; +Cc: Basil L. Contovounesios, 34996

[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]


On 03/26/19 09:42 AM, Alex Branham wrote:
> On Tue 26 Mar 2019 at 09:00, Basil L. Contovounesios <contovob@tcd.ie> wrote:
>
>> Alex Branham <alex.branham@gmail.com> writes:
>
>> I don't seem to be able to reproduce this on latest master (see revision
>> after my signature).  Here's what I tried:
>>
>> 0. HOME=$(mktemp -d) emacs -Q
>> 1. (setq gnus-select-method '(nnnil ""))
>>    C-j
>> 2. M-x gnus RET
>> 3. M-x gnus-read-ephemeral-emacs-bug-group RET 34671 RET
>>
>> Which revision of master are you on?  Are you able to provide a more
>> precise recipe?
>
> I'm on git revision 568af1e5822086f2457b6e98a22624b8138aa72f.
>
> emacs -q
> (require 'gnus-group)
> M-x gnus-read-ephemeral-emacs-bug-group RET 34671 RET
>
> is enough to trigger this. I can't reproduce with your recipe, although
> if I do "q" (quit gnus) "y" (confirm quitting) in between your steps 2
> and 3 then I can trigger it. As I said in another thread, I'm just
> getting started using gnus. Is gnus-read-ephemeral-emacs-bug-group not
> supposed to work if gnus isn't open?

I think it ought to work, yes. Would you try the attached patch and let
me know if it solves the problem?

Thanks,
Eric


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnus-ephemeral-start.diff --]
[-- Type: text/x-patch, Size: 618 bytes --]

diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index 8c2411f4d9..bd24c3f8da 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -2283,7 +2283,8 @@ gnus-group-read-ephemeral-group
     (nnheader-init-server-buffer)
     ;; Necessary because of funky inlining.
     (require 'gnus-cache)
-    (setq gnus-newsrc-hashtb (gnus-make-hashtable 100)))
+    (setq gnus-newsrc-hashtb (gnus-make-hashtable 100)
+	  gnus-active-hashtb (gnus-make-hashtable 100)))
   ;; Transform the select method into a unique server.
   (when (stringp method)
     (setq method (gnus-server-to-method method)))

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* bug#34996: 27.0.50; gnus-group-read-ephemeral-group is broken
  2019-03-26 15:41     ` Eric Abrahamsen
@ 2019-03-26 15:45       ` Alex Branham
  2019-03-28 21:14       ` Alex Branham
  1 sibling, 0 replies; 7+ messages in thread
From: Alex Branham @ 2019-03-26 15:45 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: Basil L. Contovounesios, 34996


On Tue 26 Mar 2019 at 10:41, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:

> I think it ought to work, yes. Would you try the attached patch and let
> me know if it solves the problem?

Thanks, Eric, that seems to do the trick for me.

Alex





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#34996: 27.0.50; gnus-group-read-ephemeral-group is broken
  2019-03-26 15:41     ` Eric Abrahamsen
  2019-03-26 15:45       ` Alex Branham
@ 2019-03-28 21:14       ` Alex Branham
  2019-03-28 22:41         ` Eric Abrahamsen
  1 sibling, 1 reply; 7+ messages in thread
From: Alex Branham @ 2019-03-28 21:14 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: Basil L. Contovounesios, 34996


On Tue 26 Mar 2019 at 10:41, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:

> I think it ought to work, yes. Would you try the attached patch and let
> me know if it solves the problem?

Hi Eric - 

Any idea when/if this patch will get applied to master?

Thanks,
Alex





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#34996: 27.0.50; gnus-group-read-ephemeral-group is broken
  2019-03-28 21:14       ` Alex Branham
@ 2019-03-28 22:41         ` Eric Abrahamsen
  0 siblings, 0 replies; 7+ messages in thread
From: Eric Abrahamsen @ 2019-03-28 22:41 UTC (permalink / raw)
  To: Alex Branham; +Cc: Basil L. Contovounesios, 34996


On 03/28/19 16:14 PM, Alex Branham wrote:
> On Tue 26 Mar 2019 at 10:41, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
>
>> I think it ought to work, yes. Would you try the attached patch and let
>> me know if it solves the problem?
>
> Hi Eric - 
>
> Any idea when/if this patch will get applied to master?

Sorry, just pushed! Thanks for the report.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-03-28 22:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-26  2:20 bug#34996: 27.0.50; gnus-group-read-ephemeral-group is broken Alex Branham
2019-03-26 14:00 ` Basil L. Contovounesios
2019-03-26 14:42   ` Alex Branham
2019-03-26 15:41     ` Eric Abrahamsen
2019-03-26 15:45       ` Alex Branham
2019-03-28 21:14       ` Alex Branham
2019-03-28 22:41         ` Eric Abrahamsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).