all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@online.de>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: mark-sexp again
Date: Mon, 08 Jun 2015 16:24:33 +0200	[thread overview]
Message-ID: <5575A5A1.1010806@online.de> (raw)
In-Reply-To: <jwvioayny7q.fsf-monnier+emacs@gnu.org>


Am 08.06.2015 um 15:09 schrieb Stefan Monnier:
>> AFAIU a string  inside a list is a sexp-expression and thus M-x
>> mark-sexp RET should work accordingly.
> It does, AFAICT.
>
>

When inside a string, mark-sexp should mark the string. IMO doesn't make 
sense to consider the contents then.

Example, cursor at beginning of docstring at "Just"

(defun foo1 ()
   "Just foo")

M-x mark-sexp RET marks word "Just", not the string.

Respectivly forward-sexp should reach the end of string, if called inside.

Thanks,

Andreas





  reply	other threads:[~2015-06-08 14:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-03 13:57 mark-sexp again Andreas Röhler
2015-06-03 15:24 ` Stefan Monnier
2015-06-07  8:32   ` Andreas Röhler
2015-06-08 13:09     ` Stefan Monnier
2015-06-08 14:24       ` Andreas Röhler [this message]
2015-06-08 16:09         ` Artur Malabarba
2015-06-08 18:55           ` Andreas Röhler
2015-06-08 19:37             ` Artur Malabarba
2015-06-09  6:24               ` Andreas Röhler
2015-06-08 21:02         ` Stefan Monnier

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=5575A5A1.1010806@online.de \
    --to=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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.