From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jeckob@gmx.net Newsgroups: gmane.emacs.help Subject: Re: How to create my own mode? Date: 21 Nov 2005 03:12:55 -0800 Organization: http://groups.google.com Message-ID: <1132571575.655083.246110@z14g2000cwz.googlegroups.com> References: <1132235806.806274.136230@f14g2000cwb.googlegroups.com> <87lkzn6xe4.fsf@thalassa.informatimago.com> <1132309438.172206.208080@z14g2000cwz.googlegroups.com> <877jb6570d.fsf@thalassa.informatimago.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1132576886 29117 80.91.229.2 (21 Nov 2005 12:41:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Nov 2005 12:41:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 21 13:41:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EeAxf-0003PK-Eg for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Nov 2005 13:39:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EeAgt-0004Sk-G3 for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Nov 2005 07:22:35 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 84.168.191.85 Original-X-Trace: posting.google.com 1132571580 28133 127.0.0.1 (21 Nov 2005 11:13:00 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 21 Nov 2005 11:13:00 +0000 (UTC) In-Reply-To: <877jb6570d.fsf@thalassa.informatimago.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 algic:8080 (squid/2.5.STABLE4) Complaints-To: groups-abuse@google.com Injection-Info: z14g2000cwz.googlegroups.com; posting-host=84.168.191.85; posting-account=iPNgtw0AAAADVXmtuUc8xtI5c2IiBIhs Original-Xref: shelby.stanford.edu gnu.emacs.help:135607 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31205 Archived-At: Ok, got it. Thanks again... Maybe u can give me some hint on another Emacs Problem? I already posted a thread for this problem but nobody could give me a proper answer. So here is my Problem: If i activate these custom-set-variables '(scroll-margin 4) '(scroll-preserve-screen-position t) '(scroll-step 1) and restart my emacs, everything is fine! At the top an the bottom of the page i have a margin set to four lines ant the text scrolls line by line...But if i set the following custom-set-faces and activate my hl-line-mode, i get problems '(my-highlight-line ((t (:inherit highlight :background "MidnightBlue" :foreground "White" :box (:line-width 1 :color "grey75"))) Scrolling at the top and bottom is no more line by line, but jumps half of the page to center again...disabling hl-line-mode brings back the normal behaviour. Wrote also a thread to gnu.emacs.bug but got no reply from them... Sorry for my bad english, but im not a native speaker....thanks