[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")
- mark-sexp again, Andreas Röhler, 2015/06/03
- Re: mark-sexp again, Stefan Monnier, 2015/06/03
- Re: mark-sexp again, Andreas Röhler, 2015/06/07
- Re: mark-sexp again, Stefan Monnier, 2015/06/08
- Re: mark-sexp again, Andreas Röhler, 2015/06/08
- Re: mark-sexp again,
Artur Malabarba <=
- Re: mark-sexp again, Andreas Röhler, 2015/06/08
- Re: mark-sexp again, Artur Malabarba, 2015/06/08
- Re: mark-sexp again, Andreas Röhler, 2015/06/09
- Re: mark-sexp again, Stefan Monnier, 2015/06/08