[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quote marked region [utilities]
From: |
Jean Louis |
Subject: |
Re: Quote marked region [utilities] |
Date: |
Sun, 28 Mar 2021 13:21:15 +0300 |
User-agent: |
Mutt/2.0.6 (2021-03-06) |
* Eli Zaretskii <eliz@gnu.org> [2021-03-28 13:07]:
> > Date: Sun, 28 Mar 2021 12:59:17 +0300
> > From: Jean Louis <bugs@gnu.support>
> >
> > Few utilities I have made today for quoting marked region with quotes
> > or escaped quotes. Very simple and handy when editing quoted strings,
> > like function descriptions or similar. Who knows, maybe it already
> > exists in Emacs.
>
> See combine-and-quote-strings. (Did you try using "M-x apropos" to
> find something like that?)
`combine-and-quote-strings' seem handy for lists of strings. It is not
interactive function that works on region, and my function does not
yet work on list of strings
M-x apropos is definitely useful, but I have not tried searching that
way. I have tried in a different way by using `C-h f' with joker
symbol `*' and `quote' with TAB, for example, it looks like:
Describe function: *quote*reg<TAB><TAB>
or
Describe function: *reg*quote<TAB><TAB>
or
Describe function: *quote*stri<TAB><TAB>
or
Describe function: *strin*quote<TAB><TAB>
and other good way to find functions is by using some of completion
packages like `ivy' as then one can type one or two words and find it
in reverse order.
Jean