From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.bugs Subject: bug#15145: 24.3.50; "LessTif Resources" should be "Motif Resources" Date: Tue, 20 Aug 2013 20:08:25 +0200 Message-ID: <21011.45209.490688.695444@a1i15.kph.uni-mainz.de> 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 1377022218 28088 80.91.229.3 (20 Aug 2013 18:10:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Aug 2013 18:10:18 +0000 (UTC) To: 15145@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 20 20:10:20 2013 Return-path: Envelope-to: geb-bug-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 1VBqNn-0005pI-V3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Aug 2013 20:10:20 +0200 Original-Received: from localhost ([::1]:49283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBqNn-00080E-5b for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Aug 2013 14:10:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBqNe-0007zh-DB for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2013 14:10:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VBqNX-0004jV-LA for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2013 14:10:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBqNX-0004im-Hh for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2013 14:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VBqNW-00005U-Gd for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2013 14:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ulrich Mueller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Aug 2013 18:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15145 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137702214432689 (code B ref -1); Tue, 20 Aug 2013 18:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Aug 2013 18:09:04 +0000 Original-Received: from localhost ([127.0.0.1]:43080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VBqMZ-0008VA-Ku for submit@debbugs.gnu.org; Tue, 20 Aug 2013 14:09:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42947) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VBqMW-0008Uj-SZ for submit@debbugs.gnu.org; Tue, 20 Aug 2013 14:09:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VBqMQ-0004Of-7J for submit@debbugs.gnu.org; Tue, 20 Aug 2013 14:09:00 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBqMQ-0004Oa-4T for submit@debbugs.gnu.org; Tue, 20 Aug 2013 14:08:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBqMK-0007qA-6T for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2013 14:08:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VBqMD-0004Jp-TA for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2013 14:08:48 -0400 Original-Received: from a1www.kph.uni-mainz.de ([134.93.134.1]:40325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBqMD-00040v-KX for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2013 14:08:41 -0400 Original-Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.4/8.13.4) with ESMTP id r7KI8T5L025927 for ; Tue, 20 Aug 2013 20:08:29 +0200 Original-Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.6/8.14.2) with ESMTP id r7KI8PVB029370; Tue, 20 Aug 2013 20:08:25 +0200 Original-Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.6/8.14.6/Submit) id r7KI8Pd5029368; Tue, 20 Aug 2013 20:08:25 +0200 X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:77561 Archived-At: Tags: patch For some reason, the manual refers to "LessTif Resources" instead of "Motif Resources". However, Motif is the original implementation, whereas LessTif is an incomplete clone of it (whose development has stalled). Furthermore, functions and variables are named *motif* throughout (e.g., motif-version-string). Both Motif and LessTif are free software, licensed under the LGPL. I think that it would serve users better if the name of the original implementation was used. The patch below changes LessTif (back) to Motif in some places, partially reverting the following commit from 2001: http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/36503 --- emacs-orig/doc/emacs/emacs.texi +++ emacs/doc/emacs/emacs.texi @@ -1189,7 +1189,7 @@ * Resources:: Using X resources with Emacs (in general). * Table of Resources:: Table of specific X resources that affect Emacs. * Lucid Resources:: X resources for Lucid menus. -* LessTif Resources:: X resources for LessTif and Motif menus. +* Motif Resources:: X resources for Motif and LessTif menus. * GTK resources:: Resources for GTK widgets. GTK resources --- emacs-orig/doc/emacs/xresources.texi +++ emacs/doc/emacs/xresources.texi @@ -27,7 +27,7 @@ * Resources:: Using X resources with Emacs (in general). * Table of Resources:: Table of specific X resources that affect Emacs. * Lucid Resources:: X resources for Lucid menus. -* LessTif Resources:: X resources for LessTif and Motif menus. +* Motif Resources:: X resources for Motif and LessTif menus. * GTK resources:: Resources for GTK widgets. @end menu @@ -260,7 +260,7 @@ @ifnottex @item @code{selectionFont} (class @code{SelectionFont}) Font name for pop-up menu items, in non-toolkit versions of Emacs. (For -toolkit versions, see @ref{Lucid Resources}, also see @ref{LessTif +toolkit versions, see @ref{Lucid Resources}, also see @ref{Motif Resources}.) @item @code{selectionTimeout} (class @code{SelectionTimeout}) @@ -370,15 +370,15 @@ Margin of the menu bar, in characters. Default is 1. @end table -@node LessTif Resources -@appendixsec LessTif Menu X Resources -@cindex Menu X Resources (LessTif widgets) -@cindex LessTif Widget X Resources - - If Emacs is compiled with the X toolkit support using LessTif or -Motif widgets, you can use X resources to customize the appearance of -the menu bar, pop-up menus, and dialog boxes. However, the resources -are organized differently from Lucid widgets. +@node Motif Resources +@appendixsec Motif Menu X Resources +@cindex Menu X Resources (Motif widgets) +@cindex Motif Widget X Resources + + If Emacs is compiled with the X toolkit support using Motif or +LessTif widgets, you can use X resources to customize the appearance +of the menu bar, pop-up menus, and dialog boxes. However, the +resources are organized differently from Lucid widgets. The resource names for the menu bar are in the @samp{pane.menubar} class, and they must be specified in this form: --- emacs-orig/doc/man/emacs.1 +++ emacs/doc/man/emacs.1 @@ -445,7 +445,7 @@ .IR on ; don't have menu bars if .IR off . -See the Emacs manual, sections "Lucid Resources" and "LessTif +See the Emacs manual, sections "Lucid Resources" and "Motif Resources", for how to control the appearance of the menu bar if you have one. .TP @@ -492,7 +492,7 @@ Font name for pop-up menu items, in non-toolkit versions of .IR Emacs . (For toolkit versions, see the Emacs manual, sections -"Lucid Resources" and "LessTif Resources".) +"Lucid Resources" and "Motif Resources".) .TP .BR selectionTimeout " (class " SelectionTimeout ) Number of milliseconds to wait for a selection reply.