From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: command-separator char Date: Tue, 23 Jun 2015 15:33:15 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1435088131 10067 80.91.229.3 (23 Jun 2015 19:35:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Jun 2015 19:35:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 23 21:35:20 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z7TyZ-0001t7-O7 for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Jun 2015 21:35:19 +0200 Original-Received: from localhost ([::1]:47144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7TyZ-0002O8-4V for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Jun 2015 15:35:19 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-2.dfn.de!news.dfn.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Injection-Info: mx02.eternal-september.org; posting-host="e3bfe394937975ff5394a3dfc9ecb5b2"; logging-data="31631"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mkAlHix7fzNRww9LY6URh" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:+fRQ/p5ueIy2yiuk6w93nLjmnLU= sha1:ooaEO2Tgl/M0KzjrV6DtbqeTKz0= Original-Xref: usenet.stanford.edu gnu.emacs.help:212819 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105104 Archived-At: > From end of first string jumps into second string. Yes, that's the problem I mentioned in my "PS". > While there is an expression of three minor expressions: I don't know what you mean by that. > echo _ "foo"_ ; > WRT to deepest it should keep the level and end after ";" Not sure what you mean by "keep the level". >> SMIE's forward-sexp could very well check syntax-ppss to see we're >> inside a string (or comment) and move outside of that string, but then >> it would be a different command. > IMHO a much more usefull one :) `up-list' is aiming to do this. It currently fails miserably at that, tho. >> PS: That doesn't mean that it always works right either, of course. >> M-C-f with point right after the second "o" of "foo" (i.e. right before >> the closing double quotes) should signal an error > Think navigation shouldn't signal an error. Rather return nil - as at EOB. C-M-f when right before of a close paren signals an error, and it would make a lot of sense to do the same when right before of a closing quote. Stefan