bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#54470: 29.0.50; [PATCH] Add documentation/tests for Eshell argument


From: Jim Porter
Subject: bug#54470: 29.0.50; [PATCH] Add documentation/tests for Eshell argument expansion
Date: Fri, 1 Apr 2022 22:10:07 -0700

On 3/31/2022 9:11 PM, Richard Stallman wrote:
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

   > > Or would @kbd be better to use here? These are things meant to be typed
   > > by the user into an interactive prompt, after all...

   > For something that user should type, @kbd is appropriate, yes.  But
   > since these all are portions of file names, perhaps @file is the best
   > markup.

@kbd is right for things that are meant specifically and only as
keyboard input.

Thanks for the explanation.

Having thought this over further, I think Eli's suggestion to use @samp makes sense for both the globs and the predicates/modifiers, so I've updated my patches to do this.

Attachment: 0001-Add-unit-tests-and-documentation-for-Eshell-pattern-.patch
Description: Text document

Attachment: 0002-Add-unit-tests-and-documentation-for-Eshell-predicat.patch
Description: Text document

Attachment: 0003-Add-G-argument-predicate-in-Eshell.patch
Description: Text document


reply via email to

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