From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "weber" Newsgroups: gmane.emacs.help Subject: Re: Emacsclient buffers Date: 9 Feb 2007 08:54:43 -0800 Organization: http://groups.google.com Message-ID: <1171040083.278409.222110@q2g2000cwa.googlegroups.com> References: <1171038095.049533.257300@j27g2000cwj.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1171042875 9978 80.91.229.12 (9 Feb 2007 17:41:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Feb 2007 17:41:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 09 18:41:09 2007 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 1HFZkA-0007TW-3T for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Feb 2007 18:41:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFZk9-0005Zb-I2 for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Feb 2007 12:41:05 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.247.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!q2g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 200.213.54.31 Original-X-Trace: posting.google.com 1171040091 7564 127.0.0.1 (9 Feb 2007 16:54:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 9 Feb 2007 16:54:51 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 fw.datacom-telematica.com.br:3128 (squid/2.5.STABLE6) Complaints-To: groups-abuse@google.com Injection-Info: q2g2000cwa.googlegroups.com; posting-host=200.213.54.31; posting-account=pG57fA0AAADtQ-4h1MyvjXjZpSNZC0zj Original-Xref: shelby.stanford.edu gnu.emacs.help:145423 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:41028 Archived-At: On 9 fev, 13:49, "Juanma Barranquero" wrote: > On 9 Feb 2007 08:21:35 -0800, weber wrote: > > > My question is: is there some variable that I can check to see if a > > buffer is regular or opened by emacsclient? > > If emacsclient is waiting for a buffer to be edited, the buffer will > have a non-nil local variable `server-buffer-clients'. > > /L/e/k/t/u server-buffer-clients is a variable defined in `server.el'. Its value is (#>) TRUE :)