From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40646 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-goto-colon Date: Sat, 01 Dec 2001 17:10:39 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035176164 2050 80.91.224.250 (21 Oct 2002 04:56:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:56:04 +0000 (UTC) Return-Path: Original-Received: (qmail 18160 invoked from network); 1 Dec 2001 16:13:33 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 1 Dec 2001 16:13:33 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16ACkJ-0007ST-00; Sat, 01 Dec 2001 10:12:08 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 01 Dec 2001 10:11:53 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id KAA16192 for ; Sat, 1 Dec 2001 10:11:42 -0600 (CST) Original-Received: (qmail 18119 invoked by alias); 1 Dec 2001 16:11:50 -0000 Original-Received: (qmail 18114 invoked from network); 1 Dec 2001 16:11:50 -0000 Original-Received: from unknown (HELO dolk.extundo.com) (195.42.214.242) by gnus.org with SMTP; 1 Dec 2001 16:11:50 -0000 Original-Received: from dhcp128.extundo.com (slipsten.extundo.com [195.42.214.241]) (authenticated bits=0) by dolk.extundo.com (8.12.1/8.12.1) with ESMTP id fB1GBKmb002059 for ; Sat, 1 Dec 2001 17:11:21 +0100 Original-To: GNUS mailing list In-Reply-To: (Pavel@Janik.cz's message of "Sat, 01 Dec 2001 15:17:06 +0100") Mail-Copies-To: nobody Original-Lines: 42 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40646 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40646 Pavel@Janik.cz (Pavel Jan=EDk) writes: > ;; Fix by Hallvard B Furuseth . > ;; If you want the cursor to go somewhere else, set these two > ;; functions in some startup hook to whatever you want. > (defalias 'gnus-summary-position-point 'gnus-goto-colon) > (defalias 'gnus-group-position-point 'gnus-goto-colon) > > It is the cause of my problems in groups where I have customised > gnus-summary-line-format to include only the subjects and these subjects > can be very long (~80 chars) and can contain colons. Now, when I'm reading > by subjects, when moving to next article, the point jumps here and there > (if the subject contains `:') and it is really distracting. I'd like to g= et > rid of this in my .gnus: > > ; Workaround for Gnus inconvenience > (defalias 'gnus-summary-position-point 'beginning-of-line) > > What was the reason for this change? What change? The code you cite has been the same since (at least) Gnus version 5.0. Maybe you can customize `gnus-summary-line-format' as described below to achieve what you want instead? Positioning Point ----------------- Gnus usually moves point to a pre-defined place on each line in most buffers. By default, point move to the first colon character on the line. You can customize this behaviour in three different ways. You can move the colon character to somewhere else on the line. You can redefine the function that moves the point to the colon. The function is called `gnus-goto-colon'. But perhaps the most convenient way to deal with this, if you don't want to have a colon in your line, is to use the `%C' specifier. If you put a `%C' somewhere in your format line definition, Gnus will place point there.