all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adrian Robert <adrian.b.robert@gmail.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: robert <robert@morrison.gslt.hum.gu.se>, 4765@emacsbugs.donarmstrong.com
Subject: bug#4765: 23.1; set-frame-name makes emacs -nw crash on mac
Date: Fri, 23 Oct 2009 16:10:10 -0400	[thread overview]
Message-ID: <FF5E5665-FEF9-4463-8D26-D85B3C7E981D@gmail.com> (raw)
In-Reply-To: <87k4ym82r6.fsf@stupidchicken.com>


On Oct 23, 2009, at 12:59 PM, Chong Yidong wrote:

> Adrian Robert <adrian.b.robert@gmail.com> writes:
>
>> On Oct 23, 2009, at 11:46 AM, Chong Yidong wrote:
>>
>>> Hi Adrian, can you reproduce this problem?
>>
>> I can on Snow Leopard and Tiger but this is in -nw mode and the stack
>> trace (below) shows nothing involved from NS side.  Does it appear
>> under other OS's?  The stack trace below shows it resulting from
>> ns_set_name() called from x_implicitly_set_name.  ns_set_name does  
>> not
>> check if it is an ns frame, but the X equivalent doesn't either.  It
>> seems like something is going wrong earlier if x_implicitly_set_name
>> is being called for a non-GUI frame.
>
> No crash for me on GNU/Linux.  The x_implicity_set_name function *is*
> called, but because `f->explicit_name' is non-zero (it's 1), that
> function returns.
>
> I think the problem is that ns_set_name should defer calling
> FRAME_NS_VIEW until after line 542.  Maybe that fixes the bug; could  
> you
> check?

It fixes the crash, but nothing gets changed in the display either.   
On emacs-22 it sets something just to the right of the left set of  
dashes.  Could this be an additional bug in the NS code?

-Adrian






  reply	other threads:[~2009-10-23 20:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 15:46 bug#4765: 23.1; set-frame-name makes emacs -nw crash on mac Chong Yidong
2009-10-23 16:24 ` Adrian Robert
2009-10-23 16:59   ` Chong Yidong
2009-10-23 20:10     ` Adrian Robert [this message]
2009-10-23 20:53       ` Chong Yidong
2011-11-17  0:47       ` Glenn Morris
  -- strict thread matches above, loose matches on Subject: below --
2009-10-20 14:38 robert

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

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

  git send-email \
    --in-reply-to=FF5E5665-FEF9-4463-8D26-D85B3C7E981D@gmail.com \
    --to=adrian.b.robert@gmail.com \
    --cc=4765@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=robert@morrison.gslt.hum.gu.se \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.