On 10/15/2022 3:38 AM, Michael Albinus wrote: > Use what is offered by texinfo. Say for example > > --8<---------------cut here---------------start------------->8--- > the @env{PATH} environment variable > --8<---------------cut here---------------end--------------->8--- Ah ha, got it. > And in sample code, do not apply further formatting, but say it as you > mean it > > --8<---------------cut here---------------start------------->8--- > @samp{setq name value} > @samp{export NAME=value} > --8<---------------cut here---------------end--------------->8--- The Texinfo manual says I should wrap metasyntactic variables though[1]: For example, To delete file @var{filename}, type @samp{rm @var{filename}}. produces To delete file filename, type ‘rm filename’. (Note that @var may appear inside @code, @samp, @file, etc.) > Otherwise, it LGTM. Somewhere there is only one space after a dot > (should be two spaces), but I didn't marked this during review, and now > I'm too lazy to look for :-) I think I found it. Fixed. > I'd say just push it to the repo, and if there's something left to do we > can stiil do it. There's one significant problem I noticed with patch 0002 that we should probably fix first: 'setq-connection-local' clears all connection-local variables for the profile that were set elsewhere. That is, this: (with-connection-local-variables (setq-connection-local foo "foo") (setq-connection-local bar "bar")) only sets 'bar' on the connection-local profile; the second 'setq-connection-local' clears 'foo'. Attached is a fix for this (I'll fold it into patch 0002 before merging). I'm not sure if the new 'connection-local-update-profile-variables' I added is 100% perfect, but I think it should work for more real-world situations. [1] https://www.gnu.org/software/texinfo/manual/texinfo/html_node/_0040var.html