From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hadron Quark Newsgroups: gmane.emacs.help Subject: Re: Jump to man page buffer Date: Sun, 10 Sep 2006 01:07:41 +0200 Organization: CERN LHC - http://public.web.cern.ch/public/ Message-ID: <87odtooczm.fsf@gmail.com> References: <8764fw22a3.fsf@gmail.com> <873bb0vi5h.fsf@herrrossi.mmweg.rwth-aachen.de> <87ejukwtw9.fsf@gmail.com> <87y7ssu01e.fsf@herrrossi.mmweg.rwth-aachen.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157845316 5313 80.91.229.2 (9 Sep 2006 23:41:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Sep 2006 23:41:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 10 01:41:53 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GMCSO-0002Ya-1p for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Sep 2006 01:41:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMCSN-00025J-Kl for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Sep 2006 19:41:51 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-X-Trace: individual.net 8TrKWdaorUrb+MSBXB69tA1QOXj6sFPdQ3uSY1SMkrQNkz+D0U X-Orig-Path: news.ibm.net!news X-Face: 2h#||Cd#d%F*NCm59[_6/{1a@jy%; |j>{D~4^gKg(^i%7j0IK?+,/GmW&:CD5fEKb_! User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:/TK4x+8s95cFaXB8dYEI5aGZGPI= Original-Xref: shelby.stanford.edu gnu.emacs.help:141638 Original-To: help-gnu-emacs@gnu.org 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:37261 Archived-At: Thorsten Bonow writes: >>>>>> "Hadron" == Hadron Quark writes: > > Hadron> Damn. Asleep again. I missed that. Thanks a lot : newframe is > Hadron> probably the best for me. > > I'm using "pushy" :-) > > Hadron> Out of curiosity what would the function be called to "jump to named > Hadron> buffer"? I had written my first bit of lisp to construct a > Hadron> legitimate buffer name but "switch to buffer" switches the named > Hadron> buffer into the current one, so I had 2 buffers with the manpage in > Hadron> :) > > Huh? > > I looked up the man-page of "grep", switched to another buffer and evaluated > > (switch-to-buffer "*Man grep*") > > Just switched to the correct buffer. Got only one of it. > > Hadron> thanks for any help. > > Good night... I'll explain : If you're editing a c file and called manual-entry(current-word) then the default setting was to open a new buffer and leave focus in the c file. I was trying to programmatically jump to the new buffer after calling manual-entry. But a call to switch-to buffer when there are *2* buffers open, brings the manual buffer into the current buffer - so suddenly there are 2 visible buffers showing the same manpage. > > Toto --