[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mark-sexp again

From: Artur Malabarba
Subject: Re: mark-sexp again
Date: Mon, 8 Jun 2015 17:09:25 +0100

2015-06-08 15:24 GMT+01:00 Andreas Röhler <address@hidden>:
> 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.

That would make it redundant with `up-list'.

As for the general suggestion, I personally like the current behavior.
For instance, in the following docstring, it's nice that forward-sexp
and kill-sexp work on `foo-bar' inside the string.

(defun ok ()
  "something `foo-bar' something")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]