From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: put goto-line on modeline Date: Mon, 17 Jan 2005 22:54:58 -0800 Message-ID: References: <20050118.134319.154463812.jet@gyve.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1106032874 13103 80.91.229.6 (18 Jan 2005 07:21:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Jan 2005 07:21:14 +0000 (UTC) Cc: nickrob@snap.net.nz, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 18 08:21:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cqnfn-0002dW-00 for ; Tue, 18 Jan 2005 08:21:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cqnrg-0003jR-An for ged-emacs-devel@m.gmane.org; Tue, 18 Jan 2005 02:33:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cqnn0-0002nH-Je for emacs-devel@gnu.org; Tue, 18 Jan 2005 02:28:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cqnmg-0002jV-Su for emacs-devel@gnu.org; Tue, 18 Jan 2005 02:28:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cqnmg-0002c5-Pg for emacs-devel@gnu.org; Tue, 18 Jan 2005 02:28:14 -0500 Original-Received: from [141.146.126.230] (helo=agminet03.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CqnGe-0001RN-6l; Tue, 18 Jan 2005 01:55:08 -0500 Original-Received: from agminet03.oracle.com (localhost [127.0.0.1]) by agminet03.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j0I6t7rW005396; Mon, 17 Jan 2005 22:55:07 -0800 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.191.50]) by agminet03.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j0I6t68j005374; Mon, 17 Jan 2005 22:55:06 -0800 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j0I6t4Xx026145; Mon, 17 Jan 2005 23:55:04 -0700 Original-Received: from dradamslap (dhcp-amer-csvpn-gw1-141-144-64-86.vpn.oracle.com [141.144.64.86]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j0I6t1iW026125 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 17 Jan 2005 23:55:04 -0700 Original-To: "Masatake YAMATO" , X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <20050118.134319.154463812.jet@gyve.org> Importance: Normal X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:32318 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32318 I think this is a good feature. > The user has to enter the line number with the keyboard. Mixing mouse > clicks and keyboard input is rather inconvenient. How about the menu item "Goto Line..." in "Go To" in "Edit"? An user has to use both the mouse and keyboard. However, the menu item is useful. Furthermore, comparing with the menu item, the item on the line number of the mode line is more easy to choose; it is always displayed. I won't say whether this feature would be good or bad (I'm ~agnostic on it). FWIW, Framemaker has long had this feature as the main way to go to a page or line. When you click the page number in the "mode line", a dialog box opens, where you can choose the Page Number (and input the number) or Line Number (and input the number). The dialog box also tells you the first and last pages and the current line number. Again, I don't claim that this is a great feature, but it is used elsewhere. A similar feature that Framemaker uses is clicking the current document zoom factor (e.g. 100%) in the "mode line" to change it. When you do that, a menu pops up with various predefined zoom settings to choose from, plus menu items to Fit Page in Window, Fit Window to Page, and "Set...", which opens a dialog box for defining the zoom settings in the menu (10 settings). Other mode-line buttons zoom in and out one step, and go forward and backward a page. Just food for thought...for later.