unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Richard Riley <rileyrgdev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs's popularity
Date: Tue, 16 Dec 2008 16:50:01 +0100	[thread overview]
Message-ID: <gi8iqn$phr$1@usenet238.motzarella.org> (raw)
In-Reply-To: 873ago2m2v.fsf@nonospaz.fatphil.org

Phil Carmody <thefatphil_demunged@yahoo.co.uk> writes:

> "Juanma Barranquero" <lekktu@gmail.com> writes:
>>> The reason I don't use the client/server setup is that I absolutely
>>> do not want C/Perl code buffers appearing or being offered to me
>>> while I'm doing stuff in GNUS, and I absolutely do not want newsgroup/
>>> SCORE buffers appearing or being offered to me when I'm doing stuff
>>> with coding. Is there any way to keep these two sessions independent
>>> and still use the client/server setup?
>>
>> I think the variable `server-window' could be useful. Or did you try
>> it already and didn't suit your needs?
>
> I've never tried it, and, looking at the documentation, I can't
> work out how to use it.
> """
> Documentation:
> Specification of the window to use for selecting Emacs server buffers.
> If nil, use the selected window.
> If it is a function, it should take one argument (a buffer) and
> display and select it.  A common value is `pop-to-buffer'.
> If it is a window, use that.
> If it is a frame, use the frame's selected window.
> """
>
> So I just created a new frame, and dragged it to my coding desktop,
> how do I find out how to identify that frame? Going there and 
> C-h v frame TAB gives:
> """
> Possible completions are:
> frame-background-mode              frame-creation-function
> frame-initial-frame                frame-initial-frame-alist
> frame-initial-geometry-arguments   frame-name-history
> frame-notice-user-settings         frame-title-format
> """
> Which looks useless.
>
> Maybe there's a function which will tell me how to identify the
> frame I'm in. C-h a frame doesn't really list much that seems useful.
> Maybe there's something that's not listed. M-x frame TAB does list
> a few more functions (why aren't they in the apropos?) - in particular
> frame-list. Something which looked like it appears to be identifiers
> for frames appears in the message bar, but annoyingly isn't selectable
> by the mouse (why isn't the text there selectable?). So I go to 
> the *Messages* buffer:
> """
> (#<frame *scratch* 0x85e1500> #<frame *followup to Juanma Barranquero on gnu.emacs.help* 0x85d5fd0>)
> """
>
> So, let's try to use the former as an identifier for M-x set-variable server-window
> """
> if: Invalid read syntax: "#"
> byte-code: Beginning of buffer
> """
>
> So the function that "Return[s] a list of all frames." apparently doesn't
> return anthing that can be directly used as an identifier for frames. 
>
> So how should I set server-window to be on my new frame?
> And how should it be done automatically?
>
> And here's one extra thing that's a bit puzzling - why is it a 
> server-*window*? Windows come and go, get split, resized and what-
> have-you. When I started the new frame, it had the windows, 
> according to M-x window-list, 
> (#<window 454 on *scratch*> #<window 464 on *scratch*>).
> But a few C-x 2, C-x o, and C-x 0 later, it's now 
> (#<window 490 on *scratch*> #<window 491 on *scratch*>).
> What good would it have done if I had succeded in setting the 
> server-window to one of the two original windows? Wouldn't a 
> server-frame be far more useful?
>
>
> Assuming "Emacs server buffers" means the buffers that were opened
> via the server, then that's only going to be a subset of the buffers
> that I'll want to be sandboxed together. M-x ff-f, and I'll have my 
> header files in there too; M-x compile or M-x ediff, and I could 
> have arbitrary other files and non-file buffers. So "being opened 
> via the server or not" is not a good way to separate the code buffers 
> from the GNUS buffers.
>
> And this is why I run 2 emacses, one for news, and one for coding.
>
> Phil

I was looking at server-window myself recently (this morning) hoping it
might address some issues with calling emacslient to connect to a
running emac without needing to specify a file name or "-c" for new
frame. It confused me a tad too.

I see your reasoning for two emacs - running the server with emacs, erc
etc running and numerous code buffer leads to all sorts of hassles when
doing someting like reading mail in gnus especially when you have an
article buffer open in another frame on another workspace in XMonad or
something :-;


-- 
 important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday.  ~Dennis Gabor, Innovations:  Scientific, Technological and Social, 1970


  reply	other threads:[~2008-12-16 15:50 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-02  2:53 is there summary of template systems for emacs? Xah Lee
2008-12-02  4:28 ` Xah Lee
2008-12-03  0:34 ` Drew Adams
2008-12-07 19:14   ` Peter Milliken
     [not found]   ` <mailman.2168.1228677280.26697.help-gnu-emacs@gnu.org>
2008-12-14 21:37     ` Xah Lee
2008-12-15 18:24       ` Distributed Maintenance for Emacs (was: is there summary of template systems for emacs?) Leo
2008-12-15 18:45         ` Distributed Maintenance for Emacs Paul R
2008-12-15 18:48       ` is there summary of template systems for emacs? Peter Milliken
2008-12-15 20:21         ` Peter Milliken
     [not found]       ` <mailman.2806.1229365513.26697.help-gnu-emacs@gnu.org>
2008-12-15 19:31         ` Emacs's popularity (was: Distributed Maintenance for Emacs) Teemu Likonen
2008-12-15 20:42           ` Peter Milliken
2008-12-15 21:09           ` Jonathan Groll
2008-12-15 21:37             ` Emacs's popularity Teemu Likonen
2008-12-15 21:41               ` Lennart Borgman
     [not found]               ` <mailman.2823.1229377291.26697.help-gnu-emacs@gnu.org>
2008-12-15 22:28                 ` Richard Riley
2008-12-15 22:59                   ` Lennart Borgman
     [not found]                   ` <mailman.2834.1229381955.26697.help-gnu-emacs@gnu.org>
2008-12-15 23:40                     ` Richard Riley
2008-12-16  0:53                       ` Lennart Borgman
     [not found]                       ` <mailman.2836.1229388824.26697.help-gnu-emacs@gnu.org>
2008-12-16  1:01                         ` Richard Riley
2008-12-16  8:37                           ` Lennart Borgman
     [not found]                           ` <mailman.2845.1229416641.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:41                             ` Richard Riley
2008-12-16  2:37                       ` Charles philip Chan
2008-12-16 10:09                       ` Tim X
2008-12-16 11:20                         ` Richard Riley
     [not found]                       ` <mailman.2843.1229395204.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:17                         ` Tim X
2008-12-16 11:34                     ` Phil Carmody
2008-12-16 11:58                       ` Juanma Barranquero
     [not found]                       ` <mailman.2853.1229428708.26697.help-gnu-emacs@gnu.org>
2008-12-16 12:36                         ` Phil Carmody
2008-12-16 12:52                           ` Juanma Barranquero
     [not found]                           ` <mailman.2855.1229431948.26697.help-gnu-emacs@gnu.org>
2008-12-16 13:03                             ` Phil Carmody
2008-12-16 14:07                               ` Juanma Barranquero
     [not found]                               ` <mailman.2858.1229436444.26697.help-gnu-emacs@gnu.org>
2008-12-16 15:09                                 ` Phil Carmody
2008-12-16 15:50                                   ` Richard Riley [this message]
2008-12-16 17:43                                     ` Andrea Vettorello
2008-12-16 16:05                                   ` Juanma Barranquero
2008-12-16 16:21                                   ` Paul R
     [not found]                                   ` <mailman.2867.1229443519.26697.help-gnu-emacs@gnu.org>
2008-12-16 17:15                                     ` Richard Riley
2008-12-17  1:35                                     ` Phil Carmody
2008-12-16 16:56                       ` Andreas Politz
2008-12-17  1:34                         ` Phil Carmody
2008-12-17  7:43                       ` Tim X
2008-12-17 14:17                         ` B Smith-Mannschott
2008-12-15 23:55               ` Óscar Fuentes
     [not found]               ` <mailman.2835.1229385349.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:21                 ` Tim X
2008-12-16 12:35               ` William Case
2008-12-15 22:03             ` Emacs's popularity (was: Distributed Maintenance for Emacs) Drew Adams
2008-12-15 22:07               ` Lennart Borgman
2008-12-15 22:19                 ` Drew Adams
2008-12-15 22:22                   ` Lennart Borgman
     [not found]                   ` <mailman.2830.1229379766.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:33                     ` Emacs's popularity Tim X
2008-12-16 13:18                   ` Emacs's popularity (was: Distributed Maintenance for Emacs) Jonathan Groll
2008-12-16 17:46                     ` Drew Adams
2008-12-19  2:10                       ` Sean Sieger
2008-12-18 16:30               ` David L
2008-12-18 17:50                 ` Drew Adams
2008-12-19 16:53                   ` David L
2008-12-19 17:20                     ` Drew Adams
2008-12-19  2:37                 ` Sean Sieger
     [not found]             ` <mailman.2825.1229378627.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:22               ` Tim X
2008-12-16 11:56                 ` Richard Riley
2008-12-16 18:29                   ` Drew Adams
2008-12-15 22:49           ` Emacs's popularity Teemu Likonen
2008-12-16  2:10           ` Giorgos Keramidas
2008-12-15 21:28         ` Distributed Maintenance for Emacs (was: is there summary of template systems for emacs?) Richard Riley
2008-12-15 19:46       ` is there summary of template systems for emacs? Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gi8iqn$phr$1@usenet238.motzarella.org' \
    --to=rileyrgdev@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).