all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Basil L. Contovounesios" <contovob@tcd.ie>,
	Alex Branham <alex.branham@gmail.com>
Cc: 35021@debbugs.gnu.org, j@lollyshouse.ca,
	stephen_leake@stephe-leake.org, stlman@poczta.fm
Subject: bug#35021: M-^ (delete-indentation) doesn't work without a mark present
Date: Sat, 30 Mar 2019 13:15:07 +0300	[thread overview]
Message-ID: <83lg0wis7o.fsf@gnu.org> (raw)
In-Reply-To: <874l7o47v9.fsf@tcd.ie> (contovob@tcd.ie)

> From: "Basil L. Contovounesios" <contovob@tcd.ie>
> Date: Wed, 27 Mar 2019 16:09:14 +0000
> Cc: 35021@debbugs.gnu.org, Stephen Leake <stephen_leake@stephe-leake.org>,
> 	Łukasz Stelmach <stlman@poczta.fm>
> 
> > From a clean `emacs -Q` start:
> >
> > 1. Move point up to the bottom line of the *scratch* buffer comments
> > 2. Type M-^ (or M-x delete-indentation)
> > 3. Observe the following message in the minibuffer:
> >      The mark is not set now, so there is no region
> 
> This is because delete-indentation is currently using the 'r'
> interactive code, which barfs if the region is inactive.
> 
> I attach a patch which fixes this and also updates the entry for
> delete-indentation in the Elisp manual.  Is it acceptable?

Looks OK to me, please push.  Alex, this will also solve your bug
report, right?  If now, why not?

Thanks.





  parent reply	other threads:[~2019-03-30 10:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-27 14:19 bug#35021: M-^ (delete-indentation) doesn't work without a mark present Jon Irving
2019-03-27 16:09 ` Basil L. Contovounesios
2019-03-27 17:32   ` Jon Irving
2019-03-27 18:49     ` Basil L. Contovounesios
2019-03-30 10:15   ` Eli Zaretskii [this message]
2019-03-31  2:41     ` Basil L. Contovounesios
2019-03-31 14:23       ` Alex Branham
2019-03-31 16:43         ` Basil L. Contovounesios
2019-03-31 15:05       ` Eli Zaretskii
2019-03-31 16:42         ` Basil L. Contovounesios

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=83lg0wis7o.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=35021@debbugs.gnu.org \
    --cc=alex.branham@gmail.com \
    --cc=contovob@tcd.ie \
    --cc=j@lollyshouse.ca \
    --cc=stephen_leake@stephe-leake.org \
    --cc=stlman@poczta.fm \
    /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.