GNU bug report logs - #77113
[PATCH] Use default print settings in nnfeed--write-server

Previous Next

Package: emacs;

Reported by: James Thomas <jimjoe <at> gmx.net>

Date: Wed, 19 Mar 2025 10:20:04 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 77113 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: James Thomas <jimjoe <at> gmx.net>, daniel <at> dsemy.com
Cc: 77113 <at> debbugs.gnu.org
Subject: Re: bug#77113: [PATCH] Use default print settings in
 nnfeed--write-server
Date: Sat, 05 Apr 2025 11:27:51 +0300
> Cc: daniel <at> dsemy.com
> Date: Wed, 19 Mar 2025 15:49:06 +0530
> From:  James Thomas via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> I suppose it'd be possible to construct an adversarial example that
> would cause the current code to fail, but this should be
> uncontroversial. I've had occassional problems that it seems to fix.
> 
> Ref:
> https://lists.gnu.org/archive/html/info-gnus-english/2025-03/msg00020.html

Daniel, any comments?

> From 0334c958c73790264938c579c35b8124856f7287 Mon Sep 17 00:00:00 2001
> From: James Thomas <jimjoe <at> gmx.net>
> Date: Fri, 14 Mar 2025 15:54:31 +0530
> Subject: [PATCH] * lisp/gnus/nnfeed.el (nnfeed--write-server):
> 
> Use default print settings.
> ---
>  lisp/gnus/nnfeed.el | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lisp/gnus/nnfeed.el b/lisp/gnus/nnfeed.el
> index ffea063038e..f6cca1e5d76 100644
> --- a/lisp/gnus/nnfeed.el
> +++ b/lisp/gnus/nnfeed.el
> @@ -294,7 +294,7 @@ nnfeed--write-server
>                 ((hash-table-p s)))
>            (with-temp-file f
>              (insert ";;;; -*- mode: lisp-data -*- DO NOT EDIT\n")
> -            (prin1 s (current-buffer))
> +            (prin1 s (current-buffer) t)
>              (insert "\n")
>              t)
>          t)
> --
> 2.46.0




This bug report was last modified 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.