emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master fc2da0d: Gnus: Automatically render text/calend


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master fc2da0d: Gnus: Automatically render text/calendar in a human-friendly way
Date: Fri, 29 Mar 2019 10:05:43 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el
>> index b689b51..3f25541 100644
>> --- a/lisp/gnus/mm-decode.el
>> +++ b/lisp/gnus/mm-decode.el
>> @@ -261,13 +262,13 @@ before the external MIME handler is invoked."
>>      ("application/x-.?tar\\(-.*\\)?" mm-archive-dissect-and-inline identity)
>>      ("application/zip" mm-archive-dissect-and-inline identity)
>>      ("audio/wav" mm-inline-audio
>> -     (lambda (handle)
>> -       (and (or (featurep 'nas-sound) (featurep 'native-sound))
>> +     ,(lambda (_handle)
>> +       (and (fboundp 'device-sound-enabled-p)
>>          (device-sound-enabled-p))))
>>      ("audio/au"
>>       mm-inline-audio
>> -     (lambda (handle)
>> -       (and (or (featurep 'nas-sound) (featurep 'native-sound))
>> +     ,(lambda (_handle)
>> +       (and (fboundp 'device-sound-enabled-p)
>>          (device-sound-enabled-p))))
>>      ("application/pgp-signature" ignore identity)
>>      ("application/x-pkcs7-signature" ignore identity)
>
> I'm just curious: where do nas-sound/native-sound/device-sound-enabled-p
> come from?

No idea.

> Are they XEmacs artefacts?

I assume so.

> Can/should they eventually be changed to rely on play-sound et al.?

Could be (tho, doesn't play-sound suffer from the problem that
it's synchronous?)


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]