From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Several beginner-questions Date: Mon, 25 Jul 2011 18:14:58 +0300 Message-ID: <83ei1efl3h.fsf@gnu.org> References: <201107242322.31639.vvmarko@gmail.com> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1311606907 32680 80.91.229.12 (25 Jul 2011 15:15:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Jul 2011 15:15:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 25 17:15:03 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QlMs2-0000TH-UR for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jul 2011 17:15:03 +0200 Original-Received: from localhost ([::1]:48599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlMs2-0007l1-7N for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jul 2011 11:15:02 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlMrx-0007kO-I4 for help-gnu-emacs@gnu.org; Mon, 25 Jul 2011 11:14:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlMrw-0001mx-Di for help-gnu-emacs@gnu.org; Mon, 25 Jul 2011 11:14:57 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:45915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlMrw-0001mj-7A for help-gnu-emacs@gnu.org; Mon, 25 Jul 2011 11:14:56 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LOW00E00A5YWJ00@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Mon, 25 Jul 2011 18:14:54 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.124.68.10]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LOW00E6KACQ3GD0@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Mon, 25 Jul 2011 18:14:52 +0300 (IDT) In-reply-to: <201107242322.31639.vvmarko@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 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:81762 Archived-At: > From: Marko Vojinovic > Date: Sun, 24 Jul 2011 23:22:31 +0100 > > 1) Is there a package to recreate the old MS-DOS pull-down menu display, > instead of the default "open new buffer to display menu items" behavior > (invoked by F10)? I don't think so. Someone(TM) should back-port the DOS code that supports menus of a text-only terminal to the rest of Emacs platforms. > 2) I have set (line-number-mode 1) and (column-number-mode 1) in order to see > the cursor coordinates, and this works. However, column numbering begins with > zero --- the top-left corner of the buffer has coordinates (1,0). How do I get > rid of the 0-th column? I want the columns to be counted from 1 (so that the > corner has coordinates (1,1), which is more natural from my POV)? You could redefine mode-line-format to do that, but it will need a bit of Lisp programming. > 3) When I do a M-x list-colors-display, emacs displays all 256 colors > properly, but with wrong names. Instead of giving the colors names as per the > rgb.txt file, it lists names like color-16, color-17, etc. Those names are not > recognized in the .emacs (while rgb.txt names are). How do I make it use color > names from the rgb.txt file, when invoking list-colors-display? See tty-colors.el for the infrastructure and term/xterm.el for an example of using it. Actually, since you seem to be using a 256-color xterm, Emacs should have done this automatically for you. Perhaps you have an old version of Emacs, in which case upgrade. > 4) I'd like to use the TAB key to type four SPC characters in the buffer when I > press it. However, I don't want to disturb its auto-completion functionality > when doing anything other than just typing text in the buffer. What is the > "safest" way to create a keybinding for this? See indent-tabs-mode and tab-width. > [vmarko@Yoda ~]$ emacs -nw --version > GNU Emacs 23.2.1 Suggest to upgrade to Emacs 23.3, the latest official release.