From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chunyang Xu Newsgroups: gmane.emacs.help Subject: Re: How can I change "buffer" to "string" Date: Wed, 05 Aug 2015 14:49:12 +0800 Message-ID: References: <87a8u6qo14.fsf@kuiper.lan.informatimago.com> <20150805063520.GA22606@debian> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438769949 26891 80.91.229.3 (5 Aug 2015 10:19:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Aug 2015 10:19:09 +0000 (UTC) Cc: "Pascal J. Bourguignon" , help-gnu-emacs@gnu.org To: Navy Cheng Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 05 12:19:05 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 1ZMvmq-0000QG-D8 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Aug 2015 12:19:04 +0200 Original-Received: from localhost ([::1]:39865 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMvmp-00079v-LY for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Aug 2015 06:19:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMsVz-0000mb-Qm for help-gnu-emacs@gnu.org; Wed, 05 Aug 2015 02:49:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMsVw-0005j6-L9 for help-gnu-emacs@gnu.org; Wed, 05 Aug 2015 02:49:27 -0400 Original-Received: from mail-pd0-x234.google.com ([2607:f8b0:400e:c02::234]:36636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMsVw-0005ij-EI for help-gnu-emacs@gnu.org; Wed, 05 Aug 2015 02:49:24 -0400 Original-Received: by pdco4 with SMTP id o4so14562053pdc.3 for ; Tue, 04 Aug 2015 23:49:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; bh=6G/sVa1tT+dJSaUOAo58wfLRsB6aCuzsH6uulOkASBY=; b=fjgek7v8zaLulQTFG8JUiIkAZfDZNmncNB7Sj9BpA0ylxobvNWCt4Sw4bwQM0PwK84 SyLzW+XPUaCYvsjYI3mYN+NG+nCgSV4biouN1to1QoIy06KXfmWEX3No2yLJXro1iqb8 sl39eaDtwZNykRmVrST3WgifiD80j2/5FsHly4x+qlb5mHE12CoLcUF8PdfxHlaJs448 V4ilaWIyLfnQLr4yXMCSdhfH1QgyFMcYVQHSm+3k3H+e0uo7EDEa2EC13s5cTYhJ1axf 1n6ks2ARff74/LMqbPxXZzeedtEOxWOMYMdLunQKaGbQnOE9SheSY50ul8ZZclvY1xL3 N5qA== X-Received: by 10.70.127.140 with SMTP id ng12mr16652791pdb.94.1438757362875; Tue, 04 Aug 2015 23:49:22 -0700 (PDT) Original-Received: from localhost ([107.170.249.82]) by smtp.gmail.com with ESMTPSA id fm3sm1009623pdb.49.2015.08.04.23.49.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Aug 2015 23:49:21 -0700 (PDT) In-reply-to: <20150805063520.GA22606@debian> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::234 X-Mailman-Approved-At: Wed, 05 Aug 2015 06:18:49 -0400 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:106248 Archived-At: Navy Cheng writes: > Sorry for my ambiguous question. > > For example, I have a buffer *mybuf*. The buffer contain some lines. such as > > 1. ... > 2. /home/navy/test.c > 3. ... > > Now, I want to assignment the path in line 2 to a variable, *path*. And I > to (find-file path). Move point on that path and M-x ffap, see more on ffap: (info "(emacs) FFAP"). -- Chunyang Xu