>> I think it makes sense to keep backward-up-list as it is, since it handles >> literal strings as it does. But the behaviour is controlled via special vars >> esape-strings and no-syntax-crossing. If we want similar command as >> beginning-of-string, we have to wrap it and let-bind those variables to >> change how it works. >> >> I am not sure, what is a symmetric function to move cursor to the end of list? > >If I'm understanding your question correctly: `up-list' moves the >cursor to the end of the list and out of it, the same way >`backward-up-list' moves it to the beginning and up. Indeed, I don't know where my brain was :). I don't use myself functions, I am typically moving my cursor by other means. up-list also treats literal strings the same as backward-up-list, places cursor after the closing parenthesis, so both up-list/end-of-list are useful in different contexts. ________________________________ Från: Karthik Chikmagalur Skickat: den 11 september 2024 05:17 Till: arthur miller ; Eli Zaretskii Kopia: emacs-devel@gnu.org Ämne: Re: Sv: Suggestion: two new commands: beginning-of-list and end-of-list > I think it makes sense to keep backward-up-list as it is, since it handles > literal strings as it does. But the behaviour is controlled via special vars > esape-strings and no-syntax-crossing. If we want similar command as > beginning-of-string, we have to wrap it and let-bind those variables to > change how it works. > > I am not sure, what is a symmetric function to move cursor to the end of list? If I'm understanding your question correctly: `up-list' moves the cursor to the end of the list and out of it, the same way `backward-up-list' moves it to the beginning and up.