all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] scratch/gnus-decoded d23d12a 1/2: Make sure to decode group names read from newsrc files
       [not found] ` <20190617020743.1458420B45@vcs0.savannah.gnu.org>
@ 2019-06-17 12:14   ` Stefan Monnier
  2019-06-17 15:57     ` Eric Abrahamsen
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2019-06-17 12:14 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: emacs-devel

> +		    ;; newsrc files are written as 'raw-text.
> +		    (decode-coding-string
> +		     (symbol-name group) 'utf-8)))

Huh... so if it's written as `raw-text` why do we decode with `utf-8`
instead of `raw-text`?


        Stefan




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

* Re: [Emacs-diffs] scratch/gnus-decoded d23d12a 1/2: Make sure to decode group names read from newsrc files
  2019-06-17 12:14   ` [Emacs-diffs] scratch/gnus-decoded d23d12a 1/2: Make sure to decode group names read from newsrc files Stefan Monnier
@ 2019-06-17 15:57     ` Eric Abrahamsen
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Abrahamsen @ 2019-06-17 15:57 UTC (permalink / raw)
  To: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> +		    ;; newsrc files are written as 'raw-text.
>> +		    (decode-coding-string
>> +		     (symbol-name group) 'utf-8)))
>
> Huh... so if it's written as `raw-text` why do we decode with `utf-8`
> instead of `raw-text`?

That's an excellent question! I'm not sure what I was thinking. Will fix
it now.

Thanks,
Eric




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

end of thread, other threads:[~2019-06-17 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20190617020741.8052.32294@vcs0.savannah.gnu.org>
     [not found] ` <20190617020743.1458420B45@vcs0.savannah.gnu.org>
2019-06-17 12:14   ` [Emacs-diffs] scratch/gnus-decoded d23d12a 1/2: Make sure to decode group names read from newsrc files Stefan Monnier
2019-06-17 15:57     ` Eric Abrahamsen

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.