[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp and fixnum
From: |
Michael Albinus |
Subject: |
Re: Tramp and fixnum |
Date: |
Wed, 29 Aug 2018 10:09:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Paul Eggert <address@hidden> writes:
Hi Paul,
> + ;; Convert inode. Big numbers have been added to Emacs 27.
> + (unless (or (fboundp 'bignump) (listp (nth 10 attr)))
>
> How about changing to the following instead?
>
> (let ((inode (nth 10 attr)))
> (unless (or (integerp inode) (listp inode))
> ...
>
> That is, if the inode number is already an integer, leave it
> alone. This should work regardless of whether bignums are supported.
Indeed, that's better. Finally, it just needs
(when (floatp (nth 10 attr))
Pushed to the repositories.
Best regards, Michael.
- Tramp and fixnum (was: Making 'eq' == 'eql' in bignum branch), (continued)
- Tramp and fixnum (was: Making 'eq' == 'eql' in bignum branch), Michael Albinus, 2018/08/26
- Re: Tramp and fixnum (was: Making 'eq' == 'eql' in bignum branch), Paul Eggert, 2018/08/26
- Re: Tramp and fixnum (was: Making 'eq' == 'eql' in bignum branch), Eli Zaretskii, 2018/08/26
- Re: Tramp and fixnum, Michael Albinus, 2018/08/26
- Re: Tramp and fixnum (was: Making 'eq' == 'eql' in bignum branch), Paul Eggert, 2018/08/28
- Re: Tramp and fixnum, Michael Albinus, 2018/08/26
- Re: Tramp and fixnum, Paul Eggert, 2018/08/28
- Re: Tramp and fixnum, Michael Albinus, 2018/08/28
- Re: Tramp and fixnum, Michael Albinus, 2018/08/28
- Re: Tramp and fixnum, Paul Eggert, 2018/08/28
- Re: Tramp and fixnum,
Michael Albinus <=
- Re: Making 'eq' == 'eql' in bignum branch, Tom Tromey, 2018/08/26
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/08/26
- Re: Making 'eq' == 'eql' in bignum branch, Alan Mackenzie, 2018/08/26
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/08/26
- Re: Making 'eq' == 'eql' in bignum branch, Eli Zaretskii, 2018/08/26
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/08/27
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/08/27
- Re: Making 'eq' == 'eql' in bignum branch, Eli Zaretskii, 2018/08/27
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/08/27
- Re: Making 'eq' == 'eql' in bignum branch, Eli Zaretskii, 2018/08/27