Re: Manipulating keymaps

Dr Rainer Woitok <[email protected]> Fri, 19 Jun 2026 13:06:32 +0200
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
Greetings,

On Thursday, 2026-06-18 14:15:02 -0400, [email protected] wrote:

> ...
> >    #! /usr/bin/bash
> >    #
> >    # lorem ipsum, dolor sit amet  consectetur adipisci velit, ONE, TWO, THREE, sed eius modi
> >    # tempora incidunt, ut labore et dolore magnam aliquam.
> >
> >    ; Again place the cursor on the "#" character preceding "lorem",  en-
> >    ; ter "C-<blank> <down> <down> C-u M-q"  to again re-format these two
> >    ; lines, BUT NOTHING HAPPENS,  the two lines don't change.
> 
> Using Emacs 30.2 (started from ‘emacs -Q’), with M-q bound
> to the command ‘prog-fill-reindent-defun’, the text was
> "filled", as expected.  Here is a copy of the resulting
> text:
> 
> >  #! /usr/bin/bash
> >  #
> >  # lorem ipsum,  dolor sit amet  consectetur adipisci velit,  ONE, TWO,
> >  # THREE, sed  eius modi tempora  incidunt, ut labore et  dolore magnam
> >  # aliquam.

The same happens here  when I just place the cursor  somewhere into this
text and hit "C-u M-q".   But I MARKED the region to be processed by ex-
ecuting "C-SPC <down> <down>" before running "C-u M-q".

Sincerely,
  Rainer