From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sergey Organov Newsgroups: gmane.emacs.devel Subject: Re: Undocumented menu feature? Date: Thu, 02 Oct 2014 19:46:28 +0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1412264822 5529 80.91.229.3 (2 Oct 2014 15:47:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2014 15:47:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 02 17:46:56 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 1XZiam-0003M1-8Y for ged-emacs-devel@m.gmane.org; Thu, 02 Oct 2014 17:46:56 +0200 Original-Received: from localhost ([::1]:34857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZial-0002WX-UC for ged-emacs-devel@m.gmane.org; Thu, 02 Oct 2014 11:46:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZiad-0002Vt-UV for emacs-devel@gnu.org; Thu, 02 Oct 2014 11:46:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZiaY-0006ha-LP for emacs-devel@gnu.org; Thu, 02 Oct 2014 11:46:47 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:53599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZiaY-0006h9-Fo for emacs-devel@gnu.org; Thu, 02 Oct 2014 11:46:42 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XZiaW-0003Dq-JB for emacs-devel@gnu.org; Thu, 02 Oct 2014 17:46:40 +0200 Original-Received: from 89.175.180.246 ([89.175.180.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2014 17:46:40 +0200 Original-Received: from sorganov by 89.175.180.246 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2014 17:46:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 89.175.180.246 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:174938 Archived-At: 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. The latter makes one think it's some special kind of separator, but I fail to see something relevant in "22.17.1.3 Menu Separators." How do I control it from Emacs? -- Sergey.