* Is there any unbackslash-region command in emacs?
@ 2021-07-02 8:20 mrf
2021-07-02 9:14 ` Daniel Martín
2021-07-02 11:02 ` Emanuel Berg via Users list for the GNU Emacs text editor
0 siblings, 2 replies; 3+ messages in thread
From: mrf @ 2021-07-02 8:20 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
When I work on long C macros I use
M-x c-backslash-region
// even makefile-backslash-region working in c-mode
after writing it but sometimes I want to convert preprocessor function
to symbolic function so I can do recursion and to do that I remove
backslashes with C-x SPC (rectangle-mark-mode).
what I'm asking for is quick command to remove this backslashes like the
comment and uncomment commands:
M-x comment-region
M-x uncomment-region
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is there any unbackslash-region command in emacs?
2021-07-02 8:20 Is there any unbackslash-region command in emacs? mrf
@ 2021-07-02 9:14 ` Daniel Martín
2021-07-02 11:02 ` Emanuel Berg via Users list for the GNU Emacs text editor
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Martín @ 2021-07-02 9:14 UTC (permalink / raw)
To: mrf; +Cc: help-gnu-emacs
mrf <joinlaw@cock.li> writes:
> Hi,
>
> When I work on long C macros I use
>
> M-x c-backslash-region
>
> // even makefile-backslash-region working in c-mode
>
> after writing it but sometimes I want to convert preprocessor function
> to symbolic function so I can do recursion and to do that I remove
> backslashes with C-x SPC (rectangle-mark-mode).
>
> what I'm asking for is quick command to remove this backslashes like the
> comment and uncomment commands:
>
> M-x comment-region
>
> M-x uncomment-region
Did you try C-u M-x c-backslash-region? The docstring says that, with an
argument, the command will remove the backslashes.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is there any unbackslash-region command in emacs?
2021-07-02 8:20 Is there any unbackslash-region command in emacs? mrf
2021-07-02 9:14 ` Daniel Martín
@ 2021-07-02 11:02 ` Emanuel Berg via Users list for the GNU Emacs text editor
1 sibling, 0 replies; 3+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2021-07-02 11:02 UTC (permalink / raw)
To: help-gnu-emacs
mrf wrote:
> after writing it but sometimes I want to convert
> preprocessor function to symbolic function so I can do
> recursion and to do that I remove backslashes with C-x SPC
> (rectangle-mark-mode).
preprocessor function -> ordinary function
recursion -> iteration
problem -> solved
--
underground experts united
https://dataswamp.org/~incal
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-02 11:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-02 8:20 Is there any unbackslash-region command in emacs? mrf
2021-07-02 9:14 ` Daniel Martín
2021-07-02 11:02 ` Emanuel Berg via Users list for the GNU Emacs text editor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).