From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lluis Newsgroups: gmane.emacs.bugs Subject: bug#4724: 23.1; emacsclient: Specify desired terminal type instead of using `-c' Date: Wed, 14 Oct 2009 22:41:08 +0200 Message-ID: <20091014204108.GC3327@ginnungagap.pc.ac.upc.edu> Reply-To: Lluis , 4724@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255566448 24443 80.91.229.12 (15 Oct 2009 00:27:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2009 00:27:28 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 15 02:27:18 2009 Return-path: Envelope-to: geb-bug-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 1MyEBZ-0006RL-Hc for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Oct 2009 02:27:17 +0200 Original-Received: from localhost ([127.0.0.1]:58635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyEBY-0003cp-Tt for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Oct 2009 20:27:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyB44-0008P3-MO for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 17:07:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyB3z-0008Ma-Bm for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 17:07:19 -0400 Original-Received: from [199.232.76.173] (port=37920 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyB3y-0008MR-WB for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 17:07:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59550) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MyB3y-00024z-9o for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 17:07:14 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9EL7B3F003609; Wed, 14 Oct 2009 14:07:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9EKo4pQ032558; Wed, 14 Oct 2009 13:50:04 -0700 Resent-Date: Wed, 14 Oct 2009 13:50:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Lluis Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 14 Oct 2009 20:50:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4724 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125555287731607 (code B ref -1); Wed, 14 Oct 2009 20:50:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 14 Oct 2009 20:41:17 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9EKfFt9031604 for ; Wed, 14 Oct 2009 13:41:17 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyAep-0004NH-HG for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 16:41:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyAei-0004MY-R0 for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 16:41:15 -0400 Original-Received: from [199.232.76.173] (port=54625 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyAei-0004MV-My for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 16:41:08 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:46324) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MyAei-0006m2-2P for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 16:41:08 -0400 Original-Received: (qmail invoked by alias); 14 Oct 2009 20:41:05 -0000 Original-Received: from dync-30-245.ac.upc.es (EHLO localhost) [147.83.30.245] by mail.gmx.net (mp048) with SMTP; 14 Oct 2009 22:41:05 +0200 X-Authenticated: #12333383 X-Provags-ID: V01U2FsdGVkX1+Br7EBdIuBaw79LC4ulHu66bNBY2gn920G6siVYR PAYSuhBZtUr1qu Content-Disposition: inline X-Operating-System: Debian GNU/Linux Kernel 2.6.31-trunk-amd64 (x86_64) User-Agent: Mutt/1.5.20 (2009-06-14) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 14 Oct 2009 17:07:19 -0400 X-Mailman-Approved-At: Wed, 14 Oct 2009 20:27:10 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31943 Archived-At: I use emacsclient -e "(remember-other-frame)" for quick note-taking. I use this together with an advice around remember-other-frame (similar to [0]), such that finishing or cancelling the note deletes the frame and lets me seamlessly resume my workflow. However, this only works in a graphical environment if there is already an emacsclient -c ... running, as otherwise emacs throws *ERROR*: Unknown terminal type Even more, running emacsclient -c -e "(remember-other-frame)" opens two frames: the one coming from the `emacsclient -c' and the one created by `remember-other-frame'. This is specially annoying, as cancelling the note (C-g) deletes both frames, but finishing the note (C-c C-c) just deletes the remember frame. So, could it be possible to tell `emacsclient' which terminal type to use without instructing it to open a new frame for itself? [0] http://emacs-fu.blogspot.com/2009/04/remember.html?showComment=1244720811729#c6063619801238280639 Thanks, Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth