From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Benny Sum Newsgroups: gmane.emacs.help Subject: Re: Question on frame title Date: Thu, 15 Oct 2015 09:43:42 -0700 (PDT) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1444927578 10081 80.91.229.3 (15 Oct 2015 16:46:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2015 16:46:18 +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 Oct 15 18:46:18 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 1ZmlfT-0005jX-Dk for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Oct 2015 18:46:15 +0200 Original-Received: from localhost ([::1]:48659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmlfS-0003o6-OX for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Oct 2015 12:46:14 -0400 X-Received: by 10.50.134.199 with SMTP id pm7mr11370485igb.0.1444927423526; Thu, 15 Oct 2015 09:43:43 -0700 (PDT) X-Received: by 10.50.115.70 with SMTP id jm6mr257009igb.5.1444927423504; Thu, 15 Oct 2015 09:43:43 -0700 (PDT) Original-Path: usenet.stanford.edu!kq10no18823835igb.0!news-out.google.com!z4ni21906ign.0!nntp.google.com!kq10no21727404igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=137.254.4.4; posting-account=F4v_QgkAAABvIIcQiQPSwLKFL-kD1tbH Original-NNTP-Posting-Host: 137.254.4.4 User-Agent: G2/1.0 Injection-Date: Thu, 15 Oct 2015 16:43:43 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:215373 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:107657 Archived-At: ls is just as an example. I want to do unix command to get the revision control of a file. Ultimately, here is what I want to do: Say unix command: > info_data filename -> revision number of the file from the database (setq frame-title-format (list (format "%s" (shell-command-to-string(concat "info-data " " %b "))))) So, I just use ls -1 as an example of unix command. But the problem is that it seems I don't have filename correctly. It says I can't access the filename. Did you try the command and see if that works for you?