From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Re: Somehow strange behaviour of `mark-sexp' Date: Thu, 13 Feb 2014 17:22:29 +0100 Message-ID: <8761ojx9ru.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392308536 20352 80.91.229.3 (13 Feb 2014 16:22:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2014 16:22:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 13 17:22:22 2014 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 1WDz3M-0001P5-61 for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Feb 2014 17:22:20 +0100 Original-Received: from localhost ([::1]:47398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDz3L-0007ra-PK for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Feb 2014 11:22:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDz30-0007iq-Dt for help-gnu-emacs@gnu.org; Thu, 13 Feb 2014 11:22:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDz2u-0000c7-Ju for help-gnu-emacs@gnu.org; Thu, 13 Feb 2014 11:21:58 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:48393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDz2u-0000bx-Dy for help-gnu-emacs@gnu.org; Thu, 13 Feb 2014 11:21:52 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WDz2q-0000rY-5f for help-gnu-emacs@gnu.org; Thu, 13 Feb 2014 17:21:48 +0100 Original-Received: from e178054133.adsl.alicedsl.de ([85.178.54.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Feb 2014 17:21:48 +0100 Original-Received: from tjolitz by e178054133.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Feb 2014 17:21:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 56 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178054133.adsl.alicedsl.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:TWhIJR8KPWQ4MXdkU1nHGBYGocc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:96055 Archived-At: Barry Margolin writes: > In article , > Thorsten Jolitz wrote: > >> Hi List, >> >> when doing 'C-h v mark-sexp' I see this (excerpt): >> >> ,----------------------------------------------------------------- >> | mark-sexp is an interactive compiled Lisp function in `lisp.el'. >> | >> | It is bound to C-M-@, C-M-SPC. >> `----------------------------------------------------------------- >> >> Now, moving point to the beginning of C-M-@ and calling ` mark-sexp', >> >> ,----- >> | C-M- >> `----- >> >> is marked. When moving point to the @ at the end of C-M-@ and calling >> `mark-sexp', >> >> ,----------- >> | @, C-M-SPC >> `----------- >> >> is marked, which I found a bit counter-intuitive. >> >> PS 1 >> >> `forward-sexp' acts like that too >> >> PS 2 >> >> I'm working on the console > > @, is part of backquote syntax, it unquotes the sexp following it. So it > thinks @, C-M-SPC is @, unquoting the variable C-M-SPC, and that's a > sexp. Ok, I see. > I'm not sure why you would expect sensible behavior from a command > intended for dealing with Lisp code in the *Help* buffer, which is just > plain text. not necessarily sensible behaviour, but mark-sexp works quite well on all kinds of "things at point", so I probably like its useful behaviour even in contexts outside its original scope. -- cheers, Thorsten