[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Minor feature idea
From: |
Karl Fogel |
Subject: |
Re: Minor feature idea |
Date: |
Fri, 23 Jan 2015 10:41:56 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> Another option is to repurpose the word movement bindings. I don't know
>> what to think of that. Is a filename a "word"?
>
>No, words are smaller and have a well-defined meaning globally.
>OTOH "sexp" navigation is meant to be adjusted based on the particular
>syntax of the things being edited, so it fits very well with the idea of
>moving by file-name component.
Agreed -- this solution makes the most sense to me.
One doesn't see many files named "/home/jrandom/(cons foo bar)/qux" :-).
Using sexp motion to move by path component makes semantic sense, and anyway
there is unlikely to be some other more useful interpretation of sexps in that
context.