From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: emacsclient always raise frame (possible regression) Date: Mon, 29 Jul 2013 10:44:26 -0500 Message-ID: <835225AA-DA56-47E7-B310-4EF7E132363D@mit.edu> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1375112639 15505 80.91.229.3 (29 Jul 2013 15:43:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jul 2013 15:43:59 +0000 (UTC) Cc: Jon Dufresne , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 29 17:44:00 2013 Return-path: Envelope-to: ged-emacs-devel@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 1V3pc6-0002BX-EE for ged-emacs-devel@m.gmane.org; Mon, 29 Jul 2013 17:43:58 +0200 Original-Received: from localhost ([::1]:55933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3pc5-0005yZ-MI for ged-emacs-devel@m.gmane.org; Mon, 29 Jul 2013 11:43:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3pbu-0005xA-SM for emacs-devel@gnu.org; Mon, 29 Jul 2013 11:43:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3pbn-0004pN-OZ for emacs-devel@gnu.org; Mon, 29 Jul 2013 11:43:46 -0400 Original-Received: from dmz-mailsec-scanner-3.mit.edu ([18.9.25.14]:55860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3pbn-0004pI-Ku for emacs-devel@gnu.org; Mon, 29 Jul 2013 11:43:39 -0400 X-AuditID: 1209190e-b7f988e0000009a7-e8-51f68daacefc Original-Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) by dmz-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP id 55.41.02471.AAD86F15; Mon, 29 Jul 2013 11:43:38 -0400 (EDT) Original-Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id r6TFhblw025512; Mon, 29 Jul 2013 11:43:38 -0400 Original-Received: from [172.20.50.178] (108-178-232-130.client.mchsi.com [108.178.232.130] (may be forged)) (authenticated bits=0) (User authenticated as yandros@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r6TFhY5H002747 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 29 Jul 2013 11:43:36 -0400 In-Reply-To: X-Mailer: Apple Mail (2.1508) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgleLIzCtJLcpLzFFi42IR4hTV1l3V+y3Q4N4KTYvHC56wWqy/8pnJ 4tuvrcwOzB47Z91l92ibZuax/s1epgDmKC6blNSczLLUIn27BK6MywcfsRX0MFfsPPGRsYHx KFMXIyeHhICJxMzlK5ghbDGJC/fWs3UxcnEICexjlLj57z87hLORUWLhgy9Qzg0miT07G9lB WpgFtCRu/HsJNopXQE9i6b85jCC2sICjxJ/Jn4FqODjYBGSAxmqAmJxA285OsgSpYBFQldg7 5w3UFDuJYy1HWSFseYntb+cwQ0y0knh7dxLUQcsZJR6838YGkhAR0JU48e0sK8hMCQFZiZ2/ kyYwCs5CctAsJAfNQjJ2ASPzKkbZlNwq3dzEzJzi1GTd4uTEvLzUIl1jvdzMEr3UlNJNjOCA luTbwfj1oNIhRgEORiUe3g0F3wKFWBPLiitzDzFKcjApifLO6AEK8SXlp1RmJBZnxBeV5qQW H2KU4GBWEuG94QWU401JrKxKLcqHSUlzsCiJ8z57ejZQSCA9sSQ1OzW1ILUIJivDwaEkwZsJ MlSwKDU9tSItM6cEIc3EwQkynAdouHQvyPDigsTc4sx0iPwpRkUpcV4fkGYBkERGaR5cLyzh vGIUB3pFmLccpIoHmKzgul8BDWYCGrxbBWxwSSJCSqqBsazbUtb2WvTh3w6zTN0L55Q+nFk2 +fjZH/tvMcyxlK2ZnMA6x+rbzVSDrbX9BY/dilYdFi7XTYqNcinoy2iq6Q14e9D9gdO0nIO6 qTsPyazYoOj7q/basfKfzM+FnWf05fG5SSl+yqx+VBXSZPk6ilnJUl/e27vDLLbx X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 18.9.25.14 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162246 Archived-At: On 29 Jul 2013, at 10:20, Stefan Monnier wrote: >> (setq server-visit-hook (append server-visit-hook '(raise-frame))) > > I strongly recommend you use `add-hook' to manipulate hooks. Good point! That particular snippet might actually pre-date add-hook; it's from somewhere around emacs 21, maybe 22. Sorry for not fixing it up before sending it. ~Chad