[Libguestfs] [PATCH libnbd 1/3] generator: Change Closure so it describes single callbacks.

Eric Blake eblake at redhat.com
Thu Jul 25 13:26:33 UTC 2019


On 7/25/19 3:43 AM, Martin Kletzander wrote:

>>> > +         (* The following not yet implemented for callbacks XXX *)
>>> > +         | ArrayAndLen _ | Bool _ | BytesOut _
>>> > +           | BytesPersistIn _ | BytesPersistOut _
>>>
>>> Not your usual indentation style.
>>
>> I think at some point I gave up fighting tuareg mode :-(
>>
>> I need to ask Martin for the right settings to make it indent in the
>> preferred way.
>>
> 
> So I only found this:
> 
> tuareg-electric-indent is a variable defined in ‘tuareg.el’.
> Its value is nil

I found several "User customizable variables" in tuareg.el:
tuareg-in-indent
tuareg-with-indent
tuareg-match-clause-indent
tuareg-match-when-indent

but none of them sound like this particular issue.  And
https://ocaml.org/learn/tutorials/guidelines.html appears to be silent
on the matter of shared patterns to a single -> action. So I filed:
https://github.com/ocaml/ocaml.org/issues/1079

> So I created new $HOME, ran `emacs -Q`, added melpa to the repository list,
> installed tuareg and nothing else.  And it still Just Works™.  Maybe
> updating
> your tuareg.el would do the trick? O:-)

I'm using Fedora 29 emacs-tuareg-2.0.10-5.fc29.noarch

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190725/dc9e4427/attachment.sig>


More information about the Libguestfs mailing list