From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Riel Newsgroups: gmane.emacs.help Subject: using easy-menu-add-item to add a separator before item Date: Sun, 11 May 2014 12:06:56 -0700 Message-ID: <20140511120656.69cbf8ed@gauss> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1399835260 10788 80.91.229.3 (11 May 2014 19:07:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 May 2014 19:07:40 +0000 (UTC) To: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 11 21:07:30 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1WjZ5t-0007jZ-Uk for geh-help-gnu-emacs@m.gmane.org; Sun, 11 May 2014 21:07:30 +0200 Original-Received: from localhost ([::1]:34025 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjZ5t-0006kT-7g for geh-help-gnu-emacs@m.gmane.org; Sun, 11 May 2014 15:07:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjZ5b-0006kC-JK for help-gnu-emacs@gnu.org; Sun, 11 May 2014 15:07:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjZ5U-0005kd-1A for help-gnu-emacs@gnu.org; Sun, 11 May 2014 15:07:11 -0400 Original-Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.225]:15734 helo=cdptpa-oedge-vip.email.rr.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjZ5T-0005jf-T0 for help-gnu-emacs@gnu.org; Sun, 11 May 2014 15:07:03 -0400 Original-Received: from [75.80.177.38] ([75.80.177.38:42949] helo=gauss) by cdptpa-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 89/A1-16163-65ACF635; Sun, 11 May 2014 19:07:02 +0000 X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-RR-Connecting-IP: 107.14.168.118:25 X-Cloudmark-Score: 0 X-detected-operating-system: by eggs.gnu.org: BaiduSpider X-Received-From: 107.14.166.225 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97603 Archived-At: I have not been able to figure out how to get easy-menu-add-item to add a separator before an added item. The following works (no separator). (easy-menu-add-item nil '("Modelica") ["Check syntax" modelica-check-syntax-buffer t])) I'd prefer to add a separator before. I tried the following (easy-menu-add-item nil '("Modelica") "-") (easy-menu-add-item nil '("Modelica") ["Check syntax" modelica-check-syntax-buffer t]) but it gives the same result. How can I do this? -- Joe Riel -- Joe Riel