unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: New comment-sexp command and key bind
Date: Fri, 21 Aug 2015 14:44:22 +0100	[thread overview]
Message-ID: <CAAdUY-LY3S2NS_HD9f-2qyy6cR+RQdYYw_hy-Z-3gAH6bxUqhw@mail.gmail.com> (raw)
In-Reply-To: <87lhd4erf8.fsf@wanadoo.es>

> Go to the first line and M-x comment-or-uncomment-sexp :
>
> ;; (if something
>      foo
> ;;   bar)
>
> And the minibuffer shows:
>
> forward-sexp: Scan error: "Unbalanced parentheses", 3189, 3221

Yes, the command can't uncomment that because that's not a commented
sexp. It's like calling `mark-sexp' with half the sexp commented out.
I make it a better error message, though.



  reply	other threads:[~2015-08-21 13:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-21 11:11 New comment-sexp command and key bind Artur Malabarba
2015-08-21 11:31 ` João Távora
2015-08-21 12:24   ` Artur Malabarba
2015-08-21 12:15 ` Andreas Schwab
2015-08-21 12:50 ` Óscar Fuentes
2015-08-21 13:44   ` Artur Malabarba [this message]
2015-08-21 13:31 ` Stefan Monnier
2015-08-21 14:21   ` Artur Malabarba
2015-08-21 15:16     ` Óscar Fuentes

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CAAdUY-LY3S2NS_HD9f-2qyy6cR+RQdYYw_hy-Z-3gAH6bxUqhw@mail.gmail.com \
    --to=bruce.connor.am@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=ofv@wanadoo.es \
    /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 public inbox

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

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).