From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?SmFuIERqw6Rydg==?= Newsgroups: gmane.emacs.devel Subject: Re: Undocumented menu feature? Date: Sat, 04 Oct 2014 14:30:03 +0200 Message-ID: <542FE84B.9030107@swipnet.se> References: <1892FD19-39D4-4825-AB8C-CE13C5268CF3@swipnet.se> <8761g09969.fsf@rosalinde.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1412428173 29894 80.91.229.3 (4 Oct 2014 13:09:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2014 13:09:33 +0000 (UTC) Cc: Sergey Organov , emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 04 15:09:27 2014 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 1XaP4l-0004AU-7C for ged-emacs-devel@m.gmane.org; Sat, 04 Oct 2014 15:08:43 +0200 Original-Received: from localhost ([::1]:43563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaOTs-0006zu-3h for ged-emacs-devel@m.gmane.org; Sat, 04 Oct 2014 08:30:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaOTX-0006zO-7s for emacs-devel@gnu.org; Sat, 04 Oct 2014 08:30:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XaOTS-0004I1-2d for emacs-devel@gnu.org; Sat, 04 Oct 2014 08:30:15 -0400 Original-Received: from mailfe05.swip.net ([212.247.154.129]:38105 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaOTR-0004C7-TR for emacs-devel@gnu.org; Sat, 04 Oct 2014 08:30:10 -0400 X-T2-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 532852871; Sat, 04 Oct 2014 14:30:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 In-Reply-To: <8761g09969.fsf@rosalinde.fritz.box> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.129 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:174966 Archived-At: Den 2014-10-03 22:42, Stephen Berman skrev: > On Thu, 2 Oct 2014 18:50:24 +0200 Jan Djärv wrote: > >> Hi. >> >> 2 okt 2014 kl. 17:46 skrev Sergey Organov : >> >>> Jan Djärv writes: >>> >>>> Hi. >>>> >>>> 2 okt 2014 kl. 16:34 skrev Sergey Organov : >>>> >>>>> Hello, >>>>> >>>>> I've asked this in help-gnu-emacs, but nobody seems to have a clue >>>>> there. Hopefully some developer(s) knwow. >>>>> >>>>> Here is the reference: >>>>> >>>>> http://lists.gnu.org/archive/html/help-gnu-emacs/2014-10/msg00007.html >>>>> >>>>> And here is my original question: >>>>> >>>>> I suddenly found that my emacs (GNU Emacs 23.2.1, running on >>>>> Debian/Gnome) is capable of "detaching" some sub-menus and putting them >>>>> into separate frames. For example, if I click "File" in the main menu, >>>>> submenu appears containing dashed line at the top, and if I click on >>>>> that dashed line, entire "File" submenu appears in a separate frame. >>>>> >>>>> I can't find anything about the feature by googling for it. Could somebody >>>>> please point me to relevant documentation? >>>> >>>> We don't have Emacs specific documentation for this, it is a standard >>>> Gtk+ feature. About to be deprecated in Gtk+ I think. >>> >>> Thanks, but first I don't see it in any other application but Emacs, and >>> second it looks to be somehow controlled from within Emacs: >>> >>> Some of Emacs submenus do have it, and some don't. For example, in >>> "Options", the "Line Wrapping in this Buffer" submenu has the dashed >>> line, while neither "Mule (Multilingual Environment)" nor "Customize >>> Emacs" have one. >>> >>> I can't figure any template, as some submenus of non-detachable menus >>> could be detachable, and vice versa. Moreover, ["Tools" "Spell >>> Checking"] has this active dashed line right in the middle (between >>> "Complete Word Fragment" and "Complete Word"), not at the top. >> >> I don't have this, it mihgt be a Gtk theme issue. I have dashed lines on all >> menus at the top. > > I also don't see the dashed line in the middle of the submenues Sergey > refers to; however, I did see it once in the Todo mode submenu "Display > and Printing", but after leaving and revisiting the Todo buffer, the > dashed line was at the top of that submenu, as with all other submenues, > and I haven't seen the odd display again, so perhaps there is some kind > of timing issue or race condition in the Gtk display. > > On the other hand, I do confirm the lack of a dashed line in the Options > submenu "Customize Emacs", also with -Q and every time I've tried since > the OP prompted me to look; so this seems to be a different bug. > (However, that submenu is the only one where I've seen the dashed line > missing; unlike the OP, I do see the line in the "Mule" submenu.) Bugs where present, I have fixed them in trunk. I can understand how the tearoff in the middle of the menu could happen, but I have not seen it. Fixed now. Jan D.