From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marko Vojinovic Newsgroups: gmane.emacs.help Subject: Several beginner-questions Date: Sat, 23 Jul 2011 08:13:51 +0100 Message-ID: <201107230813.52251.vvmarko@gmail.com> Reply-To: vmarko@ipb.ac.rs NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311601551 28078 80.91.229.12 (25 Jul 2011 13:45:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Jul 2011 13:45:51 +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 15:45:47 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 1QlLTe-0006dp-Qc for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jul 2011 15:45:46 +0200 Original-Received: from localhost ([::1]:60558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlLTe-0003td-AS for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jul 2011 09:45:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkWPP-0005xx-3C for help-gnu-emacs@gnu.org; Sat, 23 Jul 2011 03:13:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkWPN-0000mx-Q7 for help-gnu-emacs@gnu.org; Sat, 23 Jul 2011 03:13:59 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:39087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkWPN-0000me-Jp for help-gnu-emacs@gnu.org; Sat, 23 Jul 2011 03:13:57 -0400 Original-Received: by wyg36 with SMTP id 36so2317641wyg.0 for ; Sat, 23 Jul 2011 00:13:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=XivFBkhUyUgvkmg4fe+Rj6BMpVyho6sR55krzxd5awM=; b=BReUShiJrFhWzwK6i6S0d93rPt05qFXdN3bmP5i53xrxRBY29oMa/sleDTri7r8H4f NFv1yHT/6I/TblmqQblZlvU0LjV24JcpJ9BqzutJPDsjt/CFYcp7jQLKSIi3OI3qQ6xK T6jxjirAeRKp7/uS/YF7HG6SGAa2GXUXt6BLY= Original-Received: by 10.227.9.157 with SMTP id l29mr321956wbl.39.1311405236124; Sat, 23 Jul 2011 00:13:56 -0700 (PDT) Original-Received: from yoda.localnet (bl14-166-192.dsl.telepac.pt [85.247.166.192]) by mx.google.com with ESMTPS id gg16sm2507051wbb.17.2011.07.23.00.13.54 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 23 Jul 2011 00:13:55 -0700 (PDT) User-Agent: KMail/1.13.7 (Linux/2.6.35.13-92.fc14.x86_64; KDE/4.6.3; x86_64; ; ) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 X-Mailman-Approved-At: Mon, 25 Jul 2011 09:45:39 -0400 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:81759 Archived-At: Hello everyone! :-) I am a new member on this list, sorry if I break any posting guidelines. After some number of years (cca 20) of using various editors under various OSes, I decided to go pro and migrate to emacs. The main point being that emacs seems to be the only editor configurable enough for my taste. The role- model editor from my youth was the CygnusEditor for the Amiga back in the day, so my idea was/is to recreate some (but not all) aspects of that environment that I particularly like. Anyway, I devoted some time and googling to learn some basics about emacs and customize my ~/.emacs to some point. For various reasons, I always start emacs in an xterm with the -nw switch (or in a text console if there is no X around), and never ever use the X version. Therefore the questions I have relate exclusively to that environment. The main questions that google failed to answer for me are the following: 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 have found the dropdown-list.el, but it seems it was written for the X version and does not work for emacs -nw. Or I don't know how to use it properly. 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)? 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? I want to customize my syntax-highlighting, and this is somewhat hard if I have to guess the names of the colors displayed by that function. 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? 5) My main use-case is typesetting LaTeX documents, so I have installed the auctex package, and it seems to work well. However, I have just begun to explore its capabilities, and would appreciate any advice on what to pay attention and what are its most useful features. For example, is there a label-autocomplete feature for easy filling in \ref{} and \cite{} commands? I hope these questions are not too stupid. I have been using emacs for only a week now, so sorry for my ignorance. Also, if important, my environment is: [vmarko@Yoda ~]$ emacs -nw --version GNU Emacs 23.2.1 [vmarko@Yoda ~]$ cat /etc/redhat-release Fedora release 14 (Laughlin) [vmarko@Yoda ~]$ uname -a Linux Yoda 2.6.35.13-92.fc14.x86_64 #1 SMP Sat May 21 17:26:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux TIA, :-) Marko