From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joshua Studen Newsgroups: gmane.emacs.help Subject: Re: Frame numbering Date: Sat, 19 Apr 2014 10:39:00 -0400 Message-ID: References: <3b67fd8d-7cd3-469b-9975-154fb3b5dfbe@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1397918365 20286 80.91.229.3 (19 Apr 2014 14:39:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2014 14:39:25 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 19 16:39:18 2014 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 1WbWQE-000883-7P for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Apr 2014 16:39:14 +0200 Original-Received: from localhost ([::1]:42280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbWQD-0003Jd-Ni for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Apr 2014 10:39:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbWQ2-0003Ii-BR for help-gnu-emacs@gnu.org; Sat, 19 Apr 2014 10:39:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbWQ1-0001Uw-5A for help-gnu-emacs@gnu.org; Sat, 19 Apr 2014 10:39:02 -0400 Original-Received: from mail-ig0-x230.google.com ([2607:f8b0:4001:c05::230]:43080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbWQ0-0001Uq-Td for help-gnu-emacs@gnu.org; Sat, 19 Apr 2014 10:39:01 -0400 Original-Received: by mail-ig0-f176.google.com with SMTP id uy17so438918igb.3 for ; Sat, 19 Apr 2014 07:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0RzsZRAgWBpuSrY3W1l1uC9xI40MgdaxYR9w1ip534w=; b=N4ePRpXSFieIViDO9LNVVnwt7HiIG3wzHpN/L5GFB+4neJ9Hr/Mb3RpwUC84ar8j6A YTVnyYTU1HXfWgBuYe9RB5Yvf7pfCJWPtBsQNFGBIW0tfWXI8tiUcoNKbb7cN9zeDJMy Og+GpME5DX6DvR0l/EgsUMxnTMwZo8cZAev2upCwh0t/7HNATAblLbxUYgXHdmHjJT+I WaM2UbuyaIJvkl6vvv1rErMiZmgfdJWKjPMNK7rKjKXGmaBvfxiFZ/wlwhuJeN5bdeSO V/8TwgwGDiovPQOXD/wrmMWCtRh7JsUwLLo5cUwWYECzNyqNQnltkVOOgu1DKjpVcse8 7MgQ== X-Received: by 10.43.151.134 with SMTP id ks6mr856359icc.85.1397918340376; Sat, 19 Apr 2014 07:39:00 -0700 (PDT) Original-Received: by 10.64.13.34 with HTTP; Sat, 19 Apr 2014 07:39:00 -0700 (PDT) In-Reply-To: <3b67fd8d-7cd3-469b-9975-154fb3b5dfbe@default> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::230 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:97235 Archived-At: Number 1 is what I do now, it's just a lot a bit of a slow-down to have to do it multiple times if I have multiple frames. #2 is very close. The ONLY issue is that I use emacs both via GUI locally and on a remote machine, I do emacs --daemon. When I leave the remote session, and come back and create a new Emacs client, the frame numbers do NOT start back at F1, I need a combination of your #2 and the suggested M-x set-frame-name. Maybe next emacs, there will be a way to set a frame name :). Thanks, all. On Fri, Apr 18, 2014 at 9:07 PM, Drew Adams wrote: > > Is there an easy way to have numbered frames in Emacs? I guess, I'd like > to > > setup my environment similar to what screen/tmux offer. I've found > > elscreen, but after using it for a while, I find it more of a distraction > > rather than an aid. > > > > Like with Tmux or screen, I can do C-b (or C-a) and then a number and it > > will switch to that screen/tmux pane. I think it COULD be possible with > > Emacs, but I don't know how to do it. > > > > Any advice or suggestions? > > This might be some help, though it does not seem to be exactly what you > are requesting. > > 1. `C-x 5 o' cycles among the available frames. This is true even if you > use Emacs in a terminal (i.e., without a graphic display) - see the Emacs > manual, node `Non-Window Terminals'. > > 2. Command `select-frame-by-name' raises and selects a frame by name, > providing completion. Again, this works also without a graphic display. > Frame names in a terminal are simple by default: FN1, FN2, etc. > Bind the command to a key, e.g., `C-a' as you suggested. Then > `C-a TAB 3' takes you to frame FN3. >