all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Quote marked region [utilities]
Date: Sun, 28 Mar 2021 13:21:15 +0300	[thread overview]
Message-ID: <YGBYm9i6XjvifyzO@protected.localdomain> (raw)
In-Reply-To: <83blb3oamh.fsf@gnu.org>

* 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



  parent reply	other threads:[~2021-03-28 10:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-28  9:59 Quote marked region [utilities] Jean Louis
2021-03-28 10:06 ` Eli Zaretskii
2021-03-28 10:09   ` Eli Zaretskii
2021-03-28 10:21   ` Jean Louis [this message]
2021-03-28 10:29     ` Eli Zaretskii
2021-03-28 10:38       ` Jean Louis
2021-03-28 10:23   ` Jean Louis
2021-03-28 10:30     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YGBYm9i6XjvifyzO@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.