From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.help Subject: Re: emacs 23 and emacsclient question. Date: Fri, 6 Mar 2009 13:58:35 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1236344350 26884 80.91.229.12 (6 Mar 2009 12:59:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Mar 2009 12:59:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Michal Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 06 14:00:27 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LfZf8-0000I3-Qz for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Mar 2009 14:00:27 +0100 Original-Received: from localhost ([127.0.0.1]:36301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfZdn-0006Sg-Km for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Mar 2009 07:59:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfZdQ-0006PT-90 for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 07:58:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfZdO-0006M5-Ct for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 07:58:39 -0500 Original-Received: from [199.232.76.173] (port=54445 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfZdO-0006Lx-8L for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 07:58:38 -0500 Original-Received: from mail-bw0-f172.google.com ([209.85.218.172]:37296) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfZdN-0005bZ-IS for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 07:58:37 -0500 Original-Received: by bwz20 with SMTP id 20so327050bwz.42 for ; Fri, 06 Mar 2009 04:58:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=HapiUrIUEy1YtWLFca4Yg8IqmdfJTkvuyi8uVs+Y4L0=; b=ue0E9WiQiMtP3BYKmMPl4m9KnVw8g1bendut3FbTvA0S3R46Go2a7JXadJIWpikg1m +dGYRcavfSqTb1eJ7b9/h9GygK6fHHhXXx1HQ51w/NyAmI23yUk1Mtk/EmclGe+wtqgR y+tRFQ6D3F84oLmstbrUWEzWKBj+q7S6Tfsmw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=DPTD+4VzmxhGm3zf6eR5xRFNfROXMKW7ULXq06FxhKDxvAb+s3U7L1iphOzUqk0imA iVIkRg6ZLPbOo5O7NiP9kuoQmK9NzAq2o52HWAdWpdNl4UA0PhUIT1JfjfxAEfU252sm eNEcz34uhrgSQGcPNUuiTPwf+JRLBxfunRPGY= Original-Received: by 10.223.111.134 with SMTP id s6mr2007038fap.37.1236344315250; Fri, 06 Mar 2009 04:58:35 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62676 Archived-At: On Fri, Mar 6, 2009 at 13:08, Michal wrote: > Have You got idea how to get =C2=A0current buffer and point? You can try: emacsclient --eval "(with-current-buffer (window-buffer (selected-window)) (cons (current-buffer) (point)))" or perhaps emacsclient --eval "(with-current-buffer (window-buffer (selected-window)) (point-marker))" or some other variant whose output is more suited to your needs. Juanma